Commit graph

9727 commits

Author SHA1 Message Date
Benoît Minisini
e99079913c Merge branch 'ScripterBackPortBugFixes' into 'master'
Updates to fix issues with --convert-project

See merge request gambas/gambas!248
2021-09-07 23:55:22 +00:00
gambas
9b9cd35a42 Report editor: Fix CoordBox control for GTK+3.
[DEVELOPMENT ENVIRONMENT]
* BUG: Report editor: Use Style.FrameWidth for the padding of CoordBox, so that the control is usable with GTK+3.
* BUG: Report editor: Fix drawing of CoordBox background.
2021-09-07 01:25:51 +02:00
gambas
6ec0f69060 WebButton: Implement the 'Default' and 'Cancel' buttons.
[GB.WEB.GUI]
* NEW: Preload framework images and icons.
* NEW: WebButton: Implement the 'Default' and 'Cancel' buttons. They work only in the main form and in modal dialogs.
* NEW: WebTree: Clicking twice toggles the item expanded state.
2021-09-07 01:04:12 +02:00
gambas
f2ed77263b Menu shortcuts are now taken into account even if they are defined in an embedded form.
[GB.WEB.GUI]
* BUG: Menu shortcuts are now taken into account even if they are defined in an embedded form.
*
2021-09-05 21:51:16 +02:00
gambas
425cd63b56 TextEditor: Correctly reset the Alternate flag before starting highlighting text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly reset the Alternate flag before starting highlighting text.
2021-09-05 17:54:20 +02:00
gambas
acc85e3268 WebTable: The 'ShowHeader' property is deprecated but works as expected now.
[GB.WEB.GUI]
* BUG: WebTable: The 'ShowHeader' property is deprecated but works as expected now.
*
2021-09-03 01:36:10 +02:00
gambas
b96b698066 Continue WebTree implementation. Replace 'ShowHeader' and 'ShowRowNumber' by a 'Header' property in WebTable.
[GB.WEB.GUI]
* NEW: WebTable: Replace the 'ShowHeader' and 'ShowRowNumber' properties by a 'Header' property.
* NEW: WebTable: Draw the vertical header the same way as the horizontal header, and make it sticky.
* NEW: WebTable: Replace the 'DblClick' event by the 'Activate' event.
* NEW: WebTree: Implement the 'Activate' event.
* BUG: WebTree: The "select all" checkbox now works as expected.
*
2021-09-03 01:33:37 +02:00
gambas
423b02fcd6 Don't use 'qApp->sync()', it calls the event loop.
[GB.QT5.X11]
* BUG: Don't use 'qApp->sync()', it calls the event loop.
2021-09-01 21:16:51 +02:00
gambas
f68e2fe668 'zlib' inflate function sometimes returns an incorrect error code that lead to a crash.
[GB.COMPRESS.ZLIB]
* BUG: 'zlib' inflate function sometimes returns an incorrect error code that lead to a crash.
2021-09-01 17:29:00 +02:00
gambas
4a5e740b58 WebTree: Initial implementation of a tree control. Not finished yet!
[GB.WEB.GUI]
* NEW: WebTree: Initial implementation of a tree control. Not finished yet!
* BUG: WebTable: Fix table layout.
* BUG: Ensure that the pipe for writing the response is in blocking mode.
2021-09-01 01:12:27 +02:00
gambas
6ae9c8f5cd Update German translation. Form editor: Make the property name column a bit larger.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation.
* NEW: Form editor: Make the property name column a bit larger.
2021-08-30 19:54:05 +02:00
gambas
0e207fbf57 WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
[GB.WEB.GUI]
* NEW: WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
2021-08-30 19:30:43 +02:00
gambas
2c2b7d565d Tooltip and link properties of the Color class are now writable. Fix 'Key.Backspace' property name.
[GB.GTK]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.GTK3]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.QT4]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.

