Commit graph

1022 commits

Author SHA1 Message Date
gambas
44a3f5f664 Control.Parent now ignores the inner containers of Container controls made in Gambas.
[GB.GTK]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.GTK3]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.QT4]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.

[GB.QT5]
* NEW: Control.Parent now ignores the inner containers of Container controls made in Gambas.
* NEW: Control._Parent is the old Parent property renamed.
2018-11-19 23:21:37 +01:00
bgermann
dace3b09ac Remove boolean definitions except in gb_common.h 2018-10-15 18:48:01 +02:00
gambas
a94bc793fe Mouse.State has flags for keyboard modifiers now.
[GB.GTK]
* NEW: Mouse.State has flags for keyboard modifiers now.

[GB.GTK3]
* NEW: Mouse.State has flags for keyboard modifiers now.
2018-10-08 16:35:45 +02:00
gambas
af3ef8d130 Paint: Text should now be correctly drawn in all cases.
[GB.GTK]
* BUG: Paint: Text should now be correctly drawn in all cases.

[GB.GTK3]
* BUG: Paint: Text should now be correctly drawn in all cases.
2018-10-04 12:17:53 +02:00
gambas
1bf70e1e75 PictureBox is now implemented in Gambas.
[GB.GTK]
* NEW: Remove PictureBox control.

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

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

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

[GB.QT5]
* NEW: Remove PictureBox control.
2018-10-03 16:06:54 +02:00
gambas
6619f59263 Unify and fix the behaviour of the Container.Children property.
[GB.GTK]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.GTK3]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.QT4]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.QT5]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.
2018-09-24 15:39:37 +02:00
gambas
1fa7304654 Fix Container.Children.Clear() method.
[GB.GTK]
* BUG: Fix Container.Children.Clear() method.

[GB.GTK3]
* BUG: Fix Container.Children.Clear() method.
* BUG: Remove a warning on deprecated API.
2018-09-24 11:33:30 +02:00
gambas
f5e0d6ebbb Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
[GB.GTK]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
* BUG: Set a cursor by trying all possible API, to be sure to find one existing.

[GB.GT3]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
* BUG: Set a cursor by trying all possible API, to be sure to find one existing.

[GB.QT4]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.

[GB.QT5]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
2018-09-15 22:29:21 +02:00
gambas
1cf0e4bfeb Do not crash anymore when deleting a modal window during its Open event.
[GB.GTK]
* BUG: Do not crash anymore when deleting a modal window during its Open event.
* BUG: Don't send fake configure event anymore when resizing a control. To check if it is actually needed for something.

[GB.GTK3]
* BUG: Do not crash anymore when deleting a modal window during its Open event.
* BUG: Don't send fake configure event anymore when resizing a control. To check if it is actually needed for something.
2018-09-14 00:47:32 +02:00
gambas
386ef35e44 Remove ScrollView control, add a Change event to the DrawingArea control, and propagate MouseWheel events automatically.
[GB.GTK]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.
* BUG: ScrollBar: Correctly raise the Change event in all cases.
* BUG: Slider: Correctly raise the Change event in all cases.

[GB.GTK3]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.
* BUG: ScrollBar: Correctly raise the Change event in all cases.
* BUG: Slider: Correctly raise the Change event in all cases.
2018-09-12 13:54:30 +02:00
gambas
ec5efc1785 [GB.GTK]
* BUG: Frame: Fix arrangement.

[GB.GTK3]
* BUG: Frame: Fix control layout and arrangement.
* BUG: Get rid of most of the GtkAlignment deprecated widgets.
2018-09-07 19:50:45 +02:00
gambas
e78d690ac3 Let's try to compile 'gb.gtk3' on Ubuntu 12.04!
[GB.GTK3]
* BUG: Let's try to compile 'gb.gtk3' on Ubuntu 12.04!
2018-09-06 22:55:19 +02:00
gambas
d61741474f ScrollArea and all its children classes now can animate their scrolling.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Option dialog: Add an option to enable control animations. Move the toolbar size option to the 'Fonts' panel.

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

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

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

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

[GB.QT5]
* NEW: Application.Animations is a new property that enable or disable control animations.
2018-09-05 21:19:57 +02:00
gambas
41058b3ff5 Really make gb.gtk3 compile with GTK+ < 3.14.
[GB.GTK3]
* BUG: Really make gb.gtk3 compile with GTK+ < 3.14.
2018-09-05 00:23:53 +02:00
gambas
83a1ee29bc Make gb.gtk3 compile with GTK+ < 3.14.
[GB.GTK3]
* BUG: Make gb.gtk3 compile with GTK+ < 3.14.
2018-09-04 22:23:54 +02:00
gambas
e5b3fa25e0 Compile with gtk+ < 3.20.
[GB.GTK3]
* BUG: Compile with gtk+ < 3.20.
2018-09-04 21:56:08 +02:00
gambas
ee674d9068 Many fixes to the GTK+3 components, and rewrite the SpinBox control in Gambas.
[GB.GTK]
* NEW: Remove the native SpinBox implementation.
* BUG: Add specific fixes for breeze and oxygen themes.

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

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

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

[GB.QT5]
* NEW: Remove the native SpinBox implementation.
* NEW: RadioButton: Fill the widget when the background color is set.
* BUG: Style: Fix some metric properties.
2018-09-04 15:56:23 +02:00
gambas
0eda19df1e Don't remove a control from its parent immediately when destroying it, so that GTK+ components behave like the QT ones.
[GB.GTK]
* NEW: Don't remove a control from its parent immediately when destroying it, so that GTK+ components behave like the QT ones.

[GB.GTK3]
* NEW: Don't remove a control from its parent immediately when destroying it, so that GTK+ components behave like the QT ones.
2018-06-16 15:36:34 +02:00
gambas
74ddac88b8 Fix clipboard instanciation. No more GTK+ warning at the end of the program.
[GB.GTK]
* BUG: Remove unused static cursors.
* BUG: Fix clipboard instanciation. No more GTK+ warning at the end of the program.

[GB.GTK3]
* BUG: Fix clipboard instanciation. No more GTK+ warning at the end of the program.
2018-06-01 14:55:53 +02:00
PICCORO Lenz McKAY
7e622ba756 fix forgotten conditional, not property a bug, conserves minimal build requirements 2018-05-11 20:21:10 +00:00
gambas
0b4adeb361 Implement the menu proxy management.
[GB.GTK]
* NEW: Implement the menu proxy management.

[GB.GTK3]
* NEW: Implement the menu proxy management.
2018-03-06 23:36:43 +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
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
d583aa9480 Setting Application.Busy now has an immediate effect.
[GB.GTK]
* BUG: Setting Application.Busy now has an immediate effect.

[GB.GTK3]
* BUG: Setting Application.Busy now has an immediate effect.
2017-10-27 04:33:17 +02:00
gambas
9fa8e2a5d6 Don't call the event loop after changing Application.Busy, and clicking outside of an opened popup window now automatically closes it.
[GB.GTK]
* BUG: Don't call the event loop after changing Application.Busy.
* NEW: Use gdk_new_cursor_from_name() instead gdk_new_cursor().
* BUG: Clicking outside of an opened popup window now automatically closes it.

[GB.GTK3]
* BUG: Don't call the event loop after changing Application.Busy.
* NEW: Use gdk_new_cursor_from_name() instead gdk_new_cursor().
* BUG: Clicking outside of an opened popup window now automatically closes it.
2017-10-27 03:25:41 +02: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
2fe8178dfd Fix Style drawing methods of gb.gtk3, as GTK+3 breaks again its themin API (for the second time? third time? I dunno).
[GB.GTK3]
* BUG: Fix Style drawing methods, as GTK+3 breaks again its themin API (for the second time? third time? I dunno).
2017-09-03 01:12: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
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02: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
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
d78981442e [GB.GTK]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.

