Commit graph

3031 commits

Author SHA1 Message Date
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
gambas
3b8166343f Update project version. 2020-06-29 20:25:11 +02:00
gambas
f8da3dbd6b Minus sign reformatting. 2020-06-29 20:24:04 +02:00
gambas
4b2967df56 Remove useless void lines. 2020-06-29 20:23:07 +02:00
gambas
dfd64cde24 Display a better error message if the settings file directory disappeared.
[GB.SETTINGS]
* NEW: Display a better error message if the settings file directory disappeared.
2020-06-29 20:20:57 +02:00
gambas
dcce2f9d83 DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
[GB.DESKTOP]
* BUG: DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
2020-06-29 20:19:32 +02:00
gambas
445d8784a8 FileChooser & DirChooser: ShowToolbar is a new property that toggles the toolbar.
[GB.FORM]
* NEW: FileChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: DirChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: FileView: Display a text inside the view when a directory is empty.
2020-06-27 12:01:59 +02:00
gambas
1ba3d0cb5a FileChooser: Add a separator above the bottom filters when Border property is unset.
[GB.FORM]
* NEW: FileChooser: Add a separator above the bottom filters when Border property is unset.
2020-06-24 19:50:36 +02:00
gambas
dc0ad72612 MediaView: Add Volume and Muted properties.
[GB.MEDIA.FORM]
* NEW: MediaView: Volume is a new property to return or set the audio volume.
* NEW: MediaView: Muted is a new property that defines if the audio is muted or not.
2020-06-22 02:10:20 +02:00
gambas
42f32030e3 TextEditor: Fix cursor move down and string closing routine.
[GB.FORM.EDITOR]
* BUG: TextEditor: Moving down now should work as expected on wrapped lines.
* NEW: TextEditor: Draw wrapped lines with little arrows at the end.
* NEW: TextEditor: String closing routine should be less stupid now.
2020-06-19 13:24:50 +02:00
gambas
0406cdf471 Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
[GB.FORM.STOCK]
* NEW: Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
2020-06-14 00:50:22 +02:00
gambas
9c2f725e01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-12 22:13:27 +02:00
gambas
de483d68bc Update project icon.
[GB.FORM.PRINT]
* NEW: Update project icon.
2020-06-12 22:13:18 +02:00
gambas
87b69361b4 TextEditor: Draw margin background and current line differently.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw margin background and current line differently.
2020-06-12 22:12:32 +02:00
Gen Braga
8f1d99c3b6 Added Brazilian Portuguese translations
[GB.REPORT2]
* NEW: Added Brazilian Portuguese translations.
2020-06-12 02:37:14 -03:00
Gen Braga
554c80f419 Updated Brazilian Portuguese translations
[GB.FORM.PRINT]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:31:03 -03:00
Gen Braga
6303fbe01c Updated Brazilian Portuguese translations
[GB.FORM.MDI]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:21:23 -03:00
Gen Braga
dc70dc9146 Updated Brazilian Portuguese translations
[GB.DB.FORM]
* NEW: Updated Brazilian Portuguese translations.
2020-06-12 02:14:00 -03:00
Gen Braga
5867236c38 Update Brazilian Portuguese translations
[GB.ARGS]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:51:01 -03:00
Gen Braga
e9d4a30e84 Update Brazilian Portuguese translations
[GB.WEB.FORM]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:44:21 -03:00
Gen Braga
6502ebb9f6 Update Brazilian Portuguese translations
[GB.WEB.GUI]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:42:55 -03:00
Gen Braga
ddebb7f341 Update Brazilian Portuguese translations
[GB.FORM.TERMINAL]
* NEW: Updated Brazilian Portuguese translations.
2020-06-11 21:41:03 -03:00
Gen Braga
553553ab8d Update brazilian portuguese translations
[GB.FORM.TERMINAL]
* NEW: Updated brazilian portuguese translations.
2020-06-11 21:39:19 -03:00
Gen Braga
916c154ef6 Update brazilian portuguese translations
[GB.FORM]
* NEW: Updated brazilian portuguese translations.
2020-06-11 21:38:02 -03:00
Gen Braga
af5a34d9b2 Updated PT-BR translation
[GB.FORM.DIALOG]
* NEW: Updated brazilian portuguese translation.
2020-06-11 21:25:43 -03:00
Christof Thalhofer
c4dabf3a92 gb.markdown update tests for newer gb.test
[GB.MARKDOWN]
*OPT: update tests for newer gb.test
2020-06-11 11:49:26 +02:00
gambas
7ef182f43d Font size is now the same whatever the printer resolution.
[GB.REPORT2]
* BUG: Font size is now the same whatever the printer resolution.
2020-06-11 11:25:42 +02:00
gambas
74bedf3204 String.FromHTML() has better support for <p>, <ul>, <li> and <ol> markups.
[GB.UTIL]
* NEW: String.FromHTML() has better support for <p>, <ul>, <li> and <ol> markups.
2020-06-11 02:15:12 +02:00
Benoît Minisini
d1ec361f43 Merge branch 'markdowntest' into 'master'
gb.markdown a couple of tests for common problems

