Commit graph

6261 commits

Author SHA1 Message Date
gambas
36132fa99a The 'gb.db.postgresql' function that returns the index of a result field from its name is now really case unsensitive.
[GB.DB.POSTGRESQL]
* BUG: The function that returns the index of a result field from its name is now really case unsensitive.
2018-01-08 12:43:16 +01:00
gambas
c1e4b8946f String.FromHTML() now replaces "<br>" by a newline.
[GB.UTIL]
* NEW: String.FromHTML() now replaces "<br>" by a newline.
2018-01-06 17:09:53 +01:00
gambas
b5062ff92b Correctly detect local icon themes.
[GB.FORM]
* BUG: Correctly detect local icon themes.
2018-01-06 17:08:32 +01:00
gambas
066c25c7aa Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.
[GB.GTK]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.GTK3]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.IMAGE.IO]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.QT4]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.QT5]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.
2018-01-06 17:05:49 +01:00
gambas
02a28a22ab Merge branch 'master' of gitlab.com:gambas/gambas 2018-01-06 13:00:11 +01:00
gambas
c23854917e Fix some project tree refresh bugs, and add a "no password" option to the connection dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree is correctly refreshed now when dealing with connections.
* BUG: Project tree is correctly refreshed when project components change.
* NEW: Add a "no password" option to the connection dialog, to tell that no password is needed when connecting to the database.
2018-01-06 12:57:36 +01:00
gambix
0d4d7e5d06 Keep Center on zooming down
[GB.MAP]
* BUG: Now the map not move when zooming down
2018-01-04 14:02:47 +01:00
gambix
f71115e89b Adding the circle shape and done some bug corrections
[GB.MAP]
* NEW: AddCircle Fuction on _MapShape Layer allow to display circles
* NEW: Now ShapeItems have a FillColor property that allow to define filling color.
* NEW: _ShapeLayer have a generic FillColor too
* BUG: The shape layer now not display ShapeItems when theire current display size
  at zoom is lower than 2 pixels.
2018-01-04 11:47:27 +01:00
gambas
eff768b3c6 Enhance project arguments edition in the IDE and fix a crash in the "Update all forms" action.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu entry in the "run with arguments" menu that opens the project property dialog directly on the "Arguments" tab.
* NEW: Project property dialog: Enhance argument editor behaviour.
* BUG: The "Update all forms" action now do not crash anymore on forms that do not use the form editor.
2017-12-19 21:48:50 +01:00
gambas
e3f941c7e2 Use a dedicated stream for locks, and ignore Application.Busy when displaying a message box.
[DEVELOPMENT ENVIRONMENT]
* OPT: Don't load the help browser form immediately to speed up IDE starting.

[INTERPRETER]
* NEW: Use a dedicated stream for locks, so that the File object returned by LOCK cannot be used for reading or writing the locked file.

[GB.GTK]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.GTK3]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.QT4]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.QT5]
* NEW: Ignore Application.Busy when displaying a message box.
2017-12-18 13:02:39 +01:00
gambas
2bb28545a5 LOCK instruction now can be used on existing files without clearing them.
[INTEPRRETER]
* NEW: LOCK instruction now can be used on existing files without clearing them.
2017-12-17 21:21:29 +01:00
gambas
0badb09bd8 [DEVELOPMENT ENVIRONMENT]
* NEW: The icon of database connections that can be used as a template now use the "exported" emblem.
* NEW: The project filter entered in the welcome dialog is now transmitted to the open project dialog.
* NEW: The project filter now takes the project version into account.
* NEW: Update some module icons.
2017-12-15 21:43:22 +01:00
gambas
27eb57e3d7 [GB.FORM.EDITOR]
* NEW: Don't automatically close a brace if the cursor is alread between opening and closing braces. Just move the cursor.
2017-12-15 21:41:42 +01:00
gambix
6dfd509078 Improvement on the editor preview bar
[GB.FORM.EDITOR]
* BUG: The preview not display end of line spaces as characters and display only the 100
  first characters.
