Commit graph

2287 commits

Author SHA1 Message Date
gambas
2a0be69773 TextEditor: Fix highlighting of matching indentations.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix highlighting of matching indentations.
2018-03-12 00:07:51 +01:00
gambas
e0dca9514d GridView: The Selection property cannot return invalid rows anymore.
[GB.GUI.BASE]
* BUG: GridView: The Selection property cannot return invalid rows anymore.
2018-03-11 01:04:04 +01:00
gambas
53cbe2370c TerminalView.Suspended is a new property that allows to suspend or restart the terminal.
[GB.FORM.TERMINAL]
* NEW: TerminalView: TerminalView.Suspended is a new property that allows to suspend or restart the terminal.
* NEW: TerminalView: Terminal.Reset() now takes an optional argument to keep the cursor position.
2018-03-10 13:27:02 +01:00
gambas
f6231bf616 TextEditor: Enhance undo & redo management of breakpoints and bookmarks.
[GB.FORM.EDITOR]
* BUG: TextEditor: Enhance undo & redo management of breakpoints and bookmarks.
2018-03-10 02:55:07 +01:00
gambas
9ef5ef6abf Undo & redo now take the breakpoints and the bookmarks into account.
[GB.FORM.EDITOR]
* NEW: Undo & redo now take the breakpoints and the bookmarks into account.
* NEW: Change the way bookmarks are drawn.
2018-03-10 02:45:07 +01:00
gambas
a8ddb2a634 Highlight matching indentations.
[GB.FORM.EDITOR]
* NEW: Highlight matching indentations.
2018-03-09 21:26:43 +01:00
gambas
ac0ae560e9 Rename "very small" stock icon size into "tiny".
[GB.FORM.MDI]
* NEW: Rename "very small" stock icon size into "tiny".
2018-03-09 21:25:53 +01:00
gambas
bd3a57dc0f Rename "very small" stock icon size into "tiny" and add Stock.Sizes property.
[GB.FORM]
* NEW: Rename "very small" stock icon size into "tiny".
* NEW: Stock.Sizes is a new property that returns the list of stock icon default sizes.
2018-03-09 21:25:07 +01:00
gambas
1307a0e55b TextEditor: Take wayland into account when testing for a remote desktop.
[GB.FORM.EDITOR]
* BUG: TextEditor: Take wayland into account when testing for a remote desktop.

[GB.FORM.TERMINAL]
* NEW: Update .gitignore.

