Commit graph

8598 commits

Author SHA1 Message Date
gambas
38eefd7d21 Translation dialog: Importing a translation now correctly refreshes the translation view.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Importing a translation now correctly refreshes the translation view.
*
2020-11-24 21:37:43 +01:00
gambas
2b43657ab3 Fix keyboard event management for GTK+3, use standard colors by default, and draw matching braces differently.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not stop keyboard event if the key is not handled by the editor.
* NEW: TextEditor: Use the standard background and foreground colors by default.
* NEW: TextEditor: Draw the matching brace under the cursor with an underline.
2020-11-24 21:36:12 +01:00
gambix
52bb088242 Set the Visible propert of Reoport objects active 2020-11-24 12:25:31 +01:00
gambas
3906550902 Fix ComboBox and TextBox Border property, and possible problems with minimum size of buttons.
[GB.GTK3]
* BUG: Globally override minimum size of buttons in CSS stylesheet.
* BUG: Fix ComboBox and TextBox Border property.
2020-11-24 00:23:30 +01:00
gambas
f3b746bf97 DateChooser: ShowWeek is a new property that toggles the display of weeks.
[GB.FORM]
* BUG: MenuButton: Fix background color.
* NEW: DateChooser: ShowWeek is a new property that toggles the display of weeks.
2020-11-24 00:19:37 +01:00
gambas
77ba659c6c Add some Find() methods that allow to find the index of a specific row.
[GB.DB.FORM]
* NEW: DataSource: Find() is a new method that returns the index of the first row matching a specific SQL condition.
* NEW: DataSource: FindNext() is a new method that returns the index of the first row matching a specific SQL condition next to the current position.
* NEW: DataBrowser: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
* NEW: DataView: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
2020-11-23 21:30:35 +01:00
gambas
0caed621e3 No padding in borderless combobox.
[GB.GTK3]
* NEW: No padding in borderless combobox.
2020-11-23 21:26:42 +01:00
gambas
ae5da87640 Fixes in date/time management.
[INTERPRETER]
* BUG: Fix local date/time to string conversion.
* BUG: Fix computing of default date/time formats.
2020-11-23 04:31:17 +01:00
gambas
778feecff6 Use GTK+ internals to make ComboBox Border, Foreground and Background properties work as expected.
[GB.GTK3]
* BUG: Use GTK+ internals to make ComboBox Border, Foreground and Background properties work as expected.
2020-11-23 03:55:46 +01:00
gambas
215cd6f54a Fix default time formats.
[INTERPRETER]
* BUG: Fix default time formats.
2020-11-23 01:26:56 +01:00
gambas
96430759c6 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-22 19:44:02 +01:00
gambas
dd664de989 MenuButton: Fix its behaviour for GTK+3.
[GB.FORM]
* BUG: MenuButton: Fix draing for GTK+3.
* BUG: MenuButton: Fix hidden shortcut button for GTK+3.
2020-11-22 19:43:44 +01:00
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