Commit graph

3509 commits

Author SHA1 Message Date
Bruce Steers
2b72588ae1 Merge branch 'master' of https://gitlab.com/gambas/gambas into desktop-runasroot-pkexec 2021-08-31 00:47:36 +01:00
Bruce Steers
891c1b2ee6 Desktop.RunAsRoot(), Add pkexec to list of gui sudoers
[GB.DESKTOP]
* NEW: add pkexec as primary gui sudoer to RunAsRoot
* NEW: RunAsRoot has "Wait" argument (default is False)
* NEW: RunAsRoot has Username argument (default is root)
* OPT: Split Command if pkexec is used
2021-08-31 00:28:26 +01:00
gambas
0e207fbf57 WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
[GB.WEB.GUI]
* NEW: WebTable: ShowRowNumber is a new property that displays the row number in the first column of each row.
2021-08-30 19:30:43 +02:00
gambas
c919632832 Support for absolute URLs in WebImage and WebAudio. Add WebAudio.Loop property.
[GB.WEB.GUI]
* NEW: WebImage: The Image property can be an absolute URL now.
* NEW: WebAudio: The Audio property can be an absolute URL now.
* NEW: WebAudio: Add a Loop property to make the sound automatically loop.
2021-08-30 17:48:52 +02:00
gambas
00a58515b0 SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
[GB.FORM]
* BUG: SliderBox: Always set both the SpinBox and the Slider, so that they keep being synchronized when the SliderBox has been locked.
2021-08-30 02:09:30 +02:00
gambas
7d9c268505 DirBox: Correctly raise the Change event each time the contents actually changes.
[GB.FORM]
* BUG: DirBox: Correctly raise the Change event each time the contents actually changes.
2021-08-30 00:57:10 +02:00
Bruce Steers
01e086778d gb.desktop Final edit, remove unneeded variable declaration
[GB.DESKTOP]
* OPT: remove no longer needed variable declaration
2021-08-29 17:43:25 +01:00
Bruce Steers
db19b20fef Update Desktop.class, fix typo
[GB.DESKTOP]
* BUG: fix typo
2021-08-29 16:40:44 +00:00
Bruce Steers
e2e40c69e2 Update Desktop.class, fix pkexec not working on some programs
[GB.DESKTOP]
* BUG: Using Exec With [envs] was not working, used pkexec env method to pass DISPLAY and XAUTHORITY envs instead as it works.
* OPT: Also Split "Command" string for Exec or it fails if command has more than one arg.

Notes.
I found the prior method worked on pluma but not on any gambas applications. (they all reported unable to open display)
Using this "pkexec env"  method fixes that and makes it work on gambas applications and supports multiple arguments.
2021-08-29 16:38:06 +00:00
Bruce Steers
37d0c12352 Update Desktop.RunAsRoot()
[GB.DESKTOP]
* OPT: move test for pkexec to outside of kde/gnome check as it is independant so will be checked regardless if no other graphical sudo is found.
2021-08-29 04:25:47 +01:00
Bruce Steers
bc12c70673 Update Desktop.class, add pkexec as gksu no longer exists
[GB.DESKTOP]
* NEW: add pkexec to Desktop.RunAsRoot() command as gksu and gksudo no longer exist
2021-08-29 03:16:18 +00:00
gambas
469c04769f Desktop.Passwords: Fix KDE support. Use the 'Desktop.Type' property.
[GB.DESKTOP]
* BUG: Desktop.Passwords: Fix KDE support.
* NEW: Use the 'Desktop.Type' property.
2021-08-29 00:12:28 +02:00
gambas
dc0d0ccbe2 Fix desktop detection. The GridView 'Change' event now can be stopped to cancel a cursor move.
[GB.GUI.BASE]
* BUG: Fix KDE desktop detection, and do not crash if no desktop is detected.
* NEW: GridView: The 'Change' event now can be stopped to cancel a cursor move.
2021-08-29 00:11:09 +02:00
gambas
eb5b601622 WebControl: Rename the 'RenderToString' method as 'ToHTML'.
[GB.WEB.GUI]
* NEW: WebControl: Rename the 'RenderToString' method as 'ToHTML'.
2021-08-27 16:08:36 +02:00
gambas
f72649186b WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
[GB.WEB.GUI]
* NEW: WebControl: RenderToString() is a new method that return the generated HTML associated with the control as a string.
2021-08-27 16:07:49 +02:00
gambas
239acafdf5 WebTable: If the Display property is negative, then the full contents is displayed in one shot.
[GB.WEB.GUI]
* NEW: WebTable: If the Display property is negative, then the full contents is displayed in one shot.
2021-08-27 13:30:36 +02:00
gambas
96ebc59161 Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
[GB.ARGS]
* NEW: Args.Abort is a new property that tells if the program aborts or raises an error when an Args method fails. The property is TRUE by default.
2021-08-27 13:07:41 +02:00
gambas
04d6ec0532 WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
[GB.WEB.GUI]
* BUG: Keyboard events work again.
* NEW: WebForm.Shortcuts is a new property that allows to declare a list of shortcuts the browser won't see.
2021-08-26 04:14:41 +02:00
gambas
a981bb3792 Menu shortcuts do not propagate to the browser.
[GB.WEB.GUI]
* NEW: Menu shortcuts do not propagate to the browser.
2021-08-26 02:09:43 +02:00
gambas
5b8ef31f96 Finish implementing keyboard event and menu shortcuts management.
[GB.WEB.GUI]
* NEW: Key.Code returns the name of the pressed key, while Key.Text now returns the text associated with the key if there is.
* NEW: Key.Shortcut returns the shortcut string associated with a keyboard event.
* BUG: Fix Key.Control property.
* NEW: Handle WebMenu.Shortcut property.
* BUG: Use 'keydown' DOM event instead of 'keypress', as 'keypress' is deprecated.
* NEW: Setting WebTextArea.Text now automatically moves the cursor and the scrollbar to the end of the text.
2021-08-25 02:50:26 +02:00
gambas
333985260e 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented in 'gb.gui.base'.
[GB.GUI.BASE]
* NEW: 'Desktop.Type', 'Desktop.Types', and 'Desktop.Is()' are now implemented here.
2021-08-18 21:49:58 +02:00
gambas
835884698e Message: Correctly define the message title for standard message box style.
[GB.GUI.BASE]
* BUG: Message: Correctly define the message title for standard message box style.
2021-08-18 12:11:42 +02:00
gambas
a0579cb76e Splitter: Fix how the panels follow the mouse on resize.
[GB.GUI.BASE]
* BUG: Splitter: Fix how the panels follow the mouse on resize.
2021-08-11 05:52:47 +02:00
gambas
ef6bda2873 Update 'xdg-utils' scripts to version 1.1.3+.
[GB.DESKTOP]
* NEW: Update 'xdg-utils' scripts to version 1.1.3+.
2021-08-08 17:20:02 +02:00
gambas
b2d0a542f9 MaskBox: Fix cursor move when inserting a character in a filled mask pattern.
[GB.FORM]
* NEW: ButtonBox: Raise the Validate event.
* BUG: MaskBox: Fix cursor move when inserting a character in a filled mask pattern.

* BUG: MaskBox: Handle space separators correctly when setting the Text property.
2021-08-02 23:11:16 +02:00
gambas
caac660a58 Workspace: Activating an unknown window is nw silently ignored.
[GB.FORM.MDI]
* BUG: Workspace: The Add() method now can safely move a window from a workspace to another workspace.
* BUG: Workspace: Activating an unknown window is nw silently ignored.
2021-08-02 22:22:42 +02:00
gambas
d0b66b1ca5 Résolution du conflit. 2021-07-31 01:05:12 +02:00
gambas
f06903c160 Fix 'javacript' and 'CSS' highlighting.
[GB.EVAL.HIGHLIGHT]
* BUG: Add 'set' keyword to javascript highlighting.
* NEW: Add some CSS keywords to CSS highlighting.
2021-07-31 01:04:23 +02:00
gambas
eea30eafca Start implementing keyboard event and menu shortcuts management.
[GB.WEB.GUI]
* NEW: Start implementing keyboard event and menu shortcuts management.
* OPT: WebSpinBox: Do not force a refresh when the value has been changed by the browser.
2021-07-31 00:59:37 +02:00
Benoît Minisini
db4b9ee512 Merge branch 'AddConsoleHighlighting' into 'master'
[Texthighlighter] - Add ANSI console highlight support