[GB.WEB.FORM]
* NEW: Update .gitignore.
2018-03-08 12:55:36 +01:00
gambas
df7413f3cf Desktop.RemoteDisplay is a new property that returns if the application is connected to a remote display.
[GB.DESKTOP]
* NEW: Remove static dependency on 'gb.desktop.x11' component.
* NEW: Load 'gb.desktop.x11' only if $XDG_SESSION_TYPE is not "wayland".
* NEW: Desktop.RemoteDisplay is a new property that returns if the application is connected to a remote display.
* BUG: Fix Desktop.GetFileIcon().
2018-03-08 12:49:19 +01:00
gambas
728996761b Add some stock icons for some mimetypes.
[GB.FORM]
* NEW: Add some stock icons for some mimetypes.
2018-03-08 12:48:23 +01:00
gambas
56e96865aa [GB.GUI.BASE]
* BUG: TreeView: TreeView[].MoveFirst() and TreeView[].MoveLast() were inverted.
* NEW: GridView: It now raises a Font event when its font changes.
* BUG: GridView: Do not reset row heights when the font changes.
* BUG: TreeView: Correctly react to font changes.
2018-03-08 10:10:21 +01:00
gambas
8b80a430f4 ColumnView[].Rename() method now takes an optional argument to indicate the column to rename.
[GB.GUI.BASE]
* NEW: ColumnView[].Rename() method now takes an optional argument to indicate the column to rename.
2018-03-08 02:00:31 +01:00
gambas
c6b696b33c Redraw the 'archive' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'archive' icon.
2018-03-07 22:08:44 +01:00
gambas
dbff0b1e5f Redraw 'revert' stock icons.
[GB.FORM.STOCK]
* NEW: Redraw 'revert' stock icons.
2018-03-07 01:10:44 +01:00
gambas
cb86aa9add TextEditor: Don't store breakpoints and bookmarks in each line, but in global collections.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't store breakpoints and bookmarks in each line, but in global collections.
2018-03-07 01:09:44 +01:00
gambas
0ba668b4a2 Toolbar: The minimum height is now 80% of the font height.
[GB.FORM.MDI]
* NEW: Toolbar: The minimum height is now 80% of the font height.
2018-03-06 23:46:09 +01:00
gambas
3038cc3998 [GB.FORM.EDITOR]
* NEW: Support for disable breakpoints.
2018-03-06 23:45:02 +01:00
gambas
fee00298b0 FontChooser: Ignore case when sorting fonts.
[GB.FORM]
* BUG: FontChooser: Ignore case when sorting fonts.
2018-03-06 23:37:19 +01:00
gambas
2eccfbc7b8 New stock icons.
[GB.FORM]
* NEW: New stock icons.
2018-03-06 21:36:31 +01:00
gambas
d0b9e6d8f7 New stock icons.
[GB.FORM.STOCK]
* NEW: New stock icons.
2018-03-06 21:35:41 +01:00
gambas
4c90fc8855 Make the "very small" toolbar size less small.
[GB.FORM.MDI]
* NEW: Make the "very small" toolbar size less small.
2018-03-03 03:16:07 +01:00
gambas
51dd51dff7 TabPanel: The tab close button will not appear incorrectly anymore.
[GB.FORM]
* BUG: TabPanel: The tab close button will not appear incorrectly anymore.
2018-03-03 03:15:16 +01:00
gambas
31792ddb95 Support for 'application/x-www-form-urlencoded' requests without content length.
[GB.WEB]
* BUG: Support for 'application/x-www-form-urlencoded' requests without content length. If the content length is not specified, everything is read up to 8192 bytes.
2018-02-28 15:02:41 +01:00
gambas
5c288faa0a Support for a new "very small" toolbar size.
[GB.FORM.MDI]
* NEW: Support for a new "very small" toolbar size.
* NEW: Small redesign of the toolbar configuration dialog.
2018-02-28 15:01:15 +01:00
gambas
390188639b [GB.FORM]
* NEW: Support for a new "very small" toolbar size.
* NEW: Add some new stock icons.
2018-02-28 15:00:29 +01:00
gambas
2a4b85258d Automatic support of dark themes, by using the new Image.Invert() method.
[GB.FORM.STOCK]
* NEW: Automatic support of dark themes, by using the new Image.Invert() method.
* NEW: Icon fixes and new icons.
2018-02-28 14:57:18 +01:00
gambas
7d903b495a ColorPalette: Scrolling with the mouse wheel now works correctly when the Border property is set.
[GB.FORM]
* BUG: ColorPalette: Scrolling with the mouse wheel now works correctly when the Border property is set.
2018-02-27 01:52:56 +01:00
gambas
242d297bad Update some icons, and add new ones.
[GB.FORM.STOCK]
* NEW: Update some icons, and add new ones.
2018-02-26 04:06:31 +01:00
gambas
c40b49ac70 Fix theme searching routine and update stock icon list.
[GB.FORM]
* BUG: Fix theme searching routine.
* BUG: Fix stock icon list for changes in breeze theme.
* NEW: Update stock icon list with new icons.
2018-02-26 04:05:09 +01:00
gambas
95ca2bca65 Add '*.mo' files.
[GB.DB.FORM]
* BUG: Add '*.mo' files.
2018-02-24 02:05:58 +01:00
gambas
ce804df94c Add some new '*.mo' files.
[GB.DB.FORM]
* BUG: Add some new '*.mo' files.
2018-02-24 00:04:49 +01:00
gambas
1d43cc1b46 Enhance and fix String.ToPhonetic() method.
[GB.UTIL]
* BUG: Enhance and fix String.ToPhonetic() method.
2018-02-23 21:51:03 +01:00
gambas
39c492f895 String.ToPhonetic() is a new method that returns a string converted to a phonetic equivalent according to the specified language. Only french is supported at the moment!
[GB.UTIL]
* NEW: String.ToPhonetic() is a new method that returns a string converted to a phonetic equivalent according to the specified language. Only french is supported at the moment!
2018-02-23 17:49:07 +01:00
gambas
c26c1c703f MenuButton: Do not popup a sibling MenuButton if the current one has been closed.
[GB.FORM]
* BUG: MenuButton: Do not popup a sibling MenuButton if the current one has been closed.
2018-02-23 04:06:27 +01:00
gambas
6061d18bbe Update stock icons and add support for ttf mime type.
[GB.FORM.STOCK]
* NEW: Update stock icons.
* NEW: Add support for ttf mime types.
2018-02-22 04:07:43 +01:00
gambas
d8f2930f30 Update stock icons and support for more mime types.
[GB.FORM.STOCK]
* NEW: Update stock icons.
* NEW: Support for more mime types.
2018-02-21 21:42:31 +01:00
gambas
9c86962c75 Fix DesktopMime.FromFile() method. Mime patterns having a case sensitive flag now are correctly matched.
[GB.DESKTOP]
* BUG: Fix DesktopMime.FromFile() method. Mime patterns having a case sensitive flag now are correctly matched. But the flag itself is still ignored, as apparently the mime info files content is incoherent.
2018-02-21 21:39:42 +01:00
gambas
b44cd19b25 Remove debugging message.
[GB.FORM.STOCK]
* BUG: Remove debugging message.
2018-02-21 08:24:06 +01:00
gambas
4085059b9d Update stock icons.
[GB.FORM.STOCK]
* NEW: Update stock icons.
2018-02-21 08:23:18 +01:00
gambas
c6ccf44308 Update stock icons.
[GB.FORM.STOCK]
* NEW: Update stock icons.
2018-02-21 07:17:18 +01:00
gambas
f0a7a3c88a FileProperties: Display symbolic link target once.
[GB.FORM]
* BUG: FileProperties: Display symbolic link target once.
2018-02-21 00:28:20 +01:00
gambas
1120be5f69 TreeView: Raise the Expand or Collapse events as late as possible.
[GB.GUI.BASE]
* NEW: TreeView: Raise the Expand or Collapse events as late as possible.
* BUG: TreeView: Setting the Layout property now works on a copy of item list.
2018-02-21 00:26:50 +01:00
gambas
c0c64f9609 Replace the old gambas stock theme by a colorized version of gambas-mono.
[GB.FORM.STOCK]
* NEW: Replace the old gambas stock theme by a colorized version of gambas-mono.
* NEW: Automatically handle mime types icons.
2018-02-21 00:24:43 +01:00
gambas
2c9f8fdb2f Stock: Add 'Gambas' and 'Gambas-Mono' to the icon theme list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Remove 'Gambas' and 'Gambas-Mono' from the theme list as they are now returned by the Stock.Themes property.

