Commit graph

11347 commits

Author SHA1 Message Date
Benoît Minisini
8210240eb9 Support for e2k architecture.
[CONFIGURATION]
* NEW: Support for e2k architecture.

[INTERPRETER]
* NEW: Support for e2k architecture.
2023-08-04 13:39:55 +02:00
Benoît Minisini
d771aa93eb Add a button to copy all compiler warnings to the clipboard.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a button to copy all compiler warnings to the clipboard.
* NEW: You have now to double-click on a warning to go to the associated line of code.
2023-08-03 23:19:34 +02:00
Benoît Minisini
5e076a7ed8 Resize newly opened debugger windows to fit the contents vertically.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Resize newly opened debugger windows to fit the contents vertically.
2023-08-03 22:58:20 +02:00
Benoît Minisini
506bf4e93b Redraw DnsClient and remove 'gb.net.curl' control icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw DnsClient and remove 'gb.net.curl' control icons.
2023-08-03 19:21:34 +02:00
Benoît Minisini
c03ed64d61 DictClient: New virtual control for supporting the 'dict://' protocol.
[GB.NET.CURL]
* NEW: DictClient: New virtual control for supporting the 'dict://' protocol.
* NEW: Redraw control icons.
2023-08-03 19:20:09 +02:00
Benoît Minisini
f563dd0557 Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
[GB.DRAW]
* NEW: Support for 'Style.Default' constant.

[GB.GTK]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.

[GB.GTK3]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* BUG: Style: Painting the backgroud correctly takes the background color into account, unless for active state (i.e. pressed buttons).

[GB.QT4]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* NEW: 'Style.StateOf()' always adds the 'Style.Default' constant.

[GB.QT5]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* NEW: 'Style.StateOf()' always adds the 'Style.Default' constant.
2023-07-29 15:43:17 +02:00
Benoît Minisini
c9591402a1 Desktop.Type: Always use 'Env["DESKTOP_SESSION"]' is set, when 'Env["XDG_CURRENT_DESKTOP"]' is not set.
[GB.GUI.BASE]
* NEW: Desktop.TYpe: Always use 'Env["DESKTOP_SESSION"]' is set, when 'Env["XDG_CURRENT_DESKTOP"]' is not set.
2023-07-29 13:18:15 +02:00
Benoît Minisini
158a4f5f45 Debugger windows: Display errors only in the second column. Better colors for errors and changes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger windows: Display errors only in the second column.
* NEW: Debugger windows: Better colors for errors and changes.
2023-07-28 00:31:12 +02:00
Benoît Minisini
ee23c34624 Update Gambas fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
2023-07-28 00:29:44 +02:00
Benoît Minisini
519bfa5a1d TreeView: Remove the debugging red rectangle drawn when 'ShowCheck' property is TRUE.
[GB.GUI.BASE]
* BUG: TreeView: Remove the debugging red rectangle drawn when 'ShowCheck' property is TRUE.
2023-07-28 00:11:38 +02:00
Benoît Minisini
8028545612 Automatically compile the project when it is opened if it has never been compiled.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically compile the project when it is opened if it has never been compiled.
2023-07-28 00:07:46 +02:00
Benoît Minisini
dfbbebe050 FtpClient: Correctly initialize curl options before reusing a connection.
[GB.NET.CURL]
* BUG: FtpClient: Correctly initialize curl options before reusing a connection.
2023-07-26 19:34:32 +02:00
Benoît Minisini
c23d80a04f Do not always clear the libcurl handle, reuse it as much as possible.
[GB.NET.CURL]
* OPT: Do not always clear the libcurl handle, reuse it as much as possible.
* BUG: Correctly check if user or password changes.
2023-07-26 17:10:28 +02:00
W. Raets
d8e8ffa922 Merge branch gambas:master into master 2023-07-16 11:39:18 +00:00
Benoît Minisini
10db065201 DataSource: Find() method now takes the ascending / descending sort order into account.
[GB.DB.FORM]
* BUG: DataSource: Find() method now takes the ascending / descending sort order into account.
* BUG: DataView: The MoveTo() method raises the Activate event when it was in creation mode before moving.
* NEW: DataView: MovePrevious() moves to the last record if we are in creation mode.
* NEW: DataView: MoveNext() has no effect if we are in creation mode.
2023-07-14 20:01:04 +02:00
Benoît Minisini
9c1e73a912 SQLRequest can return part of SQL requests without action or table.
[GB.DB]
* NEW: SQLRequest can return part of SQL requests without action or table.
2023-07-14 19:57:37 +02:00
Benoît Minisini
e5ce58b366 Forgot to release tmeporary buffer and result when using RETURNING.
[GB.DB]
* BUG: Forgot to release tmeporary buffer and result when using RETURNING.
2023-07-14 19:42:09 +02:00
Benoît Minisini
00d507b7a9 Make the component really compile.
[GB.DB.SQLITE2]
* BUG: Make the component really compile.
2023-07-14 13:05:47 +02:00
Benoît Minisini
e3c2aa4767 Make the component compile.
[GB.DB.SQLITE2]
* BUG: Make the component compile.
2023-07-14 12:27:48 +02:00
Benoît Minisini
7ad40f4c3e DataSource: When a new record is created, moving the index to the newly created record works when some fields are serial.
[GB.DB.FORM]
* BUG: DataSource: When a new record is created, moving the index to the newly created record works when some fields are serial.
2023-07-14 12:12:00 +02:00
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
W. Raets
937037d221 Merge branch gambas:master into master 2023-07-07 20:11:21 +00: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
W. Raets
802fb9b542 Merge branch gambas:master into master 2023-07-06 21:44:07 +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
W. Raets
69a2f28169 Merge branch gambas:master into master 2023-07-06 14:34:55 +00: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
W. Raets
f6e015851f Merge branch gambas:master into master 2023-07-03 14:17:15 +00: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
W. Raets
5cc8244f17 Merge branch gambas:master into master 2023-06-30 15:55:38 +00: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
W. Raets (gbWilly)
ac0bfb9197 [GB.EVAL.HIGHLIGHT]
* NEW: Dutch translation updated

[GB.FORM]
* NEW: Dutch translation updated

[GB.FORM.EDITOR]
* NEW: Dutch translation updated

[GB.FORM.PRINT]
* NEW: Dutch translation updated

[GB.FORM.TERMINAL]
* NEW: Dutch translation updated

[GB.GUI.BASE]
* NEW: Dutch translation updated

[GB.UTIL]
* NEW: Dutch translation updated

[GB.WEB.GUI]
* NEW: Dutch translation updated
2023-06-29 21:20:28 +02:00
W. Raets (gbWilly)
a9ec7838a7 [DEVELOPMENT ENVIRONMENT]
* NEW: Added Dutch translation to gambas3.desktop file
* NEW: Added Dutch translation to application-x-gambas3.xml
* NEW: Added Dutch translation to application-x-gambasscript.xml
* NEW: Added Dutch translation to application-x-gambasserverpage.xml
2023-06-28 17:10:07 +02:00
W. Raets
6c3a54c2e9 Merge branch gambas:master into master 2023-06-28 14:16:47 +00: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
W. Raets
89f6d16658 Merge branch gambas:master into master 2023-06-27 20:08:00 +00: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