Commit graph

9361 commits

Author SHA1 Message Date
gambas
b884871927 More bug fixes.
[GB.DB.ODBC]
* BUG: Support for date fields, by assuming their string representation is local.
* BUG: Fix uninitialized memory access in GetConnectedDBName().
* NEW: Add many debugging messages.
* OPT: Reuse the information extracted by query_init() when retrieving information about result fields.
* BUG: Ignore negative field types. Replace them by SQLCHAR.
* BUG: Fix blob_read(), following the MS documentation.
* BUG: Correctly define the table quote character as `"`.
* BUG: When creating a table, booleans are replaced by TINYINT.
2021-04-10 22:39:11 +02:00
gambas
2401333520 X11.ShowDesktop now silently fails if the '_NET_SHOWING_DESKTOP' X11 property is not set.
[GB.DESKTOP.X11]
* BUG: X11.ShowDesktop now silently fails if the '_NET_SHOWING_DESKTOP' X11 property is not set.
2021-04-10 19:45:28 +02:00
gambas
50e3b33eaf Update to the new signature of Result.Release() driver API.
[GB.DB.MYSQL]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.POSTGRESQL]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.SQLITE2]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.SQLITE3]
* NEW: Update to the new signature of Result.Release() driver API.
2021-04-10 16:23:00 +02:00
gambas
3677f9ef34 Fix ton of bugs. Some remains.
[GB.DB.ODBC]
* BUG: Result objects are correctly freed now after the database has been closed.
* BUG: Retrieving the contents of a row now works.
* BUG: Clean-up error handlings with this good old 'goto'. Statement handles should now always correctly be freed.
* OPT: Replace linked lists by arrays almost everywhere.
* NEW: Column names can now be up to 255 characters length.

*
2021-04-10 16:18:29 +02:00
gambas
171b46c2f3 Tells the database driver if the connection has already been closed when releasing a query result.
[INTERPRETER]
* NEW: Add an API to know if a native error has already been raised.

[GB.DB]
* NEW: The Result.Release() driver API now tells if the connection has been closed.
* NEW: Raise an error when retrieving the primary key fails, if the driver has not already raised it.
2021-04-10 16:15:34 +02:00
gambas
cad7c492ee Some little fixes.
[GB.DB.ODBC]
* NEW: Insert some newlines for readability.
* BUG: Fix the 'database_list' API, that crashes if called with requesting only the count.
* BUG: Fix table creation for blob fields (even if they are not supported!).
2021-04-10 03:46:58 +02:00
gambas
256942831f Fix corner-cases for forward-only Result objects.
[GB.DB]
* BUG: Don't call the collation driver routine if the 'no_collation' flag is set by the database driver.
* BUG: Do not try to seek anywhere in the Result object if the 'no_seek' flag is set, even if the row count is positive.
* BUG: Result.Delete() never removes a row from the result set if its row count is negative (i.e. if it is forward-only).
2021-04-10 03:41:31 +02:00
Benoît Minisini
b3c15be26f Merge branch 'master' into 'master'
ODBC in Gambas now works with MDBTools.

See merge request gambas/gambas!219
2021-04-10 01:17:47 +00:00
zxMarce
cd4d935eef Merge branch 'master' of https://gitlab.com/gambas/gambas 2021-04-09 19:46:26 -03:00
zxMarce
0047bdf9c0 Corrects forward-only fetching for MDBTools. 2021-04-09 19:45:57 -03:00
gambas
8947c612ec Project tree: Use a specific icon for the "use inheritance" button.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Use a specific icon for the "use inheritance" button.
2021-04-10 00:26:30 +02:00
gambas
96f28fd0c2 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-10 00:21:40 +02:00
gambas
80978cb169 Picture.Stretch() is a new button that stretches a picture by internally converting it to an Image first.
[GB.GUI.BASE]
* NEW: Picture.Stretch() is a new button that stretches a picture by internally converting it to an Image first.
2021-04-09 23:46:14 +02:00
gambas
de3394a5ac Image editor: Correctly reset the current shape when the selection is cleared.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Correctly reset the current shape when the selection is cleared.
2021-04-09 23:29:46 +02:00
Laurent Carlier
d98af40e70 Merge branch 'zstd-13-enable' into 'master'
fix building on Ubuntu Bionic (18.04LTS)

