Commit graph

11226 commits

Author SHA1 Message Date
Benoît Minisini
5d2c35925b TreeView: Fix a possible crash in ExpandAll().
[GB.GUI.BASE]
* BUG: TreeView: Fix a possible crash in ExpandAll().
2023-09-06 17:57:27 +02:00
Benoît Minisini
1ae471db87 Packager: AppImage: Force wayland client packages to be added if a GUI component is used, as they are not for a mysterious reason. Otherwise loading 'gb.gtk3' fails.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: AppImage: Force wayland client packages to be added if a GUI component is used, as they are not for a mysterious reason. Otherwise loading 'gb.gtk3' fails.
2023-09-06 01:31:22 +02:00
Benoît Minisini
a0b495a283 Packager: Support for extra dependencies and extra file for AppImage. Application identifier is now configurable.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Support for extra dependencies and extra file for AppImage.
* NEW: Packager: Application identifier is now configurable.
* NEW: Update French translation.
2023-09-05 19:33:26 +02:00
Benoît Minisini
0f718d5f5f Packager: Making AppImage works now. Not finished yet!
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Making AppImage works now. Not finished yet!
2023-09-05 12:49:48 +02:00
Benoît Minisini
13061d253f Packager: Add initial support for making AppImage executables. Does nothing yet.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Add initial support for making AppImage executables. Does nothing yet.
2023-09-05 02:17:11 +02:00
Benoît Minisini
22e677711d Image editor: The 'move' tool nows moves the contents of the image.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: The 'move' tool nows moves the contents of the image.
2023-09-04 22:13:24 +02:00
Benoît Minisini
8b7d77ea42 Project tree: The tree stopped refreshing in some cases.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: The tree stopped refreshing in some cases.
2023-09-02 00:51:12 +02:00
Benoît Minisini
5297073b3e Project tree: Put the option buttons inside the filter popup menu. Enhance default collapse.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project browser: Fix view buttons icon size.
* NEW: Image editor: Add more default gray colors in the color palette.
* NEW: Project tree: Put the option buttons inside the filter popup menu.
* NEW: Project tree: Use the new TreeView CollapseAll() and ExpandAll() methods.
2023-08-31 03:43:51 +02:00
Benoît Minisini
b9cce4a591 TreeView: Add ExpandAll() and CollapseAll() methods.
[GB.GUI.BASE]
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods.
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods to items.
2023-08-31 03:40:30 +02:00
Benoît Minisini
937f686f09 DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
[GB.DB.FORM]
* BUG: DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
2023-08-30 22:10:40 +02:00
Benoît Minisini
edef98e286 Redraw some icons so that they stretch better on small sizes.
[GB.FORM.STOCK]
* NEW: Redraw some icons so that they stretch better on small sizes.
* NEW: Add 'chronometer' icon.
2023-08-28 14:13:14 +02:00
Benoît Minisini
c624e3f95f Resizing a window by code correctly raises the Resize event again.
[GB.QT4]
* BUG: Resizing a window by code correctly raises the Resize event again.

