Commit graph

9385 commits

Author SHA1 Message Date
gambas
cdafe4c211 Use 'String[].Remove()' instead of 'String[].Extract()' which was not needed.
[GB.TEST]
* OPT: Use 'String[].Remove()' instead of 'String[].Extract()' which was not needed.
2021-04-13 00:35:31 +02:00
gambas
c46207cfe8 Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-13 00:11:32 +02:00
gambas
5866d75c09 Disable editor popup when the test output terminal gets the focus.
[DEVELOPMENT ENVIRONMENT]
* BUG: Tester: Start test button is now disabled while the project is tested.
2021-04-13 00:11:22 +02:00
Christof Thalhofer
6872813adc gb.test Prints line numbers for clickable links
[GB.TEST]
*NEW: Prints line numbers in TAP output so that the IDE can create clickable links to the code.
2021-04-12 22:50:36 +02:00
gambas
2cdde247a5 Add new marker stock icons.
[GB.FORM]
* NEW: Add new marker stock icons.
2021-04-12 22:10:11 +02:00
gambas
d9b36b28ea Add new marker stock icons. Make them all black.
[GB.FORM.STOCK]
* NEW: Add new marker stock icons. Make them all black.
2021-04-12 22:09:26 +02:00
gambas
d7b58d9cca Disable editor popup when the test output terminal gets the focus.
[DEVELOPMENT ENVIRONMENT]
* BUG: Disable editor popup when the test output terminal gets the focus.
2021-04-12 18:24:13 +02:00
gambas
1e7be199ed Fix a possible crash in 'Session.Abandon' when using sqlite sessions again.
[GB.WEB]
* BUG: Fix a possible crash in 'Session.Abandon' when using sqlite sessions again.
2021-04-12 16:26:31 +02:00
gambas
24f8ef190c Put the test selection on top of the test suite dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Tester: Put the test selection on top of the test suite dialog.
2021-04-12 16:24:24 +02:00
gambas
fcc1a5f42c Version control: Fix error message layout routine again.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix error message layout routine again.
2021-04-12 16:01:58 +02:00
gambas
6bc3bed5fd Merge branch 'master' of gitlab.com:gambas/gambas 2021-04-12 15:50:54 +02:00
gambas
fec9e2bdc9 Fix a possible crash in 'Session.Abandon' when using sqlite sessions.
[GB.WEB]
* BUG: Fix a possible crash in 'Session.Abandon' when using sqlite sessions.
2021-04-12 15:46:51 +02:00
Christof Thalhofer
aed6f918f4 GambasSelftests test Error and Catch 2021-04-12 10:13:56 +02:00
gambas
09f419084a Version control: Fix error message layout routine.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix error message layout routine.
2021-04-11 21:10:02 +02:00
gambas
2fd6717487 Forgot to add 'earth' stock icon.
[GB.FORM]
* NEW: Forgot to add 'earth' stock icon.
2021-04-11 20:46:49 +02:00
gambas
ffa36051f4 The component is now stable but not terminated.
[GB.WEB.GUI]
* NEW: The component is now stable but not terminated.
2021-04-11 20:45:53 +02:00
gambas
9a7ed71052 Update inheritance icon and WebView control icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update inheritance icon and WebView control icon.
2021-04-11 19:29:43 +02:00
gambas
eca7730053 Update 'internet' icon.
[GB.FORM.STOCK]
* NEW: Update 'internet' icon.
2021-04-11 19:29:08 +02:00
gambas
3bac4242d6 Search dialog: Replace the balloon by a message box, because of Wayland.
[DEVELOPMENT ENVIRONMENT]
* NEW: Test panel: Nicer test result tooltip.
* NEW: Search dialog: Replace the balloon by a message box, because of Wayland.
2021-04-10 23:59:57 +02:00
gambas
9339d2bcdf Fix ODBC to Gambas data conversion.
[GB.DB.ODBC]
* BUG: Fix ODBC to Gambas data conversion.
2021-04-10 23:38:11 +02:00
gambas
9d727a0fb9 Update WebView control icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update WebView control icon.
2021-04-10 23:07:28 +02:00
gambas
a94ee270b7 Add a project icon.
[GB.DESKTOP.X11]
* NEW: Add a project icon.
2021-04-10 23:06:44 +02:00
gambas
3fc89441f2 Add a project icon.
[GB.DESKTOP]
* NEW: Add a project icon.

[GB.FORM.DIALOG]
* NEW: Add a project icon.
2021-04-10 23:06:04 +02:00
gambas
77654d842f Add GB.DateFromString() API.
[INTERPRETER]
* NEW: Add GB.DateFromString() API.
2021-04-10 23:05:09 +02:00
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