Commit graph

8636 commits

Author SHA1 Message Date
gambix
9ea6651638 Remove autoreload on removing shape object and force reload on Refresh function.
[GB.MAP]
* NEW: _MapShape: Remove reloading when removing a shape object.
* NEW: Map: Force Layers reloading when function Refresh is called.
2020-11-22 10:27:45 +01:00
gambix
c2eec706a1 [GB.MAP] 2020-11-22 10:21:31 +01:00
gambas
6b26a77adb Rework and simplify internal date/time formatting routine.
[INTERPRETER]
* NEW: Rework and simplify internal date/time formatting routine.
2020-11-22 01:20:47 +01:00
gambas
6e26b524e5 Fix Container.FindChild(), theme change management, and Menu.Popup() warnings on GTK+3.
[GB.GTK]
* BUG: Container.FindChild() now takes UserContainer into account.
* BUG: A few fixes on theme change management.

[GB.GTK3]
* BUG: Menu.Popup() does not print GTK+ warnings anymore when run outside of an event handler.
* BUG: A few fixes on theme change management.
2020-11-19 15:57:25 +01:00
gambas
bdf18360f1 Fix compilation.
[GB.QT4.WEBVIEW]
* BUG: Fix compilation.
2020-11-19 11:38:27 +01:00
gambas
4d47240a73 WebView.Clear() should not make the view crash anymore.
[GB.QT4.WEBVIEW]
* BUG: WebView.Clear() should not make the view crash anymore.
2020-11-18 23:12:40 +01:00
gambas
c63e711684 WebView.Clear() should not make the view crash anymore.
[GB.QT5.WEBVIEW]
* BUG: WebView.Clear() should not make the view crash anymore.
2020-11-18 23:10:36 +01:00
gambas
38eabb2a3a DateChooser: Handle mouse wheel events on time boxes better.
[GB.FORM]
* NEW: DateChooser: Handle mouse wheel events on time boxes better.
2020-11-18 21:59:08 +01:00
gambas
306b1561ec DateBox: Chinese language should be correclt supported now.
[GB.FORM]
* BUG: DateBox: Chinese language should be correclt supported now.
2020-11-18 21:44:08 +01:00
gambas
941149e3fa Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-18 21:08:12 +01:00
gambas
f7e806c9bf Update Chinese translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Chinese translation.

[WIKI CGI SCRIPT]
* NEW: Update Chinese translation.

[PROJECT TEMPLATES]
* NEW: Update Chinese translation.

[GB.DB.FORM]
* NEW: Update Chinese translation.

[GB.FORM.DIALOG]
* NEW: Update Chinese translation.

[GB.FORM.MDI]
* NEW: Update Chinese translation.

[GB.FORM.PRINT]
* NEW: Update Chinese translation.

[GB.FORM]
* NEW: Update Chinese translation.

[GB.GUI.BASE]
* NEW: Update Chinese translation.

[GB.REPORT2]
* NEW: Update Chinese translation.

[GB.TERM.FORM]
* NEW: Update Chinese translation.

[GB.UTIL]
* NEW: Update Chinese translation.

[GB.WEB.FEED]
* NEW: Update Chinese translation.

[GB.WEB.FORM]
* NEW: Update Chinese translation.

[GB.WEB.GUI]
* NEW: Update Chinese translation.
2020-11-18 21:07:53 +01:00
gambas
dd03fd0b31 Some fixes to the string to date conversion routine for unicode separators.
[INTERPRETER]
* BUG: Some fixes to the string to date conversion routine for unicode separators.
2020-11-18 21:00:43 +01:00
gambas
589c29ccfa TerminalView: Paste UTF-8 into terminal.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Paste UTF-8 into terminal.
* NEW: Update Chinese translation.
2020-11-18 19:55:34 +01:00
Benoît Minisini
0c729dfd8a Update .gitlab-ci.yml 2020-11-18 03:10:50 +00:00
gambas
c1222b902c Fix date formatting with unicode date separators.
[INTERPRETER]
* BUG: Fix date formatting with unicode date separators.
2020-11-18 03:36:37 +01:00
gambas
bdd1b9e5ad Some fixes in date format management.
[INTERPRETER]
* BUG: Fix separator tail detection in date formats.
* BUG: Do not print two identical successive date separators.
2020-11-18 02:48:37 +01:00
gambas
3352bb6d9d Fixes in menu management and focus navigation.
[GB.GTK]
* BUG: Fix menu layouting routine.
* BUG: Focus navigation now ignore unmapped controls.
* BUG: Window.Resize() now works on non-resizable windows.
* BUG: Menu Click event is now delayed, like in Qt components.

[GB.GTK3]
* BUG: Fix menu layouting routine.
* BUG: Focus navigation now ignore unmapped controls.
* BUG: Menu Click event is now delayed, like in Qt components.
2020-11-17 16:44:02 +01:00
gambas
5c92dbd30f Remove deprecated Stock class.
[GB.GTK]
* BUG: Remove deprecated Stock class.