[GB.FORM]
* NEW: Stock: Add 'Gambas' and 'Gambas-Mono' to the icon theme list.
2018-02-20 13:26:55 +01:00
gambas
4f966ee9f8 Support for new 'gambas-mono' icon theme, and a few fixes in icon theme management.
[GB.FORM]
* NEW: FileView: Add a few default file icons.
* NEW: Stock: Support for new 'gambas-mono' icon theme.
* NEW: Stock: Icon theme names are now capitalized.
* BUG: Stock: Ignore icon theme directories that are symbolic links.
2018-02-20 13:20:31 +01:00
gambas
5896583351 Support for multiple sets of stock icons and new monochrom stock icon set.
[GB.FORM.STOCK]
* NEW: Support for multiple sets of stock icons.
* NEW: New monochrom stock icon set.
2018-02-20 13:18:45 +01:00
gambas
0d5cec8bb6 IconView: Fix rename box.
[GB.GUI.BASE]
* BUG: IconView: Fix rename box.
2018-02-20 02:53:41 +01:00
gambas
03e2db6776 FontChooser: Display font in a treeview by grouping fonts having similar names.
[GB.FORM]
* NEW: FontChooser: Display font in a treeview by grouping fonts having similar names.
* NEW: FileView: Add a few default file icons.
2018-02-20 02:51:37 +01:00
gambas
c1fd09c580 Fix bugs indirectly detected by the recently fixed compiler static datatype checking.
[GB.FORM.EDITOR]
* BUG: Fix an incorrect test indirectly detected by the recently fixed compiler static datatype checking.

[GB.MAP]
* BUG: Fix a forgotten symbol indirectly detected by the recently fixed compiler static datatype checking.
2018-02-17 20:42:39 +01:00
gambas
b1ebde1e21 Remove some uninitialized variables.
[GB.FORM]
* BUG: Remove some uninitialized variables.
2018-02-15 17:46:21 +01:00
gambas
6c52efca9d TreeView.Layout and ColumnView.Layout are two new properties that allow to save and restore the layout of the control, i.e. which items are expanded and which are collapsed.
[GB.GUI.BASE]
* NEW: TreeView.Layout and ColumnView.Layout are two new properties that allow to save and restore the layout of the control, i.e. which items are expanded and which are collapsed.
2018-02-15 17:44:29 +01:00
gambas
96a39b39c9 Add other '*.mo' files. 2018-02-15 15:02:09 +01:00
gambas
d5c3920dcb The '*.mo' files come back. 2018-02-14 23:53:44 +01:00
gambas
9ac37fa823 Add some test files in different components.
[GB.DB.FORM]
* NEW: Add some test files.

