Commit graph

6728 commits

Author SHA1 Message Date
Benoît Minisini
ce37927180 Merge branch 'netbsd' into 'master'
Improve NetBSD support

See merge request gambas/gambas!37
2018-09-01 10:28:18 +00:00
gambas
847dcd8ebf Remove other files that should not be tracked by git. 2018-09-01 12:23:05 +02:00
gambas
9ffe91c294 Remove files that should not be tracked by git. 2018-09-01 12:21:57 +02:00
gambas
dde015e828 Update some project and component configuration files. 2018-09-01 12:17:56 +02:00
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
bgermann
1b7abb97b7 Correct 3e6d9696 2018-08-30 14:07:18 +02:00
bgermann
3e6d969613 Change enum prefix that collides with statvfs 2018-08-30 13:33:13 +02:00
bgermann
3685f21cbf [GB.TERM] Compatiblitity with NetBSD
[GB.TERM]
* NEW: Compatiblitity with NetBSD
2018-08-30 09:35: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
bgermann
b1a12236ad Convert from statfs to more portable statvfs
[INTERPRETER]
* NEW: Convert from statfs to more portable statvfs
2018-08-29 23:59:11 +02:00
bgermann
9e98045363 [GB.PDF] Compile with C++ 11
[GB.PDF]
* BUG: Compile with C++ 11 which is needed by current poppler versions
2018-08-29 23:22:44 +02:00
bgermann
bb8106cebd Fix local variable conflict for older compilers
[GB.NCURSES]
* Fix local variable conflict for older compilers
2018-08-29 19:50:41 +02:00
bgermann
e74adab7c5 Use FreeBSD exp10() fix for all BSDs
[INTERPRETER]
* BUG: The exp10() function works on all BSDs now
2018-08-29 15:36:25 +02:00
bgermann
a3df769268 Use sys/ioctl.h instead of pty.h
pty.h is not needed because its functions are not used.
Use ioctl.h additionally to the already included termios.h to import the
implicitly used functions/constants.
2018-08-29 14:29:54 +02:00
bgermann
e6028806a0 Fix libltdl workaround for NetBSD 2018-08-29 14:18:33 +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