Commit graph

3983 commits

Author SHA1 Message Date
Benoît Minisini
428a8524b8 [GB.DB.FORM]
* BUG: DataCheckBox correctly defines its internal TriState property 
  depending on whether its database field is mandatory or not.
* BUG: Editable DataBrowser and DataView do not create a spurious extra 
  line anymore.


git-svn-id: svn://localhost/gambas/trunk@5988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 13:00:25 +00:00
Benoît Minisini
0ce3cc69fb [GB.DB]
* BUG: Don't crash anymore when releasing database objects.


git-svn-id: svn://localhost/gambas/trunk@5987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 12:49:11 +00:00
Benoît Minisini
572a7ba1b1 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Automatically remove the ".lang/.pot" file from version control, as
  it is a generated file, and as its conflicts cannot be resolved.
* BUG: Fix the subversion conflict management.
* BUG: Raise the svn commands timeout to 30 seconds: some commits can take
  a long time.


git-svn-id: svn://localhost/gambas/trunk@5986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 01:16:07 +00:00
Benoît Minisini
d58df5b6d3 * IDE Subversion management test.
git-svn-id: svn://localhost/gambas/trunk@5985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 01:09:25 +00:00
Benoît Minisini
d30fade5eb * IDE Subversion management test.
git-svn-id: svn://localhost/gambas/trunk@5984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 00:40:46 +00:00
Benoît Minisini
2dbb689e13 * IDE Subversion management test.
git-svn-id: svn://localhost/gambas/trunk@5983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-06 23:38:25 +00:00
Benoît Minisini
548ce0016f * IDE Subversion management test.
git-svn-id: svn://localhost/gambas/trunk@5982 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-06 19:46:59 +00:00
Benoît Minisini
b1311cda2d * IDE Subversion management test.
git-svn-id: svn://localhost/gambas/trunk@5981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-06 19:38:32 +00:00
Benoît Minisini
103a5269f5 * IDE Subversion management test, just ignore.
git-svn-id: svn://localhost/gambas/trunk@5980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-06 19:02:21 +00:00
Benoît Minisini
3509cb7b7c [INTERPRETER]
* BUG: String.InStr() does not crash anymore if the string pattern is void.
  It returns 0 instead (like InStr).


git-svn-id: svn://localhost/gambas/trunk@5979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-06 18:51:35 +00:00
Benoît Minisini
378d9a9534 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix HTML compression so that everything is not put on the same line.

[GB.FORM]
* BUG: The FileProperties does not crash anymore if the directory size 
  calculation task returns rubbish.

[GB.FORM.MDI]
* NEW: Raise an error if the Toolbar.Configure() method is called whereas
  the toolbar Key property is not defined.


git-svn-id: svn://localhost/gambas/trunk@5978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-05 18:47:36 +00:00
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