Commit graph

2551 commits

Author SHA1 Message Date
Benoît Minisini
270fa89e4f [GB.GTK]
* BUG: Fix Cached DrawingArea having a border.


git-svn-id: svn://localhost/gambas/trunk@4402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-17 22:22:37 +00:00
Benoît Minisini
f9444636c0 [INTERPRETER]
* BUG: Correctly handle relative paths in CHMOD, CHOWN and CHGRP.


git-svn-id: svn://localhost/gambas/trunk@4401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-15 10:22:12 +00:00
Benoît Minisini
f5682bf3b4 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to handle Home and End keys in editors.
* BUG: Fix the translation of error messages made by the debugger.
* NEW: Update error message list.

[INTERPRETER]
* NEW: Chmod, Chown and Chgrp were implemented.
* NEW: Stat.Auth is a new property that returns the file mode as a string,
  using the format of the 'chmod' shell command.
* NEW: Rmdir raises a specific 'Directory is not empty' error now, when 
  trying to remove a non-empty directory.

[COMPILER]
* NEW: Chmod <path> To <mode> was implemented. <mode> is a string having 
  the same format as the 'chmod' shell command.
* NEW: Chown <path> To <user> was implemented. <user> is the name of the 
  user as defined in the /etc/passwd file.
* NEW: Chgrp <path> To <group> was implemented. <user> is the name of the 
  group as defined in the /etc/group file.


git-svn-id: svn://localhost/gambas/trunk@4400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-15 08:54:57 +00:00
Benoît Minisini
c341dec77a [DEVELOPMENT ENVIRONMENT]
* NEW: Global editor position history. Two new buttons and menu entries 
  allow to move forward and backward into that history.


git-svn-id: svn://localhost/gambas/trunk@4399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-14 08:28:03 +00:00
Benoît Minisini
4e3a714642 [INTERPRETER]
* BUG: Terminal emulation now does not automatically convert NL to CR+NL.
* BUG: Fix the declaration of custom array classes.

[GB.GTK]
* BUG: Stopping a file descriptor watch now correctly check if the event 
  loop must be exited.


git-svn-id: svn://localhost/gambas/trunk@4398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-13 08:04:11 +00:00
Benoît Minisini
0f2018386f [GB.DB.SQLITE3]
* BUG: Void blobs are correctly reset when enumerating a Result.


git-svn-id: svn://localhost/gambas/trunk@4397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-12 06:25:40 +00:00
Benoît Minisini
53aae2daf5 [DEVELOPMENT ENVIRONMENT]
* BUG: Table chooser works correctly again.
* NEW: The port can be defined now in the connection dialog.

[GB.DB]
* NEW: Support for port in a connection defined in the IDE.

[EXAMPLES]
* NEW: Port can be defined in the Database example.


git-svn-id: svn://localhost/gambas/trunk@4396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-11 02:47:43 +00:00
Benoît Minisini
3474d5e76d [INTERPRETER]
* NEW: System.FullVersion now returns the full version string, with major, 
  minor and release.
* BUG: Missing return values are correctly catched in operators now.


git-svn-id: svn://localhost/gambas/trunk@4395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-11 01:49:57 +00:00
Benoît Minisini
a264d44c28 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the form editor undo management.


git-svn-id: svn://localhost/gambas/trunk@4394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-09 04:00:39 +00:00
Benoît Minisini
2b560f91ec [CONFIGURATION]
* NEW: Switch version to 3.0.90.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor undo management.
* BUG: The menu editor changes are now correctly taken into account by the 
  undo management.

[GB.FORM]
* NEW: Little fix in TabPanel button layout.


git-svn-id: svn://localhost/gambas/trunk@4393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-07 02:16:31 +00:00
Benoît Minisini
2a777ba169 [INTERPRETER]
* NEW: New error message when a child process cannot be run for any reason.
* BUG: EXEC / SHELL ... FOR INPUT now work correctly when OUTPUT is not
  specified, and there is not a true terminal to get the data that is not 
  redirected.


git-svn-id: svn://localhost/gambas/trunk@4392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-06 01:47:50 +00:00
Benoît Minisini
63f1d6d63f [DEVELOPMENT ENVIRONMENT]
* NEW: Undo & Redo were implemented in the form editor. Warning, this is 
  experimental!


