Commit graph

7284 commits

Author SHA1 Message Date
gambas
ebf5443182 Update some test forms and version numbers. 2019-01-05 18:28:32 +01:00
gambas
8796ddfdcf Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-05 18:13:51 +01:00
gambas
d51800f858 Draw.Image() opacity argument works as expected now.
[GB.SDL2]
* BUG: Draw.Image() opacity argument works as expected now.
2019-01-05 18:13:08 +01:00
Tobias Boege
3a16b32add Fix timezone bug in Date.FromRFC822()
[GB.UTIL]
* NEW: Add Date.FromUTC() as inverse to Date.ToUTC().
* BUG: Fix timezone bug in Date.FromRFC822() and pass all tests.

See the thread "gb.web.feed not stable yet?" [1] for explanations
of the bug and fix.

[1] https://lists.gambas-basic.org/pipermail/user/2018-December/066103.html
2019-01-05 17:31:35 +01:00
Tobias Boege
38ca01684e Improve error message from Date.GetRFC822Zone()
[GB.UTIL]
* OPT: Improve error message from Date.GetRFC822Zone() by showing what couldn't be recognized as a timezone.
2019-01-05 15:58:40 +01:00
Tobias Boege
f11054de74 Propgate internal errors from Date.FromRFC822()
[GB.UTIL]
* NEW: Propagte internal errors from Date.FromRFC822() instead of shadowing them with a Catch block.
2019-01-05 14:48:46 +01:00
Tobias Boege
92e86cff2b Allow to retrieve timezone from Date.FromRFC822()
[GB.UTIL]
* NEW: Allow to retrieve timezone from Date.FromRFC822().
2019-01-05 13:10:53 +01:00
gambas
a584969d0e Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-05 03:58:47 +01:00
gambas
628aa30e54 Take the other requested GUI components into account to choose the toolkit.
[INTERPRETER]
* NEW: Add a API to know if a native component exists on the disk.

[GB.GUI]
* BUG: Take the other requested GUI components into account to choose the toolkit.

[GB.GUI.QT]
* BUG: Take the other requested GUI components into account to choose the toolkit.
2019-01-05 03:57:08 +01:00
gambix
f223d11f8f Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 22:01:07 +01:00
gambix
9dab549cf7 Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-03 21:59:13 +01:00
gambix
f6994008d8 Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 21:52:40 +01:00
gambas
0266ca1f15 InStr() and RInstr() work correctly again when case is ignored and pattern length is at least two characters.
[INTERPRETER]
* BUG: InStr() and RInstr() work correctly again when case is ignored and pattern length is at least two characters.
2019-01-03 19:58:17 +01:00
gambas
e61175c939 Update some component, project and test files. 2019-01-03 10:56:37 +01:00
gambas
26e14d343d ToolPanel does not crash anymore.
[GB.FORM]
* BUG: ToolPanel does not crash anymore.
2019-01-03 10:55:45 +01:00
gambas
a489590b0d URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
[GB.UTIL.WEB]
* NEW: URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
* NEW: URLQuery is a new class that represents the query part of an URL.
2019-01-03 10:55:06 +01:00
gambas
12136b7b0e Remove some useless void lines.
[GB.UTIL]
* BUG: Remove some useless void lines.
2019-01-03 10:31:07 +01:00
gambas
17bbc13df6 Do not use loop initial declaration in generated C code for old gcc versions.
[GB.JIT]
* BUG: Do not use loop initial declaration in generated C code for old gcc versions.
2019-01-03 10:29:44 +01:00
gambas
fe90f3457a Fix an incorrectly declared array.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an incorrectly declared array.
2019-01-03 10:28:56 +01:00
gambas
bceaa0ae53 Compiling a project now recompile all modified translation, not just the translation of the current language.
[DEVELOPMENT ENVIRONMENT]
* NEW: Really update Italian translation.
* BUG: Compiling a project now recompile all modified translation, not just the translation of the current language.
2019-01-03 10:27:03 +01:00
gambas
568ec0b21f Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-02 20:55:56 +01:00
gambas
663737b84f Update version to 3.12.90.
[CONFIGURATION]
* NEW: Update version to 3.12.90.
2019-01-02 20:55:30 +01:00
Benoît Minisini
5940c4aabc Merge branch 'italian-translations' into 'master'
Update Italian translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Italian translation.

