Commit graph

3056 commits

Author SHA1 Message Date
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
gambas
1ad5ed2ac6 Fix compilation.
[GB.FORM.MDI]
* BUG: Fix compilation.
2020-11-02 01:39:45 +01:00
gambas
86f3f6b6f5 Merge branch 'master' of gitlab.com:gambas/gambas 2020-11-01 19:05:08 +01:00
gambas
9394e35c23 Add some test forms. 2020-11-01 19:04:36 +01:00
gambix
35352de728 Use pnm instead of jpeg to avoid libjpeg problems.
[GB.SCANNER]
* BUG: Use pnm instead of jpeg to avoid libjpeg problems.
* BUG: Better progress tracking
* BUG: Remove empty entry in list
2020-11-01 14:48:12 +01:00
Bruce Steers
e1e36cabc8 Update TextEditor.class: removed anything non-highlight related 2020-10-27 20:28:44 +00:00
Bruce Steers
1a9c9fb802 Replace TextEditor.class: added "Sh" to mode/highlight properties 2020-10-27 20:06:31 +00:00
Bruce Steers
2395548d0a [GB.FORM.EDITOR]
* NEW: TextEditorMode_Sh.class: shell definition adding to highlighting/mode
2020-10-27 20:02:51 +00:00
Bruce Steers
35ebd27c6e [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter_Sh.class: shell highlight definitions
2020-10-27 20:00:33 +00:00
gambas
b376bf203d TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for 'ESC [ 3 J' sequence (clear screen).
2020-10-23 17:39:50 +02:00
gambas
1be0e488fb Margin is not transparent anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Margin is not transparent anymore.
* NEW: TextEditor: Draw the shadow after the margin again.
2020-10-22 22:17:46 +02:00
gambas
4792ca1a7e Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.CanRewrite is a new property that tells if highlighting is allowed to rewrite.
* NEW: Take the previous property into account in Gambas highlighter.

[GB.FORM.EDITOR]
* NEW: Allow rewriting during highlighting only when the Mode property is set to something different from "None" or a void string.
2020-10-22 21:56:23 +02:00
gambas
7387b7b116 MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
[GB.MEDIA.FORM]
* BUG: MediaView: Ensure that the video DrawingArea has its own window on gb.gtk/gb.gtk3.
2020-10-19 23:05:30 +02:00
gambas
4433597ff6 Fixes in ScrollArea, HSplit, VSplit and ListBox.
[GB.GUI.BASE]
* BUG: ScrollArea: Delete shadows differently to better support GTK+.
* NEW: HSplit & VSplit: Handle the Design property.
* NEW: ListBox: Setting the Index property with an incorrect value now raise an explicit error.
2020-10-19 22:54:03 +02:00
gambas
420e69a551 Fix 'make install' that should now correctly remove all installed files.
[CONFIGURATION]
* BUG: Fix 'make install' that should now correctly remove all installed files.
2020-10-17 23:57:34 +02:00
gambas
d89a27e752 ToolBar: Layout is a new synonymous property of Settings.
[GB.FORM.MDI]
* NEW: ToolBar: Layout is a new synonymous property of Settings.
2020-10-17 23:30:50 +02:00
gambas
b26fe3a32d Darker green color for 'apply' and 'call' icons.
[GB.FORM.STOCK]
* NEW: Darker green color for 'apply' and 'call' icons.
2020-10-16 12:56:22 +02:00
gambas
dfa83a2454 FileView: Path is a new read-only property that return the absolute path of the current selected file.
[GB.FORM]
* NEW: FileView: Path is a new read-only property that return the absolute path of the current selected file.
2020-10-16 01:32:52 +02:00
gambas
ba46ed80b7 MessageView: Speed animation up.
[GB.FORM]
* NEW: MessageView: Speed animation up.
2020-10-06 16:39:29 +02:00
gambas
3392fabda2 TerminalView: Take padding into account when computing the number of visible lines.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Take padding into account when computing the number of visible lines.
2020-10-06 16:38:29 +02:00
gambas
0acdc0941c The password dialog is not stacked above other windows anymore, but just raised on opening.
[GB.FORM.DIALOG]
* BUG: The password dialog is not stacked above other windows anymore, but just raised on opening.
2020-09-29 00:40:43 +02:00
gambas
3de8161ae4 Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
[GB.WEB]
* BUG: Response.SetCookie() now sets the 'SameSite' cookie property to 'Lax' as Firefox specifies.
2020-09-25 02:57:52 +02:00
gambas
6aaf3381d9 WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
[GB.WEB.GUI]
* BUG: WebComboBox: Setting the text on editable comboboxes correctly sets the Index property and raises the Click event.
2020-09-17 09:55:34 +02:00
gambas
6e3f56be4e TerminalView: Ignore window manipulations sequences.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Ignore window manipulations sequences ("ESC [ ... t").
2020-09-08 09:02:53 +02:00
gambas
027843d640 ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
[GB.FORM.MDI]
* BUG: ToolBar: Configuration of toolbars having the same key but on different forms are now distinct.
2020-09-08 00:25:55 +02:00
gambas
2a4493100f Report.Print() now works correctly whatever the toolkit or the printer.
[GB.REPORT2]
* BUG: Report.Print() now works correctly whatever the toolkit or the printer.
* BUG: Checking or unchecking the grayscale checkbox now correctly refreshes the preview.
2020-09-05 21:44:56 +02:00
gambas
b7f1e745c1 WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
[GB.WEB.GUI]
* BUG: WebComboBox: Use the 'onclick' event instead of 'onselect', so that initial click on first list element is detected.
2020-09-05 14:37:03 +02:00
gambas
93f91041e1 Message: text is not vertically truncated anymore when using a GTK+ component.
[GB.GUI.BASE]
* BUG: Message: text is not vertically truncated anymore when using a GTK+ component.
2020-08-30 20:58:55 +02:00
gambas
db06064d7b Log is now disabled by default.
[GB.WEB.GUI]
* BUG: Log is now disabled by default. Setting the GB_WEB_GUI_DEBUG environment variable to "1" enables it.
2020-08-24 10:43:40 +02:00
gambas
76637184e6 Remove a debugging message.
[GB.SETTINGS]
* BUG: Remove a debugging message.
2020-08-21 11:22:30 +02:00
Benoît Minisini
e193d7ec8c Merge branch 'gbs3' into 'master'
Gbs3

See merge request gambas/gambas!152
2020-08-21 09:20:19 +00:00
gambas
ccb5471dcf ListBox: Click event is now raised on the next event loop.
[GB.GUI.BASE]
* NEW: ListBox: Click event is now raised on the next event loop.
2020-08-20 01:41:34 +02:00
gambas
796ec29fbb Merge branch 'master' of https://gitlab.com/gambas/gambas 2020-08-20 01:37:54 +02:00
gambas
6a505680e2 DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
[GB.DB.FORM]
* NEW: DataComboView: Handle keyboard shortcuts: Space, Enter, Down, and Escape key.
2020-08-20 01:37:47 +02:00
Brian G
ca34256ccf [gb.texthighlight]
* FIX:  Removed ToConsole
* NEW:  Created new branch for console highlight
* NEW:  Updated TextHighlight to include ToConsole, for console print highlighting support
2020-08-19 06:33:17 -07:00
gambas
5be18a279d Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
[GB.DESKTOP]
* BUG: Desktop.SendMail() now waits for the completion of the 'xdg-email' script, so that errors are raised.
2020-08-18 10:59:20 +02:00
gambas
b00a552f62 TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Line numbers do not overlap expanders anymore when text editor has custom highlighting.
2020-08-11 14:13:34 +02:00
gambas
1eb943644e Display grid if the grid property is set, and ignore vertical alignment when drawing the contents.
[GB.DB.FORM]
* BUG: DataComboView: Ignore vertical alignment when drawing the contents.
* NEW: DataComboView: Draw grid inside the combo if the grid property is set (the code is actually in the previous commit).
2020-08-03 02:33:15 +02:00
gambas
0720b6763d Fix popup management, and save drawing context when running a style method.
[GB.GTK]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.

[GB.GTK3]
* BUG: Fix popup management.
* BUG: Save drawing context when running a style method.
2020-08-03 02:22:02 +02:00
gambas
ff5541cdb9 DataComboView: Fix default event and prevent the popup contents from scrolling horizontally.
[GB.DB.FORM]
* BUG: DataComboView: Fix default event.
* NEW: DataComboView: Prevent the popup contents from scrolling horizontally.
2020-08-03 00:21:49 +02:00
Brian G
145d47e451 [gb.texthighlight
* Add:    Updated TextHighlight to include ToConsole, for console print highlighting support
2020-07-30 14:11:30 -07:00
Brian G
6189fba3d0 # Add Updated TextHighlight to include ToConsole, for console color support 2020-07-30 13:00:24 -07:00
Brian G
06d6dffc9d Merge branch 'master' of gitlab.com:ercoupeflyer/gambas 2020-07-30 12:56:49 -07:00
Brian G
26e98d1155 # Add Updated TextHighlight to include ToConsole, for console color support 2020-07-30 12:52:45 -07:00
gambas
a3ee48178a TrayIcon: Update the DBus menu only if necessary.
[GB.DBUS.TRAYICON]
* BUG: TrayIcon: Update the DBus menu only if necessary.
2020-07-29 22:12:20 +02:00
gambas
22afec7de4 On KDE5, don't try to use old KDE4 wallet if it is not available.
[GB.DESKTOP]
* BUG: On KDE5, don't try to use old KDE4 wallet if it is not available.
2020-07-29 11:45:41 +02:00
gambas
323100a39c Setting action tooltip does not crash anymore on menus.
[GB.GUI.BASE]
* BUG: Setting action tooltip does not crash anymore on menus.
2020-07-19 00:51:54 +02:00
gambas
7c56865d97 Fix '&=' operator optimization when the added string is void.
[INTERPRETER]
* BUG: Fix '&=' operator optimization when the added string is void.
2020-07-13 15:41:12 +02:00
gambas
c45afb88ed Fix again automatic insertion of string delimiters.
[GB.FORM.EDITOR]
* BUG: Fix again automatic insertion of string delimiters.
2020-07-09 13:24:02 +02:00
Benoît Minisini
6d6f99887a Merge branch 'master' into 'master'
Updated brazilian portuguese translations

See merge request gambas/gambas!150
2020-07-04 09:52:12 +00:00
gambas
4b34a2b9d5 Settings: Add a few methods and properties.
[GB.SETTINGS]
* NEW: Settings.Count is a new property that returns the total number of settings.
* NEW: Settings.Exist() is a new method that return if a specific settings key is set.
* NEW: Settings.Keys.Count is a new property that returns the number of children slots.
* NEW: Settings.Keys.Exist() is a new method that returns if a specific child slot exists.
* NEW: Settings.Keys.All is a new property that returns an array of all children slot keys.
2020-07-03 01:55:06 +02:00
gambas
7923d08a41 WebComboBox: Fix initial value of the Index property.
[GB.WEB.GUI]
* BUG: WebComboBox: Fix initial value of the Index property.
2020-07-02 22:51:00 +02:00
gambas
7d0eb6598f Disabled widgets now ignore all pointer events.
[GB.WEB.GUI]
* BUG: Disabled widgets now ignore all pointer events.
2020-07-02 20:17:17 +02:00
gambas
5b6d3a1b2e TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
2020-06-29 20:33:32 +02:00