Commit graph

1081 commits

Author SHA1 Message Date
gambas
352bf8230d Fix use of QFont::setStyleName()
[GB.QT4]
* BUG: Don't use QFont::setStyleName() if Qt version is not at least 4.8.

[GB.QT5]
* BUG: Call QFont::setStyleName() last, as it may be buggy if Qt version is not at least 5.3.
2018-05-12 19:38:38 +02:00
gambas
c88b94cfbd Don't center modal forms if they have been explicitely moved.
[GB.QT4]
* BUG: Don't center modal forms if they have been explicitely moved.

[GB.QT5]
* BUG: Don't center modal forms if they have been explicitely moved.
2018-04-13 17:06:00 +02:00
gambas
cb9f245c3d ScrollView: The background and foreground colors are now applied to the entire widget.
[GB.QT4]
* NEW: ScrollView: The background and foreground colors are now applied to the entire widget.

[GB.QT5]
* NEW: ScrollView: The background and foreground colors are now applied to the entire widget.
2018-04-06 00:18:59 +02:00
gambas
15f0960ab7 Never disable the Qt GLib event loop, even on KDE.
[GB.QT4]
* NEW: Never disable the Qt GLib event loop, even on KDE.

[GB.QT5]
* NEW: Never disable the Qt GLib event loop, even on KDE.
2018-03-16 01:58:52 +01:00
gambas
b9de5d027c Workaround a new bug in QT5 that prevents some bold fonts from being seen.
[GB.QT5]
* BUG: Workaround a new bug in QT5 that prevents some bold fonts from being seen.
2018-03-08 02:35:09 +01:00
gambas
69abff8f73 Menu.Closed property now takes the menu proxy into account.
[GB.QT4]
* BUG: Menu.Closed property now takes the menu proxy into account.

[GB.QT5]
* BUG: Menu.Closed property now takes the menu proxy into account.
2018-03-06 23:35:59 +01:00
gambas
c6587f6116 Fix render of Slider controls with Breeze theme.
[GB.QT4]
* BUG: Fix render of Slider controls with Breeze theme.

[GB.QT5]
* BUG: Fix render of Slider controls with Breeze theme.
2018-03-03 03:12:24 +01:00
gambas
581167f60e Remove a debugging message.
[GB.QT5]
* BUG: Remove a debugging message.
2018-02-26 17:34:01 +01:00
gambas
6b7b59c476 Clipboard.HasChanged is a new property that returns if the clipboard contents has changed since the last call to Clipboard.Paste().
[GB.GTK]
* NEW: Clipboard.HasChanged is a new property that returns if the clipboard contents has changed since the last call to Clipboard.Paste().

[GB.GTK3]
* NEW: Clipboard.HasChanged is a new property that returns if the clipboard contents has changed since the last call to Clipboard.Paste().

[GB.QT4]
* NEW: Clipboard.HasChanged is a new property that returns if the clipboard contents has changed since the last call to Clipboard.Paste().

[GB.QT5]
* NEW: Clipboard.HasChanged is a new property that returns if the clipboard contents has changed since the last call to Clipboard.Paste().
2018-02-26 04:03:21 +01:00
gambas
c8d6b096e7 Get rid of spurious "selection too old" messages from Qt xcb platform plugin.
[GB.QT5]
* BUG: Get rid of spurious "selection too old" messages from Qt xcb platform plugin.
2018-02-23 21:50:18 +01:00
gambas
5969cc0062 Menu.Closed is a new property that returns if a popup menu is closed.
[GB.GTK]
* NEW: Menu.Closed is a new property that returns if a popup menu is closed.

[GB.GTK3]
* NEW: Menu.Closed is a new property that returns if a popup menu is closed.

[GB.QT4]
* NEW: Menu.Closed is a new property that returns if a popup menu is closed.

[GB.QT5]
* NEW: Menu.Closed is a new property that returns if a popup menu is closed.
2018-02-23 04:05:27 +01:00
gambas
09a0573e61 Replace my old sourceforge mail address by the new one.
[CONFIGURATION]
Replace my old sourceforge mail address by the new one.
2018-02-12 02:53:46 +01:00
gambas
066c25c7aa Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.
[GB.GTK]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.GTK3]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.IMAGE.IO]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.QT4]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.

[GB.QT5]
* NEW: Image.FromString() and Picture.FromString() are two new methods that load an image from the contents of a string.
2018-01-06 17:05:49 +01:00
gambas
e3f941c7e2 Use a dedicated stream for locks, and ignore Application.Busy when displaying a message box.
[DEVELOPMENT ENVIRONMENT]
* OPT: Don't load the help browser form immediately to speed up IDE starting.

[INTERPRETER]
* NEW: Use a dedicated stream for locks, so that the File object returned by LOCK cannot be used for reading or writing the locked file.

[GB.GTK]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.GTK3]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.QT4]
* NEW: Ignore Application.Busy when displaying a message box.

[GB.QT5]
* NEW: Ignore Application.Busy when displaying a message box.
2017-12-18 13:02:39 +01:00
gambas
5e79f29fdc Fix some gcc compiler warnings.
[COMPILER]
* BUG: Fix some gcc warnings.

[GB.QT4]
* BUG: Clipboard.Paste() correctly converts image to ARGB premultiplied format.

[GB.QT5]
* BUG: Clipboard.Paste() correctly converts image to ARGB premultiplied format.

[GB.PCRE]
* BUG: Fix a gcc warning.
2017-11-10 20:35:27 +01:00
gambas
a048b76368 Define the parent window of a modal dialog the same way in all GUI components.
[GB.QT4]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.QT5]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.GTK]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.

[GB.GTK3]
* BUG: Define the parent window of a modal dialog the same way in all GUI components.
2017-10-23 23:10:49 +02:00
gambas
a2e9261032 Fix minimum value of Font.Grade property in GTK+ components.
[GB.GTK]
* BUG: Fix minimum value of Font.Grade property.

[GB.GTK3]
* BUG: Fix minimum value of Font.Grade property.

[GB.QT4]
* BUG: Share Font.Grade minimum and maximum values between QT and GTK+ components.
2017-09-29 21:03:35 +02:00
gambas
ed41d9dcf1 Don't crash when generating missing leave events after having closed a popup menu.
[GB.QT5]
* BUG: Remove some warnings.
* BUG: Don't crash when generating missing leave events after having closed a popup menu.
2017-09-26 12:16:54 +02:00
gambas
7f3ddad0b7 Fix pasting from clipboard when data is in UTF-16 or UTF-32 format.
[GB.QT4]
* BUG: Fix pasting from clipboard when data is in UTF-16 or UTF-32 format.
2017-09-23 13:24:38 +02:00
gambas
24bbfdc2b2 Fix menu proxy management that could lead to a crash.
[GB.QT4]
* BUG: Fix menu proxy management that could lead to a crash.

[GB.QT5]
* BUG: Fix menu proxy management that could lead to a crash.
2017-09-09 01:36:45 +02:00
gambas
54a0ce9d31 More keyboard events debugging messages.
[GB.QT4]
* NEW: More keyboard events debugging messages.

[GB.QT5]
* NEW: More keyboard events debugging messages.
2017-09-07 22:17:26 +02:00
gambas
b4899b113b Add an environment variable that toggles key event debugging messages for bug #1161.
[GB.QT4]
* NEW: Add an environment variable that toggles key event debugging messages for bug #1161.

[GB.QT5]
* NEW: Add an environment variable that toggles key event debugging messages for bug #1161.
2017-09-07 22:00:17 +02:00
gambas
c02be7127f Fix ComboBox look with Oxygen style.
[GB.QT4]
* BUG: Fix ComboBox look with Oxygen style.

[GB.QT5]
* BUG: Fix ComboBox look with Oxygen style.
2017-09-02 03:43:23 +02:00
gambas
7f559678f9 [GB.QT4]
* BUG: DblClick event raises the MouseDown event in all cases now.

[GB.QT5]
* BUG: DblClick event raises the MouseDown event in all cases now.
2017-08-26 18:18:14 +02:00
gambas
358e18707b [GB.QT4]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.QT5]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
* BUG: DblClick event also raises the MouseDown event just before, as in gb.gtk.

[GB.GTK]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.

[GB.GTK3]
* NEW: Application.DblClickTime is a new property that returns the double-click time interval.
2017-08-26 17:45:04 +02:00
Laurent Carlier
faa630b567 [GB.QT5.EXT]
* NEW: Add the LCDNumber class from gb.qt4.ext

also remove the Qt3 transitional header/code
2017-08-15 15:39:49 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02: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
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
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
7132d88001 [GB.QT5]
* BUG: SpinBox: MouseWheel events are correctly stopped now.


git-svn-id: svn://localhost/gambas/trunk@8097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 12:29:04 +00:00
Benoît Minisini
5e49bfbd90 [GB.DB.SQLITE2]
* BUG: Make component compile with gcc 6.

[INTERPRETER]
* BUG: Include <cmath> instead of <math.h> for components written in C++, so that they compile with gcc 6.

[GB.GTK]
* BUG: Make component compile with gcc 6.

[GB.GTK3]
* BUG: Make component compile with gcc 6.

[GB.QT4]
* BUG: Make component compile with gcc 6.

[GB.QT5]
* BUG: Make component compile with gcc 6.


git-svn-id: svn://localhost/gambas/trunk@8088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-07 00:08:22 +00:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
d0240599c8 [GB.QT5]
* BUG: The component now should compile correctly with C++11.


git-svn-id: svn://localhost/gambas/trunk@8049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-09 14:46:59 +00:00
Benoît Minisini
aab46220f6 [GB.GTK]
* BUG: Window.Show() works again on hidden windows.

[GB.GTK3]
* BUG: Window.Show() works again on hidden windows.

[GB.QT4]
* BUG: Window.Show() works again on hidden windows.

[GB.QT5]
* BUG: Window.Show() works again on hidden windows.


git-svn-id: svn://localhost/gambas/trunk@8044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 10:57:16 +00:00
Benoît Minisini
558f5f2271 [GB.GTK]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.GTK3]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT4]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.

[GB.QT5]
* BUG: Calling ShowModal() or ShowPopup() on an already opened window now raises an error.


git-svn-id: svn://localhost/gambas/trunk@8034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-31 18:59:14 +00:00
Benoît Minisini
7e058b45d8 [GB.GTK]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.GTK3]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT4]
* BUG: Search for popup menu defined by the PopupMenu property recursively.

[GB.QT5]
* BUG: Search for popup menu defined by the PopupMenu property recursively.