[GB.FORM]
* NEW: Add some test files.

[GB.FORM.EDITOR]
* NEW: Add some test files.
* NEW: Remove an unused global variable.
2018-02-14 21:37:57 +01:00
gambas
adbca558c5 GridView: Prevent a possible crash during multiple selection.
[GB.GUI.BASE]
* BUG: GridView: Prevent a possible crash during multiple selection.
2018-02-14 21:33:32 +01:00
gambas
06479287f4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Spring control.
* BUG: Fix position of controls dropped from the toolbox.

[GB.GUI.BASE]
* NEW: Spring is a new control that is just like a Panel with the Expand property set.
2018-02-12 23:54:00 +01:00
gambas
afba3016ec ValueBox: Remove default alignment and add an Alignment property.
[GB.FORM]
* NEW: ValueBox: Remove default alignment and add an Alignment property.
2018-02-12 01:01:50 +01:00
gambas
b1bed9e6b3 JSON.ToString() and JSON.FromString() are now synonymous for JSON.Encode() and JSON.Decode().
[GB.UTIL.WEB]
* NEW: JSON.ToString() and JSON.FromString() are now synonymous for JSON.Encode() and JSON.Decode().
2018-02-09 23:54:21 +01:00
gambas
36c4eb20fb Remove '*.mo' files from the repository. 2018-02-09 11:49:29 +01:00
gambas
b520218ce4 Enhance automatic string close behaviour.
[GB.FORM.EDITOR]
* NEW: Enhance automatic string close behaviour.
2018-01-31 19:45:09 +01:00
gambas
4ff9f7ddef ImageView.ZoomFit() now takes the margin size as an optional argument. The default margin is now zero.
[GB.FORM]
* NEW: ImageView.ZoomFit() now takes the margin size as an optional argument. The default margin is now zero.
2018-01-18 02:02:55 +01:00
gambas
f86bd7a799 Make JSON.Decode() faster.
[GB.UTIL.WEB]
* OPT: Make JSON.Decode() faster.
2018-01-18 02:02:24 +01:00
gambas
c1e4b8946f String.FromHTML() now replaces "<br>" by a newline.
[GB.UTIL]
* NEW: String.FromHTML() now replaces "<br>" by a newline.
2018-01-06 17:09:53 +01:00
gambas
b5062ff92b Correctly detect local icon themes.
[GB.FORM]
* BUG: Correctly detect local icon themes.
2018-01-06 17:08:32 +01:00
gambix
0d4d7e5d06 Keep Center on zooming down
[GB.MAP]
* BUG: Now the map not move when zooming down
2018-01-04 14:02:47 +01:00
gambix
f71115e89b Adding the circle shape and done some bug corrections
[GB.MAP]
* NEW: AddCircle Fuction on _MapShape Layer allow to display circles
* NEW: Now ShapeItems have a FillColor property that allow to define filling color.
* NEW: _ShapeLayer have a generic FillColor too
* BUG: The shape layer now not display ShapeItems when theire current display size
  at zoom is lower than 2 pixels.
2018-01-04 11:47:27 +01:00
gambas
27eb57e3d7 [GB.FORM.EDITOR]
* NEW: Don't automatically close a brace if the cursor is alread between opening and closing braces. Just move the cursor.
2017-12-15 21:41:42 +01:00
gambix
6dfd509078 Improvement on the editor preview bar
[GB.FORM.EDITOR]
* BUG: The preview not display end of line spaces as characters and display only the 100
  first characters.
