Commit graph

10718 commits

Author SHA1 Message Date
gambix
6eca2376bb _ShapeItem have now a name more accurate _MapShapeItem and is exported
[GB.MAP]
* NEW: _ShapeItem have now a name more accurate _MapShapeItem and is exported.
2022-12-09 09:57:17 +01:00
Benoît Minisini
c2c08aef6c The '/' operator does not necessarily return a Float. Fix incorrect optimizations that lead to interpreter crashes.
[COMPILER]
* BUG: The '/' operator does not necessarily return a Float. Fix incorrect optimizations that lead to interpreter crashes.
2022-12-08 15:52:56 +01:00
Benoît Minisini
9e89ea687f Try to make 'gb_overflow.h' compilable everywhere.
[INTERPRETER]
* BUG: Try to make 'gb_overflow.h' compilable everywhere.
2022-12-07 01:24:18 +01:00
Benoît Minisini
68f7c1160a Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-06 20:31:15 +01:00
Benoît Minisini
0a7f10ad52 Integer arithmetic and conversion now raise an error if overflow is detected.
[INTERPRETER]
* NEW: Integer arithmetic and conversion now raise an error if overflow is detected.
2022-12-06 20:30:39 +01:00
Benoît Minisini
3a35562603 Immediate executable creation correctly copies the executable path into the clipboard.
[DEVELOPMENT ENVIRONMENT]
* BUG: Immediate executable creation correctly copies the executable path into the clipboard.
2022-12-06 20:29:30 +01:00
Christof Thalhofer
e56fe65925 test-fast for quick selftest in root dir
[DEVELOPMENT ENVIRONMENT]
* NEW: Add shell script test-fast in root dir for quick selftest
2022-12-05 17:17:35 +01:00
Benoît Minisini
39bf786af9 The parser handles correctly the ERROR keyword again.
[COMPILER]
* BUG: The parser handles correctly the ERROR keyword again.
2022-12-05 13:32:39 +01:00
Benoît Minisini
bff79700f3 Don't load the wiki documentation at exit if the wiki has never been used.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't load the wiki documentation at exit if the wiki has never been used.
2022-12-05 12:57:32 +01:00
Benoît Minisini
dbb868f227 FileView: Add MaxPreviewSize property. Cancel the preview background task as soon as the control is hidden.
[GB.FORM]
* NEW: FileView: MaxPreviewSize is a new property that allows to define the size limit of previewed file.
* BUG: FileView: The preview background task is now automatically stopped as soon as the control is hidden.
* NEW: FileChooser & DirChooser: Add a menu entry that disables the preview size limit.
* NEW: FileChooser & DirChooser: Add a preview progress bar.
2022-12-04 23:12:30 +01:00
Benoît Minisini
7a238f4c76 Make the compiler more clever when deciding if an identifier is a reserved keyword or not. Some optimizations in the compiler parser.
[INTERPRETER]
* OPT: Put less code in the main interpreter loop because it became too big again with gcc 12.