[GB.GTK3]
* BUG: Don't try to set the background and foreground colors of pop-up menus. It does not work in all cases.


git-svn-id: svn://localhost/gambas/trunk@8078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 01:45:50 +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
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
397a1eec2b [GB.GTK]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.

[GB.GTK3]
* BUG: Raise a "GUI is not initialized" error when trying to create a window too early, as QT components do.


git-svn-id: svn://localhost/gambas/trunk@8029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:20:25 +00:00
Benoît Minisini
b57b2fb7cd [GB.GTK]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.

[GB.GTK3]
* BUG: Window Hide and Show events are now correctly raised when the window is minimized or restored.



git-svn-id: svn://localhost/gambas/trunk@8028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 17:07:45 +00:00
Benoît Minisini
c0c01b1d4a [GB.GTK]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.

[GB.GTK3]
* BUG: Font.Styles now returns a pre-defined array and does not crash anymore.



git-svn-id: svn://localhost/gambas/trunk@8027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-30 00:01:29 +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
d475c9074c [GB.GTK]
* BUG: Window.Menus[] does not crash anymore.

[GB.GTK3]
* BUG: Window.Menus[] does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:16:16 +00:00
Benoît Minisini
d2afc5bc00 [GB.GTK]
* BUG: TextBox: Make SetFocus() not select the text.

[GB.GTK3]
* BUG: TextBox: Make SetFocus() not select the text.


git-svn-id: svn://localhost/gambas/trunk@7899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-07 20:08:36 +00:00
Benoît Minisini
113b3ff5de [GB.GTK]
* BUG: Make r7877 compile on older versions of GTK+2.


git-svn-id: svn://localhost/gambas/trunk@7878 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 21:41:05 +00:00
Benoît Minisini
59b8546ba8 [GB.GTK]
* BUG: TextArea should not crash anymore in some cases when destroyed.


git-svn-id: svn://localhost/gambas/trunk@7877 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 18:39:59 +00:00
Benoît Minisini
f03ddee926 [GB.GTK]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.

[GB.GTK3]
* BUG: Don't use gtk_window_set_resizable(), it has a broken behaviour in GTK+3. Use gtk_window_set_geometry_hints instead. 
* BUG: Destroying a parent menu automatically destroys its children as expected now.
* BUG: Patch all layout methods.


git-svn-id: svn://localhost/gambas/trunk@7863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-25 23:58:28 +00:00
Benoît Minisini
4cd8b9c7f3 [GB.GTK]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.

[GB.GTK3]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash.


git-svn-id: svn://localhost/gambas/trunk@7861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-22 19:03:18 +00:00
Benoît Minisini
676d06b0d7 [GB.GTK]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.

[GB.GTK3]
* NEW: Implement the Menu.Proxy property.
* BUG: Prevent a crash when a non-void TabStrip is deleted.


git-svn-id: svn://localhost/gambas/trunk@7840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-15 12:56:57 +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
5e9d52e73d [GB.GTK]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.

[GB.GTK3]
* BUG: TextArea: Shortcuts that could modify the text are now disabled if the TextArea is read-only.


git-svn-id: svn://localhost/gambas/trunk@7830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-23 09:37:38 +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
383e34ea8b [GB.GTK3]
* BUG: Using colors with alpha component works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:31:21 +00:00
Benoît Minisini
8e1bc2a049 [GB.GTK3]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@7822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:06:06 +00:00
Benoît Minisini
f5c1dd7b00 [GB.GTK3]
* BUG: Background and Foreground colors should work as expected now.
* BUG: SpinBox: Minimum width is a bit larger now.


git-svn-id: svn://localhost/gambas/trunk@7821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-16 18:03:47 +00:00
Benoît Minisini
92386d1a6e [GB.GTK]
* BUG: Utility windows correctly take the focus when shown.

[GB.GTK3]
* BUG: Utility windows correctly take the focus when shown.



git-svn-id: svn://localhost/gambas/trunk@7819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-15 00:05:16 +00:00
Benoît Minisini
a341bb730c [GB.GTK3]
* BUG: Background and Foreground colors should work better with most of the controls.


git-svn-id: svn://localhost/gambas/trunk@7818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 22:20:37 +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
f0a058e675 [GB.GTK3]
* BUG: Fix compilation with GTK+ version < 3.14.


git-svn-id: svn://localhost/gambas/trunk@7802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 22:24:32 +00:00
Benoît Minisini
bad1f7398f [GB.GTK3]
* BUG: Checked menus are now drawn correctly with all widget themes.


git-svn-id: svn://localhost/gambas/trunk@7801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-19 18:59:16 +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
79d8aa1673 [GB.GTK]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.

[GB.GTK3]
* BUG: Button grab is correctly released now when a modal dialog is opened after a button click.


git-svn-id: svn://localhost/gambas/trunk@7764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 14:01:49 +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
dd3d5c351b [GB.GTK]
* BUG: Remove use of g_mem_set_vtable() deprecated Glib API.
* BUG: Fix a warning on NULL constant use.
* BUG: Remove use of some GtkStatusIcon deprecated functions.

[GB.GTK3]
* BUG: Remove use of g_mem_set_vtable() deprecated Glib API.
* BUG: Fix a warning on NULL constant use.
* BUG: Don't use gtk_widget_reparent() deprecated function anymore.
* BUG: Remove use of some GtkStatusIcon deprecated functions.


git-svn-id: svn://localhost/gambas/trunk@7742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:24:56 +00:00
Benoît Minisini
5ad88d32a5 [GB.GTK]
* BUG: The minimum and maximum values of ScrollBar and Slider controls now can be equal, to mimic QT components behaviour.

[GB.GTK3]
* BUG: The minimum and maximum values of ScrollBar and Slider controls now can be equal, to mimic QT components behaviour.


git-svn-id: svn://localhost/gambas/trunk@7736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-11 00:02:59 +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
79a4ea2a70 [INTERPRETER]
* BUG: Fix a crash on one error message thrown incorrectly.

[GB.FORM.TERMINAL]
* OPT: Optimize drawing routine. Still slow, but less flicker.
* NEW: TerminalView: Add a blink property that enables or disables cursor blink.

[GB.GTK]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?

[GB.GTK3]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?


git-svn-id: svn://localhost/gambas/trunk@7698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 09:25:11 +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
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
1e32bb79dd [GB.DESKTOP.X11]
* BUG: Do not crash when some desktop properties are not defined by the
  window manager.

[GB.GTK]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.

[GB.GTK3]
* BUG: Initialize the root window event mask when setting the X11 event
  filter.


git-svn-id: svn://localhost/gambas/trunk@7497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 19:57:17 +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
d289c1d0ad [GB.GTK3]
* BUG: ScrollView with a border should not display scrollbars anymore when 
  they are void.


git-svn-id: svn://localhost/gambas/trunk@7420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 23:27:35 +00:00
Benoît Minisini
c6ff0fe96f [GB.GTK]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.
  
[GB.GTK3]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.


git-svn-id: svn://localhost/gambas/trunk@7409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 23:11:45 +00:00
Benoît Minisini
7f44f910de [GB.GTK]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.

[GB.GTK3]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.


git-svn-id: svn://localhost/gambas/trunk@7406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 21:50:05 +00:00
Benoît Minisini
9e9514c318 [GB.GTK]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.

[GB.GTK3]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@7405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 14:04:46 +00:00
Benoît Minisini
fc66292f50 [GB.GTK]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.
  
[GB.GTK3]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.


