Commit graph

6113 commits

Author SHA1 Message Date
bgermann
4331a20835 leave out features not available in Cygwin
[GB.TERM]
* NEW: use preprocessor to leave out features not available in Cygwin
2017-08-14 23:19:01 +02:00
bgermann
68a1b517e0 Revert special Cygwin handling for memrchr
[GB.XML]
* NEW: Revert special Cygwin handling as memrchr is available with newlib's GNU extensions
2017-08-14 23:12:19 +02:00
Laurent Carlier
dbb698765e Add missing to .gitignore 2017-08-13 16:15:24 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Adrien Prokopowicz
4d1db3c607 [DEVELOPMENT ENVIRONMENT]
* NEW: Added support for nested WITH expressions in code completion.
2017-08-12 18:12:13 +00:00
Adrien Prokopowicz
72ddc85f52 [COMPILER]
* BUG: The WITH's expression is now evaluated before entering the WITH's scope.
2017-08-12 18:12:13 +00:00
Adrien Prokopowicz
2343dd7899 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-12 11:28:05 +02:00
Benoît Minisini
47aa838ba2 [DEVELOPMENT ENVIRONMENT]
* OPT: Editor: Some optimizations in identifier completion.
* NEW: Image editor: Add an opacity effect.
* NEW: Update backround images.

[WEBSITE MAKER]
* NEW: Update to 3.10 version.

[WIKI]
* NEW: The '{@classes}' command can take arguments to add custom classes to the list of classes.


git-svn-id: svn://localhost/gambas/trunk@8175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-12 09:15:57 +00:00
gambas
0bedba8ccf Fix README contents. 2017-08-12 10:23:10 +02:00
gambas
a4dbd57388 Update .gitignore to ignore all files generated by compilation. 2017-08-12 10:21:19 +02:00
gambas
1d79972b99 * Add .gitignore to ignore all files generated by './reconf-all' and './configure' 2017-08-12 09:46:45 +02:00
Benoît Minisini
a3410b006f [INTERPRETER]
* NEW: Collection.First is a new property that returns the key of the first element of the collection, or NULL if the collection is void.
* NEW: Collection.Last is a new property that returns the key of the last element of the collection, or NULL if the collection is void.


git-svn-id: svn://localhost/gambas/trunk@8174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-08 12:33:47 +00:00
Benoît Minisini
986e7eeb85 [INTERPRETER]
* NEW: Add an API that allows to create an array class before instanciating it.

[GB.DBUS]
* BUG: When marshalling from DBus to Gambas, create the array classes before instanciating them.


git-svn-id: svn://localhost/gambas/trunk@8173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-07 13:51:33 +00:00
Fabien Bodard
dcabf06cbf [GB.TERM.FORM]
* NEW: New TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-02 20:51:31 +00:00
Benoît Minisini
d42a49b57d [CONFIGURATION]
* NEW: Switch version to 3.10.90.

[GB.DB]
* NEW: Connection.TimeZone is new property that will allow to define the default timezone of dates stored in the database we are connected to. Not implemented yet.


git-svn-id: svn://localhost/gambas/trunk@8168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-24 18:53:33 +00:00
Benoît Minisini
8cd2dba1d4 [GB.UTIL]
* BUG: Date.ToUTC() now actually returns the date, instead of returning nothing.

git-svn-id: svn://localhost/gambas/trunk@8167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 14:15:52 +00:00
Benoît Minisini
b2901f7d41 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Fix identation of code beautifier on lines ending with an operator and on strings spread over multiple lines.


git-svn-id: svn://localhost/gambas/trunk@8166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 13:59:00 +00:00
Benoît Minisini
954f3ff706 [GB.TERM.FORM]
* BUG: Make the component depend on 'gb.term'.


git-svn-id: svn://localhost/gambas/trunk@8165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 01:40:52 +00:00
Benoît Minisini
1abf6bba44 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot to commit the new gambas background.


git-svn-id: svn://localhost/gambas/trunk@8160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-17 20:29:37 +00:00
Benoît Minisini
ce8c9a5fb2 [GB.JIT]
* BUG: Really make gb.jit compile correctly again.


git-svn-id: svn://localhost/gambas/trunk@8157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-15 19:44:05 +00:00
Benoît Minisini
6c9a771ce4 [DEVELOPMENT ENVIRONMENT]
* NEW: Add two new backgrounds, make the cross background bigger, and define the gambas background as default.


