Commit graph

2708 commits

Author SHA1 Message Date
gambas
b0801ec749 DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
[GB.FORM]
* BUG: DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
* OPT: DocumentView: Desaturate is faster now as it is done only once per page drawing.
2019-07-10 04:23:10 +02:00
gambas
be96ff02bc 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
[GB.FORM.PRINT]
* NEW: 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
2019-07-09 19:48:41 +02:00
gambas
f44b12f14b DocumentView: Fix some bugs and add ShowPage and Desaturate properties.
[GB.FORM]
* NEW: DocumentView: The default background color is now a mix of the default text foreground and background colors.
* BUG: DocumentView: Use Paint.Begin() instead of Draw.Begin(), so that preview uses anti-aliasing.
* BUG: DocumentView: Fix some cases of page drawing not correctly triggered.
* NEW: DocumentView: ShowPage is new property that displays the current page and the number of pages inside the preview.
* NEW: DocumentView: Desaturate is a new property that desaturates the preview. It's slow when the zoom is huge.
* NEW: DocumentView: Allow zoom up to 800%.
2019-07-09 19:43:15 +02:00
gambas
63b503ca24 Make the TreeView arrows a little bit thinner and darker
[GB.GUI.BASE]
* NEW: Make the TreeView arrows a little bit thinner and darker.
2019-07-09 19:41:10 +02:00
gambas
8479b7f608 Message: Workaround a text layout bug when computing the size of the message box.
[GB.GUI.BASE]
* BUG: Message: Workaround a text layout bug when computing the size of the message box.
2019-07-05 00:15:19 +02:00
Benoît Minisini
820c8cf9bb Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!104
2019-07-03 20:06:51 +00:00
gambas
d58e3c15dd Add 128 pixels versions of stock icons used by mimetypes.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of stock icons used by mimetypes.
2019-07-03 21:39:55 +02:00
GianluigiOr
a9bd2fe844 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.FORM.TERMINAL]
* NEW: The complete translation.

[GB.TERM.FORM]
* NEW: The translation is now complete.

[GB.UTIL]
* New: The translation is now fix
2019-07-03 19:20:38 +02:00
gambas
a0fd6a99b7 TerminalView: Update colors so that they are readable both on a light and a dark background.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Update colors so that they are readable both on a light and a dark background.
2019-07-03 19:18:02 +02:00
gambas
03d704c092 New stock icon named 'call'.
[GB.FORM]
* NEW: New stock icon named 'call'.

[GB.FORM.STOCK]
* NEW: Add 'call' stock icon and redraw 'archive' icon.
2019-07-03 19:16:32 +02:00
gambas
6ef1ef4a6e ShowLines is a new property that makes the tree views draw tree lines.
[GB.GUI.BASE]
* NEW: Paint.Arrow() is a new method that draws an arrow.
* NEW: TreeView & ColumnView: ShowLines is a new property that makes the control draw tree lines.
* NEW: TreeView & ColumnView: The arrow size now follows the font size.
2019-07-03 11:49:32 +02:00
gambas
68e085bb10 Don't crash when seeking if no media is played and emit standard control events from the inner DrawingArea.
[GB.MEDIA.FORM]
* BUG: Don't crash when seeking if no media is played.
* NEW: Emit standard control events from the inner DrawingArea.
2019-06-30 20:32:01 +02:00
gambas
2e2c1c3b51 Try to enhance language detection in Request.Language property.
[GB.WEB]
* NEW: Try to enhance language detection in Request.Language property.
2019-06-29 16:19:12 +02:00
gambas
8294c6a81a New 'new-tab' stock icon and redraw a few icons.
[GB.FORM]
* NEW: New 'new-tab' stock icon.

[GB.FORM.STOCK]
* NEW: New 'new-tab' stock icon.
* NEW: Redraw a few icons.
2019-06-29 16:15:49 +02:00
gambas
01a3106d20 New Highlight.Alternate style, and make the matching braces blink with the cursor.
[GB.EVAL]
* NEW: Highlight.Alternate is a new constant that represents the background style used for coloring code embedded into webpages.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for new Highlight.Alternate style.

[GB.FORM.EDITOR]
* NEW: Support for new Highlight.Alternate style.
* NEW: Matching braces now blink with the cursor.
* BUG: When the cursor moves, the blinking timer is reset so that the cursor blinks only when it is not moving.
2019-06-29 16:11:51 +02:00
gambas
932fbb19f1 TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't enclose selection with quotes anymore, it is more annoying than anything else.
* NEW: TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
2019-06-26 00:26:11 +02:00
gambas
860260802d Fix translation strings in some components.
[GB.FORM.EDITOR]
* BUG: Translate popup menu.

[GB.NET.CURL]
* BUG: DownloadManager: Remove useless Message event.
* NEW: DownloadManager: Add a Connect event raised when the distant server is connected.

[GB.WEB]
* BUG: CGI error message is not translatable.

[GB.XML]
* BUG: Error messages must not be translatable.
2019-06-22 07:45:29 +02:00
gambas
0179eb5936 Enhance language detection done by the Request.Language property.
[GB.WEB]
* NEW: Enhance language detection done by the Request.Language property.
2019-06-21 20:00:58 +02:00
gambas
64a13bfab4 MenuButton: Fix possible crashes with focus management.
[GB.FORM]
* BUG: MenuButton: Fix possible crashes with focus management.
2019-06-21 19:56:48 +02:00
gambas
4f027d250f Fix drag & drop on drop targets that are children of another drop target.
[GB.GUI.BASE]
* BUG: Fix drag & drop on drop targets that are children of another drop target.
2019-06-19 13:09:06 +02:00
gambas
59431f13cf TabPanel: Fix drawing of tab header contents.
[GB.FORM]
* BUG: TabPanel: Fix drawing of tab header contents.
* NEW: TabPanel: Draw tab focus like hovered buttons.
* NEW: ListEditor: Use the 'remove' icon instead of the 'delete' one.
2019-06-14 01:23:43 +02:00
gambas
d9858d07af Compute prefered column width correctly and fix top-level menus initialization routine.
[GB.GUI.BASE]
* BUG: Top-level menus initialization routine takes invalid menus into account now.
* BUG: GridView: Compute prefered column width correctly.
2019-06-14 00:55:22 +02:00
gambas
a1d9ffc57d Message: Temporarily restore the default mouse cursor when displaying a message box.
[GB.GUI.BASE]
* BUG: Message: Temporarily restore the default mouse cursor when displaying a message box.
2019-06-06 01:59:22 +02:00
gambas
dd121d669f Replace the message box native implementation by a Gambas implementation.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the 'delete' stock icon.

[GB.GTK]
* NEW: Message: Remove the message box native implementation.

[GB.GTK3]
* NEW: Message: Remove the message box native implementation.

[GB.GUI.BASE]
* NEW: Message: Implement the message boxes entirely in Gambas.

[GB.QT4]
* NEW: Message: Remove the message box native implementation.

[GB.QT5]
* NEW: Message: Remove the message box native implementation.
2019-06-05 03:08:22 +02:00
gambas
3b2d832fd5 IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
[GB.FORM]
* BUG: IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
2019-06-04 20:57:10 +02:00
gambas
f1ac2f553b Implement Drag.Show() in Gambas, and consequently fix it in 'gb.gtk3'.
[GB.GTK]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.GTK3]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
* BUG: Finishing a drag & drop now correclty releases the button grab.

[GB.GUI.BASE]
* NEW: GridView: The padding of column headers is at least half of Desktop.Scale.
* NEW: ScrollArea: The Scroll() method returns TRUE now if no scrolling actually occured.
* BUG: TreeView: Item X property now correctly takes the TreeView padding into account.
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.

[GB.QT4]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.QT5]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
2019-06-01 04:52:25 +02:00
-
6706900ddf comp: gb.report: add more space for text 2019-05-30 09:49:10 +03:00
glixx
5024b3d6f5 update Russian translation 2019-05-28 09:06:07 +03:00
gambas
760d1be356 MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
[GB.FORM]
* NEW: MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
2019-05-27 18:49:53 +02:00
gambas
0ab84aa34a Disable top-level menus shortcuts when the window menu bar is hidden.
[GB.FORM]
* BUG: MenuButton: Use selected background color when the MenuOnly property is set and the MenuButton has the focus.

[GB.GTK]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GTK3]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GUI.BASE]
* NEW: Add helper function for disabling/enabling top-level menu shortcuts.

[GB.QT4]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.QT5]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.
2019-05-25 22:25:13 +02:00
Benoît Minisini
cd23bae03f Merge branch 'master' into 'master'
Russian translation and examples fixes

See merge request gambas/gambas!96
2019-05-24 01:04:57 +00:00
Benoît Minisini
19932f409a Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!95
2019-05-24 00:15:10 +00:00
W. Raets
615c5e89ed Updated all Dutch translations and dutch translator e-mail address
[DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations

[WIKI CGI SCRIPT]
* NEW: Updated Dutch translations

[WEB SITE MAKER]
* NEW: Updated Dutch translations

[GB.ARGS]
* NEW: Updated Dutch translations

[GB.DB.FORM]
* NEW: Updated Dutch translations

[GB.FORM]
* NEW: Updated Dutch translations

[GB.FORM.DIALOG]
* NEW: Updated Dutch translations

[GB.FORM.MIDI]
* NEW: Updated Dutch translations

[GB.NET.POP3]
* NEW: Updated Dutch translations

[GB.REPORT]
* NEW: Updated Dutch translations

[GB.REPORT2]
* NEW: Updated Dutch translations

[GB.TERM.FORM]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FEED]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FORM]
* NEW: Updated Dutch translator e-mail
2019-05-24 00:14:36 +00:00
glixx
2d2bb373c2 Update Russian translation 2019-05-23 07:15:00 +03:00
GianluigiOr
94c00feb6c Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.