2017-12-15 14:04:42 +01:00
gambas
0b73beec1d Workspace: Raise the CloseAll event after the close all button has been clicked.
[GB.FORM.MDI]
* NEW: Workspace: Raise the CloseAll event after the close all button has been clicked.
2017-12-03 18:10:05 +01:00
gambas
e81f964f54 HSplit and VSplit got a new MinSize property that allows to define the minimum size of a pane.
[GB.GUI.BASE]
* NEW: HSplit and VSplit got a new MinSize property that allows to define the minimum size of a pane.
2017-11-10 20:38:15 +01:00
gambas
9273b9d499 CsvFile: Handle relative paths as expected.
[GB.UTIL]
* BUG: CsvFile: Handle relative paths as expected.
2017-11-06 23:10:18 +01:00
gambas
6af806fdb6 TextEditor: SaveCursor() and RestoreCursor() are two methods for saving and restoring the cursor and selected text positions.
[GB.FORM.EDITOR]
* NEW: TextEditor: SaveCursor() and RestoreCursor() are two methods for saving and restoring the cursor and selected text positions.
2017-11-06 23:09:04 +01:00
gambas
d99206c55f TextEditor: The side bar contents is now still visible on modified or saved lines.
[GB.FORM.EDITOR]
* BUG: TextEditor: The side bar contents is now still visible on modified or saved lines.
2017-11-01 19:27:48 +01:00
gambas
85d0c23625 TextEditor: Support for custom highlighting style and style background color.
[GB.FORM.EDITOR]
* BUG: TextEditor: Automatically close quotes only in Javascript, CSS and SQL modes.
* NEW: TextEditor: Up to 32 highlighting styles can be defined. Custom highlighting styles starts at Highlight.Custom index.
* NEW: TextEditor: Each style now can have a Background property that defines its background color.
2017-11-01 08:43:39 +01:00
gambas
42bea52afd Toolbar: Add a dark version of the toolbar configuration hash pattern.
[GB.FORM.MDI]
* NEW: Toolbar: Add a dark version of the toolbar configuration hash pattern.
2017-11-01 08:41:41 +01:00
gambas
31ee091c62 Toolbar: Use an hash pattern to draw toolbar in configuration mode.
[GB.FORM.MDI]
* NEW: Toolbar: Use an hash pattern to draw toolbar in configuration mode.
* BUG: Toolbar: Use the toolbar item font when drawing its drag icon.
2017-11-01 08:39:38 +01:00
gambas
2995a3e040 SwitchButton: New "Chromium-like" design, with no "on" / "off" text anymore.
[GB.FORM]
* NEW: SwitchButton: New "Chromium-like" design, with no "on" / "off" text anymore.
2017-10-14 01:58:53 +02:00
gambas
72e5781525 Remove a test form.
[GB.GUI.BASE]
* NEW: Remove a test form.
2017-10-14 01:49:53 +02:00
gambas
51ef8f6171 Don't use 'gb.desktop' in gb.form.dialog, it prevents the component from compiling during installation.
[GB.FORM.DIALOG]
* BUG: Don't use 'gb.desktop', it prevents the component from compiling during installation.
2017-10-12 03:25:27 +02:00
Benoît Minisini
abc50e5af5 Merge branch 'master' into 'ide-git-support'
# Conflicts:
#   app/src/gambas3/.src/VersionControl/VersionControl.module
#   main/gbx/gbx_stream.c
2017-10-11 21:44:14 +00:00
gambas
413edde591 TabPanel: Keyboard shorcuts now only take visible tabs into account.
[GB.FORM]
* BUG: TabPanel: Keyboard shorcuts now only take visible tabs into account.
2017-10-11 23:11:09 +02:00
gambas
64a46b3d31 Dialog.Key is now reset after a dialog has used it.
[GB.FORM.DIALOG]
* BUG: Dialog.Key is now reset after a dialog has used it.
* BUG: Dialog.AskPassword does not add 'gb.form.dialog' to Dialog.Key to store the password.
2017-10-11 22:35:27 +02:00
gambas
e891a632fb Fix some icons for breeze themes.
[GB.FORM]
* NEW: Fix some icons for breeze themes.
2017-10-10 18:51:38 +02:00
gambas
3f6569bd06 Dialog.AskPassword() is a new method that displays a modal dialog box that asks for a user name and a password, and that can remember them.
[GB.FORM.DIALOG]
* NEW: Dialog.AskPassword() is a new method that displays a modal dialog box that asks for a user name and a password, and that can remember them provided that the gb.settings and gb.desktop components are loaded and the Dialog.Key property is set.
* NEW: Dialog.User is a new property that returns the user entered in the ask password dialog.
* NEW: Dialog.Password is a new property that returns the password entered in the ask password dialog.
* NEW: Dialog.NoUser is a new property that tells the ask password dialog not to ask for a user.
2017-10-10 18:44:00 +02:00
gambas
3a7fde03cc TreeView: Center vertically the rename box.
[GB.GUI.BASE]
* NEW: TreeView: Center vertically the rename box.
2017-10-07 22:02:36 +02:00
gambas
4eb4d8ce55 Add Background, Foreground and Font properties to ListView, TreeView, and ColumnView items.
[GB.GUI.BASE]
* NEW: Add Background, Foreground and Font properties to ListView, TreeView, and ColumnView items.
* OPT: Don't call the GridView default drawing routine in ListView, TreeView, and ColumnView.
2017-10-07 02:11:01 +02:00
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
gambas
0d520539b9 TerminalView: Use more visible default colors for dark backgrounds.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Use more visible default colors for dark backgrounds.
2017-08-25 23:10:06 +02:00
gambas
63371c84f6 TerminalView: Take the bold character width into account for character size.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Take the bold character width into account for character size.
2017-08-25 23:08:31 +02:00
gambas
33be66f655 Fix RETURN and ENTER key management in TerminalView.
[GB.FORM.TERMINAL]
* BUG: TerminalView: RETURN and ENTER key must send a NL character, not a CR.
2017-08-25 23:07:01 +02:00
gbWilly
6aaec534f9 Dutch translations
[GB.TERM.FORM]
* NEW: Dutch translations
2017-08-25 23:02:57 +02:00
gambix
ea049dda7b Pictures for controls are not well linked.
[GB.TERM.FORM]
* BUG: Reduce the output volume during list browsing
* NEW: Some helptool for debugging : TermWindows now accept 3 value.
       DebugNone, DebugInput, debugging