git-svn-id: svn://localhost/gambas/trunk@8156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-15 13:06:09 +00:00
Benoît Minisini
d972ad0fb4 [GB.JIT]
* BUG: Try to make gb.jit compile correctly again.


git-svn-id: svn://localhost/gambas/trunk@8154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 17:41:48 +00:00
Benoît Minisini
b8d3e9eea8 [DEVELOPMENT ENVIRONMENT]
* NEW: Simplified chinese translation updated by Yizou He.


git-svn-id: svn://localhost/gambas/trunk@8153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 15:33:43 +00:00
Benoît Minisini
af4773ca8b [DEVELOPMENT ENVIRONMENT]
* BUG: Allow to enter void arguments in project arguments list.

[GB.FORM]
* BUG: TabPanel: Tab buttons now eat the wheel events, so that they do not propagate.

[GB.JIT]
* NEW: Search llvm libraries with 'llvm-config' only.

[GB.QT4]
* BUG: Don't compile the QT5 menu fix.

[GB.WEB.FORM]
* NEW: Add '/~logout' URL to clear the session.


git-svn-id: svn://localhost/gambas/trunk@8151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 14:39:25 +00:00
Benoît Minisini
26a39a94e1 [GB.DESKTOP.GNOME]
* NEW: This component is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@8150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-10 16:43:23 +00:00
Benoît Minisini
d757706672 [GB.DESKTOP]
* BUG: Don't use 'gb.desktop.gnome' anymore, as libgnome-keyring is deprecated. Use the 'secret-tool' program only.

git-svn-id: svn://localhost/gambas/trunk@8149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-10 16:42:28 +00:00
Adrien Prokopowicz
7179635295 [GB.XML]
* BUG: Fix finding the parent document of an element.

[GB.XML.HTML]
* BUG: Fix the serialization of HTML/XHTML documents.



git-svn-id: svn://localhost/gambas/trunk@8148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-23 10:08:40 +00:00
Benoît Minisini
8666cff5d9 [GB.WEB.FORM]
* BUG: Exclude GUI components explicitely, instead of claiming implementing the event loop. Otherwise the IDE allows you to create GUI forms.
* NEW: WebUploader: Define a default event and a default size.
* BUG: WebTable: The first row in correctly unselected again in single selection mode.

git-svn-id: svn://localhost/gambas/trunk@8147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 16:45:39 +00:00
Benoît Minisini
dc683b3d13 [GB.SETTINGS]
* BUG: Don't crash if the window screen number is incorrect.

git-svn-id: svn://localhost/gambas/trunk@8146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 13:31:55 +00:00
Benoît Minisini
a8559b2552 [GB.EVAL.HIGHLIGHT]
* BUG: Fix SQL highlighting of strings that span multiple lines.

git-svn-id: svn://localhost/gambas/trunk@8145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-20 20:41:39 +00:00
Benoît Minisini
04cf87720c [GB.NET.CURL]
* NEW: FtpClient: BufferSize is a new property that allows to define the receive buffer size.
* NEW: HttpClient: BufferSize is a new property that allows to define the receive buffer size.


git-svn-id: svn://localhost/gambas/trunk@8144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-19 23:48:57 +00:00
Benoît Minisini
32402ceb9a [GB.WEB.FORM]
* BUG: This component now claims event loop implementation, so that you cannot check 'gb.web.form' with any other GUI component.
* BUG: Prevent timers from being called recursively.

git-svn-id: svn://localhost/gambas/trunk@8143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-19 22:44:49 +00:00
Benoît Minisini
5189530aaf [INTERPRETER]
* BUG: Don't raise events just after a process has been started and has just been terminated. Postpone them.


git-svn-id: svn://localhost/gambas/trunk@8142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-09 23:00:45 +00:00
Benoît Minisini
a7b8aad5d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better detection of regular expressions when compressing a javascript file.

git-svn-id: svn://localhost/gambas/trunk@8141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-30 13:22:52 +00:00
Benoît Minisini
3a87a5e4bb [GB.WEB]
* NEW: Request.TempDir is a new property that allows to define where the uploaded files are stored.
* NEW: Request.MaxFileSize is a new property that allows to define the maximum size of uploaded files. By default it is 128 MB.

