Commit graph

11148 commits

Author SHA1 Message Date
Benoît Minisini
df3c856616 Correctly tell if 'RETURNING' keyword is implemented.
[GB.DB.SQLITE3]
* BUG: Correctly tell if 'RETURNING' keyword is implemented.
2023-07-14 12:10:35 +02:00
Benoît Minisini
72971105ef Support for new 'Connection.FullVersion' property in database drivers. Tells if 'RETURNING' keyword is implemented.
[GB.DB.MYSQL]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.

[GB.DB.ODBC]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.

[GB.DB.POSTGRESQL]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.

[GB.DB.SQLITE2]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.

[GB.DB.SQLITE3]
* NEW: Support for new 'Connection.FullVersion' property.
* NEW: Tells if 'RETURNING' keyword is implemented.
2023-07-14 12:08:51 +02:00
Benoît Minisini
257bd622a3 Support for returning the newly inserted record. Add 'Connection.FullVersion' property.
[GB.DB]
* NEW: Connection: 'Create()' now has an optional 'Return' boolean argument
  to tell if the 'Result.Update()' method will fill the Result with the
  contents of the newly inserted record. It is based on the optional
  'INSERT INTO ... RETURNING' SQL feature.
* NEW: Connection: The 'FullVersion' property now return the full version
  string of the database server.
* NEW: Database drivers can tell if they do not support the 'RETURNING'
  keyword.
* NEW: Database drivers now must provide the full version string of they
  database server they connect to.
2023-07-14 12:08:11 +02:00
Benoît Minisini
d7259e1432 Creating a new project does not copy the template icon anymore
[DEVELOPMENT ENVIRONMENT]
* BUG: Creating a new project does not copy the template icon anymore.
2023-07-13 19:35:39 +02:00
Benoît Minisini
2ace8af89c When a new record is created, move to the newly created record. Fix combo selection of DataView cells.
[GB.DB.FORM]
* NEW: DataSource: When a new record is created, move the index to the newly created record.
* NEW: DataBrowser: When a new record is created, move the view to the newly created record.
* BUG: DataView: Selecting a combo on a cell of the new record line does not refresh the DataSource controls incorrectly.
2023-07-12 23:47:47 +02:00
Benoît Minisini
13e65fa01d Fix 'Find()' and 'FindNext()' methods in DataSource and DataView, and add them to DataBrowser.
[GB.DB.FORM]
* NEW: DataView: 'Find()' searches the entire view, whereas the new 'FindNext()' searches from the current index.
* NEW: DataBrowser: Add 'Find()' and 'FindNext()' method from DataView.
* BUG: DataSource: 'Find()' and 'FindNext()' methods now correctly detect the current connection.
2023-07-12 21:10:53 +02:00
Benoît Minisini
d431251e2c New component switcher for choosing between QT4 or QT5 extension component.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'gb.gui.qt.ext' component.

[GB.GUI.QT.EXT]
* NEW: New component switcher for choosing between QT4 or QT5 extension component.
2023-07-09 19:35:54 +02:00
Benoît Minisini
bc2578dfd0 Merge branch 'deb-named' into 'master'
Deb named

See merge request gambas/gambas!307
2023-07-07 20:08:53 +00:00
Bruce Steers
51292081ef Use absolute Debian versions in CI configuration file. 2023-07-07 20:08:52 +00:00
Benoît Minisini
f796596378 Don't trash the current selection when filling the project tree while expanding a parent directory (continue).
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't trash the current selection when filling the project tree while expanding a parent directory (continue).
2023-07-06 21:02:17 +02:00
Benoît Minisini
550a5e7cdc Don't trash the current selection when filling the project tree while expanding a parent directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't trash the current selection when filling the project tree while expanding a parent directory.
2023-07-06 20:59:25 +02:00
Benoît Minisini
0bd55a14e9 Redraw modules icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw modules icons.
2023-07-06 18:21:17 +02:00
Benoît Minisini
03939bbd76 SpinBox: Fix the behaviour when 'ReadOnly' is True.
[GB.GUI.BASE]
* BUG: SpinBox: Fix the behaviour when 'ReadOnly' is True.
2023-07-06 00:13:04 +02:00
Benoît Minisini
39d979f804 Desktop.PickColor() does not try to use the freedesktop portal on X11.
[GB.DESKTOP]
* BUG: Desktop.PickColor() does not try to use the freedesktop portal on X11.
2023-07-06 00:04:54 +02:00
Benoît Minisini
2965dc0886 DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path.
[GB.DBUS]
* BUG: DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path.
2023-07-02 23:58:21 +02:00
Benoît Minisini
05139e9bc9 SpinBox: Keep the normal background when setting 'ReadOnly' property to TRUE.
[GB.GUI.BASE]
* BUG: SpinBox: Keep the normal background when setting 'ReadOnly' property to TRUE.
* OPT: TreeView: Don't check item spans until the item 'Span' property is used.
2023-06-30 13:44:35 +02:00
Benoît Minisini
5dd77bba68 TextEditor: Correctly handle quotes at the beginning of the line without crashing.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle quotes at the beginning of the line without crashing.
2023-06-27 23:58:02 +02:00
Benoît Minisini
80a3cb58f2 Update CI configuration file for new Debian release. 2023-06-19 23:12:25 +02:00
Benoît Minisini
2ef4fff770 ValueBox: Add Unselect() method to unselect the selected text.
[GB.FORM]
* NEW: ValueBox: Add Unselect() method to unselect the selected text.
2023-06-19 22:45:03 +02:00
Benoît Minisini
cc74743dab Correctly enable shortcuts before opening a popup menu, and disable them after closing it.
[GB.GTK]
* BUG: Correctly enable shortcuts before opening a popup menu, and disable them after closing it.