git-svn-id: svn://localhost/gambas/trunk@8026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-29 22:59:41 +00:00
Benoît Minisini
03fb86d7c3 [GB.QT4]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.QT5]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.GTK]
* BUG: Workaround to prevent system tooltip colors to be unreadable.

[GB.GTK3]
* BUG: Workaround to prevent system tooltip colors to be unreadable.


git-svn-id: svn://localhost/gambas/trunk@8004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-28 06:18:10 +00:00
Benoît Minisini
59cd9c2d4a [GB.DESKTOP]
* BUG: Fix detection of KDE4 and KDE5 desktops.

[GB.QT4]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.QT5]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK3]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.


git-svn-id: svn://localhost/gambas/trunk@7849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 14:37:19 +00:00
Benoît Minisini
33b6b23b6a [DEVELOPMENT ENVIRONMENT]
* NEW: The editor pop-up menu is now accessible from the top menu-bar through an "Edit" menu.

[GB.QT4]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.QT5]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.GTK]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!

[GB.GTK3]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!


git-svn-id: svn://localhost/gambas/trunk@7839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-14 14:50:03 +00:00
Benoît Minisini
656bb0f30d [GB.QT4]
* BUG: Fix a crash when checking the current hovered widget.

[GB.QT5]
* BUG: Fix a crash when checking the current hovered widget.


git-svn-id: svn://localhost/gambas/trunk@7834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-12 21:32:33 +00:00
Benoît Minisini
2a3ecf982d [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: New project arguments interface.
* NEW: Debugger: The project arguments is now selectable with a popup menu.
* BUG: Fix position history behaviour.

[INTERPRETER]
* NEW: Object.Type(), Object.Class() and Object.Is() now work with invalid objects.

[GB.FORM]
* NEW: Completion: Support for TextArea editor.
* NEW: Completion: Editor property is now writable.
* NEW: TableView: Raise a new Hide event when the editor is hidden.

[GB.FORM.EDITOR]
* NEW: TextEditor: CursorAt() is a new method that returns the cursor screen position from a line and a column.

[GB.GTK]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GTK3]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GUI.BASE]
* BUG: GridView: Newlines in cells with WordWrap property set are now taken into account correctly.

[GB.QT4]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.QT5]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.


git-svn-id: svn://localhost/gambas/trunk@7825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:01:59 +00:00
Benoît Minisini
40bc4ec9ec [GB.QT4]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.QT5]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK3]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.


git-svn-id: svn://localhost/gambas/trunk@7824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-17 16:15:07 +00:00
Benoît Minisini
b4910c912f [GB.QT4]
* BUG: Fix Style.FrameWidth and Style.BoxFrameWidth for Breeze style.
* BUG: Fix Window Close event signature.

[GB.QT5]
* BUG: Fix Style.FrameWidth and Style.BoxFrameWidth for Breeze style.
* BUG: Fix Window Close event signature.

[GB.GTK]
* BUG: Fix Window Close event signature.

[GB.GTK3]
* BUG: Fix Window Close event signature.


git-svn-id: svn://localhost/gambas/trunk@7815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-11 16:12:40 +00:00
Benoît Minisini
82c20cf083 [GB.QT4]
* BUG: Workadounr Enter & Leave events QT madness.

[GB.QT5]
* BUG: Workadounr Enter & Leave events QT madness.


git-svn-id: svn://localhost/gambas/trunk@7803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-21 01:06:20 +00:00
Benoît Minisini
f57d3273fe [CONFIGURATION]
* NEW: Support for Haiku operating system.
* BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages.

[GB.FORM]
* NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces.

[GB.UTIL.WEB]
* BUG: Fix collection generation in JSON.Encode().

[GB.WEB.FORM]
* NEW: WebImage: Add the Border property.
* NEW: WebImage: Image property now can be an absolute path.
* BUG: WebButton: Workaround Firefox not supporting flex on buttons.
* BUG: WebComboBox: Enabled property is now taken into account.
* BUG: WebUploadArea: The file name now keeps the uploaded file extension.


git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-24 16:18:48 +00:00
Benoît Minisini
cbdd2e83e3 [GB.DESKTOP]
* BUG: Use the same desktop detection algorithm than GUI components.

[GB.GTK]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.GTK3]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT4]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT5]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.



git-svn-id: svn://localhost/gambas/trunk@7777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 12:22:06 +00:00
Benoît Minisini
cb9dcb4d4b [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the debug panel when the console is put in floating mode.
* BUG: Take the "invert theme" option when initializing the colors of a specific control.

[GB.FORM]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.

[GB.QT5]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.


git-svn-id: svn://localhost/gambas/trunk@7770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 13:15:31 +00:00
Benoît Minisini
a38aff282c [GB.FORM]
* OPT: DirView: Disable file watches when the control is hidden.
* OPT: DirView: Delay the view refresh when a watch event is received.
* BUG: DirView: Remove debugging messages.



git-svn-id: svn://localhost/gambas/trunk@7769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 01:15:43 +00:00
Benoît Minisini
8abf1b70dd [GB.GTK]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.GTK3]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT4]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.

[GB.QT5]
* BUG: TextArea: ToPos(), ToColumn() and ToLine() methods work correctly now.


git-svn-id: svn://localhost/gambas/trunk@7763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 12:41:17 +00:00
Benoît Minisini
5da7ed1c4e [DEVELOPMENT ENVIRONMENT]
* BUG: Remove old console search code.

[GB.FORM]
* NEW: MenuButton controls now automatically pop up when one of their sibling is already opened.

[GB.FORM.EDITOR]
* NEW: TextEditor: The cursor position label background is now semi-transparent.

[GB.GTK]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.GTK3]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT4]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT5]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.


git-svn-id: svn://localhost/gambas/trunk@7751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 23:55:10 +00:00
Benoît Minisini
ad2a5315e4 [GB.QT4]
* BUG: Found a workaround for forcing Oxygen style to draw small push buttons correctly.

[GB.QT5]
* BUG: Found a workaround for forcing Oxygen style to draw small push buttons correctly.


git-svn-id: svn://localhost/gambas/trunk@7729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-07 20:41:37 +00:00
Benoît Minisini
409bc82577 [GB.QT5]
* BUG: Quickly apply the Breeze style workarounds to the Oxygen style. Some work is still needed on small buttons. And other places for sure!


git-svn-id: svn://localhost/gambas/trunk@7728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-07 09:10:28 +00:00
Benoît Minisini
e6c400c46c [INTERPRETER]
* BUG: Fix 'gambas.h' header for new version of gcc.


git-svn-id: svn://localhost/gambas/trunk@7715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 11:40:08 +00:00
Benoît Minisini
ff7bbe8a21 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.form.terminal' to the component list.
* NEW: New component status icons.

[INTERPRETER]
* BUG: Correctly export Stream.Term description.
* NEW: Stream.Term.FlowControl is a new property that allows to set or retrieve if flow control is enabled on a terminal stream.

[GB.GTK]
* NEW: Change the name of 'NewChild' event argument.

[GB.GTK3]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT4]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT5]
* NEW: Change the name of 'NewChild' event argument.

[GB.FORM.TERMINAL]
* NEW: Support for the 'Set title' command.
* NEW: TerminalView now emits the Title event when the terminal requests a title change.
* NEW: Support for flow control. When output is suspended, the terminal contents becomes darker.
* BUG: Correctly update the scrollbar when switching between screens.


git-svn-id: svn://localhost/gambas/trunk@7714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 10:54:21 +00:00
Benoît Minisini
4a834861f0 [GB.QT4]
* BUG: Prevent Container.FindChild() from returning the container it applies to.

[GB.QT5]
* BUG: Prevent Container.FindChild() from returning the container it applies to.


git-svn-id: svn://localhost/gambas/trunk@7665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 14:48:17 +00:00
Benoît Minisini
0761703d03 [GB.QT5]
* BUG: Fix a possible infinite loop in r7657 fix.


git-svn-id: svn://localhost/gambas/trunk@7659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:30:04 +00:00
Benoît Minisini
82a4b1f919 [GB.QT5]
* BUG: Leave events are now correctly sent after a popup menu has been closed. Workaround a QT5 bug.


git-svn-id: svn://localhost/gambas/trunk@7657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-22 18:46:05 +00:00
Benoît Minisini
2cdc040066 [GB.QT5]
* BUG: Remove Mouse.ScreenX and Mouse.ScreenY optimization based on the contents of a mouse event. Apparently it works with QT4 but not with QT5.


git-svn-id: svn://localhost/gambas/trunk@7643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 00:41:01 +00:00
Benoît Minisini
c6f5e75c0e [GB.QT4]
* BUG: Paint.Dash correctly accepts an array with one single element.

[GB.QT5]
* BUG: Paint.Dash correctly accepts an array with one single element.


git-svn-id: svn://localhost/gambas/trunk@7638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 02:59:52 +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
e1ee3f7115 [GB.QT4]
* BUG: Window.Border property works correctly again.


git-svn-id: svn://localhost/gambas/trunk@7515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-12 11:39:20 +00:00
Benoît Minisini
8e05c10ece [GB.GTK]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
  -not- a good idea tha can crash everything.

[GB.GTK3]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
  -not- a good idea tha can crash everything.


[GB.QT4]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
  -not- a good idea tha can crash everything.

[GB.QT5]
* BUG: Raise an error now when calling WAIT during a repaint event. This is
  -not- a good idea tha can crash everything.


git-svn-id: svn://localhost/gambas/trunk@7511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 23:14:17 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
759dabeb81 [GB.GTK]
* BUG: Fix crashes on desktops not defining some X11 properties.

[GB.GTK3]
* BUG: Fix crashes on desktops not defining some X11 properties.

[GB.QT4]
* BUG: Fix crashes on desktops not defining some X11 properties.

[GB.QT5]
* BUG: Fix crashes on desktops not defining some X11 properties.


git-svn-id: svn://localhost/gambas/trunk@7480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-16 14:31:24 +00:00
Benoît Minisini
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
0f5e67b85e [GB.QT4]
* BUG: Disable warning messages when rendering a SVG file.

[GB.QT5]
* BUG: Disable warning messages when rendering a SVG file.


git-svn-id: svn://localhost/gambas/trunk@7449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 16:13:45 +00:00
Benoît Minisini
657266cf4b [GB.QT4]
* BUG: Draw masked windows the same way as in gb.gtk.

[GB.QT5]
* BUG: Draw masked windows the same way as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@7417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 18:36:53 +00:00
Benoît Minisini
01a2b34270 [DEVELOPMENT ENVIRONMENT]
* NEW: Project exported control icons are thiner.

