Commit graph

7921 commits

Author SHA1 Message Date
gambas
8f35362387 Window: set the window size at creation to 1x1, so that there is no default size.
[GB.QT4]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.

[GB.QT5]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.
2019-11-30 07:02:46 +01:00
gambas
b092a95132 Fix static array management.
[COMPILER]
* BUG: Allow static arrays to be used with the point operator.

[INTERPRETER]
* BUG: Fix static array management. They are not read-only anymore. Only methods that want to modify the size of the array are forbidden, as well as the ReadOnly property.
2019-11-30 06:29:17 +01:00
gambas
32ff6f4b36 Add '.startup', '.list' and '.info' to projet default gitignore file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add '.startup', '.list' and '.info' to projet default gitignore file.
2019-11-29 11:06:33 +01:00
gambas
0f8b929e85 Project properties dialog: Add an option to add the current git branch to the project version number.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Project properties dialog: Add an option to add the current git branch to the project version number.
2019-11-26 00:15:23 +01:00
gambas
61e9f2d00a The '@help' command now can retrieve class help comments.
[WIKI]
* NEW: The '@help' command now can retrieve class help comments.
2019-11-26 00:12:47 +01:00
gambas
1e507837a1 Merge branch 'master' of gitlab.com:gambas/gambas 2019-11-26 00:11:48 +01:00
gambas
77af836895 Fix management of dynamically created popups.
[GB.WEB.FORM]
* BUG: Fix management of dynamically created popups.
2019-11-26 00:10:36 +01:00
Benoît Minisini
308282d2da Merge branch 'archlinux-package-fix' into 'master'
Fix Archlinux package generation

See merge request gambas/gambas!118
2019-11-25 21:05:21 +00:00
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
5bd12ffeae JSONCollection.Copy() now correctly returns a JSONCollection object.
[GB.UTIL.WEB]
* BUG: JSONCollection.Copy() now correctly returns a JSONCollection object.
2019-11-24 22:09:25 +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