Commit graph

9882 commits

Author SHA1 Message Date
gambas
da50778ffa Project tree: Allow move action only when dragging a source code file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Allow move action only when dragging a source code file.
2021-10-22 21:22:48 +02:00
gambas
d97f8dd764 Fix drag and drop management, especially in GTK+ components.
[GB.GTK]
* BUG: Fix drag and drop action constants.
* BUG: The three drag and drop actions are supported now.
* BUG: The SHIFT and CONTROL key modifiers define the current drag and drop action.

[GB.GTK3]
* BUG: Fix drag and drop action constants.
* BUG: The three drag and drop actions are supported now.
* BUG: The SHIFT and CONTROL key modifiers define the current drag and drop action.

[GB.QT4]
* BUG: Fix drag and drop action constants.
* BUG: The three drag and drop actions are supported now.
* BUG: The SHIFT and CONTROL key modifiers define the current drag and drop action.

[GB.QT5]
* BUG: Fix drag and drop action constants.
* BUG: The three drag and drop actions are supported now.
* BUG: The SHIFT and CONTROL key modifiers define the current drag and drop action.
2021-10-22 21:18:45 +02:00
gambas
88579780e2 Fix list generation, by removing a strange insertion of void paragraph.
[GB.MARKDOWN]
* BUG: Fix list generation, by removing a strange insertion of void paragraph.
2021-10-22 04:27:50 +02:00
gambas
1a845b3feb Fix File.FormatSize() so that no more than three significant digits are returned.
[GB.UTIL]
* BUG: Fix File.FormatSize() so that no more than three significant digits are returned.
2021-10-21 14:03:54 +02:00
gambas
4331940e9e IconView: Use an internal cache to speed up item text formatting.
[GB.GUI.BASE]
* OPT: IconView: Use an internal cache to speed up item text formatting.
2021-10-21 14:01:54 +02:00
gambas
d9aa4e194c Format file sizes with no more than three digits. FileView: Use the directory cache instead of Stat() when drawing the items.
[GB.FORM]
* NEW: Format file sizes with no more than three digits.
* BUG: Stock: Don't duplicate 'Gambas' and 'Gambas-Mono' icon themes in Stock.Themes property.
* OPT: FileView: Use the directory cache instead of Stat() when drawing the items.
2021-10-21 14:00:38 +02:00
gambas
1474d6cef0 Display information on debugged process. Fix git repository detection.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Debugger: Display the memory used by the debugged process (actually the PSS returned by Linux), and the number of its open file descriptors.
* BUG: Version control: Fix git repository detection.
2021-10-21 13:54:44 +02:00
gambas
a40d11b528 Fix how remotely debugged process end is detected.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Watch a remotely debugged process through the lock file
  it creates, instead of relying on '/proc' which is not reliable and
  Linux-specific.
* BUG: Save the cursor position in the history when the procedure list is used.
2021-10-21 01:04:42 +02:00
gambas
4681142810 If remote debugging is activated, lock a file to tell the IDE we are alive.
[INTERPRETER]
* NEW: If remote debugging is activated, lock a file to tell the IDE we are alive.
2021-10-21 01:02:07 +02:00
gambas
3771b2df30 Version control: Use EXEC instead of SHELL to speed-up version control detection.
[DEVELOPMENT ENVIRONMENT]
* OPT: Version control: Use EXEC instead of SHELL to speed-up version control detection.
2021-10-20 18:00:46 +02:00
gambas
e138b8f0e5 'EXEC / SHELL ... TO ... WITH ERROR' is a new syntax that redirects both the standard output and the standard error of a process to a string.
[COMPILER]
* NEW: 'EXEC / SHELL ... TO ... WITH ERROR' is a new syntax that redirects
  both the standard output and the standard error of a process to a string.
  The support for that feature was already present inside the interpreter!
