Commit graph

7792 commits

Author SHA1 Message Date
gambas
8a91545f11 CsvFile: Support for creating CSV files, not just reading them.
[GB.UTIL]
* NEW: CsvFile: Open() is a new method for opening a CSV file for reading.
* NEW: CsvFile: Create() is a new method for opening a CSV file for writing.
2020-02-19 03:00:45 +01:00
gambas
131653ab1f Converting a string to a pointer returns a pointer pointing at the beginning of the string.
[INTERPRETER]
* NEW: Converting a string to a pointer returns a pointer pointing at the beginning of the string.
2020-02-18 23:03:24 +01:00
gambas
7bedc9af65 Fix VarPtr() behaviour.
[INTERPRETER]
* BUG: VarPtr() on local strings are forbidden again.
* BUG: VarPtr() on variants now returns a pointer to the variant contents.
2020-02-18 20:36:45 +01:00
gambas
b8952bd393 Packager: Take package release number into account in 'rpm' & 'deb' dummy package dependencies.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Take package release number into account in 'rpm' & 'deb' dummy package dependencies.
2020-02-14 23:59:02 +01:00
gambas
6793fbeadb Fix a typo in the icon map file.
[GB.FORM]
* BUG: Fix a typo in the icon map file.
2020-02-14 01:24:19 +01:00
gambas
d2c1b2f31c Text file compression is now transparent, and activated through a toggle button.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text file compression is now transparent, and activated through a toggle button.
* NEW: Uncompressed files are now stored in the '.hidden/.uncompressed' hidden directory. Files are removed from the old 'Uncompressed' visible directory as soon as it is marked compressed again.
* NEW: Use the new 'view-tree' icon for the project tree toggle button.
2020-02-14 00:47:51 +01:00
gambas
4cbe937d04 Add 'view-tree' stock icon.
[GB.FORM]
* NEW: Add 'view-tree' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'view-tree' stock icon.
* NEW: Redraw 'terminal' icon.
2020-02-14 00:46:54 +01:00
gambas
e71c1c8e5f Printer.Paper now works as expected.
[GB.GTK]
* BUG: Printer.Paper now works as expected.

[GB.GTK3]
* BUG: Printer.Paper now works as expected.
2020-02-14 00:45:36 +01:00
gambas
166231e89f Process: The answer to an expected prompt is correctly sent now.
[GB.UTIL]
* BUG: Process: The answer to an expected prompt is correctly sent now.
2020-02-12 17:28:57 +01:00
gambas
311d05d473 The Terminal class has been removed, and replace by an extension of the Process class.
[GB.UTIL]
* NEW: The Terminal class has been removed, and replace by an extension of the Process class. In other word the Expect() method is now directly a method of the Process class.
2020-02-12 02:26:10 +01:00
gambas
ee6b43ca21 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-11 01:53:47 +01:00
gambas
37b29a2191 Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
[GB.UTIL]
* NEW: Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
2020-02-11 01:53:07 +01:00
gambas
bade7e53dd Converting a collection into JSON is a now a bit faster.
[GB.UTIL.WEB]
* OPT: Converting a collection into JSON is a now a bit faster.
2020-02-11 01:50:18 +01:00
gambas
fc463e5f18 FontChooser: Initializing the font tree is now a lot faster.
[GB.FORM]
* OPT: FontChooser: Initializing the font tree is now a lot faster.
2020-02-11 01:48:45 +01:00
gambas
2cd257be5b PEEK is a new instruction that peek some bytes from a stream without removing them.
[COMPILER]
* NEW: Support for the new PEEK instruction.