* BUG: Use relative path for control picture.
2017-08-25 15:44:39 +02:00
gambix
fe71f363a6 Problem on maximized windows
[GB.TERM.FORM]
* BUG: TermWindow: Do not try to use desktop size with maximized to false
2017-08-25 11:23:51 +02:00
gambix
c488f68ebb The maximized windows not fit the resized terminal windows.
[GB.TERM.FORM]
* BUG: TermWindow: The maximize property now truely work. And the
       Layout take into account the title
* NEW: TermListBox: Changing the text of a line just refresh the line.
2017-08-25 10:53:49 +02:00
gambas
a527b9cdc2 Add control pictures in 'gb.term.form'.
[GB.TERM.FORM]
* NEW: Add control pictures.
* NEW: Declare a few "_Properties" constants and a test TermForm to check IDE support.
2017-08-24 20:38:01 +02:00
gambix
1e78fd8155 Merge branch 'master' of gitlab.com:gambas/gambas 2017-08-24 17:33:16 +02:00
gambix
38a6457dfc [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add support for terminal form in the designer.

[GB.TERM.FORM]
* NEW: Add all the stuff needed for the ide designer.
2017-08-24 17:28:54 +02:00
gambas
f45192abb2 Fix pseudo-terminal management again. Now processes run through a terminal set the ECHO flag, and do not clear the OCRNL flag.
[INTERPRETER]
* NEW: Initialize pseudo-terminals with ECHO and don't clear OCRNL flag. This is not compatible with previous versions, as now, by default, printing a NL will become CR+NL through the pseudo-terminal.
  But I didn't succeed in modifying the pseudo-terminal reliably once the child has started. It sometimes fails silently.
* NEW: Check the result of tcsetattr() carefully, as it returns an error only if none of the flags has been set, not just one.

[GB.TERM]
* NEW: Check the result of tcsetattr() carefully, as it returns an error only if none of the flags has been set, not just one.

[GB.FORM.TERMINAL]
* OPT: TerminalView: Reorder some tests in escape codes analyze.
* NEW: TerminalView: The mouse wheel now sends up and down keys when we are not in mouse mode, and if there is nothing to scroll.
2017-08-23 18:10:58 +02:00
gambas
b77004d014 JSON.Encode() now correctly handle null variants or objects.
[GB.UTIL.WEB]
* BUG: JSON.Encode() now correctly handle null variants or objects.
2017-08-23 03:46:10 +02:00
gambas
4ccf87a00b Some TerminalView fixes, add a Title property, and an Input() method to send text to the terminal input.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Title is a new property to read or set the terminal title.
* NEW: TerminalView: Ignore XTerm specific commands other than title setting.
* BUG: TerminalView: Fix managment of terminal connected to explicit streams.
* BUG: TerminalView: Fix Paste() method.
* NEW: TerminalView: Raise an error now if we try to execute a process or connect streams whereas the terminal is already in use.
* NEW: TerminalView: Input() is a new method to send some text to the terminal input.
2017-08-22 21:23:59 +02:00