Commit graph

11201 commits

Author SHA1 Message Date
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
Benoît Minisini
c10a03cb59 Don't crash if the argument of 'SizeOf()' is incorrect, but raise an error instead.
[INTERPRETER]
* BUG: Don't crash if the argument of 'SizeOf()' is incorrect, but raise an error instead.
2023-08-16 13:07:35 +02:00
Benoît Minisini
73e4fd70ba Raise the 'Menu' event when the PopupMenu property is not set and the right button may have been clicked.
[GB.DBUS.TRAYICON]
* NEW: Raise the 'Menu' event when the PopupMenu property is not set and the right button may have been clicked.
2023-08-11 15:57:23 +02:00
Benoît Minisini
8e50479a29 Remove test forms that do not compile.
[GB.GUI.BASE]
* BUG: Remove test forms that do not compile.
2023-08-11 13:42:56 +02:00
Benoît Minisini
550fa94f6e TextEditor: PageUp and PageDown move now the same number of lines.
[GB.FORM.EDITOR]
* BUG: TextEditor: PageUp and PageDown move now the same number of lines.
2023-08-11 00:52:37 +02:00
Benoît Minisini
8dec4ed5d8 ListBox: Handle key press events for finding items, like ComboBox.
[GB.GUI.BASE]
* NEW: ListBox: Handle key press events for finding items, like ComboBox.
2023-08-11 00:45:42 +02:00
Benoît Minisini
018c7d06c3 Toolbar: Correctly position separator when the toolbar size changes.
[GB.FORM.MDI]
* BUG: Toolbar: Correctly position separator when the toolbar size changes.
2023-08-08 17:37:29 +02:00
Benoît Minisini
f937ee9fe0 Support for e2k architecture (continue...)
[INTERPRETER]
* NEW: Support for e2k architecture (continue...)
2023-08-04 15:55:39 +02:00
Benoît Minisini
f0a5c6867d Fix compilation on Alpine again.
[CONFIGURATION]
* BUG: Fix compilation on Alpine again.
2023-08-04 14:43:22 +02:00
Benoît Minisini
428ac95235 Fix configuration on Alpine.
[CONFIGURATION]
* BUG: Fix configuration on Alpine.
2023-08-04 14:02:17 +02:00
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
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