[INTERPRETER]
* NEW: PEEK is a new instruction that peek some bytes from a stream without removing them, so that they are available to the next READ instruction.
* OPT: IsAscii(), IsLower(), IsPunct()... instructions are now a bit faster.
2020-02-11 01:45:10 +01:00
gambas
cdeb7484cc Fix a possible buffer overflow.
[GB.DB.POSTGRESQL]
* BUG: Fix a possible buffer overflow.
2020-02-10 16:08:08 +01:00
Christof Thalhofer
2fbfa495fc gb.test: Minimal change to test gitlab notification 2020-02-10 13:58:51 +01:00
Christof Thalhofer
d9fff7c380 gb.test Assert.Error clears error 2020-02-10 11:18:29 +01:00
gambas
7475109afe Fix component metadata so that it is usable from the outside.
[GB.WEB.FORM2]
* BUG: Fix component metadata.
* BUG: Don't make test forms exported. They can conflict with other forms with the same name.
* NEW: The Window Close event can be cancelled.
2020-02-05 22:47:23 +01:00
gambas
e4de616b92 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-05 21:32:18 +01:00
Tobias Boege
b76e4001bc gb.openssl: Fix HMac
[GB.OPENSSL]
* BUG: An internal routine's return value was mismatched causing HMac to return without data whenever the digest method was found. (Bug#1725)
2020-02-04 22:55:49 +01:00
gambas
d4860710c0 Running a process without an event name does not reference its observer for nothing anymore.
[INTERPRETER]
* BUG: Running a process without an event name does not reference its observer for nothing anymore.
2020-02-04 10:32:55 +01:00
Christof Thalhofer
313ef71b0f gb.test Assert.Note complains about Null value
[GB.TEST]
    * NEW: Assert.Note complains about Null value
2020-02-01 23:54:01 +01:00
gambas
272cef7472 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-01 20:35:50 +01:00
gambas
8b8acaa4fa Form editor: Support for diff mode.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Form editor: Support for a diff mode that replaces the gui editor by a text editor showing the differences.
2020-02-01 20:32:43 +01:00
Laurent Carlier
fe6bdaa313 Merge branch 'master' into 'master'
Use GlobalParams::getUtf8Map() found in poppler 0.85

See merge request gambas/gambas!131
2020-01-31 06:31:00 +00:00
Evangelos Foutras
6a16e02ee3 Use GlobalParams::getUtf8Map() found in poppler 0.85
[GB.PDF]
* BUG: Make 'gb.pdf' compile with poppler >= 0.85.
2020-01-30 21:08:47 +02:00
Christof Thalhofer
466aec07bb gb.test Assert returns result as boolean
[GB.TEST]
    * NEW: Assertions return test results as boolean. This can be used
    to print out an Assert.Note on failure.
2020-01-28 15:58:13 +01:00
gambas
989a1266a2 Packager: Fix ArchLinux packager.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix ArchLinux packager.
2020-01-27 08:24:52 +01:00
gambas
f0b3762ec1 JIT compiler can compile libraries now.
[INTERPRETER]
* NEW: Internal name of libraries uses a point now between vendor and library name, not a slash anymore.

[GB.DEBUG]
* BUG: Undo "make debugger output writes more robust". Apparently it does not work.

