Commit graph

7612 commits

Author SHA1 Message Date
Laurent Carlier
c698c31908
Fix Archlinux package generation
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix archlinux package generation.
* NEW: Update French translation.

Fixes bug report 1682
2019-11-25 18:36:00 +01:00
gambas
4509c61b31 Add '_ready' to the list of special methods.
[DEVELOPMENT ENVIRONMENT]
* BUG: Add '_ready' to the list of special methods.
2019-11-21 18:40:30 +01:00
gambas
0c9461d974 Correctly deal with '&' in bookmark names and MenuButton shortcuts.
[GB.FORM]
* BUG: MenuButton: Correctly deal with '&' shortcut character.
* BUG: FileChooser: Correctly deal with '&' in bookmark names.
2019-11-21 18:37:48 +01:00
gambas
9e07819719 Fix quoted-printable encoding of headers and mime part boundaries.
[GB.NET.SMTP]
* BUG: Fix quoted-printable encoding of headers containing e-mail addresses.
* BUG: Add '_=' sequence in mime part boundaries, as this sequence should not be present in encoded data.
2019-11-19 22:31:48 +01:00
gambas
3bbb4c4b8d Use the VERSION file for component version.
[GB.TEST]
* NEW: Use the VERSION file for component version.
2019-11-16 00:00:33 +01:00
gambas
410d8e8b5b Document the component with help comments.
[GB.FORM.TERMINAL]
* NEW: Document the component with help comments.
2019-11-15 23:59:32 +01:00
gambas
47ccde0e2e Implement '@{help}' command that inserts help defined in source code comments.
[WIKI]
* NEW: Use the full page width.
* NEW: Implement '@{help}' command that inserts help defined in source code comments.
2019-11-15 23:58:03 +01:00
gambas
61af540536 Disable some compiler warnings and remove unnecessary PACKED directives.
[INTERPRETER]
* BUG: Disable some compiler warnings that generate false positives.

[GB.GEOM]
* BUG: Remove unnecessary PACKED directives.
2019-11-15 23:53:25 +01:00
gambas
575bdb30d7 Add 'gb.test' to the 'comp/src/order' component list file.
[CONFIGURATION]
* Add 'gb.test' to the 'comp/src/order' component list file.
2019-11-15 23:51:53 +01:00
Benoît Minisini
b15934b2b6 Merge branch 'gb.test-new' into 'master'
new component gb.test

See merge request gambas/gambas!111
2019-11-15 21:33:55 +00:00
Christof Thalhofer
6beaefbe1c new component gb.test
[GB.TEST]
* NEW: component for unittesting
2019-11-15 21:33:54 +00:00
Benoît Minisini
aab0d93763 Merge branch 'qt-warning-fixes' into 'master'
Qt warning fixes

See merge request gambas/gambas!115
2019-11-15 21:25:42 +00:00
gambas
55d7f20d80 Allow initialization of variables associated with property declaration.
[COMPILER]
* NEW: Allow initialization of variables associated with property declaration.
* BUG: Correctly detect help comments in all cases.
2019-11-13 20:06:41 +01:00
gambas
20443dad24 Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
[GB.GUI.BASE]
* NEW: Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
2019-11-10 23:29:42 +01:00
gambas
594e867983 Fix the help browser and add a button that clears the version control terminal output.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix behavior on offline documentation.
* NEW: Help browser: Support for the new '@{help}' wiki command.
* OPT: Refresh the IDE window title only if necessary.
* NEW: Version control: Add a button that clears the version control terminal output.
2019-11-09 22:07:39 +01:00
gambas
c81ec61b3b Switch bytecode version from 3.8 to 3.15.
[CONFIGURATION]
* NEW: Switch bytecode version 3.8 to 3.15.
2019-11-09 12:00:59 +01:00
gambas
20a345cec4 Fix compilation of function calls with variable arguments passing.
[COMPILER]
* BUG: Fix compilation of function calls with variable arguments passing.
* BUG: Remove some useless structure packing directives.

