Commit graph

3817 commits

Author SHA1 Message Date
Benoît Minisini
72417abe78 Add 'css' highlighting, fix some bugs, add some enhancements.
[GB.HIGHLIGHT]
* BUG: Fix intermediate state return on end of text.
* NEW: Add 'css' highlighting.
* NEW: Add imbricated 'css' inside 'html' highlighting.
* NEW: "word" and "symbol" commands can take their arguments in a file.
* NEW: Allow to define substitutions variable in definition files.
* BUG: Correctly Handle highlighting of a text token of more than 255 characters.
* NEW: Start to port Gambas highlighting to the new design.
2023-10-22 01:00:19 +02:00
Benoît Minisini
12efdb2bf9 Support for embedded highlighting.
[GB.HIGHLIGHT]
* NEW: Support for embedded highlighting.
* NEW: The "keyword" command is like "word", but it adds the specified words to the list of keywords.
* NEW: Javascript is highlighted inside HTML.
2023-10-21 09:19:23 +02:00
Benoît Minisini
f3618751d8 Some fixes in javascript highlighter.
[GB.HIGHLIGHT]
* BUG: Some fixes in javascript highlighter.
2023-10-20 03:03:07 +02:00
Benoît Minisini
3b9b1d8bfd Merge branch 'master' of gitlab.com:gambas/gambas 2023-10-20 01:49:34 +02:00
Benoît Minisini
1e296e46dc Add "match ... to ..." syntax. Allow children states in "match ... to ..." and "from ... to ...".
[GB.HIGHLIGHT]
* NEW: Add "match ... to ..." syntax.
* NEW: Allow children states in "match ... to ..." and "from ... to ...".
* NEW: Add 'html.highlight'.
2023-10-20 01:47:06 +02:00
gambix
08e8a06008 Bug on the tile ordering
[GB.MAP]
* BUG: _MapTile, Correction on bad file naming for tiles (curious artifact on httpClient.Tag).
2023-10-19 10:56:04 +02:00
Benoît Minisini
5cabfec061 Add 'gb.highlight' component to the list of components to compile.
[CONFIGURATION]
* NEW: Add 'gb.highlight' component to the list of components to compile.

[GB.HIGHLIGHT]
* NEW: Update project icon.

