Commit graph

10190 commits

Author SHA1 Message Date
gambas
117b3eac3f Fix WebButton image. Make WebButton and WebListBox actually focusable. Fix focus drawing.
[GB.WEB.GUI]
* NEW: Use blue inset box shadow for drawing focus.
* NEW: WebButton: Use <button> instead of <div>, to get focus and native keyboard management.
* BUG: WebButton: Stretch the image size to the button height.
* BUG: WebTextArea: Fix style sheet.
* NEW: WebListBox is focusable now.
2022-01-29 04:30:38 +01:00
gambas
3b8c1123a5 Label: Fix drawing horizontal fix for Qt.
[GB.GUI.BASE]
* BUG: Label: Fix drawing horizontal fix for Qt.
2022-01-29 03:04:03 +01:00
gambas
8662d2f5a9 DBusExplorer: Fix toolbar layout.
[EXAMPLES]
* BUG: DBusExplorer: Fix toolbar layout.
2022-01-29 01:41:48 +01:00
Benoît Minisini
e4dcb05c53 Merge branch 'DBusExplorerUpdate' into 'master'
Updated DBus Explorer to work with Latest XML returned by introspect call

See merge request gambas/gambas!257
2022-01-29 00:31:49 +00:00
Benoît Minisini
28f78f32c9 Merge branch 'bsteers4-master-patch-80603' into 'master'
Update WebTree.class, fix Class name hidden by local declaration: Key

See merge request gambas/gambas!258
2022-01-29 00:29:30 +00:00
Bruce Steers
b6069433fb Update WebTree.class, fix Class name hidden by local declaration: Key
[GB.WEB.GUI]
* BUG: fix Class name hidden by local declaration: Key


thought I'd save you the task.
2022-01-28 23:51:06 +00:00
gambas
68f3fdb939 WebButton image now always fill the button height. Fix WebContainer 'Row' and 'Column' arrangements.
[GB.WEB.GUI]
* BUG: WebButton: Image now always fill the button height.
* BUG: WebContainer: Do not change the 'display' CSS property of children controls when arrangement is 'Row' or 'Column'.
* BUG: If the 'huge' version of a stock icon does not exist, use the 'small' version instead.
2022-01-29 00:29:52 +01:00
gambas
47742d7f90 Correctly read floating point values in CSS.
[GB.FORM.HTMLVIEW]
* BUG: Correctly read floating point values in CSS.
* NEW: Only left mouse button is taken into account by the view when clicking on it. The other buttons are ignored by default.
2022-01-28 23:57:54 +01:00
gambas
742244fe34 Window: Do not raise the Hide event twice.
[GB.QT4]
* BUG: Window: Do not raise the Hide event twice.

[GB.QT5]
* BUG: Window: Do not raise the Hide event twice.
2022-01-28 23:49:53 +01:00
gambas
1308dc95ab Window: Fix the initial focus of a window when it is opened.
[GB.GTK]
* BUG: Window: Fix the initial focus of a window when it is opened.
* BUG: Window: Don't raise spurious Hide or Show events.

[GB.GTK3]
* BUG: Window: Fix the initial focus of a window when it is opened.
* BUG: Window: Don't raise spurious Hide or Show events.
2022-01-28 23:47:32 +01:00
gambas
f02eae69f9 WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
[GB.WEB.GUI]
* NEW: WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
  Image is not supported yet.
2022-01-28 00:50:22 +01:00
gambas
c77239b4ea Conflict editor: Fix text highlighting.
[DEVELOPMENT ENVIRONMENT]
* BUG: Conflict editor: Fix text highlighting.
2022-01-27 03:20:27 +01:00
gambas
7223f46933 DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.
[GB.QT4]
* OPT: DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.

[GB.QT5]
* OPT: DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.
2022-01-27 01:54:10 +01:00
gambas
8f0f5c765a DrawingArea: Reading the window handle now automatically assign a specific window to the control. Fix background color management.
[GB.GTK]
* BUG: DrawingArea: Background color is now correctly drawn in all cases.
* NEW: DrawingArea: Reading the window handle now automatically assign a specific window to the control.

[GB.GTK3]
* BUG: DrawingArea: Background color is now correctly drawn in all cases.
* NEW: DrawingArea: Reading the window handle now automatically assign a specific window to the control.
2022-01-27 01:53:59 +01:00
gambas
9465bf174b CsvFile: Ignore the useless BOM character put at the beginning of UTF-8 files generated by many stupid Windows softwares.
[GB.UTIL]
* BUG: CsvFile: Ignore the useless BOM character put at the beginning of UTF-8 files generated by many stupid Windows softwares.
2022-01-25 14:35:58 +01:00
gambas
2a20ae15bb Automatic formatting now only highlights modified lines.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic formatting now only highlights modified lines.
2022-01-25 02:03:33 +01:00
gambas
6bec4cb612 Update folder and some other icons.
[GB.FORM.STOCK]
* NEW: Update folder and some other icons.
2022-01-24 20:23:47 +01:00
gambas
0f58f04691 TextBox: Be more tolerant with minimum width.
[GB.GTK]
* NEW: TextBox: Be more tolerant with minimum width.