[COMPILER]
* OPT: Some optimizations in the parser.
* NEW: Make the compiler more clever when deciding if an identifier is a reserved keyword or not.
2022-12-04 20:00:04 +01:00
Benoît Minisini
c1687958b3 Debugger: Clearing breakpoints outside of debugging mode now works correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Clearing breakpoints outside of debugging mode now works correctly.
* NEW: Debugger: Sort local and global variables.
2022-12-01 23:15:33 +01:00
Benoît Minisini
3eee5a24a2 DBusProxy: Take annotations into account when generating signature.
[GB.DBUS]
* BUG: DBusProxy: Take annotations into account when generating signature.
2022-12-01 23:14:01 +01:00
Benoît Minisini
9659286e09 Update some application icons in Gambas icon set.
[GB.FORM]
* NEW: Update some application icons in Gambas icon set.
2022-12-01 22:10:29 +01:00
Benoît Minisini
5b651355d2 Update 'key' and 'page-break' icons.
[GB.FORM.STOCK]
* NEW: Update 'key' and 'page-break' icons.
2022-12-01 22:09:55 +01:00
Benoît Minisini
1b8f6af7b3 DBusProxy: Really fix symbol signature generation.
[GB.DBUS]
* BUG: DBusProxy: Really fix symbol signature generation.
2022-12-01 15:24:13 +01:00
Benoît Minisini
cbe2bc2b95 DBusProxy: Fix symbol signature generation again.
[GB.DBUS]
* BUG: DBusProxy: Fix symbol signature generation again.
2022-11-30 22:24:49 +01:00
Benoît Minisini
46426fc5e9 DBusProxy: Fix symbol signature generation.
[GB.DBUS]
* BUG: DBusProxy: Fix symbol signature generation.
2022-11-30 21:53:20 +01:00
Benoît Minisini
0fcacdebdf Raise a "Mathematic error" if the real or imaginary part of a complex number is not finite.
[GB.COMPLEX]
* NEW: Raise a "Mathematic error" if the real or imaginary part of a complex number is not finite.
2022-11-29 20:52:14 +01:00
Benoît Minisini
50e5bba9df Finally the divide operator does not return infinities. It raises a "Mathematic error" instead.
[INTERPRETER]
* NEW: Finally the divide operator does not return infinities. It raises a "Mathematic error" instead.
2022-11-29 20:47:26 +01:00
Benoît Minisini
c997255367 The divide operator now returns infinity when the numerator is infinity, and raises "Division by zero" error only if the numerator is zero.
[INTERPRETER]
* NEW: The divide operator now returns infinity when the numerator is infinity, and raises "Division by zero" error only if the numerator is zero.
2022-11-29 15:34:51 +01:00
Benoît Minisini
f947fb176d Add 48x48 version of mimetypes and application icons.
[CONFIGURATION]
* NEW: Add 48x48 version of mimetypes and application icons.
2022-11-29 11:24:48 +01:00
Benoît Minisini
22da925b87 DBus explorer: Load 'gb.dbus' component dynamically.
[DEVELOPMENT ENVIRONMENT]
* NEW: DBus explorer: Load 'gb.dbus' component dynamically.
* NEW: Show DBus explorer only if the project uses the 'gb.dbus' component.
2022-11-27 21:03:07 +01:00
Benoît Minisini
a261a0a53e Enhance conversion from DBus datatype to Gambas datatype.
[GB.DBUS]
* NEW: Enhance conversion from DBus datatype to Gambas datatype.
2022-11-27 09:07:32 +01:00
Benoît Minisini
98f7bc47bd Merge branch 'master' of gitlab.com:gambas/gambas 2022-11-27 08:58:40 +01:00
Benoît Minisini
d4a72d50b5 DBus explorer: Fix syntax highlighting on GTK+3.
[DEVELOPMENT ENVIRONMENT]
* BUG: DBus explorer: Fix syntax highlighting on GTK+3.
2022-11-27 08:58:30 +01:00
Benoît Minisini
5fbde5701a Update 'alpine', 'archlinux' and 'archlinux-clang'. 2022-11-27 07:50:04 +00:00
Benoît Minisini
5cd0b3b35a DBus explorer: Add a button that toggles DBus identifiers display.
[DEVELOPMENT ENVIRONMENT]
* NEW: DBus explorer: Add a button that toggles DBus identifiers display.
2022-11-27 00:36:20 +01:00
Benoît Minisini
052bb76117 Fix DBusProxy._GetSignature() when generating Gambas syntax.
[GB.DBUS]
* BUG: Fix DBusProxy._GetSignature() when generating Gambas syntax.
2022-11-27 00:24:20 +01:00
Benoît Minisini
7df0a90d10 Debug panel: The DBus explorer now displays the signature of symbols.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: The DBus explorer now displays the signature of symbols.
2022-11-26 23:36:14 +01:00
Benoît Minisini
6e0b32d737 DBusProxy._GetSignature() is made public for getting the signature of a DBus method, property or signal, both in native or Gambas syntax.
[GB.DBUS]
* NEW: DBusProxy._GetSignature() is made public for getting the signature of a DBus method, property or signal, both in native or Gambas syntax.
2022-11-26 23:35:34 +01:00
Benoît Minisini
40561280c0 Merge branch 'master' of gitlab.com:gambas/gambas 2022-11-26 19:27:52 +01:00
Benoît Minisini
98ababd955 Debug panel: Initial implementation of an integrated DBus explorer.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Initial implementation of an integrated DBus explorer.
2022-11-26 19:27:46 +01:00
Benoît Minisini
76334ee192 DBusProxy._GetSymbols() is a new undocumented method for decoding introspection.
[GB.DBUS]
* NEW: DBusProxy._GetSymbols() is a new undocumented method for decoding introspection.
* NEW: DBusConnection[Application] now returns the DBusApplication object registered on the specific bus.
2022-11-26 19:27:03 +01:00
gambix
8ea8af05bd Merge branch 'master' of gitlab.com:gambas/gambas 2022-11-25 23:02:13 +01:00
gambix
9484785e4d [COMP]
* OPT: Update map version to make it work again
2022-11-25 22:59:38 +01:00
Benoît Minisini
c9d0702086 MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
[GB.FORM]
* BUG: MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
* NEW: Add icon for Gambas 3 application in Gambas icon set.
2022-11-25 14:05:00 +01:00
Benoît Minisini
36b425aef1 The contents of the '.public' directory is now automatically served by webpages.
[GB.WEB]
* NEW: The contents of the '.public' directory is now automatically served by webpages.
2022-11-20 21:17:37 +01:00
Benoît Minisini
73fb9cc642 WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
[GB.WEB.GUI]
* BUG: WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
2022-11-18 16:58:50 +01:00
Benoît Minisini
d8831c7bbc Fix WebTabPanel render and initial refresh of modal dialogs.
[GB.WEB.GUI]
* BUG: WebTabPanel: Correctly render all tabs, even the invisible ones.
* BUG: WebForm: Correctly cancel refreshes on Open, as the entire window will be redrawn.
2022-11-18 01:38:03 +01:00
Benoît Minisini
5621991e1f Fix Format$() on numbers when the format string uses "0" character in the exponant part and the exponant is negative.
[INTERPRETER]
* BUG: Fix Format$() on numbers when the format string uses "0" character in the exponant part and the exponant is negative.
2022-11-17 21:40:49 +01:00
Benoît Minisini
5ab47b5e52 Version control: Fix the routine that associates a color with a branch name.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix the routine that associates a color with a branch name.
2022-11-17 16:03:15 +01:00
Benoît Minisini
22ced08f0d The timezone now can be specified in a string that represents a date.
[INTERPRETER]
* NEW: The timezone now can be specified in a string that represents a
  date, by adding a space followed by "UTC" or "GMT", a plus or minus
  sign, the hours, and optionnaly a colon followed the minutes.