See merge request gambas/gambas!236
2021-07-30 00:11:15 +00:00
gambas
fbf3479c32 MaskBox: Handle space separators correctly when setting the Text property.
[GB.FORM]
* BUG: MaskBox: Handle space separators correctly when setting the Text property.
2021-07-24 21:38:41 +02:00
gambas
a5032e801f Fix desktop standard paths computation when there is no explicit configuration file.
[GB.DESKTOP]
* BUG: Fix desktop standard paths computation when there is no explicit configuration file.
2021-07-24 19:15:44 +02:00
gambas
09e22e254f TrayIcon: Change the icon name each time the Picture property changes, to force the system tray to reload it.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Change the icon name each time the Picture property changes, to force the system tray to reload it.
2021-07-24 18:32:49 +02:00
gambas
61f79d6e3b Don't crash when hitting Backspace at the beginning of the editable text.
[GB.FORM]
* BUG: MaskBox: Don't crash when hitting Backspace at the beginning of the editable text.
2021-07-23 00:24:27 +02:00
gambas
53e39e8b87 MaskBox: Make cursor moves more clever.
[GB.FORM]
* NEW: MaskBox: Make cursor moves more clever.
2021-07-22 04:09:34 +02:00
gambas
a56d819286 Add Request.Scheme property. Take HTTP headers into account to detect 'https'.
[GB.WEB]
* NEW: Request.Scheme is a new property that replaces Application.Protocol.
* NEW: Request.Scheme now returns '"https"' according to the contents of the 'REQUEST_SCHEME' or 'X_FORWARDED_PROTO' headers passed to the CGI script.
2021-07-15 14:29:12 +02:00
Brian G
10431e6b80 Change ToConsole to ToANSI to more correctlty reflect fuctionality
[gb.eval.Highlight]
* NEW: Rename ToConsole to ToANSI to more correctly reflect functionality
* NEW: Update Unit text to reflect new name
2021-07-14 09:36:28 -07:00
gambas
46cbe053e2 ButtonBox: Remove workaround for TAB key.
[GB.FORM]
* BUG: ButtonBox: Remove workaround for TAB key.
2021-07-14 04:39:48 +02:00
gambas
b6d39c70a9 Fix MaskBox.
[GB.FORM]
* BUG: MaskBox: Text that do not have the same size as the mask are not valid anymore.
* BUG: MaskBox: The Text property now must match the mask when set. If the set text is smaller than the mask, it is completed with the default characters.
* BUG: MaskBox: Characters moves should be handled better now.
2021-07-10 04:39:21 +02:00
gambas
42005272a9 ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
[GB.FORM]
* BUG: ListEditor: Fix crash when checking for duplicates if the Unique property is TRUE.
2021-07-08 23:12:39 +02:00
gambas
4cd5ac969e WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
[GB.WEB.GUI]
* BUG: WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
2021-07-05 21:50:11 +02:00
gambas
67e13ac22e TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
[GB.FORM.EDITOR]
* BUG: TextEditor: Highlighted text drawing routine should not enter an infinite loop anymore when the highlighted color information is incoherent.
2021-07-04 17:48:02 +02:00
gambas
a4f96ba0a1 MaskBox should work correctly again.
[GB.FORM]
* BUG: MaskBox: It should work correctly again.
* NEW: MaskBox: Prompt is a new property that allows to define the character displayed for void entries among a few choices.
2021-07-03 08:34:28 +02:00
gambas
650dd0a018 MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
[GB.FORM]
* BUG: MenuButton: Fix GTK+3 warnings on hidden shortcut buttons.
* NEW: DirChooser & FileChooser: Do not use a Watcher to initialize the popup menu.
2021-06-28 19:32:26 +02:00
gambas
a079acdbd4 TableView: Fix editing control position and size.
[GB.FORM]
* BUG: TableView: Fix editing control position and size.
2021-06-25 19:00:02 +02:00
gambas
5b648e3191 GridView: Fix current cell cursor size and width.
[GB.GUI.BASE]
* BUG: GridView: Fix current cell cursor size and width.
2021-06-25 18:59:30 +02:00
gambas
dabdbdd238 Fix background of disabled ButtonBox. Fix behaviour of MaskBox copy & paste. Add Validate event to MaskBox.
[GB.FORM]
* BUG: ButtonBox: Disabled background is now drawn correctly.
* BUG: MaskBox: Fix behaviour with copy & paste.
* NEW: MaskBox: Allow default popup menu.
* NEW: MaskBox: Validate is a new event that allows to validate any change in control text and eventually cancel the change.
2021-06-25 12:25:31 +02:00
Brian G
e4ee382336 Add ANSI Terminal support to highligh functions
[GB.EVAL.HIGHLIGHT]
* NEW: Add ToConsole which generates ansii color text which can be printed to most consoles
* NEW: Unit test for Ansi color Console text
* NEW: Unit text for HTML color page
* NEW: Unit text for RTF Color text
2021-06-24 19:08:31 -07:00
Brian G
16dd6690ce Sync the project files before change
[GB.EVAL.HIGHLIGHT]
* OPT: sync project changes
2021-06-24 19:07:59 -07:00
gambas
81cc2c8ca9 MaskBox: Modifier keys do not hide selection anymore.
[GB.FORM]
* BUG: MaskBox: Modifier keys do not hide selection anymore.
2021-06-22 19:42:36 +02:00
gambas
e3ee5a4139 FileView: Selection property now does return file names without any rich text formatting.
[GB.FORM]
* BUG: FileView: Selection property now does return file names without any rich text formatting.
2021-06-21 19:16:02 +02:00
gambas
000a5d29b7 WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'input' event instead of the 'change' event to implement the Click Gambas event.
2021-06-21 13:35:10 +02:00
gambas
1cc95c2353 TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
[GB.FORM]
* NEW: TabPanel: ShowTabBar is a new property that toggles the tab bar visibility.
2021-06-19 02:21:05 +02:00
gambas
3b906ba10a MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
[GB.FORM]
* NEW: MenuButton: Disable the hidden shortcut button when the control has the focus, so that TAB focus navigation works.
* NEW: MenuButton: Draw the control with both 'Hovered' and 'Focus' style flag when the control has the focus.
2021-06-18 14:34:25 +02:00
gambas
78b6bfbf92 Update 'start' and 'end' icons.
[GB.FORM.STOCK]
* NEW: Update 'start' and 'end' icons.
2021-06-16 03:28:21 +02:00
gambas
f9a51f632a Add 'inheritance' stock icon.
[GB.FORM.STOCK]
* NEW: Add 'inheritance' stock icon.
2021-06-16 01:52:33 +02:00
gambas
09dd6a7009 MenuButton: The background color is now used for coloring the button background.
[GB.FORM]
* NEW: MenuButton: The background color is now used for coloring the button background.
* BUG: MenuButton: Fix how style flags are used for drawing the control.
2021-06-16 01:51:54 +02:00
gambas
6e69b9c00a Do not allow window titlebar to be moved outside of the visible area.
[GB.WEB.GUI]
* BUG: Fix combo-box layout.
* BUG: Do not allow window titlebar to be moved outside of the visible area.
2021-06-15 17:00:37 +02:00
gambas
2613dfab3a TerminalView: Ignore errors if resizing the running process virtual terminal fails.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Ignore errors if resizing the running process virtual terminal fails.
2021-06-14 00:18:02 +02:00
Benoît Minisini
03210a1dde Merge branch 'MediaViewFix' into 'master'
MediaView, also hide spacer panel when hiding controls

See merge request gambas/gambas!230
2021-06-13 20:31:04 +00:00
gambas
c32df65c35 Some GTK+ fixes for SpinBox and ButtonBox when the font is small. Fix ButtonBox border drawing.
[GB.GUI.BASE]
* BUG: SpinBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.

[GB.FORM]
* BUG: ButtonBox: Clamp the vertical padding so that the inner textbox works on GTK+ with small fonts.
* BUG: ButtonBox: Fix border drawing according to the widget state (focus and hovering).
2021-06-10 03:23:47 +02:00
gambas
c2ee03d50b FileChooser: Correctly restore the ShowDetailed property from settings.
[GB.FORM]
* BUG: FileChooser: Correctly restore the ShowDetailed property from settings.
2021-06-04 23:34:30 +02:00
gambas
51a744b4ef File dialog geometry is now correctly saved when Dialog.Key is not set.
[GB.FORM.DIALOG]
* BUG: File dialog geometry is now correctly saved when Dialog.Key is not set.
2021-06-04 23:31:19 +02:00
gambas
fcff765e08 File dialog: Handle the case when AutoExt is TRUE and Filter is void.
[GB.FORM.DIALOG]
* BUG: File dialog: Handle the case when AutoExt is TRUE and Filter is void.
2021-06-04 20:25:15 +02:00
gambas
f5e0934089 ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
[GB.GUI.BASE]
* BUG: ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
2021-05-25 23:13:41 +02:00
Bruce Steers
d1892dd188 MediaView, also hide spacer panel when hiding controls
[GB.FORM.MEDIA]
* BUG: also hide spacer panel when hiding controls.

when hiding the controls the spacer stayed, leaving a bar on the bottom of the window, even in fullscreen.
This gives clean fullscreen
2021-05-25 10:45:24 +01:00
gambas
ee51a4a1cf Spinner: Make the "Circle" spinner less dark.
[GB.FORM]
* NEW: Spinner: Make the "Circle" spinner less dark.
2021-05-24 21:45:54 +02:00
gambas
c11b8d54e0 ListBox: Use a natural sort for sorting the ListBox contents.
[GB.GUI.BASE]
* BUG: ListBox: Use a natural sort for sorting the ListBox contents.
2021-05-24 19:48:19 +02:00
gambas
e1073f8b80 The 'language' stock icon is now orange.
[GB.FORM.STOCK]
* NEW: The 'language' stock icon is now orange.
2021-05-24 15:38:32 +02:00
gambas
74acc3d14e SpinBox: Update the current value before returning it with the Value or the Text property.
[GB.GUI.BASE]
* BUG: SpinBox: Update the current value before returning it with the Value or the Text property.
2021-05-22 18:48:04 +02:00
gambas
71f6e291b9 Remove useless 'gb.gsl' from project components.
[GB.FORM.DIALOG]
* BUG: Remove useless 'gb.gsl' from project components.
2021-05-13 22:06:58 +02:00
gambas
c5a0e318d7 SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
[GB.GUI.BASE]
* BUG: SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
2021-05-13 00:03:50 +02:00
gambas
49e35a9192 FileView: Fix automatic extension behaviour.
[GB.FORM]
* BUG: FileView: Fix automatic extension behaviour.
2021-05-12 21:54:36 +02:00
gambas
5216f8ee20 MenuButton: Custom drawing of shortcut underlines for GTK+.
[GB.FORM]
* BUG: MenuButton: Custom drawing of shortcut underlines for GTK+.
2021-05-11 03:46:22 +02:00
Benoît Minisini
92a156b405 Merge branch 'bsteers4-master-patch-22023' into 'master'
Update TextEditorMode_Sh.class: remove quotes from braces

See merge request gambas/gambas!222
2021-05-06 14:44:57 +00:00
gambas
ae3ff60eef Fix compilation on BSD.
[INTERPRETER]
* BUG: Fix compilation on BSD systems.

