Commit graph

3670 commits

Author SHA1 Message Date
gambix
d8159c8289 Add a new hidden function to map to add generic _MapLayer
[GB.MAP]
* NEW: Add a new hidden function to map to add generic _MapLayer. This will allow to easily create
  information layer or other.
* NEW: Now _MapLayer have hidden functions for mouse events (_MouseMove,_MouseUp..._Enter, etc)
2022-12-09 16:41:13 +01:00
gambix
6eca2376bb _ShapeItem have now a name more accurate _MapShapeItem and is exported
[GB.MAP]
* NEW: _ShapeItem have now a name more accurate _MapShapeItem and is exported.
2022-12-09 09:57:17 +01:00
Benoît Minisini
dbb868f227 FileView: Add MaxPreviewSize property. Cancel the preview background task as soon as the control is hidden.
[GB.FORM]
* NEW: FileView: MaxPreviewSize is a new property that allows to define the size limit of previewed file.
* BUG: FileView: The preview background task is now automatically stopped as soon as the control is hidden.
* NEW: FileChooser & DirChooser: Add a menu entry that disables the preview size limit.
* NEW: FileChooser & DirChooser: Add a preview progress bar.
2022-12-04 23:12:30 +01:00
Benoît Minisini
9659286e09 Update some application icons in Gambas icon set.
[GB.FORM]
* NEW: Update some application icons in Gambas icon set.
2022-12-01 22:10:29 +01:00
Benoît Minisini
5b651355d2 Update 'key' and 'page-break' icons.
[GB.FORM.STOCK]
* NEW: Update 'key' and 'page-break' icons.
2022-12-01 22:09:55 +01:00
Benoît Minisini
c9d0702086 MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
[GB.FORM]
* BUG: MenuButton: Don't crash anymore when triggering the MenuButton shortcut.
* NEW: Add icon for Gambas 3 application in Gambas icon set.
2022-11-25 14:05:00 +01:00
Benoît Minisini
36b425aef1 The contents of the '.public' directory is now automatically served by webpages.
[GB.WEB]
* NEW: The contents of the '.public' directory is now automatically served by webpages.
2022-11-20 21:17:37 +01:00
Benoît Minisini
73fb9cc642 WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
[GB.WEB.GUI]
* BUG: WebTimer: Deleting a timer now always emits the javascript code that stops it on the client side.
2022-11-18 16:58:50 +01:00
Benoît Minisini
d8831c7bbc Fix WebTabPanel render and initial refresh of modal dialogs.
[GB.WEB.GUI]
* BUG: WebTabPanel: Correctly render all tabs, even the invisible ones.
* BUG: WebForm: Correctly cancel refreshes on Open, as the entire window will be redrawn.
2022-11-18 01:38:03 +01:00
Benoît Minisini
795cd79f61 WebTree: Item 'Selected' property does not crash anymore.
[GB.WEB.GUI]
* BUG: WebTree: Item 'Selected' property does not crash anymore.
2022-11-12 10:52:23 +01:00
Benoît Minisini
53cc9d42f1 Request.Language now correctly ignores the encoding part of the current system language.
[GB.WEB]
* BUG: Request.Language now correctly ignores the encoding part of the current system language.
2022-10-30 20:25:18 +01:00
Benoît Minisini
e59da7c0cc Update 'download' and 'upload' icons.
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
2022-10-29 17:18:27 +02:00
Benoît Minisini
c734ead9c1 WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
[GB.WEB.GUI]
* BUG: WebTree: In single selection mode, you can't unselect the selected item with the mouse anymore.
* BUG: WebTree: Settings the Mode property correctly update the control.
2022-10-29 16:52:41 +02:00
Benoît Minisini
7f16b68f0e The cookie name now depends on the application name, so that you can run different applications on the same server.
[GB.WEB.GUI]
* BUG: The cookie name now depends on the application name, so that you can run different applications on the same server.
2022-10-14 14:20:03 +02:00
Benoît Minisini
a82b8b65b9 GridView: Start scroll timer immediately.
[GB.GUI.BASE]
* BUG: GridView: Start scroll timer immediately.
2022-10-12 00:04:11 +02:00
Benoît Minisini
c5e9a57f0a Fix 'Change' event in WebTextBox and WebTextArea.
[GB.WEB.GUI]
* BUG: WebTextBox: 'Change' event works again.
* BUG: WebTextArea: 'Change' event works again.
2022-10-05 20:58:33 +02:00
Benoît Minisini
8059d45fa6 ComboBox: Fix IDE default control size.
[GB.GUI.BASE]
* BUG: ComboBox: Fix IDE default control size.
2022-09-29 01:14:45 +02:00
Benoît Minisini
2962cb3f00 FontChooser: Display font preview correctly in dark mode.
[GB.FORM]
* BUG: FontChooser: Display font preview correctly in dark mode.
2022-09-29 00:06:12 +02:00
Benoît Minisini
d664f6728a WebDrawingArea: Correctly implement the Refresh() method.
[GB.WEB.GUI]
* BUG: WebDrawingArea: Correctly implement the Refresh() method.
2022-09-24 02:27:55 +02:00
Benoît Minisini
86539be37f Fix WebTree selection, and how WebTextBox and WebTextArea changes are handled. Add server port to the session cookie.
[GB.WEB.GUI]
* BUG: Session: Add the server port to the session cookie.
* BUG: WebTree: The Clear() method correctly triggers a refresh.
* OPT: WebTree: Don't trigger useless refreshes when selection changes.
* BUG: Accumulates WebTextBox and WebTextArea changes, and send them just before the next request.
2022-09-24 02:21:34 +02:00
Benoît Minisini
ec937fcbd6 DataSource: Prevent 'Save()' method to call itself.
[GB.DB.FORM]
* BUG: DataSource: Prevent 'Save()' method to call itself.
2022-09-23 23:49:38 +02:00
Benoît Minisini
74f80c0ef9 Merge branch 'master' of gitlab.com:gambas/gambas 2022-09-17 22:51:07 +02:00
Benoît Minisini
da046feb3f Add error location when displaying an error message in the generated HTML.
[GB.MARKDOWN]
* NEW: Add error location when displaying an error message in the generated HTML.
2022-09-17 22:50:44 +02:00
Benoît Minisini
1a433879f1 Update some icons.
[GB.FORM.STOCK]
* NEW: Update 'download' and 'upload' icons.
* NEW: Redraw 'inheritance', 'gradient' and 'network' icon.
2022-09-17 22:49:05 +02:00
gambix
65a5c53ea2 [GB.REPORT2]
* BUG: Remove the use of deprecated and removed function of DocumentView
  in ReportView. The page delection is available now
