Commit graph

2063 commits

Author SHA1 Message Date
Benoît Minisini
d0b8c37638 [INTERPRETER]
* NEW: Remove the unused GB.ExistFile() API.
* NEW: Exist() now takes an additional optional boolean argument that tells
  if symbolic links must be followed, like Stat().
* BUG: Fix a possible memory leak if the [...] array creation operator 
  fails for any reason.


git-svn-id: svn://localhost/gambas/trunk@3940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-17 10:57:55 +00:00
Benoît Minisini
f2208643c2 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle the "_property" special method in automatic completion.

[INTERPRETER]
* BUG: [...] now correctly returns a boolean array when its arguments are
  all booleans.

[GB.DBUS]
* BUG: Fix a memory leak when sending a DBusVariant object.


git-svn-id: svn://localhost/gambas/trunk@3939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-16 15:41:51 +00:00
Benoît Minisini
8f0fa5d187 [GB.DBUS]
* NEW: Add a DBusConnection.Unregister method to unregister a Gambas object
  from the bus. When all objects are unregistered, the application can 
  quit.


git-svn-id: svn://localhost/gambas/trunk@3938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-15 22:26:05 +00:00
Benoît Minisini
9fca5596dc [GB.DBUS]
* BUG: Use the new special method _property to implement DBus properties.
* BUG: Settings a DBus property does not freeze anymore. But there is 
  memory leak yet.


git-svn-id: svn://localhost/gambas/trunk@3937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-15 00:52:29 +00:00
Benoît Minisini
91ec8a1ef5 [INTERPRETER]
* BUG: Eval("Me") does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-14 18:30:12 +00:00
Benoît Minisini
7b712c4517 [GB.GTK]
* BUG: The Printer End event is correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@3935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-14 13:15:13 +00:00
Benoît Minisini
4813e8708f [GB.NET.SMTP]
* BUG: Don't crash if the subject is void.
* NEW: Allow the subject to be a void string.


git-svn-id: svn://localhost/gambas/trunk@3934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-12 21:36:07 +00:00
Benoît Minisini
610e0035b1 [GB.NET.SMTP]
* BUG: Search openssl in '/usr/bin' or '/bin', and raise an error if it is
  not found.


git-svn-id: svn://localhost/gambas/trunk@3933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-12 21:23:13 +00:00
Benoît Minisini
5b7b4e72ea [GB.FORM]
* BUG: Really fix the problem with ScrollArea having the Painted property
  set.


git-svn-id: svn://localhost/gambas/trunk@3932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-12 15:39:47 +00:00
Benoît Minisini
5177d66b87 [GB.DB.FORM]
* NEW: DataSource.Count is a new property that returns the number of 
  records of the DataSource.

[GB.FORM]
* BUG: Setting the ScrollArea.Painted property works correctly now.

[GB.GTK]
* BUG: Clean up the MovieBox implementation.
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.
* BUG: Clean up the PictureBox implementation.
* BUG: Fix the PictureBox aligment property.

[GB.QT4]
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.


git-svn-id: svn://localhost/gambas/trunk@3931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-11 20:44:42 +00:00
Laurent Carlier
55535cd653 [GB.SDL]
* BUG: fix a typo in configure.ac


git-svn-id: svn://localhost/gambas/trunk@3930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-06 22:06:18 +00:00
Laurent Carlier
ca33fb065f [GB.SDL]
* BUG: Add missing linking against libXcursor.


git-svn-id: svn://localhost/gambas/trunk@3929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-06 22:04:45 +00:00
Laurent Carlier
c44293e207 [GB.SDL]
* NEW: Add Gl.EvalCoord2fv() evaluator method.


git-svn-id: svn://localhost/gambas/trunk@3928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-05 12:40:58 +00:00
Laurent Carlier
053cc59560 [GB.SDL]
* BUG: SDL_ttf prior to 2.0.10 doesn't provide pkg-config file, so add manual checking of files.


git-svn-id: svn://localhost/gambas/trunk@3927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-05 11:06:08 +00:00
Benoît Minisini
e6a904c445 [GB.IMAGE]
* BUG: Image.PaintImage() incorrectly handled alpha channel compositing.