[GB.GTK3]
* BUG: Remove deprecated Stock class.
2020-11-17 09:32:53 +01:00
gambas
390c08078d Remove a debugging message.
[GB.GTK3.WEBVIEW]
* BUG: Remove a debugging message.
2020-11-17 09:32:34 +01:00
gambas
f25d7b517b Date format with distinct separators and tail separators (like the Chinese date format) are now correctly supported.
[INTERPRETER]
* BUG: Date format with distinct separators and tail separators (like the Chinese date format) are now correctly supported.
2020-11-17 03:33:50 +01:00
gambas
2a849671a5 Fix compilation on GTK+3 version < 3.12.
[GB.GTK3]
* BUG: Fix compilation on GTK+3 version < 3.12.
2020-11-16 22:40:45 +01:00
gambas
71190a534e Fix detection of system colors and react to widget theme change.
[GB.GTK]
* NEW: React to widget theme change.

[GB.GTK3]
* BUG: Fix detection of system colors.
* NEW: React to widget theme change.
2020-11-16 22:02:13 +01:00
gambas
45cfc32a24 Setting the ComboBox.Index property to -1 does not raise the Click event anymore.
[GB.GTK]
* BUG: Setting the ComboBox.Index property to -1 does not raise the Click event anymore.

[GB.GTK3]
* BUG: Setting the ComboBox.Index property to -1 does not raise the Click event anymore.
2020-11-16 01:20:59 +01:00
gambas
b2a55d6bc1 Fix TabStrip Design property behaviour.
[GB.GTK]
* BUG: Fix TabStrip Design property behaviour.

[GB.GTK3]
* BUG: Fix TabStrip Design property behaviour.

[GB.QT4]
* BUG: Fix TabStrip Design property behaviour.

[GB.QT5]
* BUG: Fix TabStrip Design property behaviour.
2020-11-15 23:27:08 +01:00
gambas
2bf1b860bb Add actions to the Gambas IDE desktop file to run it with a specific GUI component.
[CONFIGURATION]
* NEW: Add actions to the Gambas IDE desktop file to run it with a specific GUI component.
2020-11-15 18:12:19 +01:00
gambas
faa5f659c3 Handling the Menu event does not prevent the native menus of TextBox and TextArea to popup anymore.
[GB.GTK]
* BUG: Handling the Menu event does not prevent the native menus of TextBox and TextArea to popup anymore.

[GB.GTK3]
* BUG: Handling the Menu event does not prevent the native menus of TextBox and TextArea to popup anymore.
2020-11-14 22:53:50 +01:00
gambas
4fb647d258 Fix explicit destroying of non-persistent windows.
[GB.GTK]
* BUG: Fix explicit destroying of non-persistent windows.

[GB.GTK3]
* BUG: Fix explicit destroying of non-persistent windows.
2020-11-14 17:17:36 +01:00
gambas
5b48b7763a Deleting a window now raises the Close event immediately, like in Qt components.
[GB.GTK]
* BUG: Deleting a window now raises the Close event immediately, like in Qt components.

[GB.GTK3]
* BUG: Deleting a window now raises the Close event immediately, like in Qt components.
2020-11-14 16:20:20 +01:00
gambas
b36254ee7e Add icon association for 'font-x-generic' mime type.
[GB.FORM.STOCK]
* NEW: Add icon association for 'font-x-generic' mime type.
2020-11-14 04:01:19 +01:00
gambas
35248d5e23 Project property dialog: Going back in the component help browser does not raise an error anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Layout the loading spinner later to be kind with GTK+.
* BUG: Project property dialog: Going back in the component help browser does not raise an error anymore.
* NEw: Use the new WebView.Clear method to resets the view, as clearing the history does not really work.
*
2020-11-14 03:59:55 +01:00
gambas
0456b0ba41 ButtonBox: Draw the default background color correctly.
[GB.FORM]
* BUG: ButtonBox: Draw the default background color correctly.
2020-11-14 03:56:48 +01:00
gambas
7eeb639f47 WebView.Clear() is a new method that resets the view.
[GB.GTK3.WEBVIEW]
* NEW: WebView: Clear() is a new method that resets the view.
* NEW: WebView: Cancelling the NewView event has the same effect as setting the NewView property to NULL.
2020-11-14 03:51:48 +01:00
gambas
429e373c91 WebView.Clear() is a new method that resets the view.
[GB.QT4.WEBVIEW]
* NEW: WebView: Clear() is a new method that resets the view.
2020-11-14 03:51:39 +01:00
gambas
4e1b6921d9 WebView.Clear() is a new method that resets the view.
[GB.QT5.WEBVIEW]
* NEW: WebView: Clear() is a new method that resets the view.
* BUG: WebView: The Link property is now available during Finish and Error events.
* NEW: WebView: Cancelling the NewView event has the same effect as setting the NewView property to NULL.
2020-11-14 03:46:03 +01:00
gambas
677e1086ef Many fixes and clean-ups.
[GB.GTK]
* BUG: Setting the ComboBox.List property does not raise the Click event anymore, like in Qt components.
* BUG: Watcher objects now correctly follow controls that recreate their inner widget.
* NEW: Controls initial geometry is now the same as in Qt components.