[GB.JIT]
* BUG: Compiling libraries works now.
2020-01-26 07:09:36 +01:00
gambas
af5859f1ca Fix compilation.
[GB.DB.MYSQL]
* BUG: Fix compilation.
2020-01-25 19:25:25 +01:00
gambas
e42215e52c Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-25 17:30:55 +01:00
gambas
0c2345925f Print a warning message if disabling SSL connection is not supported.
[GB.DB.MYSQL]
* NEW: Print a warning message if disabling SSL connection is not supported.
2020-01-25 17:30:17 +01:00
Benoît Minisini
21bddfe274 Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!130
2020-01-25 16:27:23 +00:00
gambas
08efaddf79 Detect SSL_MODE_DISABLED at configure time, to make the component compile on older mysql clients.
[GB.DB.MYSQL]
* BUG: Detect SSL_MODE_DISABLED at configure time, to make the component compile on older mysql clients.
2020-01-25 10:18:23 +01:00
gambas
1e7d80c8a1 Make 'gb.db.mysql' compile with MySQL version < 8.0.0.
[GB.DB.MYSQL]
* BUG: Make 'gb.db.mysql' compile with MySQL version < 8.0.0.
2020-01-25 07:15:29 +01:00
gambas
9613341c41 Make 'gb.db.mysql' compile with MySQL version < 5.7.11.
[GB.DB.MYSQL]
* BUG: Make 'gb.db.mysql' compile with MySQL version < 5.7.11.
2020-01-25 06:48:19 +01:00
gambas
bb87e1885b Make 'gb.db.mysql' compile with MySQL version < 5.6.36.
[GB.DB.MYSQL]
* BUG: Make 'gb.db.mysql' compile with MySQL version < 5.6.36.
2020-01-25 06:17:09 +01:00
GianluigiOr
043ac975aa Contains new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.
2020-01-24 10:39:17 +01:00
gambas
f35e4068bf Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-24 10:27:58 +01:00
gambas
b7a7393b1a Do not crash if the layout user directory does not exist yet.
[DEVELOPMENT ENVIRONMENT]
* BUG: Do not crash if the layout user directory does not exist yet.
2020-01-24 10:27:35 +01:00
Christof Thalhofer
550c56b596 gb.test: Fix plan if just one testmethod called
[GB.TEST]
    * BUG: Fix plan that counted all testmethods in a container even if just one was called
2020-01-24 10:10:39 +01:00
gambas
902fd4aae2 Add support for GB_DB_MYSQL_NOSSL environment variable, that allows to disable SSL connections. They are buggy in some versions of the mysql client library.
[GB.DB.MYSQL]
* NEW: Add support for GB_DB_MYSQL_NOSSL environment variable, that allows to disable SSL connections. They are buggy in some versions of the mysql client library.
2020-01-24 08:33:54 +01:00
gambas
71288ea628 Fix some space typos. 2020-01-24 08:33:05 +01:00
gambas
e6cd4fc302 Add global interface layout save/restore ability.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Remove "Minimize on execution" option.
* NEW: Option dialog: Remove "Quiet external commands" option.
* BUG: Some fixes in diff mode management.
* NEW: Option dialog: Add global interface layout save/restore ability.
* NEW: Option dialog: Provide two default layouts : a default one, and a compact one.
* BUG: Fix some unreadable colors in 'zen' theme.
* NEW: Update French translation.
2020-01-24 08:28:46 +01:00
gambas
0fa6323186 Add Toolbar properties and methods needed to implement global save/restore of toolbar layouts.
[GB.FORM.MDI]
* NEW: Toolbar: Settings is a new property that allows to return or set the toolbar layout as a string.
* NEW: Toolbar: GetLayout() is a new static method that returns the saved layout of a toolbar from its key.
* NEW: Toolbar: SetLayout() is a new static method that defines the saved layout of a toolbar from its key.
2020-01-24 08:25:06 +01:00
gambas
6798771a6e IconPanel: Scale the panel icons so that each panel title has the same height.
[GB.FORM]
* NEW: IconPanel: Scale the panel icons so that each panel title has the same height.
2020-01-24 08:23:44 +01:00
gambas
95ee02ef3f IconView: Do not use rounded rectangles anymore for selection frames.
[GB.GUI.BASE]
* NEW: IconView: Do not use rounded rectangles anymore for selection frames.
2020-01-24 08:22:33 +01:00
gambas
f1780045e8 Use the KDE SVG version of Tux that is a lot smaller.
[GB.FORM]
* OPT: Use the KDE SVG version of Tux that is a lot smaller.
2020-01-24 08:13:05 +01:00
gambas
ccf1491037 Fix Drag() that was returning the drag frame instead of the target control.
[GB.GTK]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GTK3]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GUI.BASE]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT4]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT5]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.
2020-01-24 08:12:01 +01:00