Commit graph

7801 commits

Author SHA1 Message Date
gambas
3d956c269c '_read' and '_write' are two new special methods that allow to make any object serializable by the READ and WRITE instructions.
[INTERPRETER]
* NEW: '_read' and '_write' are two new special methods that allow to make any object serializable by the READ and WRITE instructions.
* NEW: Rename macro that convert a Gambas stream object to the internal stream structure and add a macro that does the reverse conversion.
2019-12-21 17:03:42 +01:00
gambas
64be06797e Reading strings with the READ instruction when the NullTerminatedString property is set now works correctly on all streams.
[INTERPRETER]
* BUG: Reading strings with the READ instruction when the NullTerminatedString property is set now works correctly on all streams.
2019-12-20 00:29:07 +01:00
gambas
4771af3b27 TextBox and TextArea KeyPress events cannot be stolen by other controls anymore.
[GB.GTK]
* BUG: TextBox and TextArea KeyPress events cannot be stolen by other controls anymore.

[GB.GTK3]
* BUG: TextBox and TextArea KeyPress events cannot be stolen by other controls anymore.
2019-12-19 08:59:55 +01:00
gambas
517266b4e4 Don't highlight Null as constant inside the new OPEN NULL syntax.
[GB.EVAL]
* NEW: Don't highlight Null as constant inside the new OPEN NULL syntax.
2019-12-18 07:26:43 +01:00
gambas
05cc5ee6e4 Forgot the new source file.
[INTERPRETER]
* BUG: Forgot the new source file.
2019-12-18 07:01:09 +01:00
gambas
3e0398dbd1 OPEN NULL is a new syntax that opens a null stream.
[INTERPRETER]
* NEW: OPEN NULL is a new syntax that opens a null stream. Reading always returns end of file, and writing does nothing except advancing the file pointer, allowing to know how many bytes were written.

[COMPILER]
* NEW: OPEN NULL is a new syntax that opens a null stream.
2019-12-18 06:59:21 +01:00
gambas
a0af9b3990 Fix some spaces in source code.
[GB.GEOM]
* BUG: Fix some spaces in source code.
2019-12-18 06:58:56 +01:00
gambas
2a6eaf8c8c Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-18 06:34:42 +01:00
Benoît Minisini
53f83fb014 Forgot a semicolon.
[INTERPRETER]
* BUG: Forgot a semicolon.
2019-12-18 05:33:55 +00:00
gambas
d3c0bc2284 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-18 06:32:41 +01:00
gambas
4bca597638 Stream.NullTerminatedString is a new property that tells if writing a string on the stream emits the string length first, or a null terminated zero byte. This property is TRUE by default on memory streams.
[INTERPRETER]
* NEW: Stream.NullTerminatedString is a new property that tells if writing a string on the stream emits the string length first, or a null terminated zero byte. This property is TRUE by default on memory streams.
2019-12-18 06:29:33 +01:00
Benoît Minisini
6c1b9d6858 Really fix serialization of NULL values.
[INTERPRETER]
* BUG: Really fix serialization of NULL values.
2019-12-18 05:29:03 +00:00
gambas
c4b61aea83 Remove an old debugging message displayed when writing a pointer to a stream.
[INTERPRETER]
* BUG: Remove an old debugging message displayed when writing a pointer to a stream.
2019-12-18 06:22:26 +01:00
gambas
b98ca797e4 Fix serialization of NULL values.
[INTERPRETER]
* BUG: Fix serialization of NULL values.
2019-12-18 05:46:26 +01:00
gambas
b8ca134643 Reading a string on a memory stream now correctly skip the terminating null byte.
[INTERPRETER]
* BUG: Reading a string on a memory stream now correctly skip the terminating null byte.
2019-12-16 13:32:49 +01:00
gambas
5e907c649b Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
[CONFIGURATION]
* NEW: Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
2019-12-07 12:16:59 +01:00
Benoît Minisini
cd55a805c9 Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!119
2019-12-07 11:12:03 +00:00
gambix
365d3e0371 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-07 09:31:57 +01:00
gambix
e38d83d418 Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
[GB.SCANNER]
* New: Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
* BUG: Now the ScannerOption Class is exported
2019-12-07 09:30:34 +01:00
gambas
038d9d632a Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 21:23:04 +01:00
gambas
60e3e79500 Make SmtpClient able to send multiple mails correctly.
[GB.NET.SMTP]
* BUG: Make SmtpClient able to send multiple mails correctly.
* NEW: Clear() is a new method that clears all attachments.
2019-12-06 21:22:28 +01:00
gambix
1d550d2d87 Support for multiple scan from the feeder./PageBegin and PageFinished event to manage actions between each page.
[GB.SCANNER]
* NEW: Support for multiple scan from the feeder.
* NEW: PageBegin and PageFinished event to manage actions between each page.
* NEW: Better error management with an Error event
* NEW: An example in the source that use the gb.scanner abilities.
2019-12-06 21:11:36 +01:00
gambas
1e80a40ee8 Fix automatic variable declaration.
[DEVELOPMENT ENVIRONMENT]
* BUG: Return value of CLOSE and SHELL / EXEC ... TO syntax are now taken into account by automatic variable declaration.
* NEW: Fix Gambas font circumflex accent.
* BUG: PROPERTY ... USE is now taken into account by automatic variable declaration.
2019-12-06 00:34:15 +01:00
gambas
27a0499b48 Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
[GB.MARKDOWN]
* NEW: Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
2019-12-06 00:32:16 +01:00
gambas
0f24434285 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 00:31:29 +01:00
gambas
7d86079f34 Fix window buttons and make table headers sticky.
[GB.WEB.FORM]
* NEW: Document the component.
* BUG: Fix window buttons.
* NEW: Make table headers sticky.
2019-12-06 00:29:25 +01:00
gambas
ece3da3909 * Add default margin properties to the Printer class.
[GB.FORM.PRINT]
* NEW: Add default margin properties to the Printer class (MarginTop, MarginBottom, MarginLeft and MarginRight).
2019-12-06 00:27:35 +01:00
GianluigiOr
bfe9ac2cf4 Contains new Italian translations
[GAMBAS-WIKI]
* NEW: The Italian translations are now complete.

[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.

[GB.WIKI]
* NEW: The complete Italian translations.

[GB.TEST]
* NEW: The Italian translation.
2019-12-03 16:31:13 +01:00
gambix
328e86d67e Fixed bugs again on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bugs again on the scanimage parser to take into account various configurations.
2019-12-01 18:53:08 +01:00
gambix
19b6d4845d Fixed bug on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bug on the scanimage parser to take into account various configurations.
2019-12-01 18:35:19 +01:00
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