Commit graph

7580 commits

Author SHA1 Message Date
Laurent Carlier
f1deb8e330 Remove register keyword, deprecated, now reserved keyword with C++17
Fixes "warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]"
with clang

https://en.cppreference.com/w/cpp/keyword/register
2019-10-30 06:53:09 +00:00
gambas
d8abac4cce Fix exponent sign printed twice in float to string conversion.
[INTERPRETER]
* BUG: Fix exponent sign printed twice in float to string conversion.
2019-10-29 09:20:41 +01:00
gambas
f60243ef96 Some fixes in Drag & drop frame management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Draw the frame of control dropped from the toolbox bigger.
* BUG: The frame of control dropped from the toolbox should correctly disappear in all cases.

[GB.GUI.BASE]
* BUG: The DragLeave event is now emitted reliably when the mouse leaves the drag and drop frame.
2019-10-28 20:49:08 +01:00
gambas
bebcc2f36d Prevent possible flickering of drag & drop frame.
[GB.GUI.BASE]
* BUG: Prevent possible flickering of drag & drop frame.
2019-10-28 19:09:54 +01:00
gambas
c63602fc28 Form editor: Draw the control frame as soon as the Drag event is raised, to try to workaround a dnd bug.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Draw the control frame as soon as the Drag event is raised, to try to workaround a dnd bug.
* OPT: Move the bytecode folder instead of copying it.
2019-10-26 22:36:18 +02:00
gambas
44cf32eb9f Fix drag & drop frame management.
[GB.GUI.BASE]
* BUG: Fix drag & drop frame management.
2019-10-26 18:25:22 +02:00
gambas
9aca5f2379 Update project configuration files. 2019-10-26 01:17:02 +02:00
gambas
54742ab8b4 Redraw the 'menu' and 'new-dir' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'menu' and 'new-dir' icon.
2019-10-26 01:15:47 +02:00
gambas
7adf2f0f29 Fix mouse wheel zoom and paper size refresh.
[GB.FORM.PRINT]
* BUG: The paper size is correctly refreshed when the orientation is changed.
* BUG: You can continue to freely zoom with the mouse wheel when current zoom is at 100%.
2019-10-26 01:13:41 +02:00
gambas
230a42956c DocumentView: Some little design changes.
[GB.FORM]
* NEW: DocumentView: Some little design changes.
2019-10-26 01:12:27 +02:00
gambas
65d2b783fe Paint.TextHeight is a new property that returns the height of one line of text, and Paint.FontScale is now "transparent".
[GB.DRAW]
* NEW: Paint.TextHeight is a new property that returns the height of one line of text. This is not the same as Paint.Font.Height, as the device resolution is taken into account.

[GB.GTK]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.GTK3]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.QT4]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.QT5]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.
* BUG: Utility windows now kept being in front of their parent window correctly.
2019-10-26 01:06:18 +02:00
gambas
f75de9a70f Fix highlighting of long lines and comments.
[GB.EVAL.HIGHLIGHT]
* BUG: Fix highlighting of long lines and comments.
2019-10-25 15:24:04 +02:00
gambas
cce7b1f931 Update Gambas 16 fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 fonts.
2019-10-21 09:45:43 +02:00
gambas
8d8c8a71f8 Remove a useless global variable.
[INTERPRETER]
* BUG: Remove a useless global variable.
2019-10-21 09:44:52 +02:00
gambas
4a6031e49f Message boxes now correctly handle multi-line text in buttons.
[GB.GUI.BASE]
* BUG: Message boxes now correctly handle multi-line text in buttons.
2019-10-21 09:37:04 +02:00
gambas
8a0c190b95 Apply Paint.FontScale only when Paint.Font is assigned. Not when one of the Paint.Font properties changes.
[GB.QT4]
* BUG: Apply Paint.FontScale only when Paint.Font is assigned. Not when one of the Paint.Font properties changes.