[GB.WEB.FEED]
* NEW: Update project icon.
2023-10-19 04:05:47 +02:00
Benoît Minisini
68b53e0367 Initial implementation.
[GB.HIGHLIGHT]
* NEW: Initial implementation.
2023-10-19 04:00:54 +02:00
Benoît Minisini
0f7510b7bb Drag: Support for URI list now uses the 'Url()' and 'FromUrl()' interpreter functions.
[GB.GUI.BASE]
* BUG: Drag: Support for URI list now uses the 'Url()' and 'FromUrl()' interpreter functions.
2023-10-19 01:39:16 +02:00
Benoît Minisini
f694f99b8b CGI.Error() now displays a nice error 500 page. :-)
[GB.WEB]
* NEW: CGI.Error() now displays a nice error 500 page. :-)
2023-10-15 21:54:08 +02:00
Benoît Minisini
fb66ad46a7 TabPanel: Fix tab bar layout.
[GB.FORM]
* BUG: TabPanel: Fix tab bar layout.
2023-10-15 21:50:03 +02:00
Benoît Minisini
937c9eb751 TreeView, ListView, ColumnView: Add Highlight property to highlight the item under the mouse cursor.
[GB.GUI.BASE]
* NEW: GridView: Handle the Highlight property at the GridView level.
* NEW: TreeView, ListView, ColumnView: Add Highlight property to highlight the item under the mouse cursor.
2023-10-15 21:44:39 +02:00
Benoît Minisini
dadb89c87d ListBox: Add Highlight property to highlight the listbox entry under the mouse cursor.
[GB.GUI.BASE]
* NEW: ListBox: Add Highlight property to highlight the listbox entry under the mouse cursor.
* NEW: Helper function for the future 'Window.ShowPopupAt()' method.
* NEW: ScrollArea: The mouse wheel now scroll a number of pixels proportional to 'Desktop.Scale'.
2023-10-13 16:59:01 +02:00
Benoît Minisini
e44956d02a ComboBox: Read-only combo-box now correctly takes the background-color into account.
[GB.WEB.GUI]
* BUG: ComboBox: Read-only combo-box now correctly takes the background-color into account.
2023-10-10 11:02:14 +02:00
Benoît Minisini
87e5ad57b7 Custom startup class is now taken into account.
[GB.WEB.GUI]
* BUG: Custom startup class is now taken into account.
2023-10-09 21:49:10 +02:00
Benoît Minisini
eeb70244f7 TabPanel: New look.
[GB.FORM]
* NEW: TabPanel: New look.
2023-10-09 12:17:13 +02:00
Benoît Minisini
1fdbb15f1a ComboBox: Take mouse wheel events into account in read-write mode again. MouseWheel events can be intercepted and stopped now.
[GB.GUI.BASE]
* NEW: ComboBox: Take mouse wheel events into account in read-write mode again.
* NEW: ComboBox: MouseWheel events can be intercepted and stopped now.
2023-10-08 19:16:20 +02:00
Benoît Minisini
88d55ffe36 Make text fields inherit their background color for their ancestors.
[GB.WEB.GUI]
* BUG: Make text fields inherit their background color for their ancestors.
2023-10-03 21:34:14 +02:00
Benoît Minisini
59fcfc0fea Don't suppose that the smaller version of stock icons exist. Add 'Application.Theme'.
[GB.WEB.GUI]
* BUG: Don't suppose that the smaller version of a stock icon exist.
* NEW: 'Application.Theme' is a new property that allows to define the stock icon theme used by the application.
2023-10-03 21:30:17 +02:00
Benoît Minisini
cf6038498b ComboBox: Mouse wheel events are take into account only in read-only mode. ScrollArea: Double the scroll speed when using the mouse wheel.
[GB.GUI.BASE]
* NEW: ComboBox: Mouse wheel events are take into account only in read-only mode.
* NEW: ComboBox: Use the new 'Mouse.FullDelta' property to behave correctly with mouse with high wheel rotation precision.
* NEW: ScrollArea: Double the scroll speed when using the mouse wheel.
2023-10-02 23:22:08 +02:00
Benoît Minisini
8ecd7615f8 Redraw 'add','remove' and 'color' icons in 'gambas-thin' theme.
[GB.FORM.STOCK]
* NEW: Redraw 'add','remove' and 'color' icons in 'gambas-thin' theme.
2023-09-30 12:45:42 +02:00
Benoît Minisini
1a73eb9988 Darker border for thin theme file icons.
[GB.FORM.STOCK]
* NEW: Darker border for thin theme file icons.
2023-09-27 23:42:46 +02:00
Benoît Minisini
df50687799 Update project icons.
[CONFIGURATION]
* NEW: Update project icons.
2023-09-27 23:37:22 +02:00
Benoît Minisini
1a8182b32a WebPage: Add an optional 'Args' collection argument to the 'Render' method.
[GB.WEB]
* NEW: WebPage: Add an optional 'Args' collection argument to the 'Render' method.
2023-09-24 21:17:20 +02:00
Benoît Minisini
b4fa94cae6 Update icon and configuration file of some projects.
[CONFIGURATION]
* NEW: Update icon and configuration file of some projects.
2023-09-22 18:41:01 +02:00
Benoît Minisini
bd5dbb78a8 Redraw control icons.
[GB.WEB.GUI]
* NEW: Redraw control icons.
2023-09-21 23:10:25 +02:00
Benoît Minisini
8ac6bc5de2 ColorPalette: Fix detection of color button under the cursor.
[GB.FORM]
* BUG: ColorPalette: Fix detection of color button under the cursor.
2023-09-21 22:58:19 +02:00
Benoît Minisini
549012db91 Redraw control icons everywhere.
[CONFIGURATION]
Redraw control icons everywhere.
2023-09-21 22:56:21 +02:00
W. Raets
3b8b8ff777 Merge branch gambas:master into master 2023-09-19 11:18:29 +00:00
Benoît Minisini
69e55c2411 ColorPalette: Color buttons layout can be vertical or horizontal, on multiple lines or columns.
[GB.FORM]
* NEW: ColorPalette: Color buttons layout can be vertical or horizontal, on multiple lines or columns.
* NEW: ColorPalette: Add a 'Size' property that defines the size of a color button.
* NEW: ColorChooser: Picking a color on the screen now raises the 'Activate' event.
2023-09-16 22:14:20 +02:00
Benoît Minisini
2ad3b28191 Redraw some icons again so that they stretch better on small sizes.
[GB.FORM.STOCK]
* NEW: Redraw some icons again so that they stretch better on small sizes.
2023-09-15 16:59:57 +02:00
Benoît Minisini
1eb8036858 ScrollView.ScrollTo() is a new method that ensures a specific child is visible. Optimize TreeView filter refresh.
[GB.GUI.BASE]
* BUG: ScrollView: Fix automatic resize according to contents.
* NEW: ScrollView: ScrollTo() is a new method that ensures a specific child is visible, and that works even if the ScrollView contents is not yet arranged.
* OPT: TreeView: Optimize the filter refresh.
2023-09-15 16:54:41 +02:00
Benoît Minisini
3a515efc15 The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.
[GB.WEB.GUI]
* BUG: The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.
2023-09-15 15:56:29 +02:00
Benoît Minisini
f152a56784 Stock: Search new KDE5 configuration files before the old ones.
[GB.FORM]
* BUG: Stock: Search new KDE5 configuration files before the old ones.
2023-09-13 18:00:36 +02:00
Benoît Minisini
638ad8ded7 TreeView: Adding a new item now raises the Filter event on it.
[GB.GUI.BASE]
* BUG: TreeView: Adding a new item now raises the Filter event on it.
2023-09-08 02:07:23 +02:00
Benoît Minisini
5d2c35925b TreeView: Fix a possible crash in ExpandAll().
[GB.GUI.BASE]
* BUG: TreeView: Fix a possible crash in ExpandAll().
2023-09-06 17:57:27 +02:00
Benoît Minisini
b9cce4a591 TreeView: Add ExpandAll() and CollapseAll() methods.
[GB.GUI.BASE]
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods.
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods to items.
2023-08-31 03:40:30 +02:00
Benoît Minisini
937f686f09 DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
[GB.DB.FORM]
* BUG: DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
2023-08-30 22:10:40 +02:00
Benoît Minisini
edef98e286 Redraw some icons so that they stretch better on small sizes.
[GB.FORM.STOCK]
* NEW: Redraw some icons so that they stretch better on small sizes.
* NEW: Add 'chronometer' icon.
2023-08-28 14:13:14 +02:00
Benoît Minisini
1affcc5e42 GridView: Hidden cells are ignored by EnsureVisible() method. TreeView: Item height computation is faster now.
[GB.GUI.BASE]
* BUG: GridView: Hidden cells are ignored by EnsureVisible() method.
* OPT: TreeView: Item height computation is faster now.
2023-08-28 04:25:54 +02:00
W. Raets
00dbe699de Merge branch gambas:master into master 2023-08-27 13:18:46 +00:00
Benoît Minisini
5156f964ba ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
[GB.FORM]
* NEW: ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
* NEW: Add 'chronometer' stock icon.
2023-08-26 16:12:30 +02:00
Benoît Minisini
bd045aab10 TreeView: Add item 'Visible' property, and filtering support.
[GB.GUI.BASE]
* NEW: TreeView: Items got a 'Visible' property, that allows to hide it.
* NEW: TreeView: 'Filter' is a new event that allows to filter the view.
* NEW: TreeView: 'Filter()' is a new method that must be called each time the filtering state changes.
2023-08-26 16:09:08 +02:00
Benoît Minisini
57360ae309 GridView: Ignore hidden cells when moving the cursor by using the keyboard. Hidden rows are always returned as not selected.
[GB.GUI.BASE]
* NEW: GridView: Ignore hidden cells when moving the cursor by using the keyboard.
* NEW: GridView: Hidden rows are always returned as not selected.
2023-08-26 12:00:15 +02:00
Benoît Minisini
a840f497b8 Fix DataSource.Find() on MySQL. DataView now correctly unselect all lines when we are in creation mode and the view is not editable.
[GB.DB.FORM]
* BUG: DataTable: Write the SQL request of the Find() method is a way that is compatible with MySQL.
* BUG: DataView: Correctly unselect all lines when we are in creation mode and the view is not editable.
2023-08-25 04:28:56 +02:00
Benoît Minisini
75ff35c40f Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
[GB.FORM]
* NEW: Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
2023-08-24 16:48:15 +02:00
Benoît Minisini
de6cf42e58 Add and update some stock icons. Redraw zoom icons.
[GB.FORM.STOCK]
* NEW: Add some stock icons.
* NEW: Redraw zoom icons.
* NEW: Update some icons.
2023-08-24 16:46:47 +02:00
Benoît Minisini
0a04bfbb9f DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
[GB.DB.FORM]
* BUG: DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
2023-08-23 19:57:10 +02:00
Benoît Minisini
0edd7d43e3 TreeView: Expanding an item with the mouse ensures that the expanded contents is visible. Setting the 'Expanded' property manually now does not ensure that anymore.
[GB.GUI.BASE]
* NEW: TreeView: Expanding an item with the mouse ensures that the expanded contents is visible.
  Setting the 'Expanded' property manually now does not ensure that anymore.
2023-08-19 22:29:35 +02:00
Benoît Minisini
d91d11fa32 'Request.Scheme' supports more CGI headers. Add 'Response.Cookie' to handle cookie properties.
[GB.WEB]
* NEW: 'Request.Scheme' supports more CGI headers.
* NEW: 'Response.Cookie' returns a virtual object that allows to define the cookie properties.
* NEW: 'Response.SetCookie()' takes the 'Response.Cookie' properties into account when a corresponding argument is missing.
2023-08-19 22:27:10 +02:00