[GB.TERM.FORM]
* NEW: The complete new translation.
2019-05-21 16:04:57 +02:00
gambas
0732689800 About dialog: Wrap license text so that it is not truncated.
[DEVELOPMENT ENVIRONMENT]
* BUG: About dialog: Wrap license text so that it is not truncated.

[GB.GUI.BASE]
* BUG: Paint.DrawRichTextShadow() default radius is now the same as Paint.DrawTextShadow().
2019-05-18 19:26:11 +02:00
gambas
6f63a70ef3 GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
[GB.GUI.BASE]
* NEW: GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
2019-05-18 17:45:14 +02:00
gambas
0064a9a253 Fix '.project' and '.component' files that incorrectly had conflict marks in it.
[GB.NET.POP3]
* BUG: Fix '.project' and '.component' files that incorrectly had conflict marks in it.
2019-05-18 17:43:40 +02:00
gambas
1f018b8404 Reallt remove every 'nl.mo' files still present in the repository. 2019-05-18 17:36:30 +02:00
gambas
85fb0743e2 Revert "Remove every 'nl.mo' files still present in the repository."
This reverts commit a142c76b28.
2019-05-18 17:32:25 +02:00
gambas
a142c76b28 Remove every 'nl.mo' files still present in the repository. 2019-05-18 17:29:34 +02:00
gambas
bbda6921af Request: Posted field request using 'multipart/form-data' and having initial void lines were incorrectly trimmed.
[GB.WEB]
* BUG: Request: Posted field request using 'multipart/form-data' and having initial void lines were incorrectly trimmed. Posted files were not affected.
2019-05-16 23:39:00 +02:00
gambas
b15564086f Remove useless void translation files.
[GB.TERM.FORM]
* BUG: Remove useless void translation files.
2019-05-14 08:13:32 +02:00
Benoît Minisini
b073a75363 Merge branch 'master' into 'master'
Some fixes

See merge request gambas/gambas!92
2019-05-14 05:38:12 +00:00
gambas
f65bd6ebfc SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.
[GB.GUI.BASE]
* NEW: SpinBox: Hitting the ENTER or RETURN key triggers the Change event if needed.
2019-05-13 21:16:08 +02:00
gambas
fefea3a647 Little changes in MenuBox, Expander and SliderBox.
[GB.FORM]
* NEW: MenuButton: Handle right-to-left written language correctly.
* NEW: Expander: Redesign the Expander title.
* NEW: SliderBox: Hitting the ESC key in the SpinBox resets the SliderBox to its default value.
2019-05-13 21:12:56 +02:00
glixx
8e0bf99ce1 fix typos 2019-05-13 04:54:50 +03:00
gambas
7ffe5ff169 Date.IsWeekEnd() is a new method that returns if a date is a week end.
[GB.UTIL]
* NEW: Date.IsWeekEnd() is a new method that returns if a date is a week end.
2019-05-07 23:11:23 +02:00
Benoît Minisini
0617136258 Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!88
2019-05-01 11:47:20 +00:00
gambas
92a54677b5 SpinBox: Forgot to implement the ReadOnly property.
[GB.GUI.BASE]
* BUG: SpinBox: Forgot to implement the ReadOnly property.
2019-04-29 18:37:49 +02:00
gambas
7c0a6730cd Complete support for project extra references.
[CONFIGURATION]
* NEW: Update version to 3.13.90.

[DEVELOPMENT ENVIRONMENT]
* NEW: Redone extra references support.

[COMPILER]
* NEW: Take project extra references into account.

[GB.TERM.FORM]
* BUG: Fix project description.
2019-04-23 12:31:10 +02:00
GianluigiOr
5fdb22660a Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.

[GB.FORM]
* NEW: Italian translations improvements

[GB.WEB.FEED]
* NEW: The translations is now complete.
2019-04-22 17:52:07 +02:00
gambas
2f4095922b Enhance ListEditor control.
[GB.FORM]
* NEW: ListEditor: ReadOnly is a new property that makes ListEditor enter read-only mode.
* NEW: ListEditor: Add is new event that is raised when the add button is clicked.
* NEW: ListEditor: Add() is a new method that insert a new element in the list.
* NEW: ListEditor: Exist() is a new method that returns if an item exists in the list.
* NEW: Update some translations.
2019-04-22 03:25:56 +02:00
gambas
f282b868d6 Fix Dutch translation file which had conflict markers inside.
[GB.TERM.FORM]
* BUG: Fix Dutch translation file which had conflict markers inside.
2019-04-11 12:20:20 +02:00
Gen Braga
1b6733349c [GP.MAP]
* BUG: Small bug fixes.
2019-04-10 22:53:02 +00:00
W. Raets
01d21cb0a5 Updated all Dutch translations and dutch translator e-mail address
[DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations

[WIKI CGI SCRIPT]
* NEW: Updated Dutch translations

[WEB SITE MAKER]
* NEW: Updated Dutch translations

[GB.ARGS]
* NEW: Updated Dutch translations

[GB.DB.FORM]
* NEW: Updated Dutch translations

[GB.FORM]
* NEW: Updated Dutch translations

[GB.FORM.DIALOG]
* NEW: Updated Dutch translations

[GB.FORM.MIDI]
* NEW: Updated Dutch translations

[GB.NET.POP3]
* NEW: Updated Dutch translations

[GB.REPORT]
* NEW: Updated Dutch translations

[GB.REPORT2]
* NEW: Updated Dutch translations

[GB.TERM.FORM]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FEED]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FORM]
* NEW: Updated Dutch translator e-mail
2019-04-10 22:52:07 +00:00
gambas
c1db77f31b Some unary operator syntax rewrite in source code. 2019-04-04 23:04:51 +02:00
gambas
663e0a4347 Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
[GB.MEDIA.FORM]
* NEW: MediaView: Speed is a new property that allows to define the media playing speed. A negative speed moves backward.
* NEW: MediaView: Resizing the control while the media is paused correctly resizes the displayed frame.
2019-03-25 03:58:35 +01:00
gambas
d7867cb7cd Changes in testing code. 2019-03-21 23:20:00 +01:00
gambas
3c9a861618 TerminalView: the minimal screen height is now 2 lines.
[GB.FORM.TERMINAL]
* NEW: TerminalView: the minimal screen height is now 2 lines.
2019-03-21 23:18:54 +01:00
gambas
92cde5326e Fix case typo in source code.
[GB.FORM.MDI]
* BUG: Fix case typo in source code.
2019-03-21 23:17:26 +01:00
gambas
dfdbd3bd14 Correctly normalize SQLite session file names.
[GB.WEB]
* BUG: Correctly normalize SQLite session file names.
2019-03-21 23:16:01 +01:00
Benoît Minisini
4605b57760 Merge branch 'master' into 'master'
Workspace: Add CloseButton property.

See merge request gambas/gambas!81
2019-03-19 16:02:42 +00:00
gambas
d26bb8594d GridView: Make selected color less transparent.
[GB.GUI.BASE]
* NEW: GridView: Make selected color less transparent.
2019-03-13 21:36:30 +01:00
Jorge Carrión Molpeceres
263d5660c8 Update Workspace.class 2019-03-11 20:35:57 +00:00
Jorge Carrión Molpeceres
d144a76cee Update FWorkspace.class 2019-03-11 20:34:44 +00:00
Gen Braga
02fe868274 [GP.MAP]
* BUG: Small bug fixes.
2019-03-11 18:48:37 +00:00
Jorge Carrión Molpeceres
2c6944c285 Update FWorkspace.class 2019-03-11 18:34:11 +00:00
Jorge Carrión Molpeceres
523effc9fe Update Workspace.class 2019-03-11 18:30:59 +00:00
gambix
f585889987 [GB.GUI.BASE]
* OPT: Set the ScrollArea Shade more smooth.
2019-03-05 19:11:25 +01:00
gambas
f2de1bc271 Fix some icons.
[GB.FORM.STOCK]
* NEW: Fix some icons.
2019-03-04 01:38:57 +01:00
gambas
6eedf18811 FileView: Sometimes the contents was not correctly refreshed.
[GB.FORM]
* BUG: FileView: Sometimes the contents was not correctly refreshed.
2019-02-28 17:46:53 +01:00
Gen Braga
757af8c19c Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
[GB.MAP]
* NEW: Map.Proxy is a new property that allows to define the proxy used by all HTTP requests made to retrieve the map tiles.
2019-02-14 22:26:05 +00:00
gambas
315eb81d0f TextEditor: The inner shadow now covers the margin.
[GB.FORM.EDITOR]
* BUG: TextEditor: The inner shadow now covers the margin.
2019-02-14 23:21:18 +01:00
gambas
1bf58ddd35 WebTextArea: The Text property works correctly again.
[GB.WEB.FORM]
* BUG: WebTextArea: The Text property works correctly again.
2019-02-14 18:08:31 +01:00
gambas
8ab745c21a Fix corrupted test form.
[GB.FORM]
* BUG: Fix corrupted test form.
2019-02-09 16:07:17 +01:00
gambas
24c2f184f0 URLLabel: Rewrite the control as a child of Label.
[GB.FORM]
* NEW: URLLabel: Rewrite the control as a child of Label.
2019-02-09 14:26:47 +01:00
gambix
3482e7dda0 Add the require of gb.eval and force the gb.eval componant loading if not done
[GB.REPORT]
* BUG: Add the require for gb.eval in component info and force the loading of it.
2019-02-02 18:06:31 +01:00
gambas
5bb2f41b21 Remove '*.mo' files now automatically generated by the compiler, and other filed that should be ignored too. 2019-02-02 01:07:37 +01:00
gambas
3a8b687376 Merge branch 'master' of gitlab.com:gambas/gambas 2019-02-02 00:49:44 +01:00
gambas
f812d81274 Enhance the SpinBox control.
[GB.GUI.BASE]
* NEW: SpinBox: Alignment is a new property that allows to define the alignment of the control inner text.
* NEW: SpinBox: ShowZero is a new property that tells to pad the displayed number with zeros.
* NEW: SpinBox: Limit is a new event that is raised when the user tries to move past the maximum value, or beofre the minimum value.
* BUG: SpinBox: The value entered with the keyboard is now always taken into account by the next use of the mouse.
2019-02-02 00:41:36 +01:00
gambas
c875f00a44 TimeBox is a new control that allows to enter a duration. Maybe the name of the control is not very good.
[GB.FORM]
* NEW: TimeBox is a new control that allows to enter a duration. Maybe the name of the control is not very good.
2019-02-02 00:40:30 +01:00
gambas
92a09ad185 Workspace: Sometimes closing a tab with the middle button is triggered twice, leading to a crash. Made a workaround.
[GB.FORM.MDI]
* BUG: Workspace: Sometimes closing a tab with the middle button is triggered twice, leading to a crash. Made a workaround.
2019-02-02 00:37:54 +01:00
gambix
0a6b9ff342 Circle mapItem now really have the good radius and MapPoint.Distance is now a static function
[GB.MAP]
* BUG: Circle map item now a really the good radius
* OPT: MapPoint.Distance is now a static public Function
2019-02-01 22:23:52 +01:00
gambas
8f09b68254 MediaView: Merge the play and pause button and remove the big white pause symbol.
[GB.MEDIA.FORM]
* NEW: MediaView: Merge the play and pause button.
* NEW: MediaView: Remove the big white pause symbol.
2019-01-26 18:28:05 +01:00
gambas
e5b5487a13 Search dialog: text highlight now works correctly whatever the editor font is.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: text highlight now works correctly whatever the editor font is.