2022-09-17 14:02:25 +02:00
Benoît Minisini
c35d61bd7b Redraw 'download' and 'upload' icons.
[GB.FORM.STOCK]
* NEW: Redraw 'download' and 'upload' icons.
2022-09-06 10:29:20 +02:00
Benoît Minisini
5c347359cf Redesign the 'goto' panel.
[GB.FORM.EDITOR]
* NEW: TextEditor: Do not show the 'goto' panel if there is only one line.
* NEW: TextEditor: Redesign the 'goto' panel.
* NEW: TextEditor: Update French translation.
2022-09-03 14:29:49 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
620ad9c919 TerminalView: Compute the character width so that non-fixed font characters are not truncated.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Compute the character width so that non-fixed font characters are not truncated.
2022-09-03 02:40:45 +02:00
Benoît Minisini
e5a0d48c2e Language.GetTranslations() method now browses the correct language files in executables.
[GB.UTIL]
* BUG: Language.GetTranslations() method now browses the correct language files in executables.
2022-08-26 17:01:54 +02:00
Benoît Minisini
f9207cb5a2 Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
[GB.DBUS.TRAYICON]
* BUG: Raise the 'LayoutUpdated' D-Bus signal when the current desktop is 'Cinnamon', otherwise the menu is not refreshed.
  Cinnamon seems to ignore the return value of the 'AboutToShow' event.
2022-08-26 16:51:09 +02:00
Benoît Minisini
0f99e553c9 Fix 'hibernate' and 'info' icons.
[GB.FORM.STOCK]
* NEW: Fix 'hibernate' and 'info' icons.
2022-08-26 00:20:11 +02:00
Benoît Minisini
9ae544c5b2 ListEditor: Add 'Grid' property.
[GB.FORM]
* NEW: ListEditor: Add 'Grid' property.
2022-08-26 00:19:31 +02:00
Benoît Minisini
c875154868 GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
[GB.GUI.BASE]
* BUG: GridView: Take 'Rows.Padding' and 'Columns.Padding' properties into account when drawing cell contents.
2022-08-26 00:18:39 +02:00
Benoît Minisini
72020e39a9 GridView: Add 'Rows.Padding' and 'Columns.Padding' properties. ListBox: Add 'Grid' property.
[GB.GUI.BASE]
* NEW: GridView: Add 'GridView.Columns.Padding' property for an additional cell horizontal padding.
* NEW: GridView: Add 'GridView.Rows.Padding' property for an additional cell vertical padding.
* NEW: ListBox: Add a 'Grid' property, that adds a grid and some padding inside cells when set.
2022-08-26 00:11:14 +02:00
Benoît Minisini
e2e2b55f68 DataView: Custom column alignment is taken into account now.
[GB.DB.FORM]
* BUG: DataView: Make blob editor fully translated.
* NEW: DataView: Custom column alignment is taken into account now.
* NEW: Update French translation.
2022-08-26 00:07:33 +02:00
Benoît Minisini
ada033d6dd Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
[GB.GUI.BASE]
* BUG: Do not crash while checking if an animation must be triggered when 'Application.ActiveWindow' is invalid.
2022-08-25 17:11:52 +02:00
Benoît Minisini
d1fabcfe38 TextEditor: Raise the 'Change' event when setting the 'Text' property.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when setting the 'Text' property.
2022-08-22 14:28:21 +02:00
Benoît Minisini
395e368d32 TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
[GB.FORM.EDITOR]
* BUG: TextEditor: Raise the 'Change' event when loading a file, settings the bookmarks or the disabled breakpoints.
2022-08-20 16:34:33 +02:00
Benoît Minisini
441fd57ceb Add 'MouseDown', 'MouseUp', and 'MouseMove' events in DrawingArea. Add 'Enter' and 'Leave' events in WebControl.
[GB.WEB.GUI]
* NEW: WebControl: Implement 'Enter' and 'Leave' event.
* NEW: DrawingArea: Implement 'MouseDown', 'MouseUp', and 'MouseMove' events. At the moment 'MouseMove' are raised only when a button is pressed.
* BUG: Paint: Do not crash if no brush has been defined. Let the underlying driver use the default brush instead.
2022-08-11 18:34:26 +02:00
Benoît Minisini
9b66aa13ec Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
[GB.WEB.GUI]
* NEW: Paint: Add 'LineCap', 'LineJoin', 'MiterLimit', 'LineDash' and 'LineDashOffset' properties.
* NEW: Paint: Add public constants for 'LineCap' and 'LineJoin' properties.
2022-08-09 23:59:22 +02:00
Benoît Minisini
5f958623a4 Continue 'Paint' implementation, and make the DrawingArea canvas resize automatically.
[GB.WEB.GUI]
* NEW: DrawingArea: The canvas now resizes automatically, and send its size to the server.
* NEW: Paint: Implement 'Width' and 'Height' properties.
* NEW: Paint: Add 'Translate()', 'Rotate()', 'Scale()' and 'Reset()' methods.
* NEW: Paint: Add write-only 'Operator' property. Not all composition modes are supported at the moment.
* BUG: Move focus frame when the window is resized.
2022-08-09 17:04:06 +02:00
Benoît Minisini
861eebaa7a Merge branch 'fix-dw-black' into 'master'
WebDrawingArea, fix using zero value Color.Black

