Commit graph

6955 commits

Author SHA1 Message Date
gambas
52c1243c35 Correctly set the stack pointer before raising an exception in JIT code.
[GB.JIT]
* BUG: Correctly set the stack pointer before raising an exception in JIT code.
2018-12-04 00:48:02 +01:00
gambas
4a033f5f06 Deleting a database should not crash anymore.
[GB.DB.SQLITE3]
* BUG: Deleting a database should not crash anymore.
2018-12-02 22:14:54 +01:00
gambas
784d27f7b6 Menu editor: Add a button for inserting a separator.
[DEVELOPMENT ENVIRONMENT]
* NEW: Menu editor: Insert new menu after by default now.
* NEW: Menu editor: Add a button for inserting a separator.
2018-12-02 20:01:07 +01:00
gambas
b3c305d8bf Control.Parent does not crash anymore.
[GB.GTK]
* BUG: Control.Parent does not crash anymore.

[GB.GTK3]
* BUG: Control.Parent does not crash anymore.
2018-11-29 23:55:09 +01:00
gambas
b4d3c7612a Really correctly initialize EC register to NULL before calling a compiled fast method.
[INTERPRETER]
* BUG: Really correctly initialize EC register to NULL before calling a compiled fast method.
2018-11-29 09:10:56 +01:00
gambas
1b0f9e48c5 Correctly initialize EC register to NULL before calling a compiled fast method.
[INTERPRETER]
* BUG: Correctly initialize EC register to NULL before calling a compiled fast method.
2018-11-29 02:11:24 +01:00
gambas
2b6164cce5 Rewrite the global position history to fix it.
[DEVELOPMENT ENVIRONMENT]
* BUG: Rewrite the global position history to fix it.
* NEW: Use the 'menu' icon for the 'hide menu bar' action.
* BUG: Farm client: Check that the 'sha256sum' program is installed before computing a download checksum.
2018-11-27 03:03:32 +01:00
gambas
08e62ac8bd Use the unsafe flag for JIT-compiled scripts.
[BENCHMARKS]
* NEW: Use the unsafe flag for JIT-compiled scripts.
2018-11-27 03:02:23 +01:00
gambas
4ee175d022 Redraw the project icon.
[SCRIPTER]
* NEW: Redraw the project icon.
2018-11-27 03:02:02 +01:00
gambas
f420eaaff1 TextEditor: Add LastLine and LastColumn properties.
[GB.FORM.EDITOR]
* NEW: TextEditor.LastLine is a new property that returns the line position just before a cursor move.
* NEW: TextEditor.LastColumn is a new property that returns the column position just before a cursor move.
2018-11-27 03:01:00 +01:00
gambas
3652b82b3e Let the caller always release the function arguments.
[GB.JIT]
* BUG: Let the caller always release the function arguments.
2018-11-27 02:59:21 +01:00
gambas
44fa1bb634 Do not add spurious spaces in rich text anymore.
[GB.GTK]
* BUG: Do not add spurious spaces in rich text anymore.

[GB.GTK3]
* BUG: Do not add spurious spaces in rich text anymore.
2018-11-26 12:09:34 +01:00
gambas
62d9bf8676 Void optional arguments are compiled correctly again.
[GB.JIT]
* BUG: Void optional arguments are compiled correctly again.
2018-11-26 11:54:39 +01:00
gambas
7fa5bd5220 Set the SP stack pointer before calling the conversion function to workaround the compiler optimizations and prevent a memory leak at function end if the conversion fails and an exception is raised.
[GB.JIT]
* BUG: Set the SP stack pointer before calling the conversion function to workaround the compiler optimizations and prevent a memory leak at function end if the conversion fails and an exception is raised.
2018-11-26 01:20:09 +01:00
gambas
6307eeba59 System information dialog: Make it work on FreeBSD.
[DEVELOPMENT ENVIRONMENT]
* BUG: System information dialog: Make it work on FreeBSD.
2018-11-24 21:38:47 +01:00
gambas
c0c1adaabc Correctly compile variable argument methods.
[GB.JIT]
* BUG: Correctly compile variable argument methods.
2018-11-24 21:33:18 +01:00
gambas
baaf962ab0 JIT now handles "no return value" errors correctly.
[INTERPRETER]
* BUG: Process.Wait() now handles error output correctly.

