Commit graph

2100 commits

Author SHA1 Message Date
gambas
f5172146cd Add a javascript function that copies the contents of a text input or text area to the clipboard.
[GB.WEB.FORM]
* NEW: Add a javascript function that copies the contents of a text input or text area to the clipboard.
2017-10-07 02:08:40 +02:00
gambas
3418ce77f3 Date.ToRFC822() now formats hours, minutes and seconds with two digits.
[GB.UTIL]
* BUG: Date.ToRFC822() now formats hours, minutes and seconds with two digits.
2017-10-07 02:07:18 +02:00
gambas
bb0498014f TableView.Edit() works correctly again when called from a DblClick event.
[GB.FORM]
* BUG: TableView.Edit() works correctly again when called from a DblClick event.
2017-10-07 02:06:28 +02:00
gambas
e82677ac35 Make String.RemoveDiacritics() faster.
[GB.UTIL]
* OPT: Make String.RemoveDiacritics() faster.
2017-10-04 01:02:45 +02:00
Tony Morehen
2dbf366e02 SaveIniFile renamed to WriteIniFile and ReadIniFile renamed to LoadIniFile, both made Private 2017-10-01 16:54:30 -04:00
Tony Morehen
3618e5d9c1 DesktopFile.Class enhanced to handle complex desktop files and to improve error handling
[gb.desktop]
* NEW Actions property -- returns a string array of the names of
  additional [Desktop Actions ...] sections
* NEW AlternativeActions property -- returns a collection of action
  names (key) and action exec commands (value).
* NEW WorkingDirectory property -- returns the application's working directory
* NEW RunAsRoot function -- runs the application as root
* NEW Language support added to additional properties
2017-09-30 21:49:35 -04:00
gambas
c3f6105cbd Make some test folders untranslatable in some components.
[GB.DB.FORM]
* NEW: Make test folder untranslatable.

[GB.FORM.DIALOG]
* NEW: Make test folder untranslatable.

[GB.FORM.MDI]
* NEW: Make test folder untranslatable.

[GB.FORM]
* NEW: Make test folder untranslatable.
* NEW: Define watch stock icon breeze themes.

[GB.REPORT2]
* NEW: Make test folder untranslatable.
* BUG: Make some strings untranslatable.
2017-09-30 13:27:15 +02:00
gambas
ae6ace6580 ColumnView: Do the internal automatic column resize only for TreeView and ListView.
[GB.GUI.BASE]
* BUG: ColumnView: Do the internal automatic column resize only for TreeView and ListView.
  This fixes the IDE translation dialog columnview columns layout bug.