[GB.FORM]
* NEW: Search for icon themes in '/usr/local' for BSD systems.
2021-05-01 00:28:19 +02:00
gambas
f66b426c46 TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
[GB.FORM.EDITOR]
* BUG: TextEditor: Remove 'tabledragger.js' test file because it is copyrighted.
2021-04-30 21:43:53 +02:00
gambas
10faf9da83 TerminalView: Reset() method does not fail anymore if the currently running process is dead.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method does not fail anymore if the currently running process is dead.
2021-04-30 20:39:12 +02:00
gambas
8427844d2d Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
[GB.WEB.GUI]
* BUG: Use SIGUSR1, now that SIGUSR2 is used by the Gambas debugger.
2021-04-30 04:21:24 +02:00
gambas
58666e3f28 * Project version updates. 2021-04-24 16:42:54 +02:00
gambas
88596f7d2c TrayIcon: Picture property has 'Picture:NoCache' type now.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Picture property has 'Picture:NoCache' type now.
2021-04-24 16:42:06 +02:00
gambas
1fc07f29c9 FileView: Add new default file type icons.
[GB.FORM]
* NEW: FileView: Add new default file type icons.
2021-04-24 16:40:56 +02:00
gambas
65afa7ba8c WebAudio: It works now.
[GB.WEB.GUI]
* BUG: WebAudio: It works now.
2021-04-24 16:39:23 +02:00
gambas
5c7e4cd2c8 WebAudio: A new virtual control for playing audio files.
[GB.WEB.GUI]
* NEW: WebAudio: A new virtual control for playing audio files.
2021-04-24 15:07:23 +02:00
gambas
7aead9e314 PictureBox: The Picture property does not use the cache anymore, and so does not adapt to dark theme anymore too.
[GB.GUI.BASE]
* BUG: PictureBox: The Picture property does not use the cache anymore, and so does not adapt to dark theme anymore too.
2021-04-20 15:00:14 +02:00
gambas
1a27f285ca SidePanel: Hidden side panels have now a one pixel size.
[GB.FORM]
* BUG: SidePanel: Hidden side panels have now a one pixel size. Because GTK+ components cannot handle zero-size controls at the moment.
2021-04-19 14:03:19 +02:00
gambas
81ce4a63b2 Frame: Make frame contents cover the entire control area when there is no arrangement, for backward-compatibility.
[GB.GUI.BASE]
* BUG: Frame: Make frame contents cover the entire control area when there is no arrangement, for backward-compatibility.
2021-04-16 12:59:18 +02:00
gambas
3940a46c06 FileChooser: Fix file uncompress that was done twice.
[GB.FORM]
* BUG: FileChooser: Fix file uncompress that was done twice.
2021-04-16 12:15:45 +02:00
Bruce Steers
54b4df462b Update TextEditorMode_Sh.class: remove quotes from braces
[GB.FORM.EDITOR]
* BUG: remove quotes from braces lists
2021-04-15 22:33:25 +00:00
gambas
9863285285 DocumentView: Reintroduce the old properties renamed in 3.16.0 for backward-compatibility.
[GB.FORM]
* BUG: DocumentView: Reintroduce the old properties renamed in 3.16.0 for backward-compatibility.
2021-04-15 22:05:04 +02:00
gambas
e90c0c07e3 Update color constants.
[GB.WEB.GUI]
* NEW: Update color constants.
2021-04-13 17:22:45 +02:00
gambas
2497f5386c Add documentation. Hide an apparently unused public function.
[GB.GUI.BASE]
* NEW: Add documentation.
* BUG: Hide an apparently unused public function.
2021-04-13 17:22:14 +02:00
gambas
c04f632d33 Disable paste and clear menu entry on read-only terminals.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Disable paste and clear menu entry on read-only terminals.
2021-04-13 17:21:18 +02:00
gambas
f2bb2b41cf Add documentation.
[GB.SETTINGS]
* NEW: Add documentation.
2021-04-13 17:20:32 +02:00
gambas
275a42323f Add new marker stock icons.
[GB.FORM]
* NEW: Add new marker stock icons.
2021-04-13 17:20:04 +02:00
gambas
960ae85408 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2021-04-13 17:19:45 +02:00
gambas
0c84734583 Add 'walk' and 'bicycle' stock icons.
[GB.FORM.STOCK]
* NEW: Add 'walk' and 'bicycle' stock icons.
2021-04-13 03:40:45 +02:00
gambas
2cdde247a5 Add new marker stock icons.
[GB.FORM]
* NEW: Add new marker stock icons.
2021-04-12 22:10:11 +02:00
gambas
d9b36b28ea Add new marker stock icons. Make them all black.
[GB.FORM.STOCK]
* NEW: Add new marker stock icons. Make them all black.
2021-04-12 22:09:26 +02:00
gambas
1e7be199ed Fix a possible crash in 'Session.Abandon' when using sqlite sessions again.
[GB.WEB]
* BUG: Fix a possible crash in 'Session.Abandon' when using sqlite sessions again.
2021-04-12 16:26:31 +02:00
gambas
fec9e2bdc9 Fix a possible crash in 'Session.Abandon' when using sqlite sessions.
[GB.WEB]
* BUG: Fix a possible crash in 'Session.Abandon' when using sqlite sessions.
2021-04-12 15:46:51 +02:00
gambas
2fd6717487 Forgot to add 'earth' stock icon.
[GB.FORM]
* NEW: Forgot to add 'earth' stock icon.
2021-04-11 20:46:49 +02:00
gambas
ffa36051f4 The component is now stable but not terminated.
[GB.WEB.GUI]
* NEW: The component is now stable but not terminated.
2021-04-11 20:45:53 +02:00
gambas
eca7730053 Update 'internet' icon.
[GB.FORM.STOCK]
* NEW: Update 'internet' icon.
2021-04-11 19:29:08 +02:00
gambas
3fc89441f2 Add a project icon.
[GB.DESKTOP]
* NEW: Add a project icon.

