Commit graph

10101 commits

Author SHA1 Message Date
gambas
44bf72261c 'Process.Expect' prompts are now automatically disabled after detection by default. Set the new 'Keep' argument to prevent that.
[GB.UTIL]
* OPT: Process: Automatically disable internal observers there is no prompt
  to watch anymore.
* NEW: Process: The Expect() method now takes a third optional argument
  that tells if a detected prompt must be kept, or must be disabled
  automatically. Prompts are automatically disabled by default
2022-02-01 03:07:20 +01:00
gambas
c1c14d0f8a Avoid race conditions with actual reads, when we need to PEEK all the bytes of a stream.
[INTERPRETER]
* BUG: If some data have been peeked on a stream, then the next reads will
  only return the peeked data until they all have been exhausted, and the
  Lof() function will return the number of peeked bytes yet to read.
2022-02-01 02:37:09 +01:00
gambas
691144bba9 Observer.Detach() is a new method that disconnects the observer from the observed object.
[INTERPRETER]
* NEW: Observer.Detach() is a new method that disconnects the observer from the observed object.
2022-02-01 02:05:19 +01:00
gambas
2a90e5f081 Fix a warning message.
[GB.DEBUG]
* BUG: Fix a warning message.
2022-02-01 01:22:02 +01:00
gambas
c26d257e9e Fix a possible crash in the child process termination handler.
[INTERPRETER]
* BUG: Fix a possible crash in the child process termination handler.
2022-02-01 01:21:13 +01:00
gambas
1a05e73d1a Fix management of text direction at control level.
[GB.GTK]
* BUG: Fix management of text direction at control level.

[GB.GTK3]
* BUG: Fix management of text direction at control level.
2022-01-31 00:25:04 +01:00
gambas
c980c57737 Update financial support file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support file.
2022-01-30 17:58:47 +01:00
gambas
47208e1da2 Fix focus management when a control is hidden.
[GB.GTK]
* BUG: Fix focus management when a control is hidden.

[GB.GTK3]
* BUG: Fix focus management when a control is hidden.
2022-01-29 22:58:27 +01:00
gambas
f75b23a834 The NEW operator now raises an error if the class following it is unknown.
[COMPILER]
* BUG: The NEW operator now raises an error if the class following it is unknown.
2022-01-29 18:46:36 +01:00
gambas
cf5b75870f If a WebControl raises a DOM 'click' event, then it automatically stops the propagation of the DOM 'mousedown' event.
[GB.WEB.GUI]
* NEW: I prefer WebTree and WebTable use a distinct class for their 'Data' event.
* BUG: If a WebControl raises a DOM 'click' event, then it automatically stops the propagation of the DOM 'mousedown' event.
2022-01-29 18:42:43 +01:00
gambas
9b77a5622b Allow to embed a control is a WebTable or a WebTree cell through the 'Data' event.
[GB.WEB.GUI]
* NEW: WebTree and WebTable now use a common WebCellData class for their 'Data' event.
* NEW: WebCellData.Control allows to define a control that will be embedded in the cell.
* NEW: WebTable now raises a 'Click' event if a control that is embedded in a cell raises a 'Click' event. It takes the row and the column as argument.
* NEW: WebTree now raises a similar 'Click' event, but it takes the key and the column as argument.
2022-01-29 18:02:52 +01:00
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