git-svn-id: svn://localhost/gambas/trunk@3926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-05 10:19:24 +00:00
Laurent Carlier
7c27920e3f [GB.OPENGL]
* NEW: Add support for GL evaluators, some associated Gets are missing. (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:43:10 +00:00
Laurent Carlier
fc6e9b74b5 [GB.OPENGL]
* NEW: Add evaluator file (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:33:12 +00:00
Laurent Carlier
e511b62f95 [GB.OPENGL]
* NEW:  Add evaluator header file (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:13:54 +00:00
Laurent Carlier
3e1279a121 [GB.OPENGL]
* NEW: Add evaluators constants (Tomek)


git-svn-id: svn://localhost/gambas/trunk@3922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:05:42 +00:00
Benoît Minisini
f6b7506da5 [DEVELOPMENT ENVIRONMENT]
* NEW: The database editor now can export table data and request results to 
  CSV files.


git-svn-id: svn://localhost/gambas/trunk@3921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 09:29:04 +00:00
Benoît Minisini
cdd196a789 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the "Show toolbox" menu entry. Its behaviour was not 
  intuitive at all.


git-svn-id: svn://localhost/gambas/trunk@3920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 22:58:49 +00:00
Benoît Minisini
1f46fb6cec [DEVELOPMENT ENVIRONMENT]
* BUG: Do not increment the version release number anymore when making an
  installation package.


git-svn-id: svn://localhost/gambas/trunk@3919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 22:20:25 +00:00
Benoît Minisini
ab112cd44c [INTERPRETER]
* NEW: Byte[].FromString() is a now a static method that creates a new byte 
  array from a string.


git-svn-id: svn://localhost/gambas/trunk@3918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 20:46:03 +00:00
Radek Fryšták
e6f91414ef [DEVELOPMENT ENVIRONMENT]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 19:40:32 +00:00
Benoît Minisini
13c1dcce83 [INTERPRETER]
* NEW: Remove the GB.IsProperty() API, that is useless now.


git-svn-id: svn://localhost/gambas/trunk@3916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 17:29:00 +00:00
Benoît Minisini
9ff2134921 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove a debugging message in the connection editor.

[INTERPRETER]
* NEW: '_property' is a new special method that must return TRUE when an
  unknown symbol (stored in Param.Name) is a property. If that special
  method is not implemented, all unknown symbols are methods.
* NEW: Remove the deprecated constant gb.Text.
* NEW: Param.Property has been removed.

[COMPILER]
* NEW: Handle the new '_property' special method. That method must be 
  public, dynamic, takes no argument, and must return a boolean.


git-svn-id: svn://localhost/gambas/trunk@3915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 02:46:15 +00:00
Jordi Sayol
52875ff96d [GB.REPORT]
* NEW: Add Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@3914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 14:04:40 +00:00
Jordi Sayol
20c2961a1f [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Update Catalan translation.

[GB.FORM.DIALOG]
* NEW: Update Catalan translation.

[GB.FORM]
* NEW: Update Catalan translation.

[EXAMPLES]
* NEW: Update Catalan translation of few examples.



git-svn-id: svn://localhost/gambas/trunk@3913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 13:47:38 +00:00
Benoît Minisini
35161d1752 [GB.DB.MYSQL]
* BUG: When creating a table, use "ENGINE" keyword instead of "TYPE" with 
  MySQL >= 4.0.18.


git-svn-id: svn://localhost/gambas/trunk@3912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 01:03:42 +00:00
Benoît Minisini
e4cbc3439c [GB.GTK]
* BUG: Application.ShowTooltips really works now, and apparently it is not
  desktop-wide, but application-wide as expected.


git-svn-id: svn://localhost/gambas/trunk@3910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-29 09:23:37 +00:00
Benoît Minisini
5c5f136f9a [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Application.ShowTooltips property.

[GB.GTK]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
  visible or not.

[GB.QT4]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
  visible or not.


git-svn-id: svn://localhost/gambas/trunk@3909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-29 09:04:45 +00:00
Benoît Minisini
8f98fcd6af [GB.QT4.EXT]
* BUG: Fix undo/redo management in Editor control.


git-svn-id: svn://localhost/gambas/trunk@3908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 23:12:48 +00:00
Benoît Minisini
54e2893d52 [GB.DB.ODBC]
* BUG: Fix a stupid crash that occurs on 64 bits systems only.

[GB.QT4.EXT]
* BUG: Fix an uninitialized variable in GEditor class.


git-svn-id: svn://localhost/gambas/trunk@3906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 11:45:29 +00:00
Benoît Minisini
147a5f4de6 [GB.NET.CURL]
* BUG: Refuse void URLs in HttpClient and FtpClient.


git-svn-id: svn://localhost/gambas/trunk@3905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 11:04:52 +00:00
Benoît Minisini
6f8372bcd3 [INTERPRETER]
* BUG: Fix conversion from floating point number to date when the number is
  negative.


git-svn-id: svn://localhost/gambas/trunk@3904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 10:34:19 +00:00
Benoît Minisini
7eded0167e [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for latin language.


git-svn-id: svn://localhost/gambas/trunk@3903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 22:23:52 +00:00
Benoît Minisini
c70ca687eb [DEVELOPMENT ENVIRONMENT]
* BUG: Circular inheritance does not freeze the automatic completion 
  anymore.
* BUG: Do not hide balloon message displayed on the project tree 
  immediately.

git-svn-id: svn://localhost/gambas/trunk@3901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 22:15:34 +00:00
Benoît Minisini
e7d183d12a [INTERPRETER]
* BUG: Using "AM/PM" in date format does not confuse next date to string
  conversions anymore.


git-svn-id: svn://localhost/gambas/trunk@3900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 19:09:17 +00:00
Benoît Minisini
b831031745 [DEVELOPMENT ENVIRONMENT]
* NEW: Lithuanian translation made by Regimantas Baublys.
* BUG: Fix loading of old Gambas 3 projects without ".src" directory.
* BUG: Multi-dimensional arrays are now correctly displayed by the 
  debugger.

[SCRIPTER]
* BUG: Running a script now correctly returns the value specified by
  the Application.Return property.

[GB.QT4.EXT]
* BUG: Some fixes in the undo/redo management of the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-24 22:33:26 +00:00
Benoît Minisini
96cb5dda39 [GB.NET.CURL]
* BUG: HttpClient.Post and HttpClient.Put are now more tolerant when 
  checking the Content-Type validity.


git-svn-id: svn://localhost/gambas/trunk@3897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-22 22:24:41 +00:00
Benoît Minisini
4a9812de29 [GB.NET.CURL]
* BUG: Fix HttpClient URL property.
* NEW: The default HttpClient user-agent string is now (on Linux) :
  "Gambas/3.0 (gb.net.curl; Linux)"


git-svn-id: svn://localhost/gambas/trunk@3896 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-22 22:20:32 +00:00
Laurent Carlier
cfe20cf459 [GB.OPENGL.GLSL]
* BUG: Restore prefix GL in glew header inclusion for debian based packages.



git-svn-id: svn://localhost/gambas/trunk@3895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-21 10:17:34 +00:00
Laurent Carlier
541407d8a6 [GB.OPENGL]
* BUG: Restore prefix GL in glew header inclusion for debian based packages.


git-svn-id: svn://localhost/gambas/trunk@3894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-21 09:44:35 +00:00
Laurent Carlier
df9d98d39d [GB.SDL]
* BUG: Restore prefix GL in glew header inclusion for debian based packages.



git-svn-id: svn://localhost/gambas/trunk@3893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-21 09:42:45 +00:00
Laurent Carlier
75cbb9774e [GB.SDL]
* BUG: Use pkg-config to properly detect dependencies.



git-svn-id: svn://localhost/gambas/trunk@3892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-18 14:55:14 +00:00
Laurent Carlier
ced3c8066d fiw a typo: <glew.h> instead of <GL/glew.h>
git-svn-id: svn://localhost/gambas/trunk@3891 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-18 14:02:06 +00:00
Laurent Carlier
f3146d84fd [GB.OPENGL]
* BUG: Use pkg-config to detect needed libraries, should fix building on OSX.


git-svn-id: svn://localhost/gambas/trunk@3890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-18 13:59:52 +00:00
Laurent Carlier
c2b8568ef3 [GB.OPENGL]
* BUG: No need to search for glu.h file.


git-svn-id: svn://localhost/gambas/trunk@3889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-15 20:55:01 +00:00
Laurent Carlier
cc0be8b5ca [GB.SDL]
* BUG: Enable stencil buffer support.


git-svn-id: svn://localhost/gambas/trunk@3888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-12 20:00:45 +00:00
Fabien Bodard
27ffa83d10 [GB.GTK]
* OPT: Cancel Last changes


git-svn-id: svn://localhost/gambas/trunk@3882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-12 12:56:11 +00:00