[GB.QT5]
* BUG: Apply Paint.FontScale only when Paint.Font is assigned. Not when one of the Paint.Font properties changes.
2019-10-19 00:37:17 +02:00
Laurent Carlier
fe2deabfbd Merge branch 'master' into 'master'
[GB.QT5] Workaround "Setting a QCompleter on non-editable QComboBox is not allowed" message

See merge request gambas/gambas!112
2019-10-14 04:48:20 +00:00
Laurent Carlier
6bb136b0cf [GB.QT5]
* BUG: Workaround "Setting a QCompleter on non-editable QComboBox is not allowed" message
2019-10-13 20:32:12 +02:00
gambas
b2b7f786d0 Merge branch 'master' of gitlab.com:gambas/gambas 2019-10-12 23:56:52 +02:00
gambas
47dddd944a Do not imbricate focus events.
[GB.GTK]
* BUG: Do not imbricate focus events.

[GB.GTK3]
* BUG: Do not imbricate focus events.

[GB.QT4]
* BUG: Do not imbricate focus events.

[GB.QT5]
* BUG: Do not imbricate focus events.
2019-10-12 23:55:38 +02:00
Tobias Boege
87f588e7e9 IDE: Update German translation
[DEVELOPMENT ENVIRONMENT]
* NEW: Update German translation
2019-10-12 14:11:18 +02:00
gambas
8c6f234cf4 Do JIT compilation after class loading. Otherwise the JIT compiler may want to load the class that triggers the compilation again.
[INTERPRETER]
* BUG: Do JIT compilation after class loading. Otherwise the JIT compiler may want to load the class that triggers the compilation again.
2019-10-12 13:06:01 +02:00
gambas
9409b6be64 Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.
[GB.GTK]
* NEW: Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.

[GB.GTK3]
* NEW: Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.
2019-10-09 17:17:30 +02:00
gambas
fbb0c62b99 Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.
[GB.QT4]
* BUG: Control.Next and Control.Previous now never return invalid controls.
* NEW: Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.

[GB.QT5]
* BUG: Control.Next and Control.Previous now never return invalid controls.
* NEW: Windows whose Utility property is set now use '_NET_WM_WINDOW_TYPE_DIALOG' instead of '_NET_WM_WINDOW_TYPE_DIALOG'.
2019-10-09 16:44:53 +02:00
gambas
b7f2918fbd Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.
[COMPILER]
* BUG: Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.
2019-10-08 09:12:12 +02:00
gambas
e8ae38e098 Forgot to commit common header files.
[INTERPRETER]
* BUG: Forgot to commit common header files.
2019-10-07 22:04:56 +02:00
gambas
719f7967ad System.Trace is a new property that toggles the dump of the position of each executed line.
[INTERPRETER]
* NEW: Add command-line help for the '-t' option.
* NEW: The '-t' command-line option has a '--trace' long version.
* NEW: System.Trace is a new property that toggles the dump of the position of each executed line.
2019-10-05 04:03:32 +02:00
gambas
bf71bb20cf Merge branch 'master' of gitlab.com:gambas/gambas 2019-10-02 18:02:23 +02:00
gambas
de124a577d Project property dialog: Fix deletion in argument list when pressing Backspace.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 fonts.
* BUG: Project property dialog: Fix deletion in argument list when pressing Backspace.
* NEW: All 3.14 versions will be Gambas Π.
2019-10-02 17:59:59 +02:00
Benoît Minisini
4cc0f07796 Update .gitlab-ci.yml 2019-09-29 18:52:49 +00:00
Benoît Minisini
7428712b1a Update .gitlab-ci.yml 2019-09-28 23:34:24 +00:00
gambas
ab4f7acdad Disable qt4 webkit component. 2019-09-28 23:49:29 +02:00
gambas
e776d5c214 Remove 'libqtwebkit-dev' from 'debian-testing' in '.gitlab-ci.yml'. 2019-09-28 21:53:47 +02:00
gambas
b73b47aca6 Floating-point number to string conversion is now 1.7 times faster.
[INTEPRETER]
* OPT: Floating-point number to string conversion is now 1.7 times faster.
2019-09-28 21:15:59 +02:00
gambas
28df313554 Add a '-t' option that dumps to the standard error the position of each executed line of code.
[INTERPRETER]
* NEW: Add a '-t' option that dumps to the standard error the position of each executed line of code.
2019-09-28 16:53:48 +02:00
gambas
6c4b017c19 Update Gambas 16 px size font. Make it less round and fix many characters.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 px size font. Make it less round and fix many characters.
2019-09-26 14:26:50 +02:00
gambas
f08ce22cdc Fix support of read-only arrays.
[INTERPRETER]
* BUG: Read-only arrays are now really read-only.