[GB.GTK3]
* NEW: TextBox: Be more tolerant with minimum width.
2022-01-24 03:11:01 +01:00
gambas
0c1c5c01e8 Automatic completion: Only ignore properties in when filling completion with class symbols.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Only ignore properties in when filling completion with class symbols.
2022-01-24 02:51:43 +01:00
gambas
e564088dae Disable 'gb.pdf' component in 'opensuse:tumbleweed'. 2022-01-23 21:34:25 +01:00
gambas
cc7b600dcb Fix recent changes on focus management.
[GB.QT4]
* BUG: Fix recent changes on focus management.

[GB.QT5]
* BUG: Fix recent changes on focus management.
2022-01-23 21:06:47 +01:00
gambas
6fa9fa4286 Make all GUI components behave the same when dealing with focus and modal or popup windows.
[GB.GTK]
* BUG: Make all GUI components behave the same when dealing with focus and modal or popup windows.

[GB.GTK3]
* BUG: Make all GUI components behave the same when dealing with focus and modal or popup windows.

[GB.QT4]
* BUG: Make all GUI components behave the same when dealing with focus and modal or popup windows.

[GB.QT5]
* BUG: Make all GUI components behave the same when dealing with focus and modal or popup windows.
2022-01-22 22:38:40 +01:00
gambas
bd1c80cd21 Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.MDI]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:36:28 +01:00
gambas
8353d9e01d Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.EDITOR]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:34:37 +01:00
gambas
2bb65a267e Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM.TERMINAL]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:34:15 +01:00
gambas
1a3fc6c556 Add 'text-list' and 'text-list-order' icons. Redraw some icons.
[GB.FORM.STOCK]
* NEW: Add 'text-list' and 'text-list-order' icons.
* NEW: Redraw some icons.
2022-01-22 16:33:21 +01:00
gambas
584acf871e Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.FORM]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
* NEW: Add 'text-list' and 'text-list-order' stock icons.
2022-01-22 16:32:02 +01:00
gambas
abba6f607f Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
[GB.GUI.BASE]
* NEW: Use the new 'Control.RightToLeft' property instead of the global 'System.RightToLeft' one.
2022-01-22 16:31:07 +01:00
gambas
13df084748 Text direction can now be specified at control level.
[GB.GTK]
* NEW: Control.Direction is a new property that allows to specify the text direction of the control.
* NEW: Control.RightToLeft is a new property that returns if a control is right-to-left oriented.

[GB.GTK3]
* NEW: Control.Direction is a new property that allows to specify the text direction of the control.
* NEW: Control.RightToLeft is a new property that returns if a control is right-to-left oriented.

[GB.QT4]
* NEW: Control.Direction is a new property that allows to specify the text direction of the control.
* NEW: Control.RightToLeft is a new property that returns if a control is right-to-left oriented.