[INTERPRETER]
* NEW: Release classes having an array class if that array class has no 
  instance.

[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
  "quit" hook. At the moment it releases Drag.Icon picture and voids the 
  Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:02:12 +00:00
Benoît Minisini
156ca6984b [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Draw toolbar icons of project exported controls larger, 
  so that they are more readable.
* BUG: Form editor: Set the Design property of controls the later as 
  possible. That way it is propagated to inner controls that are created
  after because of a control property.

[GB.QT4]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.

[GB.QT5]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.


git-svn-id: svn://localhost/gambas/trunk@7402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 23:08:48 +00:00
Benoît Minisini
64e95ed8e1 [GB.FORM.MDI]
* NEW: Use more granular sizes for stock icons, so that they are not too 
  small for some font sizes.

[GB.QT4]
* BUG: Desktop.Scale is now updated before window Font events are sent.
  
[GB.QT5]
* BUG: Desktop.Scale is now updated before window Font events are sent.


git-svn-id: svn://localhost/gambas/trunk@7380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 23:57:14 +00:00
Benoît Minisini
becf3487d4 [GB.QT4]
* BUG: Don't send a move request for windows whose initial position is 
  X = 0 and Y = 0, as gb.gtk does.
  
[GB.QT5]
* BUG: Don't send a move request for windows whose initial position is 
  X = 0 and Y = 0, as gb.gtk does.
  

git-svn-id: svn://localhost/gambas/trunk@7377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-02 23:23:22 +00:00
Benoît Minisini
e115c34a66 [DEVELOPMENT ENVIRONMENT]
* NEW: List property dialog: Invert button.
* BUG: Image editor: Many bug fixes in draw, erase, and line tool.
* NEW: New icons for networking controls.

[GB.DB.FORM]
* NEW: New icon for DataSource control.

[GB.QT4]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.

[GB.QT5]
* BUG: DrawingArea now can be resized during a paint event as soon as it is 
  not cached.


git-svn-id: svn://localhost/gambas/trunk@7375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-01 20:55:19 +00:00
Benoît Minisini
afd98e3f55 [CONFIGURATION]
* NEW: Redraw many control icons.


git-svn-id: svn://localhost/gambas/trunk@7366 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 12:53:38 +00:00
Benoît Minisini
dee14e9672 [GB.QT4]
* NEW: Add one more test for XFCE desktop detection.


git-svn-id: svn://localhost/gambas/trunk@7365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-29 00:14:00 +00:00
Benoît Minisini
222f066b69 [GB.GTK]
* BUG: Fix detection of XFCE desktop.

[GB.GTK3]
* BUG: Fix detection of XFCE desktop.

[GB.QT4]
* BUG: Fix detection of XFCE desktop.

[GB.QT5]
* BUG: Fix detection of XFCE desktop.


git-svn-id: svn://localhost/gambas/trunk@7361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 21:58:32 +00:00
Benoît Minisini
ade4524d67 [DEVELOPMENT ENVIRONMENT]
* BUG: Property sheet: Fix text property edit dialog.
* BUG: Property sheet: Double-clicking on read-only properties does not 
  open the text property edit dialog anymore.
  
[GB.DEBUG]
* BUG: Fix profiler error messages.
  
[GB.QT4]
* BUG: Startup forms with Visible property set to FALSE are not shown at
  startup anymore.
  
[GB.QT5]
* BUG: Startup forms with Visible property set to FALSE are not shown at
  startup anymore.


git-svn-id: svn://localhost/gambas/trunk@7355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 15:11:50 +00:00
Benoît Minisini
0a9262a2d8 [GB.FORM]
* NEW: Use Desktop.Type to get the current desktop.

[GB.GTK]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.GTK3]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT4]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.

[GB.QT5]
* NEW: Assume that the contents of XDG_CURRENT_DESKTOP is the current 
  desktop as soon as other detection methods have failed.


git-svn-id: svn://localhost/gambas/trunk@7345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-25 22:47:37 +00:00
Benoît Minisini
8a1d5903e0 [GB.QT4]
* BUG: Remove a debugging message.

[GB.QT5]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-23 19:08:37 +00:00
Benoît Minisini
957e31dea8 [GB.QT4]
* BUG: Window.TakeFocus works again.

[GB.QT5]
* BUG: Window.TakeFocus works again.


git-svn-id: svn://localhost/gambas/trunk@7319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-17 22:13:38 +00:00
Benoît Minisini
bdd864f41a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix windows using icons not existing anymore.
* NEW: Add dark theme versions of some icons.

[INTERPRETER]
* NEW: "../xxx" now refers to a file located in the parent archive, not
  necessarily the main project archive. "../../xxx" refers to the 
  grand-parent archive, and so on. A component written in Gambas that 
  receives a relative path is supposed to prefix it with "../" if he wants 
  to access it. Please report any incompatibility!
* NEW: File.IsRelative() is a new method that returns if a file is 
  relative, i.e. if it does not starts with '/' or '~'.
  
[GB.FORM]
* NEW: The Stock class does not use the Picture cache anymore. It is 
  useless as normally the Stock class is accessed from the Picture[]
  method.

[GB.FORM.MDI]
* BUG: When browsing actions, do not try to load an icon for actions that
  do not have one.

[GB.GTK]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GTK3]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
  
[GB.GUI.BASE]
* NEW: The Picture[] array accessor and the Picture.Flush() method are now 
  implemented in that component.
* NEW: Remove support for theme specific icons.
* NEW: Add support for right-to-left specific icons. For example, if an
  icon is named 'abc-ltr.png', then it will be considered as a 
  'left-to-right' icon, and the 'abc-rtl.png' icon will be used if the 
  current langauge is right-to-left written.
* NEW: Add support for dark theme specific icons. An icon named 
  'abc-dark.png' will be the dark theme version of the 'abc.png' icon.

[GB.QT4]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.
  
[GB.QT5]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
  They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 23:21:44 +00:00
Benoît Minisini
57b1daf05d [GB.FORM.EDITOR]
* NEW: TextEditor: Some ANSI codes are taken into account by the Print() 
  method.
* OPT: TextEditor: Print() modifications are not put in the undo buffer.

[GB.QT4]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.

[GB.QT5]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current 
  value.


git-svn-id: svn://localhost/gambas/trunk@7299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-12 15:57:55 +00:00
Benoît Minisini
807893eed8 [GB.QT4]
* BUG: Fix initial window screen again.

[GB.QT5]
* BUG: Fix initial window screen again.


git-svn-id: svn://localhost/gambas/trunk@7286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 00:30:33 +00:00
Benoît Minisini
70c569d138 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't define an initial position to the tips window.

[GB.QT4]
* BUG: Yes, initial screen of new windows needs to be fixed again.

[GB.QT5]
* BUG: Yes, initial screen of new windows needs to be fixed again.


git-svn-id: svn://localhost/gambas/trunk@7285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-07 00:01:00 +00:00
Benoît Minisini
ad812ae32e [GB.QT4]
* BUG: Guess what: continue fixing modal dialog initial screen...

[GB.QT5]
* BUG: Guess what: continue fixing modal dialog initial screen...


git-svn-id: svn://localhost/gambas/trunk@7284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 22:54:56 +00:00
Benoît Minisini
f40a9f1054 [GB.QT4]
* BUG: Continue fixing modal dialog initial screen...

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen...


git-svn-id: svn://localhost/gambas/trunk@7283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 22:34:17 +00:00
Benoît Minisini
e2dd8969a3 [GB.GTK]
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).

[GB.GTK3]
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).


[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* BUG: Remove the Screens.Primary property, it is useless (it is always 0).


git-svn-id: svn://localhost/gambas/trunk@7282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 18:16:12 +00:00
Benoît Minisini
0704ce8f70 [DEVELOPMENT ENVIRONMENT]
* OPT: Code formatting is faster now by working on a temporary line buffer.

[WEBSITE MAKER]
* NEW: Update to 3.8.1 version.

[GB.GTK]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.GTK3]
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.

[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen 
  number.


git-svn-id: svn://localhost/gambas/trunk@7281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 15:12:38 +00:00
Benoît Minisini
2429c746c0 [GB.QT4]
* BUG: Raise an error when calling Screen[] with an incorrect index.
* BUG: Fix modal dialog initial screen again.

[GB.QT5]
* BUG: Raise an error when calling Screen[] with an incorrect index.
* BUG: Fix modal dialog initial screen again.


git-svn-id: svn://localhost/gambas/trunk@7280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 14:10:57 +00:00
Benoît Minisini
29306e8476 [GB.QT4]
* BUG: Modal dialogs now should be centered in the screen of their parent 
  window, not always in the main screen anymore.

[GB.QT5]
* BUG: Modal dialogs now should be centered in the screen of their parent 
  window, not always in the main screen anymore.


git-svn-id: svn://localhost/gambas/trunk@7279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-06 13:19:46 +00:00
Benoît Minisini
8ad98f6207 [GB.QT4]
* NEW: Breeze widget theme patch to fix its bugs on small TextBox, ComboBox 
  and SpinBox controls.

[GB.QT5]
* NEW: Breeze widget theme patch to fix its bugs on small TextBox, ComboBox 
  and SpinBox controls.


git-svn-id: svn://localhost/gambas/trunk@7259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-01 02:47:09 +00:00
Benoît Minisini
2c312b8551 [GB.QT4]
* BUG: Correctly initialize window properties when showing it in all cases.


git-svn-id: svn://localhost/gambas/trunk@7241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 23:17:38 +00:00
Benoît Minisini
0ed5209b0b [GB.QT4]
* BUG: Revert change from r7227 to see if it fixes Karl Reinl's problems.


git-svn-id: svn://localhost/gambas/trunk@7236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-24 20:56:20 +00:00
Benoît Minisini
dfcb60106e [DEVELOPMENT ENVIRONMENT]
* BUG: Some HiDPI fixes.

[GB.FORM]
* NEW: Stock icon default sizes ("small", "medium"...) are now proportional
  to Desktop.Scale by steps of 8 pixels. This is for HiDPI support.
* NEW: Wizard BeforeChange event can be cancelled now.

[GB.FORM.MDI]
* NEW: Toolbar tries to update the size of its icons when the font changes.

[GB.GTK]
* NEW: Window now raises a Font event when its font changes.

[GB.GTK3]
* NEW: Window now raises a Font event when its font changes.

[GB.GUI.BASE]
* NEW: TreeView items height padding is now proportional to Desktop.Scale.

[GB.QT4]
* NEW: Window now raises a Font event when its font changes.

[GB.QT5]
* NEW: Window now raises a Font event when its font changes.


git-svn-id: svn://localhost/gambas/trunk@7228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-18 15:19:22 +00:00
Adrien Prokopowicz
3b82e9aaf1 [GB.QT4]
* BUG: Workaround a race condition in X11 which prevents window attributes
  from being correctly set when setting a child DrawingArea's background
  color right afterwards.

git-svn-id: svn://localhost/gambas/trunk@7227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-16 19:31:41 +00:00
Benoît Minisini
0b478e2d81 [GB.QT4]
* BUG: Newly created ToolButton does not resize its parent unexpectedly 
  anymore.
  
[GB.QT5]
* BUG: Newly created ToolButton does not resize its parent unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 16:44:06 +00:00
Benoît Minisini
08c0e1037e [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Always draw software icon to the left.

[GB.DB.MYSQL]
* NEW: Use the a void database name by default, instead of explicitly 
  connecting to the "mysql" database.

[GB.GTK]
* BUG: Window.NoTakeFocus works correctly now.

[GB.GTK3]
* BUG: Window.NoTakeFocus works correctly now.

[GB.QT4]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Default window title is correctly initialized now.

[GB.QT5]
* BUG: Non modal windows opened on top of modal windows now are correctly 
  closable now.
* BUG: Window.NoTakeFocus should work in all cases now.
* BUG: Default window title is correctly initialized now.


git-svn-id: svn://localhost/gambas/trunk@7205 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-01 09:13:03 +00:00
Benoît Minisini
1b420fbf43 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Cleaner way of drawing software information.
* BUG: Farm client: Software URL works correctly now.

[WIKI CGI SCRIPT]
* NEW: Remove custom font in style sheet.

[GB.FORM]
* NEW: ImageView.Alignment is a new property that allows to define how the
  image is aligned when it is smaller than the view.
* NEW: UrlLabel: Display the link URL if the Text property is not set.

[GB.GTK]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.GTK3]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT4]
* NEW: Font.H is now a synonymous of Font.Height.