[GB.GTK3]
* BUG: Setting the ComboBox.List property does not raise the Click event anymore, like in Qt components.
* BUG: Watcher objects now correctly follow controls that recreate their inner widget.
* NEW: Controls initial geometry is now the same as in Qt components.
2020-11-14 03:42:52 +01:00
gambas
3ad3e9a42d Errors cannot be propagated outside of an event handler.
[INTERPRETER]
* NEW: GB.IsLocked() is a new API that tells if an object is locked.
* NEW: GB.IsRaiseLocked() is a new API that tells if raising an event is useless because no observer will receive it.
* BUG: Errors cannot be propagated outside of an event handler, because the event may result from a library signal that do not support exceptions (like the glib library).
2020-11-14 03:33:12 +01:00
gambas
ab7f329f12 Fix crash when clicking on a top-level menu.
[GB.GTK]
* BUG: Fix crash when clicking on a top-level menu.

[GB.GTK3]
* BUG: Fix crash when clicking on a top-level menu.
2020-11-13 18:32:13 +01:00
gambas
1cd8bd9035 Rework Design property management so that it works better.
[GB.GTK]
* NEW: Rework Design property management so that it works better.
* OPT: Cache font metrics to speed up some font properties.

[GB.GTK3]
* NEW: Rework Design property management so that it works better.
* OPT: Cache font metrics to speed up some font properties.

[GB.QT4]
* NEW: Rework Design property management so that it works better.

[GB.QT5]
* NEW: Rework Design property management so that it works better.
2020-11-12 19:58:51 +01:00
gambas
bc2b594680 Remove debugging messages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Remove debugging messages.
2020-11-11 04:48:35 +01:00
gambas
82cea0a2b2 The UNSAFE keyword is now correctly taken into account in function detection.
[DEVELOPMENT ENVIRONMENT]
* BUG: The UNSAFE keyword is now correctly taken into account in function detection.
2020-11-11 03:35:37 +01:00
gambas
2ca5bdd574 The debugger now correctly saves and prints the current error message.
[INTERPRETER]
* NEW: Add a debug API that returns the current error message, and remove the API that printed it.

[GB.DEBUG]
* BUG: The debugger now correctly saves and prints the current error message.
2020-11-11 03:32:03 +01:00
gambas
c4a6164f96 Disabled state is now correctly taken into account by style drawing methods.
[GB.QT4]
* BUG: Disabled state is now correctly taken into account by style drawing methods.

[GB.QT5]
* BUG: Disabled state is now correctly taken into account by style drawing methods.
2020-11-11 02:03:10 +01:00
gambas
2a2780c95b Some little workarounds for GTK+ components.
[GB.FORM]
* BUG: MenuButton: Fix hidden shortcut button for GTK+ components.
* BUG: DirButton: Take the Design property into account.
* BUG: Wizard: Unset the AutoResize property on wizard title label, it breaks with GTK+ components.
2020-11-11 00:27:55 +01:00
gambas
c2ffd3c7b9 TextArea now have no minimum size if they have no scrollbars. Icons of disabled menus are now desaturated.
[GB.GTK]
* BUG: TextArea now have no minimum size if they have no scrollbars.
* BUG: Icons of disabled menus are now desaturated.

[GB.GTK3]
* BUG: TextArea now have no minimum size if they have no scrollbars.
* BUG: Icons of disabled menus are now desaturated.
2020-11-11 00:21:54 +01:00
gambas
a335ad9895 Enhance project info box behaviour.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project info box is now automatically reloaded if the project configuration file has changed.
* NEW: Project info box now correctly displays the current branch besides the version number.
* NEW: Update Gambas fonts.
2020-11-10 09:52:51 +01:00
gambas
9256c5d1af Don't call a 'gb.gtk3' method.
[GB.GTK]
* BUG: Don't call a 'gb.gtk3' method.
2020-11-10 02:06:11 +01:00
gambas
1c478df760 Fix spurious resizing of embedded windows having menus.
[GB.GTK]
* BUG: Fix spurious resizing of embedded windows having menus.

[GB.GTK3]
* BUG: Fix spurious resizing of embedded windows having menus.
2020-11-09 20:46:12 +01:00
gambas
c732871271 Workaround for Pango not being able to display the Gambas font correctly. Fix Control.Reparent()
[GB.GTK]
* BUG: Control.Reparent() now correctly restores the control position in all cases.

[GB.GTK3]
* BUG: Implement a workaround for Pango not being able to display the Gambas font correctly.
* BUG: Control.Reparent() now correctly restores the control position in all cases.
2020-11-09 20:12:15 +01:00
gambas
cb531a5b21 Add 'gb.Input' and 'gb.Output' constants.
[INTERPRETER]
* NEW: Add 'gb.Input' and 'gb.Output' constants.
2020-11-09 17:41:27 +01:00
gambas
4861c3a2d3 SerialPort: The Close() method now takes the buffer to clear as an optional argument.
[GB.NET]
* NEW: SerialPort: The Close() method now takes the buffer to clear as an optional argument. Use 'gb.Read' for the input buffer and 'gb.Write' for the output buffer.
2020-11-09 17:39:27 +01:00