[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Paint() is a new method that paints the highlighted text.

[GB.GUI.BASE]
* NEW: Paint: Add an hidden undocumented method that computes the character width of a fixed font.
2019-01-24 00:57:54 +01:00
gambas
1181b78443 Spinner: Enable the spinner timer only if needed, and not permanently!
[GB.FORM]
* BUG: Spinner: Enable the spinner timer only if needed, and not permanently!
2019-01-19 02:58:48 +01:00
Gianluigi Gradaschi
0d98926605 Italian translations 2019-01-15 22:17:03 +00:00
gambas
ed8864cef2 Fix badly committed files.
[GB.MAP]
* BUG: Fix badly committed files.
2019-01-10 18:03:10 +01:00
gambas
802349aab4 TerminalView: Implement "ESC <N> b" sequence.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Implement "ESC <N> b" sequence.
2019-01-08 02:44:26 +01:00
Tobias Boege
69c2ec0658 Introduce RssDate for date+timezone handling
[GB.WEB.FEED]
* NEW: Introduce RssDate class for date+timezone handling and update documentation.
* NEW: Mark component as "Stable".
2019-01-05 21:53:28 +01:00
Tobias Boege
e6ceee0673 RssGuid: do not set IsPermaLink by default when parsing
[GB.WEB.FEED]
* BUG: RssGuid: do not set IsPermaLink by default when parsing.
2019-01-05 21:53:28 +01:00
Tobias Boege
360b46f482 Depend on gb.util for RFC822 date conversions
[GB.WEB.FEED]
* OPT: Depend on gb.util for RFC822 date conversions.
2019-01-05 21:53:28 +01:00
gambas
ebf5443182 Update some test forms and version numbers. 2019-01-05 18:28:32 +01:00
Tobias Boege
3a16b32add Fix timezone bug in Date.FromRFC822()
[GB.UTIL]
* NEW: Add Date.FromUTC() as inverse to Date.ToUTC().
* BUG: Fix timezone bug in Date.FromRFC822() and pass all tests.

See the thread "gb.web.feed not stable yet?" [1] for explanations
of the bug and fix.

[1] https://lists.gambas-basic.org/pipermail/user/2018-December/066103.html
2019-01-05 17:31:35 +01:00
Tobias Boege
38ca01684e Improve error message from Date.GetRFC822Zone()
[GB.UTIL]
* OPT: Improve error message from Date.GetRFC822Zone() by showing what couldn't be recognized as a timezone.
2019-01-05 15:58:40 +01:00
Tobias Boege
f11054de74 Propgate internal errors from Date.FromRFC822()
[GB.UTIL]
* NEW: Propagte internal errors from Date.FromRFC822() instead of shadowing them with a Catch block.
2019-01-05 14:48:46 +01:00
Tobias Boege
92e86cff2b Allow to retrieve timezone from Date.FromRFC822()
[GB.UTIL]
* NEW: Allow to retrieve timezone from Date.FromRFC822().
2019-01-05 13:10:53 +01:00
gambix
f223d11f8f Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 22:01:07 +01:00
gambix
9dab549cf7 Merge branch 'master' of gitlab.com:gambas/gambas 2019-01-03 21:59:13 +01:00
gambix
f6994008d8 Map is now well located on the mouse when zooming out on MapView
[GB.MAP]
* BUG: Map is now well located on the mouse when zooming out on MapView.
2019-01-03 21:52:40 +01:00
gambas
e61175c939 Update some component, project and test files. 2019-01-03 10:56:37 +01:00
gambas
26e14d343d ToolPanel does not crash anymore.
[GB.FORM]
* BUG: ToolPanel does not crash anymore.
2019-01-03 10:55:45 +01:00
gambas
a489590b0d URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
[GB.UTIL.WEB]
* NEW: URL is a now a dynamic class that can be used for analyzing and modifying the contents of an URL.
* NEW: URLQuery is a new class that represents the query part of an URL.
2019-01-03 10:55:06 +01:00
gambas
12136b7b0e Remove some useless void lines.
[GB.UTIL]
* BUG: Remove some useless void lines.
2019-01-03 10:31:07 +01:00
gambas
18fc41b7c7 Update two icons.
[GB.FORM.STOCK]
* NEW: Update two icons.
2019-01-01 16:41:07 +01:00
gambas
f80173621b Entering a string delimiter while text is selected correctly encloses it again.
[GB.FORM.EDITOR]
* BUG: Entering a string delimiter while text is selected correctly encloses it again.
2019-01-01 15:17:35 +01:00
gambas
76a15e14ff WebTextBox: Correctly synchronize text before raising Activate event.
[GB.WEB.FORM]
* BUG: WebTextBox: Correctly synchronize text before raising Activate event.
2018-12-23 19:37:56 +01:00
gambas
ffbacc3cee WebTextBox and WebTextArea Change event is now raised at each change, and WebButton.Immediate is a new property that allows the javascript code emitted by the Click event handler to be run by the 'onclick' event immediately.
[GB.WEB.FORM]
* NEW: WebButton: Add the Immediate property. If set, the Javascript code emitted by the Click event handler is executed immediately by the 'onclick' button event. Use this feature when some DOM method (like clipboard copy) works only in the context of a user interaction.
* BUG: WebTextBox: Optimize Change event.
* BUG: WebTextArea: Optimize Change event.
* NEW: WebTextBox: The Change event is now emitted a few milliseconds after each text change.
* NEW: WebTextArea: The Change event is now emitted  a few milliseconds after each text change.
2018-12-22 15:54:24 +01:00
gambas
da11a82b63 Add Copy() method to WebTextBox and WebTextArea, and fix margins of WebContainer using Row or Column arrangement.
[GB.WEB.FORM]
* BUG: Fix margins of WebContainer using Row or Column arrangement.
* NEW: The '~dump' request now displays the environment variables too.
* NEW: WebTextBox.Copy() is a new method that copies the control text to the clipboard. Works only with https.
* NEW: WebTextArea.Clear() is a new method that clears the control text.
* NEW: WebTextArea.Copy() is a new method that copies the control text to the clipboard. Works only with https.
2018-12-19 10:30:39 +01:00
gambas
22577f48ae Fix compilation by not using global variables as loop variables.
[GB.MYSQL]
* BUG: Fix compilation by not using global variables as loop variables.
2018-12-14 05:19:58 +01:00
gambas
cc2b05a4c9 Desktop.OpenTerminal now handles "Ubuntu:Gnome" desktop type.
[GB.DESKTOP]
* NEW: Desktop.OpenTerminal now handles "Ubuntu:Gnome" desktop type.
2018-12-11 02:23:16 +01:00
gambas
eb36e0e17a TextEditor.CloseStrings is a new property that tells if strings should be automatically closed.
[GB.FORM.EDITOR]
* NEW: TextEditor.CloseStrings is a new property that tells if strings should be automatically closed.
2018-12-11 02:18:38 +01:00
gambas
6d9ba50c60 SpinBox: Setting the Border property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: SpinBox: Setting the Border property now correctly refreshes the control.
2018-12-09 03:49:41 +01:00
gambas
1d639e4b27 String.Left() sometimes fails. Print a warning if such a case is detected.
[GB.FORM.TERMINAL]
* BUG: String.Left() sometimes fails. Print a warning if such a case is detected.
2018-12-07 01:02:49 +01:00
gambas
f420eaaff1 TextEditor: Add LastLine and LastColumn properties.
[GB.FORM.EDITOR]
* NEW: TextEditor.LastLine is a new property that returns the line position just before a cursor move.
* NEW: TextEditor.LastColumn is a new property that returns the column position just before a cursor move.
2018-11-27 03:01:00 +01:00
gambas
1ba102c453 PictureBox: Setting the Picture or Image property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: PictureBox: Setting the Picture or Image property now correctly refreshes the control.
2018-11-20 23:12:11 +01:00
gambas
83c39796eb Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
[GB.FORM.MDI]
* BUG: Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
2018-11-20 12:14:18 +01:00
gambas
3eaa0098d4 TextEditor: Make the automatic insertion of string delimiters more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the automatic insertion of string delimiters more clever.
2018-11-19 23:19:33 +01:00
gambas
6303762ff7 ScrollView: Automatic layout is now done before and after arrangement.
[GB.GUI.BASE]
* BUG: ScrollView: Automatic layout is now done before and after arrangement.
2018-11-16 01:35:59 +01:00
gambas
a66ce09e79 TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
2018-11-15 00:26:24 +01:00
gambas
507f2d2b3c TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
[GB.FORM.EDITOR]
* BUG: TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
2018-11-14 23:53:38 +01:00
gambas
f30edfa302 ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
[GB.GUI.BASE]
* NEW: ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
2018-11-14 23:52:22 +01:00
gambas
8fe11c046d Shell.MkDir() now handles paths starting with "~/", and Shell.Move() can automatically erase the destination.
[GB.UTIL]
* NEW: Shell.MkDir() now handles paths starting with "~/", and raises an error if creating the directory is impossible.
* NEW: Shell.Move() got a new optional 'Force' argument, that erases the destination path The erase and the move are atomic if possible.
2018-11-14 23:48:49 +01:00
gambix
38da5ea0f7 Change Timer delay for a trigger loop in ReportView layout
[GB.REPORT]
* BUG: Change Timer delay for a trigger loop in ReportView layout lookup. Now the processor will not
  have any over use any more.
2018-11-08 15:05:49 +01:00
gambas
6ffa483e4f TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
[GB.GUI.BASE]
* NEW: TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
2018-11-07 17:20:39 +01:00
gambas
a0af45675e DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
[GB.FORM]
* BUG: DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
2018-11-07 17:03:36 +01:00
gambix
56f68cf840 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer did not exist
* BUG: All the object can be removed in all order now.
2018-11-06 11:32:14 +01:00
gambas
86c1836003 [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() replaces all space by '&nbsp;'.
* NEW: TextHighlighter.ToRichText() returns an highlighted text in rich text format.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic insertion of string delimiters.

[GB.FORM.MDI]
* NEW: Toolbar: Redraw expander icon.

[GB.FORM.STOCK]
* NEW: Redraw 'spell-check' icon.
2018-10-25 23:28:46 +02:00
gambas
901b84a36c Update xdg-utils to 1.1.3 version.
[GB.DESKTOP]
* NEW: Update xdg-utils to 1.1.3 version.
2018-10-11 00:03:41 +02:00
gambas
0dc57ad4ad ScrollView: Fix layout routine and correctly propagate focus events.
[GB.GUI.BASE]
* BUG: ScrollView: Fix layout routine.
* BUG: ScrollView: Correctly propagate focus events.
2018-10-10 10:32:20 +02:00
gambas
0cafd5dab9 Remove a public variable declared in a parent and in a child class.
[GB.MAP]
* BUG: Remove a public variable declared in a parent and in a child class.
2018-10-10 02:04:48 +02:00
gambas
f89186d6a8 SpinBox: Fix keyboard management when entering a value.
[GB.GUI.BASE]
* BUG: SpinBox: Fix keyboard management when entering a value.
2018-10-09 22:00:41 +02:00
gambix
6b7a879232 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-04 14:27:00 +02:00
gambix
2475f36477 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer id not exist
2018-10-04 14:25:46 +02:00
gambas
f67b8ab307 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-10-04 12:26:11 +02:00
gambas
ddf3275bdc Optimize FileView refresh, and fix SidePanel buttons that sometimes were created twice.
[GB.FORM]
* OPT: FileView: Optimize view refresh.
* BUG: SidePanel: Side buttons were sometimes created twice.
* BUG: SidePanel: Side buttons tooltips are now always correct.
2018-10-04 12:24:08 +02:00
gambas
d46368f276 IconView items highglight is correctly drawn now, and some TreeView optimizations.
[GB.GUI.BASE]
* BUG: IconView: Items highglight is correctly drawn now.
* OPT: TreeView: Allows the view to be locked while a lot of items are added.
* NEW: TreeView: BeforeSort is a new event that allows a caller to prepare its custom view sort.
2018-10-04 12:19:03 +02:00
gambas
65b0fb986f DataView: Clicking on the creation row now works correctly again.
[GB.DB.FORM]
* BUG: DataView: Clicking on the creation row now works correctly again.
2018-10-03 16:14:08 +02:00
gambas
261697ae44 Fix ColorPalette, optimize FileView refresh, make the TableView editor position nicer.
[GB.FORM]
* BUG: ColorPalette: Handle mouse wheel events correctly.
* BUG: ColorPalette: Ensure that the current color is visible.
* NEW: ColorChooser: The value slider now handles mouse wheel events.
* OPT: FileView: Sort the files once when the view is reloaded.
* NEW: TableView: Move the editor so that the cell border is correctly visible.
2018-10-03 16:10:03 +02:00
gambas
a7ddfbe0cf Fix ScrollView arrangement, and optimize TreeView items adding.
[GB.GUI.BASE]
* NEW: GridView: Draw last column and last rows separators even if Grid is not set when the GridView is actually a TableView.
* BUG: ScrollView: Fix arrangement.
* OPT: TreeView: Define the default row size, so that adding items is faster.
2018-10-03 16:07:04 +02:00
gambas
1bf70e1e75 PictureBox is now implemented in Gambas.
[GB.GTK]
* NEW: Remove PictureBox control.

[GB.GTK3]
* NEW: Remove PictureBox control.

[GB.GUI.BASE]
* NEW: PictureBox is now implemented in Gambas.
* NEW: PictureBox: Image is a new property that allows to display an Image instead of a Picture.
* NEW: PictureBox: Mode is a new property that defines how the image fills the control.

[GB.QT4]
* NEW: Remove PictureBox control.

[GB.QT5]
* NEW: Remove PictureBox control.
2018-10-03 16:06:54 +02:00
gambas
7e2ccb7cce TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
2018-10-01 23:20:43 +02:00
gambas
8adc54015b ImageView: Fix view to image coordinates conversion.
[GB.FORM]
* BUG: ImageView: Fix view to image coordinates conversion.
2018-10-01 23:19:49 +02:00
gambas
5c6423eedb Update some versions. 2018-09-29 13:26:18 +02:00
gambas
51c80eba92 Allow to add actions at runtime to the static list created by the compiler.
[GB.FORM.MDI]
* NEW: Action.Add() is a new method that allows to declare a new action.
* NEW: Action.AddFrom() is a new method that declare a new action from a control.
2018-09-29 13:23:36 +02:00
gambas
c2469623bf Add Action.Keys and Action[].HasShortcut properties.
[GB.GUI.BASE]
* NEW: Action.Keys is new static property that returns the list of all action keys.
* NEW: Action[].HasShortcut is a new property that returs if an action can have a shortcut.
2018-09-29 13:20:33 +02:00
gambas
35d20604b1 TextEditor: Try to make automatic insertion of quotes more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic insertion of quotes more clever.
2018-09-29 04:42:42 +02:00
gambas
5ae2f48bd5 Make 128 pixels versions of message box icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels versions of message box icons.
2018-09-28 18:58:46 +02:00
gambas
4239ddbaf0 SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
[GB.GUI.BASE]
* BUG: SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
2018-09-28 18:55:19 +02:00
gambas
9f0ca8d8d5 IconView: Keys is a new property that returns an array of all item keys.
[GB.GUI.BASE]
* NEW: IconView: Keys is a new property that returns an array of all item keys.
2018-09-26 18:54:06 +02:00
gambas
2d978ed99f Matching braces are now just underlined and Setting styles multiple times now triggers only one highlight update.
[GB.FORM.EDITOR]
* OPT: TextEditor: Setting styles multiple times now triggers only one highlight update.
* NEW: TextEditor: Matching braces are now just underlined. I find that more readable.
2018-09-26 18:48:24 +02:00
gambas
acafa3f219 SidePanel: Setting the Hidden property now takes the current animation into account.
[GB.FORM]
* BUG: SidePanel: Setting the Hidden property now takes the current animation into account.
2018-09-26 18:46:55 +02:00
gambas
f6a88365d3 TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys, and setting an item font has no side effect anymore.
[GB.GUI.BASE]
* NEW: TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys.
* BUG: TreeView, ListView, ColumnView: Setting an item font has no side effect anymore.
2018-09-26 17:47:23 +02:00
gambas
4bf287a44a ScrollView: Fix a possible infinite loop in contents arrangement routine.
[GB.GUI.BASE]
* BUG: ScrollView: Fix a possible infinite loop in contents arrangement routine.
2018-09-23 09:13:36 +02:00
gambas
41a62f3426 Take the ScrollView margin into account, and do not propagage SpinBox mouse wheel events.
[GB.GUI.BASE]
* BUG: ScrollView: Take the Margin property into account correctly.
* BUG: SpinBox: Do not propagate mouse wheel events.
2018-09-22 00:46:49 +02:00
gambas
6ab416eae3 Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
[GB.FORM.MDI]
* BUG: Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
2018-09-21 11:08:57 +02:00
gambas
b71eed5b62 TextEditor: Clean up the sidebar view management code, and fix its behaviour.
[GB.FORM.EDITOR]
* BUG: TextEditor: Clean up the sidebar view management code, and fix its behaviour.
2018-09-20 17:37:18 +02:00
gambas
bc20ef46f7 Optimize many PNG files with 'pngquant'. 2018-09-19 22:07:02 +02:00
gambas
46f21a7f7b Strip png files with ImageMagick convert command. 2018-09-19 20:53:00 +02:00
gambas
88c89d0d7e TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds. Finally fixed it!
2018-09-19 19:36:19 +02:00
gambas
b6ab28fe8f Wizard takes Application.Animations into account, and SidePanel resize buttons should be correctly managed.
[GB.FORM]
* NEW: Wizard: Take Application.Animations into account.
* NEW: Wizard: Animated property is now deprecated.
* NEW: SidePanel: Fix resize buttons management.
2018-09-17 12:40:34 +02:00
gambas
63af98dc9b Fix ScrollArea and ScrollView behaviour.
[GB.GUI.BASE]
* BUG: ScrollArea: Correctly raise Scroll events.
* BUG: ScrollView: Arrangement should be correctly done now.
2018-09-17 12:38:45 +02:00
gambas
4769d0601e SidePanel: Animate opening and closing when Application.Animations is set.
[GB.FORM]
* BUG: SidePanel: It should work correctly in all cases now.
* NEW: SidePanel: Animate opening and closing when Application.Animations is set.
2018-09-15 22:36:38 +02:00
gambas
603052af5c TextEditor: GotoCenter() works correctly again, and HighlightString() correctly refreshes the editor contents in all cases.
[GB.FORM.EDITOR]
* BUG: TextEditor: GotoCenter() works correctly again.
* BUG: TextEditor: HighlightString() correctly refreshes the editor contents in all cases.
2018-09-15 22:34:19 +02:00
gambas
6462ea0007 ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
[GB.GUI.BASE]
* NEW: ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
2018-09-15 22:32:52 +02:00
gambas
813798a3eb TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
[GB.FORM.EDITOR]
* NEW: TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
2018-09-12 14:56:29 +02:00
gambas
d152d887c2 TerminalView: Fix smooth scrolling support.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix smooth scrolling support.
2018-09-12 14:55:29 +02:00
gambas
f191a6ed72 SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
[GB.FORM]
* NEW: SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
2018-09-12 14:39:03 +02:00
gambas
5bb286aa80 Implement ScrollView in Gambas.
[GB.GUI.BASE]
* NEW: ScrollArea: ContentsWidth and ContentsW are two new synonymous of the ScrollWidth property.
* NEW: ScrollArea: ContentsHeight and ContentsH are two new synonymous of the ScrollHeight property.
* NEW: ScrollArea: Shadow is a new property that displays inner shadows when scrolling is possible.
* NEW: ScrollArea: Rework scrolling animation.
* NEW: ScrollView: That control is now implemented in Gambas.
2018-09-12 14:38:19 +02:00
gambas
62fefce8f7 TerminalView: Animate scrolling when Application.Animations property is TRUE.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Animate scrolling when Application.Animations property is TRUE.
2018-09-10 20:49:46 +02:00
gambas
279c9a2782 SpinBox: Correctly refresh arrows when leaving the control.
[GB.GUI.BASE]
* BUG: SpinBox: Correctly refresh arrows when leaving the control.
2018-09-10 20:48:41 +02:00
gambas
f3eca2dd99 Font dialog: dialog is now centered at startup.
[GB.FORM.DIALOG]
* BUG: Font dialog: dialog is now centered at startup.
2018-09-10 20:07:46 +02:00
gambas
b0d9e142f9 TextEditor: Fix scrolling when animations are enabled.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix scrolling when animations are enabled.
2018-09-07 19:50:04 +02:00
gambas
196d5a3ebd ColorPalette: Scroll to the color when the Current property is set.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
* BUG: ColorPalette: Scroll to the color when the Current property is set.
2018-09-07 19:48:39 +02:00
gambas
b9af80fbec ScrollArea: Fix behaviour when scrolling animation is enabled.
[GB.GUI.BASE]
* BUG: ScrollArea: Fix behaviour when scrolling animation is enabled.
* BUG: SpinBox: Refresh correctly when the value changes.
2018-09-07 19:43:39 +02:00
gambas
ca324ba8b5 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-09-06 13:03:36 +02:00
gambas
fc00dcbad2 SpinBox: The Change event is correctly raised when the value is changed by typing it.
[GB.GUI.BASE]
* BUG: SpinBox: The Change event is correctly raised when the value is changed by typing it.
2018-09-06 13:02:48 +02:00
gambas
da1863bd5d TextEditor: Support for dotted highlighted text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Support for dotted highlighted text.
2018-09-06 09:52:29 +02:00
gambas
0ce7ddf5c3 ScrollArea: Fix for scrolling animations. Add a new Scrolling property that returns if the control is scrolling for animations.
[GB.GUI.BASE]
* NEW: ScrollArea: Scrolling is a new property that returns if the control is scrolling for animations.
* NEW: ScrollArea: Don't animate scrolling if nothing has been drawn yet.
* BUG: ScrollArea: Fix the ScrollX and ScrollY properties when animations are enabled.
2018-09-06 09:33:55 +02:00
gambas
89eb4ff2b8 Take Application.Animations property into account in some controls.
[GB.FORM]
* NEW: SwitchButton: Take Application.Animations property into account.
* NEW: MessageView: Take Application.Animations property into account.
2018-09-06 09:32:38 +02:00
gambas
d61741474f ScrollArea and all its children classes now can animate their scrolling.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Option dialog: Add an option to enable control animations. Move the toolbar size option to the 'Fonts' panel.

[GB.GTK]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.GTK3]
* NEW: Application.Animations is a new property that enable or disable control animations.
* NEW: Control.Font is now implemented using GTK+ CSS.

[GB.GUI.BASE]
* NEW: ScrollArea: Animate scrolling if Application.Animations is set.

[GB.QT4]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.QT5]
* NEW: Application.Animations is a new property that enable or disable control animations.
2018-09-05 21:19:57 +02:00
gambas
a908cbcecd ButtonBox: Fix some margin, according to the previous fix to Style metric properties.
[GB.FORM]
* NEW: ButtonBox: Fix some margin, according to the previous fix to Style metric properties.
2018-09-04 16:18:53 +02:00
gambas
ee674d9068 Many fixes to the GTK+3 components, and rewrite the SpinBox control in Gambas.
[GB.GTK]
* NEW: Remove the native SpinBox implementation.
* BUG: Add specific fixes for breeze and oxygen themes.

