Commit graph

3236 commits

Author SHA1 Message Date
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