See merge request gambas/gambas!148
2020-06-09 15:03:54 +00:00
gambas
2aed760943 CsvFile: Quote() is a new method that quotes a value for the CSV format according to its separator and escape characters.
[GB.UTIL]
* NEW: CsvFile: Quote() is a new method that quotes a value for the CSV format according to its separator and escape characters.
2020-06-09 16:37:12 +02:00
gambas
0eea48da06 FileView: Display a lock icon when a directory is unreadable.
[GB.FORM]
* NEW: Update translations.
* NEW: ListEditor: The insert button text is now "Add".
* NEW: DirView: Do not display an error when a directory is unreadable.
* NEW: FileView: Display a lock icon when a directory is unreadable.
2020-06-06 20:59:41 +02:00
gambas
ca4cdf0c6c Add translations.
[GB.GUI.BASE]
* NEW: Add translations.
2020-06-06 20:57:50 +02:00
gambas
909ea17fd0 Update some icons and add 128 pixels versions of 'lock' and 'unlock' icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 128 pixels versions of 'lock' and 'unlock' icons.
2020-06-06 20:57:12 +02:00
gambas
42bdddb471 Message: Add a button in message boxes to copy the message in the clipboard.
[GB.GUI.BASE]
* BUG: Message: Add a button in message boxes to copy the message in the clipboard.
2020-06-06 18:01:52 +02:00
gambas
80fb94caf9 Add component icon.
[GB.FORM.PRINT]
* NEW: Add component icon.
2020-06-06 00:27:05 +02:00
gambas
9524aad64d Add 'rename' stock icon.
[GB.FORM]
* NEW: Add 'rename' stock icon.
2020-06-06 00:26:49 +02:00
gambas
53efe0add2 Update some icons and add 'rename' icon.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 'rename' icon.
2020-06-06 00:25:08 +02:00
gambas
4650dacc28 ListEditor: Add Index property, Find() and Remove() methods.
[GB.FORM]
* NEW: ListEditor: Text property now return or set the text currently edited.
* NEW: ListEditor: Add Index property.
* NEW: ListEditor: Add Find() method.
* NEW: ListEditor: Add Remove() method.
2020-06-03 16:13:40 +02:00
gambas
4029d4c727 ListBox: Click event is now raised when the Index property is modified.
[GB.GUI.BASE]
* BUG: ListBox: Click event is now raised when the Index property is modified.
2020-06-03 15:49:42 +02:00
Christof Thalhofer
23e297cead gb.markdown a couple of tests for common problems
[GB.MARKDOWN]
* NEW: a couple of tests for common problems
2020-05-27 21:22:45 +02:00
gambas
e447aa178d TreeView: The Selection property now handle single selection mode correctly.
[GB.GUI.BASE]
* BUG: TreeView: The Selection property now handle single selection mode correctly.
2020-05-26 23:04:03 +02:00
gambas
ed27b8cd67 Fix TreeView MouseDown event and GridView Select event.
[GB.GUI.BASE]
* BUG: TreeView: MouseDown event is raised again.
* BUG: GridView: Select event is not raised twice on click anymore.
2020-05-26 22:57:17 +02:00
gambas
348e587c69 Add 'key' stock icon.
[GB.FORM]
* NEW: Add 'key' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'key' stock icon.
* NEW: Fix a few icons.
2020-05-26 22:11:41 +02:00
gambas
2132e389b5 Better default colors.
[GB.FORM.TERMINAL]
* NEW: Better default colors.
2020-05-26 21:17:40 +02:00
gambas
8502e05556 Settings.Clear() now takes an extra optional boolean argument that tells to remove slots recursively.
[GB.SETTINGS]
* NEW: Settings.Clear() now takes an extra optional boolean argument that tells to remove slots recursively.
2020-05-26 20:37:29 +02:00
gambas
2f8fccb48b GridView: Click event works again.
[GB.GUI.BASE]
* BUG: GridView: Click event works again.
2020-05-26 13:18:46 +02:00
gambas
11f450f80e Add 'text-lower' and 'text-upper' stock icons.
[GB.FORM]
* NEW: Add 'text-lower' and 'text-upper' stock icons.
2020-05-26 13:17:13 +02:00
gambas
fcf85dd1a4 Add 'text-lower' and 'text-upper' stock icons.
[GB.FORM.STOCK]
* NEW: Add 'text-lower' and 'text-upper' stock icons.
2020-05-26 13:16:46 +02:00
gambas
5004f20609 Move 'gb.test' sources in '/main/lib'.
[INTERPRETER]
* NEW: Remove the now useless testing specific code.
* NEW: 'gbx3 -T' now just loads the 'gb.test' component and calls Test.Main() passing it the '-T' option argument.