See merge request gambas/gambas!274
2022-08-09 01:15:50 +00:00
Benoît Minisini
546989eb56 Fix component dependencies.
[GB.WEB.GUI]
* BUG: Fix component dependencies.
2022-08-09 03:13:35 +02:00
Benoît Minisini
687fa8460f Paint: Implement 'DrawImage' method.
[GB.WEB.GUI]
* NEW: Make the ';' explicit in internally generated javascript.
* NEW: Add 'gb.geom' as a new dependency.
* NEW: Paint: Implement 'DrawImage' method.
* BUG: Paint: Fix gradient generation routine in 'lib.js'.
* NEW: DrawingArea: Do not include the refresh code inside the main page HMTL.
2022-08-09 03:06:23 +02:00
Benoît Minisini
ecfbd41969 ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
[GB.GUI.BASE]
* BUG: ComboBox: Settings the 'List' property does not raise the 'Click' event anymore.
2022-08-09 02:47:53 +02:00
Bruce Steers
f1f23bcb93 WebDrawingArea, fix using zero value Color.Black
[GB.GUI.WEB]
* BUG: use IsNull() to check style as Color.Black is 0
2022-08-09 00:27:42 +01:00
Benoît Minisini
4930e6d406 ComboBox: Fix padding of borderless editable comboboxes.
[GB.GUI.BASE]
* BUG: ComboBox: Fix padding of borderless editable comboboxes.
* NEW: ComboBox: Always display the border when the popup is opened.
2022-08-09 01:16:09 +02:00
Benoît Minisini
47ae5e6e70 TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the 'Breakpoint' property correctly raises the 'Change' event.
2022-08-08 17:25:58 +02:00
Benoît Minisini
654daa0724 Simplify and fix the PaintBrush implementation.
[GB.WEB.GUI]
* NEW: Color: Replace 'WebControl._GetColor()' by 'Color.ToHTML()'.
* NEW: Paint: Handle the 'PaintBrush' class directly in the Paint class. The paint driver job is just translating it into javascript.
* NEW: Paint: Remove the javascript generation routine from the Gradient class and move it to the paint driver.
* NEW: Paint: Add the 'Paint.Color' method that creates a color brush.
* NEW: Paint: Move the 'PaintBrush' type constants to the 'PaintDriver' class.
2022-08-08 16:20:45 +02:00
Benoît Minisini
f350d8171a Merge branch 'web-gui-brush' into 'master'
Add PaintBrush class with gradients to gb.web.gui

See merge request gambas/gambas!273
2022-08-08 12:32:33 +00:00
Bruce Steers
299f0b3232 Update Paint.ToHTML wiki help
[GB.WEB.GUI]
* OPT: Explain in help that Color.ToHTML() will return text only useable with CSS style assignments if alpha is used.
2022-08-08 12:17:46 +01:00
Bruce Steers
892d2a7ab6 Web Paint, handle colors in PaintBrush
[GB.WEB.GUI]
* NEW: handle colors with PaintBrush.class

