Commit graph

4049 commits

Author SHA1 Message Date
Sebastian Kulesz
34c0fe3353 [GB.LOGGING]
* NEW: Added some more tags to the Formatter



git-svn-id: svn://localhost/gambas/trunk@6007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:48:54 +00:00
Sebastian Kulesz
8b0606a157 [GB.LOGGING]
* NEW: Output can now be redirected to stderr ;)
* OPT: A call to Begin() is no longer necesary. The log file
  is automatically opened when creating the logger.
  


git-svn-id: svn://localhost/gambas/trunk@6006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 03:07:54 +00:00
Benoît Minisini
dd754403d4 [GB.SDL]
* BUG: Restore fill pattern to solid after a Draw.Rect() or a 
  Draw.Ellipse(), otherwise Draw.Image() draws nothing!


git-svn-id: svn://localhost/gambas/trunk@6005 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 00:34:46 +00:00
Benoît Minisini
983d1fb51a [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Correctly hide and show toolbar entries according to 
  the current state (debugging, read-only...).
* BUG: Form editor: Formatting toolbar buttons act on the entire form if
  nothing is selected now.
* NEW: Project tree: Add a project filter to show all files in conflict.


git-svn-id: svn://localhost/gambas/trunk@6004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-15 15:55:16 +00:00
Benoît Minisini
e27221340c [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: File property dialog: The 'Revert' button is correctly hidden now.
* BUG: Menu editor: Fix the highlight of the current menu.
* BUG: Menu editor: Fix the menu search box.
* BUG: Project tree: The popup menu should be accurate with extern files 
  now.
* NEW: Display a warning message in the IDE window title for both alpha and
  development versions.
* NEW: For projects whose version is read from a text file, automatically 
  save the project version at project loading if it has changed on disk.


git-svn-id: svn://localhost/gambas/trunk@6003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-15 13:59:07 +00:00
Alexander Kuiper
1fd178789b [GB.XML.RPC]
* BUG: miniServer could crash on an invalid request


git-svn-id: svn://localhost/gambas/trunk@6000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-14 08:25:52 +00:00
Benoît Minisini
188a40f601 [INTERPRETER]
* NEW: Display the error returned by the glibc when a locale cannot be set.
* NEW: Allow the class conversion routine to define the target datatype by 
  itself.

[GB.DB]
* BUG: The automatic Blob to String conversion does not lead to a crash
  anymore.


git-svn-id: svn://localhost/gambas/trunk@5999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-13 22:13:48 +00:00
Sebastian Kulesz
afdd5bc44a [GB.LOGGING]
* BUG: Removed translatable errors.
 * NEW: Allow a logger to programatically ignore calls.
 * OPT: Marked the component as finished and stable.
 * NEW: Allow to use a static instance created on demand.
 


git-svn-id: svn://localhost/gambas/trunk@5998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-13 20:47:44 +00:00
Benoît Minisini
28e75c6cec [GB.OPENGL]
* NEW: Implement gl.TexSubImage1D and gl.TexSubImage2D.


git-svn-id: svn://localhost/gambas/trunk@5997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-12 09:50:01 +00:00
Benoît Minisini
f1e8c87dcb [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Fix popup menu when clicking on the "Data" project tree folder.


git-svn-id: svn://localhost/gambas/trunk@5996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-11 23:50:34 +00:00
Benoît Minisini
7133686c3d [GB.GUI.BASE]
* BUG: Fix a crash in GridView.ColumnAt() method.


git-svn-id: svn://localhost/gambas/trunk@5995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-10 23:12:28 +00:00
Benoît Minisini
9832639d3b [GB.GTK]
* BUG: Correctly implement the Mouse.Translate() method.


git-svn-id: svn://localhost/gambas/trunk@5994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:59:09 +00:00
Benoît Minisini
8e23a347ea [CONFIGURATION]
* NEW: Chinese translations updated everywhere.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project 
  properties dialog.

[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.

[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its 
  size.

[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
  left written.

[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.
* BUG: The rtl layout is correctly initialized at startup.

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their 
  layout if the current language is right-to-left written.

[GB.NET.POP3]
* BUG: Error messages must not be translatable.

[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.


git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:42:30 +00:00
Benoît Minisini
4d4db8fc82 [GB.PCRE]
* BUG: Use GB.ReturnVoidString() instead of GB.ReturnNull().


git-svn-id: svn://localhost/gambas/trunk@5992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:06:54 +00:00
Benoît Minisini
43b9446d42 [GB.PCRE]
* BUG: Don't call GB.ReturnNewString() if a match returns a null string.


git-svn-id: svn://localhost/gambas/trunk@5991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:04:45 +00:00
Benoît Minisini
fbaee4554f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't remove the ".lang/.pot" file from version control if it has 
  been already removed.
* NEW: Update Gambas fonts.


git-svn-id: svn://localhost/gambas/trunk@5989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-07 16:38:39 +00:00
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