Commit graph

4035 commits

Author SHA1 Message Date
Benoît Minisini
f5593b64d6 [GB.WEB]
* NEW: JSON.Decode() now takes an extra optional argument indicating that 
  keys having a null value are taken into account inside objects.
* NEW: JSONCollection is a new class that represents a JSON object whose 
  some keys are associated with a 'null' value.


git-svn-id: svn://localhost/gambas/trunk@5936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-03 13:33:04 +00:00
Benoît Minisini
34012dcecd [INTERPRETER]
* BUG: Correctly check that there is a current enumeration if the Enum 
  class methods and properties.
* NEW: Enum.Stopped is a new property that returns if the current 
  enumeration  has been stopped.
* BUG: The [] operator is now correctly overridden in classes inheriting an
  array class or Collection.


git-svn-id: svn://localhost/gambas/trunk@5935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-03 13:30:02 +00:00
Benoît Minisini
159a91c76b [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion of identifiers now correctly shows the known 
  classes.


git-svn-id: svn://localhost/gambas/trunk@5934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-02 05:52:32 +00:00
Benoît Minisini
6bd131719b [CONFIGURATION]
* NEW: Switch to version 3.5.90.

[GB.SDL]
* NEW: Rename the default SDL font file as "_default.ttf" to prevent 
  packaging conflicts.

[GB.QT4.OPENGL]
* BUG: Clear the GLArea widget with the control background color just before 
  raising the Draw event.

git-svn-id: svn://localhost/gambas/trunk@5933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 23:16:53 +00:00
Benoît Minisini
2daa845c7e [GB.WEB]
* BUG: JSON.Encode() correctly encodes ASCII control characters.


git-svn-id: svn://localhost/gambas/trunk@5930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 22:05:18 +00:00
Benoît Minisini
8d90cb09da [DEVELOPMENT ENVIRONMENT]
* NEW: GUI support metapackages for Slackware. Not really tested, as I am
  not a Slackware user.


git-svn-id: svn://localhost/gambas/trunk@5929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 21:53:56 +00:00
Benoît Minisini
cf621f2d9d [DEVELOPMENT ENVIRONMENT]
* NEW: GUI metapackages for Arch Linux. Not tested, as the 'makepkg' tool
  does not exist on Ubuntu.


git-svn-id: svn://localhost/gambas/trunk@5928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 19:30:06 +00:00
Benoît Minisini
1367179191 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for package version number.
* NEW: GUI metapackage creation is now implemented for RPM-based 
  distributions.
* BUG: Some fixes in GUI metapackage creation for Debian/Ubuntu.


git-svn-id: svn://localhost/gambas/trunk@5927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 15:44:08 +00:00
Benoît Minisini
73463194c1 [DEVELOPMENT ENVIRONMENT]
* BUG: Follow Ubuntu package naming convention.


git-svn-id: svn://localhost/gambas/trunk@5926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 13:40:28 +00:00
Benoît Minisini
b9930f0701 [GB.GUI]
* NEW: If one GUI component fails to load, try the other one.
* NEW: Abort if no GUI component is found.
* NEW: Define the GB_GUI environment variable with the GUI component 
  actually loaded.

[GB.GUI.OPENGL]
* NEW: Always load the OpenGL support component associated with what lies
  in the GB_GUI environment variable.


git-svn-id: svn://localhost/gambas/trunk@5925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 13:18:47 +00:00
Benoît Minisini
46ee39c5a1 [GB.FORM]
* NEW: FileChooser now has support for uncompressing 'zip' files, provided 
  that the 'zip' utility is installed on the system.


git-svn-id: svn://localhost/gambas/trunk@5924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 00:34:19 +00:00
Benoît Minisini
b7ac5a52f8 [DEVELOPMENT ENVIRONMENT]
* NEW: The 'gb.desktop.gnome' component is now visible and explicitely 
  checkable.
* NEW: If a project uses gb.gui, then the packager will create two extra
  packages: one for Qt4 support, the other for GTK+ support. At the moment,
  this is supported only for Debian/Ubuntu.


git-svn-id: svn://localhost/gambas/trunk@5923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 00:32:43 +00:00
Benoît Minisini
e7695205bb [GB.DESKTOP.GNOME]
* NEW: Make this component visible to the IDE.


git-svn-id: svn://localhost/gambas/trunk@5922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 00:30:26 +00:00
Benoît Minisini
b09d1e18e4 [INTERPRETER]
* BUG: Don't detach a process that returns an error otherwise the Kill 
  event is lost.


git-svn-id: svn://localhost/gambas/trunk@5921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-01 00:29:32 +00:00
Benoît Minisini
09768af5ce [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor control highlighting when the hovered control is a 
  ScrollView.
* BUG: Packager now use the current Gambas major & minor version as minimum 
  version for component dependencies.
* NEW: The system information dialog now displays the Gambas version.


git-svn-id: svn://localhost/gambas/trunk@5920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-29 21:20:25 +00:00
Benoît Minisini
04172c4c06 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix project browser cursor management when the focus is on the 
  filter field.


git-svn-id: svn://localhost/gambas/trunk@5919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-27 13:04:04 +00:00
Benoît Minisini
27c21ea450 [INTERPRETER]
* NEW: Support for the GB_PATH environment variable, that gives the Gambas
  interpreter path if set.


git-svn-id: svn://localhost/gambas/trunk@5918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-26 21:06:22 +00:00
Tobias Boege
db6e8a39b3 [DEVELOPMENT ENVIRONMENT]
* NEW: Hall of fame: Add some fame to me



git-svn-id: svn://localhost/gambas/trunk@5917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-23 11:36:25 +00:00
Benoît Minisini
16da3b81d7 [EXAMPLES]
* NEW: Move DBusExplorer example to the 'Misc' directory.


git-svn-id: svn://localhost/gambas/trunk@5916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-22 23:03:09 +00:00
Benoît Minisini
1bb638c575 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new background image.
* BUG: Use the "title font" for form editor and image editor toolbars.
* BUG: Fix a typo in tips french translation.


git-svn-id: svn://localhost/gambas/trunk@5913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-21 22:00:12 +00:00
Benoît Minisini
2261e6ef6d [DEVELOPMENT ENVIRONMENT]
* BUG: Add the description of 'gb.memcached' and 'gb.logging' components.
* NEW: Update error messages translation.

[INTERPRETER]
* NEW: Allow some error messages to be untranslatable by using a void macro
  named '$(...)' around the string.

[GB.FORM]
* BUG: The status of FileChooser and DirChooser toolbar icons is correctly
  initialized now.
* BUG: Reading the FileChooser.ShowPreview property does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 21:43:14 +00:00
Benoît Minisini
d59f485f7c [GB.GTK]
* BUG: Non-resizable modal forms are really not resizable now.


git-svn-id: svn://localhost/gambas/trunk@5911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 18:58:30 +00:00
Benoît Minisini
4f74621ed8 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix language environment when running subversion.


git-svn-id: svn://localhost/gambas/trunk@5910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 13:59:05 +00:00
Benoît Minisini
378cbc3534 [DEVELOPMENT ENVIRONMENT]
* NEW: Locking a form does not hide the "event" menu anymore. But it shows
  the existing event handlers only.


git-svn-id: svn://localhost/gambas/trunk@5909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 13:50:39 +00:00
Benoît Minisini
8a9f89366e [GB.GTK]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@5908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 18:29:13 +00:00
Benoît Minisini
0368d40cfc [GB.GTK]
* BUG: Fix popup menu management for imbricated popups.


git-svn-id: svn://localhost/gambas/trunk@5907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 14:52:51 +00:00
Adrien Prokopowicz
f14bbd6097 [GB.XML]
* NEW: Added a new XMLNode.Deserialize() method.
* OPT: Remove some old unused source files.

git-svn-id: svn://localhost/gambas/trunk@5906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 13:49:13 +00:00
Radek Fryšták
5c0a93f8a3 [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 13:20:56 +00:00
Radek Fryšták
135e11ecfb [DEVELOPMENT ENVIRONMENT]
* NEW: update czech translation.


git-svn-id: svn://localhost/gambas/trunk@5904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 13:15:02 +00:00
Benoît Minisini
9e99bcb4f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if examples are not installed.


git-svn-id: svn://localhost/gambas/trunk@5903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 12:21:41 +00:00
Benoît Minisini
c994980764 [INTERPRETER]
* BUG: Fix a structure declaration for ARM architecture.

[GB.CLIPPER]
* BUG: Fix the signature of some methods.


git-svn-id: svn://localhost/gambas/trunk@5900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 02:53:17 +00:00
Benoît Minisini
51a949eade [GB.XML.HTML]
* BUG: Add missing headers in 'Makefile.am' file.


git-svn-id: svn://localhost/gambas/trunk@5897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 20:43:10 +00:00
Benoît Minisini
3503f80e66 [GB.GTK]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.

[GB.QT4]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.


git-svn-id: svn://localhost/gambas/trunk@5893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:51:58 +00:00
Benoît Minisini
690b7f56ba [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Process.Ignore syntax.


git-svn-id: svn://localhost/gambas/trunk@5892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:32:55 +00:00
Benoît Minisini
9326385a65 [GB.DATA]
* BUG: Fix 'Makefile.am' file.


git-svn-id: svn://localhost/gambas/trunk@5889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:29:32 +00:00
Adrien Prokopowicz
119b7e2c47 [GB.XML]
* BUG: Fix incorrect Makefile.am.

[GB.XML.HTML]
* BUG: Fix incorrect Makefile.am.
* BUG: Fix incorrect file naming conventions.

git-svn-id: svn://localhost/gambas/trunk@5888 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:06:31 +00:00
Benoît Minisini
ec5cb392f3 [INTERPRETER]
* NEW: Process.Ignore is a now a boolean property.


git-svn-id: svn://localhost/gambas/trunk@5887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 17:55:35 +00:00
Benoît Minisini
255fc160fe [GB.DATA]
* BUG: Fix incorrect Makefile.am file.

[GB.XML.HTML]
* BUG: Fix incorrect Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@5886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 14:19:09 +00:00
Benoît Minisini
4f566fa199 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot the description of gb.opengl.sge.

[INTERPRETER]
* BUG: Propagate the GB_DATE_SERIAL structure changes to all components.


git-svn-id: svn://localhost/gambas/trunk@5879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 12:39:56 +00:00
Adrien Prokopowicz
815d513319 [GB.XML.HTML]
* BUG: Searching elements by CSS filter works correctly now.

git-svn-id: svn://localhost/gambas/trunk@5878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 21:43:43 +00:00
Benoît Minisini
f394521ef1 [CONFIGURATION]
* NEW: Switch version to 3.5.0


git-svn-id: svn://localhost/gambas/trunk@5875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 21:19:16 +00:00
Benoît Minisini
b8f97a8df4 [GB.GTK]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.

[GB.QT4]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.


git-svn-id: svn://localhost/gambas/trunk@5874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 12:45:15 +00:00
Benoît Minisini
b60772bfad [INTERPRETER]
* BUG: Synchronize the 'gambas.h' header with the internal date management 
  changes of rev. #5871.


git-svn-id: svn://localhost/gambas/trunk@5873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 07:11:39 +00:00
Benoît Minisini
d309fe5598 [GB.QT4.EXT]
* NEW: If nothing is selected, SHIFT+TAB unindent the current line.


git-svn-id: svn://localhost/gambas/trunk@5872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 22:43:51 +00:00
Benoît Minisini
678921ef40 [WIKI CGI SCRIPT]
* BUG: Fix the "search" link.

[INTERPRETER]
* NEW: Date() and Time() now takes the milliseconds as an extra optional 
  argument.
* BUG: Time() with one argument correctly converts it to a date.
* NEW: Date() and Time() now always check the range validity of their 
  arguments.

[GB.DB.FORM]
* NEW: DataControl does not change the background of mandatory field and 
  the font of primary key fields anymore.
* NEW: DateControl.Control is a new property that returns the underlying
  control used for editing the field data.

[GB.GUI.BASE]
* NEW: HSplit and VSplit have a new Border property that define if the 
  splitter separator is visible or not.
* NEW: HSplit and VSplit now take the Spacing property into account.


git-svn-id: svn://localhost/gambas/trunk@5871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-11 21:06:38 +00:00
Benoît Minisini
9f8a619082 [GB.NET.CURL]
* NEW: FtpClient.NoEPSV is a new property that prevents the use of EPSV. In
  other words, the FtpClient will always use PASV.


git-svn-id: svn://localhost/gambas/trunk@5870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:32:15 +00:00
Benoît Minisini
96c4303a31 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatically unfold procedures while doing a text search. 
  Consequently, search & replace now works correctly when procedures are
  folded.


git-svn-id: svn://localhost/gambas/trunk@5869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 23:21:31 +00:00
Benoît Minisini
1de5f7f803 [DEVELOPMENT ENVIRONMENT]
* BUG: Always use "svn --force" when deleting a file in a project under
  version control.

[INTERPRETER]
* BUG: Fix a structure alignment for ARM architecture.

[GB.FORM]
* NEW: The image preview background task is now run with a lower priority.


git-svn-id: svn://localhost/gambas/trunk@5868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-08 21:58:37 +00:00
Benoît Minisini
e3d64af7ff [COMPILER]
* BUG: Correctly raise a syntax error if the FOR EACH variable is not
  immediately followed by the IN keyword.


git-svn-id: svn://localhost/gambas/trunk@5867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-03 13:21:36 +00:00
Benoît Minisini
0f3e0628ca [INTERPRETER]
* NEW: Application.Priority is a new property that allows to define the
  scheduling priority of the current process (or task). See it as an 
  interface to the nice() system call.


git-svn-id: svn://localhost/gambas/trunk@5866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-01 09:12:51 +00:00