[GB.QT5]
* NEW: Tooltip and link properties of the Color class are now writable. Override them if the default widget theme colors are unreadable.
* BUG: Fix 'Key.Backspace' property name.
2021-08-30 18:58:34 +02:00
gambas
6e5930ffab Form editor: Group property is now associated with a combo-box containing a list of already used group names.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Group property is now associated with a combo-box containing a list of already used group names.
2021-08-30 18:26:25 +02:00
gambas
c919632832 Support for absolute URLs in WebImage and WebAudio. Add WebAudio.Loop property.
[GB.WEB.GUI]
* NEW: WebImage: The Image property can be an absolute URL now.
* NEW: WebAudio: The Audio property can be an absolute URL now.
* NEW: WebAudio: Add a Loop property to make the sound automatically loop.
2021-08-30 17:48:52 +02:00
gambas
ddc985ce08 Use 'qApp->sync()' instead of 'X11_flush()' to synchronize with the X11 server.
[GB.QT5.X11]
* NEW: Use 'qApp->sync()' instead of 'X11_flush()' to synchronize with the X11 server.
2021-08-30 13:24:48 +02:00
gambas
00a58515b0 SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
[GB.FORM]
* BUG: SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
2021-08-30 02:09:30 +02:00
gambas
ea04ca6e6a Rollback the previous commit, it breaks too many things.
[INTERPRETER]
* BUG: Rollback the previous commit, it breaks too many things.
2021-08-30 02:05:38 +02:00
gambas
742b65afc7 Locked objects now can receive events. Beware, this a test, as that change is not backward-compatible!
[INTERPRETER]
* NEW: Locked objects now can receive events. Beware, this a test, as that change is not backward-compatible!
2021-08-30 02:02:18 +02:00
gambas
7d9c268505 DirBox: Correctly raise the Change event each time the contents actually changes.
[GB.FORM]
* BUG: DirBox: Correctly raise the Change event each time the contents actually changes.
2021-08-30 00:57:10 +02:00
gambas
8d1d8bdf53 DBusConnection: Open() and Close() now allow to explicitly register to a bus.
[GB.DBUS]
* NEW: DBusConnection: Open() is a new method that allows to explicitly register to a bus.
* NEW: DBusConnection: Close() is a new method that allows to explicitly unregister from a bus.
2021-08-30 00:08:59 +02:00
gambas
469c04769f Desktop.Passwords: Fix KDE support. Use the 'Desktop.Type' property.
[GB.DESKTOP]
* BUG: Desktop.Passwords: Fix KDE support.
* NEW: Use the 'Desktop.Type' property.
2021-08-29 00:12:28 +02:00
gambas
dc0d0ccbe2 Fix desktop detection. The GridView 'Change' event now can be stopped to cancel a cursor move.
[GB.GUI.BASE]
* BUG: Fix KDE desktop detection, and do not crash if no desktop is detected.
* NEW: GridView: The 'Change' event now can be stopped to cancel a cursor move.
2021-08-29 00:11:09 +02:00
gambas
8500e51a73 Form editor: Menu editor properties now apply to all selected items (except the name).
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Menu editor properties now apply to all selected items (except the name).
2021-08-29 00:02:51 +02:00
gambas
eb5b601622 WebControl: Rename the 'RenderToString' method as 'ToHTML'.
[GB.WEB.GUI]
* NEW: WebControl: Rename the 'RenderToString' method as 'ToHTML'.
2021-08-27 16:08:36 +02:00
gambas
f72649186b WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
[GB.WEB.GUI]
* NEW: WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
2021-08-27 16:07:49 +02:00
gambas
239acafdf5 WebTable: If the Display property is negative, then the full contents is displayed in one shot.
[GB.WEB.GUI]
* NEW: WebTable: If the Display property is negative, then the full contents is displayed in one shot.
2021-08-27 13:30:36 +02:00
gambas
072bd1cc77 All UTF-8 charsets variants are now returned as "utf8".
[GB.DB.MYSQL]
* BUG: All UTF-8 charsets variants are now returned as "utf8".
2021-08-27 13:08:22 +02:00
gambas
96ebc59161 Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
[GB.ARGS]
* NEW: Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
2021-08-27 13:07:41 +02:00
gambas
8849435381 Creating a numeric field with a default value works correctly now.
[GB.DB.MYSQL]
* BUG: Creating a numeric field with a default value works correctly now.
2021-08-26 13:31:19 +02:00
gambas
04d6ec0532 WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
[GB.WEB.GUI]
* BUG: Keyboard events work again.
* NEW: WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
2021-08-26 04:14:41 +02:00
gambas
a981bb3792 Menu shortcuts do not propagate to the browser.
[GB.WEB.GUI]
* NEW: Menu shortcuts do not propagate to the browser.
2021-08-26 02:09:43 +02:00
gambas
5b8ef31f96 Finish implementing keyboard event and menu shortcuts management.
[GB.WEB.GUI]
* NEW: Key.Code returns the name of the pressed key, while Key.Text now returns the text associated with the key if there is.
* NEW: Key.Shortcut returns the shortcut string associated with a keyboard event.
* BUG: Fix Key.Control property.
* NEW: Handle WebMenu.Shortcut property.
* BUG: Use 'keydown' DOM event instead of 'keypress', as 'keypress' is deprecated.
* NEW: Setting WebTextArea.Text now automatically moves the cursor and the scrollbar to the end of the text.
2021-08-25 02:50:26 +02:00
gambas
a89f827a39 Key.Shortcut is a new property that returns a string describing the key of a keyboard event with all its modifiers.
[GB.GTK]
* NEW: Key.Shortcut is a new property that returns a string describing the key of a keyboard event with all its modifiers.