[GB.FORM.DIALOG]
* NEW: Add a project icon.
2021-04-10 23:06:04 +02:00
gambas
96f28fd0c2 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-10 00:21:40 +02:00
gambas
80978cb169 Picture.Stretch() is a new button that stretches a picture by internally converting it to an Image first.
[GB.GUI.BASE]
* NEW: Picture.Stretch() is a new button that stretches a picture by internally converting it to an Image first.
2021-04-09 23:46:14 +02:00
gambas
8fa4bba1e8 Decode '+' as spaces in the query part of URL submitted by forms.
[GB.WEB]
* BUG: Decode '+' as spaces in the query part of URL submitted by forms.
2021-04-09 04:09:22 +02:00
gambas
0ea374b842 URL: Rename 'IgnorePlus' argument of Decode() method into 'DoNotDecodePlus' for clarity.
[GB.UTIL.WEB]
* NEW: URL: Rename 'IgnorePlus' argument of Unquote() method into 'DoNotDecodePlus' for clarity.
2021-04-09 04:08:19 +02:00
gambas
0b4dc1a162 Update 'user', 'group' and 'identity' icons.
[GB.FORM.STOCK]
* NEW: Update 'user', 'group' and 'identity' icons.
2021-04-08 23:34:52 +02:00
gambas
32a9a6c9b8 Add new stock icons: 'car', 'factory', 'markup' and 'plane'.
[GB.FORM]
* NEW: Add new stock icons: 'car', 'factory', 'markup' and 'plane'.
2021-04-08 22:55:45 +02:00
gambas
70f1ea5f33 Add new icons and update others.
[GB.FORM.STOCK]
* NEW: Add new icons and update others.
2021-04-08 22:55:18 +02:00
gambas
0a9e0e6618 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-08 02:23:32 +02:00
gambas
385d862ce1 Update 'select-all' icon.
[GB.FORM.STOCK]
* NEW: Update 'select-all' icon.
2021-04-07 03:43:20 +02:00
gambas
c85f687717 ToolBar: Update the layout later on resize, to help GTK+ components.
[GB.FORM.MDI]
* BUG: ToolBar: Update the layout later on resize, to help GTK+ components.
2021-04-07 02:25:56 +02:00
gambas
fc98400459 Update icons.
[GB.FORM.STOCK]
* NEW: Update icons.
2021-04-06 01:20:03 +02:00
gambas
d51d8f2e0c TextEditor: Setting line flags does not reset the highlighting anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting line flags does not reset the highlighting anymore.
2021-04-05 19:44:41 +02:00
gambas
78c1053093 Fix control icons.
[GB.DB.FORM]
* NEW: Fix control icons.
2021-04-05 15:02:06 +02:00
gambas
72d4cfa560 Update project icon.
[GB.FORM]
* NEW: Update controls icon.
* NEW: Add new stock icons.
* NEW: MenuButton: Make the background transparent.
2021-04-05 15:01:44 +02:00
gambas
2cd57f634e Add new icons and update others.
[GB.FORM.STOCK]
* NEW: Add new icons and update others.
2021-04-05 15:00:38 +02:00
gambas
d387324bb6 ReportView: Use the new stock icons for page layout buttons.
[GB.REPORT2]
* NEW: ReportView: Use the new stock icons for page layout buttons.
2021-04-03 13:08:41 +02:00
gambas
399acfe05a Update project icon.
[GB.SCANNER]
* NEW: Update project icon.
2021-04-03 13:07:54 +02:00
gambas
2986bd7c8a Use new stock icons for preview page layout buttons.
[GB.FORM.PRINT]
* NEW: Use new stock icons for preview page layout buttons.
2021-04-03 13:02:34 +02:00
gambas
cf69556c5a Update project icon.
[GB.FORM]
* NEW: Update project icon.
2021-04-03 13:01:31 +02:00
gambas
0dfc11b346 Message.Warning() now uses an "OK" button by default.
[GB.GUI.BASE]
* NEW: Add a project icon.
* NEW: Message.Warning() now uses an "OK" button by default.
2021-04-03 12:58:51 +02:00
gambas
671a20406d Redraw control icons with a wider border.
[GB.FORM.MDI]
* NEW: Redraw control icons with a wider border.
2021-04-03 12:56:17 +02:00
gambas
2b237ea100 Redraw control icon with a wider border.
[GB.MAP]
* NEW: Redraw control icon with a wider border.
2021-04-03 12:55:33 +02:00
gambas
bb79217e15 Redraw control icon with a wider border.
[GB.MEDIA.FORM]
* NEW: Redraw control icon with a wider border.
2021-04-03 12:55:11 +02:00
gambas
2880f3aec5 Redraw control icon with a wider border.
[GB.FORM.TERMINAL]
* NEW: Redraw control icon with a wider border.
2021-04-03 12:54:49 +02:00
gambas
bc400b3a7d Put TextEditor control in the "View" group.
[GB.FORM.EDITOR]
* NEW: Put TextEditor control in the "View" group.
2021-04-03 12:54:11 +02:00
gambas
0e1a597577 Update project icon.
[GB.FORM.STOCK]
* NEW: Update project icon.
2021-04-03 12:53:40 +02:00
gambas
c9edfa01f9 Redraw some control icons with a wider border.
[GB.DB.FORM]
* NEW: Redraw some control icons with a wider border.
2021-04-03 12:53:13 +02:00
gambas
cd2cb34381 Redraw some control icons with a wider border.
[GB.FORM]
* NEW: Redraw some control icons with a wider border.
2021-04-03 12:51:03 +02:00
gambas
f8cd4784af Toggle menus are now correctly updated in the tray icon exported popup.
[GB.DBUS.TRAYICON]
* BUG: Toggle menus are now correctly updated in the tray icon exported popup (beware that no update works at the moment with Gnome / Ubuntu indicators).
2021-04-03 12:48:35 +02:00
gambas
381de6f976 Update some icons and add new ones.
[GB.FORM.STOCK]
* NEW: Add 'page', page-two' and 'zoom-width' icons.
* NEW: Update the 'new' and 'preview' icons.
2021-04-02 16:55:32 +02:00
gambas
fb352b759f DocumentView: Fix a possible infinite recursion in document layouting.
[GB.FORM]
* NEW: DocumentView: Fix a possible infinite recursion in document layouting.
* NEW: Add 'page', page-two' and 'zoom-width' stock icons.
2021-04-02 16:54:21 +02:00
gambas
f2054911ef TextEditor: Middle click paste is now ignored if the editor is read-only.
[GB.FORM.EDITOR]
* BUG: TextEditor: Middle click paste is now ignored if the editor is read-only.
2021-04-02 13:18:40 +02:00
gambas
29b7fd13ce ReportView: The DocumentView "FirstVisibleDocument" property has been renamed as "FirstVisiblePage".
[GB.REPORT2]
* BUG: ReportView: The DocumentView "FirstVisibleDocument" property has been renamed as "FirstVisiblePage".
2021-03-31 18:55:00 +02:00
gambas
eb0cb18b7d ReportView: The DocumentView "Column" property has been renamed as "Columns".
[GB.REPORT2]
* BUG: ReportView: The DocumentView "Column" property has been renamed as "Columns".
2021-03-31 17:03:49 +02:00
gambas
bd8427d09f ReportView: The DocumentView "AutoCenter" property has been renamed as "Center".
[GB.REPORT2]
* BUG: ReportView: The DocumentView "AutoCenter" property has been renamed as "Center".
2021-03-31 16:21:27 +02:00
gambas
2fba57f063 Menu: Use the busy sign when waiting for the Click event answer.
[GB.WEB.GUI]
* NEW: Menu: Use the busy sign when waiting for the Click event answer.
2021-03-31 13:26:24 +02:00
gambas
06e1bd1a34 Frame: Draw border differently to avoir differences in coordinates rounding between Qt and Cairo.
[GB.GUI.BASE]
* BUG: Frame: Draw border differently to avoir differences in coordinates rounding between Qt and Cairo.
2021-03-29 12:41:59 +02:00
gambas
898836967f Update 'preview' icon.
[GB.FORM.STOCK]
* NEW: Update 'preview' icon.
2021-03-28 00:34:39 +01:00
gambas
4eabb02255 FontChooser: Add a button to toggle the font preview in the font tree.
[GB.FORM]
* NEW: Update documentation.
* NEW: FontChooser: Add a button to toggle the font preview in the font tree.
2021-03-28 00:21:45 +01:00
gambas
bc0a5a63f4 Update documentation. Some DocumentView fixes again.
[GB.FORM]
* NEW: Update documentation.
* NEW: DocumentView: Remove useless methods MoveFirst(), MoveLast(), MoveTo().
* NEW: DocumentView: Rename FirstVisibleDocument and LastVisibleDocument as FirstVisiblePage and LastVisiblePage.
* BUG: DocumentView: Setting Center property now relayout the preview.
2021-03-24 23:25:02 +01:00
gambas
bbf2c0f6aa Update to the new DocumentView interface.
[GB.FORM.PRINT]
* NEW: Update to the new DocumentView interface.
* BUG: Clicking of the selected view mode button now does not unselect it anymore.
2021-03-24 22:35:42 +01:00
gambas
54512b6175 Update documentation, and fix the DocumentView class.
[GB.FORM]
* NEW: Update documentation.
* NEW: DocumentView: 'AutoCenter' has been renamed as 'Center', 'Column' is now 'Columns', 'Row' has been removed.
* NEW: DocumentView: The useless Layout.Orientation property has been removed.
* BUG: DocumentView: Some fixes in property validation.
2021-03-24 22:34:38 +01:00
gambas
4b89afbe9a HTML highlighting: Markups can now span on multiple lines.
[GB.EVAL.HIGHLIGHT]
* BUG: HTML highlighting: Markups can now span on multiple lines.
2021-03-23 05:35:08 +01:00
gambas
71464bc50b TextEditor: Alternate color is a bit less transparent.
[GB.FORM.EDITOR]
* NEW: TextEditor: Alternate color is a bit less transparent.
2021-03-23 05:34:15 +01:00
gambas
fdcab401a7 Toolbar: Don't use a specific dark theme background pattern for toolbars in configuration mode
[GB.FORM.MDI]
* NEW: Toolbar: Don't use a specific dark theme background pattern for toolbars in configuration mode
2021-03-22 23:07:03 +01:00
gambas
a7ac437296 Update 'font' icon.
[GB.FORM.STOCK]
* NEW: Update 'font' icon.
2021-03-22 23:01:02 +01:00
gambas
66d4ea1c89 FontChooser: Correctly handle focus when the layout changes.
[GB.FORM]
* NEW: Update control icons.
* BUG: FontChooser: Correctly handle focus when the layout changes.
2021-03-22 22:59:52 +01:00
gambas
c2650ef40b TextEditor: Scroll to the top left when reinitializing the view.
[GB.FORM.EDITOR]
* NEW: TextEditor: Scroll to the top left when reinitializing the view.
* NEW: TextEditor: Highlight current tabulation context with a thinner line using the margin limit color.
2021-03-22 22:59:18 +01:00
gambas
6e445e480c IconView: The renaming widget does not propagate the ESC key anymore.^
[GB.GUI.BASE]
* BUG: IconView: The renaming widget does not propagate the ESC key anymore.
2021-03-22 02:20:03 +01:00
gambas
d980c99f17 Update emote icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels version of emote icons.
* NEW: Make emote icons "more yellow".
2021-03-21 21:54:17 +01:00
gambas
d3b77b1325 Update ImageView control icon.
[GB.FORM]
* NEW: Update ImageView control icon.
2021-03-21 21:53:08 +01:00
gambas
a879b7313c Splitter: Correctly update the mouse cursor when the arrangement changes.
[GB.GUI.BASE]
* BUG: Splitter: Correctly update the mouse cursor when the arrangement changes.
2021-03-20 14:56:07 +01:00
gambas
a567fadda1 Frame: The container contents width is now equal to the frame width, and the contents height is now equal to the frame height when there is no title.
[GB.GUI.BASE]
* NEW: Frame: The container contents width is now equal to the frame width, and the contents height is now equal to the frame height when there is no title.
2021-03-19 19:16:12 +01:00
gambas
346c72fc5f Add 'math' and 'statistics' icons. Change some icons.
[GB.FORM.STOCK]
* NEW: Add 'math' and 'statistics' icons.
* NEW: Change some icons.
2021-03-19 06:53:12 +01:00
gambas
65a3ec8dbd Add 'math' and 'statistics' icons. Fix some icons in the stock icons map file.
[GB.FORM]
* NEW: Add 'math' and 'statistics' icons.
* BUG: Fix some icons in the stock icons map file.
2021-03-19 06:52:32 +01:00
gambas
6015c70aea TextEditor: Fix TextEditor[].Paint() method.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix multi-line marker painting.
* BUG: TextEditor: Fix TextEditor[].Paint() method.
2021-03-19 01:23:16 +01:00
gambas
0487b2ecb3 Store the cookie path inside the session, and use it when removing the cookie.
[GB.WEB]
* NEW: Add "SameSite=Lax" when removing the cookie.
* BUG: Store the cookie path inside the session, and use it when removing the cookie.
2021-03-18 17:25:16 +01:00
gambas
ccd3922794 The default tray icon ignores dark theme now.
[GB.DBUS.TRAYICON]
* NEW: The default tray icon ignores dark theme now.
2021-03-18 17:23:45 +01:00
gambas
ab99669d6b TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 17:22:59 +01:00
gambas
bf7c562d35 Add documentation.
[GB.UTIL]
* NEW: Add documentation.
2021-03-18 17:22:31 +01:00
gambas
1d1b4fd4ea Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons. Update other 'text-*' icons.
[GB.FORM.STOCK]
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons.
* NEW: Update other 'text-*' icons.
2021-03-18 17:18:43 +01:00
gambas
e58e3a6ece Fixes in FileView and FontChooser.
[GB.FORM]
* NEW: FileView: Ignore newlines when displaying the name of a file.
* BUG: FontChooser: Do not show plus sign when the font size is absolute.
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' stock icons.
* NEW: Update deprecated controls icons.
2021-03-18 17:16:23 +01:00
gambas
d189731f52 Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
[GB.GUI.BASE]
* NEW: Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
2021-03-18 17:14:15 +01:00
gambas
c62134897e TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 01:47:41 +01:00
gambas
874f7ac9b0 TextEditor: Fixes and documentation.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix GetIndent() method.
* NEW: TextEditor: Add documentation.
* BUG: TextEditor: Fix TextEditor.Styles interface.
* BUG: TextEditor: Line number color is now correct when LineOffset property is used.
* OPT: TextEditor: SaveCursor() now disables indent check and matching braces check until RestoreCursor() is called.
* NEW: TextEditor: GetSelectedLines() is a new method that return an array of the selected lines.
2021-03-18 01:27:24 +01:00
gambas
9ce110bc06 TextEditor: Preview folding synchronization is now instantaneous.
[GB.FORM.EDITOR]
* OPT: TextEditor: Preview folding synchronization is now instantaneous.
2021-03-17 02:00:33 +01:00
gambas
9842a84095 Compress and update some icons.
[GB.FORM.STOCK]
* NEW: Compress and update some icons.
2021-03-17 01:26:36 +01:00
gambas
85b348ac55 Add some documentation.
[GB.GUI.BASE]
* NEW: Add some documentation.
2021-03-17 01:26:01 +01:00
gambas
dca32b5e62 ListView: The left part of the items is now clickable as expected.
[GB.GUI.BASE]
* BUG: ListView: The left part of the items is now clickable as expected.
2021-03-16 17:52:34 +01:00
gambas
698041a187 Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths.
[GB.GUI.BASE]
* NEW: Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths, but without cache, dark theme or right-to-left support like Picture[].
2021-03-16 13:35:46 +01:00
gambas
11aa4592c5 FontChooser: Use a disabled SpinBox for font size now.
[GB.FORM]
* NEW: FontChooser: Use a disabled SpinBox for font size now.
2021-03-15 21:01:23 +01:00
gambas
231e77d9f6 TreeView: Removing an item or clearing the view now correctly update the list of selected items.
[GB.GUI.BASE]
* NEW: SpinBox: ShowSign is a new property that adds the "+" character to the positive numbers.
* NEW: SpinBox: If ReadOnly is set, the SpinBox is grayed out, and the arrows are hidden.
* BUG: TreeView: Removing an item or clearing the view now correctly update the list of selected items.
2021-03-15 19:31:59 +01:00
gambas
daaec0f257 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2021-03-15 01:00:00 +01:00
gambas
55f0593673 SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
[GB.GUI.BASE]
* NEW: SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
2021-03-14 23:14:23 +01:00
gambas
f855c6b9cf SpinBox: Start the auto-repeat timer before raising the Change event.
[GB.GUI.BASE]
* NEW: Write some documentation.
* BUG: SpinBox: Start the auto-repeat timer before raising the Change event.
2021-03-14 22:32:13 +01:00
gambas
1319ed9f0e New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-14 01:24:30 +01:00
gambas
7487ea252c New 'firewall' and 'agenda' stock icons.
[GB.FORM]
* NEW: New 'firewall' and 'agenda' stock icons.
2021-03-14 01:24:13 +01:00
gambas
42da251093 DataSource: FindNext() now takes the search start index in argument.
[GB.DB.FORM]
* NEW: DataSource: FindNext() now takes the search start index in argument.
* NEW: DataView: Fix Find() method signature.
2021-03-13 08:51:09 +01:00
gambas
9bcb9d95f1 Some Fontchooser fixes.
[GB.FORM]
* NEW: FontChooser: Use a tool button to display font size. Clicking on the button shows the spinbox.
* BUG: FontChooser: Do not run the thumbnail cache in design mode.
2021-03-13 01:09:43 +01:00
gambas
81ff435f35 Fix Paint.TrimText() again. Fix Frame border drawing in vertical centered alignment.
[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() again.
* BUG: Frame: Fix border drawing in vertical centered alignment.
2021-03-13 00:33:40 +01:00
gambas
96279e1f93 New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-12 18:10:12 +01:00
gambas
e3078144c8 Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
[GB.GUI.BASE]
* BUG: Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
2021-03-12 03:40:35 +01:00
gambas
c7fa0b4295 Fix again Paint.TrimText().
[GB.GUI.BASE]
* BUG: Fix again Paint.TrimText().
2021-03-12 02:45:46 +01:00
gambas
175a681dd9 Fix Paint.TrimText(), Paint.TrimRichText(), Frame title layout. Always defer the ScrollView contents size computation.
[GB.GUI.BASE]
* BUG: Paint.TrimText() now trims at each character.
* BUG: Paint.TrimRichText() now correctly trim void markups.
* BUG: Frame: Fix title layout in all possible alignments.
* OPT: ScrollView: Always defer the contents size computation to the next event loop.
2021-03-11 14:57:28 +01:00
gambas
53b2d34d14 Add 'energy' and 'headset' stock icons. Disable Expander animations, they are broken.
[GB.FORM]
* BUG: Expander: Disable animations, they are broken.
* NEW: Add 'energy' and 'headset' stock icons.
2021-03-11 03:27:43 +01:00
gambas
2e2205a021 Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
2021-03-11 00:58:06 +01:00
gambas
8cea779b62 Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
2021-03-10 20:28:57 +01:00
gambas
d2a1b1a581 Fix Paint.TrimText() and Paint.TrimRichText(). Add Frame.Alignment property.
[GB.GUI.BASE]
* BUG: Paint.TrimText() and Paint.TrimRichText() now return a null string if the specified maximum width is too low.
* BUG: Frame: Add an Alignment property for the relative position of the title and the frame top border.
2021-03-10 20:23:36 +01:00
gambas
f8b345d9e6 Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
[GB.SETTINGS]
* NEW: Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
2021-03-09 01:49:03 +01:00
gambas
338c464291 FontChooser: Support for fonts whose name is made of digits only.
[GB.FORM]
* NEW: FontChooser: Design enhancements.
* NEW: FontChooser: Support for fonts whose name is made of digits only.
2021-03-08 20:16:14 +01:00
gambas
056464689c Fix Label.Alignment property declaration. SpinBox.Background now works as expected.
[GB.GUI.BASE]
* BUG: Label: Fix the declaration of Alignment property default value.
* BUG: SpinBox: The Background property now works as expected.
2021-03-08 20:12:22 +01:00
gambas
e5f8cfb6d5 FontChooser enhancements and Spinner fixes.
[GB.FORM]
* NEW: FontChooser: Implement a font thumbnail cache to speed up redrawing.
* NEW: FontChooser: Better font list presentation.
* NEW: Spinner: Add a margin property that represents an inner padding of Desktop.Scale.
* BUG: Spinner: Take the padding into account correctly.
2021-03-08 09:32:32 +01:00
gambas
f372d05b5a TreeView fixes. Draw Frame border without inner margin.
[GB.GUI.BASE]
* NEW: Frame: Draw border without inner margin.
* OPT: ProgressBar: Use the new UserControl pseudo-events instead of an embedded DrawingArea.
* NEW: TreeView: Draw is a new event that allows to override default tree item drawing.
* NEW: TreeView: Indent is a new property that returns the indent width.
* NEW: TreeView: TreeView item has a new Depth property that returns the depth of the item.
* BUG: TreeView: Collapsing an item does not scroll the view to the current selected item anymore.
2021-03-08 09:29:25 +01:00
gambas
8dc5116e3e TerminalView: Use a bit more readable yellow colors.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Use a bit more readable yellow colors.
2021-03-08 00:05:38 +01:00
gambas
daef91b84d Label: Caption is a synonymous of Text as before.
[GB.GUI.BASE]
* BUG: Label: Caption is a synonymous of Text as before.
2021-03-07 09:19:49 +01:00
gambas
78cb8d35e6 TextEditor: Text wrapping now adapts its frequency to the computer speed.
[GB.FORM.EDITOR]
* OPT: TextEditor: Text wrapping now adapts its frequency to the computer speed.
2021-03-07 01:31:17 +01:00
gambas
321809c4c7 Keywords and subroutines are now returned by two different properties of the System class.
[GB.EVAL]
* NEW: Keywords and subroutines are now returned by two different properties of the System class.
* NEW: System properties Keywords, Subroutines and Datatypes now return a read-only array.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new System Keywords and Subroutines properties.
2021-03-06 13:17:35 +01:00
gambas
e6b72c10e8 Fix a typo.
[GB.GUI.BASE]
* BUG: Fix a typo.
2021-03-06 13:17:35 +01:00
gambas
af7adf30db Text and TextLabel: Correctly align multi-line text.
[GB.GUI.BASE]
* BUG: Text and TextLabel: Correctly align multi-line text.
2021-03-06 13:17:35 +01:00
gambas
9a39547ae5 Make the 'close' button smaller and update 'cap-*' and 'join-*' icons.
[GB.FORM.STOCK]
* NEW: Make the 'close' button smaller.
* NEW: Update 'cap-*' and 'join-*' icons.
2021-03-06 13:17:35 +01:00
gambas
3f73dc4939 Now the 'close' stock button is smaller, use its 'small' size again.
[GB.FORM]
* NEW: Now the 'close' stock button is smaller, use its 'small' size again.
2021-03-06 13:17:35 +01:00
gambas
1211dafb21 Label and TextLabel: Fix autoresize.
[GB.GUI.BASE]
* BUG: Label and TextLabel: Fix autoresize.
2021-03-06 13:17:35 +01:00
gambas
5873532b88 ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
[GB.FORM.MDI]
* NEW: ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
2021-03-06 13:17:35 +01:00
gambas
0bb9b2035d Make that experimental component exclude any other GUI component.
[GB.TERM.FORM]
* BUG: Make that experimental component exclude any other GUI component.
2021-03-06 13:17:35 +01:00
gambas
df573b3466 Add new stock icons. Make the TabPanel close button tiny.
[GB.FORM]
* NEW: Update Spinner icon.
* NEW: Spinner: The 'circle' type is larger.
* NEW: Add new stock icons
* NEW: TabPanel: The tab close button is tiny now.

[GB.FORM.STOCK]
* NEW: Add new stock icons.
2021-03-06 13:17:35 +01:00
gambas
2de54c09c3 TextEditor: HighlightAll() internal method highlights the current line too.
[GB.FORM.EDITOR]
* BUG: TextEditor: HighlightAll() internal method highlights the current line too.
* BUG: TextEditor: Current line is now highlighted with a light margin color.
2021-03-06 13:17:35 +01:00
gambas
fdc4795262 Implement Label and TextLabel in Gambas.
[GB.GUI.BASE]
* NEW: Implement Label and TextLabel in Gambas.
2021-03-06 13:17:35 +01:00
gambas
85c8320fe4 TerminalView: Support for terminal bell.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Handle terminal bell with a screen flash.
* NEW: TerminalView: 'Bell' is new event that is raised when the terminal bells, and that overrides the default behaviour if handled.
2021-03-06 13:17:35 +01:00
gambas
014fc5c8b2 New 'clone' stock icon.
[GB.FORM]
* NEW: New 'clone' stock icon.
2021-03-06 13:17:35 +01:00
gambas
59d7ad65a5 New 'clone' icon.
[GB.FORM.STOCK]
* NEW: New 'clone' icon.
* NEW: Update 'copy' icon.
2021-03-06 13:17:35 +01:00
gambas
c99582034d New stock icons for '*.md' and '*.xml' files.
[GB.FORM]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update some control icons.

[GB.FORM.STOCK]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update 'file' and 'file-manager' icons.
2021-03-06 13:17:35 +01:00
gambas
084a2de23c TextEditor: Checking the Limit property of a line now highlights until that line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Checking the Limit property of a line now highlights until that line.
2021-03-06 13:17:35 +01:00
gambas
10c7e236dc TextEditor: Fix a possible crash while highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash while highlighting.
2021-03-06 13:17:35 +01:00
gambas
d96b59e2d8 TerminalView: Do not handle the Drop event if the user has defined its own event handler.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Do not handle the Drop event if the user has defined its own event handler.
2021-03-06 13:17:35 +01:00
gambas
f957a9be1d Update stock icons.
[GB.FORM]
* NEW: New 'office-presentation' stock icon.

[GB.FORM.STOCK]
* NEW: New 'office-presentation' stock icon.
* NEW: Add 128 pixels version of some colored stock icons.
2021-03-06 13:17:35 +01:00
gambas
c4e985cf4b Fix picture cache refresh routine and reimplement the deprecated Picture.Cached property.
[GB.GUI.BASE]
* BUG: Fix picture cache refresh routine.
* BUG: PictureBox: Reimplement the deprecated Cached property.
2021-03-06 13:17:35 +01:00
gambas
77db48a6a8 TerminalView: Support for file URL drops.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for file URL drops.
2021-03-06 13:17:35 +01:00
gambas
bca4f6ef85 New 'invert' stock icon.
[GB.FORM]
* NEW: New 'invert' stock icon.
2021-03-06 13:17:35 +01:00
gambas
f56fd55bfa New 'invert' icon. New big icons of 'linux' and 'terminal'. Some fixes.
[GB.FORM.STOCK]
* NEW: New 'invert' icon.
* NEW: Monochrome version of emote icons.
* NEW: 128 pixels version of 'linux' and 'terminal' icons.
* NEW: Update and fix some other icons.
2021-03-06 13:17:35 +01:00
gambas
1efaf82738 Add 128 pixels versions of some icons. Update others.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of some icons. Update others.
2021-03-06 13:17:35 +01:00
Bruce Steers
2282ccbd06 Disable default handling of '-V' and '-h' options if they are handled manually.
[GB.ARGS]
* NEW: Disable default handling of '-V' and '-h' options if they are handled manually.
2021-03-06 13:17:35 +01:00
gambas
d55b8362de New icon for DataSource control.
[GB.DB.FORM]
* NEW: New icon for DataSource control.
2021-02-24 16:23:59 +01:00
gambas
4aa8cab824 Add a 128 pixels version of 'database' colored icon.
[GB.FORM.STOCK]
* NEW: Add a 128 pixels version of 'database' colored icon.
2021-02-24 16:23:02 +01:00
gambas
cc4cefcf33 TextEditor: Fix the highlighting of the current edited line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the highlighting of the current edited line.
2021-02-24 00:46:02 +01:00
gambas
4c5545e60f Redraw the ReportSvgImage control icon.
[GB.REPORT2]
* NEW: Redraw the ReportSvgImage control icon.
2021-02-23 19:55:39 +01:00
gambas
007e98397d TerminalView: Link detection management.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Link is a new event raised during mouse move for detecting links.
* NEW: TerminalView: Link is a new property that returns an object for managing links.
* NEW: TerminalView: Click is a new event raised when a link has been clicked.
* NEW: TerminalView: ShowLink is a new property that toggles the link management.
* NEW: Update French translation.
2021-02-23 16:35:10 +01:00
gambas
f212d5abf8 Use a 64x64 control icon.
[GB.MEDIA.FORM]
* NEW: Use a 64x64 control icon.
2021-02-23 00:47:41 +01:00
gambas
d89c13d87b Fix 'table' and 'database' stock icons.
[GB.FORM.STOCK]
* BUG: Fix 128 pixels 'table' stock icon.
* NEW: Add yellow inside 'database' stock icon.
2021-02-23 00:46:30 +01:00
gambas
1c3e95a7b9 More 64x64 control icons. Sort IDE toolbox controls in the alphabetical order.
[CONFIGURATION]
* NEW: More 64x64 control icons.

[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Use SpinBox controls for grid options.
* NEW: Form editor: Sort toolbox controls in the alphabetical order.
2021-02-23 00:43:25 +01:00
gambas
3211a8278d Use 64x64 icons for controls now. Add a few enhancements in the IDE image editor.
[CONFIGURATION]
* NEW: Use 64x64 icons for controls now.

[DEVELOPMENT ENVIRONMENT]
* NEW: Custom control icons size is now proportional to the font size.
* BUG: Form editor: Changing the toolbar icon size now keeps the current tab.
* NEW: Image editor: Default image resize mode is stretching now.
* NEW: Image editor: Apply a zoom fit after an image resizing.

[GB.REPORT]
* BUG: Rename a duplicated class that prevented the project to be opened.
2021-02-22 23:19:20 +01:00
gambas
d900937949 Add an Orientation property to ScrollBar and Sldider that allows to define the orientation explicitly.
[GB.FORM]
* NEW: SliderBox: Use the new Slider.Orientation property.

[GB.GUI.BASE]
* NEW: ScrollArea: Use the new ScrollBar.Orientation property.

[GB.GTK]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.GTK3]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.QT4]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.

