Commit graph

9850 commits

Author SHA1 Message Date
gambas
61aae0c606 Fix Gambas icon theme installation routine.
[GB.FORM.STOCK]
* BUG: Fix Gambas icon theme installation routine.
2021-10-15 23:56:48 +02:00
gambas
f008d4a2a2 TextEditor: Fix possible crashes in undo management. The cursor label background is now opaque.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix possible crashes in undo management.
* NEW: TextEditor: The cursor label background is now opaque.
2021-10-15 23:11:31 +02:00
gambas
71b811e335 Fix git directory detection. Centralize error message management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Centralize error message management.
* NEW: Update French translation
* BUG: Fix a possible crash in cursor history.
* NEW: Replace some balloons by message boxes.
* BUG: Version control: Fix git directory detection.
2021-10-15 23:10:14 +02:00
gambas
e510b7581e Add stock icons for special folders. Fix stock icon map.
[GB.FORM]
* NEW: Add stock icons for special folders.
* BUG: Fix stock icon map.
2021-10-15 23:06:10 +02:00
gambas
26e16151a2 Add an hidden API to install the stock icons as system icon theme in '~/.local/share/icons'.
[GB.FORM.STOCK]
* NEW: Add an hidden API to install the stock icons as system icon theme in '~/.local/share/icons'.
* NEW: Add icon for special home folders.
* NEW: Redraw the 'watch' icon.
2021-10-15 23:05:16 +02:00
gambas
02faf036f1 TrayIcon: Fix the menu refresh problems inside the system tray.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Do not raise the 'LayoutUpdated' DBus signal anymore. Instead, just return TRUE in the 'AboutToShow' event handler.
  That should fix the menu refresh problems inside the system tray.
2021-10-15 19:51:45 +02:00
gambas
6deb70c95f Fix some typo in the stock icons map file.
[GB.FORM]
* BUG: Fix some typo in the stock icons map file.
2021-10-15 19:49:52 +02:00
gambas
9116b1c4a0 CsvFile: Add a 'NoDiacritics' optional argument to automatically remove diacritics from column names.
[GB.UTIL]
* NEW: CsvFile: Add a 'NoDiacritics' optional argument to automatically remove diacritics from column names.
2021-10-15 01:37:04 +02:00
gambas
31c990a2a9 Take the NoTabFocus property into account.
[GB.QT4]
* BUG: Take the NoTabFocus property into account.

[GB.QT5]
* BUG: Take the NoTabFocus property into account.
2021-10-14 22:37:11 +02:00
gambas
2262a2d98a Version control: Fix the version control synchronize button, and add a confirmation message.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix the version control synchronize button, and add a confirmation message.
2021-10-14 13:19:09 +02:00
gambas
7f047d1a15 Project property: Ignore void lines when computing the number of code lines.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property: Ignore void lines when computing the number of code lines.
2021-10-14 03:15:48 +02:00
gambas
bc806a189b The parser now does not store integer numbers in its global symbol table anymore. Compile is now about 5% faster.
[COMPILER]
* OPT: The parser now does not store integer numbers in its global symbol table anymore.
* OPT: Some other little optimizations here and here. The compiler is now about 5% faster.

[ARCHIVER]
* NEW: Compile with '-O3' optimization flag.

[INFORMER]
* NEW: Compile with '-O3' optimization flag.

[GB.EVAL]
* OPT: The parser now does not store integer numbers in its global symbol table anymore.
2021-10-14 03:01:14 +02:00
gambas
c21afafd56 Project tree: Add version control buttons next to the branch label, and a popup menu to change the current branch.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Add version control buttons next to the branch label, and a popup menu to change the current branch.
* NEW: Use the new version control status stock icons.
* OPT: Getting the current branch from a directory is now a lot faster.
* NEW: Update French translation.
2021-10-14 02:59:51 +02:00
gambas
c897a81d8b ButtonBox: Add the Placeholder property. Add 'added', 'modified' and 'conflict' icons.
[GB.FORM]
* NEW: ButtonBox: Add the Placeholder property.
* NEW: Add 'added', 'modified' and 'conflict' icons.
* NEW: Document the Spinner control.
2021-10-14 02:17:11 +02:00
gambas
8a692b1883 Add 'added', 'modified' and 'conflict' icons.
[GB.FORM.STOCK]
* NEW: Add 'added', 'modified' and 'conflict' icons.
2021-10-14 02:16:02 +02:00
gambas
be3772f05c Picture[] now gets an optional argument that specifies the picture size like Stock.GetSize().
[GB.GUI.BASE]
* NEW: Picture[] now gets an optional argument that specifies the picture size like Stock.GetSize().
2021-10-14 02:15:23 +02:00
gambas
6795f418fd Add a colored label on top of the project tree that displays the current branch.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a colored label on top of the project tree that displays the current branch.
  The background color of the label is automatically computed from an hash of the branch name.
  The 'master' branch is always black.