git-svn-id: svn://localhost/gambas/trunk@7404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:09:36 +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
b3e2e3bbdb [GB.GTK]
* BUG: Fix Image.Rotate() routine.

[GB.GTK3]
* BUG: Fix Image.Rotate() routine.


git-svn-id: svn://localhost/gambas/trunk@7378 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-03 01:02:18 +00:00
Benoît Minisini
ea481962b9 [GB.GTK]
* BUG: Try to fix popup menu behaviour in X11 TrayIcon context.


git-svn-id: svn://localhost/gambas/trunk@7353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-27 13:29:49 +00:00
Benoît Minisini
703d1a1a7a [GB.GTK]
* BUG: Newly opened windows are centered by default, to mimic the gb.qt4
  and gb.qt5 behaviour.

[GB.GTK3]
* BUG: Newly opened windows are centered by default, to mimic the gb.qt4
  and gb.qt5 behaviour.



git-svn-id: svn://localhost/gambas/trunk@7343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-25 21:13:05 +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
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
631c2477f6 [GB.GTK]
* BUG: No GTK+ warning message anymore when a TextArea or TextBox gets the 
  focus using some input methods.

[GB.GTK3]
* BUG: No GTK+ warning message anymore when a TextArea or TextBox gets the 
  focus using some input methods.


git-svn-id: svn://localhost/gambas/trunk@7273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-05 16:00:54 +00:00
Benoît Minisini
29ce64375f [GB.GTK]
* BUG: TextArea.Paste() and CTRL+V works correctly now.

[GB.GTK3]
* BUG: TextArea.Paste() and CTRL+V works correctly now.



git-svn-id: svn://localhost/gambas/trunk@7272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-05 15:45:31 +00:00
Benoît Minisini
9c033b4860 [GB.GTK]
* BUG: Fix a uninitialized variable that can lead to a crash when creating
  a window.

[GB.GTK3]
* BUG: Fix a uninitialized variable that can lead to a crash when creating
  a window.


git-svn-id: svn://localhost/gambas/trunk@7237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-25 12:57:03 +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
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
9547ff52ec [GB.GTK]
* BUG: Key[] works again correctly.

[GB.GTK3]
* BUG: Key[] works again correctly.



git-svn-id: svn://localhost/gambas/trunk@7202 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 23:46:56 +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
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
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
0271f54897 [GB.GTK]
* BUG: Fix compilation error.

[GB.GTK3]
* BUG: Fix compilation error.



git-svn-id: svn://localhost/gambas/trunk@7146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-26 11:22:40 +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
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
d64fbae8c7 [GB.GTK3]
* BUG: Dialog.SelectFont() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 20:49:34 +00:00
Benoît Minisini
a8b8ca57bc [GB.GTK3]
* BUG: Explicit call to gtk_printer_option_widget_get_type(), otherwise 
  printing crashes. But why???


git-svn-id: svn://localhost/gambas/trunk@7125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 20:22:35 +00:00
Benoît Minisini
8d2e4c5262 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix initial cursor position at file loading.

[GB.FORM.EDITOR]
* BUG: Wrapping is correctly updated now when the margin width changes.
* NEW: The line indent is used for drawing all the wrapped lines of a text 
  line.
* NEW: The HOME and END keys take the wrapping into accoutn now.

[GB.GTK]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.

[GB.GTK3]
* BUG: Drawing text on an image now has the same result as drawing text on 
  the screen. They use the same hinting options.


git-svn-id: svn://localhost/gambas/trunk@7124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-09 11:27:13 +00:00
Benoît Minisini
6ec02aa5f7 [GB.GTK]
* BUG: Fix keyboard events handling.
* BUG: Fix enter and leave events handling.


git-svn-id: svn://localhost/gambas/trunk@7122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-06-08 15:47:16 +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
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
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
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
bec95180a1 [GB.GTK]
* OPT: Cache Pango layout in each painter so that it is not recreated at 
  each text drawing.
* BUG: Copying a control font now should works as expected.
* OPT: Paint.TextSize does not compute text size twice anymore.


git-svn-id: svn://localhost/gambas/trunk@7083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-14 21:32:48 +00:00
Benoît Minisini
a572c6b9d1 [GB.GTK]
* NEW: The local Stock class has been deprecated. GTK+ stock icons are not 
  accessible anymore.

[GB.GTK3]
* NEW: The local Stock class has been deprecated. Deprecated GTK+ stock 
  icons are not accessible anymore.
* BUG: Fix warnings by not using deprecated functions. Only 
  GtkImageMenuItem is kept, because I didn't found a workaround yet of 
  GTK+3 dropping icons in menus!


git-svn-id: svn://localhost/gambas/trunk@7032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-04-12 21:29:18 +00:00
Benoît Minisini
7dae6298bc [GB.GTK]
* BUG: Fix a crash when calling Dialog.SaveFile() with a void Dialog.Path.
* BUG: TextBox: Setting the Pos property during a KeyPress event now works
  in all cases.

[GB.GTK3]
* BUG: Fix a crash when calling Dialog.SaveFile() with a void Dialog.Path.
* BUG: TextBox: Setting the Pos property during a KeyPress event now works
  in all cases.


git-svn-id: svn://localhost/gambas/trunk@7007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-28 20:42:30 +00:00
Benoît Minisini
7d514ba286 [GB.FORM]
* NEW: ValueBox now raises a Change event when its content changes.
* OPT: DocumentView: Don't scale the document image before drawing it! It 
  is slow with gb.qt4, and slow as hell with gb.gtk. Use the scaling 
  feature of Paint.DrawImage().
* NEW: DocumentView: Use a lighter page shadow.

[GB.GTK3]
* BUG: SpinBox: Use a larger minimum width.


git-svn-id: svn://localhost/gambas/trunk@6963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 18:50:40 +00:00
Benoît Minisini
438800a393 [GB.GTK3]
* BUG: Correctly handle widget grabs, i.e. popups, modal dialogs...
* BUG: Read-only combo-boxes do not prevent windows to shrink vertically.
* NEW: ComboBox height can be smaller.
* BUG: SpinBox does not expand horizontally up to the right border of its 
  parent anymore.


git-svn-id: svn://localhost/gambas/trunk@6961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-09 10:00:20 +00:00
Benoît Minisini
3c3b1b44a2 [GB.FORM]
* NEW: The Completion class now uses a top-level popup window and the new 
  TakeFocus property.
* BUG: Remove some unused variables and symbols.

[GB.GTK]
* BUG: Closing a window now should not lose FocusOut events anymore.
* BUG: Fix the Window.TakeFocus property.
  
[GB.GTK3]
* BUG: Fix the Window.TakeFocus property.


git-svn-id: svn://localhost/gambas/trunk@6941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-03-02 22:27: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
77563de5cb [DEVELOPMENT ENVIRONMENT]
* NEW: Update support list.

[GB.GTK]
* BUG: Fix a possible crash in input method management.

[GB.GTK3]
* BUG: Fix a possible crash in input method management.
* BUG: TextArea now has a minimum size, as GTK+3 crashes when they are too 
  small.


git-svn-id: svn://localhost/gambas/trunk@6913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 21:23:14 +00:00
Benoît Minisini
d3cecd5e9f [GB.GTK]
* BUG: Fix a spurious warning.

[GB.GTK3]
* BUG: Fix a spurious warning.


git-svn-id: svn://localhost/gambas/trunk@6912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 17:12:00 +00:00
Benoît Minisini
c728dafc8f [GB.GTK]
* BUG: Fix crash when using read-only ComboBox.

[GB.GTK3]
* BUG: Fix crash when using read-only ComboBox.


