Commit graph

5552 commits

Author SHA1 Message Date
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
Benoît Minisini
9950c094f0 [GB.CRYPT]
* BUG: Add <unistd.h> include to fix a warning on FreeBSD.


git-svn-id: svn://localhost/gambas/trunk@7574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-10 23:20:57 +00:00
Benoît Minisini
66a45b3c45 [DEVELOPMENT ENVIRONMENT]
* OPT: Form editor: If a translation string ends with three dots, don't put them in the translation.
* BUG: If GB_GUI is not explicitly defined, remove it from the environment of the debugged process, so that it does not inherit the one defined by the IDE gb.gui.qt component.


git-svn-id: svn://localhost/gambas/trunk@7573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-10 22:41:48 +00:00
Benoît Minisini
520b805bad [GB.WEB.FORM]
* BUG: WebWindow: Use bigger button images for bigger fonts.
* BUG: WebWindow: Maximized windows always use the full window even if it is resized.


git-svn-id: svn://localhost/gambas/trunk@7572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 14:13:53 +00:00
Adrien Prokopowicz
71ad28e365 [GB.XML]
* BUG: XmlReader: Fix text node management.
* BUG: Fix Gambas headers inclusion in various places.

git-svn-id: svn://localhost/gambas/trunk@7571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 12:13:38 +00:00
Benoît Minisini
3eb39cad1e [GB.WEB.FORM]
* NEW: WebWindow: Implement window maximimization.
* NEW: WebWindow: Fix window button style.


git-svn-id: svn://localhost/gambas/trunk@7570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 11:38:58 +00:00
Benoît Minisini
b81363e15d [GB.WEB.FORM]
* BUG: Fix control images symbolic links.


git-svn-id: svn://localhost/gambas/trunk@7569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 10:03:19 +00:00
Benoît Minisini
fffe08e1e7 [GB.WEB.FORM]
* NEW: WebControl: Add the Tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:55:24 +00:00
Benoît Minisini
32387776bb [DEVELOPMENT ENVIRONMENT]
* BUG: Translater: Fix translations that end with a newline whereas the original string does not.
* NEW: Webform: Add "vw", "vh", "vmin" and "vmax" unities.
* BUG: Form editor: Remove automatic parent selection.
* BUG: Form editor: Make "Tooltip" property (with a lower "t") translatable.


git-svn-id: svn://localhost/gambas/trunk@7567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:41:53 +00:00
Benoît Minisini
2631259fa1 [GB.EVAL.HIGHLIGHT]
* NEW: More CSS properties

[GB.WEB.FORM]
* OPT: WebTable: When scrolling, add new elements to the table instead of refreshing it entirely. It's far faster!


git-svn-id: svn://localhost/gambas/trunk@7565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-08 14:50:48 +00:00
Benoît Minisini
cf2abcd76a [GB.DB]
* BUG: Take case-sensitive databases like postgresql into account in index fields.


git-svn-id: svn://localhost/gambas/trunk@7564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-08 14:41:23 +00:00
Fabien Bodard
a354e12cf8 [GB.MAP]
* BUG: SexToDec now now convert float value with a dot


git-svn-id: svn://localhost/gambas/trunk@7563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-07 20:28:22 +00:00
Benoît Minisini
b978b34f12 [GB.WEB.FORM]
* NEW: WebScrollView: Add ScrollX and ScrollY properties.
* BUG: WebTable: Correctly initialize the Display property to 100 rows.


git-svn-id: svn://localhost/gambas/trunk@7562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 22:32:20 +00:00
Benoît Minisini
421fdaa2cd [GB.WEB.FORM]
* BUG: WebTable: Don't display progress animation if there is no rows to load.


git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 02:00:05 +00:00
Benoît Minisini
7d4bd2ed1b [GB.WEB.FORM]
* BUG: WebTabPanel: Fix syntax error is generated HTML.


git-svn-id: svn://localhost/gambas/trunk@7560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 00:20:09 +00:00
Benoît Minisini
56a60ed7c8 [GB.WEB.FORM]
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.


git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 23:53:12 +00:00
Henrique
c2a85b801f [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 16:39:37 +00:00