2017-12-15 14:04:42 +01:00
gambas
0b73beec1d Workspace: Raise the CloseAll event after the close all button has been clicked.
[GB.FORM.MDI]
* NEW: Workspace: Raise the CloseAll event after the close all button has been clicked.
2017-12-03 18:10:05 +01:00
gambas
3fcc897729 If a project file is a symbolic link to a file of another project, show a menu entry allowing that file to be opened in its project so that it can be modified.
[DEVELOPMENT ENVIRONMENT]
* NEW: If a project file is a symbolic link to a file of another project, show a menu entry allowing that file to be opened in its project so that it can be modified.
* NEW: Update IDE usage text.
* BUG: Automatically update the copyright date in the licence file.
2017-12-03 18:06:32 +01:00
gambas
dfb179b549 Component.Version now returns the full version of libraries.
[INTERPRETER]
* NEW: Component.Version now returns the full version of libraries.
2017-11-25 06:02:46 +01:00
gambas
8bf14d2a7e New properties for knowing if a component is a user library, and for getting its version.
[INTERPRETER]
* NEW: Component.Library is a new property that returns if a component is actually a user library.
* NEW: Component.Version is a new property that returns the version number of a loaded component. If the component is a user library, you get the version number of that library. Otherwise you get the current Gambas version.
2017-11-25 05:40:12 +01:00
gambas
36b16f18b3 Sort the internal project class list to make the contents of object files predictable.
[ARCHIVER]
* BUG: scandir() work is now correctly freed.

[COMPILER]
* NEW: Sort the internal project class list to make the contents of object files predictable.
2017-11-19 23:18:23 +01:00
gambas
39f93ddb37 The archiver now uses a predictable file order when creating an archive.
[ARCHIVER]
* BUG: The archiver now uses a predictable file order when creating an archive.
2017-11-19 02:29:59 +01:00
gambas
a71bfa4932 Update financial contributors.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial contributors.
2017-11-17 00:08:51 +01:00
gambas
ffbfa0086e Fix the search result panel layout according to the new debuggin panel close button.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the search result panel layout according to the new debuggin panel close button.
2017-11-15 19:16:44 +01:00
gambas
88d9a14a2e Add a close button on the top right of the debugging panel.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a close button on the top right of the debugging panel.
2017-11-10 20:40:41 +01:00
gambas
e81f964f54 HSplit and VSplit got a new MinSize property that allows to define the minimum size of a pane.
[GB.GUI.BASE]
* NEW: HSplit and VSplit got a new MinSize property that allows to define the minimum size of a pane.
2017-11-10 20:38:15 +01:00
gambas
5e79f29fdc Fix some gcc compiler warnings.
[COMPILER]
* BUG: Fix some gcc warnings.

[GB.QT4]
* BUG: Clipboard.Paste() correctly converts image to ARGB premultiplied format.

[GB.QT5]
* BUG: Clipboard.Paste() correctly converts image to ARGB premultiplied format.

[GB.PCRE]
* BUG: Fix a gcc warning.
2017-11-10 20:35:27 +01:00
gambas
31eafccb89 Add 'education' & 'golang' install groups to debian and ubuntu distributions.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add 'education' & 'golang' install groups to debian and ubuntu distributions.
2017-11-06 23:21:39 +01:00
gambas
e80da99cd7 Conflicts are now solved through a custom editor. Beware that binary files are not supported yet!
[DEVELOPMENT ENVIRONMENT]
* NEW: Conflicting files have now their own editor. Solving conflicts is done from that editor. Beware that binary files are not supported yet!
* NEW: Update french translation.
* BUG: Update some editor icons.
* BUG: Removing files updates the project tree correctly now.
* NEW: Version control: If there is nothing to commit, and if the repository has a remote origin, then pushing is possible.
* NEW: Version control: Implement Git conflict solving.
* NEW: Versino control: Redraw some icons.
2017-11-06 23:11:24 +01:00
gambas
9273b9d499 CsvFile: Handle relative paths as expected.
[GB.UTIL]
* BUG: CsvFile: Handle relative paths as expected.
2017-11-06 23:10:18 +01:00
gambas
6af806fdb6 TextEditor: SaveCursor() and RestoreCursor() are two methods for saving and restoring the cursor and selected text positions.
[GB.FORM.EDITOR]
* NEW: TextEditor: SaveCursor() and RestoreCursor() are two methods for saving and restoring the cursor and selected text positions.
2017-11-06 23:09:04 +01:00
gambas
d99206c55f TextEditor: The side bar contents is now still visible on modified or saved lines.
[GB.FORM.EDITOR]
* BUG: TextEditor: The side bar contents is now still visible on modified or saved lines.
2017-11-01 19:27:48 +01:00
gambas
85d0c23625 TextEditor: Support for custom highlighting style and style background color.
[GB.FORM.EDITOR]
* BUG: TextEditor: Automatically close quotes only in Javascript, CSS and SQL modes.
* NEW: TextEditor: Up to 32 highlighting styles can be defined. Custom highlighting styles starts at Highlight.Custom index.
* NEW: TextEditor: Each style now can have a Background property that defines its background color.
2017-11-01 08:43:39 +01:00
gambas
48b9e8ddad Highlight.Custom is a new constant that is the first integer constant that can be used for custom highlighting state.
[GB.EVAL]
* NEW: Highlight.Custom is a new constant that is the first integer constant that can be used for custom highlighting state.
2017-11-01 08:42:35 +01:00
gambas
42bea52afd Toolbar: Add a dark version of the toolbar configuration hash pattern.
[GB.FORM.MDI]
* NEW: Toolbar: Add a dark version of the toolbar configuration hash pattern.
2017-11-01 08:41:41 +01:00
gambas
31ee091c62 Toolbar: Use an hash pattern to draw toolbar in configuration mode.
[GB.FORM.MDI]
* NEW: Toolbar: Use an hash pattern to draw toolbar in configuration mode.
* BUG: Toolbar: Use the toolbar item font when drawing its drag icon.
2017-11-01 08:39:38 +01:00
gambas
bed1a9232e Version control: Putting a project under version control with Git works correctly now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Putting a project under version control with Git works correctly now.
* NEW: Version control: Git repository without remote are not pushed.
* BUG: Version control: Last commit log has no extra newlines anymore.
2017-10-29 01:47:29 +02:00
gambas
0d73358fc7 Update french translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
2017-10-28 16:18:38 +02:00
gambas
0026917f12 Version control: Projects can be put under version control. A new Git repository is created for the project if no parent Git repository is found.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: Projects can be put under version control. A new Git repository is created for the project if no parent Git repository is found.
* BUG: Editor: The message label now moves if the editor is resized.
2017-10-28 16:13:39 +02:00
gambas
d583aa9480 Setting Application.Busy now has an immediate effect.
[GB.GTK]
* BUG: Setting Application.Busy now has an immediate effect.