[GB.JIT]
* BUG: Display compiler error correctly.
* BUG: Handle "no return value" errors correctly.
2018-11-24 20:00:45 +01:00
gambas
112eb14529 Fix a typo with 'libinotify' in 'acinclude.m4'.
[CONFIGURATION]
* BUG: Fix a typo with 'libinotify' in 'acinclude.m4'.
2018-11-24 19:57:12 +01:00
gambas
96d4e71346 JIT now handles "no return value" errors correctly.
[INTERPRETER]
* BUG: Process.Wait() now handles error output correctly.

[GB.JIT]
* BUG: Display compiler error correctly.
* BUG: Handle "no return value" errors correctly.
2018-11-24 13:24:34 +01:00
gambas
7cd9c0b7ad Use 'volatile' to prevent the compiler from optimizing access to stack pointer in exception handling.
[GB.JIT]
* BUG: Use 'volatile' to prevent the compiler from optimizing access to stack pointer in exception handling.
2018-11-23 06:29:50 +01:00
gambas
a8bd754627 Fix optional inotify library detection.
[CONFIGURATION]
* BUG: Fix optional inotify library detection.
2018-11-21 01:49:12 +01:00
gambas
4250fb647d FreeBSD systems memory may be greater than 2GB.
[DEVELOPMENT ENVIRONMENT]
* BUG: FreeBSD systems memory may be greater than 2GB.
2018-11-21 00:12:21 +01:00
gambas
bd8a5fc56e Optionally link to libnotify on non-Linux systems.
[CONFIGURATION]
* BUG: Optionally link to libnotify on non-Linux systems.
2018-11-21 00:11:42 +01:00
gambas
1ba102c453 PictureBox: Setting the Picture or Image property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: PictureBox: Setting the Picture or Image property now correctly refreshes the control.
2018-11-20 23:12:11 +01:00
gambas
55d9d0aa2d Integer constants are correctly handled on little endian systems (arm, powerpc64...).
[INTERPRETER]
* BUG: Integer constants are correctly handled on little endian systems (arm, powerpc64...).
2018-11-20 23:11:13 +01:00
gambas
3e7d502bf0 Correctly detect PowerPC64 systems.
[CONFIGURATION]
* BUG: Correctly detect PowerPC64 systems.
2018-11-20 23:10:45 +01:00
gambas
572839a83c Text editor: The paste button is now a ToolButton as it should be.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: The paste button is now a ToolButton as it should be.
2018-11-20 12:14:58 +01:00
gambas
83c39796eb Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
[GB.FORM.MDI]
* BUG: Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
2018-11-20 12:14:18 +01:00
gambas
44a3f5f664 Control.Parent now ignores the inner containers of Container controls made in Gambas.
[GB.GTK]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.GTK3]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.QT4]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.QT5]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.
2018-11-19 23:21:37 +01:00
gambas
9b77965499 Remove the date from the copyright message defined in 'gb_common.h'
[CONFIGURATION]
* NEW: Remove the date from the copyright message defined in 'gb_common.h'
2018-11-19 23:20:51 +01:00
gambas
3eaa0098d4 TextEditor: Make the automatic insertion of string delimiters more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the automatic insertion of string delimiters more clever.
2018-11-19 23:19:33 +01:00
gambas
6303762ff7 ScrollView: Automatic layout is now done before and after arrangement.
[GB.GUI.BASE]
* BUG: ScrollView: Automatic layout is now done before and after arrangement.
2018-11-16 01:35:59 +01:00
gambas
f0f113da2b Correctly restore EP after it has been used by the translation of the TRY instruction.
[GB.JIT]
* BUG: Correctly restore EP after it has been used by the translation of the TRY instruction.
2018-11-16 01:33:51 +01:00
gambas
a66ce09e79 TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
2018-11-15 00:26:24 +01:00
gambas
d6d558da17 Update French translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
2018-11-15 00:25:46 +01:00
gambas
8011bab536 Option dialog: Use the new DialogManager class to handle offline documentation download.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Use the new DialogManager class to handle offline documentation download.
* BUG: Compressing or uncompressing a file now correctly refreshes the search list.
2018-11-15 00:21:37 +01:00
gambas
507f2d2b3c TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
[GB.FORM.EDITOR]
* BUG: TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
2018-11-14 23:53:38 +01:00
gambas
f30edfa302 ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
[GB.GUI.BASE]
* NEW: ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
2018-11-14 23:52:22 +01:00
gambas
8fe11c046d Shell.MkDir() now handles paths starting with "~/", and Shell.Move() can automatically erase the destination.
[GB.UTIL]
* NEW: Shell.MkDir() now handles paths starting with "~/", and raises an error if creating the directory is impossible.
* NEW: Shell.Move() got a new optional 'Force' argument, that erases the destination path The erase and the move are atomic if possible.
2018-11-14 23:48:49 +01:00
gambas
3bd3cc2cf5 Deleting a database now also deletes the possible associated sqlite temporary files that may be present.
[GB.DB.SQLITE3]
* BUG: Deleting a database now also deletes the possible associated sqlite temporary files that may be present.
2018-11-14 23:47:40 +01:00
gambas
62d6f9553d DownloadManager is a new class for managing downloads, and FtpClient got a TargetFile property.
[GB.NET.CURL]
* BUG: Progress event is now posted, because libcurl can crash if you stop a client during this event.
* NEW: HttpClient and FtpClient now share the same TargetFile property.
* NEW: DownloadManager is a new class that allows to manage several downloads simultaneously.
2018-11-14 23:42:50 +01:00
gambas
7759a19f3a Button automatic resize is not freezed anymore when one of its parent is in design mode.
[GB.QT4]
* BUG: Button automatic resize is not freezed anymore when one of its parent is in design mode.

