Commit graph

5468 commits

Author SHA1 Message Date
Benoît Minisini
4910d9f20b [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Better argument list tab.


git-svn-id: svn://localhost/gambas/trunk@7630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:02:19 +00:00
Benoît Minisini
f458fd15be [GB.FORM]
* BUG: FileChooser: ShowHidden property is correctly restored in all cases now.
* NEW: ListEditor: Editor is a new property that returns the underlying text editor.
* NEW: ListEditor: Add keyboard arrows shortcuts to move across the list.
* NEW: ListEditor: The text editor is now the proxy of the control.


git-svn-id: svn://localhost/gambas/trunk@7629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:01:25 +00:00
Benoît Minisini
55cd241ffe [DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: When displaying the contents of a collection, the Key property is saved and restored so that the debugged program is not altered.


git-svn-id: svn://localhost/gambas/trunk@7628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-11 23:46:22 +00:00
Benoît Minisini
214ce4f43e [INTERPRETER]
* BUG: Collection methods now always update the Key property, being called normally or from the debugger.
* BUG: The debugger now sends the current key when enumerating collection keys.


git-svn-id: svn://localhost/gambas/trunk@7627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-11 23:44:26 +00:00
Fabien Bodard
0944141a51 [GB.REPORT2]
* BUG: ReportImage and ReportSvgImage was not able to use Autoresize.
* NEW: Begin to implement ReportGridView. Not available yet.



git-svn-id: svn://localhost/gambas/trunk@7626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:41:17 +00:00
Benoît Minisini
cd9324c68e [INTERPRETER]
* BUG: Correctly detect error when closing a process stream.
* BUG: Ignore EBADF errors when closing a stream. It means that the underlying file descriptor has already been closed.


git-svn-id: svn://localhost/gambas/trunk@7624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:24:24 +00:00
Benoît Minisini
a3ada1b09d [INTERPRETER]
* BUG: Undo r7620 change.


git-svn-id: svn://localhost/gambas/trunk@7623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:05:45 +00:00
Benoît Minisini
6cee32287c [INTERPRETER]
* BUG: Now raise an error when a stream cannot be closed, instead of silently ignoring it.


git-svn-id: svn://localhost/gambas/trunk@7622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:04:55 +00:00
Benoît Minisini
222a77cf16 [INTERPRETER]
* BUG: Close a buffered stream even if fclose() fails. Temporary fix.


git-svn-id: svn://localhost/gambas/trunk@7620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 18:46:40 +00:00
Henrique
a0441159eb [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-06 19:18:18 +00:00
Benoît Minisini
80938b850d [GB.DB.ODBC]
* NEW: Better way to get record count, by zxWarce.
* NEW: Display the error returned by ODBC, by zxWarce.


git-svn-id: svn://localhost/gambas/trunk@7618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-02 20:39:05 +00:00
Benoît Minisini
48de1a69f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign file creation dialog and put file import in its own dialog.


git-svn-id: svn://localhost/gambas/trunk@7617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-02 01:20:43 +00:00
Benoît Minisini
7a2a1bdace [GB.FORM]
* BUG: MessageView: Successive messages work correctly now.

git-svn-id: svn://localhost/gambas/trunk@7616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:36:59 +00:00
Benoît Minisini
4580e2380a [DEVELOPMENT ENVIRONMENT]
* BUG: Compress calc() CSS function correctly.
* OPT: Avoid useless calls to Stat().
* NEW: Update support list.


git-svn-id: svn://localhost/gambas/trunk@7615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:34:57 +00:00
Benoît Minisini
66d3607dde [GB.NET.SMTP]
* NEW: SmtpClient.Authentication is a new property that allows to define the authentication method explicitly.


git-svn-id: svn://localhost/gambas/trunk@7614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-29 18:20:04 +00:00
Benoît Minisini
f2f26687a9 [INTERPRETER]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-25 23:19:39 +00:00
Benoît Minisini
056190b68d [INTERPRETER]
* BUG: DateDiff() correctly returns zero when asking for the number of days between two timestamps having the same date.



git-svn-id: svn://localhost/gambas/trunk@7612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-25 23:09:51 +00:00
Benoît Minisini
61064b6f6e [INTERPRETER]
* BUG: Week() now works correctly outside of UTC.


git-svn-id: svn://localhost/gambas/trunk@7611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-25 22:59:49 +00:00
Benoît Minisini
c1eb854159 [CONFIGURATION]
* NEW: Detect the fstatat() system function.

[INTERPRETER]
* OPT: Dir() and RDir() are now 10-30% faster by using fstatat() and assuming that directories with just two hard links have no child directories (each sub-directory having one hard-link to its parent directory through the ".." entry).


git-svn-id: svn://localhost/gambas/trunk@7610 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-21 15:48:40 +00:00
Benoît Minisini
a282de2f75 [INTERPRETER]
* BUG: Libraries are also searched in the current directory without version or vendor, for backward-compatibility.


git-svn-id: svn://localhost/gambas/trunk@7606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-21 10:49:15 +00:00
Tobias Boege
1a2c769259 [GB.XML]
* BUG: Fix off-by-one error in utils.cpp (cf. bug #894).



git-svn-id: svn://localhost/gambas/trunk@7605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-17 00:18:40 +00:00
Benoît Minisini
460c29d2de [DEVELOPMENT ENVIRONMENT]
* BUG: Library selection dialog does not crash anymore when the local library path does not exist yet.
* BUG: When creating the library executable, the copy in the local library path is correctly overwritten.


git-svn-id: svn://localhost/gambas/trunk@7604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-16 19:02:38 +00:00
Benoît Minisini
91c76c32a9 [INTERPRETER]
* BUG: Correctly handle the current component interpreter variable when an error occurs.


git-svn-id: svn://localhost/gambas/trunk@7603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-14 16:15:31 +00:00
Benoît Minisini
41b9cc5e36 [INTERPRETER]
* NEW: Library specific path can be relative now. It is then relative to the project executable path.
* NEW: Libraries are now searched in the '~/.local/share/gambas3/lib' directory even if we are not in debugging mode.


git-svn-id: svn://localhost/gambas/trunk@7602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-10 21:45:33 +00:00
Benoît Minisini
fddfe3278b [DEVELOPMENT ENVIRONMENT]
* NEW: Library selection: "Remove" is now "Uninstall".


git-svn-id: svn://localhost/gambas/trunk@7601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:15:04 +00:00
Benoît Minisini
245ef270ec [DEVELOPMENT ENVIRONMENT]
* NEW: Replace the remove menu entry, that was located in the welcome dialog only, by a remove icon present in all recent project lists.
* BUG: Project property dialog: Fix display of not found libraries.
* BUG: Library selection: Removing a library correctly updates the state of buttons now.

git-svn-id: svn://localhost/gambas/trunk@7600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:12:27 +00:00
Benoît Minisini
88d193a4ff [GB.SETTINGS]
* NEW: Settings.ToString() and Settings.FromString() are two internal methods now made public. They convert a value to its string representation, and the contray.


git-svn-id: svn://localhost/gambas/trunk@7599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 08:24:45 +00:00
Benoît Minisini
210a3a3744 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Several arugment lists can be defined now.
* NEW: Library selection dialog is now resizable.


git-svn-id: svn://localhost/gambas/trunk@7598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 05:07:47 +00:00
Benoît Minisini
cd826533d7 [DEVELOPMENT ENVIRONMENT]
* BUG: When a library has no vendor, it is assumed to be the special string "(unknown)".
* NEW: Library are now installed by copying the executable, not creating a symbolic link.
* BUG: Uninstalling a library now works correctly.

git-svn-id: svn://localhost/gambas/trunk@7597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 21:59:37 +00:00
Benoît Minisini
c700a93916 [GB.DBUS.TRAYICON]
* BUG: TrayIcon: Forgot to implement the Tag property!

git-svn-id: svn://localhost/gambas/trunk@7596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 19:43:49 +00:00
Benoît Minisini
ba9621d3a0 [DEVELOPMENT ENVIROMENT]
* BUG: Packager: Fix library support.


git-svn-id: svn://localhost/gambas/trunk@7595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:15:03 +00:00
Benoît Minisini
d52b235e55 [DEVELOPMENT ENVIRONEMNT]
* NEW: Packager: Support for new library management. Autotools packages are not supported yet.


git-svn-id: svn://localhost/gambas/trunk@7594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:06:32 +00:00
Benoît Minisini
5fcf388882 [DEVELOPMENT ENVIRONMENT]
* NEW: New library management and new library selection dialog.
* BUG: Fix crash dialog layout.


git-svn-id: svn://localhost/gambas/trunk@7593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:20:19 +00:00
Benoît Minisini
f34f52b928 [INTERPRETER]
* NEW: New library management.

[COMPILER]
* NEW: New library management.


git-svn-id: svn://localhost/gambas/trunk@7592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:18:49 +00:00
Benoît Minisini
e838904258 [GB.GUI.BASE]
* BUG: GridView: Best row height computation now correctly takes the borders into account.


git-svn-id: svn://localhost/gambas/trunk@7591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:17:15 +00:00
Benoît Minisini
d362153256 [GB.EVAL.HGIHLIGHT]
* BUG: Javascript: Take all space characters into account.
* NEW: Javascript: Try to detect functions declared inside objects.


git-svn-id: svn://localhost/gambas/trunk@7590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:15:46 +00:00
Charlie Reinl
baa0a19ef5 [DEVELOPMENT ENVIRONMENT]
* NEW: remove projects from the project list


git-svn-id: svn://localhost/gambas/trunk@7589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 22:21:54 +00:00
Tobias Boege
364753e3f4 [GB.WEB.FORM]
* BUG: WebExpander: Raise Show and Hide events



git-svn-id: svn://localhost/gambas/trunk@7588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 11:46:38 +00:00
Benoît Minisini
8afaad6c00 [INTERPRETER]
* BUG: Case insensitive comparison is now coherent whether natural comparison is specified or not.


git-svn-id: svn://localhost/gambas/trunk@7587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-25 23:28:18 +00:00
Benoît Minisini
dc04a667c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add description of gb.web.form and gb.qt5.ext components.
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 03:00:22 +00:00
Benoît Minisini
d6246354d4 [GB.QT5.EXT]
* BUG: Forgot to commit a file.


git-svn-id: svn://localhost/gambas/trunk@7585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 01:23:29 +00:00
Benoît Minisini
336056467b [GB.QT5.EXT]
* NEW: New QT5 extension component that just includes the TextEdit control.


git-svn-id: svn://localhost/gambas/trunk@7584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 00:05:22 +00:00
Benoît Minisini
69eba4d3bb [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to lock files that are symbolic links. They are always locked.
* NEW: Text editor: Try to detect functions declared inside an object for javascript files.


git-svn-id: svn://localhost/gambas/trunk@7583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-23 22:23:14 +00:00
Benoît Minisini
5735de6806 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly generate signature of methods having optinal arguments with initializers.


git-svn-id: svn://localhost/gambas/trunk@7582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-19 22:57:20 +00:00
Benoît Minisini
62699a1a9c [GB.DB.POSTGRESQL]
* NEW: Imbricated transactions are now allowed, by using savepoints.


git-svn-id: svn://localhost/gambas/trunk@7581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-18 21:22:06 +00:00
Benoît Minisini
a0f12eea97 [GB.QT4]
* BUG: ComboBox: Assigning zero to the Index property now works correctly in all cases if the ComboBox is editable.

[GB.QT5]
* BUG: ComboBox: Assigning zero to the Index property now works correctly in all cases if the ComboBox is editable.


git-svn-id: svn://localhost/gambas/trunk@7580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 16:49:08 +00:00
Benoît Minisini
888a837352 [GB.NET]
* BUG: SerialPort: Correctly release the polling timer when the serial port is closed.


git-svn-id: svn://localhost/gambas/trunk@7579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 15:58:57 +00:00
Benoît Minisini
cb5641ca98 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Compress and uncompress functions now correctly update the procedure list.


git-svn-id: svn://localhost/gambas/trunk@7578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 00:31:52 +00:00
Fabien Bodard
e69a19e3e6 [GB.REPORT2]
* NEW: Use the gambas internal Expression class to evaluate the ReportLabel Formulas.


git-svn-id: svn://localhost/gambas/trunk@7577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 20:10:44 +00:00
Benoît Minisini
1eec2fb59b [GB.WEB]
* NEW: Add SVG file mime type.
* BUG: Remove automatic session removal when creating a session.


git-svn-id: svn://localhost/gambas/trunk@7575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 14:57:31 +00:00