[GB.QT5]
* NEW: ScrollBar: Add orientation constants.
* NEW: ScrollBar: Orientation is a new property that allows to define the orientation explicitly.
* NEW: Slider: Orientation is a new property that allows to define the orientation explicitly.
2021-02-22 14:54:52 +01:00
gambas
85255faea3 TextEditor: Highlight immediately if the highlighting mode is known to not rewrite its text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight immediately if the highlighting mode is known to not rewrite its text.
2021-02-22 00:55:36 +01:00
gambas
bb0beb41bd TextEditor: Undo/Redo works correctly again when text is rewritten.
[GB.FORM.EDITOR]
* BUG: TextEditor: Undo/Redo works correctly again when text is rewritten.
* NEW: Redraw the TextEditor icon.
2021-02-22 00:49:39 +01:00
gambas
c27a02a5be Redraw the file manager icon. Some little fixes in emote icons.
[GB.FORM.STOCK]
* NEW: Redraw the file manager icon.
* NEW: Some little fixes in emote icons.
2021-02-21 00:08:34 +01:00
gambas
94d75a7ebf Some fixes in file and password dialogs.
[GB.FORM.DIALOG]
* BUG: Password dialog: Do not raise the dialog.
* BUG: File dialog: Do not check for file existence. It is now done in the FileChooser control.
2021-02-21 00:06:48 +01:00
gambas
d0fa82d80f TextEditor: Highlight lines the later as possible: when the Text or SelectedText property is read, or when the line is drawn.
[GB.FORM.EDITOR]
* OPT: TextEditor: Highlight lines the later as possible: when the Text or SelectedText property is read, or when the line is drawn.
       Consequently, the IDE restores a project faster when there are a lot of files to open.