[GB.GTK3]
* NEW: Remove the native SpinBox implementation.
* BUG: ComboBox: Fix rendering.
* BUG: ComboBox: Use a GtkBox instead of the deprecated GtkAlignment.
* BUG: Style: Fix some paint methods and metric properties.
* BUG: Add specific fixes for breeze and oxygen themes.

[GB.GUI.BASE]
* NEW: SpinBox: New implementation of the control in Gambas.
* BUG: ProgressBar: Fix rendering with GTK+ components.

[GB.QT4]
* NEW: Remove the native SpinBox implementation.
* NEW: RadioButton: Fill the widget when the background color is set.
* BUG: Style: Fix some metric properties.

[GB.QT5]
* NEW: Remove the native SpinBox implementation.
* NEW: RadioButton: Fill the widget when the background color is set.
* BUG: Style: Fix some metric properties.
2018-09-04 15:56:23 +02:00
gambas
847dcd8ebf Remove other files that should not be tracked by git. 2018-09-01 12:23:05 +02:00
gambas
9ffe91c294 Remove files that should not be tracked by git. 2018-09-01 12:21:57 +02:00
gambas
dde015e828 Update some project and component configuration files. 2018-09-01 12:17:56 +02:00
gambas
5b7b62dea3 TableView: The cell editor now takes the color and font properties of the edited cell.
[GB.FORM]
* BUG: TableView: The cell editor now takes the color and font properties of the edited cell.
2018-09-01 12:01:56 +02:00
gambas
7e392841d5 FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
[GB.FORM]
* NEW: FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
2018-09-01 00:49:45 +02:00
gambas
a73c2ed412 Add three new color constants for syntax highlighting: Escape, Label and Constant.
[COMPILER]
* NEW: Rename a macro constant to avoid a symbol clash when compiling the interpreter.