[GB.WEB.FORM]
* NEW: WebUploadArea: Take the new Request.TempDir property into account.
* BUG: Prevent gw.table.onscroll() from failing if the target element does not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@8140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-27 05:35:30 +00:00
Benoît Minisini
cbfcb9fb00 [INTERPRETER]
* BUG: Check if linking with 'librt' is needed to get monotonic clock.


git-svn-id: svn://localhost/gambas/trunk@8139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-26 12:26:39 +00:00
Benoît Minisini
cfacf387ec [CONFIGURATION]
* NEW: Add a autoconf check for monotonic clock.

[INTERPRETER]
* BUG: Use a monotonic clock (if possible) to implement the WAIT instruction.


git-svn-id: svn://localhost/gambas/trunk@8138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-26 00:20:40 +00:00
Benoît Minisini
00a05d9d6d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix duplicated shortcuts in "fake" mode (i.e. when using the IDE to edit an external file).


git-svn-id: svn://localhost/gambas/trunk@8137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-22 15:21:26 +00:00
Benoît Minisini
6afda3dd48 [GB.FORM]
* BUG: ImageView: The Border property returns the accurate value now.

git-svn-id: svn://localhost/gambas/trunk@8136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-22 12:56:46 +00:00
Fabien Bodard
a0fe6c2018 [GB.MAP]
* BUG: Now PolyLine Shape don't close the polygon by default you must add a end point
       to the same position than the first o achieve that.
* NEW: The _ShapeItem class have a new LineWidth property that allow to change the thinkness of the 
       drawing element.



git-svn-id: svn://localhost/gambas/trunk@8135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-16 20:31:57 +00:00
Benoît Minisini
b4182defd0 [GB.WEB.FORM]
* BUG: WebTable: clicking on the checkboxes of a WebTable in multiple selection mode works correctly again.


git-svn-id: svn://localhost/gambas/trunk@8134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-05 15:00:42 +00:00
Benoît Minisini
ec834b36a3 [GB.UTIL]
* NEW: Compute Date.ToUnixTime() with System.TimeZone.


git-svn-id: svn://localhost/gambas/trunk@8133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:56:25 +00:00
Benoît Minisini
0dce432dfe [WIKI]
* NEW: The [...](...) syntax can be used for images links to display a thumbnail images opening a link in a new page (usually the image in full size).

[GB.GTK]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.GTK3]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.FORM]
* BUG: DateChooser: Use light colors when disabled.

[GB.QT4]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.QT5]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.


git-svn-id: svn://localhost/gambas/trunk@8132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:24:30 +00:00
Benoît Minisini
0b9915cce2 [GB.PCRE]
* NEW: RegExp.Greedy is a new constant that allows to remove the ungreedy default option of RegExp.Replace().


git-svn-id: svn://localhost/gambas/trunk@8131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-29 18:42:41 +00:00
Benoît Minisini
c4bdedb4d4 [COMPILER]
* BUG: Oops, forgot to remove a debugging flag.


git-svn-id: svn://localhost/gambas/trunk@8130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 13:46:49 +00:00
Benoît Minisini
c20cbb7972 [COMPILER]
* NEW: New instruction MOVE ... DOWNTO ... that renames a file and erase the destination atomically.

[INTERPRETER]
* NEW: New instruction MOVE ... DOWNTO ... that renames a file and erase the destination atomically.
* BUG: The signal handler now loops until the signal pipe is void.


git-svn-id: svn://localhost/gambas/trunk@8129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 13:18:35 +00:00
Fabien Bodard
f282796b7c [GB.TERM.FORM]
* NEW: New widget TermScrollBar. It allow to display true scrollbar 
       in your terminal window.
* NEW: Begin to work on the TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 09:01:38 +00:00
Benoît Minisini
147b224c25 [GB.FORM]
* BUG: ColorChooser: Don't react to mouse events if disabled.
* BUG: ColorPalette: Don't react to mouse events if disabled.

git-svn-id: svn://localhost/gambas/trunk@8127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 06:44:23 +00:00
Benoît Minisini
acc3a537fb [GB.EVAL.HIGHLIGHT]
* BUG: Javascript: Fix regular expressions highlighting.


git-svn-id: svn://localhost/gambas/trunk@8126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 06:01:29 +00:00
Benoît Minisini
fdd37e7c3b [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Javascript compression now try to detect regular expressions so that they are never split if there is a space inside.


git-svn-id: svn://localhost/gambas/trunk@8125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 05:59:59 +00:00