Commit graph

6997 commits

Author SHA1 Message Date
gambas
5abdff41e5 Correctly install appdata file.
[CONFIGURATION]
* BUG: Correctly install appdata file.
2018-11-03 09:59:16 +01:00
gambas
dcac5c2a26 Handle TRY inside JIT functions correctly.
[INTERPRETER]
* BUG: Handle TRY inside JIT functions correctly.

[GB.DEBUG]
* NEW: Add explicit messages when something fails during initialization.

[GB.JIT]
* BUG: Handle TRY correctly.
2018-11-02 21:44:40 +01:00
Benoît Minisini
e0495b2535 Merge branch 'master' into 'master'
Make main compile on Hurd

See merge request gambas/gambas!48
2018-11-01 00:25:01 +00:00
Benoît Minisini
5d612e655c Merge branch 'spelling' into 'master'
Correct the license flag spelling

See merge request gambas/gambas!51
2018-11-01 00:24:26 +00:00
gambas
64ea8c3a79 Correctly refresh the debug panel contents when fonts are changed in the option dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly refresh the debug panel contents when fonts are changed in the option dialog.
2018-11-01 01:19:55 +01:00
gambas
52d0fe2a6a Install the Gambas appdata file in both old 'appdata' and new 'metainfo' directories.
[CONFIGURATION]
* BUG: Install the Gambas appdata file in both old 'appdata' and new 'metainfo' directories.
2018-10-31 12:48:32 +01:00
gambas
615ff675d2 Calling a jit function now correctly checks the number of arguments.
[INTERPRETER]
* BUG: Calling a jit function now correctly checks the number of arguments.
* BUG: Fix a panic message.
2018-10-31 01:56:35 +01:00
bgermann
c0314dc47e Correct the license flag spelling
[DEVELOPMENT ENVIRONMENT]
* BUG: Correct the license flag spelling
2018-10-27 23:17:33 +02:00
gambas
04ea50d750 The toplevel AUTHORS file now contains the list of all Gambas authors.
[CONFIGURATION]
* NEW: The toplevel AUTHORS file now contains the list of all Gambas authors.

[DEVELOPMENT ENVIRONMENT]
* NEW: Remove the 'authors.txt' file and use a symbolic link on the toplevel AUTHORS files instead.
2018-10-26 03:32:46 +02:00
gambas
a32169005a Install appdata files in 'appdata' or 'metainfo' according to which directory exists.
[CONFIGURATION]
* BUG: Install appdata files in 'appdata' or 'metainfo' according to which directory exists.
2018-10-26 03:31:37 +02:00
gambas
9aa856c3a6 Do not use __DATE__ and __TIME__ macros, they prevent reproducible builds.
[INTERPRETER]
* BUG: Do not use __DATE__ and __TIME__ macros, they prevent reproducible builds.

[COMPILER]
* BUG: Do not use __DATE__ and __TIME__ macros, they prevent reproducible builds.

[ARCHIVER]
* BUG: Do not use __DATE__ and __TIME__ macros, they prevent reproducible builds.