2021-10-20 17:39:52 +02:00
gambas
d24d7d690f Update control icons.
[GB.DB.FORM]
* NEW: Update control icons.
2021-10-20 16:42:19 +02:00
gambas
a800f3e942 The '<div>' markup that encloses all tables has a class "table" now.
[GB.MARKDOWN]
* NEW: The '<div>' markup that encloses all tables has a class "table" now.
2021-10-20 14:21:29 +02:00
gambas
8f4e709dcf Add 'cpu' stock icon. Add some mimetypes associations for Gambas icon theme.
[GB.FORM]
* NEW: Add 'cpu' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'cpu' stock icon, and fix some icons.
* NEW: Add some mimetypes associations for Gambas icon theme.
2021-10-20 14:19:26 +02:00
gambas
438deab9da The '!' command does not write on the standard output anymore, but now works like the '?' command.
[GB.DEBUG]
* NEW: The '!' command does not write on the standard output anymore, but now works like the '?' command.
2021-10-20 14:17:22 +02:00
gambas
303fbd184b Some debugger fixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger actions are now correctly enabled or disabled according to the current debugger state.
* BUG: Breakpoints really cannot be set when the debugger program is running.
* NEW: Display the process id of the debugged process.
* BUG: Console immediate evaluation now works as expected with remote debugging.
* NEW: Update French translation.
2021-10-20 14:16:58 +02:00
gambas
aa23a81ec7 Add 'android' and 'windows' icons. Add other mimetypes associations for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'android' and 'windows' icons.
* NEW: Add other mimetypes associations for Gambas icon theme.
2021-10-20 02:44:40 +02:00
gambas
815b24b7b4 Add 'android' and 'windows' stock icons.
[GB.FORM]
* NEW: Add 'android' and 'windows' stock icons.
2021-10-20 02:44:13 +02:00
gambas
1b5b92da72 Support for "remote" debugging.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: A new debugger feature that allows to debug "remotely", i.e. debug a process not run by the IDE,
  provided of course that it comes from the same project.
2021-10-20 02:37:36 +02:00
gambas
85cbb94625 Support for debugging a process not run by the IDE.
[INTERPRETER]
* NEW: Support for "remote" debugging, i.e. debugging a process not run by the IDE.
  It is activated by the existence of a symbolic link named '/tmp/gambas-<project name>.debug'
  pointing at the IDE temporary directory. The symbolic link is destroyed by the debuggee, so that
  no other process of the same project can use it.
* BUG: Remove support of two deprecated parameters in '.startup' file.
* NEW: The internal common string buffer size is now equal to 'PATH_MAX'.

[GB.DEBUG]
* NEW: Support for "remote" debugging.
* OPT: The debugger process now opens the output fifo in blocking mode when needed, and the
  debugged process opens the output fifo for reading when needed too.
2021-10-20 02:28:22 +02:00
gambas
8fda4bfcce Add 'java' icon. Redraw 'watch' icon. Add other mimetypes associations for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'java' icon.
* NEW: Redraw 'watch' icon.
* NEW: Add other mimetypes associations for Gambas icon theme.
2021-10-18 23:13:45 +02:00
gambas
09fd54c82c File dialog geometry is now correctly saved when Dialog.Key is not set.
[GB.FORM.DIALOG]
* NEW: Ask password dialog: Add a button to toggle password visibility.
2021-10-18 23:10:55 +02:00
gambas
017f436671 ButtonBox: Add password property. Add 'java' icon.
[GB.FORM]
* NEW: Add 'java' icon.
* NEW: ButtonBox: Add password property.
2021-10-18 23:09:38 +02:00
gambas
cf1343d559 Project tree: Add the "Add everything to repository" button.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Add the "Add everything to repository" button.
2021-10-18 23:05:26 +02:00
gambas
73801f2e5e Fix crash in URL class.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix crash in URL class.
2021-10-18 18:13:43 +02:00
gambas
c8e6e38d16 Image editor: The "shapes" tab of the image property panel is now the "selections" tab, and it allows to save and recall selections.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: The "shapes" tab of the image property panel is now the "selections" tab, and it allows to save and recall selections.
* NEW: Update French translation.
2021-10-18 13:39:57 +02:00
gambas
165e680dce Fix generation of floating point constants whose value is an integer.
[COMPILER]
* BUG: Fix generation of floating point constants whose value is an integer.
* BUG: Fix a possible memory corruption after the end of the compilation of the first class.
2021-10-17 01:08:30 +02:00
gambas
4ac3e20d70 Add other icons.
[GB.FORM.STOCK]
* NEW: Add other icons.
2021-10-16 21:01:38 +02:00
gambas
814e923822 Add other icons.
[GB.FORM]
* NEW: Add other icons.
2021-10-16 21:00:36 +02:00
gambas
0d697fbf1e Add some icons, redraw other ones, and fix mimetypes for Gambas icon theme.
[GB.FORM.STOCK]
* NEW: Add 'view-preview' and some special folders icons.
* NEW: Redraw some icons.
* NEW: Add mimetype associations.
2021-10-16 12:56:30 +02:00
gambas
4e04c23332 Add 'view-preview' and some special folders icons.
[GB.FORM]
* NEW: Add 'view-preview' and some special folders icons.
2021-10-16 12:55:09 +02:00
gambas
175d64b9fd Project tree: Compressed files icons are now darker through brightness modification.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Compressed files icons are now darker through brightness modification.
2021-10-16 12:53:42 +02:00
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