[INTERPRETER]
* NEW: Get rid of a macro trick in 'gbx_eval.h' header.

[GB.EVAL]
* NEW: Highlight: Add three new color constants for syntax highlighting: Escape, Label and Constant.
* NEW: Rename some source files.
* NEW: Rename some constants.
* NEW: Gambas syntax highlighter now use the three new contants for escape characters in strings, for labels, and for language contants (True, False, Null, +Inf and -Inf).

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new syntax highlighting color constants.

[GB.FORM.EDITOR]
* NEW: Support for the new syntax highlighting color constants.
2018-08-31 15:58:53 +02:00
gambas
7e3f84d1e5 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic completion of string delimiters.
* BUG: TextEditor: Add single quote to HTML and WebPage string delimiters.
2018-08-31 02:11:44 +02:00
gambas
bde635a666 TextEditor: Automatic brace completion is more clever now.
[GB.FORM.EDITOR]
* NEW: TextEditor: Automatic brace completion is more clever now.
2018-08-28 17:07:35 +02:00
Benoît Minisini
f0dfa829e7 Merge branch 'master' into 'master'
Fix some minor issues found while packaging for Debian without Qt4

See merge request gambas/gambas!30
2018-08-23 18:02:12 +00:00
gambas
ccce7ad1b7 Add an option to close the tabs with the middle mouse button instead of using little close buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to close the tabs with the middle mouse button instead of using little close buttons.

[GB.FORM]
* NEW: TabPanel: The middle mouse button does not close tabs anymore. It is now a feature only implemented in the Workspace control.

