Commit graph

10165 commits

Author SHA1 Message Date
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
gambas
da4002dede ComboBox now correctly takes language direction into account.
[GB.GTK3]
* BUG: ComboBox now correctly takes language direction into account.
2022-02-11 01:29:47 +01:00
gambas
a760016d2a Pressing a default or cancel button now correctly sets the focus on it to ensure that editable controls have sent their contents to the server.
[GB.WEB.GUI]
* BUG: Pressing a default or cancel button now correctly sets the focus on
  it to ensure that editable controls have sent their contents to the server.
2022-02-09 21:11:09 +01:00
gambas
4d2a942793 Profiler: Loading profile files is now through a background task.
[DEVELOPMENT ENVIRONMENT]
* NEW: Profiler: Loading profile files is now through a background task.
2022-02-08 22:53:46 +01:00
gambas
5d1716aa0f Serialization now does not duplicate objects anymore. Fix Task.Wait().
[INTERPRETER]
* NEW: Serialization now does not duplicate objects anymore. Once an object
  is serialized, if it is encounter again, then it is seralized as a five
  bytes reference.
* BUG: Fix Task.Wait() that incorrectly used 'sleep' instead of 'usleep'.
2022-02-08 22:48:06 +01:00
gambas
9f39e674c2 Print constants (Null, True, False) with only the first letter in upper case.
[GB.DEBUG]
* NEW: Print constants (Null, True, False) with only the first letter in upper case.
2022-02-07 21:51:18 +01:00
gambas
e54acd8c3b Use C++17 now to compile 'gb.pdf'.
[GB.PDF]
* BUG: Use C++17 now to compile 'gb.pdf'.
2022-02-07 21:50:33 +01:00
gambas
18598d58a7 Form editor: Action texts now do not include button text shortcuts anymore. Update your forms to fix them.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger configuration: Do not try to read remote password if remote debugging is disabled.
* BUG: Form editor: Action texts now do not include button text shortcuts anymore. Update your forms to fix them.
2022-02-07 19:42:11 +01:00
gambas
d8942988e5 Toolbar: No need to unquote '&' button shortcuts anymore in action text.
[GB.FORM.MDI]
* BUG: Toolbar: No need to unquote '&' button shortcuts anymore in action text.
2022-02-07 19:40:19 +01:00
gambas
ddabd8cdfd Action.Text now correctly quotes button shortcuts when needed.
[GB.GUI.BASE]
* BUG: Action.Text now correctly quotes button shortcuts when needed.
2022-02-07 19:39:27 +01:00
gambas
acc912ef68 Fix font management according to the new uncompatible Pango behaviour.
[GB.GTK]
* BUG: Fix font management according to the new uncompatible Pango
  behaviour. I don't know if it is backward-compatible yet.

[GB.GTK3]
* BUG: Fix font management according to the new uncompatible Pango
  behaviour. I don't know if it is backward-compatible yet.
2022-02-06 20:42:42 +01:00
gambas
f24542546d Do not crash if there is no environment defined for debugging
[DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if there is no environment defined for debugging.
2022-02-06 00:48:34 +01:00
gambas
1748716418 Form editor: Don't fill the property help if it is hidden.
[DEVELOPMENT ENVIRONMENT]
* OPT: Form editor: Don't fill the property help if it is hidden.
2022-02-05 23:02:27 +01:00
gambas
9ff786388a ListEditor: Wrap is a new property that tells if the text of the items is wrapped.
[GB.FORM]
* NEW: ListEditor: Wrap is a new property that tells if the text of the items is wrapped.
2022-02-05 22:42:06 +01:00
gambas
ff49c84d7b ListBox: Wrap is a new property that tells if the text of items is wrapped.
[GB.GUI.BASE]
* NEW: ListBox: Wrap is a new property that tells if the text of items is wrapped.
2022-02-05 22:41:35 +01:00
gambas
1890b073d7 Debugger: Fix configuration dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix configuration dialog.
* BUG: Remove now useless dialog boxes.
2022-02-05 22:40:44 +01:00
gambas
9e7749a9a0 IconPanel, TabPanel, ToolPanel, Wizard: Add a FindPanel() method that returns a tab index from its title.
[GB.FORM]
* NEW: SwitchButton: Animated property is now deprecated.
* NEW: IconPanel, TabPanel, ToolPanel, Wizard: Add a FindPanel() method
  that returns a tab index from its title.
2022-02-05 18:45:19 +01:00
gambas
e5a66e553e Add a '-F' option that converts a piece of form data into Gambas code.
[INTERPRETER]
* NEW: Update help text layout.

[COMPILER]
* NEW: Add a '-F' option that converts a piece of form data into Gambas code.
* NEW: Update help text layout.

[ARCHIVER]
* NEW: Update help text layout.

[INFORMER]
* NEW: Update help text layout.
2022-02-05 18:41:36 +01:00
gambas
9e4d4a89cd Redesign the debugger configuration. Move environment and arguments in local settings. Pasting controls in a editor convert them to code.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: The debugger options are now all centralized inside a
  specific configuration dialog box.
* NEW: Debugger: Project environment and arguments are now stored in the
  project local settings, and not in the project configuration anymore.
* NEW: Code editor: If you copy controls from the form editor, you can now
  paste them in the code editor as Gambas code.
* NEW: Project property dialog: Add a specific field to force the version
  of the generated bytecode.
* NEW: Update French translation.
2022-02-05 18:41:16 +01:00
gambas
8c4b165e33 Reading settings file is faster now.
[GB.SETTINGS]
* OPT: Reading settings file is faster now.
2022-02-05 02:15:53 +01:00
gambas
a844b90bb1 Merge branch 'master' of gitlab.com:gambas/gambas 2022-02-05 00:23:23 +01:00
gambas
9c3d78251f Add new stock icons.
[GB.FORM]
* NEW: Add new stock icons.
2022-02-05 00:23:16 +01:00
gambas
1770809ae8 Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-05 00:22:57 +01:00
gambas
e652efbbe6 Fix the use of a method deprecated by poppler 0.82.
[GB.POPPLER]
* BUG: Fix the use of a method deprecated by poppler 0.82.
2022-02-05 00:20:57 +01:00
gambas
4f9e985b3a Paint class now should correctly take into account text direction.
[GB.QT4]
* NEW: Paint class now should correctly take into account text direction.

[GB.QT5]
* NEW: Paint class now should correctly take into account text direction.
* BUG: Fix a deprecation warning.
2022-02-05 00:19:43 +01:00
gambas
f62e791f74 Add a debugger menu option to toggle debugging inside components. Allow profiling into components.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Debugger options are now stored in the project local settings, and not in the project configuration anymore.
* NEW: Debugger: Add a debugger menu option to toggle debugging inside components.
* NEW: Debugger: Disable debugger menu entries that are not relevant during debugging.
* NEW: Profiler: Profiling inside components is possible now.
* OPT: Project tree: Tree refresh is a bit faster now.
2022-02-05 00:19:20 +01:00