2017-09-30 13:25:20 +02:00
gambas
fbc25622c5 TextEditor: Move the cursor once when closing braces automatically. That way the IDE automatic completion stays open.
[GB.FORM.EDITOR]
* BUG: TextEditor: Move the cursor once when closing braces automatically. That way the IDE automatic completion stays open.
2017-09-26 14:25:02 +02:00
gambas
994de66595 Don't close braces or brackets if we are at the beginning of a string ; add GetHighlight() method.
[GB.FORM.EDITOR]
* NEW: TextEditor: GetHighlight() is a new method that returns the result of syntax highlighting for a specific line.
* BUG: TextEditor: Don't close braces or brackets if we are at the beginning of a string.
2017-09-26 01:31:35 +02:00
gambas
29fced44ff TextEditor: Fix Mode property and add a GetIndent() method that returns the characters that make the indentation of a group of lines.
[GB.FORM.EDITOR]
* BUG: TextEditor.Mode returns the set mode correctly.
* NEW: TextEditor.GetIndent() is a new method that returns the characters that make the indentation of a group of lines.
2017-09-25 19:15:54 +02:00
gambas
c103a1fc18 Add dark theme version of tab close button and fix 'exec' stock icon for dark breeze theme.
[GB.FORM]
* NEW: Add dark theme version of tab close button.
* BUG: Fix 'exec' stock icon for dark breeze theme.
2017-09-23 20:46:24 +02:00
gambas
d90c30ad80 TextEditor: Fix automatic closing of markups.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic closing of markups.
2017-09-23 20:44:28 +02:00
gambas
89a9819633 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix triggering of sidebar refresh.
* OPT: TextEditor: Draw the sidebar faster, sacrifying beauty.
* OPT: TextEditor: FindNextString() is faster when searching for an ascii string.
2017-09-21 18:19:50 +02:00
gambas
8fa66baeac FileProperties: Display the symbolic link contents on its own information row.
[GB.FORM]
* NEW: FileProperties: Display the symbolic link contents on its own information row.
2017-09-21 18:18:43 +02:00
gambas
54b36d3bfc GridView and all its children (TreeView, ColumnView...) now correctly react to font changes.
[GB.GUI.BASE]
* BUG: GridView and all its children (TreeView, ColumnView...) now correctly react to font changes.
2017-09-21 18:17:36 +02:00
gambas
8c316e0967 TextEditor: Fix ALT+Braces shortcut behaviour in Gambas mode.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix ALT+Braces shortcut behaviour in Gambas mode.
2017-09-19 15:09:28 +02:00
gambas
8d6e6e18af Enhance CSS highlighting.
[GB.EVAL.HIGHLIGHT]
* NEW: Add an initialization module that generates CSS properties and values from www.w3schools.com website.
* NEW: New CSS properties and values list.
* NEW: Custom CSS properties (i.e. '-webkit-*', '-mozilla-*', and so on...) are not displayed as errors anymore.
2017-09-19 12:57:45 +02:00
gambas
4a6285c6de MenuButton: Ignore buttons displaying an arrow when searching for other menu buttons while a popup menu is opened.
[GB.FORM]
* NEW: MenuButton: Ignore buttons displaying an arrow when searching for other menu buttons while a popup menu is opened.
2017-09-19 03:36:25 +02:00
gambas
fbbc82b012 [GB.DBUS.TRAYICON]
* BUG: Assume Unity indicators when the desktop is not KDE.
2017-09-18 02:25:44 +02:00
gambas
d782565a60 TextEditor: Support for indentation with tabs, and automatic indention when hitting ENTER between braces, brackets or markups.
[GB.FORM.EDITOR]
* NEW: TextEditor: TabIndent is a new property that tell if tabs are used for indenting instead of spaces.
* NEW: TextEditor: TabSize property can be equal to 1.
* BUG: TextEditor: Bold weight now follows font size.
* BUG: TextEditor: Selecting a character with the mouse is more accurate now.
* NEW: TextEditor: Hitting RETURN or ENTER inside braces, brackets, markups now automatically inserts an indented line.
2017-09-16 23:52:58 +02:00
gambas
3dc623c408 Toolbar: Configuration dialog now correctly display big toolbar button icons.
[GB.FORM.MDI]
* BUG: Toolbar: Configuration dialog now correctly display big toolbar button icons.
2017-09-16 23:51:28 +02:00
gambas
44950293a9 SwitchButton: Raise the Click event after the animation display has been finished.
[GB.FORM]
* BUG: SwitchButton: Raise the Click event after the animation display has been finished.
2017-09-16 23:50:23 +02:00
gambas
72d6c1a6c0 * Implement automatic close of braces, brackets, markups, strings inside the TextEditor control.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use new TextEditor "CloseBraces" option instead of implementing it in the IDE.

[GB.FORM.EDITOR]
* NEW: TextEditor.Mode is a new property that defined the behaviour of the editor. It takes the same values as the Highlight property.
* NEW: TextEditor.CloseBraces is a new boolean property that defines if braces, brackets, markups, strings... must be automatically closed.
2017-09-16 04:04:18 +02:00
gambas
9f6ec453fa TextEditor: If the cusor is at the end of the line, keep it there when the line is rewritten by the syntax highlighter.
[GB.FORM.EDITOR]
* BUG: TextEditor: If the cusor is at the end of the line, keep it there when the line is rewritten by the syntax highlighter.
2017-09-15 00:28:24 +02:00
gambas
4417e59f10 WebTimer.Stop() does not prevent the timer to be restarted anymore.
[GB.WEB.FORM]
* BUG: WebTimer.Stop() does not prevent the timer to be restarted anymore.
2017-09-11 15:17:52 +02:00
gambas
7397bbd386 MenuButton: Fix the button drawing when raising the Click event.
[GB.FORM]
* BUG: MenuButton: Fix the button drawing when raising the Click event.
2017-09-09 01:37:51 +02:00
gambix
82a458e5bf [GB.FORM.EDITOR]
* BUG: On sidebar the scroll handle never be smaller than 10 px with file that have
  more than 10000 lines.
