Commit graph

10290 commits

Author SHA1 Message Date
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
gambas
4be0f59eed Help browser: Try to put more accurate search results first.
[DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Try to put more accurate search results first.
2022-01-04 17:12:00 +01:00
gambas
0fccd1d5ee Setting Application.Busy now displays the busy cursor correctly again.
[GB.GTK]
* BUG: Setting Application.Busy now displays the busy cursor correctly again.

[GB.GTK3]
* BUG: Setting Application.Busy now displays the busy cursor correctly again.
2022-01-04 16:09:29 +01:00
gambas
d10aa23ffb Remove debugging message.
[GB.GTK]
* BUG: Remove debugging message.

[GB.GTK3]
* BUG: Remove debugging message.
2022-01-04 15:53:11 +01:00
gambas
06d751bb0b Do nothing when setting a control font with the same font. Finish removing dynamic event callbacks.
[GB.GTK]
* OPT: Replace all dynamic event callback functions (one by object) by unique global functions.
* BUG: Do nothing when setting a control font with the same font.

[GB.GTK3]
* OPT: Replace all dynamic event callback functions (one by object) by unique global functions.
* BUG: Do nothing when setting a control font with the same font.
2022-01-04 13:11:48 +01:00
gambas
3ac63996b1 DrawingArea: Keep the Focus property when the internal widget is recreated.
[GB.GTK]
* BUG: DrawingArea: Keep the Focus property when the internal widget is recreated.

[GB.GTK3]
* BUG: DrawingArea: Keep the Focus property when the internal widget is recreated.
2022-01-03 14:00:56 +01:00
gambas
c4490cbf14 MenuButton: Fix a possible "Invalid object" error when a MenuButton is destroyed during its Click event.
[GB.FORM]
* BUG: MenuButton: Fix a possible "Invalid object" error when a MenuButton is destroyed during its Click event.

* NEW: More icons for Gambas icon theme.
2022-01-02 17:24:35 +01:00
gambas
13f4b8a547 Make executable dialog: Do not increment the release number twice in some cases.
[DEVELOPMENT ENVIRONMENT]
* BUG: Make executable dialog: Do not increment the release number twice in some cases.
2022-01-02 16:26:37 +01:00
gambas
67d760db17 Fix a crash on focus management. Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.
[GB.GTK]
* BUG: Embedding a top-level window by reparenting now correctly removes it from the list of top-level windows.
* BUG: Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.
* BUG: Do not crash if a window has no explicit focus and no focusable child control.
* OPT: Start to replace dynamic event callback functions (one by object) by unique global functions.

[GB.GTK3]
* BUG: Embedding a top-level window by reparenting now correctly removes it from the list of top-level windows.
* BUG: Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.
* BUG: Do not crash if a window has no explicit focus and no focusable child control.
* OPT: Start to replace dynamic event callback functions (one by object) by unique global functions.
2022-01-01 16:21:47 +01:00
gambas
c14f65b838 Help browser: Offline help browser now goes back in history with the right mouse button or the menu key.
[DEVELOPMENT ENVIRONMENT]
* NEW: Help browser: Offline help browser now goes back in history with the right mouse button or the menu key.
2022-01-01 11:09:20 +01:00
gambas
810a619c06 Debugger: Fix breakpoint management.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Removing a breakpoint is always possible.
* BUG: Debugger: Incorrect breakpoints (on commented or void lines) are removed when the debugger starts only.
2021-12-30 14:21:15 +01:00
gambas
2cbfa19117 Fix window initial focus management.
[GB.GTK3]
* BUG: Fix window initial focus management.
2021-12-30 02:15:43 +01:00
gambas
2707e0061d TextEditor: Do not clip lines whose width is larger than 32767 pixels.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not clip lines whose width is larger than 32767 pixels.
2021-12-29 18:33:44 +01:00
gambas
418486f68c Fix accelerator management workaround.
[GB.GTK]
* BUG: Fix accelerator management workaround.

[GB.GTK3]
* BUG: Fix accelerator management workaround.
2021-12-29 18:14:49 +01:00
gambas
4dd2518bb0 Version control: Really do not crash anymore when the current branch name is null.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Really do not crash anymore when the current branch name is null.
2021-12-23 01:07:37 +01:00
gambas
172f9da174 Update some commented debugging messages.
[GB.QT4]
* NEW: Update some commented debugging messages.

[GB.QT5]
* NEW: Update some commented debugging messages.
2021-12-22 16:14:40 +01:00
gambas
dbfa71f602 Fix proxy container management again.
[GB.GTK]
* BUG: Fix proxy container management again.

[GB.GTK3]
* BUG: Fix proxy container management again.
2021-12-22 16:13:37 +01:00
gambas
ba438ac9cc ScrollArea: Do not set the Proxy property, if setting the _Container property already did the job.
[GB.GUI.BASE]
* NEW: ScrollArea: Do not set the Proxy property, if setting the _Container property already did the job.
2021-12-21 20:54:44 +01:00
gambas
34b91db4e3 Do nothing if the Proxy property is set without actually changing its value.
[GB.QT4]
* OPT: Do nothing if the Proxy property is set without actually changing its value.

[GB.QT5]
* OPT: Do nothing if the Proxy property is set without actually changing its value.
2021-12-21 20:50:16 +01:00
gambas
faff7299a1 The internal '_Container' property of UserControl and UserContainer now behaves the same way as in Qt components.
[GB.GTK]
* BUG: The internal '_Container' property of UserControl and UserContainer now behaves the same way as in Qt components.

[GB.GTK3]
* BUG: The internal '_Container' property of UserControl and UserContainer now behaves the same way as in Qt components.
2021-12-21 20:48:03 +01:00