git-svn-id: svn://localhost/gambas/trunk@4391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-02 03:34:20 +00:00
Benoît Minisini
b99dc2dfc0 [GB.FORM]
* BUG: The last pixels of a TabPanel button are clickable now.


git-svn-id: svn://localhost/gambas/trunk@4390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 23:38:17 +00:00
Benoît Minisini
0544910f30 [DEVELOPMENT ENVIRONMENT]
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to 
  their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly 
  even in a Report form.

[WEB SITE MAKER]
* NEW: Remove text shadows.

[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
  can handle.

[GB.FORM]
* NEW: TabPanel buttons take a bit less space.


git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-01 15:15:49 +00:00
Fabien Bodard
174cae77ac [EXAMPLES]
* BUG: Add lost files ...


git-svn-id: svn://localhost/gambas/trunk@4388 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 13:20:08 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
074dc8c05f [INTERPRETER]
* BUG: The Internet condom had an hole. Use a better one.


git-svn-id: svn://localhost/gambas/trunk@4382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:09:12 +00:00
Benoît Minisini
7f04720f33 [INTERPRETER]
* NEW: Put a condom on our string hash routine.


git-svn-id: svn://localhost/gambas/trunk@4381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 01:02:42 +00:00
Fabien Bodard
7f3814044e [GB.REPORT]
* OPT: not export Paint Class and mask a variable into Report Class


git-svn-id: svn://localhost/gambas/trunk@4380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:44:08 +00:00
Fabien Bodard
cb699c9f34 [GB.REPORT]
* BUG: Finalize the change between StrechMode and Strech property name


git-svn-id: svn://localhost/gambas/trunk@4379 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:37:09 +00:00
Fabien Bodard
28b37c39eb [GB.REPORT]
* BUG: Use the current Painting Resolution to calculate the size of a text


git-svn-id: svn://localhost/gambas/trunk@4378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:21:24 +00:00
Benoît Minisini
a84527352f [GB.REPORT]
* NEW: Rename StretchMode property as just Stretch.
* NEW: Move the Stretch property constant to the Report class.

[EXAMPLES]
* BUG: Fix the main dialog layout.


git-svn-id: svn://localhost/gambas/trunk@4377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 00:00:48 +00:00
Benoît Minisini
0becfbf83b [DEVELOPMENT ENVIRONMENT]
* NEW: Nice symbolic background for workspace, form editor and icon editor.


git-svn-id: svn://localhost/gambas/trunk@4376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:52:49 +00:00
Fabien Bodard
86925cc6d3 [GB.REPORT]
* OPT: Some Cleaning


git-svn-id: svn://localhost/gambas/trunk@4375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:51:09 +00:00
Fabien Bodard
9a7b02bb84 [EXAMPLES]
* NEW: New report Example


git-svn-id: svn://localhost/gambas/trunk@4374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:49:29 +00:00
Benoît Minisini
470807e659 [INTERPRETER]
* BUG: Fix Single constants when directly read, not through an object 
  reference.


git-svn-id: svn://localhost/gambas/trunk@4373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:41:29 +00:00
Fabien Bodard
b95f7e712d [GB.REPORT]
* OPT: Make a demo for recurssive calls


git-svn-id: svn://localhost/gambas/trunk@4372 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:41:20 +00:00
Benoît Minisini
ec5182bec1 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the X or Y property of a form does nothing visually.

[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
  children.


git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 21:27:55 +00:00
Benoît Minisini
759aa3ba69 [INTERPRETER]
* BUG: Fix support for Single constants.


git-svn-id: svn://localhost/gambas/trunk@4370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 20:49:54 +00:00
Fabien Bodard
7016a68336 [GB.REPORT]
* BUG: Remove a really stupid bug. Now all seem to work fine


git-svn-id: svn://localhost/gambas/trunk@4369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 20:40:19 +00:00
Benoît Minisini
ba29f0abc3 [GB.FORM.MDI]
* NEW: Workspace.Picture is a new property that allows to define a tile 
  picture that will be drawn in the workspace background when it has no 
  windows.


git-svn-id: svn://localhost/gambas/trunk@4368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:26:26 +00:00
Benoît Minisini
5a0849c692 [WEB SITE MAKER]
* NEW: Changes for Gambas 3 release.

[INTERPRETER]
* BUG: No more than 15 digits for Floating point values.


git-svn-id: svn://localhost/gambas/trunk@4367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 17:03:20 +00:00
Radek Fryšták
bb4ba26da2 [WEB SITE MAKER]
* NEW: Update Czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation.


git-svn-id: svn://localhost/gambas/trunk@4366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 12:13:42 +00:00
Benoît Minisini
0c048c6b5d [CONFIGURATION]
* BUG: Correctly detect libc mathematical functions.


git-svn-id: svn://localhost/gambas/trunk@4365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 11:56:12 +00:00
Benoît Minisini
eac2589a86 [INTERPRETER]
* BUG: Do the full commit of the floating point to string conversion fix.


git-svn-id: svn://localhost/gambas/trunk@4364 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 10:57:06 +00:00
Benoît Minisini
c1e1bb9fa4 [INTERPRETER]
* BUG: The number of digits in default floating point formats was too high
  for the available precision.


git-svn-id: svn://localhost/gambas/trunk@4363 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 02:29:00 +00:00
Benoît Minisini
6ce1641661 [INTERPRETER]
* BUG: Try to fix Float to String conversion with a simpler routine.


git-svn-id: svn://localhost/gambas/trunk@4362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-30 01:28:10 +00:00
Benoît Minisini
546bc7a4f4 [INTERPRETER]
* BUG: Calling native methods on an anonymous reference now correctly casts 
  the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.

[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints 
  are not overrided.

[GB.SETTINGS]
* BUG: Fix the use of Array class.


git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 21:47:41 +00:00
Benoît Minisini
717ab7fe77 [INTERPRETER]
* BUG: Fix _get, _next and Pop methods in the Array class.


git-svn-id: svn://localhost/gambas/trunk@4360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 17:00:57 +00:00
Jordi Sayol
cefa00a553 [EXAMPLES]
* NEW: Updated Catalan translations.



git-svn-id: svn://localhost/gambas/trunk@4359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 15:04:53 +00:00
Jordi Sayol
f08332c8f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

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

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[GB.DB.FORM.MDI]
* NEW: Updated Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 13:41:51 +00:00
Benoît Minisini
55c0a89389 [GB.DESKTOP]
* NEW: Desktop.Open() now interprets "~" as the home directory.


git-svn-id: svn://localhost/gambas/trunk@4357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 09:14:38 +00:00
Benoît Minisini
023f457a34 [GB.FORM]
* BUG: The DirView root picture is correctly initialized.

[GB.GTK]
* BUG: Really find a workaround for an oxygen-gtk bug^W feature on TreeView 
  controls.


git-svn-id: svn://localhost/gambas/trunk@4356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-29 00:51:50 +00:00
Fabien Bodard
78432a726f [GB.REPORT]
* OPT: some cleanup and adding the index to the current layout objet 
  in Horizontal, column, full, and none arrangement


git-svn-id: svn://localhost/gambas/trunk@4355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:42:57 +00:00
Fabien Bodard
294f7c00cf [GB.REPORT]
* BUG: Fix a bug on the fixed elements calculation (int/float again)
* BUG: Allow really the multiple recurtions of containers.
  Take into account the current repeat state


git-svn-id: svn://localhost/gambas/trunk@4354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:28:45 +00:00
Benoît Minisini
0c32986d4a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet error message position.

[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
  way it draws nicely with gb.gtk, that does not have transparent controls 
  yet.
* BUG: Fix a crash when decreasing the Count property.

[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
  the border of TreeView controls without being asked.


git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 23:11:53 +00:00
Fabien Bodard
2b13de7a60 [GB.REPORT]
* BUG: Make the report refresh really reset all values and clear 
  all computed pages


git-svn-id: svn://localhost/gambas/trunk@4352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 21:58:31 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
e89dce6d93 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the "get version from program" feature, that was a big 
  security risk!
* NEW: Add a "get version from file" option, that automatically gets the
  version from a file named "VERSION" that must be located in a parent
  directory.


git-svn-id: svn://localhost/gambas/trunk@4349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 17:45:53 +00:00