I do not think colors is needed in PaintBrush as can simply be the argument for Fill/Stroke. I added it as GUI Paint class does it a similar way.
2022-08-08 10:38:21 +01:00
Bruce Steers
0d611f19ba Adjust WebPaint/Gradient methods.
[GB.WEB.GUI]
* OPT: do not Export Gradient.class
* OPT: Remove Paint.Brush property and replace with Paint.SetBrush() and hidden paint._GetBrush() methods
* OPT: Rename Color.ToJS() to Color.ToHTML()
* OPT: Hide PaintBrush methods for internal use only with relevant methods.
* OPT: Check for String datatype when checking Style argument.
* NEW: default to use Brush if Style is ommited from Fill() Stroke() methods
* OPT: Replace the gw.gradient.getvar() method of lib.js with gw.paint.makeGradient()
2022-08-08 10:20:54 +01:00
Benoît Minisini
bb46ed342a FileView: Remove 'Title' and 'ShowTitle' properties.
[GB.FORM]
* NEW: FileView: Remove 'Title' and 'ShowTitle' properties.
2022-08-08 02:43:24 +02:00
Benoît Minisini
8f41ac3148 IconView: Item shape now follows the icon size and the text size. Fix 'Selection' property.
[GB.GUI.BASE]
* NEW: IconView: Item shape now follows the icon size and the text size.
* BUG: IconView: Setting the 'Selection' property now work correctly.
2022-08-08 02:42:37 +02:00
Benoît Minisini
0c0256e190 TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.
[GB.GUI.BASE]
* BUG: TextLabel: Vertically centered TextLabels take the 'AutoResize' property into account correctly.
2022-08-07 22:21:02 +02:00
Benoît Minisini
9e37aa68da DirBrowser: A new control that displays an horizontal directory browser.
[GB.FORM]
* NEW: DirBrowser: A new control that displays an horizontal directory browser.
2022-08-07 20:33:10 +02:00
Benoît Minisini
0c68489ad1 IconView: 'Select' event is correctly raised again in single selection mode.
[GB.GUI.BASE]
* BUG: IconView: 'Select' event is correctly raised again in single selection mode.
2022-08-07 16:59:49 +02:00
Bruce Steers
b308a78efc Fix typo Colour should be Color , remove old debug statement
[GB.WEB.GUI]
* BUG: had typed Colour not Color (the curse of being English ;) )
* BUG: remove Debug Paint.Linewidth call as Linewidth is now ReadOnly
2022-08-07 10:09:55 +01:00
Bruce Steers
f1beb42fd1 Merge branch 'master' of https://gitlab.com/gambas/gambas into web-gui-brush 2022-08-07 09:52:30 +01:00
Bruce Steers
379012175d web.gui, Add RadialGradient(), create a Paint folder for all Paint classes. add Color.ToJS()
[GB.WEB.GUI]
* NEW: Paint.RadialGradient() Raidal (circular) gradients
* NEW: Color.ToJS(GBColor As Integer) As String. converts a gambas color integer into javascript code.
* OPT: create a Paint folder for all Paint related classes
2022-08-07 09:29:32 +01:00
Bruce Steers
3b9c9adc96 make New PaintBrush take arguments to create the brush imediately, add help
[GB.WEB.GUI]
* NEW: PaintBrush(Type, Value) can create the brush instantly
* NEW: add inline wiki help

