Commit graph

7465 commits

Author SHA1 Message Date
gambas
9893891365 ASSERT ... PRINT or ERROR allows to use PRINT or ERROR to print a message when the assertion fails.
[COMPILER]
* NEW: ASSERT ... PRINT or ERROR allows to use PRINT or ERROR to print a message when the assertion fails.
2019-03-15 19:36:22 +01:00
gambas
01cb3d2a55 Just some changes due to the new minus unary operator formatting. 2019-03-14 02:48:19 +01:00
gambas
0bbf4761d6 Enhance formatting of unary minus operator.
[GB.EVAL]
* NEW: Enhance formatting of unary minus operator.
2019-03-14 02:47:36 +01:00
gambas
ddfdb080f7 Form editor: The dialog for editing text property now displays the name of the editer property in its title.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Form editor: The dialog for editing text property now displays the name of the editer property in its title.
* NEW: Project property dialog: Add GB_NO_JIT as pre-defined environment variable.
* BUG: Project property dialog: The environment variable table now automatically resizes its columns.
2019-03-14 02:13:42 +01:00
gambas
a8bcabb741 Unary minus operator is now sticked to its argument when put between parentheses or brackets.
[GB.EVAL]
* NEW: Unary minus operator is now sticked to its argument when put between parentheses or brackets.
2019-03-14 01:52:37 +01:00
gambas
d26bb8594d GridView: Make selected color less transparent.
[GB.GUI.BASE]
* NEW: GridView: Make selected color less transparent.
2019-03-13 21:36:30 +01:00
gambas
d3a182aa0e Raise an error if there is not enough local slots for control structures.
[COMPILER]
* BUG: Raise an error if there is not enough local slots for control structures.
2019-03-13 14:25:32 +01:00
gambas
63d9d81bd2 Disabling JIT compiler works correctly again.
[INTERPRETER]
* BUG: Disabling JIT compiler works correctly again.
2019-03-13 12:59:14 +01:00
gambas
dd336c2067 Merge branch 'master' of gitlab.com:gambas/gambas 2019-03-12 03:50:52 +01:00
gambas
a0bcf85bd4 Active file descriptor watches and active timers are now automatically transferred to the component declaring a custom event loop.
[INTERPRETER]
* BUG: Active file descriptor watches and active timers are now automatically transferred to the component declaring a custom event loop. Consequently, a process started before the declaration of the event loop will have its termination signal correctly catched.
* NEW: Use waitpid() instead of wait4().

[GB.GTK]
* BUG: Declare the event loop hook last so that active file descriptor watches and active transfer are automatically transferred.

[GB.GTK3]
* BUG: Declare the event loop hook last so that active file descriptor watches and active transfer are automatically transferred.

[GB.QT4]
* BUG: Declare the event loop hook last so that active file descriptor watches and active transfer are automatically transferred.

[GB.QT5]
* BUG: Declare the event loop hook last so that active file descriptor watches and active transfer are automatically transferred.
2019-03-12 03:46:30 +01:00
Jorge Carrión Molpeceres
263d5660c8 Update Workspace.class 2019-03-11 20:35:57 +00:00
Jorge Carrión Molpeceres
d144a76cee Update FWorkspace.class 2019-03-11 20:34:44 +00:00
Benoît Minisini
bec2b07802 Merge branch 'master' into 'master'
Updates, bugfixes, a few code reorganization and inline comments.

See merge request gambas/gambas!77
2019-03-11 18:48:37 +00:00
Gen Braga
02fe868274 [GP.MAP]
* BUG: Small bug fixes.
2019-03-11 18:48:37 +00:00
Benoît Minisini
60b30b7073 Merge branch 'master' into 'master'
Add IDE Category to .desktop