[GB.TEST]
* NEW: Move 'gb.test' sources in '/main/lib'.
* NEW: 'gb.test' has now a part written in C that allows him to load project classes on demand.
2020-05-25 21:24:28 +02:00
gambas
5e5bf82f7b Test._List() now returns a comma-separated list.
[GB.TEST]
* NEW: Test._List() now returns a comma-separated list.
2020-05-25 11:08:21 +02:00
gambas
234b28c236 Selecting while moving the mouse cursor now raises the Select event only when the mouse button is depressed.
[GB.GUI.BASE]
* NEW: GridView: Selecting while moving the mouse cursor now raises the Select event only when the mouse button is depressed.
* BUG: TreeView: Setting the Key value with an unknown key now unselects the current key.
2020-05-25 11:02:44 +02:00
gambas
cd6a30b015 ButtonBox: Filter icons are now a little darker.
[GB.FORM]
* NEW: ButtonBox: Filter icons are now a little darker.
2020-05-24 23:53:05 +02:00
gambas
7ae7d405e6 TreeView: Fix multiple selection.
[GB.GUI.BASE]
* BUG: TreeView: Fix multiple selection.
* BUG: TreeView: Calling Add() or Remove() now automatically cancels the current renaming.
2020-05-24 23:36:27 +02:00
gambas
b37f67dd29 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-23 13:59:54 +02:00
gambas
5bc620c5e7 Redraw 'halt' icon again.
[GB.FORM.STOCK]
* NEW: Redraw 'halt' icon again.
2020-05-23 13:59:37 +02:00
gambas
fc115b03d1 Redraw the 'halt' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'halt' icon.
2020-05-23 12:46:29 +02:00
gambas
874397262a Bold text is made bolder when the background is dark.
[GB.FORM.EDITOR]
* NEW: Bold text is made bolder when the background is dark.
2020-05-23 12:45:36 +02:00
gambas
5feb51a742 Picture[] now automatically inverts the image for dark themes.
[GB.GUI.BASE]
* NEW: Picture[] now automatically inverts the image for dark themes.
2020-05-23 12:44:38 +02:00
Christof Thalhofer
a79bd9d258 gb.test minor fix load component gb.util 2020-05-23 12:22:12 +02:00
Christof Thalhofer
ae5dff6681 gb.test now compatible with the new interpreter calls
[GB.TEST]
* OPT: Test.Main restored
* NEW: Test.Main eats testsuite string
* OPT: TestSuite runs TestCases sorted
* NEW: Summary Ran: prints normalized testsuite string
* NEW: TestCommand compatible with new testsuite string
* NEW: Tests for introspection of all tests
2020-05-23 12:09:34 +02:00
Christof Thalhofer
21500e1667 gb.test plan TestAllAsserts 2020-05-23 11:52:32 +02:00
gambas
7b4b6b3152 Better default colors.
[GB.FORM.TERMINAL]
* NEW: Better default colors.
2020-05-23 09:36:37 +02:00
Christof Thalhofer
beb88b488c gb.test can run tests called by the interpreter
[GB.TEST]
* NEW: gb.test can run tests called by the interpreter
New methods Test._Add and Test._Run
2020-05-23 08:10:33 +02:00
gambas
367c9b48c6 Update some icons and add 128 pixels version of some other ones.
[GB.FORM.STOCK]
* NEW: Update some icons.
* NEW: Add 128 pixels version of some other icons.
2020-05-22 18:38:26 +02:00
gambas
029cb82ece Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-22 16:08:07 +02:00
gambas
7fc56e891d Implement the Test._List() method.
[GB.TEST]
* NEW: Implement the Test._List() method.
2020-05-22 16:07:50 +02:00
gambas
f55faedede ClassStat: Add the flag for test modules.
[GB.UTIL]
* NEW: ClassStat: Add the flag for test modules.
2020-05-22 16:02:12 +02:00
Christof Thalhofer
36bb66ec07 Testrunner.List throw error on Bail out!
[GB.TEST]
* BUG: Testrunner.List throw error when gb.test reported Bail out!
2020-05-22 09:59:14 +02:00
gambas
3388dab780 Fix how mandatory fields are highlighted by the SetFocus(True) method.
[GB.WEB.GUI]
* NEW: Store the error log in '/tmp/gambas.XXX/gb.web.gui' directory now.
* BUG: Fix how mandatory fields are highlighted by the SetFocus(True) method.
2020-05-22 00:27:49 +02:00
gambas
84b2f1bc60 Update many icons and add 128 pixels version of some other ones.
[GB.FORM.STOCK]
* NEW: Add 128 pixels version of some other icons.
* NEW: Update many icons.
2020-05-21 20:53:21 +02:00
gambas
2e3ffaa894 FileProperties: Fix an error triggered by the preview.
[GB.FORM]
* BUG: FileProperties: Fix an error triggered by the preview.
2020-05-21 20:43:15 +02:00
gambas
8a03cd8751 Update some icons and add 128 pixels version of some icons.
[GB.FORM.STOCK]
* NEW: Add 128 pixels version of some icons.
* NEW: Update some icons.
2020-05-20 11:59:56 +02:00
gambas
ff5ec08817 TreeView: Fix selection and scrolling behaviour when ShowCheck property is set.
[GB.GUI.BASE]
* BUG: TreeView: Fix selection and scrolling behaviour when ShowCheck property is set.
2020-05-20 11:40:27 +02:00
gambas
9ddc98866d ToolBar: Draw a selected border in design mode.
[GB.FORM.MDI]
* NEW: ToolBar: Draw a selected border in design mode.
2020-05-19 22:31:51 +02:00
gambas
abac17432b TreeView: Enhance behaviour when ShowCheck is set. Use radio buttons in single selection mode.
[GB.GUI.BASE]
* NEW: TreeView: Use radio buttons when ShowCheck property is set with single selection mode.
* NEW: TreeView: Clicking anywhere in the row from the check now toggles it when ShowCheck property is set.
2020-05-19 22:31:14 +02:00
Benoît Minisini
f1c9ef9a77 Merge branch 'testing-system' into 'master'
gb.test integration to the IDE 2nd attempt

