Commit graph

5950 commits

Author SHA1 Message Date
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
Benoît Minisini
7f7582e37d [GB.UTIL]
* BUG: Date.ToRFC822() now always use the ':' separator for dates.
* BUG: Date.FromRFC822() now should respect the semantics of the RFC correctly.

git-svn-id: svn://localhost/gambas/trunk@8124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-18 19:36:02 +00:00
Benoît Minisini
1951a940e4 [GB.WEB.FORM]
* NEW: WebScrollView: EnsureVisible() is new method that ensures a specific ScrollView child is visible to the screen.
* NEW: WebTable: SHIFT + Click allows to select or unselect a range of rows at once.


git-svn-id: svn://localhost/gambas/trunk@8123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-16 20:18:10 +00:00
Benoît Minisini
1c33c3b506 [GB.UTIL]
* NEW: Date.ToRFC822() is a new method that converts a date value to RFC822 date string.
* NEW: Date.FromRFC822() is a new method that converts a RFC822 date string to a date value.


git-svn-id: svn://localhost/gambas/trunk@8122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-16 20:02:19 +00:00
Tobias Boege
f658929032 [CONFIGURATION]
* NEW: Rename gb.rss to gb.web.feed.

[GB.WEB.FEED]
* NEW: Document the component.
* BUG: Set RssGuid.IsPermaLink to True by default, as per specification.
* BUG: Set RssImage.{Width,Height} to the defaults 88 and 31, as per specification.
* BUG: Enforce the maximum values of RssImage.{Width,Height}.



git-svn-id: svn://localhost/gambas/trunk@8121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-14 19:24:06 +00:00
Adrien Prokopowicz
033a769095 [GB.XML]
* BUG: XmlWriter: The Element() shortcut method now correctly escapes text content.

git-svn-id: svn://localhost/gambas/trunk@8120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-05 08:52:51 +00:00
Adrien Prokopowicz
c6102c762f [GB.XML]
* BUG: XmlReader: Reading empty attributes should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@8119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-05 07:50:36 +00:00
Tobias Boege
3db3310dcd [GB.XML]
* BUG: XmlReader: Don't eat "]" or "-" characters in CDATA or comment sections when they don't terminate the section



git-svn-id: svn://localhost/gambas/trunk@8118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 19:38:12 +00:00
Tobias Boege
91c170cb45 [CONFIGURATION]
* NEW: Add gb.rss

[GB.RSS]
* NEW: New component to generate and parse RSS documents



git-svn-id: svn://localhost/gambas/trunk@8117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 16:04:27 +00:00
Tobias Boege
9b105f5f19 [GB.XML]
* BUG: .XmlReader.Node.Attributes: Raise an error instead of segfault when an attribute does not exist
* NEW: .XmlReader.Node.Attributes.Exist() is a new method to check if an attribute is present
* BUG: XmlReader: Fix recognition of CDATA elements when their contents look like XML
* BUG: XmlReader: Correctly detect ending sequence of CDATA and comment sections (reset the recognition state when the sequence is interrupted)



git-svn-id: svn://localhost/gambas/trunk@8116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 14:59:50 +00:00
Fabien Bodard
91518a2b72 [GB.REPORT2]
* BUG: FPreview: Remember the Duplex mode when changing the printer device.


git-svn-id: svn://localhost/gambas/trunk@8115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-01 13:27:35 +00:00
Benoît Minisini
47c37672fe [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The form editor contextual menu is now also opened when clicking in the form hierarchy tree.


git-svn-id: svn://localhost/gambas/trunk@8114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-22 23:49:48 +00:00
Benoît Minisini
8ddf14c38e [DEVELOPMENT ENVIRONMENT]
* BUG: Code formatter: Multi-line declarations are correctly indented now.
* BUG: Code formatter: The new line after local variable declarations takes multi-line declarations into account.


git-svn-id: svn://localhost/gambas/trunk@8113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 14:50:11 +00:00
Benoît Minisini
f01e9cf49d [DEVELOPMENT ENVIRONMENT]
* BUG: Display the GUI chooser button when the 'gb.gui.qt' is checked.
* BUG: Correctly refresh the GUI chooser button when the project environment changes.
* NEW: Update the Gambas fonts.


git-svn-id: svn://localhost/gambas/trunk@8112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 12:41:43 +00:00