[INTERPRETER]
* BUG: Fix compilation of function calls with variable arguments passing.
2019-11-09 11:58:57 +01:00
gambas
b02810d025 Fix Find() method on Float, Single, and Long arrays.
[INTERPRETER]
* BUG: Fix Find() method on Float, Single, and Long arrays.
2019-11-09 11:34:43 +01:00
gambas
1e962846ac Merge branch 'master' of gitlab.com:gambas/gambas 2019-11-08 15:01:22 +01:00
gambas
ba54195001 Fix author and translator page.
[WIKI]
* BUG: Fix author and translator page.
2019-11-08 15:00:55 +01:00
gambas
115e2e6b28 Display the current branch in the IDE window title.
[DEVELOPMENT ENVIROMENT]
* NEW: Display the current branch in the IDE window title.
* NEW: Use a long dash to separate the application name in the IDE window title.
2019-11-08 14:58:56 +01:00
Benoît Minisini
1c396964e0 Merge branch 'master' into 'master'
Compile with PostgreSQL 12

See merge request gambas/gambas!116
2019-11-03 22:43:08 +00:00
bgermann
b9603c3252 Compile with PostgreSQL 12
[GB.DB.POSTGRESQL]
* Compile with PostgreSQL 12
2019-11-02 19:24:58 +01:00
Laurent Carlier
9e958b2c1e Fix warning about converting a packed CWIDGET pointer.....may result in an unaligned pointer value
Remove PACKED attribute - it doesn't change the size of CWIDGET (56 on x86_64)
2019-11-02 18:53:00 +01:00
Laurent Carlier
3d9f5cc914 Fix compiler warning in gb.qt5 about deprecation of QDesktopWidget::primaryScreen()
QApplication::desktop()->primaryScreen() is deprecated since Qt 5.11
Use QGuiApplication::primaryScreen() instead.
2019-11-02 18:53:00 +01:00
Laurent Carlier
a5836ec535 Fix compiler warning in gb.qt5 about deprecation of QDesktopWidget::availableGeometry() and QDesktopWidget::screenGeometry()
Both are deprecated since Qt 5.11
Use QGuiApplication::screens() instead.
2019-11-02 18:53:00 +01:00
Laurent Carlier
07f35841a3 Fix compiler warning in gb.qt5 about deprecation of QPainter::initFrom()
QPainter::initFrom() is deprecated since Qt 5.13
Use QPainter::begin() instead for both qt4 and qt5 components

v2: remove pf.begin() to avoid warning message "QPainter::begin: Painter already active"
2019-11-02 18:53:00 +01:00
Laurent Carlier
2e1dd1a233 Fix compiler warning in gb.qt5 about deprecation of QString::sprintf()
QString::sprintf() is deprecated since Qt 5.14
Use QString().arg() instead for both qt4 and qt5 components.
2019-11-02 18:53:00 +01:00
Laurent Carlier
082eb5b733 Fix compiler warning in gb.qt5 about deprecation of QString::null
QString::null is deprecated since Qt 5.9
Use QString() instead for both qt4 and qt5 components as it constructs a null string.
2019-11-02 18:53:00 +01:00
Laurent Carlier
daf012a246 Fix compiler warning in gb.qt5 about deprecation of QFontMetrics::width()
QFontMetrics::width() is deprecated since Qt 5.11
2019-11-02 18:52:49 +01:00
Laurent Carlier
3f099c9b83 Partially revert "Remove register keyword, deprecated, now reserved keyword with C++17"
This partially reverts commit f1deb8e330.

Register keyword can be useful when the interpreter is built with '-Os'
2019-10-30 10:37:29 +01:00
Laurent Carlier
947feb2d3d Merge branch 'warning-fixes' into 'master'
Warning fixes

See merge request gambas/gambas!113
2019-10-30 06:53:09 +00:00
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