See merge request gambas/gambas!79
2019-03-11 18:48:10 +00:00
Jorge Carrión Molpeceres
2c6944c285 Update FWorkspace.class 2019-03-11 18:34:11 +00:00
Jorge Carrión Molpeceres
523effc9fe Update Workspace.class 2019-03-11 18:30:59 +00:00
gambas
eb8c871740 Don't try to abort JIT compilation if the JIT component is not loaded.
[INTERPRETER]
* BUG: Don't try to abort JIT compilation if the JIT component is not loaded.
2019-03-11 17:53:18 +01:00
gambas
3f7095bbd9 Run JIT compilation in the background to make programs start faster.
[INTERPRETER]
* OPT: JIT compilation is run in two steps.

[GB.JIT]
* OPT: Run JIT compilation in the background.
* NEW: JIT.Debug is a new property that allows to enable JIT debugging messages at runtime.
2019-03-11 16:34:50 +01:00
gambas
209a8faacf Fix SortUsing() methods public declaration.
[INTERPRETER]
* BUG: Fix SortUsing() methods public declaration.
2019-03-08 21:51:27 +01:00
gambas
f38f1b1657 Variant[].Sort() and Variant[].SortUsing() methods have been added and SortUsing() methods now take an optional sort mode as second argument.
[INTERPRETER]
* NEW: Variant[].Sort() and Variant[].SortUsing() methods have been added.
* NEW: SortUsing() methods now take an optional sort mode as second argument.
2019-03-08 21:42:33 +01:00
gambas
cfd5d3bce1 Help browser: Opening the help browser from the welcome dialog does not crash anymore if the left panel is visible.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Opening the help browser from the welcome dialog does not crash anymore if the left panel is visible.
* BUG: Help browser: Fix the left panel contents.
* NEW: Search dialog: Make it larger for long checkbox labels.
2019-03-08 12:48:30 +01:00
gambas
7a5f7701ce SerialPort: Support for any port speed on Linux.
[GB.NET]
* NEW: SerialPort: Open() method now raises more detailed errors.
* NEW: SerialPort: Support for any port speed on Linux.
2019-03-08 12:32:22 +01:00
gambas
c7d6ddd31f String.Right() does not crash anymore on invalid UTF-8 strings.
[INTERPRETER]
* BUG: String.Right() does not crash anymore on invalid UTF-8 strings.
2019-03-08 12:28:41 +01:00
gambas
463bc16b47 Merge branch 'master' of gitlab.com:gambas/gambas 2019-03-07 14:59:25 +01:00
gambas
15641c109a Code formatting now ignores void files, fixes in javascript compression.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code formatting now ignores void files.
* NEW: Connection editor: Display the duration of custom requests is the request editor.
* NEW: Connection editor: The request editor now wraps its contents.
* BUG: Text editor: Some fixes in javascript compression.
2019-03-07 14:56:03 +01:00
Tobias Boege
76da51ce70 gb.inotify: Fix Watch.Events[] accessor
[GB.INOTIFY]
* BUG: Watch.Events._put incorrectly reset events outside the given event set and ignored the assigned value.
2019-03-07 08:24:08 +01:00
gambas
0614a25525 Merge branch 'master' of gitlab.com:gambas/gambas 2019-03-06 03:56:52 +01:00
gambas
d668dadcf5 Array.SortUsing() is a new method that sorts an array according to the sort order defined by another array.
[INTERPRETER]
* NEW: Array.SortUsing() is a new method that sorts an array according to the sort order defined by another array.
2019-03-06 03:55:48 +01:00
gambix
f585889987 [GB.GUI.BASE]
* OPT: Set the ScrollArea Shade more smooth.
2019-03-05 19:11:25 +01:00
gambas
f2de1bc271 Fix some icons.
[GB.FORM.STOCK]
* NEW: Fix some icons.
2019-03-04 01:38:57 +01:00
gambas
b8af5cf289 Merge branch 'master' of gitlab.com:gambas/gambas 2019-03-04 01:36:35 +01:00
gambas
b257119380 String.Code() now returns -1 on incorrect UTF-8 string.
[INTERPRETER]
* BUG: String.Code() now returns -1 on incorrect UTF-8 string.
2019-03-04 01:35:33 +01:00
gambas
a0302b7f77 Optimize division, thanks to Cedron Dawg.
[GB.COMPLEX]
* OPT: Optimize division, thanks to Cedron Dawg.
2019-03-02 12:50:33 +01:00
bgermann
42cc5d63b7 Add IDE Category to .desktop 2019-03-01 19:10:25 +01:00
gambas
6eedf18811 FileView: Sometimes the contents was not correctly refreshed.
[GB.FORM]
* BUG: FileView: Sometimes the contents was not correctly refreshed.
2019-02-28 17:46:53 +01:00
gambas
2d11bf54ef Image editor: Do not crash when using the erase tool while pressing SHIFT key.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support.
* BUG: Image editor: Do not crash when using the erase tool while pressing SHIFT key.
2019-02-28 17:45:26 +01:00
gambas
4840818e04 The page title now starts with the page path.
[WIKI]
* NEW: The page title now starts with the page path.
2019-02-28 17:41:55 +01:00
gambas
fd7ae28ac9 File.RealPath() is a new statis method that returns the the canonicalized absolute pathname of path, with no symbolic links inside.
[INTERPRETER]
* NEW: File.RealPath() is a new statis method that returns the the canonicalized absolute pathname of path, with no symbolic links inside.
2019-02-28 02:57:25 +01:00
gambas
7c808bbba3 Define a new limit constant, that is the maximum length of the System.Language variable. It is 16 bytes.
[INTERPRETER]
* NEW: Define a new limit constant, that is the maximum length of the System.Language variable. It is 16 bytes.
2019-02-26 21:01:18 +01:00
gambas
3cd80f118d Allocate custom language environment variables statically, because environment is accessed by shared library exit routines, after the interpreter memory allocations have been freed.
[INTERPRETER]
* BUG: Allocate custom language environment variables statically, because environment is accessed by shared library exit routines, after the interpreter memory allocations have been freed.
2019-02-26 20:59:03 +01:00
gambas
1f73946947 Put 'gbh3' back into the git repository.
[CONFIGURATION]
* BUG: Don't put main/tools in .gitignore.