[GB.QT5]
* BUG: Button automatic resize is not freezed anymore when one of its parent is in design mode.
2018-11-14 23:40:16 +01:00
Tobias Boege
1b66fb3373 gb.ncurses: Fix wrong colors when setting Window.{Pen,Paper}
[GB.NCURSES]
* BUG: Do not OR the window's attr_t into the background chtype in wbkgd(), the background itself has no attributes.
2018-11-14 23:20:13 +01:00
Tobias Boege
0b439f2279 gb.ncurses: Silence compiler warnings
[GB.NCURSES]
* BUG: Silence compiler warnings
2018-11-14 23:19:25 +01:00
gambas
db89271ef6 Merge branch 'master' of gitlab.com:gambas/gambas 2018-11-09 00:07:02 +01:00
gambas
9726b53bb3 Add First and Last read-write properties to arrays.
[INTERPRETER]
* NEW: Add First and Last read-write properties to arrays.
2018-11-09 00:06:20 +01:00
gambix
38da5ea0f7 Change Timer delay for a trigger loop in ReportView layout
[GB.REPORT]
* BUG: Change Timer delay for a trigger loop in ReportView layout lookup. Now the processor will not
  have any over use any more.
2018-11-08 15:05:49 +01:00
Benoît Minisini
b9aca206ee Remove libesd0-dev from debian unstable and use postgresql-dev-11 for debian testing & unstable 2018-11-07 18:46:53 +00:00
gambas
ecf3410e99 Fix a crash in exception management.
[INTERPRETER]
* BUG: Fix a crash in exception management.
2018-11-07 17:21:38 +01:00
gambas
6ffa483e4f TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
[GB.GUI.BASE]
* NEW: TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
2018-11-07 17:20:39 +01:00