[GB.QT5]
* BUG: Resizing a window by code correctly raises the Resize event again.
2023-08-28 13:39:34 +02:00
Benoît Minisini
ad9f8a1761 Project tree: Add two buttons that display all items and shrink the view. Fix image editor resize dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix image resize dialog.
* NEW: Project tree: Add a button to display all items.
* NEW: Project tree: Add a button to shrink the view.
* NEW: Project tree: Filtering automatically displays filtered items.
* NEW: The shrinked view is now the default view when opening a project.
2023-08-28 04:43:36 +02:00
Benoît Minisini
1affcc5e42 GridView: Hidden cells are ignored by EnsureVisible() method. TreeView: Item height computation is faster now.
[GB.GUI.BASE]
* BUG: GridView: Hidden cells are ignored by EnsureVisible() method.
* OPT: TreeView: Item height computation is faster now.
2023-08-28 04:25:54 +02:00
Benoît Minisini
862630ca09 Image editor: Fix selection clear and undo on double click.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix selection clear and undo on double click.
2023-08-26 18:54:10 +02:00
Benoît Minisini
5156f964ba ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
[GB.FORM]
* NEW: ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
* NEW: Add 'chronometer' stock icon.
2023-08-26 16:12:30 +02:00
Benoît Minisini
bd045aab10 TreeView: Add item 'Visible' property, and filtering support.
[GB.GUI.BASE]
* NEW: TreeView: Items got a 'Visible' property, that allows to hide it.
* NEW: TreeView: 'Filter' is a new event that allows to filter the view.
* NEW: TreeView: 'Filter()' is a new method that must be called each time the filtering state changes.
2023-08-26 16:09:08 +02:00
Benoît Minisini
718d5e6710 Project tree: Use the new filter event to filter the tree. It's a lot faster.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Save the status of image offset dialog correctly.
* BUG: Image editor: Save the grid status on project close, not on form close anymore.
* OPT: Project tree: Use the new filter event to filter the tree. It's a lot faster.
* NEW: Update French translation.
2023-08-26 16:07:22 +02:00
Benoît Minisini
57360ae309 GridView: Ignore hidden cells when moving the cursor by using the keyboard. Hidden rows are always returned as not selected.
[GB.GUI.BASE]
* NEW: GridView: Ignore hidden cells when moving the cursor by using the keyboard.
* NEW: GridView: Hidden rows are always returned as not selected.
2023-08-26 12:00:15 +02:00
Benoît Minisini
6c689aa02c Image editor: Save the status of dialogs in the project settings file..
[DEVELOPMENT ENVIRONMENT]
* NEW: Clip the right of the status label when there is not enough space.
* NEW: Image editor: Save the status of tools dialogs in the project settings file.
* NEW: Image editor: Save the status of the grid in the project settings file..
2023-08-26 11:28:41 +02:00
Benoît Minisini
a840f497b8 Fix DataSource.Find() on MySQL. DataView now correctly unselect all lines when we are in creation mode and the view is not editable.
[GB.DB.FORM]
* BUG: DataTable: Write the SQL request of the Find() method is a way that is compatible with MySQL.
* BUG: DataView: Correctly unselect all lines when we are in creation mode and the view is not editable.
2023-08-25 04:28:56 +02:00
Benoît Minisini
ac15f27a96 Correctly check if the RETURNING keyword is available.
[GB.DB.MYSQL]
* BUG: Correctly check if the RETURNING keyword is available, by searching for "MariaDB" in the full version string, and checking the version number.
2023-08-25 04:24:35 +02:00
Benoît Minisini
c865a5a7e5 Fix the crash of Regexp.Replace() when pcre2 library is used.
[GB.PCRE]
* BUG: Fix the crash of Regexp.Replace() when pcre2 library is used.
2023-08-25 03:05:49 +02:00
Benoît Minisini
75ff35c40f Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
[GB.FORM]
* NEW: Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
2023-08-24 16:48:15 +02:00
Benoît Minisini
de6cf42e58 Add and update some stock icons. Redraw zoom icons.
[GB.FORM.STOCK]
* NEW: Add some stock icons.
* NEW: Redraw zoom icons.
* NEW: Update some icons.
2023-08-24 16:46:47 +02:00
Benoît Minisini
0a04bfbb9f DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
[GB.DB.FORM]
* BUG: DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
2023-08-23 19:57:10 +02:00
Benoît Minisini
91887f926b 'Mouse.RelX' and 'Mouse.RelY' are two new properties that return how much the mouse cursor has moved.
[GB.SDL2]
* NEW: 'Mouse.RelX' and 'Mouse.RelY' are two new properties that return how much the mouse cursor has moved.
2023-08-23 02:47:14 +02:00
Benoît Minisini
69f7b31d67 Fix deprecated declaration.
[GB.QT4.WEBKIT]
* BUG: Fix deprecated declaration.

[GB.QT5.WEBKIT]
* BUG: Fix deprecated declaration.
2023-08-22 23:19:55 +02:00
Benoît Minisini
e5816f6c3c As usual, forgot to add the new file 'regexp_common.h'.
[GB.PCRE]
* BUG: As usual, forgot to add the new file 'regexp_common.h'.
2023-08-22 13:34:52 +02:00
Benoît Minisini
61bab1771e 'RegExp.FindAll()' is a new static method that return a string array of all substrings matching a pattern.
[GB.PCRE]
* NEW: 'RegExp.FindAll()' is a new static method that return a string array of all substrings matching a pattern.
2023-08-22 13:18:54 +02:00
Benoît Minisini
55caa30b85 Update and fix new look. Fix symbolic links on stock icons.
[WIKI]
* BUG: Fix symbolic links on stock icons.
* NEW: Update and fix new look.
2023-08-20 19:49:01 +02:00
Benoît Minisini
82888cc0e7 Merge branch 'master' of gitlab.com:gambas/gambas 2023-08-19 22:29:45 +02:00
Benoît Minisini
0edd7d43e3 TreeView: Expanding an item with the mouse ensures that the expanded contents is visible. Setting the 'Expanded' property manually now does not ensure that anymore.
[GB.GUI.BASE]
* NEW: TreeView: Expanding an item with the mouse ensures that the expanded contents is visible.
  Setting the 'Expanded' property manually now does not ensure that anymore.