[GB.GTK3]
* BUG: Correctly enable shortcuts before opening a popup menu, and disable them after closing it.

[GB.QT4]
* BUG: Correctly enable shortcuts before opening a popup menu, and disable them after closing it.

[GB.QT5]
* BUG: Correctly enable shortcuts before opening a popup menu, and disable them after closing it.
2023-06-14 00:51:31 +02:00
Benoît Minisini
eb6b84667a Merge branch 'master' of gitlab.com:gambas/gambas 2023-06-13 21:27:56 +02:00
Benoît Minisini
3f0b61dca6 Update template projects.
[TEMPLATES]
* NEW: Update template projects.
2023-06-13 21:26:57 +02:00
Benoît Minisini
090dd4e048 Fix '&=' operator optimization on global string variables.
[INTERPRETER]
* BUG: Fix '&=' operator optimization on global string variables.
2023-06-13 21:24:08 +02:00
Benoît Minisini
0059ab476e Merge branch 'master' into 'master'
[DEVELOPMENT ENVIRONMENT]

See merge request gambas/gambas!301
2023-06-08 11:17:25 +00:00
Martín Belmonte
1f603480c2 Update Spanish translations. 2023-06-08 11:17:25 +00:00
Benoît Minisini
3867e7e6f9 Remove 'es_ES' translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Remove 'es_ES' translation.
2023-06-05 22:00:52 +02:00
Benoît Minisini
481ccabf39 Project open dialog: Fix new project tab.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project open dialog: Fix new project tab.
2023-06-03 09:44:48 +02:00
Benoît Minisini
b94cfc7d11 Remove the '~subversion' template.
[DEVELOPMENT ENVIRONMENT]
* NEW: Remove the '~subversion' template.
2023-06-03 00:32:58 +02:00
Benoît Minisini
f38c15d9a0 New projects are now created from the project open dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: New projects are now created from the project open dialog.
* NEW: The old project creation dialog has been removed.
* NEW: Update French translation.
2023-06-03 00:32:52 +02:00
Benoît Minisini
aaf56a8604 Project open dialog: Start to add a create project tab.
[DEVLEOPMENT ENVIRONMENT]
* NEW: Project open dialog: Start to add a create project tab.
2023-05-31 12:46:33 +02:00
Benoît Minisini
1816335118 Code editor: Enhance datatype detection for automatic local variable declaration.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Linear selections can be rotated without crashing now.
* NEW: Image editor: Saving a selection is now immediately propagated to the settings file.
* NEW: Code editor: Enhance datatype detection for automatic local variable declaration.
* NEW: Code editor: If no datatype can be guessed for a local variable, use its prefix.
2023-05-28 15:15:47 +02:00
Benoît Minisini
da6a660328 TextEditor: Enhance word selection. Triple click now selects the entire line.
[GB.FORM.EDITOR]
* NEW: TextEditor: Word selection now always stops at non words limits.
* NEW: TextEditor: Diacritics are not word limiters anymore.
* NEW: TextEditor: Triple click now selects the entire line.
2023-05-26 22:55:01 +02:00
Benoît Minisini
33d041233d DesktopPortal now uses the new DBusConnection.Start() method to start the portal service.
[GB.DESKTOP]
* NEW: DesktopPortal now uses the new DBusConnection.Start() method to start the portal service.
2023-05-26 21:50:48 +02:00
Benoît Minisini
b7b129290c DBusConnection: Add a 'Start()' method that starts a DBus service by name, and waits until it is available.
[GB.DBUS]
* NEW: DBusConnection: Add a 'Start()' method that starts a DBus service by name, and waits until it is available.
* BUG: DBusConnection: 'Exist()' acts on the current bus as expected.
2023-05-26 21:48:23 +02:00
Benoît Minisini
d5910b6141 DataSource: 'Invalid' is a new event that is raised when the value entered for a specific field is invalid. If that event is stopped, the default warning message is not displayed.
[GB.DB.FORM]
* NEW: DataSource: 'Invalid' is a new event that is raised when the value entered for a specific field is invalid. If that event is stopped, the default warning message is not displayed.
2023-05-25 12:21:11 +02:00
Benoît Minisini
8fb2189446 FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
[GB.FORM]
* BUG: FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
2023-05-25 10:37:08 +02:00
Benoît Minisini
53fd551ba0 Allow refresh for hidden controls, as their HTML is now always generated.
[GB.WEB.GUI]
* BUG: Allow refresh for hidden controls, as their HTML is now always generated.
2023-05-19 10:14:15 +02:00
Benoît Minisini
946c102e51 Allow external links to images ('http://' or 'https://').
[GB.WEB.GUI]
* BUG: Allow external links to images ('http://' or 'https://').
2023-05-17 18:56:08 +02:00
Benoît Minisini
df8b19b52d Form editor: Allows control properties to be applied when its '_DrawWith' constant is defined.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Allows control properties to be applied when its '_DrawWith' constant is defined.
2023-05-17 18:55:04 +02:00
Benoît Minisini
f1593e17f1 Start desktop portal automatically.
[GB.DESKTOP]
* NEW: Start desktop portal automatically.
2023-05-17 10:16:30 +02:00
Benoît Minisini
9b7d44ce52 Toolbar: Prevent resize infinite recursion.
[GB.FORM.MDI]
* BUG: Toolbar: Prevent resize infinite recursion.
2023-05-16 00:43:36 +02:00
Benoît Minisini
f071d87d68 TextEditor: Try to make automatic string closing more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic string closing more clever.
2023-05-13 22:15:47 +02:00
Benoît Minisini
20aa88f673 Highlight text between matching braces instead of just highlighting the braces.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight text between matching braces instead of just highlighting the braces.
* NEW: TextEditor: Do not highlight matching braces if some text is selected.
2023-05-13 15:42:39 +02:00
Benoît Minisini
5a31c2a387 Desktop.SendMail() now uses the freedesktop portal if available.
[GB.DESKTOP]
* NEW: Desktop.SendMail() now uses the freedesktop portal if available. Apparently attachments are not taken into account by Thunderbird through the portal.
2023-05-13 14:08:41 +02:00
Benoît Minisini
015bb07e57 Desktop.Open() now uses the freedesktop portal if available.
[GB.DESKTOP]
* NEW: Desktop.Open() now uses the freedesktop portal if available.
2023-05-13 03:04:06 +02:00
Benoît Minisini
fc640da3bd Allow to open a directory in direct mode for reading only, as Linux allows that.
[INTERPRETER]
* NEW: Allow to open a directory in direct mode for reading only, as Linux allows that.
2023-05-13 03:01:39 +02:00
Benoît Minisini
16353ddfba Automatic completion: Signatures of '_call', '_get' and '_put' are available again.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Signatures of '_call', '_get' and '_put' are available again.
2023-05-13 00:15:08 +02:00
Benoît Minisini
b5887bef8a ColorChooser: Use the new Desktop.PickColor() function to pick a color.
[GB.FORM]
* NEW: ColorChooser: Use the new Desktop.PickColor() function to pick a color.
* BUG: FileView: Do not crash if a file has disappeared when reloading the view.
2023-05-12 15:57:21 +02:00
Benoît Minisini
8d6ccc40cf Support for file descriptor 'h' DBus datatype.
[GB.DBUS]
* NEW: Support for file descriptor 'h' DBus datatype.
2023-05-12 13:32:12 +02:00
Benoît Minisini
866b887db7 DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
[GB.DBUS]
* NEW: DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
2023-05-12 13:31:56 +02:00