just a tweak or 2
2022-08-06 23:54:17 +01:00
Bruce Steers
c57ab3a25c Add PainBrush.class to gb.web.gui
[GB.WEB.GUI]
* NEW: PaintBrush.class for Colors,Images,Gradients
* NEW: implement LinearGradient as a trial run
2022-08-06 23:10:30 +01:00
Benoît Minisini
583ced3d77 WebTree: Raise the 'Select' event in single selection mode.
[GB.WEB.GUI]
* BUG: WebTree: Raise the 'Select' event in single selection mode.
2022-08-06 19:26:00 +02:00
Benoît Minisini
122d963552 ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.
[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'List' property now raises the 'Click' event if the first item is automatically selected.
2022-08-06 19:05:44 +02:00
Benoît Minisini
b4ab4c0d04 Update 'language' icon.
[GB.FORM.STOCK]
* NEW: Update 'language' icon.
2022-08-06 18:02:35 +02:00
Benoît Minisini
c5f1d4603b Use the new support of file paths in the Drag.Paste() method.
[GB.FORM.TERMINAL]
* NEW: Use the new support of file paths in the Drag.Paste() method.
2022-08-06 18:01:59 +02:00
Benoît Minisini
ce88aab1c2 Automatic DnD support and a few other enhancements in FileView.
[GB.FORM]
* NEW: FileView: Add a 'ShowTitle' property, that toggles a title bar.
* NEW: FileView: 'Title' is a new property that allows to define the title displayed on top. By default it's the path of the current directory.
* NEW: FileView: Add a 'Filter' event, that allows to filter what is displayed file by file.
* NEW: FileView: 'Paths' is a new property that returns the absolute paths of all selected elements.
* NEW: FileView: Automatic support of drag & drop.
* NEW: FileView: 'Copy()' is a new method that copy the selected elements to the clipboard as a "text/uri-list".
* NEW: Update icon map.
2022-08-06 18:00:40 +02:00
Benoît Minisini
60daa96a2e Fix DnD support, IconView, and add automatic support for file paths array in clipboard.
[GB.GUI.BASE]
* NEW: Clipboard: Remove 'CopyPath()' and 'CopyPaths()' methods.
* NEW: Clipboard: 'Copy()' now can takes a file path array as soon as the mime type is "text/uri-list".
* NEW: Clipboard: 'Paste()' now returns a file path array as soon as the mime type is "text/uri-list".
* NEW: Drag: 'Drag()' now can takes a file path array as soon as the mime type is "text/uri-list".
* BUG: GridView: 'RowAt()' now returns rows at negative coordinates.
* BUG: GridView: Use 'Color.TextBackground' when the 'Background' property is set to 'Color.Default'.
* NEW: IconView: Add 'Scroll' event.
* NEW: IconView: Rubberband selection is more clever.
* NEW: IconView: Support for DnD.
* BUG: IconView: Use 'Color.TextBackground' when the 'Background' property is set to 'Color.Default'.
* NEW: ScrollArea: Automatic scrolling during DnD now should work as expected.
* NEW: Drag: The Dnd Frame now has a darker border.
2022-08-06 17:55:06 +02:00
Benoît Minisini
386201347d FileView: Add a 'Rename' event that allows to implement a custom file renaming.
[GB.FORM]
* NEW: FileView: Add a 'Rename' event that allows to implement a custom file renaming.
2022-08-03 13:50:47 +02:00
Benoît Minisini
72481d964a IconView: fix a few problems.
[GB.GUI.BASE]
* BUG: IconView: UnselectAll() now always reset the current item.
* NEW: IconView: ESC key now unselects all items.
* BUG: IconView: Fix computation of text icon position when renaming.
2022-08-03 13:50:06 +02:00
Benoît Minisini
1179e3a0fc FileView: Correctly set the item texts so that renaming works as expected in all cases.
[GB.FORM]
* BUG: FileView: Correctly set the item texts so that renaming works as expected in all cases.
2022-08-03 12:57:00 +02:00
Benoît Minisini
4e0dcdc19d Toolbar: Configuring is a new property that returns if the toolbar is in configuration mode.
[GB.FORM.MDI]
* NEW: Toolbar: Configuring is a new property that returns if the toolbar is in configuration mode.
2022-08-03 11:38:45 +02:00
Benoît Minisini
5b1bafb69f Paint: Implement LineWidth as a write-only property.
[GB.WEB.GUI]
* NEW: Paint: Implement LineWidth as a write-only property.
2022-08-03 11:36:42 +02:00
Benoît Minisini
2dd20ec882 FileView: Add Selected property that returns if at least one item is selected.
[GB.FORM]
* NEW: FileView: Add Selected property that returns if at least one item is selected.
2022-08-03 11:33:24 +02:00
Benoît Minisini
365fcd2b8c TreeView, ColumnView, ListView, IconView: Add a Selected property that returns if at least one item is selected.
[GB.GUI.BASE]
* NEW: TreeView, ColumnView, ListView, IconView: Add a Selected property that returns if at least one item is selected.
2022-08-03 11:32:57 +02:00
Benoît Minisini
e323b08347 FileView: Correctly refresh icons on icon theme change.
[GB.FORM]
* BUG: FileView: Correctly refresh icons on icon theme change.
2022-08-03 10:06:38 +02:00
Benoît Minisini
62330a4992 Clipboard: PastePaths() method is a new method that does the contrary as CopyPaths().
[GB.GUI.BASE]
* NEW: Clipboard: PastePaths() method is a new method that does the contrary as CopyPaths().
2022-08-03 10:05:41 +02:00
Benoît Minisini
c07451ee73 New stock icons 'export' and 'import'.
[GB.FORM.STOCK]
* NEW: New stock icons 'export' and 'import'.
2022-08-02 17:38:33 +02:00
Benoît Minisini
dadeb18e32 New stock icon 'import' and 'export'. Enhance FileView control.
[GB.FORM]
* NEW: New stock icon 'import' and 'export'.
* NEW: FileView: Add a Refresh event that triggers just after the FileView has refreshed its contents.
* NEW: FileView: Add FileCount, DirCount and TotalSize properties, to get statistics on the current directory contents.
* NEW: FileView: Add a permission column in detailed view mode.
* NEW: FileView: Display a 'lock' emblem on non-readable files in icon view mode.
2022-08-02 17:38:07 +02:00
Benoît Minisini
40918a8363 TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
[GB.GUI.BASE]
* BUG: GridView: Take custom row border into account correctly.
* NEW: IconView: Selection is new property that returns an array of the keys of all selected items.
* NEW: IconView: Selection is updated during rubberband selection.
* NEW: ColumnView: The extra columns have now a default horizontal padding.
2022-08-02 17:35:35 +02:00
Benoît Minisini
5f62893d8f New stock icon 'chart' and 'office-math'. Update icon map.
[GB.FORM]
* NEW: New stock icon 'chart' and 'office-math'.
* NEW: Update icon map.
2022-08-01 22:16:53 +02:00
Benoît Minisini
df2c1b1808 New stock icon 'office-math'. Redraw some icons.
[GB.FORM.STOCK]
* NEW: New stock icon 'office-math'.
* NEW: Redraw some icons.
2022-08-01 22:16:09 +02:00
Benoît Minisini
3f9efaad6e Paint: Continue implementation.
[GB.WEB.GUI]
* NEW: Paint: Continue implementation.
2022-08-01 20:53:27 +02:00
Benoît Minisini
9494747a6c Paint: Continue implementation.
[GB.WEB.GUI]
* NEW: Paint: Continue implementation.
2022-08-01 18:21:13 +02:00
Benoît Minisini
0f4521a744 Initial implementation of WebDrawingArea control and Paint class.
[GB.WEB.GUI]
* NEW: WebDrawingArea: Initial implementation.
* NEW: Paint: Initial implementation.
2022-08-01 15:14:21 +02:00
Benoît Minisini
d64e07c69a New stock icon 'chart'. Redraw some icons.
[GB.FORM.STOCK]
* NEW: New stock icon 'chart'.
* NEW: Redraw some icons.
2022-07-31 22:12:11 +02:00
Benoît Minisini
681f91d9bb TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add a default popup menu.
* NEW: TextEditor: Add a panel to go to a specific line.
* NEW: TextEditor: ShowFindPanel() and ShowGotoPanel() are now public methods for showing the action panels.
2022-07-30 18:07:50 +02:00
Benoît Minisini
d722446841 TerminalView: Correctly update the popup menu when it opens.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Correctly update the popup menu when it opens.
2022-07-30 17:33:26 +02:00
Benoît Minisini
525f5d72ac TerminalView: Don't open the default popup if the Menu event handler exists.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Don't open the default popup if the Menu event handler exists.
2022-07-30 17:15:22 +02:00
Benoît Minisini
4adaac3377 New stock icon 'version-control'.
[GB.FORM]
* NEW: New stock icon 'version-control'.
2022-07-30 16:07:05 +02:00
Benoît Minisini
15ecb84745 New stock icon 'version-control'.
[GB.FORM.STOCK]
* NEW: New stock icon 'version-control'.
2022-07-30 16:06:49 +02:00
Benoît Minisini
f4832f5b98 String: Add new IsEMail(), IsIP() and IsIPv6() validation methods.
[GB.UTIL]
* NEW: String.IsEmail() is a new function that checks if a string seems to be an e-mail address.
* NEW: String.IsIP() is a new function that checks if a string is an IPv4 address.
* NEW: String.IsIPv6() is a new function that checks if a string is an IPv6 address.
2022-07-30 15:17:13 +02:00
Benoît Minisini
9832ab491c Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-28 22:37:15 +02:00
Benoît Minisini
04cc46d81e Update a control icon and the stock icon map.
[GB.FORM]
* NEW: Update a control icon.
* NEW: Update stock icon map.
2022-07-28 22:36:48 +02:00
Benoît Minisini
564590cfbf WebAudio: Add Tracking to the properties visible to the IDE.
[GB.WEB.GUI]
* BUG: WebAudio: Add Tracking to the properties visible to the IDE.
2022-07-28 17:24:16 +02:00
Benoît Minisini
4190e6bfea WebAudio: Fix a lot of bugs and add Tracking property.
[GB.WEB.GUI]
* BUG: WebAudio: Fix a lot of bugs and implementation problems.
* NEW: WebAudio: Tracking is a new property that tells if the Position property is updated in real-time.
2022-07-28 17:18:49 +02:00
Bruce Steers
4876c62654 WebAudio, undo removing Width from properties from previous edit.
[GB.WEB.GUI]
* BUG: had added Width to the control in a previous edit, now reverted
2022-07-28 14:32:04 +01:00
Bruce Steers
eb77982b94 WebAudio, make Play only play from 0 if not in paused state.
[GB.WEB.GUI]
* OPT: backward compatibility, Play will play from 0 if not in paused state.
2022-07-28 14:12:24 +01:00
Bruce Steers
490278010a Merge branch 'master' of https://gitlab.com/gambas/gambas into WebAudio-upgrade 2022-07-28 13:44:52 +01:00
Bruce Steers
d934c356e3 WebAudio, Add Length as synonym for Duration as in MediaPlayer
[GB.WEB.GUI]
* NEW: Length is a synonym fofr Duration
2022-07-28 13:33:39 +01:00
Bruce Steers
9b0555358a [GB.WEB.GUI]
* NEW: WebAudio.AutoPlay, Autoplay audio on loading.
* NEW: WebAudio.Sources for alternative <source> items.
* NEW: WebAudio_Ready() event fires when audio has loaded.
* NEW: WebAudio_Position() event fires as audio position changes during play.
* NEW: WebAudio_End() event fires when a track finishes
* NEW: WebAudio_Pause() event triggers when audio pauses.
* NEW: Property WebAudio.Duration gets song length.
* NEW: Property WebAudio.Position, get or set song position.
* NEW: Property Paused gets or sets paused state.
* OPT: do not reset play position to 0 on play in lib.js so audio can un-pause.
* OPT: clean up code and add inline wiki help to WebAudio.
2022-07-28 13:25:45 +01:00
Benoît Minisini
361148a42c Merge branch 'master' of gitlab.com:gambas/gambas 2022-07-27 22:01:26 +02:00
Benoît Minisini
cd84bc6545 Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-27 22:01:16 +02:00
Benoît Minisini
a133d351d9 Merge branch 'master' into 'master'
Contains new German translations

See merge request gambas/gambas!270
2022-07-27 10:07:05 +00:00
Benoît Minisini
d82e21caf3 Redraw some icons.
[GB.FORM.STOCK]
* NEW: Redraw some icons.
2022-07-27 01:24:58 +02:00
GianluigiOr
e583d63b90 Contains new German translations
[GB.REPORT2]
* NEW: The translation by Claus Dietrch is now complete.
2022-07-26 10:20:23 +02:00
Benoît Minisini
a492e0ca83 Settings: Reading a collection from a settings file now works correctly.
[GB.SETTINGS]
* BUG: Settings: Reading a collection from a settings file now works correctly.
2022-07-25 21:31:09 +02:00
Benoît Minisini
29d779d1e8 Redrawing some icons.
[GB.FORM.STOCK]
* NEW: Redrawing some icons.
2022-07-25 18:16:44 +02:00
Benoît Minisini
762e73615f Update control icons.
[GB.FORM]
* NEW: Update control icons.
2022-07-25 13:19:22 +02:00
Benoît Minisini
c0c37d6ca2 Update control icons.
[GB.DB.FORM]
* NEW: Update control icons.
2022-07-25 13:19:02 +02:00
Benoît Minisini
3889012f2a Continue redrawing some icons.
[GB.FORM.STOCK]
* NEW: Continue redrawing some icons.
2022-07-24 23:37:06 +02:00
Benoît Minisini
2789fbc305 Update project configuration files.
[CONFIGURATION]
* NEW: Update project configuration files.
2022-07-23 15:47:38 +02:00
Benoît Minisini
e859588d1f Fix upload management when 'Request.TempDir' is set.
[GB.WEB.FORM]
* BUG: Fix upload management when 'Request.TempDir' is set.
2022-07-23 15:45:56 +02:00
Benoît Minisini
f87a2ed274 Update stock icon map.
[GB.FORM]
* NEW: Update stock icon map.
2022-07-23 15:43:43 +02:00
Benoît Minisini
de2782633c TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
[GB.GUI.BASE]
* NEW: TreeView: treeview items now have a Selectable property. If set to FALSE, the item is not selectable anymore.
2022-07-23 13:17:23 +02:00
Benoît Minisini
5236699a94 Continue making icons lighter.
[GB.FORM.STOCK]
* NEW: Continue making icons lighter.
2022-07-22 20:35:19 +02:00
Benoît Minisini
619325233b Merge branch 'bsteers4-master-patch-77541' into 'master'
Update WebLabel.class, fix center align on WebLabel

See merge request gambas/gambas!269
2022-07-21 10:52:53 +00:00
Bruce Steers
d232385703 WebLabel, include justify-content:center for html
[GB.WEB.GUI]
* BUG: include justify-content:center for html compatibility
2022-07-19 17:48:23 +01:00
Bruce Steers
e3db552a06 Update WebLabel.class, fix center align on labels
[GB.WEB.GUI]
* BUG: fix center align on WebLabel, change justify-content:center to text-align:center
2022-07-19 15:21:02 +00:00
Benoît Minisini
6aa5a98d7b Continue making icons thinner.
[GB.FORM.STOCK]
* NEW: Continue making icons thinner.
2022-07-19 02:01:26 +02:00
Benoît Minisini
c72f85abeb Fix conversion of Gambas opacity to HTML transparency in colors.
[GB.WEB.GUI]
* BUG: Fix conversion of Gambas opacity to HTML transparency in colors.
2022-07-18 21:38:20 +02:00
Benoît Minisini
79ee67e5f0 CsvFile: Reading the Fields property now automatically reads the fields from the first line of the file if needed.
[GB.UTIL]
* BUG: CsvFile: Reading the Fields property now automatically reads the fields from the first line of the file if needed.
2022-07-18 20:25:38 +02:00
Benoît Minisini
cc7c994656 Continue making icons thinner.
[GB.FORM.STOCK]
* NEW: Continue making icons thinner.
2022-07-13 00:51:54 +02:00
Benoît Minisini
a671ac5927 Make many icons thinner.
[GB.FORM.STOCK]
* NEW: Make many icons thinner.
2022-07-12 20:56:35 +02:00
Benoît Minisini
0a08564257 SwitchButton: Make the middle bar narrower. FileView: Make file details fit the icon frame better in icon view mode.
[GB.FORM]
* NEW: SwitchButton: Make the middle bar narrower.
* BUG: FileView: Make file details fit the icon frame better in icon view mode.
2022-07-12 20:55:34 +02:00
Benoît Minisini
34dc2920e0 Replace the '$()' javascript function by '$_()' in the internal library to avoid conflict with other libraries like 'jquery'.
[GB.WEB.GUI]
* BUG: Replace the '$()' javascript function by '$_()' in the internal library to avoid conflict with other libraries like 'jquery'.
2022-07-09 20:34:43 +02:00
Benoît Minisini
4816155986 Some fixed in how FileChooser and DirChooser refresh their states (bookmarks and toolbar).
[GB.FORM]
* NEW: Bookmarks: Changing the bookmarks automatically updates all DirChooser and FileChooser controls.
* BUG: DirChooser & FileChooser: Showing the toolbar now automatically updates its contents according to the current view.
2022-07-07 22:41:46 +02:00
Benoît Minisini
365da0aded Forgot to declare new Clipboard methods as static.
[GB.GUI.BASE]
* BUG: Forgot to declare new Clipboard methods as static.
2022-07-02 02:19:14 +02:00
Benoît Minisini
1538e1c3a1 FileChooser: Use the new Clipboard.CopyPaths() method.
[GB.FORM]
* NEW: FileChooser: Use the new Clipboard.CopyPaths() method.
2022-07-02 00:07:22 +02:00
Benoît Minisini
6e6c5bf9e0 Add Clipboard.CopyPath() and Clipboard.CopyPaths() methods.
[GB.GUI.BASE]
* NEW: Clipboard.CopyPath() is a new method that copies a file path to the clipboard.
* NEW: Clipboard.CopyPaths() is a new method that copies a list of file paths to the clipboard.
2022-07-02 00:06:49 +02:00
Benoît Minisini
40d0fb585b Remove a possible stack overflow in javascript focus management.
[GB.WEB.GUI]
* NEW: Key events modifiers do not have two different names anymore according to the context.
* BUG: Remove a possible stack overflow in javascript focus management.
2022-07-01 00:33:16 +02:00
Benoît Minisini
711fc6942d ComboBox: Fix normalization of popup position.
[GB.GUI.BASE]
* BUG: ComboBox: Fix normalization of popup position.
2022-06-30 21:16:02 +02:00
Benoît Minisini
3ce9fb2b5e TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
[GB.FORM.EDITOR]
* BUG: TextEditor: The 'Remove()' method now normalizes its arguments to avoid crashing if they are outside the document.
2022-06-30 15:10:59 +02:00
Benoît Minisini
ae0c3bb573 Error raised by the Gambas code on the server should now normally be displayed in the browser within an alert box.
[GB.WEB.GUI]
* NEW: Error raised by the Gambas code on the server should now normally be displayed in the browser within an alert box.
2022-06-23 03:32:44 +02:00
Benoît Minisini
ad84e75f6d ComboBox: Popup list now can be searched by entering text with the keyboard.
[GB.GUI.BASE]
* NEW: ComboBox: Popup list now can be searched by entering text with the keyboard.
2022-06-21 03:24:54 +02:00
Benoît Minisini
fb078cb8a7 ValueBox: 'SelectAll()' is a new method that selects the text inside the ValueBox internal editor.
[GB.FORM]
* NEW: DateBox: 'Editor' is a new property that returns the internal MaskBox.
* NEW: ValueBox: 'SelectAll()' is a new method that selects the text inside the ValueBox internal editor.
2022-06-20 19:06:22 +02:00
Benoît Minisini
8d576493c8 SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
[GB.FORM]
* NEW: SidePanel: 'ShowButtond' is a new property that hides the little arrow buttons that toggle the panels, and also hides the side handle in transparent mode.
2022-06-07 01:45:46 +02:00
Benoît Minisini
4cf7f26d7f Focus frame should be managed correctly in all cases now.
[GB.WEB.GUI]
* BUG: Focus frame should be managed correctly in all cases now.
* NEW: Disable the web page until it is fully loaded.
2022-05-31 00:24:26 +02:00
Benoît Minisini
745d8c4456 TabPanel: Fix layout routine.
[GB.FORM]
* BUG: TabPanel: Fix layout routine.
* NEW: TabPanel: Make 'ShowTabPanel' property visible in the IDE
2022-05-30 01:49:55 +02:00
Benoît Minisini
4efa3b1343 TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
[GB.EVAL.HIGHLIGHT]
* BUG: TextHighlighter: Fix ToHTML(), ToRichText() and ToANSI() methods.
2022-05-27 17:54:49 +02:00
Benoît Minisini
971747a31b ComboBox: The popup layout is now more clever to mimic the old Qt native popup behaviour.
[GB.GUI.BASE]
* NEW: ComboBox: The width of the popup now tries to fit the largest item if possible.
* NEW: ComboBox: The popup is now positioned so that it is always fully visible as much as possible. It must not work on Wayland.
2022-05-27 15:48:24 +02:00
Benoît Minisini
d2b82a2735 Default and cancel buttons work again.
[GB.WEB.GUI]
* BUG: Default and cancel buttons work again.
2022-05-25 20:40:31 +02:00
Benoît Minisini
073c8dc4a8 SpinBox: Buttons in wide mode correctly follow the enabled state now.
[GB.GUI.BASE]
* BUG: SpinBox: Buttons in wide mode correctly follow the enabled state now.
2022-05-24 20:11:35 +02:00
Benoît Minisini
b518e8cf5a Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
[GB.WEB.GUI]
* NEW: Keyboard events are now sent to the server only if needed (i.e. if a control or a form has a KeyPress event handler).
2022-05-24 19:43:52 +02:00
Benoît Minisini
d2b7a14068 Remove the useless 'Message.Name' property.
[GB.WEB.GUI]
* BUG: Remove the useless 'Message.Name' property.
2022-05-24 16:13:50 +02:00
Benoît Minisini
af972b95dc Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
[GB.UTIL]
* NEW: Date.DaysInMonth() is a new method that returns the number of days in a month of a specific year.
2022-05-15 20:51:46 +02:00
Benoît Minisini
f1211b2b99 Flush the standard output before quitting.
[GB.WEB.GUI]
* BUG: Flush the standard output before quitting.
2022-05-02 15:38:57 +02:00
Benoît Minisini
58e06fd6bb Update the layout of the option panel.
[GB.FORM.PRINT]
* NEW: Update the layout of the option panel.
* NEW: Update French translation.
2022-05-02 00:54:41 +02:00