Commit graph

3865 commits

Author SHA1 Message Date
Benoît Minisini
00ce7c81ad [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash in the project version control dialog if storing 
  passwords is not possible on the current desktop.
* NEW: Database connection editor: SQL request now can be stored with the 
  connection.
* BUG: Fix 'move up', 'move down', 'move left' and 'move right' commands in 
  the menu editor.



git-svn-id: svn://localhost/gambas/trunk@5845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-17 08:53:35 +00:00
Benoît Minisini
6ad5dc4902 [GB.DESKTOP]
* NEW: Desktop.Passwords.Enabled is a new property that returns if storing
  passwords is possible on the current desktop.


git-svn-id: svn://localhost/gambas/trunk@5844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-17 08:50:25 +00:00
Benoît Minisini
8106069ddb [DEVELOPMENT ENVIRONMENT]
* NEW: The name of the database metadata table is "__gb_metadata" now.
* NEW: Add a "display metadata" option in the connection properties.
* NEW: The file creation dialog now can create javascript files.


git-svn-id: svn://localhost/gambas/trunk@5843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 22:42:09 +00:00
Fabien Bodard
f1ae3e8d36 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new description column to the field editor of Database editor.
  This function is not enabled by default. And the option page is not ready.



git-svn-id: svn://localhost/gambas/trunk@5842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-16 20:02:41 +00:00
Adrien Prokopowicz
f6d866e635 [GB.XML]
* BUG: Fixed HTML5 Doctype handling.
* BUG: The "Extra root element" error is not thrown on HTML documents 
  anymore.
* BUG: The GetChildrenByAttributeValue() method still checks the child 
  nodes even if the given node is not an element.

[GB.XML.HTML]
* NEW: A closing tag that doesn't close any open tag, is now silently
  ignored.
* NEW: Malformed tags' contents are now silently ignored.
* BUG: Forgot to Implement the HtmlDocument.GetElementsByClassName() 
  method.
* BUG: Fixed self-closed elements handling.

git-svn-id: svn://localhost/gambas/trunk@5841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-13 20:54:42 +00:00
Benoît Minisini
c4e73d4b8a [GB.GTK]
* BUG: Calling TrayIcon.Delete now correctly updates the internal number of 
  visible tray icons.


git-svn-id: svn://localhost/gambas/trunk@5840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-12 14:12:34 +00:00
Benoît Minisini
d305d289ce [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compressor: between "// <verbatim>" and "// </verbatim>" 
  comments, no symbol is compressed.
* NEW: If a variable beginning with "$" is unknown, it is now declared as a
  private global variable, not a local variable.


git-svn-id: svn://localhost/gambas/trunk@5839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-11 22:30:59 +00:00
Benoît Minisini
f27f0643cd [EXAMPLES]
* NEW: Md2Model: Draw a lot of models (up to about 240000 vertices, the 
  maximum I can draw in 1/50th second on my Core i5 @ 3.4 GHz).

[GB.OPENGL.SGE]
* OPT: Use triangle fan and strip commands to draw the models.
* NEW: Md2Object.Draw() returns the number of vertices drawn.


git-svn-id: svn://localhost/gambas/trunk@5838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-09 17:19:16 +00:00
Benoît Minisini
3f71877a8b [EXAMPLES]
* NEW: Rework Md2Model example with the new gb.opengl.sge interface.

[GB.OPENGL.SGE]
* NEW: Split the model into Md2Model and Md2Object classes. Many Md2Object
  can share the same model.


git-svn-id: svn://localhost/gambas/trunk@5837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 23:19:36 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
812bec445b [DEVELOPMENT ENVIRONMENT]
* NEW: Complete the french translation.

[INTERPRETER]
* BUG: Class reimplementation of Abs() now can return an object or a 
  floating-point number.

[GB.COMPLEX]
* BUG: Abs() on a Complex returns a Float.

[GB.GEOM]
* BUG: Abs() on a Point or a PointF returns a Float.

[GB.GSL]
* BUG: Abs() on a Complex returns a Float.


git-svn-id: svn://localhost/gambas/trunk@5835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 23:09:01 +00:00
Benoît Minisini
fd639b312b [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of icon paths (i.e. strings beginning with 
  "icon:/").
* BUG: The Backspace key now works correctly with autocompletion of project 
  paths (i.e. strings beginning with "./").


git-svn-id: svn://localhost/gambas/trunk@5834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:45:16 +00:00
Benoît Minisini
5752d9b20c [DEVELOPMENT ENVIRONMENT]
* BUG: Some file path automatic completion fixes.


git-svn-id: svn://localhost/gambas/trunk@5833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 13:26:31 +00:00
Benoît Minisini
c4346d3f44 [GB.GMP]
* NEW: Support for rational numbers.


git-svn-id: svn://localhost/gambas/trunk@5832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-07 00:51:25 +00:00
Benoît Minisini
27a8656a74 [CONFIGURATION]
* NEW: Update the README file, and add a copy of the wiki installation 
  instructions in the INSTALL.html file.


git-svn-id: svn://localhost/gambas/trunk@5831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-05 13:35:16 +00:00
Benoît Minisini
8630ac56d1 [DEVELOPMENT ENVIRONMENT]
* BUG: Use "dpkg-buildpackage -d -rfakeroot" instead of 
  "fakeroot dpkg-buildpackage -d". It seems that the first one sometimes
  does not work for unknown reasons.


git-svn-id: svn://localhost/gambas/trunk@5830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-05 11:34:51 +00:00
Benoît Minisini
67e3478bdb [GB.FORM]
* NEW: DateChooser[].Text is now taken into account. It is displayed as a 
  tooltip when the mouse cursor hovers the associated date.


git-svn-id: svn://localhost/gambas/trunk@5829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-04 10:00:30 +00:00
Benoît Minisini
3a3449c068 [INTERPRETER]
* NEW: Support for inequality operators in the operator interface.
* NEW: The Sgn() function can be implemented by the operator interface.

[GB.GMP]
* NEW: BigInt now supports inequality operators.
* NEW: New methods: Odd(), Even()
* NEW: Logical operators as static methods: And, Or, Xor, Not.
* NEW: Bit manipulation as static methods: BSet, BClr, BChg, BTst.


git-svn-id: svn://localhost/gambas/trunk@5828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-03 21:11:55 +00:00
Benoît Minisini
787df028a1 [DEVELOPMENT ENVIRONMENT]
* NEW: Name some unnamed components.

[GB.GMP]
* BUG: Forgot to commit some files.
* NEW: Add many methods to the BigInt class.


git-svn-id: svn://localhost/gambas/trunk@5827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 21:50:14 +00:00
Benoît Minisini
4d71384869 [INTERPRETER]
* BUG: Fix Abs() when that operator is implemented at class level, so that
  it returns an object and not necesarrily a floating point value.

[GB.GMP]
* NEW: New component based on the Gnu Multiple Precision Arithmetic 
  Library. Only big integers (BigInt class) are partially implemented at 
  the moment.


git-svn-id: svn://localhost/gambas/trunk@5826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 20:40:05 +00:00
Tobias Boege
902c13bcea [GB.DATA]
* NEW: Mark component as stable

[GB.OPENSSL]
* NEW: Mark component as stable



git-svn-id: svn://localhost/gambas/trunk@5825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 18:53:24 +00:00
Benoît Minisini
f41adce9f1 [GB.CLIPPER]
* NEW: Mark the component as stable.

[GB.GUI.BASE]
* BUG: Draw.Picture() and Draw.Image() source arguments now work correctly.
* NEW: Add void constructors to HSplit and VSplit for the documentation.


git-svn-id: svn://localhost/gambas/trunk@5824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 14:48:41 +00:00
Fabien Bodard
f71757ade1 [GB.MAP]
* NEW: Begin the support for Web Map Server.
* NEW: Grab Function return an image of the given bounds, with
  the given with and height, with the given margin arround. If
  the zoom is not defined then the better rendering zoom is used.
* NEW: In MapView, there is two new function PixelToMapPointRel     
  and MapPointToPixel that convert the mouse pos in MapPoint
  and the opposite.
* NEW: In _MapTile, a new function SetCoockieFile allow to 
  define the cookie file shared by all the httpsockets.   
  It's usefull for using with some server that query a session.
* NEW: In _MapTile, WMSProjection allow to define the server projection
* NEW: In _MapTile, WMSARgs is a collection that allow to define the 
  static args for the server (build the url)
  It miss the bbox order.




git-svn-id: svn://localhost/gambas/trunk@5823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-31 12:25:17 +00:00
Benoît Minisini
eb63ee1b7a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix menu editor.


git-svn-id: svn://localhost/gambas/trunk@5822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-31 09:19:23 +00:00
Benoît Minisini
cfcb766e93 [DEVELOPMENT ENVIRONMENT]
* BUG: New menu are translatable by default.
* BUG: Image editor: Pasting does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 14:23:33 +00:00
Benoît Minisini
9b4eaf2a47 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a popup menu to the image editor save button that allows to 
  change the image format.
* BUG: Detect structure definition help comments.

[GB.GUI.BASE]
* BUG: Disable automatic shortcuts in popup menus for the moment, it breaks 
  too many things.


git-svn-id: svn://localhost/gambas/trunk@5820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 13:58:18 +00:00
Benoît Minisini
a72e92ae47 [INTERPRETER]
* BUG: Fix a possible false error when using LINE INPUT on non-blocking 
  streams.

[GB.FORM]
* NEW: LCDLabel.Value is a new property that is a synonymous of the Text 
  property for numerical values.
 

git-svn-id: svn://localhost/gambas/trunk@5819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-30 07:12:36 +00:00
Benoît Minisini
e182fbd2db [INTERPRETER]
* BUG: Continue on fixing "stop watching on end of file" algorithm...


git-svn-id: svn://localhost/gambas/trunk@5818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 20:52:14 +00:00
Benoît Minisini
aa99eaa6bf [INTERPRETER]
* BUG: Fix "stop watching on end of file" algorithm again.


git-svn-id: svn://localhost/gambas/trunk@5817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 20:21:20 +00:00
Benoît Minisini
ef8307793d [INTERPRETER]
* BUG: Do not stop watching when reading up to a specified number of bytes.


git-svn-id: svn://localhost/gambas/trunk@5816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 19:15:14 +00:00
Benoît Minisini
95cc0108e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Add Islandic language.


git-svn-id: svn://localhost/gambas/trunk@5815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 19:02:04 +00:00
Benoît Minisini
768a42416d [GB.QT4]
* BUG: Make gb.qt4 compiles on ARM again.


git-svn-id: svn://localhost/gambas/trunk@5814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-29 17:37:01 +00:00
Tobias Boege
1952bfd047 [GB.DB.SQLITE3]
* BUG: VARYING CHARACTER() is taken as a text type now, not a boolean.



git-svn-id: svn://localhost/gambas/trunk@5813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-28 12:16:39 +00:00
Tobias Boege
11d42882b5 [GB.DATA]
* NEW: Update copyright years.
* NEW: Have a stripped-down version of gb_common_string_temp.h to provide
  STRING_compare() without producing compilation problems.
* NEW: AvlTree is a new Collection-like class implementing a balanced
  binary search tree. It does _not_ utilise hashing in order to maintain
  an order of the literal key strings given by the user (For Each thus
  traverses from smallest to greatest key).
* NEW: Carry in a stripped-down version of Bob Jenkins' lookup3 hash
  algorithm from the Public Domain. It was a last-minute decision to not use
  it in AvlTree to maintain the literal key order.



git-svn-id: svn://localhost/gambas/trunk@5812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 22:48:29 +00:00
Benoît Minisini
4830af856b [INTERPRETER]
* BUG: Disable read watch when reading a stream fails for any reason: i/o
  error, end-of-file...


git-svn-id: svn://localhost/gambas/trunk@5811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 21:45:13 +00:00
Benoît Minisini
3d820edb15 [GB.QT4]
* BUG: Rewrite the Container.FindChild() method because the QT4 method
  excludes children outside of its geometry, and because that geometry may 
  be not yet computed.


git-svn-id: svn://localhost/gambas/trunk@5810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 20:18:28 +00:00
Benoît Minisini
6d8ce6ac9b [GB.FORM]
* NEW: FileChooser: Add a tool button for displaying file properties.

[GB.GTK]
* BUG: Fix broken popup and modal dialog management.
* BUG: Patch Style properties and methods for 'oxygen-gtk' widget theme.



git-svn-id: svn://localhost/gambas/trunk@5809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 01:03:56 +00:00
Benoît Minisini
ddcf6a2cb0 [GB.GUI]
* NEW: Utility method that defines shortcuts for a popup menu.

[GB.GTK]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.

[GB.QT4]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.


git-svn-id: svn://localhost/gambas/trunk@5808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 21:27:56 +00:00
Benoît Minisini
c3905c6c1c [DEVELOPMENT ENVIRONMENT]
* NEW: Allow more possible shortcuts in menu editor.
* NEW: Menu items can be non-translatable.


git-svn-id: svn://localhost/gambas/trunk@5807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 18:59:03 +00:00
Benoît Minisini
6f62f9ae65 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Bug fixes. Clicking on the center button of a selected
  shape now selects the next one whose center is about at the same place.

[GB.CLIPPER]
* BUG: Clipper Offset, Union, Intersection... methods now ensure that they
  return closed polygons.
* NEW: Polygon.Orientation is a new property that returns the polygon 
  orientation.


git-svn-id: svn://localhost/gambas/trunk@5806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 16:17:30 +00:00
Benoît Minisini
ae5f540c3b [DEVELOPMENT ENVIRONMENT]
* OPT: ImageEditor: Optimize the pen and eraser tools.
* NEW: ImageEditor: The popup menu allows to define the magnet grid of the 
  current selected shape.

[GB.CLIPPER]
* BUG: Polygon.Clean() does not close the polygon automatically.
* NEW: Polygon.Add() and Polygon.AddPoint() are two new methods to add a
  point to a polygon.
* NEW: Polygon.Remove() is a new method to remove points from a polygon.

[GB.FORM]
* NEW: The ImageView draws nothing by itself if its Draw event is catched.
  Drawing the image is then entirely up to the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 00:47:21 +00:00
Benoît Minisini
9666673ccc [GB.FORM]
* NEW: SliderBox is a new control that displays a Slider and a SpinBox,
  both being synchronized.
* NEW: The SidePanel transparent handle is now smaller when the SidePanel
  is hidden.


git-svn-id: svn://localhost/gambas/trunk@5804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-16 22:35:28 +00:00
Benoît Minisini
18a3af5ac9 [DEVELOPMENT ENVIRONMENT]
* BUG: CSV Import: Take the charset into account when displaying the file 
  preview.
* BUG: Don't automatically hide the console tab when displaying the 
  database editor.
* BUG: ImageEditor: many fixes everywhere.


git-svn-id: svn://localhost/gambas/trunk@5803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-16 22:33:39 +00:00
Alexander Kuiper
040cd397fa [GB.XML.RPC]
BUG: miniServer would give an out-of-bound if content-length is wrong


git-svn-id: svn://localhost/gambas/trunk@5802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-16 16:04:28 +00:00
Benoît Minisini
7181a4f6ba [GB.NET.CURL]
* BUG: Try to make gb.net.curl compile with old versions of libcurl.


git-svn-id: svn://localhost/gambas/trunk@5801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 19:20:52 +00:00
Benoît Minisini
9ffdd925ab [GB.DB.FORM]
* NEW: DataCheckBox is a new data control that displays a checkbox for a
  boolean database field.


git-svn-id: svn://localhost/gambas/trunk@5800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 15:15:19 +00:00
Benoît Minisini
ee9b817c6c [DEVELOPMENT ENVIRONMENT]
* NEW: Hitting "[" just after a "." now hides the automatic completion. 
  This is for the new ".[xxx]" syntax.


git-svn-id: svn://localhost/gambas/trunk@5799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 14:46:54 +00:00
Benoît Minisini
7a4dae617b [COMPILER]
* NEW: Implement the "!xxx" syntax for the WITH ... END WITH control 
  structure.


git-svn-id: svn://localhost/gambas/trunk@5798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 14:36:44 +00:00
Benoît Minisini
f318c2ba39 [COMPILER]
* NEW: The ".[xxx]" syntax now can be used inside a WITH <object> ... 
  END WITH control structure. It is a synonymous for "<object>[xxx]".


git-svn-id: svn://localhost/gambas/trunk@5797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-15 14:16:17 +00:00
Benoît Minisini
f2f2b99cc4 [GB.GTK]
* BUG: Remove some remaining GDK_KEY_* constant so that it compiles on old 
  GTK+ libraries.


git-svn-id: svn://localhost/gambas/trunk@5796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-14 16:59:04 +00:00