* NEW: TextEditor: Draw matching characters differently again, trying to make that the most readable possible.
2021-02-20 23:29:24 +01:00
gambas
010bbaadeb TreeView: Fix generation of MouseDown events.
[GB.GUI.BASE]
* BUG: TreeView: Fix generation of MouseDown events.
2021-02-18 23:52:20 +01:00
gambas
cebbb299da DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
[GB.FORM]
* NEW: Update translations.
* NEW: DirChooser & FileChooser: Ask for overwriting selected file if in single selection mode and if not read-only.
2021-02-17 20:22:13 +01:00
gambas
4f13bb42a4 GridView: Do not raise the MouseDown event twice.
[GB.GUI.BASE]
* BUG: GridView: Do not raise the MouseDown event twice.
2021-02-17 19:47:02 +01:00
gambas
8b20024659 DirChooser & FileChooser: Support for custom compressed files.
[GB.FORM]
* NEW: DirChooser & FileChooser: Add an UncompressFilter property that defines a list of additional 'LIKE' regexp filters for custom compressed files.
* NEW: DirChooser & FileChooser: Raise an Uncompress event when a custom compressed file is requested to be uncompressed.
2021-02-17 01:55:46 +01:00
gambas
f31f6ec8c8 Report: Use the new "_DefaultText" multicontainer constant.
[GB.REPORT2]
* NEW: Report: Use the new "_DefaultText" multicontainer constant.
2021-02-11 13:23:27 +01:00
gambas
f55ac9ef38 ToolPanel: Fix animation and layout.
[GB.FORM]
* NEW: ToolPanel: Fix animation and layout.
* NEW: ToolPanel: Use the new _DefaultText multicontainer constant.
2021-02-11 13:18:36 +01:00
gambas
46fe9dbedd Some optimizations in TextEditor.
[GB.FORM.EDITOR]
* OPT: TextEditor: Use the new FindSorted() array method in a function.
* OPT: TextEditor: Access theme style properties directly.
* OPT: TextEditor: Avoid some computations when nothing is folded.
2021-02-11 00:32:55 +01:00
gambix
ce28776464 Change inheritance on Report
[GB.REPORT2]
* BUG: Report now does not inherit ReportSection anymore.
2021-02-10 21:05:22 +01:00
gambas
86fe4efa55 Add emote icons.
[GB.FORM]
* NEW: Add emote icons.

[GB.FORM.STOCK]
* NEW: Add emote icons.
2021-02-08 16:58:45 +01:00
gambas
313bb0377a Add new stock icons, and update others. Fix a bug in TabPanel relayouting.
[GB.FORM]
* NEW: Add new stock icons.
* BUG: TabPanel: Changing the CloseButton property correctly update the layout.

[GB.FORM.STOCK]
* NEW: Add new stock icons, and update others.
2021-02-08 00:34:27 +01:00
gambas
198ef908ab Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
[GB.UTIL]
* BUG: Add a new rule to String.ToPhonetic() to deal with "mpt" and "mt" patterns.
2021-02-06 17:05:54 +01:00
gambas
a017630ddd Stock.Refresh() now should refresh all application pictures associated with the application theme.
[GB.GUI.BASE]
* NEW: Picture.Refresh() reload all application pictures coming from the stock icons.
* NEW: Shortcut.FromKey() now does not duplicate a modifier key with its modifier prefix (i.e. it does not return "Shift+ShiftKey" anymore but just "ShiftKey").

[GB.FORM]
* NEW: Stock.Refresh() now should refresh all application pictures associated with the application theme.

[GB.FORM.MDI]
* NEW: ToolBar: Don't hide separators followed by an expander.
2021-02-06 16:47:21 +01:00
gambas
87926caca1 Fix shortcuts.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix shortcuts.
* OPT: TextEditor: Use FAST on two heavy functions.
2021-02-06 16:44:46 +01:00
gambas
73b3573142 Make yellow darker in icons.
[GB.FORM.STOCK]
* NEW: Make yellow darker in icons.
2021-02-06 16:43:34 +01:00
gambas
09554420b3 ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
[GB.GUI.BASE]
* NEW: ScrollArea: Add a NoAnimation property to disable the scrolling animation explicitly.
2021-02-05 21:08:52 +01:00
gambas
7c0af8a41f File dialog: Propagate the AutoExt property to the FileChooser.
[GB.FORM.DIALOG]
* NEW: File dialog: Propagate the AutoExt property to the FileChooser.
2021-02-04 13:28:37 +01:00
gambas
f3ce8abe4c FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
[GB.FORM]
* NEW: FileChooser: AutoExt is a new property that automatically sets the file extension according to the current filter.
2021-02-04 13:27:50 +01:00
Bruce Steers
acde26198e Fix MessageView.class
[GB.FORM]
* BUG: not supplying optional icon was causing null object to be passed
2021-02-03 18:47:50 +00:00
gambas
494ccf6ed6 Use three significative digits at most when displaying file sizes.
[GB.FORM]
* NEW: Use three significative digits at most when displaying file sizes.
2021-02-03 18:59:26 +01:00
gambas
d1bc1060e0 TextEditor: Use different highlights for matching characters.
[GB.FORM.EDITOR]
* NEW: TextEditor: Use different highlights for matching characters.
* NEW: TextEditor: The matching character under the cursor does not blink anymore.
2021-02-03 18:58:10 +01:00
gambas
6a20512289 Redraw 'archive', 'lower' and 'raise' icon.
[GB.FORM.STOCK]
* NEW: Redraw 'archive', 'lower' and 'raise' icon.
2021-02-03 18:53:47 +01:00
gambas
e64180ef5a Add icons for line joins, line caps and wrap mode.
[GB.FORM]
* NEW: Add icons for line joins, line caps and wrap mode.