[GB.JIT]
* BUG: Support for read-only arrays.
2019-09-26 14:25:37 +02:00
gambas
05d214fbc3 [CONFIGURATION]
* NEW: Switch version to 3.14.90.
2019-09-26 14:25:05 +02:00
gambas
0fbb62d38a Set version to 3.14.0.
[CONFIGURATION]
* NEW: Set version to 3.14.0.
2019-09-23 02:15:35 +02:00
gambas
e5253aa782 Gambas π!
[DEVELOPMENT ENVIRONMENT]
* NEW: Gambas π!
2019-09-23 02:14:00 +02:00
gambas
a7c52a856d Add dark theme versions of component chooser icons (checked, partially checked, locked).
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 fonts.
* BUG: Add dark theme versions of component chooser icons (checked, partially checked, locked).
2019-09-20 00:10:12 +02:00
gambas
f2a64e1617 Fix XmlExplorer constructor declaration.
[GB.XML]
* BUG: Fix XmlExplorer constructor declaration.
2019-09-19 23:57:01 +02:00
gambas
8d7e08cdfe Handle the new error hook.
[GB.NCURSES]
* BUG: Handle the new error hook.
2019-09-17 10:19:08 +02:00
gambas
8a188342ec Don't leak control reference when raising an error from a click event handler.
[GB.GTK]
* BUG: Don't leak control reference when raising an error from a click event handler.

[GB.GTK3]
* BUG: Don't leak control reference when raising an error from a click event handler.

[GB.QT]
* BUG: Don't leak control reference when raising an error from a click event handler.

[GB.QT4]
* BUG: Don't leak control reference when raising an error from a click event handler.
2019-09-17 10:12:48 +02:00
gambas
7a49f039b5 Uncatched errors raised from an event handler can be ignored now.
[INTERPRETER]
* NEW: Uncatched errors raised from an event handler can be ignored now.

[GB.GTK]
* NEW: Uncatched errors raised from an event handler can be ignored now.

[GB.GTK3]
* NEW: Uncatched errors raised from an event handler can be ignored now.

[GB.QT4]
* NEW: Uncatched errors raised from an event handler can be ignored now.

[GB.QT5]
* NEW: Uncatched errors raised from an event handler can be ignored now.
2019-09-17 10:10:36 +02:00
gambas
4c1850e66c Update Gambas 16 fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 fonts.
2019-09-14 23:44:23 +02:00
gambas
f34989d4be Always specify the direction of input method arguments in introspection, otherwise the 'qdbusviewer' tool does not work.
[GB.DBUS]
* BUG: Always specify the direction of input method arguments in introspection, otherwise the 'qdbusviewer' tool does not work.
2019-09-12 03:40:44 +02:00
gambas
6c9e09730d Add a bookmark on the current project in all directory and file choosers.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a bookmark on the current project in all directory and file choosers.
2019-09-12 03:39:04 +02:00
gambas
a75610924a Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
[GB.FORM]
* NEW: Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
* NEW: Add separators between the different kind of bookmarks in the bookmark menu.
2019-09-12 03:37:07 +02:00
gambas
225f2833da Fix again the management of the new new PROPERTY ... USE syntax.
[COMPILER]
* NEW: Don't emit debugging information for generated functions, but emit void sections for backward compatibility.
* NEW: Don't emit source file path in the debugging information.
2019-09-12 03:23:38 +02:00