Commit graph

11254 commits

Author SHA1 Message Date
Benoît Minisini
580adc9ccf Version control: Add the 'Locate change' button to the global version control dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Version control: Add the 'Locate change' button to the global version control dialog.
2023-09-19 19:18:52 +02:00
Benoît Minisini
5508e90eff Merge branch 'master' of gitlab.com:gambas/gambas 2023-09-17 23:09:50 +02:00
Benoît Minisini
dc9d14a7f1 Code and text editor: The shortcut for formatting is now 'CTRL+SHIFT+T'.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code and text editor: The shortcut for formatting is now 'CTRL+SHIFT+T'.
2023-09-17 23:09:41 +02:00
Benoît Minisini
5e39ba5841 Merge branch 'master' into 'master'
Adds some more example projects to app/examples

See merge request gambas/gambas!310
2023-09-17 20:12:44 +00:00
Benoît Minisini
0614c434ec Image editor: Make color palette buttons a bit bigger.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Make color palette buttons a bit bigger.
2023-09-17 21:16:05 +02:00
Benoît Minisini
efcd92ddc9 More colors on the image editor color palette. Fix project tree refresh when adding a new file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Color palette now displays two lines of buttons.
* NEW: Image editor: Picking a color on the screen automatically adds it to the color palette.
* BUG: Project tree: Adding a new file correctly updates the tree now.
2023-09-16 22:15:55 +02:00
Benoît Minisini
69e55c2411 ColorPalette: Color buttons layout can be vertical or horizontal, on multiple lines or columns.
[GB.FORM]
* NEW: ColorPalette: Color buttons layout can be vertical or horizontal, on multiple lines or columns.
* NEW: ColorPalette: Add a 'Size' property that defines the size of a color button.
* NEW: ColorChooser: Picking a color on the screen now raises the 'Activate' event.
2023-09-16 22:14:20 +02:00
Benoît Minisini
6c6fa09132 Some AppImage packaging fixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: AppImage: AppImage apparently does not like spaces in program names.
* BUG: Packager: AppImage: Add 'librsvg2' explicitly if GTK+3 is used.
2023-09-15 19:29:58 +02:00
Benoît Minisini
c68a6aee7f GameOfLife: French Translation.
[EXAMPLES]
* NEW: GameOfLife: French Translation.
2023-09-15 19:15:23 +02:00
Benoît Minisini
2ad3b28191 Redraw some icons again so that they stretch better on small sizes.
[GB.FORM.STOCK]
* NEW: Redraw some icons again so that they stretch better on small sizes.
2023-09-15 16:59:57 +02:00
Benoît Minisini
c22a3cd5cc Project tree fixes and enhancements.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Image editor: Saving the current selection now automatically scrolls the selection list to it.
* BUG: Project tree: Refreshing it now collapses it.
* OPT: Project tree: All tree icons are cached, making filtering refresh faster.
* BUG: Project tree: Fix collapsing and expanding on mouse click.
* NEW: Project tree: Double-click now collapses a folder.
* BUG: Project tree: Correctly refresh the filter menu when the project is put under version control.
2023-09-15 16:57:44 +02:00
Benoît Minisini
1eb8036858 ScrollView.ScrollTo() is a new method that ensures a specific child is visible. Optimize TreeView filter refresh.
[GB.GUI.BASE]
* BUG: ScrollView: Fix automatic resize according to contents.
* NEW: ScrollView: ScrollTo() is a new method that ensures a specific child is visible, and that works even if the ScrollView contents is not yet arranged.
* OPT: TreeView: Optimize the filter refresh.
2023-09-15 16:54:41 +02:00
Benoît Minisini
ddb941f1c3 Fix some incorrect use of Gambas strings. Better error messages.
[GB.OPENSSL]
* BUG: Fix some incorrect use of Gambas strings.
* NEW: Better error messages.
2023-09-15 16:46:33 +02:00
Benoît Minisini
3a515efc15 The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.
[GB.WEB.GUI]
* BUG: The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.
2023-09-15 15:56:29 +02:00
Benoît Minisini
c3549acd6e Disable sqlite2 component for Ubuntu Lunar. 2023-09-13 21:50:36 +02:00
Benoît Minisini
58618fc749 Replace 'ubuntu kinetic' (not available anymore) by 'ubuntu lunar'. 2023-09-13 19:37:16 +02:00
Benoît Minisini
91016fa571 CTRL+SHIFT+F and CTRL+SHIFT+R now open the search dialog for searching or replacing all files.
[DEVELOPMENT ENVIRONMENT]
* NEW: CTRL+SHIFT+F and CTRL+SHIFT+R now open the search dialog for searching or replacing all files.
2023-09-13 18:03:15 +02:00
Benoît Minisini
f152a56784 Stock: Search new KDE5 configuration files before the old ones.
[GB.FORM]
* BUG: Stock: Search new KDE5 configuration files before the old ones.
2023-09-13 18:00:36 +02:00
Benoît Minisini
f708f149e1 Correctly initialize "show all classes" and "use inheritance" project tree options.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Prevent a possible crash while resizing a selection.
* BUG: Correctly initialize "show all classes" and "use inheritance" project tree options.
2023-09-12 13:35:40 +02:00
Benoît Minisini
fa00849fc6 Packager: AppImage: Always add 'gb.form.stock' component, as it is often needed at runtime.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: AppImage: Always add 'gb.form.stock' component, as it is often needed at runtime.
2023-09-08 22:33:13 +02:00
Benoît Minisini
eac064c184 Packager: AppImage: Prevent getting configuration from system if the system is not Ubuntu.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: AppImage: Prevent getting configuration from system if the system is not Ubuntu.
* NEW: Image editor: Better click on selection shapes for selecting, moving or rotating them.
2023-09-08 22:25:25 +02:00
Benoît Minisini
638ad8ded7 TreeView: Adding a new item now raises the Filter event on it.
[GB.GUI.BASE]
* BUG: TreeView: Adding a new item now raises the Filter event on it.
2023-09-08 02:07:23 +02:00
Benoît Minisini
4ac8bdfe85 Packager: AppImage: Allow to configure Gambas PPA.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: AppImage: Allow to configure Gambas PPA.
* NEW: Packager: AppImage: 'jammy' is now the default Ubuntu version
* NEW: Packager: AppImage: Replace the checkbox that configures AppImageBuilder from current system by a button.
* NEW: Update French translation.
2023-09-07 12:53:20 +02:00
Benoît Minisini
13fe498708 Packager: Add a wizard step that allows to configure the Ubuntu repositiory and distribution used by AppImageBuilder.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Add a wizard step that allows to configure the Ubuntu repositiory and distribution used by AppImageBuilder.
* NEW: Update French translation.
2023-09-07 03:58:06 +02:00
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
Martin Fischer
8c6e68fde1 Do no longer use sqlite db file from inside project.
Instead deploy template db file from project to tmp folder
at startup and use this deployed file as db then.
2023-09-03 18:46:42 +02:00
Martin Fischer
d2fad3388d Adds the DatabaseEditorDesignTimeConnection example
[EXAMPLES]
* NEW: Database/DatabaseEditorDesignTimeConnection
2023-09-02 20:44:26 +02:00
Martin Fischer
c8148252bc Adds the DatabaseEditor example
[EXAMPLES]
* NEW: Database/DatabaseEditor
2023-09-02 20:37:05 +02:00
Martin Fischer
3180d51c8f Adds Multiprocessing example project
[EXAMPLES]
* NEW: misc/Multiprocessing
2023-09-02 20:01:29 +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