Commit graph

10209 commits

Author SHA1 Message Date
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
gambas
ef82508d31 Merge branch 'master' of gitlab.com:gambas/gambas 2022-01-12 17:09:55 +01:00
gambas
d10dccaccd Message: 'DefaultButton' is a new property that makes the first message dialog button the default one. It is TRUE by default to restore the last year behaviour.
[GB.GUI.BASE]
* NEW: Message: 'DefaultButton' is a new property that makes the first message dialog button the default one. It is TRUE by default to restore the last year behaviour.
2022-01-12 17:09:45 +01:00
Benoît Minisini
03dc3633de Disable 'gb.pdf' in archlinux. 2022-01-12 13:48:33 +00:00
gambas
4cd61da44e Fix Component.Version for libraries.
[INTERPRETER]
* BUG: Fix Component.Version for libraries.
2022-01-12 13:21:41 +01:00
gambas
e939b80cef Fix case problems in syntax analyze.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix case problems in syntax analyze.
2022-01-12 13:17:47 +01:00
gambas
879c024737 Remove the dependency on 'gb.image'.
[GB.EVAL.HIGHLIGHT]
* BUG: Remove the dependency on 'gb.image'.
2022-01-11 12:17:56 +01:00
gambas
f86aa0a8e5 Handle identifiers between curly braces correctly in symbol signatures.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle identifiers between curly braces correctly in symbol signatures.
2022-01-10 03:17:27 +01:00
gambas
d2d93aa553 Add 'DirBox.Title' property. Change the syntax of 'FileBox.Filter' property. Update 'FileBox' icon.
[GB.FORM]
* NEW: DirBox: Add a 'Title' property.
* NEW: FileBox: Make 'Filter' property use the same syntax as 'Dialog.Filter' property.
* NEW: FileBox: If the 'Filter' property is set, automatically select the first filter.
* NEW: Update FileBox icon.
2022-01-08 01:08:52 +01:00
Benoît Minisini
d8639d9a74 Merge branch 'FileBox' into 'master'
FileBox, new control for gb.form and add Path property to FileBox and DirBox

See merge request gambas/gambas!255
2022-01-07 22:42:38 +00:00
Bruce Steers
93afd49f7c New FileBox control. Add Path property to DirBox and FileBox.
[GB.FORM]
* NEW: Add FileBox control, supports open/save mode, filters, custom picture and placeholder.
* NEW: Add Path property to DirBox and FileBox as a synonym for Value and show it in the IDE.
2022-01-07 22:42:38 +00:00
gambas
e5f144706f Project tree: Fix item refresh when displaying all classes option is enabled.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix item refresh when displaying all classes option is enabled.
2022-01-07 23:30:59 +01:00
gambas
742b0b8094 Form editor: Do not raise an error when selecting a project control whose class does not exist anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Do not raise an error when selecting a project control whose class does not exist anymore.
2022-01-07 19:25:35 +01:00
gambas
4bab036916 Message: As ShowModal() finish mouse events, make message box reentrants.
[GB.GUI.BASE]
* BUG: Message: As ShowModal() finish mouse events, make message box reentrants.
2022-01-07 16:44:36 +01:00
gambas
f6ec7d7396 Update French translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
2022-01-07 13:35:19 +01:00
gambas
135e54e7ab A task does not close its standard outputs anymore when its 'Read' or 'Error' events are not handled.
[INTERPRETER]
* NEW: A task does not close its standard outputs anymore when its 'Read' or 'Error' events are not handled.
2022-01-07 12:41:34 +01:00
gambas
52c5823669 Fix compilation of 'share/gb_system_temp.h' on non-Linux/BSD systems.
[INTERPRETER]
* BUG: Fix compilation of 'share/gb_system_temp.h' on non-Linux/BSD systems.
2022-01-07 11:38:46 +01:00
gambas
bb1894d4cf Fix project tree when displaying form classes option is toggled.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix refresh of a single form class item.
* NEW: Project tree: Form class items use a smaller font.
* NEW: Project tree: Form class items are never displayed as startup class.
2022-01-07 00:29:17 +01:00
Benoît Minisini
875916c20d Merge branch 'ProjectTree_devl' into 'master'
gambas IDE show class-files of the forms in the project tree