[GB.QT5]
* NEW: Font.H is now a synonymous of Font.Height.


git-svn-id: svn://localhost/gambas/trunk@7196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 03:00:41 +00:00
Benoît Minisini
9d6820dd88 [DEVELOPMENT ENVIRONMENT]
* NEW: The system colors of the color choose dialog are now dynamically 
  filled from the Color class information. Consequently, you can add new 
  colors by extending and adding new color constants or properties to the 
  Color class in your project.
* BUG: Prevent a possible crash in the farm client request manager.

[GB.GTK]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.GTK3]
* BUG: The color properties of the Color class are now correctly read-only.
* BUG: Add a forgotten source file header symbolic link.

[GB.QT4]
* BUG: The color properties of the Color class are now correctly read-only.

[GB.QT5]
* BUG: The color properties of the Color class are now correctly read-only.


git-svn-id: svn://localhost/gambas/trunk@7189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-29 12:59:14 +00:00
Benoît Minisini
5ecb973af4 [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Don't load the image twice.
* NEW: Do not open the welcome dialog if a project directory has been 
  specified in program arguments.
* NEW: Farm client: Paint the software names the same way everywhere.
* BUG: If the workspace was filled before
  the main window is visible, then the QT5 backing store starts displaying
  garbage. The workaround was to always show the main window before trying 
  to load any file.
* NEW: Add the environment variables to the system information.

[WIKI CGI SCRIPT]
* BUG: Fix some HTML syntax errors.

[INTERPRETER]
* BUG: Add the Rand() syntax description.

[GB.DB.POSTGRESQL]
* BUG: If PostgreSQL version is greater than 9.0, then force the bytea 
  output format to 'escape', as it was before.

[GB.EVAL.HIGHLIGHT]
* NEW: The TextHighlighter.ToHtml() method now takes the 'Alternate' style
  flag into account, and the generated HTML is less verbose.
* BUG: The WebPage highlighting has been fixed.

[GB.FORM]
* BUG: Completion: Fix a possible crash.
* BUG: TabPanel: Fix a possible crash.

[GB.SDL2]
* NEW: Window.Handle is a new property that returns the window handle.


git-svn-id: svn://localhost/gambas/trunk@7188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-27 03:54:57 +00:00
Benoît Minisini
417bfb8685 [INTERPRETER]
* NEW: GB.GetReturnValue() is a new interpreter API that returns a pointer
  to the internal GB_VALUE slot where GB.ReturnXXX() functions store the
  return value.
* NEW: Allow a component to declare a GB_AFTER_INIT() exported method that
  is called just after all the components declared in the project are 
  completely loaded.
  
[GB.DBUS]
* NEW: DBus._HasSystemTray() is a new method that returns if the DBus 
  system tray is present. That method is used by the 'gb.gui.trayicon'
  component to know if 'gb.dbus.trayicon' must be loaded.
* BUG: Fix xml introspection analysis.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.
* BUG: TrayIcon icon data is sent correctly now.

[GB.GUI.TRAYICON]
* NEW: New component that you must check if you want to have system tray
  icons. It loads 'gb.dbus', use DBus._HasSystemTray() to know if it can
  load 'gb.dbus.trayicon'. Otherwise it tells the current GUI component to
  declare the old system tray implementation classes.

[GB.GTK]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.GTK3]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT4]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.

[GB.QT5]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
  the old system tray icon and use them on demand.


git-svn-id: svn://localhost/gambas/trunk@7170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-03 22:18:58 +00:00
Benoît Minisini
eb2b172425 [GB.DBUS.TRAYICON]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT4]
* NEW: Add TrayIcon MiddleClick event.

[GB.QT5]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK]
* NEW: Add TrayIcon MiddleClick event.

[GB.GTK3]
* NEW: Add TrayIcon MiddleClick event.


git-svn-id: svn://localhost/gambas/trunk@7169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:05:52 +00:00
Benoît Minisini
27cf0ca10a [GB.DBUS.TRAYICON]
* BUG: Setting the Picture of an hidden "Unity" TrayIcon keeps it hidden.

[GB.GTK]
* NEW: Remove TrayIcon Menu event.

[GB.GTK3]
* NEW: Remove TrayIcon Menu event.

[GB.QT4]
* NEW: Remove TrayIcon Menu event.

[GB.QT5]
* NEW: Remove TrayIcon Menu event.


git-svn-id: svn://localhost/gambas/trunk@7168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 23:00:46 +00:00
Benoît Minisini
005c733d8d [INTERPRETER]
* BUG: Fix Object.Raise() method.

[DEVELOPMENT ENVIRONMENT]
* BUG: Replace a possible error while filling the toolbox by a warning 
  message.

[GB.DBUS]
* NEW: DBusValues is a new class that must be used when a DBus method canonical
  return several values. It works like DBusVariant.
* NEW: DBus.SplitSignature is new method that allows to split a DBus signature.
* NEW: DBusNull class is renamed as _DBusNull.
  
[GB.DBUS.TRAYICON]
* NEW: TrayIcon popup menu is now exported through the DBusMenu protocol,
  so that it becomes usable on Unity. Consequently, the Menu event will be
  removed.

[GB.DESKTOP]
* NEW: Remove the Desktop.Type property.
* NEW: Add support for Unity.

[GB.GTK]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.GTK3]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT]
* NEW: Desktop.Type is now implemented in the GUI components.

[GB.QT5]
* NEW: Desktop.Type is now implemented in the GUI components.


git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-02 14:26:10 +00:00
Benoît Minisini
3fda289f8c [GB.FORM.EDITOR]
* NEW: TextEditor: Ctrl+Delete now deletes the word right to the cursor.


git-svn-id: svn://localhost/gambas/trunk@7158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 19:24:19 +00:00
Benoît Minisini
d3f35cf7c8 [GB.QT4]
* BUG: TrayIcon: Correctly raise Scroll event.

[GB.QT5]
* BUG: TrayIcon: Correctly raise Scroll event.


git-svn-id: svn://localhost/gambas/trunk@7156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 02:34:46 +00:00
Benoît Minisini
aff968ac00 [GB.DBUS.TRAYICON]
* NEW: Hide the component.

[GB.GTK]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.GTK3]
* NEW: Implement the TrayIcons.DeleteAll() method.
* NEW: Call TrayIcons.DeleteAll() at exit.

[GB.QT4]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.

[GB.QT5]
* NEW: Call TrayIcons.DeleteAll() at exit.
* NEW: TrayIcon: Add support for Scroll event.


git-svn-id: svn://localhost/gambas/trunk@7155 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 02:26:23 +00:00
Benoît Minisini
930c7549d1 [INTERPRETER]
* NEW: Add a new GB.Component.Declare() API, that allows a component to
  dynamically register a class description.

[INFORMER]
* NEW: A component now can declare classes through a GB_OPTIONAL_CLASSES 
  public symbol. Theses classes are included into the information file,
  but are not automatically loaded as the ones defined through the 
  GB_CLASSES symbol.

[GB.FORM.STATUSICON]
* NEW: This component has been removed and replaced by gb.dbus.trayicon.
* NEW: This component now provide TrayIcon and TrayIcons classes that have
  exactly the same interface as the old ones.

[GB.DBUS]
* NEW: Remove the now useless DBusConnection.Raise(). The DBusConnection
  Register() and Unregister() are kept for backward-compatibility reason.
* NEW: Add DBus.Raise() and DBus[].Raise() to raise signals. At the moment,
  there is no difference between the two methods, as there no mean to
  indicate the sender raising a signal. I don't know yet how DBus decides
  which service sends a signal!

[GB.DBUS.TRAYICON]
* NEW: This component implements the tray icon DBus protocol. It is 
  automatically loaded by the GUI components.

[GB.GTK]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.GTK3]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the component name in deprecation warning messages.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.

[GB.QT4]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.

[GB.QT5]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
  desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.


git-svn-id: svn://localhost/gambas/trunk@7154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-29 01:46:51 +00:00
Benoît Minisini
f2f3401926 [DEVELOPMENT ENVIRONMENT]
* BUG: Code prettyfier should not move the cursor anymore.

[GB.DBUS]
* NEW: Support for sending signals.

[GB.QT4]
* NEW: Detect system tray with the Qt routine.

[GB.QT5]
* NEW: Detect system tray with the Qt routine.

[GB.GTK]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.

[GB.GTK3]
* NEW: Actually try to detect the system tray. Only the old protocol is 
  supported.