2023-08-19 22:29:35 +02:00
Benoît Minisini
d91d11fa32 'Request.Scheme' supports more CGI headers. Add 'Response.Cookie' to handle cookie properties.
[GB.WEB]
* NEW: 'Request.Scheme' supports more CGI headers.
* NEW: 'Response.Cookie' returns a virtual object that allows to define the cookie properties.
* NEW: 'Response.SetCookie()' takes the 'Response.Cookie' properties into account when a corresponding argument is missing.
2023-08-19 22:27:10 +02:00
Benoît Minisini
4b13288590 Add some stock icons. Update 'text-*' icons.
[GB.FORM.STOCK]
* NEW: Add some stock icons.
* NEW: Update 'text-*' icons.
2023-08-19 22:21:14 +02:00
Benoît Minisini
f8c85708e4 Add 'text-caps' stock icon.
[GB.FORM]
* NEW: Add 'text-caps' stock icon.
2023-08-19 22:20:11 +02:00
Benoît Minisini
6c0bcb00a9 Add some stock icons: 'bug', 'save-all', 'tabs', 'text-normal'.
[GB.FORM]
* NEW: Add some stock icons: 'bug', 'save-all', 'tabs', 'text-normal'.
2023-08-19 18:52:01 +02:00
Benoît Minisini
224c555e3f Merge branch 'poppler-version' into 'master'
Remove upper bound on poppler version for gb.pdf

See merge request gambas/gambas!309
2023-08-18 20:44:14 +00:00
Amin Bandali
b2a8ef86f5 Remove upper bound on poppler version for gb.pdf
[GB.PDF]
* NEW: Remove upper bound on poppler version for gb.pdf
2023-08-18 22:07:30 +02:00
Benoît Minisini
190c2bd2f6 Try to fix OpenSuse tumbleweed 2023-08-18 12:02:19 +00:00
Benoît Minisini
f3c2d461de MySQL 8.0.34 does not support automatic reconnection anymore.
[GB.DB.MYSQL]
* NEW: MySQL 8.0.34 does not support automatic reconnection anymore.
2023-08-18 13:39:04 +02:00
Benoît Minisini
4bbc609ea1 Image editor: Rework undo/redo management to fix some problems.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Rework undo/redo management to fix some problems.
* BUG: Image editor: If the selection is void, the copy action copies the entire image.
2023-08-17 18:55:22 +02:00
Benoît Minisini
32cdce3546 Debugger: Highlight new lines in debugger windows.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Highlight new lines in debugger windows.
2023-08-17 18:50:01 +02:00
Benoît Minisini
4bb24c345e FileView: Read the output of the preview task more reliably.
[GB.FORM]
* BUG: FileView: Read the output of the preview task more reliably.
* NEW: FileView: Draw the preview icon overlay on the bottom.
2023-08-17 14:44:46 +02:00
Benoît Minisini
b496c336ca Fix a possible crash when creating a new TextArea control.
[GB.GTK]
* BUG: Fix a possible crash when creating a new TextArea control.

[GB.GTK3]
* BUG: Fix a possible crash when creating a new TextArea control.
2023-08-17 12:32:46 +02:00
Benoît Minisini
6daafebeaf Support for 'gambas-thin' theme icon. Add 'log', 'mahjongg' stock icons.
[GB.FORM]
* NEW: Support for 'gambas-thin' theme icon.
* NEW: Add 'log', 'mahjongg' stock icons.
2023-08-16 22:38:10 +02:00
Benoît Minisini
ceb013aefb Add 'gambas-thin' icon theme.
[GB.FORM.STOCK]
* NEW: Add 'gambas-thin' icon theme.
* NEW: 32 pixels version is not mandatory anymore if the 128 pixels version exists.
2023-08-16 22:36:48 +02:00
Benoît Minisini
dabe089ff7 Prevent some optimizations that cannot work in a just-in-time context.
[INTEPRETER]
* BUG: Prevent some optimizations that cannot work in a just-in-time context.
2023-08-16 19:30:07 +02:00
Benoît Minisini
5fa1961a62 Recover the speed of Gambas 3.18 by moving code.
[INTERPRETER]
* OPT: Recover the speed of Gambas 3.18 by moving code.
2023-08-16 18:04:08 +02:00
Benoît Minisini
7b8a7dbdb7 Optimize conversions from Pointer datatype.
[GB.JIT]
* OPT: Optimize conversions from Pointer datatype.
2023-08-16 16:33:50 +02:00