[GB.FORM.STOCK]
* NEW: Add icons for line joins, line caps and wrap mode.
2021-02-01 04:05:56 +01:00
gambas
6c76170f51 TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
[GB.FORM]
* BUG: ListEditor: Better behavior in design mode.
* NEW: TableView: Columns automatic width is now a bit larger to support inner padding of TextBox control.
2021-02-01 01:24:55 +01:00
gambas
1389b908f0 Message.Warning() now has only one "cancel" default button.
[GB.GUI.BASE]
* BUG: Message.Warning() now has only one "cancel" default button.
2021-02-01 01:23:31 +01:00
gambas
2128890f9a TerminalView: Text property correctly takes into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Text property correctly takes into account line wrapping.
2021-02-01 01:16:02 +01:00
gambas
4081f4c857 FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
[GB.FORM]
* BUG: FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
2021-01-29 15:50:15 +01:00
gambas
4eb38b4c07 Shortcut.FromKey() now uses an internal cache.
[GB.GUI.BASE]
* OPT: Shortcut.FromKey() now uses an internal cache.
2021-01-29 15:49:21 +01:00
gambas
6364bd1376 Some fixes in line anchors generation.
[GB.MARKDOWN]
* BUG: Some fixes in line anchors generation.
2021-01-29 15:47:35 +01:00
gambas
b71117ebe3 ButtonBox: Clicking on the clear button triggers filtering immediately now.
[GB.FORM]
* NEW: ButtonBox: Clicking on the clear button triggers filtering immediately now.
* BUG: FileChooser: Hide the bookmark button and its separator accordingly.
2021-01-29 00:42:18 +01:00
gambas
e328bb0dea TerminalView: Selected text and Text property now take into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Selected text and Text property now take into account line wrapping.
2021-01-28 23:29:21 +01:00
gambas
2f2e3405f3 Url.Query.Remove() is a new method for removing an argument from the query of an URL.
[GB.UTIL.WEB]
* NEW: Url.Query.Remove() is a new method for removing an argument from the query of an URL.
2021-01-26 22:35:37 +01:00
gambas
fa82d46be5 Fix Frame rendering bugs, and make MovieBox use the UserControl Draw pseudo-event.
[GB.GUI.BASE]
* NEW: MovieBox: Use the UserControl Draw pseudo-event.
* BUG: Frame: Fix some rendering bugs.
2021-01-26 07:05:56 +01:00
gambas
45b453bbec Do not generate line anchors inside the index.
[GB.MARKDOWN]
* BUG: Do not generate line anchors inside the index.
2021-01-26 06:48:42 +01:00
gambas
bb43074533 Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
[GB.MARKDOWN]
* NEW: Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
2021-01-26 06:13:44 +01:00
gambas
f588c83fda PictureBox now uses the new UserControl Draw pseudo-event and Frame container in now implemented in Gambas.
[GB.DRAW]
* NEW: Add PaintExtents W and H properties as synonymous of Width and Height.

[GB.GUI.BASE]
* NEW: PictureBox now uses the new UserControl Draw pseudo-event.
* NEW: Frame container in now implemented in Gambas.

[GB.GTK]
* NEW: Frame container in now implemented in Gambas.
* BUG: Style drawing routines now work correctly on UserControl.

[GB.GTK3]
* NEW: Frame container in now implemented in Gambas.

[GB.QT4]
* NEW: Frame container in now implemented in Gambas.

[GB.QT5]
* NEW: Frame container in now implemented in Gambas.
* BUG: Do not activate windows on Wayland, this is not supported.
2021-01-23 23:30:36 +01:00
gambas
bc170a2317 UserControl now can paint itself through a UserControl_Draw method.
[GB.GTK]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.GTK3]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
* BUG: Remove debugging message.

[GB.GUI.BASE]
* NEW: Separator: Use the new painting pseudo-event of UserControl.

[GB.QT4]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.QT5]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
2021-01-23 02:44:46 +01:00
gambas
b4ab1027d8 Separator is now a Gambas-made control.
[GB.GTK]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GTK3]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GUI.BASE]
* NEW: Separator is now a Gambas-made control.

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

[GB.QT5]
* NEW: Remove Separator control.
2021-01-22 23:53:27 +01:00
gambas
1bbdc43fc3 FontChooser: Correctly fill font tree when being shown.
[GB.FORM]
* BUG: FontChooser: Correctly fill font tree when being shown.
2021-01-21 02:34:06 +01:00
gambas
9ec5e664fc Optimize font chooser and make TreeView item height writable.
[GB.FORM]
* OPT: FontChooser: Font list is now filled only if needed.

[GB.GUI.BASE]
* NEW: TreeView: TreeView item height is now writable.
2021-01-21 01:46:02 +01:00
gambas
f346811bf8 Add a new test form.
[GB.FORM]
* NEW: Add a new test form.
2021-01-20 02:54:14 +01:00
gambas
531e6534f3 SwitchButton: Keep color hue when transitioning between selected and normal background color.
[GB.FORM]
* BUG: SwitchButton: Keep color hue when transitioning between selected and normal background color.
2021-01-18 21:37:51 +01:00
gambas
c207d71d91 Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
[GB.GUI.BASE]
* BUG: Message: Style property value now can only be "flat" or "default". Setting an unknown style resets the style to "default".
2021-01-17 00:28:32 +01:00
gambas
549e8b1fdd Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
[GB.FORM]
* NEW: Spinner: Circle spinner now is a progress when its value is strictly between 0 and 1. Otherwise it spins.
2021-01-17 00:14:47 +01:00
gambas
e5f1462c02 Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
[GB.DESKTOP]
* NEW: Support for desktop component plugins. Unsupported APIs (on wayland) now raise an error.
2021-01-17 00:13:03 +01:00
gambas
0d2f6c4a4a Message: Add Style and ColoredButtons properties.
[GB.GUI.BASE]
* NEW: Message: Style is a new property that defines the message box style. At the moment, "default" and "flat" are supported.
* NEW: Message: ColoredButtons is a new property that defines if the buttons should be colored or not.
2021-01-16 15:15:55 +01:00
gambas
13d21f1b09 Fix FontChooser layout, and add a RichText property to IconPanel tabs.
[GB.FORM]
* BUG: FontChooser: Fix layout.
* NEW: IconPanel: Add a RichtText property to IconPanel tabs.
*
2021-01-16 04:39:36 +01:00
gambas
f7eef2af6e Message: Add the title to the message box, and make it movable.
[GB.GUI.BASE]
* NEW: Message: Add the title to the message box, and make it movable.
2021-01-16 04:34:29 +01:00
gambas
00b9bb9f0c Message: Test a new look for the message boxes.
[GB.GUI.BASE]
* NEW: Message: Test a new look for the message boxes.
2021-01-15 22:37:30 +01:00
gambas
475a7699d3 Message: Default buttons are now replaced as soon as at least one button is specified.
[GB.GUI.BASE]
* BUG: Message: Default buttons are now replaced as soon as at least one button is specified.
2021-01-15 22:04:18 +01:00
gambas
09e3a9ae19 Scroll view to make popup windows visible as much as possible.
[GB.WEB.GUI]
* NEW: Scroll view to make popup windows visible as much as possible.
2021-01-14 04:14:55 +01:00
gambas
03fdb5dca7 Somes fixes in the DateBox control.
[GB.WEB.GUI]
* BUG: DateBox: Fix date formatting.
* NEW: DateBox: Set a default width according to the DateTime property.
2021-01-14 03:58:20 +01:00
gambas
f8221167af Add a Tag property to many view control items.
[GB.GUI.BASE]
* NEW: GridView: Cells have now a Tag property.
* NEW: GridView: Columns have now a Tag property.
* NEW: TreeView: Items have now a Tag property.
* NEW: ListView: Items have now a Tag property.
* NEW: ColumnView: Items have now a Tag property.
* NEW: IconView: Items have now a Tag property.
2021-01-13 23:20:40 +01:00
gambas
d708361b69 Spinner: Add a Type property that allows to choose between three different spinners.
[GB.FORM]
* NEW: Spinner: Add a Type property that allows to choose between three different spinners.
2021-01-11 04:13:02 +01:00
gambas
13c0d23424 MovieBox: Add backward-compatible Path property.
[GB.GUI.BASE]
* BUG: MovieBox: Add backward-compatible Path property.
2021-01-09 10:38:43 +01:00
gambas
a0a2d0379c MovieBox is now implemented in Gambas, through a new Animation class.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the MovieBox Animation property.

[GB.GTK]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GTK3]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.GUI.BASE]
* NEW: MovieBox is now implemented in Gambas.

[GB.QT4]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.

[GB.QT5]
* NEW: Animation is a new class that represents an animated image.
* NEW: MovieBox has been removed.
2021-01-09 10:24:56 +01:00
gambas
353d015461 TabPanel: Clicking on a tab button now gives it the focus.
[GB.FORM]
* NEW: TabPanel: Clicking on a tab button now gives it the focus.
2021-01-06 23:52:23 +01:00
gambas
9a16226462 FileView: Sort configuration is kept when the view is refreshed, and the first column has a maximum width.
[GB.FORM]
* NEW: FileView: Sort configuration is kept when the view is refreshed.
* NEW: FileView: The first column now has a maximum width when it is resized at refresh.
2021-01-06 16:22:19 +01:00
gambas
8ab973d4ed Stock: Merge the detection of 'gnome', 'mate' and 'cinnamon' desktops.
[GB.FORM]
* NEW: Stock: Merge the detection of 'gnome', 'mate' and 'cinnamon' desktops.
2021-01-02 22:50:54 +01:00
gambix
d100d710a6 Update stock theme detection. 2021-01-02 18:06:50 +01:00
gambix
72886a70bf Now Stock class load themes with Cinnamon desktop.
[GB.FORM]
* BUG: Now Stock class load themes with Cinnamon desktop.
2021-01-02 17:10:03 +01:00
gambix
4839ab8fff Merge branch 'master' of gitlab.com:gambas/gambas 2021-01-02 15:39:57 +01:00
gambas
ceb8d955df TreeView: Modifying the font of an item now correctly updates its height.
[GB.GUI.BASE]
* BUG: TreeView: Modifying the font of an item now correctly updates its height.
2021-01-02 15:07:24 +01:00
gambas
0938ef62e8 Remove an unused variable.
[GB.FORM.TERMINAL]
* BUG: Remove an unused variable.
2021-01-02 11:36:16 +01:00
gambix
e155a472b3 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-30 15:18:53 +01:00
gambas
a8b9bf14b6 TerminalView: The last lines are now automatically relayouted when the width of the terminal changes.
[GB.FORM.TERMINAL]
* NEW: TerminalView: The last lines are now automatically relayouted when the width of the terminal changes.
* BUG: TerminalView: The padding is now correctly taking into account when computing the terminal character width.
2020-12-30 01:22:57 +01:00
gambas
b070d7a386 Popups now use absolute position, so that they follow the document scrolling.
[GB.WEB.GUI]
* BUG: Popups now use absolute position, so that they follow the document scrolling.
2020-12-27 20:23:21 +01:00
gambix
58aeb27938 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-27 12:07:17 +01:00
gambas
26baf7a601 WebComboBox: Read-only combo-boxes have now the same height as the editable ones.
[GB.WEB.GUI]
* BUG: WebComboBox: Read-only combo-boxes have now the same height as the editable ones.
2020-12-26 22:29:54 +01:00
gambas
7b569604b7 TextEditor: Do not optimize character layouting for non-ASCII text.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not optimize character layouting for non-ASCII text, so that lines including non-western characters are displayed correctly whatever the font.
* NEW: TextEditor: Keep displaying the cursor and the matching braces when the editor does not have the focus.
2020-12-21 00:25:45 +01:00
gambas
0127d32738 TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Printing an incorrect UTF-8 string does not lock the output anymore.
2020-12-20 21:26:54 +01:00
gambix
b451da983b Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-20 09:16:09 +01:00
gambas
5e22276818 WebForm: AddHeader() is a new method that allows to add a custom page header.
[GB.WEB.GUI]
* NEW: WebForm: AddHeader() is a new method that allows to add a custom page header.
* BUG: WebForm: Custom form javascript files are now different for each form.
2020-12-19 12:46:09 +01:00
gambas
5789e6036b Font dialog: Set focus on FontChooser control at opening.
[GB.FORM.DIALOG]
* NEW: Font dialog: Set focus on FontChooser control at opening.
2020-12-19 03:02:52 +01:00
gambas
0ae82b7115 Enhance FontChooser control again.
[GB.FORM]
* NEW: FontChooser: Enhance GUI again.
2020-12-19 03:02:11 +01:00
gambas
3b8e0ec105 Enhance FontChooser control.
[GB.FORM]
* NEW: FontChooser: Better GUI.
* NEW: FontChooser: Add a ShowFont property that toggle the display of fonts inside the font tree.
* NEW: FontChooser: Define pangrams for some languages.
2020-12-19 02:33:59 +01:00
gambas
e61f93e77c ScrollView: Clip children for GTK+2 by forcing control background.
[GB.GUI.BASE]
* BUG: ScrollView: Clip children for GTK+2 by forcing control background.
2020-12-19 00:25:35 +01:00
gambas
aab93798f1 Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
[GB.FORM]
* BUG: Stock: Read the Mate desktop icon theme with the 'dconf' tool, as apparently the mate tool has been deprecated.
2020-12-17 14:26:45 +01:00
gambas
1d3992467d ColorButton: Display the inner color the same way in all GUI components.
[GB.FORM]
* BUG: ColorButton: Display the inner color the same way in all GUI components.
2020-12-17 04:37:54 +01:00
gambas
82dc368486 Stock: Add a debugging message that displays the icon theme.
[GB.FORM]
* NEW: Stock: Add a debugging message that displays the icon theme.
2020-12-17 03:20:02 +01:00
gambix
df3b105b01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-16 15:46:23 +01:00
Benoît Minisini
476689055f Merge branch 'bsteers4-master-patch-83433' into 'master'
Update TextHighlighter_Sh.class

