Commit graph

10190 commits

Author SHA1 Message Date
gambas
3d4ba94e25 Form editor: Fix grid configuration layout and tooltips.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix grid configuration layout and tooltips.
2022-02-28 03:13:59 +01:00
gambas
620593105c ProgressBar: Right-to-left direction support.
[GB.GUI.BASE]
* NEW: ProgressBar: Right-to-left direction support.
* NEW: ProgressBar: Draw an hatch in pulsing mode.
2022-02-28 03:13:09 +01:00
gambas
b78a29486d FontChooser: Add a button to open the font selector in small mode.
[GB.FORM]
* NEW: FontChooser: Add a button to open the font selector in small mode.
2022-02-27 23:45:39 +01:00
gambas
e34a06a5b8 Global focus management. WebScrollView.EnsureVisible() should work as expected now.
[GB.WEB.GUI]
* NEW: If a modal window is opened, controls outside of the modal window cannot be focused anymore.
* NEW: The current focus is now kept when the page is refreshed.
* NEW: Application.ActiveControl is a new property that returns the current control having the focus.
* NEW: WebListBox now keeps its scroll status.
* NEW: WebListBox has now ScrollX and ScrollY properties.
* NEW: WebScrollView: EnsureVisible method should work as expected now.
2022-02-27 01:35:53 +01:00
gambas
eebaa18852 Update some stock icons.
[GB.FORM.STOCK]
* NEW: Update some stock icons.
2022-02-25 20:37:55 +01:00
gambas
cdb4a431a3 ColorChooser: Use the third argument of Image.Stretch() correctly.
[GB.FORM]
* BUG: ColorChooser: Use the third argument of Image.Stretch() correctly.
2022-02-25 20:36:08 +01:00
gambas
d7b5486d85 Image.Stretch() now takes a third optional argument to stretch without antialiasing.
[GB.GTK]
* NEW: Image.Stretch() now takes a third optional argument to stretch without antialiasing.

[GB.GTK3]
* NEW: Image.Stretch() now takes a third optional argument to stretch without antialiasing.

[GB.QT4]
* NEW: Image.Stretch() now takes a third optional argument to stretch without antialiasing.

[GB.QT5]
* NEW: Image.Stretch() now takes a third optional argument to stretch without antialiasing.
2022-02-25 20:30:55 +01:00
gambas
cdcdd03848 Some changes in the color selection dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Color selection dialog: Hide the tab bar if there is only one tab.
* NEW: Color selection dialog: The default color is now white.
2022-02-25 16:58:49 +01:00
gambas
558f3efae5 ColorChooser: The colormap now visually adapts to the current control settings.
[GB.FORM]
* NEW: ColorChooser: The colormap now visually adapts to the current control settings.
2022-02-25 16:57:50 +01:00
gambas
ff2d1f6e5b Some fixes in the welcome dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog: Allow it to be smaller.
* BUG: Welcome dialog: Correctly draw project boxes in small mode.
* NEW: Version control: Make branch colors darker.
2022-02-25 03:10:44 +01:00
gambas
afbf32aa8e SliderBox: Fix automatic arrangement.
[GB.FORM]
* BUG: SliderBox: Fix automatic arrangement.
2022-02-24 23:05:32 +01:00
gambas
6acdd757a1 SpinBox: Fix automatic arrangement.
[GB.GUI.BASE]
* BUG: SpinBox: Fix automatic arrangement.
2022-02-24 23:05:08 +01:00
gambas
e45596ad6d Make SpinBox bigger everywhere so that little arrows are replaced by big buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make SpinBox bigger everywhere so that little arrows are replaced by big buttons.
2022-02-24 17:34:54 +01:00
gambas
3b3ed78ede SliderBox: Adapt inner SpinBox width more intelligently.
[GB.FORM]
* NEW: SliderBox: Adapt inner SpinBox width more intelligently.
2022-02-24 17:33:59 +01:00
gambas
7f4b2c3119 SpinBox: Automatically replace little arrows by bigger horizontal buttons when the control is wide enough.
[GB.GUI.BASE]
* NEW: SpinBox: Automatically replace little arrows by bigger horizontal buttons when the control is wide enough.
2022-02-24 17:33:24 +01:00
gambas
a8612cf018 Fix a rich text markup mistake in italian tips.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix a rich text markup mistake in italian tips.
2022-02-24 13:42:30 +01:00
gambas
4181629ca3 ButtonBox: The horizontal inner padding between the border and the contents cannot be greater than 3 pixels now.
[GB.FORM]
* BUG: ButtonBox: The horizontal inner padding between the border and the contents cannot be greater than 3 pixels now.
2022-02-23 20:33:50 +01:00
gambas
118be55717 Style.BackgroundOf() returns the accurate color now for TextBox, TextArea and ComboBox.
[GB.GTK3]
* BUG: Style.BackgroundOf() returns the accurate color now for TextBox, TextArea and ComboBox.
2022-02-23 20:31:43 +01:00
gambas
32d3056473 Forgot to declare the 'city' stock icon.
[GB.FORM]
* BUG: Forgot to declare the 'city' stock icon.
2022-02-23 19:53:24 +01:00
gambas
bfd63b282e Modify some stock icons.
[GB.FORM.STOCK]
* NEW: Modify some stock icons.
2022-02-23 19:53:01 +01:00
gambas
86caf66c56 Fix focus management and container arrangement.
[GB.GTK]
* BUG: Fix focus management and container arrangement.