[GB.GTK3]
* NEW: Key.Shortcut is a new property that returns a string describing the key of a keyboard event with all its modifiers.

[GB.QT4]
* NEW: Key.Shortcut is a new property that returns a string describing the key of a keyboard event with all its modifiers.

[GB.QT5]
* NEW: Key.Shortcut is a new property that returns a string describing the key of a keyboard event with all its modifiers.
2021-08-24 01:54:41 +02:00
gambas
d550cdb246 New release of Debian (2). 2021-08-21 02:55:58 +02:00
gambas
3511d3208b New release of Debian. 2021-08-21 01:38:11 +02:00
gambas
588e192a05 Realize the window widget before trying to center it, as we need the monitor it is displayed on.
[GB.GTK]
* BUG: Realize the window widget before trying to center it, as we need the monitor it is displayed on.

[GB.GTK3]
* BUG: Realize the window widget before trying to center it, as we need the monitor it is displayed on.
2021-08-21 01:02:17 +02:00
gambas
6ffcf98d76 Modal windows are now centered before being shown.
[GB.GTK]
* BUG: Modal windows are now centered before being shown.

[GB.GTK3]
* BUG: Modal windows are now centered before being shown.
2021-08-20 16:01:30 +02:00
gambas
f7cd9542c8 'Desktop.Type' property is now implemented in 'gb.gui.base'.
[GB.GTK]
* NEW: 'Desktop.Type' property is now implemented in 'gb.gui.base'.

[GB.GTK3]
* NEW: 'Desktop.Type' property is now implemented in 'gb.gui.base'.

[GB.QT4]
* NEW: 'Desktop.Type' property is now implemented in 'gb.gui.base'.

[GB.QT5]
* NEW: 'Desktop.Type' property is now implemented in 'gb.gui.base'.
2021-08-18 21:53:06 +02:00
gambas
89e28ef762 Fix some use of deprecated methods.
[GB.QT5]
* BUG: Fix some use of deprecated methods.
2021-08-18 21:51:44 +02:00
gambas
333985260e 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented in 'gb.gui.base'.
[GB.GUI.BASE]
* NEW: 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented here.
2021-08-18 21:49:58 +02:00
gambas
835884698e Message: Correctly define the message title for standard message box style.
[GB.GUI.BASE]
* BUG: Message: Correctly define the message title for standard message box style.
2021-08-18 12:11:42 +02:00
gambas
3e0eb272a3 Restore the end-of-file detection for buffered streams whose read ahead is allowed.
[INTERPRETER]
* BUG: Standard input does not use read ahead anymore in all cases.
* BUG: Restore the end-of-file detection for buffered streams whose read ahead is allowed.
2021-08-11 22:57:15 +02:00
gambas
7fddd745ff Fix mouse cursor management.
[GB.GTK]
* BUG: Fix mouse cursor management.

[GB.GTK3]
* BUG: Fix mouse cursor management.
2021-08-11 05:55:41 +02:00
gambas
a0579cb76e Splitter: Fix how the panels follow the mouse on resize.
[GB.GUI.BASE]
* BUG: Splitter: Fix how the panels follow the mouse on resize.
2021-08-11 05:52:47 +02:00
gambas
10c2829207 Now only standard input, output, error, pipes and process streams are automatically unwatched.
[INTERPRETER]
* BUG: Now only standard input, output, error, pipes and process streams are automatically unwatched.
2021-08-10 18:23:18 +02:00
gambas
3f5234be7e Read watches are not automatically disabled anymore for non-regular files.
[INTERPRETER]
* NEW: Read watches are not automatically disabled anymore for non-regular files.
2021-08-10 07:27:21 +02:00
Brian G
c136b4d4ea Updates to fix issues with --convert-project
[Scripter]
* BUG: Fix error when trailing / in project name Script end up with no BaseName
* NEW: Add some verbose output from conversion from project to script
2021-08-08 10:49:45 -07:00
gambas
ef6bda2873 Update 'xdg-utils' scripts to version 1.1.3+.
[GB.DESKTOP]
* NEW: Update 'xdg-utils' scripts to version 1.1.3+.
2021-08-08 17:20:02 +02:00
gambas
a2a04eebf2 Fix popup menu behaviour.
[GB.GTK]
* BUG: Make popup menu event behave the same way as in Qt components.
* BUG: Menu.Popup() now works correctly the opened menu is not defined in the window of the click event.

[GB.GTK3]
* BUG: Make popup menu event behave the same way as in Qt components.
* BUG: Menu.Popup() now works correctly the opened menu is not defined in the window of the click event.
2021-08-08 00:01:01 +02:00