Commit graph

6715 commits

Author SHA1 Message Date
gambas
3cb8b1afc6 Highlight.Analyze works correctly again.
[GB.EVAL]
* BUG: Highlight.Analyze works correctly again.
2018-09-01 12:16:24 +02:00
gambas
22b8c908e9 Update the design of debug windows.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Update the design of debug windows.
* BUG: Debug panel: Do not display the "Current object" group in the variable panel if the current object has no variables.
2018-09-01 12:04:25 +02:00
gambas
cb6f5ced6c Update wiki design.
[WIKI]
* NEW: Update wiki design.
2018-09-01 12:03:35 +02:00
gambas
5b7b62dea3 TableView: The cell editor now takes the color and font properties of the edited cell.
[GB.FORM]
* BUG: TableView: The cell editor now takes the color and font properties of the edited cell.
2018-09-01 12:01:56 +02:00
gambas
9a4c951db4 Make the component compile again.
[GB.QT4.EXT]
* BUG: Make the component compile again.
2018-09-01 09:57:23 +02:00
gambas
69958cde66 F2 key (find definition) works again on labels.
[DEVELOPMENT ENVIRONMENT]
* BUG: F2 key (find definition) works again on labels.
2018-09-01 02:59:23 +02:00
gambas
7e392841d5 FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
[GB.FORM]
* NEW: FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
2018-09-01 00:49:45 +02:00
gambas
2374407b4d [DEVELOPMENT ENVIRONMENT]
* NEW: Update highlighting themes by defining the new color constants.
* NEW: Update French translation.
* BUG: Option dialog: The highlighting color panel now takes the editor font size into account.

[GB.EVAL]
* BUG: Fix string highlighting.
2018-09-01 00:46:48 +02:00
gambas
a73c2ed412 Add three new color constants for syntax highlighting: Escape, Label and Constant.
[COMPILER]
* NEW: Rename a macro constant to avoid a symbol clash when compiling the interpreter.

[INTERPRETER]
* NEW: Get rid of a macro trick in 'gbx_eval.h' header.

[GB.EVAL]
* NEW: Highlight: Add three new color constants for syntax highlighting: Escape, Label and Constant.
* NEW: Rename some source files.
* NEW: Rename some constants.
* NEW: Gambas syntax highlighter now use the three new contants for escape characters in strings, for labels, and for language contants (True, False, Null, +Inf and -Inf).

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new syntax highlighting color constants.