See merge request gambas/gambas!52
2019-01-02 14:27:53 +00:00
GianluigiOr
1721182cce IDE: Italian translations 2019-01-02 11:44:06 +01:00
gambas
245427b08e * Get rid of many gcc warnings. 2019-01-02 00:48:58 +01:00
gambas
18fc41b7c7 Update two icons.
[GB.FORM.STOCK]
* NEW: Update two icons.
2019-01-01 16:41:07 +01:00
gambas
96a3414afb Add blurring algorithm attribution.
[CONFIGURATION]
* NEW: Add blurring algorithm attribution.
2019-01-01 15:20:20 +01:00
gambas
f80173621b Entering a string delimiter while text is selected correctly encloses it again.
[GB.FORM.EDITOR]
* BUG: Entering a string delimiter while text is selected correctly encloses it again.
2019-01-01 15:17:35 +01:00
gambas
1919f6ab4c Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-01 15:17:06 +01:00
gambas
8f089f4121 Use the new icon instead of the old one in the welcome dialog and update financial support.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support.
* NEW: Use the new icon instead of the old one in the welcome dialog.
* NEW: The snow is a bit gray now.
2019-01-01 15:15:35 +01:00
gambas
52dfc53afb Support for webm video files.
[WIKI]
* NEW: Support for webm video files.
2019-01-01 15:13:58 +01:00
gambix
ad80136304 [SCRIPTER]
* BUG: Scripter now compile the content of arguments in inline mode (-e).
2018-12-29 13:26:13 +01:00
gambas
9f3ccf1a67 Merge branch 'master' into stable 2018-12-27 16:13:25 +01:00
gambas
634bd9e133 Update version to 3.12.0.
[CONFIGURATION]
* NEW: Update version to 3.12.0.
2018-12-27 15:22:24 +01:00
gambas
fc8be23426 Some little tweaks of firs & snow.
[DEVELOPMENT ENVIRONMENT]
* NEW: Some little tweaks of firs & snow.
2018-12-27 15:08:40 +01:00
gambas
33d9e3950a Better snow algorithm.
[DEVELOPMENT ENVIRONMENT]
* NEW: Better snow algorithm.
2018-12-27 03:53:58 +01:00
gambas
30a74783cf Half of snowflakes ignore the firs.
[DEVELOPMENT ENVIRONMENT]
* NEW: Half of snowflakes ignore the firs.
2018-12-27 00:26:34 +01:00
gambas
bae596cc68 Add firs. Display snow and firs only between Christmas and the Feast of the Circumcision.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add firs. Display snow and firs only between Christmas and the Feast of the Circumcision.
2018-12-27 00:11:45 +01:00
gambas
abc0c857b9 Add a bit of snow for X-Mas.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Add a bit of snow for X-Mas.
2018-12-24 18:03:32 +01:00
gambas
bfc88545c8 Correctly clear observer reference on the observed object when it is freed.
[INTERPRETER]
* BUG: Correctly clear observer reference on the observed object when it is freed.
* BUG: Clear environment variables set by the interpreter, as they can be read by the shared libraries exit routines after main() has been terminated.
2018-12-24 17:57:36 +01:00
gambas
76a15e14ff WebTextBox: Correctly synchronize text before raising Activate event.
[GB.WEB.FORM]
* BUG: WebTextBox: Correctly synchronize text before raising Activate event.
2018-12-23 19:37:56 +01:00
gambas
ffbacc3cee WebTextBox and WebTextArea Change event is now raised at each change, and WebButton.Immediate is a new property that allows the javascript code emitted by the Click event handler to be run by the 'onclick' event immediately.
[GB.WEB.FORM]
* NEW: WebButton: Add the Immediate property. If set, the Javascript code emitted by the Click event handler is executed immediately by the 'onclick' button event. Use this feature when some DOM method (like clipboard copy) works only in the context of a user interaction.
* BUG: WebTextBox: Optimize Change event.
* BUG: WebTextArea: Optimize Change event.
* NEW: WebTextBox: The Change event is now emitted a few milliseconds after each text change.
* NEW: WebTextArea: The Change event is now emitted  a few milliseconds after each text change.
2018-12-22 15:54:24 +01:00
gambas
87f88ac88b Fix Debug instruction.
[INTERPRETER]
* BUG: Fix Debug instruction.
2018-12-21 22:40:47 +01:00
gambas
fc41ff0b23 Assertion errors are now really not catchable anymore.
[INTERPRETER]
* BUG: Assertion errors are now really not catchable anymore.
2018-12-21 03:05:32 +01:00
gambas
a576b687db Make 'gb.pdf' compile when poppler version >= 0.72.
[GB.PDF]
* BUG: Make 'gb.pdf' compile when poppler version >= 0.72.
2018-12-21 02:48:20 +01:00
gambas
c2c18510e1 Assertion errors are now not catchable anymore. They always stop the program.
[INTERPRETER]
* BUG: Assertion errors are now not catchable anymore. They always stop the program.
2018-12-21 00:47:34 +01:00
gambas
da11a82b63 Add Copy() method to WebTextBox and WebTextArea, and fix margins of WebContainer using Row or Column arrangement.
[GB.WEB.FORM]
* BUG: Fix margins of WebContainer using Row or Column arrangement.
* NEW: The '~dump' request now displays the environment variables too.
* NEW: WebTextBox.Copy() is a new method that copies the control text to the clipboard. Works only with https.
* NEW: WebTextArea.Clear() is a new method that clears the control text.
* NEW: WebTextArea.Copy() is a new method that copies the control text to the clipboard. Works only with https.
2018-12-19 10:30:39 +01:00
gambas
d91451cf1e Assert is an new instruction that raises an error as soon as its boolean argument is FALSE.
[COMPILER]
* NEW: Assert is an new instruction that raises an error as soon as its boolean argument is FALSE. The associated bytecode is not emitted if the '-x' option is specified.

[INTERPRETER]
* NEW: Assert is an new instruction that raises an error as soon as its boolean argument is FALSE.

[GB.DEBUG]
* BUG: Fix a potential array overflow.
2018-12-16 00:35:46 +01:00
gambas
22577f48ae Fix compilation by not using global variables as loop variables.
[GB.MYSQL]
* BUG: Fix compilation by not using global variables as loop variables.
2018-12-14 05:19:58 +01:00
gambas
f9aa750a1b Update error messages and take new compiler message prefix into account.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.
* NEW: Update French translation.
* NEW: Take new compiler message prefix into account.
2018-12-14 05:19:28 +01:00