Commit graph

10587 commits

Author SHA1 Message Date
Benoît Minisini
d996843f55 Remove useless LIKELY() and UNLIKELY() macros.
[GB.SDL]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.
2022-09-03 14:23:46 +02:00
Benoît Minisini
0ec57295b7 Remove useless LIKELY() and UNLIKELY() macros. Add a class flag for bytecode strictly older than 3.18.
[COMPILER]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.

[INTERPRETER]
* NEW: Remove useless LIKELY() and UNLIKELY() macros.
* NEW: Add a class flag for bytecode strictly older than 3.18.

[GB.DEBUG]
* BUG: Fix incorrect 'printf' format on 32-bits architectures.
2022-09-03 14:20:13 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
620ad9c919 TerminalView: Compute the character width so that non-fixed font characters are not truncated.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Compute the character width so that non-fixed font characters are not truncated.
2022-09-03 02:40:45 +02:00
Benoît Minisini
19bb0178a8 Popup menus are scrollable again.
[GB.GTK]
* BUG: Popup menus are scrollable again.

[GB.GTK3]
* BUG: Popup menus are scrollable again.
2022-09-03 02:16:08 +02:00
Benoît Minisini
935cf315f4 Project tree: Fix a possible crash while opening a project.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Fix a possible crash while opening a project.
2022-09-02 11:04:26 +02:00
Benoît Minisini
4183b21ddd Fix drag & drop management.
[GB.GTK]
* BUG: Fix drag & drop management.

[GB.GTK3]
* BUG: Fix drag & drop management.
2022-09-02 02:29:49 +02:00
Benoît Minisini
969b7495e0 Debugger: Fix a possible crash in stack display during debugging.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Fix a possible crash in stack display during debugging.
2022-08-31 23:46:51 +02:00
Benoît Minisini
e5a0d48c2e Language.GetTranslations() method now browses the correct language files in executables.
[GB.UTIL]
* BUG: Language.GetTranslations() method now browses the correct language files in executables.
2022-08-26 17:01:54 +02:00
Benoît Minisini
f9207cb5a2 Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
[GB.DBUS.TRAYICON]
* BUG: Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
  Cinnamon seems to ignore the return value of the 'AboutToShow' event.
2022-08-26 16:51:09 +02:00
Benoît Minisini
0f99e553c9 Fix 'hibernate' and 'info' icons.
[GB.FORM.STOCK]
* NEW: Fix 'hibernate' and 'info' icons.
2022-08-26 00:20:11 +02:00
Benoît Minisini
9ae544c5b2 ListEditor: Add 'Grid' property.
[GB.FORM]
* NEW: ListEditor: Add 'Grid' property.
2022-08-26 00:19:31 +02:00
Benoît Minisini
c875154868 GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
[GB.GUI.BASE]
* BUG: GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
2022-08-26 00:18:39 +02:00
Benoît Minisini
72020e39a9 GridView: Add 'Rows.Padding' and 'Columns.Padding' properties. ListBox: Add 'Grid' property.
[GB.GUI.BASE]
* NEW: GridView: Add 'GridView.Columns.Padding' property for an additional cell horizontal padding.
* NEW: GridView: Add 'GridView.Rows.Padding' property for an additional cell vertical padding.
* NEW: ListBox: Add a 'Grid' property, that adds a grid and some padding inside cells when set.
2022-08-26 00:11:14 +02:00
Benoît Minisini
e2e2b55f68 DataView: Custom column alignment is taken into account now.
[GB.DB.FORM]
* BUG: DataView: Make blob editor fully translated.
* NEW: DataView: Custom column alignment is taken into account now.
* NEW: Update French translation.
2022-08-26 00:07:33 +02:00
Benoît Minisini
7386fe5a2c Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.
[GB.GTK]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.GTK3]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.QT4]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.