git-svn-id: svn://localhost/gambas/trunk@6911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-25 17:06:41 +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
e75bbafdb9 [GB.GTK]
* BUG: Do not crash when a piece of rich text contains the "</>" string.

[GB.GTK3]
* BUG: Do not crash when a piece of rich text contains the "</>" string.


git-svn-id: svn://localhost/gambas/trunk@6907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 01:47:25 +00:00
Benoît Minisini
9d04f9cc58 [GB.GTK]
* BUG: Fix a possible GTK+ warning when drawing widget borders.
* BUG: Apply XIM workaround only on controls having their own input method.

[GB.GTK3]
* BUG: Fix a possible GTK+ warning when drawing widget borders.
* BUG: Apply XIM workaround only on controls having their own input method.


git-svn-id: svn://localhost/gambas/trunk@6906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 00:46:53 +00:00
Benoît Minisini
2b4cbbb2cc [GB.GTK]
* BUG: The keyboard event management is being fixed again. Workaround the 
  strange behaviour of the XIM input method that raises keyboard events 
  twice.

[GB.GTK3]
* BUG: The keyboard event management is being fixed again. Workaround the 
  strange behaviour of the XIM input method that raises keyboard events 
  twice.


git-svn-id: svn://localhost/gambas/trunk@6905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-23 00:21:34 +00:00
Benoît Minisini
7b6dd88035 [GB.GTK]
* BUG: Redesign the keyboard event management so that it works with all 
  input methods.
  
[GB.GTK3]
* BUG: Redesign the keyboard event management so that it works with all 
  input methods.


git-svn-id: svn://localhost/gambas/trunk@6904 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-02-22 21:06:50 +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
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
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
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
a5f2cb1575 [FARM SERVER]
* NEW: Software screenshot can be deleted by the client.

[INTERPRETER]
* NEW: The little interpreter sleep is now done inside the watch file 
  descriptor read callback only. So no need to implement it in each
  component event loop.

[GB.SDL2]
* BUG: The SDL event loop now calls the interpreter event loop so that 
  timers and watched file descriptor are correctly handled.


git-svn-id: svn://localhost/gambas/trunk@6792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-02 03:44:30 +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
e6f3fb336e [GB.GTK]
* BUG: Menu opened through the PopupMenu property work correctly now.

[GB.GTK3]
* BUG: Menu opened through the PopupMenu property work correctly now.


git-svn-id: svn://localhost/gambas/trunk@6709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-03 14:24:47 +00:00
Benoît Minisini
9926507f8d [GB.GTK]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.

[GB.GTK3]
* BUG: Fix warning with Slider or SpinBox when setting a minimum value 
  equal to the maximum value, or the contrary.
* BUG: Paint.Reset() now works as expected on non-cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@6629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-11 01:46:28 +00:00
Benoît Minisini
2fd0373590 [GB.GTK]
* BUG: Fix an uninitialized variable.

[GB.GTK3]
* BUG: Fix an uninitialized variable.


git-svn-id: svn://localhost/gambas/trunk@6627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 22:24:43 +00:00
Nigel Gerrard
506e7a468b [GB.GTK]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin

[GB.GTK3]
* BUG: Correct get_style function to use GType and not integer.
       Resolves issue with X Win crash in cygwin


git-svn-id: svn://localhost/gambas/trunk@6626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-10 21:33:40 +00:00
Benoît Minisini
300d36e7b6 [GB.GTK]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.

[GB.GTK3]
* BUG: Ensure that Clipboard.Paste() behaves the same as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@6589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-30 02:03:27 +00:00
Benoît Minisini
2adf90242b [GB.GTK]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now. The "X input method" does not work 
  (key events are internally sent four times!).

[GB.GTK3]
* BUG: Fix input method handling: key events cancellation and key repeat 
  are correctly taken into account now.


git-svn-id: svn://localhost/gambas/trunk@6585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-27 23:43:56 +00:00
Benoît Minisini
c971d3e7ca [DEVELOPMENT ENVIRONMENT]
* NEW: Put the publishing configuration and registration in the option 
  dialog.

[GB.FORM]
* BUG: SwitchButton: Use a "disable" look for ON and OFF state when the
  Enabled property is FALSE.
* NEW: ListEditor is a new control that allows to edit the contents of a
  ListBox control.

[GB.GTK]
* BUG: Remove a debugging message.
* BUG: TextBox: Postpone the Change event so that replacing the selection 
  raises a unique Change event.

[GB.NET.SMTP]
* NEW: Add a Content-Disposition header to attachments.

[GB.WEB]
* NEW: The default response content type is now HTML with UTF-8 charset.


git-svn-id: svn://localhost/gambas/trunk@6574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-25 14:32:48 +00:00
Benoît Minisini
2535f9ad76 [EXAMPLES]
* BUG: MoviePlayer: Use an embedder as mplayer container. It's the only 
  control that has its own X11 window in all toolkits.

[GB.GTK]
* BUG: Ensure that the Embedder background is painted.


git-svn-id: svn://localhost/gambas/trunk@6569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-20 14:17:48 +00:00
Benoît Minisini
ec8627f540 [GB.GTK]
* BUG: Use GtkSelectionData accessor function.

[GB.GTK3]
* BUG: Use GtkSelectionData accessor function.



git-svn-id: svn://localhost/gambas/trunk@6563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 22:27:13 +00:00
Benoît Minisini
892fa0be41 [GB.FORM]
* NEW: Add a copy menu entry to the FileChooser and DirChooser controls.

[GB.GTK]
* BUG: Clipboard.Copy() now works for all text formats.

[GB.GTK3]
* BUG: Clipboard.Copy() now works for all text formats.


git-svn-id: svn://localhost/gambas/trunk@6562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 20:04:22 +00:00
Benoît Minisini
1ee8120382 [GB.GTK]
* BUG: Start fixing drag and drop.

[GB.GTK3]
* BUG: Start fixing drag and drop.
* BUG: Remove two symbolic links on source files that do not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@6561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 18:09:07 +00:00
Benoît Minisini
77ad93e7a6 [GB.GTK]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.

[GB.GTK3]
* BUG: Correctly interpret "&#xxx;" HTML entities in rich text.


git-svn-id: svn://localhost/gambas/trunk@6560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-18 13:38:22 +00:00
Benoît Minisini
d2b8cc6af9 [GB.GTK]
* BUG: Fix missing file in Makefile.am


git-svn-id: svn://localhost/gambas/trunk@6542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-12 22:18:13 +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
efc902a82a [GB.GTK]
* BUG: Fix menu item drawing again.

[GB.GTK3]
* BUG: Fix menu item drawing again.


git-svn-id: svn://localhost/gambas/trunk@6478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-15 03:40:50 +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
7f5f591f89 [DEVELOPMENT ENVIRONMENT]
* NEW: Recent file list is now stored in the following file:
  '~/.local/config/gambas3/gambas3.recent.conf'
* BUG: Fix the CC mail address of the crash report.

[WIKI CGI SCRIPT]
* BUG: Correctly read information files of components having a class 
  defined both in the C/C++ part and in the Gambas part.

[GB.FORM]
* BUG: Fix the balloon drawing routine. It should never be transparent 
  anymore.

[GB.GTK]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.

[GB.GTK3]
* BUG: Automatic grabbing on mouse button press is now released if the 
  top-level window of the target control is hidden during the grab.


git-svn-id: svn://localhost/gambas/trunk@6474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-14 14:35:56 +00:00
Benoît Minisini
68c3701c55 [GB.GTK]
* BUG: Fix input method handling.

[GB.GTK3]
* BUG: Fix input method handling.


git-svn-id: svn://localhost/gambas/trunk@6469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-13 12:41:31 +00:00
Benoît Minisini
37fc199475 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in the new procedure list.
* NEW: Add the executable size in the project statistics.