[GB.FORM.MDI]
* NEW: Workspace: CloseWithMouse is a new property. If set, the workspace tabs little close buttons are hidden, and the workspace tabs can be closed with a middle mouse click.
2018-08-14 22:46:41 +02:00
gambas
bc2c0490cf DesktopFile.FromMime() now follows the freedesktop search path specifications.
[GB.DESKTOP]
* BUG: DesktopFile.FromMime() now follows the freedesktop search path specifications.
2018-08-13 11:39:09 +02:00
gambas
3a49f9f3e9 Use the correct default value for XDG_DATA_DIRS environment variable.
[GB.DESKTOP]
* BUG: Use the correct default value for XDG_DATA_DIRS environment variable.
2018-08-10 11:54:30 +02:00
gambas
e76cdd33d6 Take multiline strings into account in javascript syntax highlighting and javascript editor mode.
[GB.EVAL.HIGHLIGHT]
* NEW: Take multiline strings into account in javascript syntax highlighting.

[GB.FORM.EDITOR]
* NEW: Take multiline strings into account in javascript mode.
2018-08-10 11:52:09 +02:00
Bastian Germann
2e488867a0 Use relative instead of absolute symbolic links
[GB.FORM.STOCK]
* Use relative instead of absolute symbolic links
2018-08-03 20:08:46 +02:00
bgermann
cc505e3fee Use 'gb.gui' component instead of 'gb.qt4*' components
[GB.CHART]
* Use 'gb.gui' component instead of 'gb.qt4*' components
2018-08-03 04:26:12 +02:00
gambas
5a61b7d436 TextEditor: Entering a bracket, a brace... while part of the current line is selected now automatically encloses the selected text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Entering a bracket, a brace... while part of the current line is selected now automatically encloses the selected text.
2018-07-21 16:09:03 +02:00
gambas
a36359b190 DataCheckBox: Its default value is now correctly set to NULL.
[GB.DB.FORM]
* BUG: DataCheckBox: Its default value is now correctly set to NULL.
2018-07-21 15:42:24 +02:00
gambas
5b5356c2a8 IconView: Clicking on an item in multiple selection mode correctly makes it the current item.
[GB.GUI.BASE]
* NEW: IconView: Improve and normalize how items are draws between horizontal et vertical orientation.
* BUG: IconView: Clicking on an item in multiple selection mode correctly makes it the current item.
* OPT: IconView: Selecting items with the keyboard is faster now.
2018-07-21 14:22:54 +02:00
gambas
e3ca5b2e12 FileView: Invalidate directory cache every five second, or if an explicit reload is triggered.
[GB.FORM]
* NEW: FileView: A directory cache is now automatically invalidated every five second.
* NEW: FileView: ReloadAll() now invalidates the directory cache.
2018-07-21 09:27:37 +02:00
gambas
150f488f8c Fix renaming process of DirView and FileView controls.
[GB.FORM]
* BUG: DirView: Errors occuring during a renaming now display the balloon message on the renaming item.
* BUG: DirView: Forbid void directory names.
* BUG: FileView: Canceling an item rename now works as expected in icon mode, and correctly refreshes the view.
* BUG: FileView: Forbid void file names.
2018-07-17 23:11:43 +02:00
gambas
6e935d2efd IconView: Canceling the Rename event keeps the editor opened.
[GB.GUI.BASE]
* BUG: IconView: Hitting ENTER while renaming an item does not insert a newline in the item text.
* NEW: IconView: Canceling the Rename event keeps the editor opened.
2018-07-17 23:09:11 +02:00
gambas
8c34e888b5 TreeView: Canceling the Rename event keeps the editor opened.
[GB.GUI.BASE]
* NEW: TreeView: Canceling the Rename event keeps the editor opened.
2018-07-17 22:29:04 +02:00
gambas
9abaadc360 Some fixes in FileView and FileProperties.
[GB.FORM]
* BUG: FileView: Setting the Current property does nothing if the new value is the same as the old one.
* BUG: FileProperties: Correctly abort the directory size background task if the Path property is set.
* BUG: FileProperties: Don't fill the error tab if the directory size background task is aborted.
2018-07-15 23:10:41 +02:00
Tobias Boege
789ce931f7 IconView: always raise Click event when clicked
[GB.GUI.BASE]
* BUG: IconView: always raise Click event when clicked and not only when selection changes

See Gambas Bug #1358
2018-06-28 19:07:31 +02:00
gambas
6a23fa861a TreeView: Don't mess up multiple selection when automatic sorting is enabled.
[GB.GUI.BASE]
* BUG: TreeView: Don't mess up multiple selection when automatic sorting is enabled.
2018-06-26 18:50:38 +02:00
gambas
0c43cfced0 Add Session.Path property, and fix the write of session values for sqlite sessions.
[GB.WEB]
* BUG: Fix the write of session values for sqlite sessions.
* NEW: Session.Path is a new property that returns the path of the file where the session is stored.
2018-06-22 00:47:48 +02:00
gambas
5e2a99a0a0 Session: Exist() method now works correctly for sessions stored in sqlite databases.
[GB.WEB]
* BUG: Session: Exist() method now works correctly for sessions stored in sqlite databases.
2018-06-19 00:30:29 +02:00
gambas
b8198005db [BENCHMARKS]
* OPT: Little optimization in nbody benchmark.

[GB.JIT]
* BUG: Fix translation of loops.
* BUG: Fix label generation.
2018-06-13 16:55:25 +02:00
gambas
83eed9707d Merge branch 'jit-with-c' 2018-06-13 00:45:19 +02:00
gambas
6b8afd0617 [COMPILER]
* BUG: Fix Left, Mid and Right subroutines metadata.

[GB.JIT]
* BUG: Fix function arguments management.
* BUG: Functions returning objects work correctly now.
* BUG: Fix internal control variables management.
2018-06-13 00:38:18 +02:00
gambas
c671adfd6b Work continues on new JIT system.
[INTERPRETER]
* OPT: String searching (Instr, RInstr and Replace) has been made about 4x faster by searching the first occurence with memchr() and memrchr().

[GB.FORM.TERMINAL]
* BUG: Fix warning messages.

[GB.JIT]
* BUG: Fix byte, short and boolean pushing and popping routines.
* BUG: Fix string values referencing.
* BUG: Fix optional argument management.
* NEW: Optimization of bits management subroutines.

[GB.QT4]
* BUG: Delay hooks initialization, because now socket notifiers must not be used before creating the event loop.

[GB.QT5]
* BUG: Delay hooks initialization, because now socket notifiers must not be used before creating the event loop.
2018-06-11 18:56:39 +02:00
gambas
4e50dec11d Work continues on new JIT system. Translation is now done at runtime.
[INTERPRETER]
* OPT: String routines are now compiled with -O3.
* NEW: Don't display JIT debugging message unless GB_JIT_DEBUG is set to something different from zero.
* NEW: String whose length is greater than 256 now have a growth step of 256 bytes instead of 16.

[GB.JIT]
* NEW: Do many global optimizations as now the class metadata is fully available.
* NEW: Support for optional argument. Still buggy at the moment.
2018-06-09 22:42:35 +02:00
gambas
23be942b6a Work continues on the new JIT system.
[BENCHMARKS]
* NEW: Little meaningless changes.

[INTERPRETER]
* NEW: JIT: Support for FOR EACH loops.
* BUG: JIT: Handle function values that are put on stack before calling them.

[COMPILER]
* NEW: JIT: Optimization of mathematic functions.
* NEW: JIT: Support for FOR EACH loops.
* NEW: JIT: Remove successive POP_x() / PUSH_x().
* NEW: JIT: Optimization of DIV and MOD.
* NEW: JIT: Support of internal control local variables used by SELECT and FOR EACH.
* NEW: JIT: Support for SWAP.

[GB.JIT]
* NEW: Optimization of mathematic functions.
* NEW: Variants management.
* NEW: All conversions are handled now.
* NEW: FOR EACH loops are implemented.
2018-06-05 11:43:39 +02:00
gambas
23081e47c6 Work continues on new JIT system. The "Fractal" example runs!
[INTERPRETER]
* NEW: Implement return value of JIT methods.
* NEW: Support for calling '.' operator from a JIT method.

[COMPILER]
* BUG: JIT: Fix detection of native arrays.
* BUG: JIT: Delete translated file if a class has no fast method anymore.
* BUG: JIT: Prefix JIT method with "jit_" to avoid possible conflicts.
* BUG: JIT: Fix variable initialization.
* NEW: JIT: Complete datatype support.
* NEW: JIT: Support for SWAP.
* NEW: JIT: Support for array operators.
* BUG: JIT: Fix arithmetic operators.
* NEW: JIT: Implement ME and "." operator.
* NEW: JIT: Complete GOSUB / RETURN support.
* NEW: JIT: Support for DIV and MOD operators. Not optimized yet.

[ARCHIVER]
* NEW: Put JIT translation in the archive.

[GB.JIT]
* NEW: Complete datatype support. Variant is not supported yet.
* NEW: Complete GOSUB / RETURN support.
* NEW: Support for ME and '.' operator.
2018-06-02 17:59:47 +02:00
gambas
714b77a10d Work on new JIT system continues.
[CONFIGURATION]
* NEW: Add '.jit' directory to '.gitignore'.

[COMPILER]
* NEW: New '-j' option that disables just in time compilation.
* NEW: JIT: Support for private functions calls.
* NEW: JIT: Support for native arrays accessors.
* BUG: JIT: Fix loop support.
* NEW: JIT: Support for GOSUB.

[GB.JIT]
* NEW: GB_JIT_DEBUG is an environment variable that defines if JIT compilation debugging messages are printed.
* NEW: GB_JIT_CFLAGS is an environment variable that defines the JIT compilation flags. The default is "-O3".
* NEW: Support for native arrays accessors.
2018-06-01 03:50:42 +02:00
gambas
5219fc48d1 Work continues on new JIT system.
[COMPILER]
* BUG: JIT: Fix local variable referencing.
* NEW: JIT: Implement NEW operator and array accessors.

[INTERPRETER]
* NEW: Support for JIT NEW operator and array accessors.