[INFORMER]
* BUG: Do not use __DATE__ and __TIME__ macros, they prevent reproducible builds.
2018-10-26 03:05:02 +02:00
gambas
07e4113e83 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-25 23:35:41 +02:00
gambas
6d4be9a1ae [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: "Run this class" uses ALT+F5 shortcut, and not SHIFT+F5 that was already used.
* BUG: Javascript compression does not break 'return xxx;' expressions anymore.
* NEW: Search result is highlighted now.
* NEW: Update support text file.
2018-10-25 23:32:15 +02:00
gambas
86c1836003 [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() replaces all space by ' '.
* NEW: TextHighlighter.ToRichText() returns an highlighted text in rich text format.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic insertion of string delimiters.

[GB.FORM.MDI]
* NEW: Toolbar: Redraw expander icon.

[GB.FORM.STOCK]
* NEW: Redraw 'spell-check' icon.
2018-10-25 23:28:46 +02:00
Benoît Minisini
b8987158d3 Merge branch 'ssl' into 'master'
Reduce deprecated features

See merge request gambas/gambas!49
2018-10-22 21:22:11 +00:00
bgermann
9d61797908 Install AppStream in non-legacy metainfo directory
[DEVELOPMENT ENVIRONMENT]
* NEW: Install AppStream in non-legacy metainfo directory
2018-10-22 22:57:13 +02:00
bgermann
c41ebd5dda [GB.OPENSSL] Replace deprecated RAND_pseudo_bytes
[GB.OPENSSL]
* NEW: Replace the deprecated (as of OpenSSL 1.1.0) function RAND_pseudo_bytes with RAND_bytes
2018-10-22 22:52:52 +02:00
bgermann
730bd63a34 Make main compile on Hurd
Replace some BSD-exclusive with Linux-only ifdefs to not pollute term
with Hurd ifdefs
2018-10-17 22:08:50 +02:00
gambas
921067cd34 The IsAlnum() function was never defined in the subroutine symbol table!
[COMPILER]
* NEW: The IsAlnum() function was never defined in the subroutine symbol table!
2018-10-16 19:31:24 +02:00
gambas
1c6a9c1b52 Define the TRUE/FALSE constant in the generated code again.
[GB.JIT]
* NEW: Define the TRUE/FALSE constant in the generated code again.
2018-10-16 19:30:28 +02:00
Benoît Minisini
aab5aecd72 Merge branch 'mipsterm' into 'master'
Fix missing define on MIPS

See merge request gambas/gambas!47
2018-10-16 17:29:38 +00:00
Benoît Minisini
f24657f3ba Merge branch 'master' into 'master'
Fix undefined TRUE/FALSE in postgresql driver, don't use or define TRUE/FALSE constants if not needed, and fix some english mistakes.

[INTERPRETER]
* BUG: Fix some english mistakes in comments of various files.

[GB.DB.POSTGRESQL]
* BUG: Fix undefined TRUE/FALSE

[GB.DB.SQLITE2]
* NEW: Do not define TRUE/FALSE constants.

[GB.GTK]
* NEW: Do not use TRUE/FALSE constants in 'font-parser.cpp'.

[GB.GTK3]
* NEW: Do not use TRUE/FALSE constants in 'font-parser.cpp'.

[GB.JIT]
* NEW: Remove the definition of TRUE/FALSE constants in generated code. That prevents the generated code from compiling, so it will be undone in a next commit.

[GB.SIGNAL]
* BUG: Fix an english mistake in an error message.

See merge request gambas/gambas!45
2018-10-16 17:29:19 +00:00
bgermann
1d93023181 Fix missing define on MIPS
More information: http://lists.busybox.net/pipermail/buildroot/2015-October/140931.html
2018-10-15 21:54:31 +02:00
bgermann
dace3b09ac Remove boolean definitions except in gb_common.h 2018-10-15 18:48:01 +02:00
bgermann
a0e95cc0b8 Spelling: catched -> caught 2018-10-14 21:52:07 +02:00
bgermann
75c0cafe4d [GB.DB.POSTGRESQL] Fix undefined TRUE/FALSE
[GB.DB.POSTGRESQL]
* BUG: Fix undefined TRUE/FALSE
2018-10-14 16:31:24 +02:00
gambas
9b73e821ef Fix a file descriptor leak when a socket fails to connect.
[GB.NET]
* BUG: Fix a file descriptor leak when a socket fails to connect.
2018-10-12 17:12:06 +02:00
gambas
3f002896b5 Panels controls got a smaller default size.
[GB.GTK]
* NEW: Panels controls got a smaller default size.

[GB.GTK3]
* NEW: Panels controls got a smaller default size.

[GB.QT4]
* NEW: Panels controls got a smaller default size.

[GB.QT5]
* NEW: Panels controls got a smaller default size.
2018-10-11 12:33:31 +02:00
gambas
ad8ea52b64 Don't crash after a buffered file failed to close.
[INTERPRETER]
* BUG: Don't crash after a buffered file failed to close.
2018-10-11 12:30:45 +02:00
gambas
901b84a36c Update xdg-utils to 1.1.3 version.
[GB.DESKTOP]
* NEW: Update xdg-utils to 1.1.3 version.
2018-10-11 00:03:41 +02:00
gambas
73a3d976f5 Fix project arguments editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Some fixes in argument editor.
* NEW: Small changes in toolbar buttons.
2018-10-10 10:34:30 +02:00
gambas
0dc57ad4ad ScrollView: Fix layout routine and correctly propagate focus events.
[GB.GUI.BASE]
* BUG: ScrollView: Fix layout routine.
* BUG: ScrollView: Correctly propagate focus events.
2018-10-10 10:32:20 +02:00
gambas
0cafd5dab9 Remove a public variable declared in a parent and in a child class.
[GB.MAP]
* BUG: Remove a public variable declared in a parent and in a child class.
2018-10-10 02:04:48 +02:00
gambas
f89186d6a8 SpinBox: Fix keyboard management when entering a value.
[GB.GUI.BASE]
* BUG: SpinBox: Fix keyboard management when entering a value.
2018-10-09 22:00:41 +02:00
gambas
89184ba8dc Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-08 16:42:24 +02:00
gambas
31929e1e44 Overriding public variables is forbidden, and JIT compiler correctly handles public constants.
[INTERPRETER]
* NEW: Overriding public variables was useless, and is now forbidden to help JIT compiler optimizations.

[GB.JIT]
* BUG: Correctly compile dynamic accesses to public constants.
2018-10-08 16:36:38 +02:00
gambas
a94bc793fe Mouse.State has flags for keyboard modifiers now.
[GB.GTK]
* NEW: Mouse.State has flags for keyboard modifiers now.

[GB.GTK3]
* NEW: Mouse.State has flags for keyboard modifiers now.
2018-10-08 16:35:45 +02:00
gambas
63cf3a235d MouseWheel events on disabled controls are correctly propagated now.
[GB.QT4]
* NEW: Mouse.State has now flags for keyboard modifiers too.
* BUG: MouseWheel events on disabled controls are correctly propagated now.

[GB.QT5]
* NEW: Mouse.State has now flags for keyboard modifiers too.
* BUG: MouseWheel events on disabled controls are correctly propagated now.
2018-10-08 16:34:41 +02:00
gambix
6b7a879232 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-04 14:27:00 +02:00
gambix
2475f36477 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer id not exist
2018-10-04 14:25:46 +02:00
gambas
c41dcb3832 Code editor: Fix spurious scrolling of procedure list.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix spurious scrolling of procedure list.
2018-10-04 12:26:45 +02:00
gambas
f67b8ab307 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-10-04 12:26:11 +02:00
gambas
ddf3275bdc Optimize FileView refresh, and fix SidePanel buttons that sometimes were created twice.
[GB.FORM]
* OPT: FileView: Optimize view refresh.
* BUG: SidePanel: Side buttons were sometimes created twice.
* BUG: SidePanel: Side buttons tooltips are now always correct.
2018-10-04 12:24:08 +02:00
gambas
d46368f276 IconView items highglight is correctly drawn now, and some TreeView optimizations.
[GB.GUI.BASE]
* BUG: IconView: Items highglight is correctly drawn now.
* OPT: TreeView: Allows the view to be locked while a lot of items are added.
* NEW: TreeView: BeforeSort is a new event that allows a caller to prepare its custom view sort.
2018-10-04 12:19:03 +02:00
gambas
af3ef8d130 Paint: Text should now be correctly drawn in all cases.
[GB.GTK]
* BUG: Paint: Text should now be correctly drawn in all cases.

[GB.GTK3]
* BUG: Paint: Text should now be correctly drawn in all cases.
2018-10-04 12:17:53 +02:00
gambas
51230b935d ScrollBar: Correctly handle mouse wheel events.
[GB.QT4]
* BUG: ScrollBar: Correctly handle mouse wheel events.

[GB.QT5]
* BUG: ScrollBar: Correctly handle mouse wheel events.
2018-10-04 12:17:10 +02:00
gambas
b7ac71f285 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-03 16:17:29 +02:00
gambas
bc42b29ce8 Image editor: The property sheet is now disabled when the editor is read-only.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Image editor: The property sheet is now disabled when the editor is read-only.
* BUG: Image editor: Remove a debugging message.
2018-10-03 16:15:33 +02:00
gambas
65b0fb986f DataView: Clicking on the creation row now works correctly again.
[GB.DB.FORM]
* BUG: DataView: Clicking on the creation row now works correctly again.
2018-10-03 16:14:08 +02:00
gambas
261697ae44 Fix ColorPalette, optimize FileView refresh, make the TableView editor position nicer.
[GB.FORM]
* BUG: ColorPalette: Handle mouse wheel events correctly.
* BUG: ColorPalette: Ensure that the current color is visible.
* NEW: ColorChooser: The value slider now handles mouse wheel events.
* OPT: FileView: Sort the files once when the view is reloaded.
* NEW: TableView: Move the editor so that the cell border is correctly visible.
2018-10-03 16:10:03 +02:00