Commit graph

4272 commits

Author SHA1 Message Date
Benoît Minisini
c8101e9c9d [GB.DB.SQLITE3]
* BUG: Fix crash due to last commit.


git-svn-id: svn://localhost/gambas/trunk@5977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-03 14:36:19 +00:00
Benoît Minisini
0fd0ff44fe [GB.DB.SQLITE3]
* BUG: Correctly handle requests returning only one table name inside field 
  names.


git-svn-id: svn://localhost/gambas/trunk@5976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-03 01:01:14 +00:00
Benoît Minisini
770042a260 [GB.SB.SQLITE3]
* BUG: Fix specific implementation of sqlite3_exec. Prevent some crashes 
  and make database creation work again (among other things).

[GB.WEB]
* BUG: CGI.Error() now correctly sends an UTF-8 HTML page.
* NEW: Response.EndOfLine is now taken into account if the response is 
  buffered.
* BUG: Buffered responses now use "Window" end-of-line by default instead 
  of "Unix" end-of-line, like unbuffered responses. *WARNING!* This bug fix 
  is not backward-compatible!


git-svn-id: svn://localhost/gambas/trunk@5975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 16:00:23 +00:00
Benoît Minisini
520c00f849 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the memory leaks of the new automatic completion.


git-svn-id: svn://localhost/gambas/trunk@5974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 03:11:22 +00:00
Benoît Minisini
b703065963 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix the mail address in the message displayed when a program 
  segfaults: it should be the mailing-list address, not my own one.
* NEW: Implement automatic completion in text editors.
* BUG: Splitting view shortcuts now act like toggles.

[GB.EVAL.HIGHLIGHT]
* NEW: Add an hidden method to provide list of keywords to the IDE 
  according to the highlighting style.
* NEW: Add a list of all values of CSS 2.1 properties.

[GB.QT4.EXT]
* NEW: Ctrl+Enter and Ctrl+Shift+Enter editor shortcuts are now directly
  implemented in the editor.

[GB.WEB]
* NEW: Response.EndOfLine is a new property that allows to explicitely
  define the EndOfLine property of the underlying stream.


git-svn-id: svn://localhost/gambas/trunk@5973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-26 03:01:11 +00:00
Adrien Prokopowicz
d599c2e2d2 [GB.XML]
* BUG: The Boolean parameter 'Indent' of XMLDocument.ToString() is now 
  correctly interpreted.
* BUG: Serializing a comment that is a direct child of a document with 
  indentation enabled does not crash anymore.
* BUG: The Document.All property is now correctly declared as an XMLNode[]

[GB.XML.HTML]
* BUG: Serializing a comment that is a direct child of a document with 
  indentation enabled does not crash anymore.

git-svn-id: svn://localhost/gambas/trunk@5972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-24 13:51:48 +00:00
Alexander Kuiper
183bfa39d7 [GB.XML.RPC]
* BUG: miniServer would give an out-of-bound with multiple parallel requests


git-svn-id: svn://localhost/gambas/trunk@5971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-23 19:41:35 +00:00
Adrien Prokopowicz
f3264a5126 [GB.XML]
* BUG: XMLElement.AppendFromText() now behaves correctly if no extra arguments are given
* BUG: XMLElement.FromText() now correctly catches parsing exceptions.

git-svn-id: svn://localhost/gambas/trunk@5970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-23 15:12:31 +00:00
Benoît Minisini
7f40f6e756 [GB.DB.SQLITE3]
* BUG: Fix a crash introduced by the previous commit.


git-svn-id: svn://localhost/gambas/trunk@5969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-23 02:07:43 +00:00
Benoît Minisini
12da187306 [GB.DB.SQLITE3]
* BUG: Use the sqlite3_column_decltype() API to get the real datatype 
  declaration of result fields, so that aliasing field does not change its
  resulting datatype.


git-svn-id: svn://localhost/gambas/trunk@5968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-23 01:47:44 +00:00
Benoît Minisini
3d83c3eb15 [GB.OPENGL.SGE]
* BUG: Don't crash if a model has only one frame.


git-svn-id: svn://localhost/gambas/trunk@5967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-22 23:12:54 +00:00
Fabien Bodard
7682493710 [EXAMPLES]
* BUG: Update the googlemap version.


git-svn-id: svn://localhost/gambas/trunk@5966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-19 19:48:05 +00:00
Benoît Minisini
4b628971fc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix management of translated button or menu texts ending with "...".
* BUG: The compression menus are visible again.
* BUG: The 'Clean up' project function really cleans up everything now.


git-svn-id: svn://localhost/gambas/trunk@5965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-19 00:13:11 +00:00
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