[GB.FORM]
* NEW: Bookmark editor: Now you can edit the name of the bookmark by just 
  clicking inside the table.

[GB.GUI.BASE]
* NEW: The height argument of Paint.TrimText() and Paint.TrimRichText() is 
  now optional. It takes the font height if omitted.
* BUG: ScrollArea does not override the current clipping anymore. It fixed
  the TableView edit cell drawing artifacts with GTK+2. In other words,
  never assign Draw.ClipRect while drawing with GTK+2!
* NEW: ScrollArea border is now a plain border, and not a sunken one 
  anymore. I find it nicer.

[GB.GTK]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.

[GB.GTK3]
* BUG: Fix borderless TextBox padding to be the same as with gb.qt4.
* BUG: Borderless TextBox has now always a flat background, whatever the 
  widget style.


git-svn-id: svn://localhost/gambas/trunk@6466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-11 14:19:14 +00:00
Benoît Minisini
ebaf84261d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix background color of code editor tooltip messages.

[GB.FORM]
* NEW: MenuButton now uses the new DrawingArea Font event.
* BUG: Fix FileChoose/DirChooser directory buttons layout.

[GB.GUI.BASE]
* NEW: Paint.TrimRichText() is a new method that trims some rich text to a
  specific size, adding ellipsis if needed.
* NEW: Use smaller arrows in TreeView and GridView headers.
* BUG: TreeView now should keep the selection correctly while an item is
  expanded or collapsed.

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

[GB.GTK3]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Style.PaintArrow() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@6462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-09 13:54:42 +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
06c736add7 [GB.GTK]
* BUG: A reparented control does not lose its default foreground or 
  background color anymore.


git-svn-id: svn://localhost/gambas/trunk@6457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-07 20:27:04 +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
f0c1464ff2 [GB.GTK]
* NEW: Remove useless gb.gtk exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().

[GB.GTK3]
* NEW: Remove useless gb.gtk3 exported functions.
* OPT: Prevent an unneeded image conversion in Paint.DrawImage().


git-svn-id: svn://localhost/gambas/trunk@6431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-27 11:53:37 +00:00
Benoît Minisini
059a61ff3f [GB.GTK]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them.

[GB.GTK3]
* BUG: Try to fix GTK+ keyboard events handling, whatever the input method 
  does with them. Some problems specific to GTK+3 yet.


git-svn-id: svn://localhost/gambas/trunk@6424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-23 12:21:03 +00:00
Benoît Minisini
6afea7421a [GB.GTK]
* NEW: Add an environment variable to debug keypress events.


git-svn-id: svn://localhost/gambas/trunk@6420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-22 11:16:35 +00:00
Benoît Minisini
95d0f89346 [GB.GTK]
* BUG: Fix session management compilation.

[GB.GTK3]
* BUG: Fix session management compilation.



git-svn-id: svn://localhost/gambas/trunk@6394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-21 22:49:03 +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
fb088ab291 [DEVELOPMENT ENVIRONMENT]
* BUG: The close menu now works for all editors in single file mode.

[GB.FORM.MDI]
* BUG: Workspace: Fix the new Remove() method and the old Add() method.


git-svn-id: svn://localhost/gambas/trunk@6362 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-05 00:07:52 +00:00
Benoît Minisini
22977a4d50 [DEVELOPMENT ENVIRONMENT]
* NEW: Color chooser in forms now allows to select a transparent color.

[GB.DESKTOP.X11]
* NEW: The Arrange event is now delayed.
* BUG: Do not display X11 errors anymore.
* BUG: Disable the X11 event filter if the system tray has been closed.
* BUG: Don't crash when closing the system tray and freeing the internal 
  data.
* NEW: Support for the _NET_SYSTEM_TRAY_VISUAL protocol. Now the system 
  tray can be a transparent window, but embedded icons keeps being opaque.

[GB.GTK]
* NEW: Support for X11 event filter has been implemented.
* BUG: Wait 10 ms after showing a tray icon. Apparently you must not be too
  fast when creating several tray icons.


git-svn-id: svn://localhost/gambas/trunk@6347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-28 15:25:12 +00:00
Benoît Minisini
dc5875f9d3 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when highlighting source code positions in the 
  output window.
* BUG: Hitting ENTER key in the project tree filter now works correctly, 
  and open the first matching file if none is selected.

[GB.DESKTOP]
* BUG: Requires gb.desktop.x11 explicitely now.

[GB.GTK]
* BUG: System tray icons deletion is delayed now. It prevents spurious GTK+
  warnings that appear if you hide an icon during inside an event handler.

[GB.IMAGE]
* BUG: Rewrite the ImageStat class source code because the PHP licence is 
  not compatible with the GPL.

[GB.QT4]
* BUG: System tray icons deletion is delayed now, to avoid a crash if you
  hide an icon during inside an event handler.


git-svn-id: svn://localhost/gambas/trunk@6344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-26 20:00:13 +00:00
Benoît Minisini
76195761c9 [GB.GTK]
* BUG: The Foreground property of RadioButton and CheckBox now works correctly.

[GB.GTK3]
* BUG: Get rid of some warnings.

[GB.WEB]
* BUG: URL.UnsetQuery() now works correctly on void request queries.


git-svn-id: svn://localhost/gambas/trunk@6333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-22 14:05:27 +00:00
Benoît Minisini
53f66734b5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for choosing LinkForeground and VisitedForeground system 
  colors.
* NEW: An option to toggle the display of current file name in the IDE 
  window title.

[GB.GTK]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.

[GB.GTK3]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links. If not applicable, some default colors are returned.
* BUG: Get rid of some warnings.

[GB.QT4]
* NEW: Color.LinkForeground and Color.VisitedForeground are two new 
  properties that return the system color associated with links and visited 
  links.


git-svn-id: svn://localhost/gambas/trunk@6331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-20 13:44:08 +00:00
Benoît Minisini
ab80d1ab67 [GB.GTK]
* BUG: Fix Frame children detection.

[GB.GTK3]
* BUG: Fix Frame children detection.


git-svn-id: svn://localhost/gambas/trunk@6329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-19 09:07:50 +00:00
Benoît Minisini
e49850d5af [GB.GTK]
* BUG: Fix TabStrip behaviour when its Closable property is set.

[GB.GTK3]
* BUG: Fix some uses of deprecated functions.


git-svn-id: svn://localhost/gambas/trunk@6315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-12 09:27:31 +00:00
Benoît Minisini
4c7dfb0595 [GB.GTK]
* BUG: Correctly resets the clip region offset after a DrawingArea draw 
  event.


git-svn-id: svn://localhost/gambas/trunk@6313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-11 00:25:14 +00:00
Benoît Minisini
dce2f3c764 [DEVELOPMENT ENVIRONMENT]
* NEW: A left mouse click with the CONTROL key jumps to the definition of 
  a symbol, like the F2 key.
* NEW: The shortcuts help window now remembers its geometry.
* BUG: Subversion: Fix automatic conflict resolving of configuration files.

[GB.GTK]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).

[GB.GTK3]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).

[GB.QT4]
* NEW: Window.Transparent is a new property that makes the window 
  background transparent (i.e. it uses a RGBA visual).


git-svn-id: svn://localhost/gambas/trunk@6308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-10 02:16:47 +00:00
Benoît Minisini
5155796342 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the custom browser support.
* NEW: Add Chromimum to the list of browsers.

[INTERPRETER]
* NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they
  have raised an error. FALSE is everything was ok.

[GB.FORM.MDI]
* NEW: Redesign the shortcuts configuration dialog.
* NEW: Shortcuts now can be exported and imported.

