Commit graph

4109 commits

Author SHA1 Message Date
Benoît Minisini
0665ac21d8 [GB.GTK]
* NEW: GTK3+ support continues.


git-svn-id: svn://localhost/gambas/trunk@6017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-24 00:14:11 +00:00
Benoît Minisini
51e4b5e01a [EXAMPLES]
* NEW: Add a new SerialPort example made by Claus Dietrich.


git-svn-id: svn://localhost/gambas/trunk@6016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-23 18:17:15 +00:00
Benoît Minisini
c12d048912 [EXAMPLES]
* NEW: SerialPort: Remove the old example.


git-svn-id: svn://localhost/gambas/trunk@6015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-23 18:15:19 +00:00
Benoît Minisini
c0dd9ba625 [GB.GTK]
* NEW: Start GTK+3 support.
* BUG: Embedder.Embed() does not take two arguments.


git-svn-id: svn://localhost/gambas/trunk@6014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-23 00:39:39 +00:00
Benoît Minisini
a044a8e7d5 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize the "break on error" button status.
* BUG: Don't set the focus to the console if it is hidden.


git-svn-id: svn://localhost/gambas/trunk@6013 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-21 10:55:57 +00:00
Benoît Minisini
ae979d6206 [GB.FORM]
* BUG: FileChooser: The Paths property now returns the selected path in 
  single mode and not a void array anymore.

[GB.FORM.DIALOG]
* BUG: Dialog.Open() in multiple mode works now.

[GB.FORM.MDI]
* BUG: Toolbar configuration dialog: the toolbar elements with a short text 
  are correctly displayed now.


git-svn-id: svn://localhost/gambas/trunk@6012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-21 09:38:09 +00:00
Benoît Minisini
87df43bd18 [DEVELOPMENT ENVIRONMENT]
* NEW: The debugger now can be told to break the program on any error.
* NEW: Statistic tab in the project property dialog.

[INTERPRETER]
* BUG: Don't crash if an unknown option is passed with the '-g' option.
* NEW: The debugger now can be told to break the program on any error.
* NEW: System.BreakOnError is a new property that allows to set the 
  internal "break on error" option at runtime. I don't know if it is 
  actually useful, so I may remove it.

[GB.DEBUG]
* NEW: The debugger now can be told to break the program on any error.


git-svn-id: svn://localhost/gambas/trunk@6011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-18 11:21:01 +00:00
Sebastian Kulesz
ca5b87fed3 [GB.LOGGING]
* BUG: Fix the detection of the call location.



git-svn-id: svn://localhost/gambas/trunk@6010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-17 03:47:00 +00:00
Benoît Minisini
42a089eda6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been 
  partially converted.

[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 22:23:13 +00:00
Sebastian Kulesz
92ed8dc2f0 [GB.LOGGING]
* NEW: Allow custom debug levels.
* BUG: Allow the user to change the output if using the hidden instance.
* NEW: A call to Begin() is needed again so that the user can change the
  parameters if using the hidden instance. Sorry about that. 
  


git-svn-id: svn://localhost/gambas/trunk@6008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-16 13:06:31 +00:00
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