See merge request gambas/gambas!169
2020-12-16 14:27:18 +00:00
Bruce Steers
a64b2b3f25 Remove escape character '\' from operator list.
[GB.EVAL.HIGHLIGHT]
* BUG: Remove escape character '\' from operator list.
2020-12-16 14:27:17 +00:00
Bruce Steers
34b0c2f925 TerminalView: Handle XTerm window manipulation CSI escape sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Various XTerm window manipulation escape sequences added to VT100.
* NEW: TerminalView: Added WindowCommands boolean property to enable manipulations.

Useful if your terminalview is a standalone in a form/window although\
handling has been added to account for other objects in a form.\

Set property TerminalView1.WindowCommands = True and it enables\
XTerm escape sequences on the top window...

Eg. Type 'echo -en "\\033\[10;2t"' to toggle fullscreen.\
Handles the following modes...\

1, Minimize false\
2, Minimize true\
3, Move window (x,y)\
4, Resize (h,w) in pixels\
5, Send to front (Window.Raise)\
6, Send to back (Window.Lower)\
7, Refresh (useless but it would be a shame to do 1-10 and leave 7 out.)\
8, Resize (lines, cols) text characters\
9;0 Maximize false\
9;1 Maximize true (also works as true/false toggle)\
10;0 Full screen off\
10;1 Full screen on\
10;2 Full screen toggle\
2020-12-16 14:26:22 +00:00
gambas
18f5c250fb Tune the behaviour of message boxes.
[GB.GUI.BASE]
* NEW: Message: Provide default buttons if none are specified.
* NEW: Message: The message can only be closed by clicking on a button.
* NEW: Message: Focus on the cancel button by default.
2020-12-15 14:50:43 +01:00
gambix
a2c4c3b51a Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-10 17:40:42 +01:00
gambas
d7ff002fe6 TreeView: Eat the key shortcuts used: [F2], [+], [-] and [SPACE].
[GB.GUI.BASE]
* BUG: TreeView: Eat the key shortcuts used: [F2], [+], [-] and [SPACE].
* BUG: TreeView: Renaming an item automatically cancel any other pending item renaming.
2020-12-09 22:58:22 +01:00
gambas
1593e864b8 Merge branch 'master' of gitlab.com:gambas/gambas 2020-12-04 18:59:30 +01:00
gambas
817c860c4d Do not encode newline characters as newlines (!) in quoted encoding.
[GB.NET.SMTP]
* BUG: Do not encode newline characters as newlines (!) in quoted encoding. See RFC 2049 at the end of page #10.
2020-12-04 18:59:10 +01:00
gambix
3937ea5fb8 New property Path in report that allow to define the output file
When used with preview, the returned value is the new path used.

[GB.REPORT2]
* NEW: New property Path in report that allow to define the output file
2020-12-04 15:11:05 +01:00
gambix
f77f4b8188 Add a new property Header to _MapTile Class to set up the http client Header.
[GB.MAP]
* NEW: Add a new property Header to _MapTile Class to set up the http client Header.
2020-12-03 15:56:22 +01:00
gambas
e5cc73ee61 TextEditor: Really do not stop keyboard event if the key is not handled by the editor!
[GB.FORM.EDITOR]
* BUG: TextEditor: Really do not stop keyboard event if the key is not handled by the editor!
2020-11-27 14:20:21 +01:00
gambas
5a46d0ac4a Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-24 21:54:43 +01:00
gambas
5a5e468866 Message: Rework the message box. Copying the message is now done through a popup menu.
[GB.GUI.BASE]
* NEW: Message: Rework the message box. Copying the message is now done through a popup menu.
* OPT: ScrollArea: Remove some useless lines in scrollbar management.
2020-11-24 21:50:24 +01:00
gambas
2b43657ab3 Fix keyboard event management for GTK+3, use standard colors by default, and draw matching braces differently.
[GB.FORM.EDITOR]
* BUG: TextEditor: Do not stop keyboard event if the key is not handled by the editor.
* NEW: TextEditor: Use the standard background and foreground colors by default.
* NEW: TextEditor: Draw the matching brace under the cursor with an underline.
2020-11-24 21:36:12 +01:00
gambix
52bb088242 Set the Visible propert of Reoport objects active 2020-11-24 12:25:31 +01:00
gambas
f3b746bf97 DateChooser: ShowWeek is a new property that toggles the display of weeks.
[GB.FORM]
* BUG: MenuButton: Fix background color.
* NEW: DateChooser: ShowWeek is a new property that toggles the display of weeks.
2020-11-24 00:19:37 +01:00
gambas
77ba659c6c Add some Find() methods that allow to find the index of a specific row.
[GB.DB.FORM]
* NEW: DataSource: Find() is a new method that returns the index of the first row matching a specific SQL condition.
* NEW: DataSource: FindNext() is a new method that returns the index of the first row matching a specific SQL condition next to the current position.
* NEW: DataBrowser: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
* NEW: DataView: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
2020-11-23 21:30:35 +01:00
gambas
96430759c6 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-22 19:44:02 +01:00
gambas
dd664de989 MenuButton: Fix its behaviour for GTK+3.
[GB.FORM]
* BUG: MenuButton: Fix draing for GTK+3.
* BUG: MenuButton: Fix hidden shortcut button for GTK+3.
2020-11-22 19:43:44 +01:00
gambix
9ea6651638 Remove autoreload on removing shape object and force reload on Refresh function.
[GB.MAP]
* NEW: _MapShape: Remove reloading when removing a shape object.
* NEW: Map: Force Layers reloading when function Refresh is called.
2020-11-22 10:27:45 +01:00
gambix
c2eec706a1 [GB.MAP] 2020-11-22 10:21:31 +01:00
gambas
38eabb2a3a DateChooser: Handle mouse wheel events on time boxes better.
[GB.FORM]
* NEW: DateChooser: Handle mouse wheel events on time boxes better.
2020-11-18 21:59:08 +01:00
gambas
306b1561ec DateBox: Chinese language should be correclt supported now.
[GB.FORM]
* BUG: DateBox: Chinese language should be correclt supported now.
2020-11-18 21:44:08 +01:00
gambas
f7e806c9bf Update Chinese translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Chinese translation.

[WIKI CGI SCRIPT]
* NEW: Update Chinese translation.

[PROJECT TEMPLATES]
* NEW: Update Chinese translation.

[GB.DB.FORM]
* NEW: Update Chinese translation.

[GB.FORM.DIALOG]
* NEW: Update Chinese translation.

[GB.FORM.MDI]
* NEW: Update Chinese translation.

[GB.FORM.PRINT]
* NEW: Update Chinese translation.

[GB.FORM]
* NEW: Update Chinese translation.

[GB.GUI.BASE]
* NEW: Update Chinese translation.

[GB.REPORT2]
* NEW: Update Chinese translation.

[GB.TERM.FORM]
* NEW: Update Chinese translation.

[GB.UTIL]
* NEW: Update Chinese translation.

[GB.WEB.FEED]
* NEW: Update Chinese translation.

[GB.WEB.FORM]
* NEW: Update Chinese translation.

[GB.WEB.GUI]
* NEW: Update Chinese translation.
2020-11-18 21:07:53 +01:00
gambas
589c29ccfa TerminalView: Paste UTF-8 into terminal.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Paste UTF-8 into terminal.
* NEW: Update Chinese translation.
2020-11-18 19:55:34 +01:00
gambas
b36254ee7e Add icon association for 'font-x-generic' mime type.
[GB.FORM.STOCK]
* NEW: Add icon association for 'font-x-generic' mime type.
2020-11-14 04:01:19 +01:00
gambas
0456b0ba41 ButtonBox: Draw the default background color correctly.
[GB.FORM]
* BUG: ButtonBox: Draw the default background color correctly.
2020-11-14 03:56:48 +01:00
gambas
2a2780c95b Some little workarounds for GTK+ components.
[GB.FORM]
* BUG: MenuButton: Fix hidden shortcut button for GTK+ components.
* BUG: DirButton: Take the Design property into account.
* BUG: Wizard: Unset the AutoResize property on wizard title label, it breaks with GTK+ components.
2020-11-11 00:27:55 +01:00
gambas
f3587c71d7 Forgot to add 'gb.settings' back to the checked components.
[GB.FORM.MDI]
* BUG: Forgot to add 'gb.settings' back to the checked components.
2020-11-02 21:44:54 +01:00