[GB.JIT]
* NEW: Support for object datatypes.
* NEW: Implement NEW operator and array accessors.
2018-05-29 23:25:57 +02:00
gambas
83a2452acb Continue working on new JIT system.
[COMPILER]
* NEW: JIT: Support for FOR...TO...NEXT loops.
* NEW: JIT: Support for Len(), Left$(), Mid$(), and Right$().
* NEW: JIT: Subroutines return values are now hadled correctly.

[GB.JIT]
* NEW: Compile JIT code with -O3.
2018-05-29 03:43:23 +02:00
gambas
a2b64b190a Work on new JIT system continues.
[COMPILER]
* NEW: Internal initialization functions now can be JIT translated.
* NEW: Support of subroutine calling completed. Interpreter subroutines are called if there is no optimization implemented in the JIT translation.

[INTERPRETER]
* NEW: Remove old JIT stuff.

[GB.JIT]
* NEW: Use 'gambas.h' and 'gb.jit.h' to compile translated code.
2018-05-28 03:18:44 +02:00
gambas
540cda4531 C/C++ syntax highlighting: A backslash at the end of the line continues preprocessor definitions.
[GB.EVAL.HIGHLIGHT]
* BUG: C/C++ syntax highlighting: A backslash at the end of the line continues preprocessor definitions.
* BUG: Fix a warning.
2018-05-28 03:16:53 +02:00
gambas
d797a545b6 [COMPILER]
* NEW: Work on JIT continues...
* NEW: Better panic errors.

[INTERPRETER]
* NEW: Remove the old JIT stuff.
* NEW: Calls gb.jit at runtime if needed. If a fast function has no jit implementation, the bytecode version is used.
* NEW: Start defining the JIT interface needed by the JIT functions.
* NEW: The common static character buffer is now twice the size of the maximum symbol length, to avoid possible overflows.

[GB.JIT]
* NEW: Compilation starts to work.
* NEW: Debugging messages.
2018-05-26 16:50:00 +02:00
gambas
3c8c722989 New component for compiling JIT code at runtime.
[GB.JIT]
* NEW: New component for compiling JIT code at runtime.
2018-05-25 21:03:48 +02:00
gambas
502b403728 TextEditor: Shortcuts work again.
[GB.FORM.EDITOR]
* BUG: TextEditor: Shortcuts work again.
2018-05-24 17:41:49 +02:00
Benoît Minisini
df6bf93820 Merge branch 'master' into 'master'
This commit contains bug fix for the Chart component.

See merge request gambas/gambas!18
2018-05-13 21:20:21 +00:00
gambas
85376261ea DateBox: The time popup works correctly again.
[GB.FORM]
* BUG: DateBox: The time popup works correctly again.
2018-05-07 22:20:01 +02:00
Davidmue
f61ff5e8b6 This commit contains bug fix for the Chart component.
[GB.CHART]
* BUG: Fixed a bug in Chart class.
  A more complex calculated id is now used. This let us use more than one chart.
* BUG: Fixed a bug in _CSerie class.
  A call to an unexisting property Labels has been changed.
2018-05-05 11:02:05 +02:00
gambas
7239cbe35e SmtpClient: Fix the sent date header.
[GB.NET.SMTP]
* BUG: SmtpClient: Fix the sent date header.
2018-05-02 17:05:16 +02:00
gambas
20f650aa59 Shortcut configuration dialog: Use the Shortcut class and display action icons correctly.
[GB.FORM.MDI]
* NEW: Shortcut configuration dialog: Use the Shortcut class.
* BUG: Shortcut configuration dialog: Display action icons correctly.
2018-04-28 15:54:33 +02:00
gambas
93fe4c8ae2 Shortcut: Write modifier keys with the first letter capitalized only.
[GB.GUI.BASE]
* BUG: Shortcut: Write modifier keys with the first letter capitalized only.
2018-04-28 15:53:17 +02:00
gambas
2b3cbd9217 TerminalView: Fix "EraseStartOfLine" VT-100 command and remove "Erase screen" optimization.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Remove "Erase screen" optimization.
* BUG: TerminalView: Fix "EraseStartOfLine" VT-100 command.
2018-04-21 20:38:57 +02:00
gambas
9b52761613 DesktopFile: Properties should be correctly writable now.
[GB.DESKTOP]
* BUG: DesktopFile: Properties should be correctly writable now.
2018-04-21 15:31:09 +02:00
gambas
f0ad78cb1f Toolbar: Make the toolbar configuration dialog defaut size smaller.
[GB.FORM.MDI]
* NEW: Toolbar: Make the toolbar configuration dialog defaut size smaller.
2018-04-16 16:36:10 +02:00
gambas
aaeebacc2f DateBox: Clicking on a date automatically closes the date chooser popup.
[GB.FORM]
* NEW: DateChooser: Raise a Click event when a date is clicked in the inner calendar.
* NEW: DateBox: Clicking on a date automatically closes the date chooser popup.
2018-04-16 16:33:51 +02:00
gambas
cc96782eee Correctly quote field names everywhere and always display error balloons on the accurate cell.
[GB.DB.FORM]
* BUG: DataView: Always display the error balloon on the accurate cell.
* BUG: Correctly quote field names everywhere.
2018-04-16 16:31:44 +02:00
gambas
96a5230994 Redraw the 'database', 'security' and 'table' icons.
[GB.FORM.STOCK]
* NEW: Redraw the 'database', 'security' and 'table' icons.
2018-04-14 19:22:46 +02:00
gambas
c3d36e653b Toolbar: Correctly manage the disabled state of the item when dropping it on a toolbar.
[GB.FORM.MDI]
* BUG: Toolbar: Correctly manage the disabled state of the item when dropping it on a toolbar.
* NEW: Toolbar: Size is a new property that returns the toolbar icon size as a stock string size.
* NEW: Toolbar: Redesign the expander, separator and space items icons.
2018-04-14 18:44:09 +02:00
gambas
d4e2dfcce9 Paint.DrawRect() is a new method that draws a rectangle frame.
[GB.GUI.BASE]
* NEW: Paint.DrawRect() is a new method that draws a rectangle frame.
2018-04-14 18:43:25 +02:00
gambas
27af76092e Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
[GB.FORM.MDI]
* BUG: Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
2018-04-13 17:09:38 +02:00
gambas
de12caa1e7 Fix conversion between dates and their local string representation.
[INTERPRETER]
* BUG: Fix conversion between dates and their local string representation.
* OPT: Little optimization in conversion functions calls.

[GB.UTIL]
* BUG: Fix Date.ToUnixTime() and Date.FromUnixTime() according to the interpreter fix.
2018-04-09 18:58:11 +02:00
gambas
72384c0806 Fix Date.FromUnixTime() and Date.ToUnixTime().
[GB.UTIL]
* BUG: Fix Date.FromUnixTime() and Date.ToUnixTime().
2018-04-07 18:14:22 +02:00
gambas
3ffa6b48b7 Update control icons and remove unused variables.
[GB.DB.FORM]
* NEW: Update control icons.
* BUG: Remove unused variables.
2018-04-05 15:50:07 +02:00
gambas
9e6e254d31 Update "database" icons.
[GB.FORM.STOCK]
* NEW: Update "database" icons.
2018-04-05 15:49:32 +02:00
gambas
10013d286b [GB.DB.FORM]
* NEW: Add a project icon.

[GB.FORM.EDITOR]
* NEW: Add a project icon.

[GB.FORM.MDI]
* NEW: Add a project icon.
2018-04-05 14:01:37 +02:00
gambas
ceed651ab5 New stock icon "database".
[GB.FORM]
* NEW: New stock icon "database".

[GB.FORM.STOCK]
* NEW: New stock icon "database".
2018-04-05 13:57:44 +02:00
gambas
6136b8e840 TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
2018-04-05 00:45:16 +02:00
gambas
19609d3eb4 TextEditor: Fix a potential crash when some editor views are invalid.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a potential crash when some editor views are invalid.
2018-04-05 00:39:03 +02:00
gambas
29b8b10c58 GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
[GB.GUI.BASE]
* NEW: GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
2018-04-03 23:45:43 +02:00
gambas
77392c328f DataSource: Better support of SQL queries in the Table property.
[GB.DB.FORM]
* BUG: DataSource: Better support of SQL queries in the Table property. Using a SQL query now make the DataSource automatically read-only.
2018-04-03 23:44:32 +02:00
gambas
b7ce316088 DataView: Long integers are now right aligned like other numbers.
[GB.DB.FORM]
* BUG: DataView: Long integers are now right aligned like other numbers.
2018-03-30 16:57:54 +02:00
gambas
b81e653925 TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
2018-03-30 00:38:13 +02:00
gambas
df8044501a Add a 128 pixel monochrome version of the 'gambas' icon.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel monochrome version of the 'gambas' icon.
2018-03-21 20:12:43 +01:00
gambas
c772e744a1 Support for stock icons of any size, with automatic stretching.
[GB.FORM]
* NEW: Support for stock icons of any size, with automatic stretching.

