Commit graph

4109 commits

Author SHA1 Message Date
Benoît Minisini
6bcbeb9406 [DEVELOPMENT ENVIRONMENT]
* NEW: '&' shortcuts are automatically removed from the translatable 
  captions of the following controls: Menu, Button, CheckBox, RadioButton, 
  ToolButton, ToggleButton, DataCheckBox. The leading "..." are removed
  too. Now, for example, "&About..." and "About" lead to the same 
  translated string. Consequently the number of translatable strings of the
  IDE project is 7% lower.
* NEW: All translations were updated according to the previous change. 
* NEW: Gambas fonts have been updated.
* BUG: The property help WebView now uses the same default font size (80%) 
  than the help window.
* NEW: A menu entry in the "Tools" menu allows to update all forms, so that
  the previous features can be tested easily. Save your projects before!
* NEW: Translation imports now automatically extracts translations from 
  strings having "&" shortcuts inside and leading dots ("...").

[WIKI CGI SCRIPT]
* BUG: Handle the new "XML" component requirement.

[GB.FORM]
* NEW: TabPanel[] got a new RichText property, that allows to define the 
  title of a tab as rich text.

[GB.FORM.MDI]
* NEW: If a window embedded in a Workspace has a public RichText property, 
  it will be used instead of the normal Text property as window title. This
  is some sort of dirty hack, so don't use it at the moment.

[GB.GTK]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!

[GB.GUI.AREA]
* NEW: The Shortcut class is a new class that allows to remove '&' 
  shortcuts from the translatable caption of the following controls: Menu, 
  Button, CheckBox, RadioButton, ToolButton, ToggleButton, DataCheckBox.

[GB.QT4]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!


git-svn-id: svn://localhost/gambas/trunk@5964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-18 00:10:40 +00:00
Tobias Boege
9f63f272f8 [GB.PCRE]
* BUG: RegExp.Replace(): Explicitly use 0 if optional arguments are missing



git-svn-id: svn://localhost/gambas/trunk@5963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-17 16:56:56 +00:00
Fabien Bodard
1305413ff7 [GB.REPORT]
OPT: Test


git-svn-id: svn://localhost/gambas/trunk@5962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 21:27:31 +00:00
Benoît Minisini
13ba5b929c [DEVELOPMENT ENVIRONMENT]
* BUG: Support for subversion >= 1.8.


git-svn-id: svn://localhost/gambas/trunk@5961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 20:46:14 +00:00
Benoît Minisini
3d09f41470 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: A new menu to open any arbitrary files inside the IDE.


git-svn-id: svn://localhost/gambas/trunk@5960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 19:06:41 +00:00
Benoît Minisini
76cb94470a [GB.DRAW]
* BUG: Correctly initialize the Paint class when calling Paint.Begin() on 
  an already opened drawing device.


git-svn-id: svn://localhost/gambas/trunk@5959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 16:48:19 +00:00
Fabien Bodard
62103aa9c0 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the report borders are shown correctly in the editor


git-svn-id: svn://localhost/gambas/trunk@5958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-16 11:58:09 +00:00
Fabien Bodard
432bba576b [GB.REPORT]
* OPT: Remove backup files


git-svn-id: svn://localhost/gambas/trunk@5957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:45:00 +00:00
Fabien Bodard
a455160cbe [GB.REPORT]
OPT: All and nothing


git-svn-id: svn://localhost/gambas/trunk@5956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:31:36 +00:00
Fabien Bodard
3d86eb4042 git-svn-id: svn://localhost/gambas/trunk@5955 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2013-11-15 21:24:15 +00:00
Fabien Bodard
7ff28c7f3d [GB.REPORT]
* BUG: Many correction on object indexation. Now multiple level of 
  repeated contaoner are possible.
* NEW: And not new but now it work... the ForceNewPage property of an object force 
  the repeater the make only one display of this object by pages.