git-svn-id: svn://localhost/gambas/trunk@7145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-25 23:09:39 +00:00
Benoît Minisini
fd60cd1bec [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: The import CSV dialog is now a wizard.

[GB.DB]
* BUG: Fix a crash when creating twice the same table with the same
  connection.

[GB.FORM]
* NEW: Spinner: Display the label below the rotating spinner.
* NEW: Spinner.Wait() is a new method that calls the event loop, and 
  ensures that it is not called more than every 200 milliseconds.
* BUG: Wizard: Animation is correct now when the Border property is set.

[GB.QT4]
* BUG: Showing a window now automatically raises it.

[GB.QT5]
* BUG: Showing a window now automatically raises it.


git-svn-id: svn://localhost/gambas/trunk@7138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-17 21:25:02 +00:00
Benoît Minisini
db4d4afce6 [GB.FORM.EDITOR]
* NEW: TextEditor: Any selected text now goes to the selection clipboard
  automatically.
* NEW: TextEditor: The middle mouse button now pastes the selection 
  clipboard.

[GB.GTK]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GTK3]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.GUI.BASE]
* NEW: ScrollArea: Draw the border around the scrollbars now.

[GB.QT4]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.
  
[GB.QT5]
* NEW: Clipboard.Current is a new property that tells if the Clipboard 
  methods and properties operate on the default clipboard or the selection
  clipboard.


git-svn-id: svn://localhost/gambas/trunk@7130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-13 08:14:40 +00:00
Benoît Minisini
9261e84858 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the "next" icon for the buttons that switch between the class 
  file and the form file.
* BUG: Fix all WebView font sizes.
* BUG: Open project dialog: Fix buttons layout.
* NEW: Take the gb.gui.qt.* components into account in the help system.
* NEW: Component chooser: New look. Don't use the round borders anymore.
* BUG: Project properties dialog: Do not display the libraries in the 
  component list anymore.
* BUG: Component chooser: Correctly uncheck component dependencies.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix detection of some monospace fonts.
* NEW: TextEditor: Draw a minus/plus sign for expanded/collapsed 
  procedures. Do not use Style.PaintArrow() anymore, it does not work 
  correctly with gb.gtk.
* BUG: TextEditor: Update cursor position when collapsing a function.

[GB.GTK]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: Font.ToString() now uses the point as font size decimal separator.

[GB.GTK3]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: TextBox.Mouse property works correctly again with GTK >= 3.14.
* BUG: Font.ToString() now uses the point as font size decimal separator.

[GB.GUI.BASE]
* NEW: GridView: Don't draw the last grid lines.
* NEW: GridView: The cursor is more visible.
* NEW: GridView: The scrollbars use the same background as the view.

[GB.QT4]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the 
  font to its initial value taken at Paint.Begin.
  
[GB.QT5]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the 
  font to its initial value taken at Paint.Begin.
* NEW: Closing a popup does not replay the mouse click anymore.


git-svn-id: svn://localhost/gambas/trunk@7110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-04 17:16:07 +00:00
Benoît Minisini
fb824c9261 [GB.FORM]
* NEW: SliderBox: The slider has always a space for the possible minus sign.

[GB.GUI.QT]
* NEW: Print a warning message if GB_GUI contains an unsupported component.

[GB.QT5]
* NEW: Desktop.Screenshot does not use the deprecated API anymore.


git-svn-id: svn://localhost/gambas/trunk@7107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-30 18:03:29 +00:00
Benoît Minisini
7d845b89a5 [GB.QT5]
* NEW: Dirty hack that disables the new Qt5 mouse click replayed after a 
  popup has been closed.


git-svn-id: svn://localhost/gambas/trunk@7106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-30 13:26:17 +00:00
Benoît Minisini
8db832ff4c [DEVELOPMENT ENVIRONMENT]
* BUG: Hitting Escape while editing a variable does not hide the debugger 
  panel anymore.

[GB.EVAL.HIGHLIGHT]
* NEW: The component is not deprecated anymore.
* NEW: Move the new TextHighlighter class from 'gb.form.editor' to 
  'gb.eval.highlight'.
* NEW: TextHighlighter[] returns a specific highlighter from its name.
* NEW: TextHighlighter.ToHTML() is a new method that converts a text into 
  highligted HTML.

[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() routine that trimmed badly is some cases.


git-svn-id: svn://localhost/gambas/trunk@7105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-30 12:08:00 +00:00
Benoît Minisini
5636005977 [GB.QT4]
* BUG: Fix horizontal inverted arrangement.


git-svn-id: svn://localhost/gambas/trunk@7104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-29 11:46:13 +00:00
Benoît Minisini
a6cd2a6505 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't use the 'gb.eval.highlight' component anymore. Highlighting is 
  inside 'gb.form.editor' now. This may change in the future.

[GB.EVAL.HIGHLIGHT]
* NEW: Mark the component as deprecated.

[GB.GTK]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.GTK3]
* BUG: Right-to-left languages are taken into account by the arrangement
  routine correctly now.
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.QT4]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.

[GB.QT5]
* BUG: Row and column arrangement now work correctly with RTL language in 
  both normal and inverted modes.


git-svn-id: svn://localhost/gambas/trunk@7103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-29 00:43:16 +00:00
Benoît Minisini
b688648728 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new QT4/QT5 switcher components.
* NEW: Support for QT5 component.

[GB.FORM]
* NEW: New syntaxes in 'icon.map' file that allows to specify different 
  icons for small or big sizes.
* NEW: New 'user' and 'group' icons.

[GB.FORM.STOCK]
* NEW: New 'user' and 'group' icons.

[GB.GUI.QT]
* NEW: New QT4/QT5 switcher component.

[GB.GUI.QT.WEBKIT]
* NEW: New QT4/QT5 WebKit switcher component.

[GB.QT4]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal 
  dialog.

[GB.QT5]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal 
  dialog.



