Commit graph

8563 commits

Author SHA1 Message Date
gambas
62c9205762 Rework the way standard date formats are built from strftime().
[INTERPRETER]
* NEW: Rework the way standard date formats are built from strftime().
* NEW: System.GetFormat() is a new method that returns the format string associated by a predefined format constant.
2020-11-26 03:49:45 +01:00
gambas
03c5e93c7d Default and cancel buttons now work again.
[GB.GTK]
* BUG: Default and cancel buttons now work again.

[GB.GTK3]
* BUG: Default and cancel buttons now work again.
2020-11-24 21:57:57 +01:00
gambas
5a46d0ac4a Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-24 21:54:43 +01:00
gambas
314486fe90 Fix index sorting and use 'gb.qt5' information file for all GUI components now.
[WIKI CGI SCRIPT]
* BUG: Fix index sorting.
* BUG: Use 'gb.qt5' information file for all GUI components now.
2020-11-24 21:52:36 +01:00
gambas
5a5e468866 Message: Rework the message box. Copying the message is now done through a popup menu.
[GB.GUI.BASE]
* NEW: Message: Rework the message box. Copying the message is now done through a popup menu.
* OPT: ScrollArea: Remove some useless lines in scrollbar management.
2020-11-24 21:50:24 +01:00
gambas
27afeb5904 Remove the undefinition of PACKAGE_* constants. It is now handled directly in 'gambas.h'.
[GB.DB.POSTGRESQL]
* NEW: Remove the undefinition of PACKAGE_* constants. It is now handled directly in 'gambas.h'.
2020-11-24 21:48:43 +01:00
gambas
48f84df846 DBusConnection: Validate the path sent to the _Introspect() method, to replace a crash by an error or a void result.
[GB.DBUS]
* BUG: DBusConnection: Validate the path sent to the _Introspect() method, to replace a crash by an error or a void result.
2020-11-24 21:47:29 +01:00
gambas
1bf591abe6 Fix some debugging messages.
[GB.QT4]
* NEW: Fix some debugging messages.

[GB.QT5]
* NEW: Fix some debugging messages.
2020-11-24 21:46:23 +01:00
gambas
0c3c62f7d5 Fix a local variable datatype.
[INTERPRETER]
* BUG: Fix a local variable datatype.
2020-11-24 21:45:38 +01:00
gambas
8c4f6d8a84 Fix a warning message.
[INFORMER]
* BUG: Fix a warning message.
2020-11-24 21:45:17 +01:00
gambas
84cbc39b9c Correctly uninstall interpreter metadata files.
[CONFIGURATION]
* BUG: Correctly uninstall interpreter metadata files.
2020-11-24 21:44:37 +01:00
gambas
9b3d7b4f17 Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined.
[INTERPRETER]
* BUG: Undef PACKAGE_* preprocessor constants from 'gambas.h', if they are defined.
2020-11-24 21:43:10 +01:00
gambas
fd478d91b9 SQLRequest: Do not quote "*" field name in Select() method.
[GB.DB]
* NEW: SQLRequest: Do not quote "*" field name in Select() method.
2020-11-24 21:42:02 +01:00
gambas
d7dbc4ee58 Remove now useless source file symbolic links.
[GB.GTK3]
* BUG: Remove now useless source file symbolic links.
2020-11-24 21:39:58 +01:00
gambas
9c3fc87265 Keyboard management fixes.
[GB.GTK]
* BUG: Fix management of default and cancel buttons shortcuts.
* BUG: Workaround the default accelerator management of GTK, so that they are triggered only if no other widget handle the keyboard event.

[GB.GTK3]
* BUG: Fix management of default and cancel buttons shortcuts.
* BUG: Workaround the default accelerator management of GTK, so that they are triggered only if no other widget handle the keyboard event.
2020-11-24 21:37:55 +01:00
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