Commit graph

9850 commits

Author SHA1 Message Date
gambas
5830ece406 Some debugger fixes again.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Local variables come back.
* BUG: Debugger: Fix error label layout.
* NEW: Declare the new upcoming 'gb.form.htmlview' component.
2021-10-27 18:34:51 +02:00
gambas
f8edd21ec3 New component that aims at implementing an HtmlView based on the litehtml library.
[GB.FORM.HTMLVIEW]
* NEW: New component that aims at implementing an HtmlView based on the litehtml library.
2021-10-27 02:46:30 +02:00
gambas
f863ef437e Redraw mimetypes icons. Add 128 pixels monochrom versions of mimetypes icons.
[GB.FORM.STOCK]
* NEW: Redraw mimetypes icons.
* NEW: Add 128 pixels monochrom versions of mimetypes icons.
2021-10-25 23:10:58 +02:00
gambas
8d064e7cfc Some debugger fixes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: Use underline cursor style for version control terminal.
* OPT: Debugger: Do not refresh local and object variables if they are not collapsed.
* BUG: Debugger: Take into account that the debugger answer is unlimited now.
2021-10-25 03:19:57 +02:00
gambas
fdc47c8744 Some debugger fixes.
[GB.DEBUG]
* BUG: Fix debugger fifo opening process.
* BUG: The result of an evaluated expression is not truncated anymore.
2021-10-25 02:57:04 +02:00
gambas
575acd4562 Merge branch 'master' of gitlab.com:gambas/gambas 2021-10-25 00:15:50 +02:00
gambas
e8496e3c0b Make the file descriptor watches and timers priority less than the GTK+ window refresh priority.
[GB.GTK]
* BUG: Make the file descriptor watches and timers priority less than the GTK+ window refresh priority.

[GB.GTK3]
* BUG: Make the file descriptor watches and timers priority less than the GTK+ window refresh priority.
2021-10-25 00:13:04 +02:00
gambix
235649b686 Correct Shape Icon centering
[GB.MAP]
* Correct Shape Icon centering
2021-10-24 19:59:15 +02:00
gambas
07885061f2 Stock: Silently ignore standard icon theme directories without access authorization.
[GB.FORM]
* BUG: Stock: Silently ignore standard icon theme directories without access authorization.

* NEW: More icons for Gambas icon theme.
2021-10-24 01:10:18 +02:00
gambas
4a46283b2e Add 'pointer' and 'theme' icons. Redraw some icons. 360 different icons is a nice count.
[GB.FORM.STOCK]
* BUG: Set "FollowsColorScheme" flag back into Gambas icon theme generation description file.
* NEW: Add 'pointer' and 'theme' icons. Redraw some icons. 360 different icons is a nice count.
2021-10-23 21:48:44 +02:00
gambas
4ce2e30dd9 Add 'pointer' and 'theme' stock icons. More icons for Gambas icon theme.
[GB.FORM]
* NEW: Add 'pointer' and 'theme' stock icons.
* NEW: More icons for Gambas icon theme.
2021-10-23 21:47:05 +02:00
gambas
f826536666 Add 'speaker' and 'update' icons. Update some icons.
[GB.FORM.STOCK]
* NEW: Add 'speaker' and 'update' icons. Update some icons.
2021-10-23 13:02:14 +02:00
gambas
23f338c1c2 Add 'speaker' and 'update' icons. More icons for Gambas icon theme.
[GB.FORM]
* NEW: Add 'speaker' and 'update' icons.
* NEW: More icons for Gambas icon theme.
2021-10-23 13:01:26 +02:00
gambas
186d96bc23 Remove debugging messages.
[GB.QT4]
* BUG: Remove debugging messages.

[GB.QT5]
* BUG: Remove debugging messages.
2021-10-23 03:32:32 +02:00
gambas
1d37b24c9d TerminalView: Rename cursor style constants as 'Block', 'Underline' and 'VerticalLine'.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Rename cursor style constants as 'Block', 'Underline' and 'VerticalLine'.
2021-10-22 23:38:12 +02:00
gambas
46998317cf TerminalView: CursorStyle is a new property that allows to define how the cursor is drawn.
[GB.FORM.TERMINAL]
* NEW: TerminalView: CursorStyle is a new property that allows to define how the cursor is drawn.
* NEW: TerminalView: CursorBlock, CursorUnderline and CursorText are three new constants that represents how the cursor is drawn.
2021-10-22 23:29:07 +02:00
gambas
6322a874c2 Allows GridView automatic scrolling behaviour to be overriden easily.
[GB.GUI.BASE]
* NEW: ScrollArea: The EnsureVisible() method now takes an extra optional argument, that tells which scroll direction is allowed.
* NEW: GridView: GridView.Rows[].EnsureVisible() is a new method that ensures that a specific row is visible by scrolling vertically only.
* NEW: GridView: GridView.Columns[].EnsureVisible() is a new method that ensures that a specific column is visible by scrolling horizontally only.
* NEW: TreeView: Automatic scrolling on item change is now vertical only.
2021-10-22 23:03:10 +02:00
gambas
c70de03c09 Fix propagation of drag and drop events by the highlighting frame.
[GB.GUI.BASE]
* BUG: Fix propagation of drag and drop events by the highlighting frame.
2021-10-22 22:44:29 +02:00
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