[GB.GTK3]
* BUG: Fix focus management and container arrangement.
2022-02-23 19:29:21 +01:00
gambas
e662d22537 File creation dialog: Correctly open the new file in all cases.
[DEVELOPMENT ENVIRONMENT]
* BUG: File creation dialog: Correctly open the new file in all cases.
* NEW: Redraw the 'linked' icon file bigger.
* NEW: Image editor: Pasting a selection now selects the entire selection, not just the pasted part.
2022-02-22 15:05:12 +01:00
gambas
ec051a231e Image.Rotate() is now antialiased.
[GB.GTK]
* BUG: Image.Rotate() is now antialiased.

[GB.GTK3]
* BUG: Image.Rotate() is now antialiased.

[GB.QT4]
* BUG: Image.Rotate() is now antialiased.

[GB.QT5]
* BUG: Image.Rotate() is now antialiased.
2022-02-22 02:44:55 +01:00
gambas
ff768fa834 Initialize event mask correctly when a control recreates its internal (when reparenting or for any other reason).
[GB.GTK]
* BUG: Initialize event mask correctly when a control recreates its internal (when reparenting or for any other reason).

[GB.GTK3]
* BUG: Initialize event mask correctly when a control recreates its internal (when reparenting or for any other reason).
2022-02-21 21:27:44 +01:00
gambas
6318d80cfc Fix an API argument that must be initialized.
[GB.POPPLER]
* BUG: Fix an API argument that must be initialized.
2022-02-21 21:10:27 +01:00
gambas
1794f4e072 Add <stdio.h> include to 'gb_system_temp.h', when there is no support for returning the number of CPUs.
[INTERPRETER]
* BUG: Add <stdio.h> include to 'gb_system_temp.h', when there is no support for returning the number of CPUs.
2022-02-21 16:14:31 +01:00
gambas
a3226411e9 TreeView, ListView & ColumnView: Fix right-to-left layout.
[GB.GUI.BASE]
* BUG: TreeView, ListView & ColumnView: Fix right-to-left layout.
2022-02-20 23:37:56 +01:00
gambas
89fc98497b MenuButton: Update button state before opening the popup menu. New stock icons.
[GB.FORM]
* NEW: MenuButton: Better drawing of disabled MenuButton picture.
* NEW: New stock icons.
2022-02-19 21:30:45 +01:00
gambas
adc13eb2ea Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-19 21:30:04 +01:00
gambas
c3295b0f3d Fix detection of 'New' operator when searching for symbol definition.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix detection of 'New' operator when searching for symbol definition.
2022-02-19 12:07:13 +01:00
gambas
2d681e7fa8 Type analysis of bit operators now works correctly.
[COMPILER]
* BUG: Type analysis of bit operators now works correctly.
2022-02-19 11:30:28 +01:00
gambas
5a81b255e1 File creation dialog: Open the new file after the dialog has been closed, to be sure its editor gets the focus.
[DEVELOPMENT ENVIRONMENT]
* BUG: File creation dialog: Open the new file after the dialog has been closed, to be sure its editor gets the focus.
2022-02-18 23:13:45 +01:00
gambas
361cd35de5 Some fixes in window reparent method and focus management.
[GB.GTK]
* BUG: Some fixes in window reparent method and focus management.

[GB.GTK3]
* BUG: Some fixes in window reparent method and focus management.
2022-02-18 23:09:35 +01:00
gambas
1cbdf024ba Version control: Fill project history with a background task, and hide dialog box before committing, so that the command outputs are visible.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Version control: Fill project history with a background task.
* NEW: Version control: Hide dialog box before committing, so that the
  command outputs are visible.