[GB.QT5]
* NEW: Control.Direction is a new property that allows to specify the text direction of the control.
* NEW: Control.RightToLeft is a new property that returns if a control is right-to-left oriented.
2022-01-22 16:27:17 +01:00
gambas
788ecfacda Connection editor: Do not crash anymore when saving the table fails.
[DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Do not crash anymore when saving the table fails.
2022-01-21 11:08:03 +01:00
gambas
c7c8774f5b Handle 'a{o...}' and 'a{g...}' D-Bus signatures by using Collections.
[GB.DBUS]
* NEW: Handle 'a{o...}' and 'a{g...}' D-Bus signatures by using Collections.
2022-01-17 01:02:50 +01:00
Brian G
7837c73756 Merge branch 'DBusExplorerUpdate' of https://gitlab.com/justlostintime/gambas into DBusExplorerUpdate 2022-01-15 14:53:37 -08:00
Brian G
63ea861f9e Updated DBusExplorer to work with Latest XML returned by introspectcall
[DbusExplorer]
* BUG  Fixed bug in how the XML introspect file was handled, look for key 'name' now
* NEW  Display the property name with type returned or set, and read/write access type
* NEW  Display Signal information in a more clear format
2022-01-15 14:48:44 -08:00
Brian G
1007bfaa62 Updated Scripter to work with Latest XML returned by introspectcall
[DbusExplorer]
* BUG  Fixed bug in how the XML introspect file was handled, look for key 'name' now
* NEW  Display the property name with type returned or set, and read/write access type
* NEW  Display Signal information in a more clear format
2022-01-15 14:38:39 -08:00
gambas
683465e7a8 Connections to the D-Bus buses are correctly freed when the program ends.
[GB.DBUS]
* BUG: Connections to the D-Bus buses are correctly freed when the program ends.
2022-01-15 23:33:02 +01:00
gambas
fc49ac6148 Forgot to commit a file. 2022-01-14 22:02:29 +01:00
gambas
0b6a6f4c01 SidePanel: AutoHide is a new property that let the side panel automatically hide on mouse leave and show on mouse enter.
[GB.FORM]
* NEW: ButtonBox: Make the filter timer be ignored at program end.
* NEW: SidePanel: AutoHide is a new property that let the side panel automatically hide on mouse leave and show on mouse enter.
* NEW: FontChooser: Double-click now opens a font tree item only if the 'Activate' event is not handled.
2022-01-14 22:01:13 +01:00
gambas
91ee663546 Make some long timers be ignored at program exit.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make some long timers be ignored at program exit.
2022-01-14 21:57:30 +01:00
gambas
f7cf3b6764 TextEditor: Make the long clear line cache timer be ignored at program end.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the long clear line cache timer be ignored at program end.
2022-01-14 21:56:52 +01:00
gambas
d7c05a9069 The status bar message timer is now ignored when quitting the application.
[DEVELOPMENT ENVIRONMENT]
* NEW: The status bar message timer is now ignored when quitting the application.
* NEW: Form editor: The property name is now always displayed in bold when it does not have its default value.
2022-01-14 21:34:37 +01:00
gambas
05f9f95c1a 'Timer.Ignore' is a new property that tells the interpreter not to wait for the timer's end when exiting.
[INTERPRETER]
* NEW: 'Timer.Ignore' is a new property that tells the interpreter not to
  wait for the timer's end when exiting.
2022-01-14 21:29:55 +01:00
gambas
0b3d48b698 Check if the event loop must be stopped each time a timer is disabled.
[GB.GTK]
* BUG: Check if the event loop must be stopped each time a timer is disabled.

[GB.GTK3]
* BUG: Check if the event loop must be stopped each time a timer is disabled.

[GB.QT4]
* BUG: Check if the event loop must be stopped each time a timer is disabled.

[GB.QT5]
* BUG: Check if the event loop must be stopped each time a timer is disabled.
2022-01-14 19:17:09 +01:00
gambas
8ae88c2d04 Automatically disable timers when raising the 'Timer' event is impossible because the parent object is invalid.
[INTERPRETER]
* BUG: Automatically disable timers when raising the 'Timer' event is impossible because the parent object is invalid.
2022-01-14 19:16:11 +01:00
gambas
4ba0b9ad3c Don't quit if there is still one active timer.
[GB.GTK]
* NEW: Don't quit if there is still one active timer.

[GB.GTK3]
* NEW: Don't quit if there is still one active timer.

[GB.QT4]
* NEW: Don't quit if there is still one active timer.

[GB.QT5]
* NEW: Don't quit if there is still one active timer.
2022-01-14 12:34:40 +01:00
gambas
1cc4d42742 Add an API that returns if there is at least one active timer.
[INTERPRETER]
* NEW: Add an API that returns if there is at least one active timer.
2022-01-14 12:34:02 +01:00
gambas
a8619a6177 Fix compilation of 'gb.gtk'.
[GB.GTK]
* BUG: Fix compilation of 'gb.gtk'.
2022-01-14 04:41:13 +01:00
gambas
403ab00283 Fix font dependency of global application font.
[GB.GTK3]
* BUG: Fix font dependency of global application font.
2022-01-14 04:17:42 +01:00
gambas
d29ccc5951 Fix font dependency of global application font.
[GB.GTK]
* BUG: Fix font dependency of global application font.

[GB.GTK3]
* BUG: Fix font dependency of global application font.
2022-01-14 04:17:02 +01:00
gambas
3752a6acba 'Env.Copy()' is a new method that returns a copy of the environment as a string array.
[INTERPRETER]
* NEW: 'Args.Copy()' is a new method that is a synonymous of 'Args.All'.
* NEW: 'Env.Copy()' is a new method that returns a copy of the environment as a string array.
2022-01-12 22:13:02 +01:00
gambas
1a01cf7e57 Project tree: Setting the startup class does not crash anymore when forms class files are visible.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Setting the startup class does not crash anymore when forms class files are visible.
2022-01-12 22:02:04 +01:00