2021-10-13 17:35:50 +02:00
gambas
74f0797f7b Translation dialog: the translation menu now allows to select the translation engine.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: the translation menu now allows to select the translation engine.
* BUG: Searching for a string now stores the search position in the history.
2021-10-12 20:35:42 +02:00
gambas
d651287c43 Now integer constants can be simple integer expressions in array, constant and enumeration declarations.
[COMPILER]
* NEW: Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators.
* NEW: Now integer constants can be simple integer expressions in array, constant and enumeration declarations.

[GB.EVAL]
* BUG: Fix a compiler warning.
2021-10-12 13:33:45 +02:00
gambas
e5d38cb7cb Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
[GB.FORM.DIALOG]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.GTK3]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT4]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.

[GB.QT5]
* NEW: Dialog.FilterIndex is a new property that returns or defines the current filter of the file dialog.
2021-10-11 19:31:29 +02:00
gambas
3b83a4b642 Some little enhancements in the form editor. The image editor grid properties can now be locked.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The frame drawn when a control is hovered is now darker, and drawn inside the control if possible.
* NEW: Form editor: The frame drawn when a control is hovered is now dotted if the control is a multi-container.
* NEW: Form editor: The "embed into a container" and "remove container only" functions now have their toolbar buttons.
* NEW: Image editor: The grid properties can be locked, so that they persist if the active image editor changes.
2021-10-09 01:13:20 +02:00
gambas
135082f552 Add some new icons and update some old ones.
[GB.FORM.STOCK]
* NEW: Add some new icons.
* NEW: Update some icons.
2021-10-09 00:36:32 +02:00
gambas
82979492c3 Add a few stock icons.
[GB.FORM]
* NEW: Add a few stock icons.
2021-10-09 00:35:48 +02:00
gambas
8d886792d4 Paint.Begin() now correctly initializes the text drawing color.
[GB.QT4]
* BUG: Paint.Begin() now correctly initializes the text drawing color.

[GB.QT5]
* BUG: Paint.Begin() now correctly initializes the text drawing color.
2021-10-08 19:23:18 +02:00
gambas
25f89436db Disabled Label and TextLabel are drawn correctly now.
[GB.GUI.BASE]
* BUG: Disabled Label and TextLabel are drawn correctly now.
2021-10-08 17:25:54 +02:00
gambas
6565b5e131 Try again to support both webkit2gtk 4.0 and 4.1.
[GB.GTK3]
* BUG: Try again to support both webkit2gtk 4.0 and 4.1.
2021-10-08 16:39:20 +02:00
gambas
95e6d4a9bb Collection.Keys is a new property that returns a string array of all collection keys.
[INTERPRETER]
* NEW: Collection.Keys is a new property that returns a string array of all collection keys.
2021-10-08 14:29:51 +02:00
gambas
65d485e314 Debugger panel: make the error label more readable.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger panel: make the error label more readable.
* NEW: The editor message label and the debugger panel error label now follow the color theme.
2021-10-07 01:19:00 +02:00
gambas
73c22c5038 Try to support both webkit2gtk 4.0 and 4.1.
[GB.GTK3]
* BUG: Try to support both webkit2gtk 4.0 and 4.1.
2021-10-04 22:18:05 +02:00
gambas
bc4e457402 he "Show menubar" menu is now a toggle.
[DEVELOPMENT ENVIRONMENT]
* NEW: The "Show menubar" menu is now a toggle.
* NEW: Redraw the "module" and "class" icons.
2021-10-04 21:24:58 +02:00
gambas
c767105ebb Form editor: When a container has "full" arrangement, keep the z-order of its children as defined by the user.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: When a container has "full" arrangement, keep the z-order of its children as defined by the user.
2021-10-04 19:27:10 +02:00
gambas
84e8bfd742 Add 'csv' and 'library' icons. Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 'csv' and 'library' icons.
2021-10-01 23:07:46 +02:00
gambas
433937304f Add 'csv' and 'library' stock icons.
[GB.FORM]
* NEW: Add 'csv' and 'library' stock icons.
2021-10-01 23:06:59 +02:00
gambas
863630b424 Raise an error if we try use an object that is not an array or a collection as setting value.
[GB.SETTINGS]
* BUG: Raise an error if we try use an object that is not an array or a collection as setting value.
2021-10-01 22:27:17 +02:00
gambas
7a69c68e50 Don't store the "add branch to version" flag into the project file. Update the Gambas fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Don't store the "add branch to version" flag into the project file. Just check that the version
  string has a branch name between braces at the end. If the branch is unknown, use the brach name "?".