See merge request gambas/gambas!254
2022-01-06 22:44:55 +00:00
dashboard68
c2de3a0ba0 Project tree: Show the class files associated with a form file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Show the class files associated with a form file.
2022-01-06 22:44:55 +00:00
gambas
3eebb6ebe7 Form editor: Ensure that the selection handles are always visible whatever the form background color.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Ensure that the selection handles are always visible whatever the form background color.
2022-01-06 15:33:30 +01:00
gambas
52c3a45680 Picture.Copy() keeps alpha component as expected.
[GB.QT4]
* BUG: Picture.Copy() keeps alpha component as expected.

[GB.QT5]
* BUG: Picture.Copy() keeps alpha component as expected.
2022-01-06 14:50:26 +01:00
gambas
b84e85b5b8 GridView: Use standard arrows to paint sort indicator. Do not use widget style anymore.
[GB.GUI.BASE]
* NEW: GridView: Use standard arrows to paint sort indicator. Do not use widget style anymore.
* NEW: TreeView: Tree arrows are a bit darker now.
* BUG: Paint.Arrow now takes the line width into account, so that stroking the arrow does not overflow the rectangle bounds.
2022-01-06 13:24:56 +01:00
gambas
50c96044e7 Fix drag & drop management.
[GB.GTK]
* BUG: Fix drag & drop management.

[GB.GTK3]
* BUG: Fix drag & drop management.
2022-01-05 20:30:13 +01:00
gambas
0ac5d3d44a Label: Use floating point text size to avoid possible text truncation.
[GB.GUI.BASE]
* NEW: Label: Use floating point text size to avoid possible text truncation.
2022-01-05 20:04:33 +01:00
gambas
4616f8237a Use floating point font metrics for computing text size everywhere.
[GB.QT4]
* BUG: Use floating point font metrics for computing text size everywhere.

[GB.QT5]
* BUG: Use floating point font metrics for computing text size everywhere.
2022-01-05 19:45:32 +01:00
gambas
8332f3b8d5 Use floating point font metrics for computing text size.
[GB.QT4]
* BUG: Use floating point font metrics for computing text size.

[GB.QT5]
* BUG: Use floating point font metrics for computing text size.
2022-01-05 19:33:19 +01:00
gambas
79fbe6c0a8 Fix tab focus management.
[GB.GTK]
* BUG: Fix tab focus management.

[GB.GTK3]
* BUG: Fix tab focus management.
2022-01-05 16:07:57 +01:00
gambas
184af48c18 Fix tab focus management and NoTabFocus property.
[GB.QT4]
* BUG: Fix tab focus management and NoTabFocus property.

[GB.QT5]
* BUG: Fix tab focus management and NoTabFocus property.
2022-01-05 16:07:13 +01:00
gambas
ef59714579 Fix compilation of 'gb.qt4'.
[GB.QT4]
* BUG: Fix compilation of 'gb.qt4'.
2022-01-05 01:56:16 +01:00
gambas
c8835ae99c Label: Try to take italic fonts into account in text alignement.
[GB.GUI.BASE]
* NEW: Label: Try to take italic fonts into account in text alignement.
* BUG: Label: Workaround a Qt bug where using Paint.TextExtents() on a bitmap font makes it unable to be drawn correctly.
2022-01-05 01:23:32 +01:00
gambas
8af26cb5f3 Implement all metrics in the custom paint device used for measuring text.
[GB.QT4]
* NEW: Do not use a copy of the font object when calling 'set_painter_font()' in 'cpaint_impl.cpp'.

[GB.QT5]
* NEW: Do not use a copy of the font object when calling 'set_painter_font()' in 'cpaint_impl.cpp'.
* NEW: Implement all metrics in the custom paint device used for measuring text.
2022-01-05 01:16:40 +01:00