[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the Gambas logo to the 'gambas' stock theme.
2018-03-20 18:19:44 +01:00
gambas
3ec7e51b77 TerminalView: Add AutoResize, ScreenWidth, CharWidth and LineHeight properties.
[GB.FORM.TERMINAL]
* NEW: Redraw the control icon.
* NEW: TerminalView: AutoResize is a new property that defines if the screen width automatically fits the view.
* NEW: TerminalView: ScreenWidth is a new property that allows to define the screen width in the case AutoResize is FALSE.
* NEW: TerminalView: CharWidth is a new property that returns the screen character width.
* NEW: TerminalView: LineHeight is a new property that returns the screen lien height.
* BUG: TerminalView: The scrollbar should now be correctly hidden in all cases.
2018-03-20 18:14:47 +01:00
gambas
b9389e5d61 Update French translation.
[GB.FORM.MDI]
* NEW: Update French translation.
2018-03-17 23:36:54 +01:00
gambas
1a1db93658 Update a test form.
[GB.FORM]
* NEW: Update a test form.
2018-03-17 03:29:35 +01:00
gambas
870ad90a71 Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
[GB.DESKTOP]
* NEW: Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
2018-03-17 02:37:01 +01:00
gambas
b2cedc658c Redraw the control icons.
[GB.DB.FORM]
* NEW: Redraw the control icons.
2018-03-17 02:36:18 +01:00
gambas
a57f909fdb Use the 'vector' icon for svg mime type.
[GB.FORM.STOCK]
* NEW: Redraw the 'vector' icon.
* NEW: Use the 'vector' icon for svg mime type.
2018-03-17 02:35:23 +01:00
gambas
14be5945df Update control icons in many places. 2018-03-16 23:46:35 +01:00
gambas
759020b263 Forgot to add the new icon for 'gambas' theme.
[GB.FORM.STOCK]
* BUG: Forgot to add the new icon for 'gambas' theme.
2018-03-16 23:43:34 +01:00
gambas
1df3488f93 New stock icon 'vector'.
[GB.FORM]
* NEW: New stock icon 'vector'.

[GB.FORM.STOCK]
* NEW: New stock icon 'vector'.
* NEW: Fix some icons.
2018-03-16 23:42:08 +01:00
gambas
557165ebcb TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
[GB.FORM]
* BUG: TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
2018-03-16 23:41:06 +01:00
gambas
900fee66d5 Update many project configuration files. 2018-03-16 14:13:21 +01:00
gambas
e7a98f3ab9 TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
[GB.FORM]
* BUG: TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
2018-03-16 14:11:55 +01:00
gambas
539f17a4bd Redraw many control icons using the new stock icons. 2018-03-16 14:10:12 +01:00
gambas
c995af165c Fix the mysql logo that made libpng displays a warning.
[GB.MYSQL]
* BUG: Fix the mysql logo that made libpng displays a warning.
2018-03-16 03:05:56 +01:00
gambas
b80c0fbaa9 TextEditor: Fix the side view tooltip contents again.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the side view tooltip contents again.
2018-03-16 02:55:30 +01:00
gambas
2ac50c7ea0 TextEditor: Fix the side view range and the side view tooltips.
[GB.FORM.EDITOR]
* BUG: TextEditor: The side view does not allow to move the view past the last line anymore.
* BUG: TextEditor: Fix the values displayed in the side view tooltip.
* NEW: TextEditor: Draw the side view tooltip in a more compact way.
2018-03-16 02:09:30 +01:00
gambas
2a0be69773 TextEditor: Fix highlighting of matching indentations.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix highlighting of matching indentations.
2018-03-12 00:07:51 +01:00
gambas
e0dca9514d GridView: The Selection property cannot return invalid rows anymore.
[GB.GUI.BASE]
* BUG: GridView: The Selection property cannot return invalid rows anymore.
2018-03-11 01:04:04 +01:00
gambas
53cbe2370c TerminalView.Suspended is a new property that allows to suspend or restart the terminal.
[GB.FORM.TERMINAL]
* NEW: TerminalView: TerminalView.Suspended is a new property that allows to suspend or restart the terminal.
* NEW: TerminalView: Terminal.Reset() now takes an optional argument to keep the cursor position.
2018-03-10 13:27:02 +01:00
gambas
f6231bf616 TextEditor: Enhance undo & redo management of breakpoints and bookmarks.
[GB.FORM.EDITOR]
* BUG: TextEditor: Enhance undo & redo management of breakpoints and bookmarks.
2018-03-10 02:55:07 +01:00
gambas
9ef5ef6abf Undo & redo now take the breakpoints and the bookmarks into account.
[GB.FORM.EDITOR]
* NEW: Undo & redo now take the breakpoints and the bookmarks into account.
* NEW: Change the way bookmarks are drawn.
2018-03-10 02:45:07 +01:00
gambas
a8ddb2a634 Highlight matching indentations.
[GB.FORM.EDITOR]
* NEW: Highlight matching indentations.
2018-03-09 21:26:43 +01:00
gambas
ac0ae560e9 Rename "very small" stock icon size into "tiny".
[GB.FORM.MDI]
* NEW: Rename "very small" stock icon size into "tiny".
2018-03-09 21:25:53 +01:00
gambas
bd3a57dc0f Rename "very small" stock icon size into "tiny" and add Stock.Sizes property.
[GB.FORM]
* NEW: Rename "very small" stock icon size into "tiny".
* NEW: Stock.Sizes is a new property that returns the list of stock icon default sizes.
2018-03-09 21:25:07 +01:00
gambas
1307a0e55b TextEditor: Take wayland into account when testing for a remote desktop.
[GB.FORM.EDITOR]
* BUG: TextEditor: Take wayland into account when testing for a remote desktop.

[GB.FORM.TERMINAL]
* NEW: Update .gitignore.

[GB.WEB.FORM]
* NEW: Update .gitignore.
2018-03-08 12:55:36 +01:00
gambas
df7413f3cf Desktop.RemoteDisplay is a new property that returns if the application is connected to a remote display.
[GB.DESKTOP]
* NEW: Remove static dependency on 'gb.desktop.x11' component.
* NEW: Load 'gb.desktop.x11' only if $XDG_SESSION_TYPE is not "wayland".
* NEW: Desktop.RemoteDisplay is a new property that returns if the application is connected to a remote display.
* BUG: Fix Desktop.GetFileIcon().
2018-03-08 12:49:19 +01:00
gambas
728996761b Add some stock icons for some mimetypes.
[GB.FORM]
* NEW: Add some stock icons for some mimetypes.
2018-03-08 12:48:23 +01:00
gambas
56e96865aa [GB.GUI.BASE]
* BUG: TreeView: TreeView[].MoveFirst() and TreeView[].MoveLast() were inverted.
* NEW: GridView: It now raises a Font event when its font changes.
* BUG: GridView: Do not reset row heights when the font changes.
* BUG: TreeView: Correctly react to font changes.
2018-03-08 10:10:21 +01:00
gambas
8b80a430f4 ColumnView[].Rename() method now takes an optional argument to indicate the column to rename.
[GB.GUI.BASE]
* NEW: ColumnView[].Rename() method now takes an optional argument to indicate the column to rename.
2018-03-08 02:00:31 +01:00
gambas
c6b696b33c Redraw the 'archive' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'archive' icon.
2018-03-07 22:08:44 +01:00
gambas
dbff0b1e5f Redraw 'revert' stock icons.
[GB.FORM.STOCK]
* NEW: Redraw 'revert' stock icons.
2018-03-07 01:10:44 +01:00
gambas
cb86aa9add TextEditor: Don't store breakpoints and bookmarks in each line, but in global collections.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't store breakpoints and bookmarks in each line, but in global collections.
2018-03-07 01:09:44 +01:00
gambas
0ba668b4a2 Toolbar: The minimum height is now 80% of the font height.
[GB.FORM.MDI]
* NEW: Toolbar: The minimum height is now 80% of the font height.
2018-03-06 23:46:09 +01:00
gambas
3038cc3998 [GB.FORM.EDITOR]
* NEW: Support for disable breakpoints.
2018-03-06 23:45:02 +01:00
gambas
fee00298b0 FontChooser: Ignore case when sorting fonts.
[GB.FORM]
* BUG: FontChooser: Ignore case when sorting fonts.
2018-03-06 23:37:19 +01:00
gambas
2eccfbc7b8 New stock icons.
[GB.FORM]
* NEW: New stock icons.
2018-03-06 21:36:31 +01:00
gambas
d0b9e6d8f7 New stock icons.
[GB.FORM.STOCK]
* NEW: New stock icons.
2018-03-06 21:35:41 +01:00
gambas
4c90fc8855 Make the "very small" toolbar size less small.
[GB.FORM.MDI]
* NEW: Make the "very small" toolbar size less small.
2018-03-03 03:16:07 +01:00
gambas
51dd51dff7 TabPanel: The tab close button will not appear incorrectly anymore.
[GB.FORM]
* BUG: TabPanel: The tab close button will not appear incorrectly anymore.
2018-03-03 03:15:16 +01:00
gambas
31792ddb95 Support for 'application/x-www-form-urlencoded' requests without content length.
[GB.WEB]
* BUG: Support for 'application/x-www-form-urlencoded' requests without content length. If the content length is not specified, everything is read up to 8192 bytes.
2018-02-28 15:02:41 +01:00
gambas
5c288faa0a Support for a new "very small" toolbar size.
[GB.FORM.MDI]
* NEW: Support for a new "very small" toolbar size.
* NEW: Small redesign of the toolbar configuration dialog.
2018-02-28 15:01:15 +01:00
gambas
390188639b [GB.FORM]
* NEW: Support for a new "very small" toolbar size.
* NEW: Add some new stock icons.
2018-02-28 15:00:29 +01:00
gambas
2a4b85258d Automatic support of dark themes, by using the new Image.Invert() method.
[GB.FORM.STOCK]
* NEW: Automatic support of dark themes, by using the new Image.Invert() method.
* NEW: Icon fixes and new icons.
2018-02-28 14:57:18 +01:00
gambas
7d903b495a ColorPalette: Scrolling with the mouse wheel now works correctly when the Border property is set.
[GB.FORM]
* BUG: ColorPalette: Scrolling with the mouse wheel now works correctly when the Border property is set.
2018-02-27 01:52:56 +01:00
gambas
242d297bad Update some icons, and add new ones.
[GB.FORM.STOCK]
* NEW: Update some icons, and add new ones.
2018-02-26 04:06:31 +01:00