See merge request gambas/gambas!221
2021-04-09 17:18:44 +00:00
Laurent Carlier
c3811e003d
fix building on Ubuntu Bionic (18.04LTS)
[GB.COMPRESS.ZSTD]
* NEW: Fix building with Ubuntu Bionic (18.04LTS) (zstd > 1.3.2)
2021-04-09 18:52:49 +02:00
gambas
8fa4bba1e8 Decode '+' as spaces in the query part of URL submitted by forms.
[GB.WEB]
* BUG: Decode '+' as spaces in the query part of URL submitted by forms.
2021-04-09 04:09:22 +02:00
gambas
0ea374b842 URL: Rename 'IgnorePlus' argument of Decode() method into 'DoNotDecodePlus' for clarity.
[GB.UTIL.WEB]
* NEW: URL: Rename 'IgnorePlus' argument of Unquote() method into 'DoNotDecodePlus' for clarity.
2021-04-09 04:08:19 +02:00
gambas
5fea1897fb Url$() does not encode spaces with the '+' character anymore, as this is deprecated, and works only inside query part of the URL.
[INTERPRETER]
* BUG: Url$() does not encode spaces with the '+' character anymore, as this is deprecated, and works only inside query part of the URL.
2021-04-09 03:41:02 +02:00
gambas
0b4dc1a162 Update 'user', 'group' and 'identity' icons.
[GB.FORM.STOCK]
* NEW: Update 'user', 'group' and 'identity' icons.
2021-04-08 23:34:52 +02:00
gambas
4e2409ff5a Image editor: Do not crash undo management anymore after a right or middle mouse click on the image.
[DEVELOPMENT ENVIRONMENT]
* NEW: Put the close menu of editors popups at the end.
* BUG: Image editor: Do not crash undo management anymore after a right or middle mouse click on the image.
2021-04-08 22:57:41 +02:00
gambas
32a9a6c9b8 Add new stock icons: 'car', 'factory', 'markup' and 'plane'.
[GB.FORM]
* NEW: Add new stock icons: 'car', 'factory', 'markup' and 'plane'.
2021-04-08 22:55:45 +02:00
gambas
70f1ea5f33 Add new icons and update others.
[GB.FORM.STOCK]
* NEW: Add new icons and update others.
2021-04-08 22:55:18 +02:00
gambas
6e42857474 Tester: Correctly hide test result when starting the test from the menu.
[DEVELOPMENT ENVIRONMENT]
* BUG: Tester: Correctly hide test result when starting the test from the menu.
2021-04-08 15:05:29 +02:00
gambas
d02024edae Option dialog: Use 'identity' icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Use 'identity' icon.
2021-04-08 02:24:26 +02:00
gambas
0a9e0e6618 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-08 02:23:32 +02:00
gambas
e83f21c2b3 Code snippets now use the project tabulation size for indentation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code snippets now use the project tabulation size for indentation.
2021-04-07 20:15:11 +02:00
Laurent Carlier
fcf4ca7cbf Merge branch 'zstd-13-enable' into 'master'
fix building on debian-stable

See merge request gambas/gambas!220
2021-04-07 17:45:18 +00:00
Laurent Carlier
f54c267548
fix building on debian-stable
[GB.COMPRESS.ZSTD]
* NEW: Fix building with debian-stable (zstd > 1.3.7)
2021-04-07 19:01:49 +02:00
gambas
66c62fdd8f Ensure that the debug panel is opened when showing the test result.
[DEVELOPMENT ENVIRONMENT]
* BUG: Ensure that the debug panel is opened when showing the test result.
2021-04-07 04:00:17 +02:00
gambas
385d862ce1 Update 'select-all' icon.
[GB.FORM.STOCK]
* NEW: Update 'select-all' icon.
2021-04-07 03:43:20 +02:00
gambas
96391ef83e Avoid arrangements in some cases. Ignore resize when the parent container has 'Fill' arrangement.
[GB.QT4]
* BUG: Avoid arrangements in some cases.
* NEW: Ignore resize when the parent container has 'Fill' arrangement.