git-svn-id: svn://localhost/gambas/trunk@7101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-28 10:08:13 +00:00
Benoît Minisini
4c38879e22 [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Compression correctly marks the file as modified.
* NEW: Take gb.qt5 into account in the help system.

[WIKI CGI SCRIPT]
* NEW: Take gb.qt5 into account.

[INTERPRETER]
* NEW: GB.Component.IsLoaded() is new interpreter API that returns if a
  specific component has been loaded.
* BUG: Running executables from an absolute path works again.

[GB.DESKTOP]
* BUG: DesktopWatcher: Use Desktop.Windows.FromHandle() instead of 
  Desktop.Windows[].

[GB.DESKTOP.X11]
* NEW: Support for gb.qt5.
  
[GB.FORM.EDITOR]
* BUG: TextEditor.Save() highlights the current line before saving.

[GB.QT5]
* NEW: Support for X11 event filter by translating xcb event into xlib 
  events.
* BUG: Cached DrawingArea works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-27 01:00:39 +00:00
Benoît Minisini
74f4993c5d [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Fix text pasting.

[GB.FORM]
* BUG: Completion: The completion popup now can be clicked without being 
  closed, thanks to the new Window.Activate() method that gives the focus
  back to the completed text box.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix braces highlighting.
* BUG: TextEditor: Correctly disable procedure folding when the ShowExpand 
  property is FALSE.

[GB.FORM.MDI]
* NEW: Workspace: Rename an internal method that was in conflict with the 
  new Window.Activate() method.

[GB.GTK]
* NEW: Window.Activate is a new method that activates a window.

[GB.GTK3]
* NEW: Window.Activate is a new method that activates a window.

[GB.QT4]
* NEW: Window.Activate is a new method that activates a window.

[GB.QT5]
* NEW: Window.Activate is a new method that activates a window.
* BUG: Window.TakeFocus should work now.
* NEW: Add a new X11 helper function that allows to set the 
  _NEW_WM_USER_TIME property of a window, so that Window.TakeFocus can be
  implemented.


git-svn-id: svn://localhost/gambas/trunk@7097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-24 14:24:14 +00:00
Benoît Minisini
7da01afb07 [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Fix output window.
* BUG: Workaround the stupid automatic shortcut feature of Qt5.
* BUG: Packager: Fix RPM package generation.
* BUG: Output console: Debug output highlighted links came back.

[GB.FORM.EDITOR]
* NEW: TextEditor: Highlighting provides the current line to the 
  highlighter.
* BUG: TextEditor: Refreshing a line now triggers the highlighter.

[GB.QT4]
* BUG: Window: Redesign the X11 window manager properties management so
  that everything works the same in gb.qt4 and gb.qt5.

[GB.QT5]
* BUG: Window: Redesign the X11 window manager properties management so
  that everything works the same in gb.qt4 and gb.qt5.


git-svn-id: svn://localhost/gambas/trunk@7094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-22 23:30:50 +00:00
Benoît Minisini
b55f5f427f [DEVELOPMENT ENVIRONMENT]
* NEW: The string constants are now quoted in *.info files. Take that into 
  account.
* BUG: Disable code that uses the old Editor procedure floding feature.
* NEW: Make the option dialog smaller.

[WIKI CGI SCRIPT]
* NEW: The string constants are now quoted in *.info files. Take that into 
  account.
  
[COMPILER]
* BUG: The string constants are now quoted in *.info files.

[GB.FORM.MDI]
* BUG: Workspace: Disable some unused code.

[GB.QT4]
* OPT: Minimize X11 window properties changes.

[GB.QT5]
* BUG: Window SKipTaskbar, Stacking, Border... properties (all that rely on 
  Xlib calls) now work correctly.
* OPT: Minimize X11 window properties changes.


git-svn-id: svn://localhost/gambas/trunk@7092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-21 15:39:20 +00:00
Benoît Minisini
b56f1804e5 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new TextEditor instead of the old Editor control. 
  Consequently, the 'gb.qt4.ext' component is not needed by the IDE 
  anymore.
* NEW: Option dialog: Put the fonts options in their own panel.
* NEW: Farm client: Add new categories.

[GB.FORM]
* NEW: Fix some breeze icons.

[GB.FORM.EDITOR]
* NEW: TextEditor: Development continues...

[GB.GTK]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe 
  it is useless now.

[GB.GTK3]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe 
  it is useless now.

[GB.GUI.BASE]
* BUG: GridView: Use the new Font.Modified property so that the initial 
  font of a cell is always the font of the GridView, even if it changed 
  after the cell has been filled.

[GB.QT4]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".

[GB.QT5]
* NEW: Font.Modified is a new property that returns if the font has been 
  modified, i.e. if one of its properties has been set. This property can 
  be freely reset. That way, it allows to implement the concept of "default
  font".


git-svn-id: svn://localhost/gambas/trunk@7089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-19 22:21:22 +00:00
Benoît Minisini
9fea78936a [DEVELOPMENT ENVIRONMENT]
* NEW: Use IDE breakpoint icon for displaying breakpoints in editor.
* NEW: Use a bigger icon for the packager wizard.
* NEW: Put some red inside the breakpoint icon.

[GB.FORM.EDITOR]
* NEW: This new component will provide a text editor with syntax 
  highlighting entirely written in Gambas. A bit slower than the old one, 
  but it will work with any toolkit!
  
[GB.GUI.BASE]
* OPT: GridView.Rows[].Refresh now only refreshes the specified row, and 
  not the entire view.
* NEW: GridView default cell padding is now zero.
* BUG: GridView columns now can have any width.


git-svn-id: svn://localhost/gambas/trunk@7080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-12 22:46:39 +00:00
Benoît Minisini
0f1dba9289 [GB.QT4]
* BUG: Get fully rid of QT3 support library.

[GB.QT4.OPENGL]
* NEW: Get rid of QT3 support library.

[GB.QT4.WEBKIT]
* BUG: Fix a missing space in Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 21:33:53 +00:00
Benoît Minisini
245ab1870d [DEVELOPMENT ENVIRONMENT]
* NEW: System information: Search for QT5 core library.

[EXAMPLES]
* BUG: Fix Browser example.

[GB.FORM]
* BUG: Fix stock icon map for breeze icon theme.

[GB.GUI]
* NEW: Use gb.qt5 if the current desktop is KDE5.

[GB.GUI.OPENGL]
* NEW: Support for gb.qt5.opengl.

[GB.QT4]
* BUG: Fix component name in warning messages.

[GB.QT5]
* NEW: Qt 5.4 is now required, because of gb.qt5.opengl.
* BUG: Fix component name in warning messages.

[GB.QT5.OPENGL]
* NEW: QT5 OpenGL support component.


git-svn-id: svn://localhost/gambas/trunk@7076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-11 01:46:36 +00:00
Benoît Minisini
bd382ab066 [GB.QT4]
* BUG: Fix Qt5 support.

[GB.QT4.WEBKIT]
* BUG: Fix Qt5 support.


git-svn-id: svn://localhost/gambas/trunk@7072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 13:13:34 +00:00
Benoît Minisini
50f44f20e8 [GB.QT4]
* NEW: Remove the now useless XEmbed tray icon implementation.


git-svn-id: svn://localhost/gambas/trunk@7065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 00:33:59 +00:00
Benoît Minisini
ac95e5ba9d [GB.QT4]
* NEW: Get rid of Qt3 support library.
* NEW: The TrayIcon is now based on the QSystemTrayIcon class. 
  Consequently, as soon as the 'sni-qt' library is installed on your 
  system, the tray icon will become an indicator visible in the Plasma new
  system tray, and normally in the Gnome / Unity indicator bar. Beware that
  This new TrayIcon does not raise any standard Control events, it is 
  entirely managed by the system tray.
* NEW: Some hacks for the Breeze Qt4 style.


git-svn-id: svn://localhost/gambas/trunk@7063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-10 00:32:42 +00:00
Benoît Minisini
43f26cd8ff [CONFIGURATION]
* NEW: gb.qt5 component.

[EXAMPLES]
* BUG: Fix WebBrowser example.

[INTERPRETER]
* NEW: Fix compilation of EXEC and SHELL for older bytecode versions.

[GB.DB.FORM]
* NEW: Display the busy mouse cursor while loading SQL data.

[GB.QT4]
* NEW: Support for QT5.

[GB.QT5]
* NEW: Initial version of the QT5 component. Not everything is working. 
  There is no Embedder and TrayIcon controls.


git-svn-id: svn://localhost/gambas/trunk@7062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-08 17:40:28 +00:00
Benoît Minisini
2564046c47 [GB.QT4]
* BUG: Support for nul bytes inside QT strings.


git-svn-id: svn://localhost/gambas/trunk@7061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-08 06:33:25 +00:00
Benoît Minisini
f98653e2ab [GB.QT4.WEBKIT]
* BUG: Do not crash when starting a download.


git-svn-id: svn://localhost/gambas/trunk@7045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-19 14:08:32 +00:00
Benoît Minisini
334e22f829 [GB.QT4]
* BUG: ComboBox background and foreground are now correctly taken into 
  account both in read-only and editable modes.


git-svn-id: svn://localhost/gambas/trunk@7034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:35:10 +00:00
Benoît Minisini
49d73625d5 [GB.QT4.EXT]
* NEW: Fixes and enhancements in the ANSI escape sequences management of 
  the Editor.Print() method.


git-svn-id: svn://localhost/gambas/trunk@7033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:33:42 +00:00
Benoît Minisini
cb940b1879 [GB.QT4.EXT]
* NEW: Editor.Print() now supports some ANSI escape sequences.
* NEW: Editor.Overwrite is a new property that defines the editor insertion 
  mode.


git-svn-id: svn://localhost/gambas/trunk@7026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-11 08:35:35 +00:00
Benoît Minisini
589cf52211 [GB.QT4]
* BUG: Newlines characters are not ignored anymore in message boxes when 
  rich text is used. The behaviour is now the same as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-08 15:23:42 +00:00
Benoît Minisini
3814eea878 [GB.GTK]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.GTK3]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  
[GB.QT4]
* NEW: Window.TakeFocus is a new property that indicates if the window will 
  take the focus the first time it is mapped.
  

git-svn-id: svn://localhost/gambas/trunk@6937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 20:14:35 +00:00
Benoît Minisini
a07a02c086 [GB.DRAW]
* BUG: The optional painting area is correclty reset after a call to 
  Paint.Reset().
 

git-svn-id: svn://localhost/gambas/trunk@6936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 18:20:56 +00:00
Benoît Minisini
debf98c637 [GB.QT4.EXT]
* BUG: Changing the Editor.KeywordsUseUpperCase property does not break 
  syntax highlighting anymore.


git-svn-id: svn://localhost/gambas/trunk@6927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 00:55:29 +00:00
Benoît Minisini
10a8ff86e0 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm server: Fix a refresh bug when going back from the software 
  panel to the software list.
* NEW: Farm server: Little redesign of the software panel look.

[FARM SERVER]
* NEW: Project icon is now automatically stretched to a size smaller or 
  equal than 64x64 pixels.
* NEW: The maximum number of softwares returned by a search has been raised 
  up to 200.

[EXAMPLES]
* BUG: BeastScroll: Fix frame rate.


git-svn-id: svn://localhost/gambas/trunk@6921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-01 01:01:52 +00:00
Benoît Minisini
a833bc32a4 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the GUI of farm server authentication and registration.

[GB.QT4]
* BUG: Setting the Border property now correctly refreshes the viewport 
  size.


git-svn-id: svn://localhost/gambas/trunk@6920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-28 20:00:00 +00:00
Benoît Minisini
7d2c75dcda [GB.GTK]
* BUG: Fix arrangement of ScrollView control.

[GB.GTK3]
* BUG: Fix arrangement of ScrollView control.


git-svn-id: svn://localhost/gambas/trunk@6910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 02:35:51 +00:00
Benoît Minisini
42791d1c51 [GB.QT4]
* NEW: When creating a Control, a Printer or displaying a MessageBox, check
  that the GUI has been initialized, and raise an error if not, instead of
  letting Qt abort the application.


git-svn-id: svn://localhost/gambas/trunk@6886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-05 00:25:29 +00:00
Benoît Minisini
a3d82e51eb [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update end-of-line menu and button visibility.
* BUG: Project property dialog: Resetting or removing a library works 
  correctly again.

[GB.DESKTOP]
* NEW: More detailed error message when the mime database cannot be read.

[GB.FORM]
* NEW: Completion.Icons is a new property that allows to associate an icon 
  to each completion item.
* NEW: FileCompletion now displays an icon for files and another icon for
  directories.

[GB.QT4]
* BUG: Update initial control visibility when the Expand property changes,
  but not when the Ignore property changes.


git-svn-id: svn://localhost/gambas/trunk@6884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 19:43:08 +00:00
Benoît Minisini
406bf1e58c [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now can handle Unix, Windows and MAC end-of-line 
  formats, through a new toolbar button and a menu.

[GB.QT4.EXT]
* NEW: Editor: When setting the Text property, the end-of-line format is
  automatically determined.


git-svn-id: svn://localhost/gambas/trunk@6883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-04 02:26:14 +00:00
Benoît Minisini
b1447607f2 [INTERPRETER]
* NEW: Add end-of-line format constants to the interpreter API.

[GB.QT4]
* BUG: If a control triggers the arrangement of its parent contents, the 
  delayed visibility is realized so that the control is taken into account 
  by the arrangement routine.

[GB.QT4.EXT]
* NEW: Editor.EndOfLine is a new property that defines which end-of-line 
  format (gb.Unix, gb.Windows or gb.Mac) is used when retrieving text from 
  the control.


git-svn-id: svn://localhost/gambas/trunk@6882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-03 23:45:41 +00:00
Benoît Minisini
9c7d9a6a1e [DEVELOPMENT ENVIRONMENT]
* NEW: Use specific gray icons for the debugging panel.
* BUG: Loading a new project correctly updates the desktop component 
  toolbar button.
* NEW: Balloon message have been replaced by the new MessageView control.

[GB.FORM]
* NEW: MessageView is a new control that implements an embedded 
  notification panel that is automatically hidden and shown if there is a 
  message to display.
* BUG: MenuButton: Draw the focus state correctly.

[GB.GTK]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.

[GB.QT4]
* NEW: Now Frame can be replaced by any Panel-like containers in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-02 20:08:18 +00:00
Benoît Minisini
800e7797cb [DEVELOPMENT ENVIRONMENT]
* NEW: Implement the new wiki component description and class list for the
  offline help.
* BUG: Several fixes in the editor position history.
* BUG: Workaround some spurious Qt4 webkit warnings.
* NEW: The argument editor of the project property dialog now has an 
  automatic file completion.

[GB.FORM]
* NEW: The Completion class has been redesigned to allow completion on a 
  part of the edited string.
* NEW: FileCompletion is a new class that implements automatic file name
  completion.
* BUG: FileView: Fix a possible crash when the current item disappears 
  before begin made visible.

[GB.QT4]
* NEW: A newly created control becomes visible the first time it is resized 
  now, and not immediately. The goal is having almost the same behaviour as
  gb.gtk, even if it not 100% backward-compatible in a few cases.

[GB.QT4.WEBKIT]
* BUG: WebView: Don't raise the Error event if the webview has been 
  explicitly stopped by the Stop() method.


git-svn-id: svn://localhost/gambas/trunk@6875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-30 01:53:19 +00:00
Benoît Minisini
a850bffe12 [GB.DESKTOP]
* NEW: Support for the 'secret-tool' utility. If it is installed on the 
  system, it is used instead of the 'gb.desktop.gnome.keyring' component.
* BUG: Desktop.Passwords.Enabled works correctly now on Gnome-like systems.
* BUG: Fix compilation warnings.


git-svn-id: svn://localhost/gambas/trunk@6874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-27 00:49:14 +00:00
Benoît Minisini
f0822e71d1 [GB.FORM]
* BUG: TabPanel[].Closable works as expected now.

[GB.GTK]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GTK3]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.

[GB.GUI.BASE]
* NEW: The GridView automatic column resizing now uses Application.Busy and
  cannot run longer than five seconds.

[GB.QT4]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
  null integer number, the X11 client library is initialized to support 
  multithreaded applications.


git-svn-id: svn://localhost/gambas/trunk@6842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-19 23:04:41 +00:00
Benoît Minisini
3989d4a005 [WIKI CGI SCRIPT]
* NEW: New class list design in component pages.
* NEW: Full description in component pages.

[GB.QT4]
* BUG: Fix Border properties description.


git-svn-id: svn://localhost/gambas/trunk@6822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-11 03:14:44 +00:00
Benoît Minisini
240b416dd8 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new filter feature of the ButtonBox control.
* NEW: Use the internal ComponentChooser control to replace the previous
  component selection in the project property dialog.

[GB.FORM]
* NEW: ButtonBox.Filter is a new property to make it act like a filter box.
  The new Filter event is raised when filtering must be triggered.
* NEW: ButtonBox.FilterMenu is a new property that allows to define the
  popup menu associated with the filter icon.

[GB.GTK]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.

[GB.GTK3]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.

[GB.GUI.BASE]
* BUG: GridView: Remove "Collapse" from the property list.

[GB.MEMCACHED]
* BUG: Fix a typo in a Memcached constant name.

[GB.QT4]
* NEW: PictureBox.Padding is a new property that defines the inner padding 
  around the displayed picture.


git-svn-id: svn://localhost/gambas/trunk@6819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-09 08:53:49 +00:00
Benoît Minisini
6b10bb831d [DEVELOPMENT ENVIRONMENT]
* NEW: Component/Library dependencies now are chosen from a new component 
  selection dialog.
* BUG: Database editor: Support for requests beginning with "WITH" or 
  "PRAGMA".

[WIKI CGI SCRIPT]
* NEW: New login panel.
* BUG: Fix creatable class detection.

[GB.FORM]
* BUG: IconPanel: The mouse wheel cannot select hidden tabs anymore.
* BUG: Wizard: Remove default padding for wizards having a border.

[GB.GUI.BASE]
* BUG: Border: Rewrite the painting routine. Simplify the clipping to help
  workaround Qt4 bugs.

[GB.DB.SQLITE]
* NEW: Mark the component as deprecated.

[GB.DB.SQLITE3]
* BUG: Support for PRAGMA requests. Start cleaning up the horrible C++ 
  classes.

[GB.QT4]
* BUG: Simplify the clipping management, because the old one was based on 
  the QPainterPath::intersected() Qt method that is buggy. Clipping mixed 
  with world transform matrix has still to be checked.


git-svn-id: svn://localhost/gambas/trunk@6815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 22:44:35 +00:00
Benoît Minisini
e6a92c4fef [GB.QT4]
* BUG: Fix compilation with Qt <= 4.6.


git-svn-id: svn://localhost/gambas/trunk@6814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-06 15:06:39 +00:00
Benoît Minisini
9e1a26ccbd [GB.GUI.BASE]
* NEW: The Border class is now creatable.
* NEW: Border.Paint() draws a border object according to the value of its 
  properties: Style, Width, Radius, Color...

[GB.QT4]
* BUG: Paint.Dash now understands zero widths like gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@6806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-04 16:01:14 +00:00
Benoît Minisini
0e6e531d72 [GB.QT4]
* BUG: Do delete open windows later when the event loop is finished. 
  This is supported by QT, provided that you explicitly ask him to send the
  deferred deletion events.


git-svn-id: svn://localhost/gambas/trunk@6798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 15:17:53 +00:00
Benoît Minisini
5e92876cad [EXAMPLES]
* NEW: LCDLabel now uses gb.sdl2.audio.

[GB.FORM]
* BUG: The ToolPanel buttons now takes Style.FrameWidth into account.

[GB.GTK]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do not delete open windows later when the event loop is finished. 
  This is not supported by QT.


git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 14:31:23 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
ef0eae0250 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Add an option to replace existing translations 
  when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error 
  anymore.

[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.

[GB.GTK]
* BUG: Implement the Invert property in vertical containers.

[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.

[GB.QT4]
* BUG: Implement the Invert property in vertical containers.


git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 09:01:16 +00:00
Benoît Minisini
f811768f78 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.

[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the 
  farm server yet.

[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then 
  1583.

[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is 
  specified.

[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.


git-svn-id: svn://localhost/gambas/trunk@6779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-30 17:36:02 +00:00
Benoît Minisini
4faa9876bf [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial focus of welcome dialog.

[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to 
  avoid an incorrect "circular reference" message.

[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.

[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It 
  just print a warning message and does nothing.

[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.


git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-20 15:24:00 +00:00
Benoît Minisini
3c8efd56e9 [CONFIGURATION]
* NEW: Update chinese translations.

[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.

[INTERPRETER]
* NEW: Allow WAIT to raise errors.

[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry 
  of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry 
  of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a 
  screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
  geometry without the frame.

[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.

[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.


git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-16 22:15:59 +00:00
Benoît Minisini
7fccfc0241 [GB.QT4.EXT]
* BUG: Editor: Don't draw line numbers if the margin is hidden.


git-svn-id: svn://localhost/gambas/trunk@6714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-09 18:45:33 +00:00
Benoît Minisini
2138336e8f [GB.QT4]
* BUG: Don't fill the menu bar background. Let it be transparent.


git-svn-id: svn://localhost/gambas/trunk@6710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-04 01:29:44 +00:00
Benoît Minisini
64ac98d336 [GB.QT4]
* BUG: ScrollView: Layout is now correct if the ScrollBar property is set 
  to Scroll.None.


git-svn-id: svn://localhost/gambas/trunk@6695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-01 13:06:09 +00:00
Benoît Minisini
334c9d8beb [DEVELOPMENT ENVIRONMENT]
* NEW: Experimental "Gambas Software Farm" dialog. It allows to browse a 
  farm server, but voting and installing are not yet possible.
* NEW: Requests to the farm server are now displayed in a modal dialog with
  an optional progress bar.

[FARM SERVER]
* BUG: Fix many bugs.
* NEW: Search software by tags.

[GB.DB]
* BUG: Connections: Fix a not enough argument error.

[GB.FORM]
* NEW: URLLabel is a new control that displays a clickable URL. If the 
 'gb.desktop' component is loaded, then a browser is automatically opened 
  when clicking on the link.

[GB.GUI.BASE]
* NEW: ProgressBar now has a flat look. And a new Border property that
  allows to hide the border.

[GB.NET.CURL]
* NEW: HttpClient and FtpClient now raise a 'Cancel' event when their 
  Stop() method is called.
* BUG: Found a workaround for having accurate upload progress data.
* NEW: HttpClient.CopyFrom() is a new method that allows to fill an 
  HttpClient object with the configuration of another HttpClient object.

[GB.QT4]
* BUG: Do not use 'QEventLoop::DeferredDeletion' anymore, it is deprecated.
  Use qApp->sendPostedEvents() instead.


git-svn-id: svn://localhost/gambas/trunk@6665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-23 02:22:57 +00:00
Benoît Minisini
6ea0fc1d75 [GB.QT4]
* BUG: Message boxes now uses the current modal dialog as parent if there 
  is no active window.


git-svn-id: svn://localhost/gambas/trunk@6663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-22 23:37:52 +00:00
Benoît Minisini
8de4573bc3 [GB.QT4]
* BUG: ScrollView layout algorithm now takes the margin into account 
  correctly.
* BUG: Don't crash when a modal dialog is destroyed while visible.
* BUG: Close the main window explicitly during the QUIT instruction.

git-svn-id: svn://localhost/gambas/trunk@6661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-21 20:36:37 +00:00
Benoît Minisini
7542886d8b [GB.QT4]
* BUG: Fix a compilation warning.


git-svn-id: svn://localhost/gambas/trunk@6628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:44:05 +00:00
Benoît Minisini
de1ec2d2db [GB.QT4]
* BUG: TextBox: Workaround a Qt4 weird behaviour that sometimes lose the 
  selection. Same workaround for editable ComboBox.


git-svn-id: svn://localhost/gambas/trunk@6613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-06 23:03:21 +00:00
Benoît Minisini
d567669ae1 [GB.QT4]
* BUG: The Menu.Checked property now returns the correct value for
  non-radio menu items.


git-svn-id: svn://localhost/gambas/trunk@6604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-02 17:37:40 +00:00
Benoît Minisini
3969699f20 [GB.QT4]
* BUG: Fix Clipboard.Paste() when there are both a text and a qt image in 
  the clipboard.


git-svn-id: svn://localhost/gambas/trunk@6587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-29 21:49:45 +00:00
Benoît Minisini
5bb0e3820c [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.

[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.

[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
  already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items 
  arrangement.

[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that 
  strange Qt bug.


git-svn-id: svn://localhost/gambas/trunk@6578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-26 00:50:59 +00:00
Benoît Minisini
6734c6714a [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on the publish dialog box. Now tags and dependencies 
  can be edited, and a new user can be registered.

[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote 
  for it, and search the software database.

[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.

[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.


git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-24 20:06:18 +00:00
Benoît Minisini
d57578377c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't use "sTable" as field name for the metadata table, because 
  apparently "STABLE" is a reserved word in PostgreSQL. Upgrade an already
  existing metadata table automatically.
* BUG: Don't crash when starting a search from a image or connection 
  editor.

[WEBSITE MAKER]
* NEW: Update for 3.6.

[GB.DB]
* NEW: Add support for databases like PostgreSQL that are not fully case 
  insensitive.

[GB.DB.POSTGRESQL]
* BUG: Automatically convert field names to lowercase when creating a 
  table.

[GB.GUI.BASE]
* BUG: IconView item renaming don't crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:23:29 +00:00
Benoît Minisini
26f3daa0c5 [GB.FORM]
* NEW: FontChooser.ShowRelative is a new property that set if relative 
  sizes are allowed or not. They are allowed by default.

[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will 
  show fixed fonts only.

[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.

[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached 
  and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-10 19:23:44 +00:00
Benoît Minisini
05f20c33e4 [GB.GTK]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.GTK3]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.

[GB.QT4]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default 
  behaviour of the control is cancelled if: the PopupMenu property is 
  defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
  menu is displayed during the 'Menu' event handler.


git-svn-id: svn://localhost/gambas/trunk@6519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-04 12:56:02 +00:00
Benoît Minisini
87377fdb56 [DEVELOPMENT ENVIRONMENT]
* NEW: The default shortcut for deleting is the DELETE key alone again.
* NEW: When renaming an item in the project treeview, the file extension 
  is not selected.
* BUG: Activating the form editor property sheet now disable the form 
  editor poup menu. Consequently, the delete shortcut is not triggered
  unexpectedly anymore.

[GB.GUI.BASE]
* BUG: TreeView: A column resize does not automatically cancel the current 
  renaming.


git-svn-id: svn://localhost/gambas/trunk@6513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-27 21:44:36 +00:00
Benoît Minisini
7fa6cd0569 [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Support for the new Collation field property.

[EXAMPLES]
* BUG: PdfViewer: Some little fixes.

[GB.DB]
* NEW: Table.Fields.Add() method takes a new optional argument to define
  the field collation.
* NEW: Connection.Collations is a new property that returns the list of
  available collations as a String array.
* NEW: Field.Collation is a new property that returns the collation of a
  specific table field.

[GB.DB.MYSQL]
* NEW: Support for field collations.

[GB.DB.ODBC]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.POSTGRESQL]
* NEW: Support for field collations.

[GB.DB.SQLITE2]
* NEW: Raise an error when trying to use collations. It is not supported.

[GB.DB.SQLITE3]
* NEW: Support for field collations.

[GB.QT4]
* BUG: ComboBox.Border property can be set even if it is in read-only mode.


git-svn-id: svn://localhost/gambas/trunk@6494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-22 02:52:05 +00:00
Benoît Minisini
3067da6c5d [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Menu.Radio property.

[GB.DB]
* BUG: Add an explicit warning message when a connection password must be 
  retrieved and the 'gb.desktop' component is not loaded.

[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.
* BUG: Fix how menu items are drawn.

[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act 
  as a radio button. All successive menu items having the Radio property 
  set are mutually exclusive.


git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:28:41 +00:00
Benoît Minisini
cbfbc6f494 [GB.QT4.EXT]
* BUG: Editor: 'Select all' and 'CTRL + END' now really goes to the end of 
  file.


git-svn-id: svn://localhost/gambas/trunk@6470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-13 15:47:39 +00:00
Benoît Minisini
7e0011226b [INTERPRETER]
* NEW: System.Log() is a new method that send a message to the system log.
  Useful if you write a daemon.

[GB.FORM]
* NEW: New design of FileChooser and DirChooser.

[GB.GUI.BASE]
* BUG: Fix the automatic scrolling behaviour of GridView and all its 
  children classes.
* BUG: Fix new ligheter selection color of IconView.
* BUG: Fix automatic scrolling of newly expanded item in TreeView and 
  ColumnView.

[GB.GTK]
* BUG: Fix Style.ForegroundOf() method.

[GB.GTK3]
* BUG: Fix Style.BackgroundOf() method.

[GB.QT4]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Controls now take the alpha component of foreground and background 
  colors into account.


git-svn-id: svn://localhost/gambas/trunk@6461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 06:59:03 +00:00
Benoît Minisini
d67d170b61 [DEVELOPMENT ENVIRONMENT]
* BUG: Convert to uppercase or lowercase now works as expected in the code 
  editor.
* BUG: Fix the offline 'To Do' and 'Last Changes' page.

[INTERPRETER]
* NEW: Add GB_DECLARE_STATIC() macro to declare native classes, and use it 
  in many class declarations.

[GB.FORM]
* NEW: Add an history in the FileChooser and DirChooser controls.
* NEW: Add a 'link' stock icon.

[GB.GUI.BASE]
* BUG: IconView: Fix mouse handling during rubberband selection.
* NEW: IconView: Use a lighter selection colour.
* BUG: ScrollArea: Shadows are now correctly drawn whatever is done during 
  the Draw event it raises.


git-svn-id: svn://localhost/gambas/trunk@6458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-07 21:21:14 +00:00
Benoît Minisini
b90b6061b8 [DEVELOPMENT ENVIRONMENT]
* NEW: Changes in project open dialog design.

[GB.GTK]
* BUG: Fix auto-resized labels layout.

[GB.QT4]
* BUG: Auto-resized labels correctly update their size when their border 
  property is modified.


git-svn-id: svn://localhost/gambas/trunk@6452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-06 09:34:34 +00:00
Benoît Minisini
bb8636ea0b [GB.QT4.WEBKIT]
* NEW: WebView.Reload() now takes an optional boolean argument, that tells 
  if the cache must be bypassed when reloading the page, or not as before.


git-svn-id: svn://localhost/gambas/trunk@6450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-05 12:21:13 +00:00
Benoît Minisini
e5f26eb0d4 [GB.QT4.WEBKIT]
* BUG: Better error messages in WebSettings.Cache.Clear() method.


git-svn-id: svn://localhost/gambas/trunk@6446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 12:16:50 +00:00
Benoît Minisini
04f054c93e [GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path now must be located inside the '~/.cache' 
  directory.
* NEW: WebSettings.Cache.Clear() is a new method to clear the cache.


git-svn-id: svn://localhost/gambas/trunk@6445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-03 11:57:06 +00:00
Benoît Minisini
3438c89f85 [GB.QT4.WEBKIT]
* BUG: Fix WebElement.Paint() declaration.


git-svn-id: svn://localhost/gambas/trunk@6444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 16:34:02 +00:00
Benoît Minisini
234b591d2a [GB.QT4]
* BUG: Remove debugging breakpoint. ARM cannot compile with them!


git-svn-id: svn://localhost/gambas/trunk@6443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-02 09:35:04 +00:00
Benoît Minisini
7ab4f4a3ec [GB.QT4]
* BUG: Fix ScrollView viewport size computation when there is no 
  arrangement set.


git-svn-id: svn://localhost/gambas/trunk@6438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-29 23:16:08 +00:00
Benoît Minisini
60adaafa16 [GB.QT4]
* OPT: Optimize ScrollView arrangement when its size changes.
* BUG: The ScrollView does not flicker anymore when its size changes.


git-svn-id: svn://localhost/gambas/trunk@6436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-28 20:03:15 +00:00
Benoît Minisini
07a4e58a86 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.media.form' to the list of components.
* NEW: Support for the new GridView.Padding property.
* NEW: Change the way GridView and TableView are represented in the form 
  editor.

[GB.GUI.BASE]
* NEW: GridView.Padding is a new property that defines the default cell 
  padding. Its default value is 2 pixels.
* NEW: Paint.DrawTextShadow() is a new method that draws the shadow of a 
  text. Note that you must call Paint.DrawText() to draw the real text 
  below the shadow.
* NEW: Paint.DrawRichTextShadow() is a new method that draws the shadow of 
  a piece of rich text. Note that you must call Paint.DrawRichText() to 
  draw the real text below the shadow.

[GB.IMAGE]
* NEW: Allows a component that supports the Image class to have a 
  premultiplied default image format. Beware that some images methods do 
  not support premultiplied formats yet.
* NEW: Color.Transparent now is &HFF000000& and not &HFFFFFFFF anymore.

[GB.QT4]
* NEW: Use a premultiplied RGBA default format for images. 


git-svn-id: svn://localhost/gambas/trunk@6428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-26 10:46:10 +00:00
Benoît Minisini
e5e9e513ed [DEVELOPMENT ENVIRONMENT]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.
* NEW: Use the new Paint.TrimText() method.

[INFORMER]
* NEW: Support for classes defined twice in a component: once in the native 
  part, once in the gambas part.

[GB.GUI.BASE]
* NEW: Paint.TrimText() is a new API that trim a text according to a 
  specified rectangle, adding an ellipsis character at the end if needed.

[GB.NET.SMTP]
* BUG: Fix a circular reference when using a normal SMTP TCP session.

[GB.QT4]
* OPT: A little optimization when drawing rich text.


git-svn-id: svn://localhost/gambas/trunk@6427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-24 22:38:58 +00:00
Benoît Minisini
e018791f2d [GB.QT4.WEBKIT]
* BUG: WebElement.FindAll() method correctly builds the returned array.


git-svn-id: svn://localhost/gambas/trunk@6419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-21 22:48:36 +00:00
Benoît Minisini
1a1f6047e3 [DEVELOPMENT ENVIRONMENT]
* BUG: The offline wiki routines do not override the symbol information on 
  events anymore.
* NEW: New design of recent projects and examples choosers in the welcome
  dialog and the project open dialog.

[GB.FORM]
* NEW: ListContainer has been deprecated. It has design problems.

[GB.NET.SMTP]
* BUG: No circular references anymore when using SSL or TLS.

[GB.QT4]
* OPT: Do not arrange a container while destroying its children.
* BUG: Style.PaintBox now works correctly with QtCurve.
* BUG: Style.PaintBox now works better with QGtk.


git-svn-id: svn://localhost/gambas/trunk@6414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-02 22:50:08 +00:00
Benoît Minisini
6b89a4fb69 [CONFIGURATION]
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.

[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.

[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
  `class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
  again. I don't remember what prevented that to work, so I want to see.

[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.

[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.

[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the 
  control.

[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.

[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
  new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.

[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE 
  control toolbar.


git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 05:35:58 +00:00
Benoît Minisini
ae23faf1a3 [GB.GTK]
* NEW: Support for automatic session management.

[GB.GTK3]
* NEW: Support for automatic session management.


git-svn-id: svn://localhost/gambas/trunk@6393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 04:18:55 +00:00
Benoît Minisini
86c06592c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Now the offline help on component symbols should be displayed 
  correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.

[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line 
  arguments as a string array. Not definitive: it may be removed in the
  future.

[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager. Beware that it has
  no effect at the moment!

[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
  at the moment.
* NEW: Application.Restart is a new property that allows to define the 
  application restart command for the session manager.



git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-20 14:41:54 +00:00
Benoît Minisini
fbb0571940 [GB.QT4]
* BUG: Reading the Printer.GrayScale property now returns the correct 
  value.


git-svn-id: svn://localhost/gambas/trunk@6385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-16 22:49:20 +00:00