[GB.QT5]
* NEW: Align.Make() is a new method that build an alignment constant from its horizontal and vertical parts.
2022-08-25 23:57:40 +02:00
Benoît Minisini
93764b1c37 Add 'ALIGN_MAKE()' macro in 'gb.geom.h'.
[GB.GEOM]
* NEW: Add 'ALIGN_MAKE()' macro in 'gb.geom.h'.
2022-08-25 23:56:54 +02:00
Benoît Minisini
f079b088de Top-level window background color is correctly taken into account again.
[GB.GTK3]
* BUG: Top-level window background color is correctly taken into account again.
2022-08-25 18:09:32 +02:00
Benoît Minisini
ada033d6dd Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
[GB.GUI.BASE]
* BUG: Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
2022-08-25 17:11:52 +02:00
Benoît Minisini
0d9cd6de98 Merge branch 'master' of gitlab.com:gambas/gambas 2022-08-22 14:29:46 +02:00
Benoît Minisini
dae0a9abe6 Text & code editor: Call the TextEditor.Reset() method when loading the contents, not to raise the Change event.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text & code editor: Call the TextEditor.Reset() method when loading the contents, not to raise the Change event.
2022-08-22 14:29:35 +02:00
Benoît Minisini
d1fabcfe38 TextEditor: Raise the 'Change' event when setting the 'Text' property.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when setting the 'Text' property.
2022-08-22 14:28:21 +02:00
Benoît Minisini
f7c7924b6b Merge branch 'bsteers4-master-patch-11819' into 'master'
Update .gitignore, omit m4/pkg.m4 from git