[GB.GTK]
* BUG: DrawingArea: Clipping is correctly established now before raising
  the Draw event.
* BUG: Keyboard events have been fixed. Key array accessor and Key.Code now
  behave the same way as in gb.qt4.
* BUG: The Key.Meta property works correctly now.
* BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround
  for that new weird behaviour.
* BUG: Automatic window minimum size now works correctly.
* BUG: Windows can take focus as in gb.qt4.

[GB.GUI.BASE]
* BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw 
  event. Otherwise you get drawing artifacts with gb.gtk.
* BUG: GridView: Setting the column width to -1 is taken into account by 
  the layout routine.


git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-08 11:54:07 +00:00
Benoît Minisini
2d784e0305 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove Firebird from the database drivers list.

[GB.FORM.MDI]
* NEW: The Workspace popup menu has been redesigned.
* NEW: A menu entry to close all tabs.
* NEW: A menu entry to close tabs to the right.

[GB.GTK]
* BUG: Invisible startup forms are not opened at startup anymore.

[GB.NET.POP3]
* NEW: Pop3Client.Open() now raises an error if authentication fails, and
  correctly aborts the connection.

[GB.QT4.EXT]
* BUG: Editor: Delete at the end of line and backspace at the beginning of
  line now work as expected when override mode is enabled.
* NEW: CTRL+D now deletes the current line or selection.


git-svn-id: svn://localhost/gambas/trunk@6304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-07 01:24:05 +00:00
Benoît Minisini
90e7f54bcd [DEVELOPMENT ENVIRONMENT]
* NEW: Shrink the welcome window a bit if the window is too small.

[EXAMPLES]
* NEW: SystemTray is a new example that shows how to use the system tray 
  support of the gb.desktop.x11 component.

[GB.DESKTOP.X11]
* BUG: A lot of clean up in the system tray support.
* NEW: X11SystrayIcon.Handle is a new property that returns the X11 window 
  id of a systray icon.

[GB.GUI.BASE]
* BUG: Draw: Use Paint.LineJoinRound by default.

[GB.QT4]
* NEW: TrayIcon: Provide the icon size to the system tray.

[GB.GTK]
* NEW: TrayIcon: Try to provide the icon size to the system tray, but it is
  apparently overriden by the GTK+ library with the default small size.


git-svn-id: svn://localhost/gambas/trunk@6301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-03 21:02:01 +00:00
Benoît Minisini
fb1b6a762a [CONFIGURATION]
* NEW: Add an automake init flag to prevent warnings with recent versions 
  of automake.

[DEVELOPMENT ENVIRONMENT]
* NEW: A Gambas project directory is now identify by a ".project" file that
  actually begins with the expected header.

[GB.DESKTOP.X11]
* NEW: X11Systray is a new static class that implements a system tray 
  inside an already existing DrawingArea of your project. Beware, this it 
  the initial experimental version. That class is based on the 'stalone'
  project source code.

[GB.GTK]
* BUG: Default tray icon is correctly visible now.

[GB.GTK3]
* BUG: Default tray icon is correctly visible now.

[GB.QT4]
* BUG: Tray icons are now scaled, like with GTK+.


git-svn-id: svn://localhost/gambas/trunk@6299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-06-02 00:39:44 +00:00
Benoît Minisini
7abbd5e799 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't check conflict on project configuration file if that files 
  does not exist.