[GB.GTK3]
* BUG: Setting Application.Busy now has an immediate effect.
2017-10-27 04:33:17 +02:00
gambas
96544fd76a Setting Application.Busy now has an immediate effect.
[GB.GTK]
* BUG: Setting Application.Busy now has an immediate effect.

[GB.GTK3]
* BUG: Setting Application.Busy now has an immediate effect.
2017-10-27 04:31:34 +02:00
gambas
9fa8e2a5d6 Don't call the event loop after changing Application.Busy, and clicking outside of an opened popup window now automatically closes it.
[GB.GTK]
* BUG: Don't call the event loop after changing Application.Busy.
* NEW: Use gdk_new_cursor_from_name() instead gdk_new_cursor().
* BUG: Clicking outside of an opened popup window now automatically closes it.

[GB.GTK3]
* BUG: Don't call the event loop after changing Application.Busy.
* NEW: Use gdk_new_cursor_from_name() instead gdk_new_cursor().
* BUG: Clicking outside of an opened popup window now automatically closes it.
2017-10-27 03:25:41 +02:00
gambas
6770894884 FtpClient: Allow 'ftps://' protocol.
[GB.NET.CURL]
* NEW: FtpClient: Allow 'ftps://' protocol.
2017-10-25 20:38:42 +02:00
gambas
4db9e5c07e Correctly hide the "insert date" button when the editor is read-only.
[DEVELOMENT ENVIRONMENT]
* BUG: Correctly hide the "insert date" button when the editor is read-only.
2017-10-25 14:29:48 +02:00
gambas
d7ff8d35ff Project tree: Correctly refresh startup class in all cases when changing it.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Correctly refresh startup class in all cases when changing it.
2017-10-25 14:19:48 +02:00
gambas
c2d99fc28c The visibility of some toolbar icons was incorrectly managed after a project state change.
[DEVELOPMENT ENVIRONMENT]
* BUG: The visibility of some toolbar icons was incorrectly managed after a project state change.
2017-10-24 18:47:03 +02:00
gambas
a048b76368 Define the parent window of a modal dialog the same way in all GUI components.
[GB.QT4]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.QT5]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.GTK]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.GTK3]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.
2017-10-23 23:10:49 +02:00
gambas
d720a2789b Don't crash when opening a newly created project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening a newly created project.
2017-10-23 22:38:14 +02:00
gambas
9d3ec8d46b Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix handling of metadata of files not stored in the project. No infinite recursion anymore.
2017-10-21 21:15:12 +02:00
gambas
0b96e3fb64 Some fixes in version control and image selection dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image selection dialog: Correctly define image files filter.
* BUG: Version control: Don't crash when opening a external file.
* NEW: Version control: Added files are now marked as modified with Git.
* NEW: Redraw some class symbol icons.
2017-10-21 01:26:59 +02:00
gambas
9519c3dc52 Implement string comparison based on MATCH operator with the gb.Match constant.
[INTERPRETER]
* NEW: gb.Match is a new constant that indicates a string comparison using the PCRE MATCH operator.
* BUG: The gb.Descent flag could be erased when sorting objects implementing the '_compare' special method.
2017-10-21 01:19:27 +02:00
gambas
e4d996d57d [DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix update of conflict flag when saving a file.
2017-10-16 16:38:46 +02:00