2021-10-01 22:22:30 +02:00
gambas
ff7b5a2736 Don't crash with an unclear error message when assigning an object to a key.
[GB.SETTINGS]
* BUG: Don't crash with an unclear error message when assigning an object to a key.
2021-09-30 23:39:37 +02:00
gambas
a6980f0be5 Add a new "GambasRound" font. Detect all version of "fckgmail" archive formats.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a new "GambasRound" font. It's a rounder version of the regular Gambas font.
* NEW: Updated Italian translation by Gianluigi.
* BUG: Option dialog: Fix installation of Gambas fonts.
* BUG: Project open dialog: detect all version of "fckgmail" archive formats.
2021-09-30 10:43:35 +02:00
gambas
167cf31239 MenuButton: Try to not take the focus on click, like a ToolButton. Add 'bluetooth' and 'json' stock icons.
[GB.FORM]
* NEW: Add 'bluetooth' and 'json' stock icons.
* NEW: MessageView: Remove text from buttons. Use less vertical space.
* BUG: MenuButton: Try to not take the focus on click, like a ToolButton.
2021-09-28 02:42:54 +02:00
gambas
721552a25c Update file icons. Add 'json' and 'bluetooth' icon.
[GB.FORM.STOCK]
* NEW: Update file icons.
* NEW: Add 'json' and 'bluetooth' icon.
2021-09-28 02:36:40 +02:00
gambas
2b625adcd0 Fix how keyboard events are propagated to the parent windows.
[GB.QT4]
* BUG: Fix how keyboard events are propagated to the parent windows.
* NEW: DrawingArea: Remove some now useless code.

[GB.QT5]
* BUG: Fix how keyboard events are propagated to the parent windows.
* NEW: DrawingArea: Remove some now useless code.
2021-09-24 17:26:49 +02:00
gambas
9d08d13719 ComboBox: Close() is a new method that closes the ComboBox popup.
[GB.QT4]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.

[GB.QT5]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.
2021-09-24 17:25:09 +02:00
gambas
05a261b9d7 ComboBox: Close() is a new method that closes the ComboBox popup.
[GB.GTK]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.

[GB.GTK3]
* NEW: ComboBox: Close() is a new method that closes the ComboBox popup.
2021-09-24 17:23:37 +02:00
gambas
23da4db632 Some fixes in cursor history management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in cursor history management.
2021-09-21 21:36:45 +02:00
gambas
21f891d443 Image editor: Correctly initially disable the popup menu so that shortcuts are not eaten.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Correctly initially disable the popup menu so that shortcuts are not eaten.
2021-09-20 19:55:13 +02:00
gambas
08f8c4d6a3 Dont' try to fill cursor history when switching project, it crashes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Dont' try to fill cursor history when switching project, it crashes.
2021-09-20 13:55:30 +02:00
gambas
18e56048c2 Style.PaintOption() correctly draws an option button in all cases now.
[GB.GTK3]
* BUG: Style.PaintOption() correctly draws an option button in all cases now.
2021-09-19 21:32:06 +02:00
gambas
4729b9e60b JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
[GB.JIT]
* NEW: JIT implementation of Left$(), Mid$() and Right$(). They are now twice faster.
2021-09-18 23:41:47 +02:00
gambas
abd5fd366e FAST keyword is now correctly taken into account when looking for class inheritance or exported classes.
[DEVELOPMENT ENVIRONMENT]
* OPT: Version control: Use FAST for history highlighting.
* BUG: FAST keyword is now correctly taken into account when looking for class inheritance or exported classes.
2021-09-18 19:59:55 +02:00
gambas
fa74c6de33 A few fixes.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix Paint() method signature.
* OPT: TextHighlighter: Add the FAST keyword to the Add() method.
* BUG: '<<' operator was defined twice in 'Sh' highlighting.
2021-09-18 19:57:27 +02:00
gambas
34b543e555 Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
[INTERPRETER]
* NEW: Standard stream objects (File.In, File.Out, File.Err) are now created on demand.
2021-09-18 14:50:39 +02:00