2022-02-18 10:10:19 +01:00
gambas
3eee801ab6 TextEditor: Append() is a new method that appends some text to the end of the editor without moving the cursor.
[GB.FORM.EDITOR]
* NEW: TextEditor: Append() is a new method that appends some text to the
  end of the editor without moving the cursor.
2022-02-18 10:00:48 +01:00
gambas
aa2ce32c41 Add ALIGN_IS_NORMAL() macro for alignment constants.
[GB.GEOM]
* NEW: Add ALIGN_IS_NORMAL() macro for alignment constants.
2022-02-18 09:06:35 +01:00
gambas
71877e0903 Make component compile again on older versions of Pango.
[GB.GTK]
* BUG: Make component compile again on older versions of Pango.

[GB.GTK3]
* BUG: Make component compile again on older versions of Pango.
2022-02-18 04:14:18 +01:00
gambas
f6a43be792 Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-18 00:22:13 +01:00
gambas
d0d72556db MenuButton: Update button state before opening the popup menu. New stock icons.
[GB.FORM]
* BUG: MenuButton: Update button state before opening the popup menu.
* NEW: New stock icons.
2022-02-18 00:18:35 +01:00
gambas
19fac29ab2 ScrollArea: Fix scrollbar relayout.
[GB.GUI.BASE]
* BUG: ScrollArea: Fix scrollbar relayout.
2022-02-18 00:16:03 +01:00
gambas
114d825ede Text drawing alignment is now based on text direction.
[GB.GTK]
* BUG: Text drawing alignment is now based on text direction.

[GB.GTK3]
* BUG: Text drawing alignment is now based on text direction.

[GB.QT4]
* BUG: Text drawing alignment is now based on text direction.

[GB.QT5]
* BUG: Text drawing alignment is now based on text direction.
2022-02-18 00:08:05 +01:00
gambas
b9b2e50ba5 Force the window to move to its last position after the Border property has changed.
[GB.QT5]
* BUG: Force the window to move to its last position after the Border property has changed.
2022-02-16 15:11:50 +01:00
gambas
997a558714 Do not use QWidget::setWindowFlag(), it does not exist on older version of Qt5.
[GB.QT5]
* BUG: Do not use QWidget::setWindowFlag(), it does not exist on older version of Qt5.
2022-02-16 08:12:41 +01:00
gambas
72585bb3c6 Keep the window visibility state when setting its Border property.
[GB.QT5]
* BUG: Keep the window visibility state when setting its Border property.
2022-02-16 01:05:50 +01:00
gambas
d6c8ebaf0f 'Window.Border' now uses the Qt5 window flags to switch the border.
[GB.QT5]
* NEW: 'Window.Border' now uses the Qt5 window flags to switch the border.
2022-02-16 01:04:12 +01:00
gambas
4057d78489 Fix debugger configuration and action saving in the form editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger configuration: Do not try to save a remote password if remote debugging is not enabled.
* BUG: Form editor: Correctly save action names.
* NEW: Project tree: Use new 'compress' and 'uncompress' icons in popup menu.
* BUG: Definitely hide the 'Use HTTP server' menu entry.
2022-02-14 21:46:39 +01:00
gambas
469ed29280 CsvFile: KeepNames is a new property that keep the column names unchanged.
[GB.UTIL]
* NEW: CsvFile: Columns is a synonymous of Fields property.
* NEW: CsvFile: Add properties for CsvFile configuration.
* NEW: CsvFile: KeepNames is a new property that keep the column names unchanged.
* NEW: CsvFile: Add help comments.
2022-02-13 22:10:53 +01:00
gambas
b484884c9e The CheckBox and RadioButton Invert property works as expected again.
[GB.QT4]
* BUG: The CheckBox and RadioButton Invert property works as expected again.

[GB.QT5]
* BUG: The CheckBox and RadioButton Invert property works as expected again.
2022-02-13 21:04:24 +01:00
gambas
f677aef95c Fix backward-compatibility of serialization format.
[INTERPRETER]
* BUG: Fix backward-compatibility of serialization format.
2022-02-12 14:29:43 +01:00
gambas
dbd1091373 Try to make the new serialization format backward-compatible with the old one.
[INTERPRETER]
* BUG: Try to make the new serialization format backward-compatible with the old one.
2022-02-11 18:59:31 +01:00