Commit graph

4035 commits

Author SHA1 Message Date
Tobias Boege
a2756c284f [GB.DATA]
* BUG: List: Fix two false positive compiler warnings on some systems.
* BUG: AvlTree: Don't forward-declare a typedef. It bothers some compilers.
* BUG: Also update Key from AvlTree_get().
* BUG: Invalidate the enumerators in AvlTree.Clear()



git-svn-id: svn://localhost/gambas/trunk@5865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-01 06:23:08 +00:00
Benoît Minisini
4416b3b793 [DEVELOPMENT ENVIRONMENT]
* NEW: Use 'script' icon for javascript files.
* NEW: Autocomplete INHERITS keyword with classes.

[EXAMPLES]
* BUG: Fix Wizard example.

[GB.EVAL.HIGHLIGHT]
* BUG: JavaScript: Fix regular expression highlighting.


git-svn-id: svn://localhost/gambas/trunk@5864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 22:06:03 +00:00
Benoît Minisini
3aac050f86 [GB.FORM.STOCK]
* NEW: New 'script' standard icon.


git-svn-id: svn://localhost/gambas/trunk@5863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:57:30 +00:00
Benoît Minisini
4e9ae39cff [GB.FORM]
* NEW: FileView preview is now done from a background task.
* NEW: SVG files are handled by FileView preview now.
* NEW: Add the new 'script' icon to the standard icons list.


git-svn-id: svn://localhost/gambas/trunk@5862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:56:49 +00:00
Benoît Minisini
e7f4c0967f [INTERPRETER]
* BUG: Task.Stop now behaves correctly if the task has not been yet 
  actually started.
* NEW: Stopped task temporary files are automatically removed.


git-svn-id: svn://localhost/gambas/trunk@5861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 20:54:47 +00:00
Benoît Minisini
0d183b038d [INTERPRETER]
* NEW: Remove as much "packed" structure declaration as possible, to 
  prevent possible bugs on ARM architecture.


git-svn-id: svn://localhost/gambas/trunk@5860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 16:56:12 +00:00
Benoît Minisini
2933a56fed [GB.QT4]
* BUG: Really fix the ButtonBox/MaskBox popup menu problem.


git-svn-id: svn://localhost/gambas/trunk@5859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-29 15:29:07 +00:00
Benoît Minisini
2ea470b913 [GB.QT4]
* BUG: A Menu event handler stops the default control menu behaviour only 
  if STOP EVENT is used. Consequently, MaskBox and ButtonBox now display
  the default TextBox popup menu correctly.


git-svn-id: svn://localhost/gambas/trunk@5858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 23:09:00 +00:00
Benoît Minisini
0c8cd47114 [INTERPRETER]
* BUG: Fix a structure alignment bug for ARM.


git-svn-id: svn://localhost/gambas/trunk@5857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 21:21:40 +00:00
Benoît Minisini
f6ff035982 [COMPILER]
* BUG: Fix a structure declaration that prevented the compiler to work 
  correctly on the ARM architecture.


git-svn-id: svn://localhost/gambas/trunk@5856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 20:14:06 +00:00
Benoît Minisini
95f65e2310 [EXAMPLES]
* BUG: Fix WebCam example.


git-svn-id: svn://localhost/gambas/trunk@5855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 17:10:23 +00:00
Benoît Minisini
bec232900d [GB.V4L]
* BUG: Fix VideoDevice stream structure.


git-svn-id: svn://localhost/gambas/trunk@5854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-28 17:02:59 +00:00
Alexander Kuiper
13b97b38d6 [GB.XML.RPC]
* NEW: HTTP/1.1 100-Continue support in miniServer (specially for OpenRemote)
* BUG: HTTP/1.0 and 1.1 weren't recognized correctly
* BUG: Relaxed content-length check for buggy HTTP/1.0 clients


git-svn-id: svn://localhost/gambas/trunk@5853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-27 18:45:48 +00:00
Benoît Minisini
a255967090 [GB.QT4.OPENGL]
* BUG: Don't use GL_LIGHTING if it is not defined. It seems to be the case
  with OpenGL ES.


git-svn-id: svn://localhost/gambas/trunk@5852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-26 11:27:39 +00:00
Benoît Minisini
28cd200d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for metadata in field and index 
  definitions. Metadata are enabled if the corresponding check-box is 
  checked in the connection properties dialog.
* NEW: Database editor: Some redesign of the sql queries editor.


git-svn-id: svn://localhost/gambas/trunk@5851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-23 00:57:40 +00:00
Fabien Bodard
9cdb81e3ab git-svn-id: svn://localhost/gambas/trunk@5850 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-09-21 20:24:23 +00:00
Fabien Bodard
f3d231051b [GB.REPORT]
* BUG: Set the last functions static.


git-svn-id: svn://localhost/gambas/trunk@5849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:21:03 +00:00
Fabien Bodard
d3a77cb742 [GB.REPORT]
* NEW: Now ReportBrush have public method to make a ReportBrush more easily.
  Color, Image, LinearGradient, RadialGradient.




git-svn-id: svn://localhost/gambas/trunk@5848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-21 20:13:34 +00:00
Benoît Minisini
eb825be426 [GB.GTK]
* BUG: Fix Enabled property behaviour by just renaming a method. There is 
  something weird I didn't understood. :-/


git-svn-id: svn://localhost/gambas/trunk@5847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 23:58:47 +00:00
Benoît Minisini
b24611a521 [GB.CAIRO]
* BUG: Cairo.ImagePattern() now internally keeps a reference to the source 
  image so that the image data is not unexpectedly freed before the 
  pattern.


git-svn-id: svn://localhost/gambas/trunk@5846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 22:22:38 +00:00
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