[HELPER]
* BUG: Put 'gbh3' back into the git repository.
2019-02-25 00:20:43 +01:00
gambas
aa66e9bcd5 Windows without any active child control correctly catch keyboard events now.
[GB.GTK]
* BUG: Windows without any active child control correctly catch keyboard events now.

[GB.GTK3]
* BUG: Windows without any active child control correctly catch keyboard events now.
2019-02-23 00:15:35 +01:00
gambas
b4a8adf222 Fix string to floating point conversion routine.
[INTERPRETER]
* BUG: Fix string to floating point conversion routine.
2019-02-16 02:00:17 +01:00
Benoît Minisini
b7a9af45c6 Merge branch 'flags' into 'master'
Do not reset CFLAGS or CXXFLAGS

See merge request gambas/gambas!50
2019-02-15 15:07:14 +00:00
Benoît Minisini
905e7c5160 Merge branch 'poppler' into 'master'
Make 'gb.pdf' compile with poppler-0.72

See merge request gambas/gambas!73
2019-02-14 22:27:01 +00:00
Benoît Minisini
40798a7918 Merge branch 'master' into 'master'
Added HTTP Proxy support.

See merge request gambas/gambas!72
2019-02-14 22:26:05 +00:00
Gen Braga
757af8c19c Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
[GB.MAP]
* NEW: Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
2019-02-14 22:26:05 +00:00
gambas
315eb81d0f TextEditor: The inner shadow now covers the margin.
[GB.FORM.EDITOR]
* BUG: TextEditor: The inner shadow now covers the margin.
2019-02-14 23:21:18 +01:00
gambas
a4fb029fbf Curl.DefaultProxy is a new property that allows to define the default proxy of all newly created HttpClient objects.
[GB.NET.CURL]
* NEW: Curl.DefaultProxy is a new property that allows to define the default proxy of all newly created HttpClient objects.
2019-02-14 18:10:34 +01:00