See merge request gambas/gambas!279
2022-08-21 19:11:05 +00:00
Bruce Steers
5c9c0a1a3a Update .gitignore, omit m4/pkg.m4 from git
[MAIN]
* NEW: add m4/pkg.m4 to .gitignore list
2022-08-21 15:59:17 +00:00
Benoît Minisini
395e368d32 TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
2022-08-20 16:34:33 +02:00
Benoît Minisini
61615b5263 Search: Draw a border on the bottom on the last line of results.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search: Draw a border on the bottom on the last line of results.
2022-08-19 23:31:17 +02:00
Benoît Minisini
9a2480cc8a Software farm: Do not crash anymore when login to the farm.
[DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Do not crash anymore when login to the farm.
2022-08-16 20:59:22 +02:00
Benoît Minisini
441fd57ceb Add 'MouseDown', 'MouseUp', and 'MouseMove' events in DrawingArea. Add 'Enter' and 'Leave' events in WebControl.
[GB.WEB.GUI]
* NEW: WebControl: Implement 'Enter' and 'Leave' event.
* NEW: DrawingArea: Implement 'MouseDown', 'MouseUp', and 'MouseMove' events. At the moment 'MouseMove' are raised only when a button is pressed.
* BUG: Paint: Do not crash if no brush has been defined. Let the underlying driver use the default brush instead.
2022-08-11 18:34:26 +02:00
Benoît Minisini
4819adfa52 Debugger: Allow to bypass the name check when searching for a component or library project location.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Allow to bypass the name check when searching for a component or library project location.
* NEW: Project make executable dialog: When installing a library, do not add the vendor prefix if the project name already has it.
* NEW: Update French translation.
* NEW: Add the component name in IDE tab title for files from other projects.
* NEW: Update financial support file.
2022-08-10 12:51:08 +02:00
Benoît Minisini
4f9e724d76 Paint: Add 'LineDash' and 'LineDashOffset' synonymous properties.
[GB.DRAW]
* NEW: Paint: 'LineDash' is now a synonymous for the 'Dash' property.
* NEW: Paint: 'LineDashOffset' is now a synonymous for the 'DashOffset' property.
2022-08-10 00:00:26 +02:00
Benoît Minisini
9b66aa13ec Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
[GB.WEB.GUI]
* NEW: Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
* NEW: Paint: Add public constants for 'LineCap' and 'LineJoin' properties.
2022-08-09 23:59:22 +02:00
Benoît Minisini
167e61c86e Merge branch 'ignore-fuse-files' into 'master'
Add fuse_hiddenxxxx files in .gitignore files

See merge request gambas/gambas!275
2022-08-09 15:45:37 +00:00
Benoît Minisini
5f958623a4 Continue 'Paint' implementation, and make the DrawingArea canvas resize automatically.
[GB.WEB.GUI]
* NEW: DrawingArea: The canvas now resizes automatically, and send its size to the server.
* NEW: Paint: Implement 'Width' and 'Height' properties.
* NEW: Paint: Add 'Translate()', 'Rotate()', 'Scale()' and 'Reset()' methods.
* NEW: Paint: Add write-only 'Operator' property. Not all composition modes are supported at the moment.
* BUG: Move focus frame when the window is resized.
2022-08-09 17:04:06 +02:00
Benoît Minisini
f94f6ecf87 Running a project does not remove disabled environment variables anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Running a project does not remove disabled environment variables anymore.
2022-08-09 15:40:24 +02:00
Bruce Steers
253f93e762 Add fuse_hiddenxxxx files in .gitignore files
[DEVELOPMENT_ENVIRONMENT]
* NEW: add fuse_hiddenxxxx temporary system files to .gitignore
2022-08-09 10:06:01 +01:00
Benoît Minisini
861eebaa7a Merge branch 'fix-dw-black' into 'master'
WebDrawingArea, fix using zero value Color.Black

See merge request gambas/gambas!274
2022-08-09 01:15:50 +00:00
Benoît Minisini
546989eb56 Fix component dependencies.
[GB.WEB.GUI]
* BUG: Fix component dependencies.
2022-08-09 03:13:35 +02:00
Benoît Minisini
687fa8460f Paint: Implement 'DrawImage' method.
[GB.WEB.GUI]
* NEW: Make the ';' explicit in internally generated javascript.
* NEW: Add 'gb.geom' as a new dependency.
* NEW: Paint: Implement 'DrawImage' method.
* BUG: Paint: Fix gradient generation routine in 'lib.js'.
* NEW: DrawingArea: Do not include the refresh code inside the main page HMTL.
2022-08-09 03:06:23 +02:00
Benoît Minisini
4c8adcdb06 Add 'gb.geom' to the list of components.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.geom' to the list of components.
2022-08-09 02:50:52 +02:00
Benoît Minisini
438b41f7e1 Make the component visible.
[GB.GEOM]
* NEW: Make the component visible.
2022-08-09 02:49:52 +02:00
Benoît Minisini
ecfbd41969 ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
[GB.GUI.BASE]
* BUG: ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
2022-08-09 02:47:53 +02:00
Bruce Steers
f1f23bcb93 WebDrawingArea, fix using zero value Color.Black
[GB.GUI.WEB]
* BUG: use IsNull() to check style as Color.Black is 0
2022-08-09 00:27:42 +01:00
Benoît Minisini
aafe7a8bbe Update deferred arrangements before handling focus changes (and other posted routines).
[GB.GTK]
* BUG: Update deferred arrangements before handling focus changes (and other posted routines).

[GB.GTK3]
* BUG: Update deferred arrangements before handling focus changes (and other posted routines).
2022-08-09 01:18:03 +02:00
Benoît Minisini
e4bc43e534 Form editor: Make the property sheet row height padding a bit larger, following 'Desktop.Scale'.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Make the property sheet row height padding a bit larger, following 'Desktop.Scale'.
2022-08-09 01:17:27 +02:00
Benoît Minisini
4930e6d406 ComboBox: Fix padding of borderless editable comboboxes.
[GB.GUI.BASE]
* BUG: ComboBox: Fix padding of borderless editable comboboxes.
* NEW: ComboBox: Always display the border when the popup is opened.
2022-08-09 01:16:09 +02:00
Benoît Minisini
1b2d3d2a51 Add a command to remove all breakpoints in one shot.
[GB.DEBUG]
* NEW: Add a command to remove all breakpoints in one shot.
2022-08-08 17:26:41 +02:00
Benoît Minisini
a89ec9ec15 Debugger: Removing all breakpoints works again.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: Removing all breakpoints works again.
2022-08-08 17:26:29 +02:00
Benoît Minisini
47ae5e6e70 TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
2022-08-08 17:25:58 +02:00
Benoît Minisini
654daa0724 Simplify and fix the PaintBrush implementation.
[GB.WEB.GUI]
* NEW: Color: Replace 'WebControl._GetColor()' by 'Color.ToHTML()'.
* NEW: Paint: Handle the 'PaintBrush' class directly in the Paint class. The paint driver job is just translating it into javascript.
* NEW: Paint: Remove the javascript generation routine from the Gradient class and move it to the paint driver.
* NEW: Paint: Add the 'Paint.Color' method that creates a color brush.
* NEW: Paint: Move the 'PaintBrush' type constants to the 'PaintDriver' class.
2022-08-08 16:20:45 +02:00
Benoît Minisini
f350d8171a Merge branch 'web-gui-brush' into 'master'
Add PaintBrush class with gradients to gb.web.gui

See merge request gambas/gambas!273
2022-08-08 12:32:33 +00:00