[GB.QT5]
* BUG: Avoid arrangements in some cases.
* NEW: Ignore resize when the parent container has 'Fill' arrangement.
2021-04-07 03:41:44 +02:00
gambas
3992382037 Update the tests configuration file as soon as tests change. Fix farm client filter panel layout.
[DEVELOPMENT ENVIRONMENT]
* BUG: Update the tests configuration file as soon as a test module is modified, deleted or renamed.
* BUG: Color chooser: Do not crash when selecting a separator in the color list.
* BUG: Farm client dialog: Fix the layout of filter panel.
* OPT: Farm client dialog: Cache the autocompletion tag list.
2021-04-07 03:40:55 +02:00
gambas
b67f3752f9 Fix arrangement, and ignore internal focus moves that do not target the official active control.
[GB.GTK]
* BUG: Arrangement now behaves almost exactly like in QT components.
* BUG: Controls cannot have a zero size anymore. It does not work.
* BUG: Ignore internal focus moves that do not target the official active control.

[GB.GTK3]
* BUG: Arrangement now behaves almost exactly like in QT components.
* BUG: DrawingArea: Correctly restore drawing context when an error is raised during the 'Draw' event handler.
* BUG: Controls cannot have a zero size anymore. It does not work.
* BUG: Ignore internal focus moves that do not target the official active control.
2021-04-07 03:30:49 +02:00
gambas
c85f687717 ToolBar: Update the layout later on resize, to help GTK+ components.
[GB.FORM.MDI]
* BUG: ToolBar: Update the layout later on resize, to help GTK+ components.
2021-04-07 02:25:56 +02:00
gambas
9121eb3a26 Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-06 15:40:19 +02:00
gambas
8f4655e923 Require libzstd 1.3 instead of 1.4, to see if it compiles on older Debian/Ubuntus.
[GB.COMPRESS.ZSTD]
* NEW: Require libzstd 1.3 instead of 1.4, to see if it compiles on older Debian/Ubuntus.
2021-04-06 15:38:45 +02:00
Christof Thalhofer
3035fe0444 GambasSelftests test Val with examples from gambaswiki.org
[DEVELOPMENT ENVIRONMENT]
*NEW: GambasSelftests test Val with examples from gambaswiki.org

Fixed also some typo in FastTests()
2021-04-06 10:50:03 +02:00
zxMarce
e078f54480 [GB.DB.ODBC]
* BUG: Fixed logic issues that hindered use with MDBTools.
2021-04-05 23:50:14 -03:00
zxMarce
f7f9e14ff7 Merge branch 'master' of https://gitlab.com/gambas/gambas 2021-04-05 23:42:48 -03:00
zxMarce
bcdc122bce Corrections to ODBC for MDBTools. 2021-04-05 23:36:37 -03:00
gambas
fc98400459 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-06 01:20:03 +02:00
gambas
96293fd9b7 Test panel: Always show it after a test has been run.
[DEVELOPMENT ENVIRONMENT]
* BUG: Test panel: Always show it after a test has been run.
* NEW: Use a lighter color when hovering a project box.
2021-04-06 00:03:32 +02:00
gambas
9ad592afd6 Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-05 23:11:20 +02:00
gambas
6235f7263d Do not lose control focus when the control is temporarily hidden because it is too small or being restacked.
[GB.GTK]
* BUG: Do not lose control focus when the control is temporarily hidden because it is too small or being restacked.

[GB.GTK3]
* BUG: Do not lose control focus when the control is temporarily hidden because it is too small or being restacked.
2021-04-05 23:10:19 +02:00
Christof Thalhofer
fb1730173d test Val(date) with gbStandard 2021-04-05 21:59:23 +02:00
gambas
d51d8f2e0c TextEditor: Setting line flags does not reset the highlighting anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting line flags does not reset the highlighting anymore.
2021-04-05 19:44:41 +02:00
gambas
bd31be2096 Syntax for string constants are correctly generated.
[WIKI]
* NEW: Ignore 'gb.qt5.ext' for the TODO page.
* BUG: Syntax for string constants are correctly generated.
2021-04-05 16:07:28 +02:00
gambas
6ef67e47ae Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-05 15:04:39 +02:00
gambas
f6fab7df97 Update authors.
[GB.COMPRESS]
* NEW: Update authors.
2021-04-05 15:03:38 +02:00