2022-11-17 01:35:05 +01:00
Benoît Minisini
0bbb052939 Merge branch 'master' of gitlab.com:gambas/gambas 2022-11-16 23:04:54 +01:00
Benoît Minisini
3aa8434179 Add 'Array.Empty' and 'Collection.Empty' properties.
[INTERPRETER]
* NEW: Array: 'Empty' is new property that returns if an array is empty.
* NEW: Collection: 'Empty' is new property that returns if a collection is empty.
2022-11-16 23:03:37 +01:00
Benoît Minisini
28dc86cbe9 Merge branch 'ScripterHelpUpdate' into 'master'
Scripter Update --help to include --list option

See merge request gambas/gambas!284
2022-11-16 20:09:52 +00:00
Benoît Minisini
92dccf468a Result: 'Editable' is a new property that returns if the result is editable.
[GB.DB]
* NEW: Result: 'Editable' is a new property that returns if the result is editable.
2022-11-15 02:16:24 +01:00
Brian G
147e09edb1 Update the gbs3 and gbw3 man pages to include --list
* NEW: Updated man pages to include -l --list to display available Libraries or Components
2022-11-14 13:54:55 -08:00
Brian G
2f834c6e63 Scripter Update --help to include --list option
* NEW: Add -l --list to the --help to display all available components and libraries
2022-11-14 13:53:43 -08:00
Benoît Minisini
795cd79f61 WebTree: Item 'Selected' property does not crash anymore.
[GB.WEB.GUI]
* BUG: WebTree: Item 'Selected' property does not crash anymore.
2022-11-12 10:52:23 +01:00