Commit graph

5972 commits

Author SHA1 Message Date
gambas
5431ab5638 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-17 15:28:34 +02:00
gambas
898e6b0658 Add '.settings' files to '.gitignore'. 2017-08-17 15:27:31 +02:00
Benoît Minisini
887f2cd743 Merge branch 'generic-odbc' into 'master'
Define unixODBC-only constants if not available

See merge request !4
2017-08-17 11:57:59 +00:00
bgermann
40fe3075be Define unixODBC-only constants if not available
This enables using linking gb.db.odbc with iodbc and possibly any other ODBC implementation for unix-like systems.

The new defines originate from unixODBC's sqlext.h.

[GB.DB.ODBC]
* NEW: Define unixODBC-only constants if they are not available to enable other ODBC backends
2017-08-17 13:29:24 +02:00
Benoît Minisini
bbdf062936 Merge branch 'qt5ext' into 'master'
gb.qt5.ext: Add LCDnumber and Dial classes from gb.qt4.ext

See merge request !5
2017-08-17 10:48:21 +00:00
Benoît Minisini
04175a1ca6 Merge branch 'cygwin' into 'master'
Cygwin changes for 3.10.0

See merge request !3
2017-08-17 10:46:13 +00:00
Laurent Carlier
faa630b567 [GB.QT5.EXT]
* NEW: Add the LCDNumber class from gb.qt4.ext

also remove the Qt3 transitional header/code
2017-08-15 15:39:49 +02:00
Laurent Carlier
7e07d833c5 [GB.QT5.EXT]
* NEW: Add the Dial class from gb.qt4.ext
2017-08-15 15:16:29 +02:00
Tobias Boege
48c951987b [CONFIGURATION]
* NEW: Add (short) commit hash and branch name to gb{a,c,i,x}3 --version when compiled from git
2017-08-15 11:58:48 +02:00
Laurent Carlier
aa559edd9f Add .action directory to .gitignore 2017-08-15 08:38:45 +02:00
Laurent Carlier
e78a7fae66 Add more generated files to .gitignore, remove them from the repository 2017-08-15 08:03:17 +02:00
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
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