* NEW: Middle click on buttons scroll to the beginning or the end of the file.
2017-09-08 17:04:01 +02:00
gambas
2384212c8f DateBox now has a Text read-only property so that ValueBox.Text does not crash anymore in date mode.
[GB.FORM]
* NEW: DateBox now has a Text read-only property so that ValueBox.Text does not crash anymore in date mode.
2017-09-08 02:14:09 +02:00
gambas
628c1f3875 ColorButton: Rewrite its implementation, so that it does not crash anymore with GTK+.
[GB.FORM]
* BUG: ColorButton: Rewrite its implementation, so that it does not crash anymore with GTK+.
2017-09-02 22:26:55 +02:00
gambas
ae97d469fb TextEditor: Fix a possible crash when the side bar preview is hidden.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash when the side bar preview is hidden.
2017-09-02 21:41:18 +02:00
gambas
de0689e90a SpinBar: Mouse wheel events are not propagated anymore, unless the control is disabled.
[GB.FORM]
* BUG: SpinBar: Mouse wheel events are not propagated anymore, unless the control is disabled.
2017-09-02 03:57:14 +02:00
gambas
54504c4d13 Fix look and refresh of MenuButton used as popup-menus.
[GB.FORM]
* BUG: MenuButton: Use a flat selected look when the MenuButton is just for opening a popup menu.
* BUG: MenuButton: Refresh correctly when moving from one MenuButton to another in the same container.
2017-09-02 03:45:33 +02:00
gambas
8443394b9a TextEditor: Refresh the sideview immediately when the style changes.
[GB.FORM.EDITOR]
* BUG: TextEditor: Refresh the sideview immediately when the style changes.
2017-08-31 17:00:06 +02:00
gambas
0bfd1edb7a Make bookmarks path editable.
[GB.FORM]
* NEW: Bookmarks: The path of the bookmarks is now editable, with an automatic path completion.
* NEW: Completion: Add a Close() method that closes the popup if it is about to be shown. Useful if the completion is associated with a TableView editor.
* NEW: Completion: Hide the popup if the left or right key is pressed.
2017-08-30 04:32:26 +02:00
gambas
d4c707d21d Index anchors now use 'id'attribute instead of 'name'.
[GB.MARKDOWN]
* BUG: Index anchors now use 'id'attribute instead of 'name'.
2017-08-30 04:29:43 +02:00
gambas
e2e8a29f77 ListView, TreeView, ColumnView: The height of newly created items is now correctly updated when they are explicitly inserted after the last element of their parent.
[GB.GUI.BASE]
* BUG: ListView, TreeView, ColumnView: The height of newly created items is now correctly updated when they are explicitly inserted after the last element of their parent.
2017-08-30 04:25:33 +02:00
gambas
838116070e Remove useless 'gb.termapp' component. 2017-08-29 00:37:04 +02:00
W. Raets
f764361295 Updated all Dutch translations and dutch translator e-mail address 2017-08-28 19:56:14 +00:00
gambas
288fcef39e Fix current class metadata refresh in the IDE.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix current class metadata refresh.

[GB.FORM.EDITOR]
* NEW: TextEditor: Always raise Change events before Cursor events.
2017-08-28 21:40:09 +02:00
gambas
982222e37f Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-28 19:13:13 +02:00
gambas
088f5b9cfa New 'exec' icon for breeze themes, and new String.FromHTM() method.
[GB.FORM]
* NEW: Change 'exec' icon for breeze themes.

[GB.UTIL]
* NEW: String.FromHTML() is a new method that extract text from a piece of HTML. Named entities are mostly not supported. But everything enclosed in a <script> or <style> markup is ignored.
2017-08-28 19:08:33 +02:00
gambas
6296389b6d TerminalView: Hitting RETURN or ENTER sends a '\r' instead of a '\n' by default.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Hitting RETURN or ENTER sends a '\r' instead of a '\n' by default.
2017-08-28 19:06:17 +02:00
gambix
4e2f0179dd More stuff on TermForm
[GB.TERM.FORM]
* NEW: Add some visible properties to TermForm like Resizable, Border and arrangement.
* OPT: Better management for title bar showed now only when there is a border.
2017-08-27 15:34:05 +02:00
gambas
0c2b70d16e Make 'gb.term.form' compilable again.
[GB.TERM.FORM]
* BUG: Make 'gb.term.form' compilable again.
2017-08-26 22:14:56 +02:00
gambix
fca930e139 [GB.TERM.FORM]
* OPT: Make the object placement more logical. the 0,0 pos now
       is the left corner after the border.
* NEW: Add the showmodal function
2017-08-26 20:25:52 +02:00
gambas
64a7461a18 Fix TerminalView drawing routine and add double and triple click support.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix line drawing routine.
* NEW: TerminalView: Double click now selects the current word.
* NEW: TerminalView: Triple click now selects the current line.
2017-08-26 18:28:54 +02:00
gambas
5b27b521b0 Add coordinates properties to TermControl and some _DrawWith constants
[GB.TERM.FORM]
* NEW: Add coordinates properties to TermControl.
* NEW: Add some _DrawWith constants.
2017-08-26 13:14:55 +02:00
Benoît Minisini
fcfc4f3f48 Merge branch 'master' into 'master'
Dutch translations

See merge request !9
2017-08-25 21:53:41 +00:00
gbWilly
9aa58ba62c Dutch translations for gb.web.form and gb.web.feed
[GB.WEB.FORM]
* NEW: Updated Dutch translations
[GB.WEB.FEED]
* NEW: Dutch translations
2017-08-25 23:45:15 +02:00