Commit graph

7535 commits

Author SHA1 Message Date
gambas
3dd1fd493e Fix the JIT compiler: '_init' method, Lock instruction, Object datatype, and DO / REPEAT loops at the beginning of a function now work correctly.
[INTERPRETER]
* BUG: JIT compiler does not run static initializers anymore when loading a class. Otherwise bytecode can be modified before being compiled, leading to a JIT compiler crash.

[COMPILER]
* BUG: Fix LOCK subroutine meta-information.

[GB.JIT]
* NEW: Don't display abortion debugging message if there is no compilation to abort.
* BUG: Object variables are correctly managed now.
* BUG: DO...LOOP and REPEAT...UNTIL at the beginning of the function now is correctly compiled in all cases.
2019-04-04 22:58:06 +02:00
Martín Belmonte
10c86b76ff Update es.po 2019-03-28 18:55:56 +00:00
gambas
a247c14d24 Compile with GStreamer < 1.16.
[GB.MEDIA]
* BUG: Compile with GStreamer < 1.16.
2019-03-28 00:07:05 +01:00
gambas
663e0a4347 Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
[GB.MEDIA.FORM]
* NEW: MediaView: Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
* NEW: MediaView: Resizing the control while the media is paused correctly resizes the displayed frame.
2019-03-25 03:58:35 +01:00
gambas
3d68879247 Support for playing speed rate and step-by-step forward.
[GB.MEDIA]
* NEW: MediaPipeline: Pos is a new synonymous for the Position property.
* NEW: MediaPipeline: Position is a new event that is raised when the media position has changed.
* NEW: MediaPipeline: Seek() is a new method that allows to move the media to a specific position while specifying GStreamer seek flags.
* NEW: MediaPipeline: Speed is a new property that allows to define the media playing speed rate. A negative speed will play backward.
* NEW: MediaPipeline: Forward() is a new method that allows to move forward a specific amount of frames. Moving backward does not work at the moment.
* NEW: Media: Add MediaPipeline.Seek() seek constants.
2019-03-25 03:57:02 +01:00
gambas
b8be1210b3 Update readme files.
[CONFIGURATION]
* NEW: Update readme files.
2019-03-22 13:22:54 +01:00
gambas
b5e2e82355 Option dialog: Fix spacing of some options in 'Project' tab.
[DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Fix spacing of some options in 'Project' tab.
2019-03-22 00:57:30 +01:00
gambas
d7867cb7cd Changes in testing code. 2019-03-21 23:20:00 +01:00
gambas
3c9a861618 TerminalView: the minimal screen height is now 2 lines.
[GB.FORM.TERMINAL]
* NEW: TerminalView: the minimal screen height is now 2 lines.
2019-03-21 23:18:54 +01:00
gambas
107d4032fc NEW: Run Gambas tests last.
[BENCHMARKS]
* NEW: Run Gambas tests last.
2019-03-21 23:18:15 +01:00
gambas
92cde5326e Fix case typo in source code.
[GB.FORM.MDI]
* BUG: Fix case typo in source code.
2019-03-21 23:17:26 +01:00
gambas
dfdbd3bd14 Correctly normalize SQLite session file names.
[GB.WEB]
* BUG: Correctly normalize SQLite session file names.
2019-03-21 23:16:01 +01:00
gambas
0feaec90eb Fix typo in a source file that is not yet used.
[GB.GSL]
* BUG: Fix typo in a source file that is not yet used.
2019-03-21 23:15:23 +01:00
gambas
6c9df4c423 Cosmetic changes in debugger code.
[INTERPRETER]
* NEW: Cosmetic changes in debugger code.

[GB.DEBUG]
* NEW: Cosmetic changes in debugger code.
2019-03-21 23:14:22 +01:00
gambas
2bb7d795b7 Fix Array.Shuffle() on String, Long and Object arrays.
[INTERPRETER]
* BUG: Fix Array.Shuffle() on String, Long and Object arrays.
2019-03-20 19:39:56 +01:00
gambas
a6eb422756 Array.Shuffle() is a new method that randomly shuffles an array using Fisher–Yates algorithm.
[INTERPRETER]
* NEW: Array.Shuffle() is a new method that randomly shuffles an array using Fisher–Yates algorithm.
2019-03-20 15:08:16 +01:00
Benoît Minisini
7df526ac5d Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!82
2019-03-19 16:03:35 +00:00
Benoît Minisini
4605b57760 Merge branch 'master' into 'master'
Workspace: Add CloseButton property.

See merge request gambas/gambas!81
2019-03-19 16:02:42 +00:00
GianluigiOr
a89bd83dd0 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete and correct.
2019-03-15 23:05:32 +01:00
gambas
faa54caf02 Tasks work again.
[INTERPRETER]
* BUG: Tasks work again.
2019-03-15 19:44:48 +01:00
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