[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.

[INFORMER]
* BUG: Remove unneeded parenthesis on a test.

[GB.CLIPPER]
* BUG: Remove an unused variable.

[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.

[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it 
  behaves exactly like a TextBox.

[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach 
  current tab" menu entry is disabled when needed.

[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.

[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the 
  documentation.


git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-23 11:52:04 +00:00
Benoît Minisini
9f5c1f4bd6 [GB.GTK]
* BUG: Embedded windows can now be reparented to NULL to become top-level 
  again.
* BUG: Showing a top-level window now raises it automatically.


git-svn-id: svn://localhost/gambas/trunk@6280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 16:00:32 +00:00
Benoît Minisini
d463910f4d [GB.GTK]
* BUG: Setting Application.Font now updates the font of all controls.

[GB.GTK3]
* BUG: Setting Application.Font now updates the font of all controls.


git-svn-id: svn://localhost/gambas/trunk@6277 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-19 00:50:45 +00:00
Benoît Minisini
3253cf2ced [GB.DESKTOP]
* NEW: Update with the new gb.desktop.x11 syntax.

[GB.DESKTOP.X11]
* NEW: X11.SetProperty and X11.GetProperty window argument is now first, 
  and is not optional anymore. You have to specify X11.RootWindow 
  explicitely.
* NEW: The global X11 event handler 'Desktop_Change' is now named 
  'X11_PropertyNotify'.
* NEW: The global X11 event handler 'Desktop_Window' is now named 
  'X11_ConfigureNotify'.

[GB.QT4]
* NEW: The Frame container now has all arrangement properties.

[GB.GTK]
* NEW: The Frame container now has all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@6269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 23:43:36 +00:00
Benoît Minisini
a9fae4f4f3 [GB.GTK]
* BUG: Fix the behaviour of auto-resize labels.


git-svn-id: svn://localhost/gambas/trunk@6263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-13 18:11:16 +00:00
Benoît Minisini
e3f7b949e3 [GB.GTK3]
* BUG: Fix compilation with GTK+ >= 3.12.


git-svn-id: svn://localhost/gambas/trunk@6256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-08 12:02:52 +00:00
Benoît Minisini
9ff74ff950 [GB.GTK]
* BUG: TextArea.Text property can be set to a null string correctly now.


git-svn-id: svn://localhost/gambas/trunk@6255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-06 23:21:32 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
ea30c3ba1b [DEVELOPMENT ENVIRONMENT]
* NEW: Add a echo button in the output console, that echoes the entered 
  command.

[WIKI]
* NEW: Add a HTTP server requests graph.

[INTERPRETER]
* BUG: The debugger does not change the Key property of collections when
  displaying them.
* NEW: Collection.Key is writable now.

[GB.FORM]
* NEW: FontChooser: Always reset sample text at first use.
* BUG: FontChooser: Fix the behaviour when size changes.


git-svn-id: svn://localhost/gambas/trunk@6222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 00:28:41 +00:00
Benoît Minisini
78440de68d [DEVELOPMENT ENVIRONMENT]
* NEW: Add an "add everything to repository" menu entry.
* BUG: The user font config file is "~/config/fonts.conf", not 
  "~/config/.fonts.conf".

[GB.FORM]
* NEW: The Balloon background color is now the system tooltip background 
  color.

[GB.GTK]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.

[GB.OPENGL]
* BUG: Fix the missing "gl" prefix on two OepnGL calls.

[GB.QT4]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.



git-svn-id: svn://localhost/gambas/trunk@6209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 18:21:56 +00:00
Benoît Minisini
f3438a8da9 [WEBSITE]
* NEW: Use the new wiki now.

[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.

[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.

[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the 
  'OUTPUT TO' instruction).

[GB.FORM]
* NEW: Some new icons.

[GB.FORM.STOCK]
* BUG: Fix all missing icons.

[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.

[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.

[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.

[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and 
  returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and 
  being older than 24 hours are automatically removed from disk.


git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:25:48 +00:00
Benoît Minisini
34cd87e0d9 [GB.GTK]
* BUG: Fix a Slider warning when setting the MinValue or MaxValue property.

[GB.GTK3]
* BUG: Painting a DrawingArea is done with the correct origin now.


git-svn-id: svn://localhost/gambas/trunk@6163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 23:12:50 +00:00
Benoît Minisini
513aac869e [GB.GTK]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.

[GB.GTK3]
* BUG: Paint.TextSize() and Paint.RichTextSize() now correctly take into 
  account the device resolution.
* BUG: Printer.Configure() now correctly returns FALSE if the "Print" 
  button has been pressed.


git-svn-id: svn://localhost/gambas/trunk@6162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 18:00:32 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Benoît Minisini
e89cf75bac [GB.GTK]
* BUG: Fix the default size of message boxes.


git-svn-id: svn://localhost/gambas/trunk@6138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-07 22:25:04 +00:00
Benoît Minisini
aadf50a477 [GB.GTK]
* BUG: The printer configuration dialog does not crash anymore.
* BUG: Remove some GLib warnings when displaying the printer configuration 
  dialog.


git-svn-id: svn://localhost/gambas/trunk@6134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-05 01:06:37 +00:00
Benoît Minisini
52479d72c9 [GB.GTK]
* BUG: The MouseDrag event can be cancelled now, like with gb.qt4.

[GB.GTK3]
* BUG: The MouseDrag event can be cancelled now, like with gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@6105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-26 23:23:35 +00:00
Benoît Minisini
2f2ca62347 [GB.GTK]
* BUG: Controls inside TabStrip now are detected correctly and are not 
  insensitive anymore.

[GB.GTK3]
* BUG: Controls inside TabStrip now are detected correctly and are not 
  insensitive anymore.


git-svn-id: svn://localhost/gambas/trunk@6100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-24 23:54:53 +00:00
Benoît Minisini
220f821d9f [GB.GTK]
* BUG: TrayIcon: Handle DblClick and MouseWheel events correctly.

[GB.GTK3]
* BUG: TrayIcon: Handle DblClick and MouseWheel events correctly.


git-svn-id: svn://localhost/gambas/trunk@6095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-22 02:32:08 +00:00
Benoît Minisini
d2e0c0ec5f [GB.GTK3]
* BUG: Add an automatic widget grab on button press, because GTK+3 do not 
  them anymore!
* BUG: Handle both borderless TextBox and ComboBox controls. Add a specific
  fix for Clearlooks-Phenix theme.



git-svn-id: svn://localhost/gambas/trunk@6094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-22 01:18:35 +00:00
Benoît Minisini
1a8485e3a6 [GB.GTK]
* NEW: TextArea: Remove extra margin around text.
* BUG: TextArea: Border is drawn as expected now.

[GB.GTK3]
* BUG: Style.FrameWidth is correctly computed now.
* BUG: Borderless TextBox are drawn as expected now.
* BUG: TextArea: Border is drawn as expected now.


git-svn-id: svn://localhost/gambas/trunk@6093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-21 01:58:49 +00:00
Benoît Minisini
1b018f7bf1 [GB.FORM]
* NEW: TabPanel: Using the mouse wheel on the tab buttons does not steal 
  the focus anymore.

[GB.GTK]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.GTK3]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.

[GB.QT4]
* NEW: Application.PreviousControl is a new property that returns the 
  previous control having the focus.


git-svn-id: svn://localhost/gambas/trunk@6091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-20 19:32:24 +00:00
Benoît Minisini
a5cdcbae28 [GB.GTK]
* BUG: The TextArea.Text property does not waste memory anymore.


git-svn-id: svn://localhost/gambas/trunk@6083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-14 22:26:51 +00:00
Benoît Minisini
8c6cf71838 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work 
  as expected.

[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.

[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a 
  single space.

[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text 
  field.
* NEW: The FontChooser control now adapts its interface if its height is 
  too small.

[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.

[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.

[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons 
  corresponding to the current drawing path.


git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-12 01:59:49 +00:00
Benoît Minisini
e18c2016e7 [GB.GTK]
* BUG: Menu.Children.Clear() works again.

[GB.GTK.OPENGL]
* BUG: GlArea can take the focus now.


git-svn-id: svn://localhost/gambas/trunk@6077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-10 22:30:33 +00:00
Benoît Minisini
e28bd14ae3 [GB.GTK]
* BUG: Fix memory leak when loading images without alpha channel.


git-svn-id: svn://localhost/gambas/trunk@6071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-08 00:00:31 +00:00
Benoît Minisini
09210497db [GB.GTK3]
* BUG: Style.PaintPanel() does not crash anymore. But it does not draw the
  focus frame anymore... :-/


git-svn-id: svn://localhost/gambas/trunk@6068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-06 00:48:49 +00:00
Benoît Minisini
e3dfc5b9f6 [GB.GTK]
* NEW: GTK3+ support continues.


git-svn-id: svn://localhost/gambas/trunk@6064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 19:23:41 +00:00
Benoît Minisini
9da017f719 [GB.FORM]
* NEW: SwitchButton is a new control that displays an ON/OFF button.

[GB.GTK]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.GTK3]
* NEW: GTK3+ support continues! By te way, GTK3+ theming support is a 
  fucking nightmare.

[GB.QT4]
* NEW: Rework Style.PaintBox() method.
* NEW: Style.StateOf() is a new method that returns the state flags of a 
  specific control.
* NEW: Style.BackgroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: Style.ForegroundOf() is a new method that returns the actual 
  background color of a specific control.
* NEW: All state flag constants of the Draw class are now implemented in 
  the Style class.

[GB.WEB]
* NEW: Session.Exist() is a new method that returns if a specific key is 
  stored in the session.


git-svn-id: svn://localhost/gambas/trunk@6058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-05 00:08:06 +00:00
Benoît Minisini
28cdb922b6 [GB.GTK3]
* BUG: gb.gtk3 should finally compile with GTK+ 3.10. Maybe...


git-svn-id: svn://localhost/gambas/trunk@6057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 21:38:37 +00:00
Benoît Minisini
d3c4b1691c [GB.QT4]
* NEW: Remove source files of the old ProgressBar control.

[GB.GTK]
* NEW: Remove source files of the old ProgressBar control.

[GB.GTK3]
* NEW: Remove source files of the old ProgressBar control.


git-svn-id: svn://localhost/gambas/trunk@6051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 10:03:27 +00:00
Benoît Minisini
24a62cff83 [INTERPRETER]
* NEW: When a void string is sent to an extern function argument expecting 
  a string, it is converted to a zero-length string instead of a null 
  pointer.

[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.

[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.


git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-02 09:31:32 +00:00
Benoît Minisini
19bc16f26b [GB.GTK]
* NEW: GTK+3 support continues...


git-svn-id: svn://localhost/gambas/trunk@6048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 22:11:51 +00:00
Benoît Minisini
492e4ea979 [GB.GTK]
* BUG: Correctly update background and foreground of multi-container 
  controls.


git-svn-id: svn://localhost/gambas/trunk@6047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 22:11:02 +00:00
Benoît Minisini
41d97ec87e [GB.GTK]
* NEW: Support for GTK+3 continues.


git-svn-id: svn://localhost/gambas/trunk@6046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-01 16:37:50 +00:00
Benoît Minisini
0f21a59469 [GB.GTK3]
* BUG: Make gb.gtk3 compile with GTK+ 3.10.


git-svn-id: svn://localhost/gambas/trunk@6045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 23:33:21 +00:00
Benoît Minisini
3c8bb8a719 [GB.GTK]
* NEW: GTK+3 support continues...


git-svn-id: svn://localhost/gambas/trunk@6040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-31 12:43:34 +00:00
Benoît Minisini
8e7d6473d4 [GB.GTK3]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-30 20:03:56 +00:00
Benoît Minisini
184b1a2898 [GB.GTK3]
* BUG: Fix GTK+3 compilation.


git-svn-id: svn://localhost/gambas/trunk@6038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-30 11:46:01 +00:00
Benoît Minisini
1d6a0f896d [GB.GTK]
* BUG: Patch the GtkSpinButton class so that it is drawn correctly when 
  not having a normal height.


git-svn-id: svn://localhost/gambas/trunk@6033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 22:37:06 +00:00
Benoît Minisini
fe8c10daad [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-29 15:07:17 +00:00
Benoît Minisini
6191b3d0a4 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-28 23:43:01 +00:00
Benoît Minisini
b9f6fa6362 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-28 15:08:40 +00:00
Benoît Minisini
b27a5e570e [GB.GTK]
* BUG: The Window.Picture property now should work correctly.


git-svn-id: svn://localhost/gambas/trunk@6023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 02:01:32 +00:00
Benoît Minisini
ef80ebed7a [GB.GTK]
* BUG: Imbrication of popup menu click events works correctly now and does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 01:08:02 +00:00
Benoît Minisini
0246008554 [GB.GTK]
* NEW: GTK+3 support continues.


git-svn-id: svn://localhost/gambas/trunk@6021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-27 01:07:28 +00:00
Benoît Minisini
0665ac21d8 [GB.GTK]
* NEW: GTK3+ support continues.


git-svn-id: svn://localhost/gambas/trunk@6017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-24 00:14:11 +00:00
Benoît Minisini
c0dd9ba625 [GB.GTK]
* NEW: Start GTK+3 support.
* BUG: Embedder.Embed() does not take two arguments.


git-svn-id: svn://localhost/gambas/trunk@6014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-23 00:39:39 +00:00
Benoît Minisini
9832639d3b [GB.GTK]
* BUG: Correctly implement the Mouse.Translate() method.


git-svn-id: svn://localhost/gambas/trunk@5994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:59:09 +00:00
Benoît Minisini
8e23a347ea [CONFIGURATION]
* NEW: Chinese translations updated everywhere.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project 
  properties dialog.

[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.

[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its 
  size.

[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
  left written.

[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.
* BUG: The rtl layout is correctly initialized at startup.

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their 
  layout if the current language is right-to-left written.

[GB.NET.POP3]
* BUG: Error messages must not be translatable.

[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the 
  current mouse event.


git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-09 19:42:30 +00:00
Benoît Minisini
6bcbeb9406 [DEVELOPMENT ENVIRONMENT]
* NEW: '&' shortcuts are automatically removed from the translatable 
  captions of the following controls: Menu, Button, CheckBox, RadioButton, 
  ToolButton, ToggleButton, DataCheckBox. The leading "..." are removed
  too. Now, for example, "&About..." and "About" lead to the same 
  translated string. Consequently the number of translatable strings of the
  IDE project is 7% lower.
* NEW: All translations were updated according to the previous change. 
* NEW: Gambas fonts have been updated.
* BUG: The property help WebView now uses the same default font size (80%) 
  than the help window.
* NEW: A menu entry in the "Tools" menu allows to update all forms, so that
  the previous features can be tested easily. Save your projects before!
* NEW: Translation imports now automatically extracts translations from 
  strings having "&" shortcuts inside and leading dots ("...").

[WIKI CGI SCRIPT]
* BUG: Handle the new "XML" component requirement.

[GB.FORM]
* NEW: TabPanel[] got a new RichText property, that allows to define the 
  title of a tab as rich text.

[GB.FORM.MDI]
* NEW: If a window embedded in a Workspace has a public RichText property, 
  it will be used instead of the normal Text property as window title. This
  is some sort of dirty hack, so don't use it at the moment.

[GB.GTK]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!

[GB.GUI.AREA]
* NEW: The Shortcut class is a new class that allows to remove '&' 
  shortcuts from the translatable caption of the following controls: Menu, 
  Button, CheckBox, RadioButton, ToolButton, ToggleButton, DataCheckBox.

[GB.QT4]
* NEW: When a popup menu is shown, underscore shortcuts are automatically 
  assigned. This feature is a based on a new hidden property of the Menu 
  class named "_Text". So don't use this new property for your own needs!


git-svn-id: svn://localhost/gambas/trunk@5964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-18 00:10:40 +00:00
Benoît Minisini
d59f485f7c [GB.GTK]
* BUG: Non-resizable modal forms are really not resizable now.


git-svn-id: svn://localhost/gambas/trunk@5911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-20 18:58:30 +00:00
Benoît Minisini
8a9f89366e [GB.GTK]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@5908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 18:29:13 +00:00
Benoît Minisini
0368d40cfc [GB.GTK]
* BUG: Fix popup menu management for imbricated popups.


git-svn-id: svn://localhost/gambas/trunk@5907 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-19 14:52:51 +00:00
Benoît Minisini
3503f80e66 [GB.GTK]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.

[GB.QT4]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as 
  the gb.form.dialog component.


git-svn-id: svn://localhost/gambas/trunk@5893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 18:51:58 +00:00
Benoît Minisini
b8f97a8df4 [GB.GTK]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.

[GB.QT4]
* NEW: Printer.Default is a new property that returns the name of the 
  default printer.
* NEW: Printer.List is a new property that returns the list of the names of 
  all available printers.


git-svn-id: svn://localhost/gambas/trunk@5874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-12 12:45:15 +00:00
Benoît Minisini
eb825be426 [GB.GTK]
* BUG: Fix Enabled property behaviour by just renaming a method. There is 
  something weird I didn't understood. :-/


git-svn-id: svn://localhost/gambas/trunk@5847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-20 23:58:47 +00:00
Benoît Minisini
c4e73d4b8a [GB.GTK]
* BUG: Calling TrayIcon.Delete now correctly updates the internal number of 
  visible tray icons.


git-svn-id: svn://localhost/gambas/trunk@5840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-12 14:12:34 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
6d8ce6ac9b [GB.FORM]
* NEW: FileChooser: Add a tool button for displaying file properties.

[GB.GTK]
* BUG: Fix broken popup and modal dialog management.
* BUG: Patch Style properties and methods for 'oxygen-gtk' widget theme.



git-svn-id: svn://localhost/gambas/trunk@5809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-19 01:03:56 +00:00
Benoît Minisini
ddcf6a2cb0 [GB.GUI]
* NEW: Utility method that defines shortcuts for a popup menu.

[GB.GTK]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.

[GB.QT4]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.


git-svn-id: svn://localhost/gambas/trunk@5808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-18 21:27:56 +00:00
Benoît Minisini
f2f2b99cc4 [GB.GTK]
* BUG: Remove some remaining GDK_KEY_* constant so that it compiles on old 
  GTK+ libraries.


git-svn-id: svn://localhost/gambas/trunk@5796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-14 16:59:04 +00:00
Benoît Minisini
3d1ae540ae [GB.GTK]
* BUG: Use the deprecated GDK key constants, otherwise the component does 
  not compile with old GTK+ libraries.


git-svn-id: svn://localhost/gambas/trunk@5783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-11 00:36:47 +00:00
Benoît Minisini
56c65ddcb4 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Tons of bug fixes. The current selection and the 
  current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.

[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used 
  without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
  and returns the result.

[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a 
  bookmark.

[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.

[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.

[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.


git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 20:42:38 +00:00
Benoît Minisini
4cc551c120 [GB.GTK]
* BUG: Fix the name of new modifier key constants.


git-svn-id: svn://localhost/gambas/trunk@5774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-06 15:23:11 +00:00
Benoît Minisini
723a203185 [DEVELOPMENT ENVIRONMENT]
* NEW: New image editor, not yet finished. Use with care!

[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner 
  ScrollArea.
* NEW: ImageView has now two new methods to convert between image 
  coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be 
  visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the 
  image by using the mouse inside the view is possible.

[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.

[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.


git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-05 22:18:36 +00:00