See merge request gambas/gambas!146
2020-05-19 08:04:38 +00:00
gambas
af8326caa5 Update many stock icons, and add new ones.
[GB.FORM]
* NEW: Add new stock icons.

[GB.FORM.STOCK]
* NEW: Update many stock icons, and add new ones.
2020-05-19 10:01:53 +02:00
gambas
2176a507b1 Compile 'gb.form.stock' before 'gb.form' now that is it checked in the 'gb.form' project components.
[CONFIGURATION]
* BUG: Compile 'gb.form.stock' before 'gb.form' now that is it checked in the 'gb.form' project components.
2020-05-18 17:55:32 +02:00
gambas
cc8ff4fdb0 ListEditor: Add Unique property and Activate event.
[GB.FORM]
* NEW: ListEditor: Unique is a new property that ensures that all ListEditor elements are unique.
* NEW: ListEditor: Activate event is now emitted if the user clicks twice on the list.
2020-05-18 15:32:53 +02:00
gambas
078a1ab680 Use the new Application.DarkTheme property.
[GB.GUI.BASE]
* NEW: Use the new Application.DarkTheme property.
2020-05-18 13:25:42 +02:00
gambas
363b4d377d New stock icons.
[GB.FORM]
* NEW: New stock icons.
2020-05-18 13:25:11 +02:00
gambas
0b78bb4f0a New icons and update existing ones.
[GB.FORM.STOCK]
* NEW: New icons and update existing ones.
2020-05-18 13:24:16 +02:00
gambas
a0aa9f18bf Use the stock scanner icon as project icon.
[GB.SCANNER]
* NEW: Use the stock scanner icon as project icon.
2020-05-18 09:00:01 +02:00
gambas
f549fd2ec3 New stock icons. Add a Picture property to SliderBox.
[GB.FORM]
* NEW: ColorChooser: Use icons instead of labels for color components.
* NEW: SliderBox: Add a Picture property.
* NEW: SliderBox: The default value is now applied when double-clicking on the spinbox, not the slider.
* NEW: Add new stock icons.
2020-05-18 08:57:36 +02:00
gambas
cb505b8548 Add new stock icons
[GB.FORM.STOCK]
* NEW: Add new stock icons
2020-05-18 08:41:46 +02:00
Christof Thalhofer
b1b0d0a130 gb.test testsuites
[GB.TEST]
* NEW: testsuites in .test
2020-05-17 13:54:58 +02:00
Christof Thalhofer
d75f30a142 Merge branch 'master' of https://gitlab.com/gambas/gambas into testing-system 2020-05-17 13:23:20 +02:00
Christof Thalhofer
608e5f80ad FTestSuite to organize test
[DEVELOPMENT ENVIRONMENT]
* NEW: Form FTestSuite to organize test suites
[GB.TEST]
* OPT: Prints all tests as string with Test.Main(_TRIG_GETTESTS)
2020-05-17 13:19:24 +02:00
gambas
d0ee8dd92c FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
[GB.FORM]
* BUG: FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
* NEW: Add 'unselect' stock icon.
2020-05-17 13:19:24 +02:00
Tobias Boege
ea1c0d2fe0 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-17 13:19:24 +02:00
gambas
886a403ea7 Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-17 13:19:24 +02:00
gambas
0264dd173e WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-17 13:19:24 +02:00
gambas
761b3d64c1 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-17 13:19:24 +02:00
gambas
3754b37cfa Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2020-05-17 08:28:17 +02:00
gambas
da8182acbc Do not unquote "+" into space in query strings.
[GB.WEB]
* BUG: Do not unquote "+" into space in query strings.
2020-05-16 19:42:33 +02:00
gambas
930774032a URL.UnQuote() takes a new optional argument that prevent unquoting "+" into space.
[GB.UTIL.WEB]
* BUG: Fix query encoding & decoding in URLQuery class.
* NEW: URL.UnQuote() takes a new optional argument that prevent unquoting "+" into space.
* NEW: URL.Quote() now quotes spaces as "%20" and not "+" anymore.
2020-05-16 19:36:27 +02:00
gambas
f4acc8407b TreeView: Fix selection and keyboard management when ShowCheck property is set.
[GB.GUI.BASE]
* BUG: TreeView: Fix selection and keyboard management when ShowCheck property is set.
2020-05-16 17:51:49 +02:00
gambas
849a34857f TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
[GB.GUI.BASE]
* BUG: TreeView: Take padding into account when interpreting mouse events.
* BUG: TreeView: Fix right-to-left layout management.
* NEW: TreeView: ShowCheck is a new property that uses checkboxes to handle selection mode.
* NEW: Paint.Check() is a new method that draws a check mark.
2020-05-16 10:15:34 +02:00
gambas
a04fa2a24b FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
[GB.FORM]
* BUG: FileChooser & DirChooser: Custom bookmarks are now correctly refreshed when they change.
* NEW: Add 'unselect' stock icon.
2020-05-16 01:41:58 +02:00
gambas
aa46af3681 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 20:35:01 +02:00
gambas
a06a6485fd Update many icons.
[GB.FORM.STOCK]
* NEW: Update many icons.
2020-05-14 20:34:51 +02:00
gambas
4bda6391ec WebButton: Don't react to click when disabled.
[GB.WEB.GUI]
* BUG: WebButton: Don't react to click when disabled.
2020-05-14 20:34:03 +02:00
Christof Thalhofer
81f17d712c gb.test executes all tests with "*" 2020-05-14 14:20:08 +02:00
Christof Thalhofer
fa933ee86f small changes FTestSuite
Gambas3 did not compile, tests did not occur if not compiled
2020-05-14 14:12:10 +02:00
Christof Thalhofer
b445a7e859 gb.test integration to the IDE. TestSuites
[DEVELOPMENT ENVIRONMENT]
* NEW: FTestSuite to configure testsuites and store in project in .tests
[GB.TEST]
* NEW: testsuites
2020-05-14 13:15:54 +02:00
Christof Thalhofer
769b611362 gb.test some changes for integration to IDE et al
[GB.TEST]
* NEW: TestRunner.List returns all tests as TestCommand[]
* NEW: Test.Main can be triggered to report all tests as string
* NEW: TestCommand FromString and ToString to convert TestCopmmands into objects and vice versa
2020-05-14 13:08:03 +02:00
Tobias Boege
05d9fdf865 Make TestRunner.Run return its result
[GB.TEST]
* BUG: TestRunner.Run returns its result TestStats now.
2020-05-14 12:53:17 +02:00
gambas
ef32c2e7a2 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-14 09:39:11 +02:00
gambas
7b30f81ab2 Add a project icon.
[GB.TEST]
* NEW: Add a project icon.
* BUG: Fix an english word in 'README.md'.
2020-05-14 09:38:23 +02:00
Christof Thalhofer
427ed14d2e gb.test: Rename TestHarness to TestRunner, TestRunner.List 2020-05-13 14:20:57 +02:00
Christof Thalhofer
cbefcd7660 gb.test: new function Test.AllTestsJson
[GB.TEST]
* NEW: New function Test.AllTestsJson
2020-05-13 11:14:19 +02:00
gambas
fc79447baa Update a few icons.
[GB.FORM.STOCK]
* NEW: Update a few icons.
2020-05-12 09:42:39 +02:00
gambas
c681983e01 Use the Unity protocol on all desktops.
[GB.DBUS.TRAYICON]
* BUG: Use the Unity protocol on all desktops.
2020-05-12 09:41:46 +02:00
Christof Thalhofer
afd35b4517 Refactoring and further tasks to do
Rename container and testcase to the more gambassy names testmodule and
testmethod. started plan selftests.
2020-05-12 00:49:33 +02:00
Christof Thalhofer
e3c8df5568 gb.test: new function Test.GetAllTests
[GB.TEST]
* New: Test.GetAllTests returns a collection of all testmodules and their testmethods
2020-05-11 23:28:42 +02:00
Christof Thalhofer
2d2c545576 gb.test: Assert documentation
[GB.TEST]
* New: Assert is an instruction which is extended by gb.test. It's original functionality is now documented in the Assert.module.
2020-05-11 22:31:08 +02:00
Christof Thalhofer
77436fd06d gb.test Setup and Teardown methods hidden 2020-05-11 22:26:08 +02:00
gambas
492dccc28f Make the component visible again.
[GB.TEST]
* NEW: Make the component visible again.
* BUG: Fix two typos in comments.
2020-05-11 21:02:39 +02:00
Christof Thalhofer
31b519d733 gb.test updated unittesthelloworld
[GB.TEST]
* NEW: example unittesthelloworld does not load component gb.test
2020-05-10 09:06:43 +02:00
gambas
db95af0cb2 Make 'gb.test' component hidden, as it is now loaded automatically.
[GB.TEST]
* NEW: Raise the component to the 'Stable but not finished' state.
* NEW: Make the component hidden, as it is now loaded automatically.
2020-05-07 15:15:57 +02:00
Tobias Boege
fa27ff8204 gb.test: Tidy up TestHarness
[GB.TEST]
* OPT: Remove cruft from TestHarness. Use the new `gbx3 -T` mode. Make it a module.
2020-05-07 13:15:57 +02:00
Tobias Boege
e3a9ac58e8 gb.test: Exit with appropriate status code
[GB.TEST]
* BUG: Test.Main() now `Quit`s with 0 or 1 indicating whether tests passed or failed.
2020-05-07 13:15:54 +02:00
Tobias Boege
a965afa0e5 gb.test: Hide more classes and symbols
[GB.TEST]
* OPT: Hide more classes and symbols.

TapPrinter, TapParser and TapContext are not exported anymore. The Tap
constants are moved into other classes. Some public methods/properties
that expose printer, parser or context are hidden.
2020-05-07 12:57:55 +02:00
gambas
3c510ed644 Merge branch 'master' of gitlab.com:gambas/gambas 2020-05-04 21:31:04 +02:00
gambas
7612fb0268 Stock: Better support of some icon themes. Add 'share' stock icon.
[GB.FORM]
* BUG: Stock: Better support of some icon themes.
* NEW: New stock icon 'share'.

[GB.FORM.STOCK]
* NEW: New stock icon 'share'.
2020-05-04 21:27:23 +02:00
gambas
5cfd01f3c1 WebListBox: Fix read of Index property.
[GB.WEB.GUI]
* BUG: WebListBox: Fix read of Index property.
2020-05-04 21:26:03 +02:00