[GB.FORM.EDITOR]
* NEW: Support for the new syntax highlighting color constants.
2018-08-31 15:58:53 +02:00
gambas
7e3f84d1e5 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic completion of string delimiters.
* BUG: TextEditor: Add single quote to HTML and WebPage string delimiters.
2018-08-31 02:11:44 +02:00
gambas
8fb275a2ad Farm client: Display the upload age of each software.
[DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Display the upload age of each software.
2018-08-30 02:48:54 +02:00
gambas
17a6ad0c73 No need to include <crypt.h> anymore.
[GB.CRYPT]
* NEW: No need to include <crypt.h> anymore.
2018-08-29 13:41:57 +02:00
gambas
078a4fe68b Fix merge request !36 made by Bastian Germann.
[GB.CRYPT]
* BUG: Fix merge request !36 made by Bastian Germann.
2018-08-29 11:46:02 +02:00
Benoît Minisini
4ff6099b5e Merge branch 'crypt' into 'master'
Remove crypt.h

See merge request gambas/gambas!36
2018-08-29 09:42:15 +00:00
gambas
d47505114b Merge branch 'master' of gitlab.com:gambas/gambas 2018-08-29 11:23:37 +02:00
gambas
7a680d738b Correctly compile void function arguments.
[GB.JIT]
* BUG: Correctly compile void function arguments.
2018-08-29 11:22:56 +02:00
bgermann
f04492c9ac Remove crypt.h
gb.crypt does not need crypt.h because it only uses crypt functions from
unistd.h. On non-linux systems there is no crypt.h which causes autoconf
to fail.
2018-08-29 09:26:48 +02:00
Benoît Minisini
502244a23c Merge branch 'prefix' into 'master'
Changes to the build system

See merge request gambas/gambas!35
2018-08-29 01:11:22 +00:00
Bastian Germann
b6a00614ef Changes to the build system 2018-08-29 01:11:22 +00:00
gambas
2aad9c0625 Make the documentation on gui components work if gb.qt4 is not installed on the system. At least one GUI component must be present.
[DEVELOPMENT ENVIRONMENT]
* BUG: Make the documentation on gui components work if gb.qt4 is not installed on the system. At least one GUI component must be present.
* BUG: Fix the stylesheet of the offline documentation.
2018-08-29 03:06:36 +02:00
gambas
bde635a666 TextEditor: Automatic brace completion is more clever now.
[GB.FORM.EDITOR]
* NEW: TextEditor: Automatic brace completion is more clever now.
2018-08-28 17:07:35 +02:00
gambas
fc2cbe819a Rename 'ClassStat' class as '_ClassStat' to avoid a possible name collision.
[GB.JIT]
* NEW: Rename 'ClassStat' class as '_ClassStat' to avoid a possible name collision.
2018-08-28 17:05:11 +02:00
gambas
7d16436c5c Eof() now correctly works on file bigger than 4GB opened in direct mode.
[INTERPRETER]
* BUG: Eof() now correctly works on file bigger than 4GB opened in direct mode.
2018-08-27 23:57:30 +02:00
gambas
4145ccd2fa Add an option to tell if we want the debugging panel to be displayed automatically when the debugger starts or when something is printed on the console.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to tell if we want the debugging panel to be displayed automatically when the debugger starts or when something is printed on the console.
2018-08-26 09:08:49 +02:00
gambas
fe3717bc89 Merge branch 'master' of gitlab.com:gambas/gambas 2018-08-25 14:16:14 +02:00
gambas
8939790727 Farm client: The "Show old versions" checkbox is now correctly taken into account when showing softwares.
[DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: The "Show old versions" checkbox is now correctly taken into account when showing softwares. An old version will not be hidden if it is actually installed.
2018-08-25 14:14:07 +02:00
Benoît Minisini
1b3a1480f7 Merge branch 'pkgconfig' into 'master'
Find 5 components' dependencies via pkg-config

See merge request gambas/gambas!34
2018-08-24 23:45:21 +00:00
bgermann
8b4eec26f4 Find 5 components' dependencies via pkg-config
[GB.COMPRESS.ZLIB]
* NEW: Find dependency via pkg-config

[GB.DB.SQLITE2]
* NEW: Find dependency via pkg-config

[GB.NCURSES]
* NEW: Find dependency via pkg-config

[GB.PCRE]
* NEW: Find dependency via pkg-config

[GB.SDL.SOUND]
* NEW: Find dependency via pkg-config
2018-08-24 23:50:47 +02:00
Benoît Minisini
60058fd9a5 Merge branch 'nowget' into 'master'
Replace wget with HttpClient

See merge request gambas/gambas!31
2018-08-23 18:04:02 +00:00
Benoît Minisini
f0dfa829e7 Merge branch 'master' into 'master'
Fix some minor issues found while packaging for Debian without Qt4

See merge request gambas/gambas!30
2018-08-23 18:02:12 +00:00
gambas
c2b2d7d624 If an unknown symbol is called through a parent class reference, the _unknown() method is not called and an error is raised if the unknown symbol exists in the actual child class.
[INTERPRETER]
* NEW: If an unknown symbol is called through a parent class reference, the _unknown() method is not called and an error is raised if the unknown symbol exists in the actual child class.
2018-08-23 12:22:30 +02:00
gambas
706a605cc3 Correctly restore the stack after calling a method through the interpreter, and handle null values as object values having a null address automatically.
[INTERPRETER]
* NEW: Creating a NULL value now clears the object address field so that it can be freely interpreted as a Object value with a null address by the JIT compiled code.

[GB.JIT]
* BUG: Correctly restore stack after calling a method through the interpreter.
2018-08-22 09:30:27 +02:00
gambas
7ab07bd95f Correctly handle optional object arguments.
[GB.JIT]
* BUG: Correctly handle optional object arguments.
2018-08-20 19:57:47 +02:00
gambas
7492efcc0e Always load the class before accessing a static variable, as it may not be ready.
[INTERPRETER]
* BUG: FIx JIT class loading API.

[GB.JIT]
* BUG: Always load the class before accessing a static variable, as it may not be ready.
2018-08-18 15:28:19 +02:00
gambas
07ccec7358 Compile correctly optional arguments initialization.
[GB.JIT]
* BUG: Compile correctly optional arguments initialization.
2018-08-18 12:03:44 +02:00
gambas
d371614662 Correctly compile conversion from object to boolean.
[GB.JIT]
* BUG: Correctly compile conversion from object to boolean.
2018-08-17 01:04:53 +02:00
gambas
979e22f6e9 Correctly load classes from archives other than the main project one during JIT compilation.
[INTERPRETER]
* NEW: When creating a new class, set its component immediately if we know the archive it comes from.

[GB.JIT]
* BUG: Correctly load classes from archives other than the main project one.
2018-08-16 01:50:45 +02:00
gambas
6d35875a56 Correctly raise exceptions on the number of arguments of function calls.
[GB.JIT]
* BUG: Correctly raise exceptions on the number of arguments of function calls.
2018-08-15 08:37:25 +02:00
gambas
0b341e7c91 Compile optional arguments correctly.
[GB.JIT]
* BUG: Compile optional arguments correctly.
2018-08-15 00:01:51 +02:00
gambas
ccce7ad1b7 Add an option to close the tabs with the middle mouse button instead of using little close buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to close the tabs with the middle mouse button instead of using little close buttons.

[GB.FORM]
* NEW: TabPanel: The middle mouse button does not close tabs anymore. It is now a feature only implemented in the Workspace control.

[GB.FORM.MDI]
* NEW: Workspace: CloseWithMouse is a new property. If set, the workspace tabs little close buttons are hidden, and the workspace tabs can be closed with a middle mouse click.
2018-08-14 22:46:41 +02:00
gambas
e491a6759f Allow to compile with gmime 2.4.
[GB.MIME]
* NEW: Allow to compile with gmime 2.4.
2018-08-14 18:24:45 +02:00
gambas
0297c1bafa Load classes without running the _init method, so that the JIT behaviour is closer to the interpreter behaviour.
[INTERPRETER]
* NEW: Add a JIT API for loading classes without running the _init method.

[GB.JIT]
* BUG: Load classes without running the _init method, so that the JIT behaviour is closer to the interpreter behaviour.
2018-08-14 16:46:55 +02:00
gambas
c569a234be Don't leak memory when converting an object to a boolean and correctly pop the arguments from the stack when propagating an exception.
[GB.JIT]
* BUG: Don't leak memory when converting an object to a boolean.
* BUG: Correctly pop the arguments from the stack when propagating an exception.
2018-08-14 12:15:04 +02:00
gambas
ad16238574 Correctly compile subroutines that return an unknown datatype.
[GB.JIT]
* BUG: Correctly compile subroutines that return an unknown datatype.
2018-08-14 10:57:49 +02:00
gambas
3c11086207 Debug panel: Activate the horizontal scrollbar of the search result grid.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debug panel: Activate the horizontal scrollbar of the search result grid.
2018-08-13 23:10:17 +02:00
gambas
698e5dd948 Fix access to objects that can be invalid.
[GB.JIT]
* BUG: Fix access to objects that can be invalid.
2018-08-13 23:01:27 +02:00
gambas
7a129a8d83 Add support fot date variables.
[GB.JIT]
* NEW: Add support fot date variables.
2018-08-13 22:55:01 +02:00
bgermann
4782611dbb Link gb.sdl.sound with libm
sound.c has exp and log calls.

[GB.SDL.SOUND]
* Link with libm
2018-08-13 22:43:57 +02:00
gambas
bc2c0490cf DesktopFile.FromMime() now follows the freedesktop search path specifications.
[GB.DESKTOP]
* BUG: DesktopFile.FromMime() now follows the freedesktop search path specifications.
2018-08-13 11:39:09 +02:00
gambas
ffa3cd0875 Correctly read pointer variables.
[GB.JIT]
* BUG: Correctly read pointer variables.
2018-08-13 00:36:33 +02:00