git-svn-id: svn://localhost/gambas/trunk@5954 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-15 21:22:58 +00:00
Benoît Minisini
f082b75c91 [DEVELOPMENT ENVIRONMENT]
* NEW: Update the Gambas size 12 fonts (medium and bold).
* NEW: Add Gambas size 13 fonts (medium and bold).
* BUG: Fix the procedure list fill routine in the text editor.


git-svn-id: svn://localhost/gambas/trunk@5953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-12 13:31:56 +00:00
Bruce Bruen
f40b9bf33e [DEVELOPMENT ENVIRONMENT]
[NEW] Added $PROJECT, $USER and $DATE macro atoms. These
  are handy if you write your own Code Snippets.

git-svn-id: svn://localhost/gambas/trunk@5952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-11 12:01:25 +00:00
Benoît Minisini
8d85b9b227 [INTERPRETER]
* BUG: Prevent crashes at exit by releasing array classes first.


git-svn-id: svn://localhost/gambas/trunk@5949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-08 01:40:37 +00:00
Benoît Minisini
eaf06a6411 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display optional values in signatures.


git-svn-id: svn://localhost/gambas/trunk@5947 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-08 01:08:25 +00:00
Benoît Minisini
756f7a206c [DEVELOPMENT ENVIRONMENT]
* NEW: Add Willy Raets to the list of contributors.


git-svn-id: svn://localhost/gambas/trunk@5946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-08 01:00:07 +00:00
Benoît Minisini
ad6459e604 [DEVELOPMENT ENVIRONMENT]
* NEW: Add Afrikaans to the language list.


git-svn-id: svn://localhost/gambas/trunk@5945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-07 18:15:41 +00:00
Tobias Boege
b1d1b3b0d7 [GB.FORM]
* BUG: DirChooser.ShowPreview used FDirChooser.GetPreview which does not
  exist. The correct symbol is FDirChooser.GetShowPreview.



git-svn-id: svn://localhost/gambas/trunk@5944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-06 15:21:24 +00:00
Benoît Minisini
48d192b4c7 [COMPILER]
* BUG: Allows OPEN STRING to not specify any string.


git-svn-id: svn://localhost/gambas/trunk@5943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-04 20:12:24 +00:00
Benoît Minisini
7a9d649219 [INTERPRETER]
* BUG: Fix the CLOSE instruction when dealing with a string stream.
* NEW: Make WRITE behave the same way as READ on a memory stream. I.e. it 
  writes a null-terminated "C" string.


git-svn-id: svn://localhost/gambas/trunk@5942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-04 18:16:26 +00:00
Benoît Minisini
407e74968b [INTERPRETER]
* BUG: Undo one change of last revision: reading a stream from a memory 
  stream is a special case. It reads a null-terminated C string, and not a
  serialized Gambas string.
* NEW: OPEN STRING is a new instruction that allows to use a string as a 
  stream. Writing to it appends the written data to the end of the string 
  at the moment.
* NEW: Closing a string stream returns the data written to the stream as a
  new string.

[COMPILER]
* NEW: New OPEN STRING instruction.
* NEW: OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE
  instructions alone.

[GB.EVAL]
* NEW: Highlight the new OPEN STRING instruction correctly.


git-svn-id: svn://localhost/gambas/trunk@5941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-04 15:17:01 +00:00
Benoît Minisini
574745f34d [INTERPRETER]
* BUG: VarPtr() correctly works on method arguments.
* BUG: Reading a string from a memory stream now works correctly.


git-svn-id: svn://localhost/gambas/trunk@5940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-04 02:54:00 +00:00
Benoît Minisini
5c0ca94c19 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas font.
* NEW: Display help for third-party components.


git-svn-id: svn://localhost/gambas/trunk@5939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-03 21:59:39 +00:00
Benoît Minisini
f372542c6d [GB.SDL]
* NEW: Use the Gambas monospace font as SDL default font now.


git-svn-id: svn://localhost/gambas/trunk@5937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-03 14:34:32 +00:00
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