Commit graph

10287 commits

Author SHA1 Message Date
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
gambas
d2eebaf136 The debugger and the profiler now can act inside components.
[INTERPRETER]
* NEW: Add a debugger API to allows debugging inside components.

[GB.DEBUG]
* NEW: New debugger command to toggle  debugging inside components.
* NEW: Support for profiling inside components.
2022-02-05 00:11:10 +01:00
Benoît Minisini
05f043cb99 Merge branch 'master' into 'master'
Contains new Italian translations

See merge request gambas/gambas!259
2022-02-04 22:18:08 +00:00
GianluigiOr
73f8bacfe3 Contains new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.
* NEW: The IDE tips.it.txt is now complete.
2022-02-04 23:02:24 +01:00
gambas
6d4e7f642d GridView & TreeView: Take the Enabled property into account for rendering.
[GB.GUI.BASE]
* NEW: GridView: Take the Enabled property into account for rendering.
* NEW: TreeView: Take the Enabled property into account for rendering.
2022-02-04 04:39:05 +01:00
gambas
abfbac8fc7 Add an option to change the IDE language.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to change the IDE language.
2022-02-04 04:34:23 +01:00
gambas
8ff0b83c5d Language is a new class that allows to deal with the translation of the current project.
[GB.UTIL]
* NEW: Language is a new class that allows to deal with the translation of
  the current project.
* NEW: Import all needed translations from the IDE.
2022-02-04 04:33:29 +01:00
gambas
0e5e63b678 '_lang' is a new static public special method that is called when 'System.Language' changes.
[INTERPRETER]
* NEW: '_lang' is a new static public special method that is called when
  'System.Language' changes. It allows you to reload the translations of
  the class.
2022-02-04 04:29:04 +01:00
gambas
8ed1d714eb Packager: Making a package now displays an explicit message when a ChangeLog date is incorrect, instead of raising an error.
[DEVELOPMENT ENVIRONMENT]
* BUG: Cancelling a project opening because some components are missing does not display a useless error message anyway.
* BUG: Packager: Making a package now displays an explicit message when a ChangeLog date is incorrect, instead of raising an error.
* NEW: Update French translation.
2022-02-03 23:15:50 +01:00
gambas
057f65fe1b Translated tips of the day are back.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translated tips of the day are back.
2022-02-03 22:05:20 +01:00
gambas
edc9d6a835 Go back to the previous program arguments GUI.
[DEVELOPMENT ENVIRONMENT]
* NEW: Go back to the previous program arguments GUI.
2022-02-03 02:34:55 +01:00
gambas
4dcf0867ed Add new stock icons. Modify some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons. Modify some ones.
2022-02-03 02:34:11 +01:00
gambas
103ae6cf93 Draw MenuButton arrow differently, and enhance ListEditor behaviour.
[GB.FORM]
* NEW: MenuButton: Redraw arrows. Disable them if there is no menu.
* NEW: ListEditor: Enhance its behaviour.
* NEW: Add new stock icons.
2022-02-03 02:33:45 +01:00
gambas
b1c053d577 Initial implementation of remote debugging through ssh.
[DEVELOPMENT ENVIRONMENT]
* NEW: Initial implementation of remote debugging through ssh.
* NEW: Update French translation.
2022-02-02 21:23:18 +01:00
gambas
9280365122 Debug.Signal() is a new method that signals a debugged gambas process with SIGUSR2 to ask him to pause.
[GB.DEBUG]
* NEW: Debug.Signal() is a new method that signals a debugged gambas
  process with SIGUSR2 to ask him to pause.
2022-02-02 20:57:31 +01:00
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