Commit graph

10276 commits

Author SHA1 Message Date
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
Benoît Minisini
e4dcb05c53 Merge branch 'DBusExplorerUpdate' into 'master'
Updated DBus Explorer to work with Latest XML returned by introspect call

See merge request gambas/gambas!257
2022-01-29 00:31:49 +00:00
Benoît Minisini
28f78f32c9 Merge branch 'bsteers4-master-patch-80603' into 'master'
Update WebTree.class, fix Class name hidden by local declaration: Key

See merge request gambas/gambas!258
2022-01-29 00:29:30 +00:00
Bruce Steers
b6069433fb Update WebTree.class, fix Class name hidden by local declaration: Key
[GB.WEB.GUI]
* BUG: fix Class name hidden by local declaration: Key


thought I'd save you the task.
2022-01-28 23:51:06 +00:00
gambas
68f3fdb939 WebButton image now always fill the button height. Fix WebContainer 'Row' and 'Column' arrangements.
[GB.WEB.GUI]
* BUG: WebButton: Image now always fill the button height.
* BUG: WebContainer: Do not change the 'display' CSS property of children controls when arrangement is 'Row' or 'Column'.
* BUG: If the 'huge' version of a stock icon does not exist, use the 'small' version instead.
2022-01-29 00:29:52 +01:00
gambas
47742d7f90 Correctly read floating point values in CSS.
[GB.FORM.HTMLVIEW]
* BUG: Correctly read floating point values in CSS.
* NEW: Only left mouse button is taken into account by the view when clicking on it. The other buttons are ignored by default.
2022-01-28 23:57:54 +01:00
gambas
742244fe34 Window: Do not raise the Hide event twice.
[GB.QT4]
* BUG: Window: Do not raise the Hide event twice.

[GB.QT5]
* BUG: Window: Do not raise the Hide event twice.
2022-01-28 23:49:53 +01:00
gambas
1308dc95ab Window: Fix the initial focus of a window when it is opened.
[GB.GTK]
* BUG: Window: Fix the initial focus of a window when it is opened.
* BUG: Window: Don't raise spurious Hide or Show events.

[GB.GTK3]
* BUG: Window: Fix the initial focus of a window when it is opened.
* BUG: Window: Don't raise spurious Hide or Show events.
2022-01-28 23:47:32 +01:00
gambas
f02eae69f9 WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
[GB.WEB.GUI]
* NEW: WebTree: Add a 'Data' event that allows to define the content of a tree column, like with WebTable.
  Image is not supported yet.
2022-01-28 00:50:22 +01:00
gambas
c77239b4ea Conflict editor: Fix text highlighting.
[DEVELOPMENT ENVIRONMENT]
* BUG: Conflict editor: Fix text highlighting.
2022-01-27 03:20:27 +01:00
gambas
7223f46933 DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.
[GB.QT4]
* OPT: DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.

[GB.QT5]
* OPT: DrawingArea: Replace some 'bool' by one-bit integers in widget implementation.
2022-01-27 01:54:10 +01:00
gambas
8f0f5c765a DrawingArea: Reading the window handle now automatically assign a specific window to the control. Fix background color management.
[GB.GTK]
* BUG: DrawingArea: Background color is now correctly drawn in all cases.
* NEW: DrawingArea: Reading the window handle now automatically assign a specific window to the control.

[GB.GTK3]
* BUG: DrawingArea: Background color is now correctly drawn in all cases.
* NEW: DrawingArea: Reading the window handle now automatically assign a specific window to the control.
2022-01-27 01:53:59 +01:00