Commit graph

2342 commits

Author SHA1 Message Date
gambas
1ba102c453 PictureBox: Setting the Picture or Image property now correctly refreshes the control.
[GB.GUI.BASE]
* BUG: PictureBox: Setting the Picture or Image property now correctly refreshes the control.
2018-11-20 23:12:11 +01:00
gambas
83c39796eb Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
[GB.FORM.MDI]
* BUG: Toolbar: Drag & drop should not crash anymore because of the previous change in the Parent property.
2018-11-20 12:14:18 +01:00
gambas
3eaa0098d4 TextEditor: Make the automatic insertion of string delimiters more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Make the automatic insertion of string delimiters more clever.
2018-11-19 23:19:33 +01:00
gambas
6303762ff7 ScrollView: Automatic layout is now done before and after arrangement.
[GB.GUI.BASE]
* BUG: ScrollView: Automatic layout is now done before and after arrangement.
2018-11-16 01:35:59 +01:00
gambas
a66ce09e79 TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix a possible crash when inserting a line longer than the terminal width.
2018-11-15 00:26:24 +01:00
gambas
507f2d2b3c TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
[GB.FORM.EDITOR]
* BUG: TextEditor: Syntax highlihgting of lines including tab characters has been fixed.
2018-11-14 23:53:38 +01:00
gambas
f30edfa302 ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
[GB.GUI.BASE]
* NEW: ProgressBar: Pulsing is now visible as soon as the ProgressBar is twice large as high, and the animation is smoother.
2018-11-14 23:52:22 +01:00
gambas
8fe11c046d Shell.MkDir() now handles paths starting with "~/", and Shell.Move() can automatically erase the destination.
[GB.UTIL]
* NEW: Shell.MkDir() now handles paths starting with "~/", and raises an error if creating the directory is impossible.
* NEW: Shell.Move() got a new optional 'Force' argument, that erases the destination path The erase and the move are atomic if possible.
2018-11-14 23:48:49 +01:00
gambix
38da5ea0f7 Change Timer delay for a trigger loop in ReportView layout
[GB.REPORT]
* BUG: Change Timer delay for a trigger loop in ReportView layout lookup. Now the processor will not
  have any over use any more.
2018-11-08 15:05:49 +01:00
gambas
6ffa483e4f TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
[GB.GUI.BASE]
* NEW: TreeView: The space between the icon and the item text is now bigger, and proportional to the desktop font size.
2018-11-07 17:20:39 +01:00
gambas
a0af45675e DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
[GB.FORM]
* BUG: DocumentView: Use Timer.Trigger() method to prevent 100% CPU usage with QT4.
2018-11-07 17:03:36 +01:00
gambix
56f68cf840 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer did not exist
* BUG: All the object can be removed in all order now.
2018-11-06 11:32:14 +01:00
gambas
86c1836003 [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() replaces all space by ' '.
* NEW: TextHighlighter.ToRichText() returns an highlighted text in rich text format.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic insertion of string delimiters.

[GB.FORM.MDI]
* NEW: Toolbar: Redraw expander icon.

[GB.FORM.STOCK]
* NEW: Redraw 'spell-check' icon.
2018-10-25 23:28:46 +02:00
gambas
901b84a36c Update xdg-utils to 1.1.3 version.
[GB.DESKTOP]
* NEW: Update xdg-utils to 1.1.3 version.
2018-10-11 00:03:41 +02:00
gambas
0dc57ad4ad ScrollView: Fix layout routine and correctly propagate focus events.
[GB.GUI.BASE]
* BUG: ScrollView: Fix layout routine.
* BUG: ScrollView: Correctly propagate focus events.
2018-10-10 10:32:20 +02:00
gambas
0cafd5dab9 Remove a public variable declared in a parent and in a child class.
[GB.MAP]
* BUG: Remove a public variable declared in a parent and in a child class.
2018-10-10 02:04:48 +02:00
gambas
f89186d6a8 SpinBox: Fix keyboard management when entering a value.
[GB.GUI.BASE]
* BUG: SpinBox: Fix keyboard management when entering a value.
2018-10-09 22:00:41 +02:00
gambix
6b7a879232 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-04 14:27:00 +02:00
gambix
2475f36477 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer id not exist
2018-10-04 14:25:46 +02:00
gambas
f67b8ab307 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-10-04 12:26:11 +02:00
gambas
ddf3275bdc Optimize FileView refresh, and fix SidePanel buttons that sometimes were created twice.
[GB.FORM]
* OPT: FileView: Optimize view refresh.
* BUG: SidePanel: Side buttons were sometimes created twice.
* BUG: SidePanel: Side buttons tooltips are now always correct.
2018-10-04 12:24:08 +02:00
gambas
d46368f276 IconView items highglight is correctly drawn now, and some TreeView optimizations.
[GB.GUI.BASE]
* BUG: IconView: Items highglight is correctly drawn now.
* OPT: TreeView: Allows the view to be locked while a lot of items are added.
* NEW: TreeView: BeforeSort is a new event that allows a caller to prepare its custom view sort.
2018-10-04 12:19:03 +02:00
gambas
65b0fb986f DataView: Clicking on the creation row now works correctly again.
[GB.DB.FORM]
* BUG: DataView: Clicking on the creation row now works correctly again.
2018-10-03 16:14:08 +02:00
gambas
261697ae44 Fix ColorPalette, optimize FileView refresh, make the TableView editor position nicer.
[GB.FORM]
* BUG: ColorPalette: Handle mouse wheel events correctly.
* BUG: ColorPalette: Ensure that the current color is visible.
* NEW: ColorChooser: The value slider now handles mouse wheel events.
* OPT: FileView: Sort the files once when the view is reloaded.
* NEW: TableView: Move the editor so that the cell border is correctly visible.
2018-10-03 16:10:03 +02:00
gambas
a7ddfbe0cf Fix ScrollView arrangement, and optimize TreeView items adding.
[GB.GUI.BASE]
* NEW: GridView: Draw last column and last rows separators even if Grid is not set when the GridView is actually a TableView.
* BUG: ScrollView: Fix arrangement.
* OPT: TreeView: Define the default row size, so that adding items is faster.
2018-10-03 16:07:04 +02:00
gambas
1bf70e1e75 PictureBox is now implemented in Gambas.
[GB.GTK]
* NEW: Remove PictureBox control.

[GB.GTK3]
* NEW: Remove PictureBox control.

[GB.GUI.BASE]
* NEW: PictureBox is now implemented in Gambas.
* NEW: PictureBox: Image is a new property that allows to display an Image instead of a Picture.
* NEW: PictureBox: Mode is a new property that defines how the image fills the control.

[GB.QT4]
* NEW: Remove PictureBox control.

[GB.QT5]
* NEW: Remove PictureBox control.
2018-10-03 16:06:54 +02:00
gambas
7e2ccb7cce TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
2018-10-01 23:20:43 +02:00
gambas
8adc54015b ImageView: Fix view to image coordinates conversion.
[GB.FORM]
* BUG: ImageView: Fix view to image coordinates conversion.
2018-10-01 23:19:49 +02:00
gambas
5c6423eedb Update some versions. 2018-09-29 13:26:18 +02:00
gambas
51c80eba92 Allow to add actions at runtime to the static list created by the compiler.
[GB.FORM.MDI]
* NEW: Action.Add() is a new method that allows to declare a new action.
* NEW: Action.AddFrom() is a new method that declare a new action from a control.
2018-09-29 13:23:36 +02:00
gambas
c2469623bf Add Action.Keys and Action[].HasShortcut properties.
[GB.GUI.BASE]
* NEW: Action.Keys is new static property that returns the list of all action keys.
* NEW: Action[].HasShortcut is a new property that returs if an action can have a shortcut.
2018-09-29 13:20:33 +02:00
gambas
35d20604b1 TextEditor: Try to make automatic insertion of quotes more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic insertion of quotes more clever.
2018-09-29 04:42:42 +02:00
gambas
5ae2f48bd5 Make 128 pixels versions of message box icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels versions of message box icons.
2018-09-28 18:58:46 +02:00
gambas
4239ddbaf0 SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
[GB.GUI.BASE]
* BUG: SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
2018-09-28 18:55:19 +02:00
gambas
9f0ca8d8d5 IconView: Keys is a new property that returns an array of all item keys.
[GB.GUI.BASE]
* NEW: IconView: Keys is a new property that returns an array of all item keys.
2018-09-26 18:54:06 +02:00
gambas
2d978ed99f Matching braces are now just underlined and Setting styles multiple times now triggers only one highlight update.
[GB.FORM.EDITOR]
* OPT: TextEditor: Setting styles multiple times now triggers only one highlight update.
* NEW: TextEditor: Matching braces are now just underlined. I find that more readable.
2018-09-26 18:48:24 +02:00
gambas
acafa3f219 SidePanel: Setting the Hidden property now takes the current animation into account.
[GB.FORM]
* BUG: SidePanel: Setting the Hidden property now takes the current animation into account.
2018-09-26 18:46:55 +02:00
gambas
f6a88365d3 TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys, and setting an item font has no side effect anymore.
[GB.GUI.BASE]
* NEW: TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys.
* BUG: TreeView, ListView, ColumnView: Setting an item font has no side effect anymore.
2018-09-26 17:47:23 +02:00
gambas
4bf287a44a ScrollView: Fix a possible infinite loop in contents arrangement routine.
[GB.GUI.BASE]
* BUG: ScrollView: Fix a possible infinite loop in contents arrangement routine.
2018-09-23 09:13:36 +02:00
gambas
41a62f3426 Take the ScrollView margin into account, and do not propagage SpinBox mouse wheel events.
[GB.GUI.BASE]
* BUG: ScrollView: Take the Margin property into account correctly.
* BUG: SpinBox: Do not propagate mouse wheel events.
2018-09-22 00:46:49 +02:00
gambas
6ab416eae3 Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
[GB.FORM.MDI]
* BUG: Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
2018-09-21 11:08:57 +02:00
gambas
b71eed5b62 TextEditor: Clean up the sidebar view management code, and fix its behaviour.
[GB.FORM.EDITOR]
* BUG: TextEditor: Clean up the sidebar view management code, and fix its behaviour.
2018-09-20 17:37:18 +02:00
gambas
bc20ef46f7 Optimize many PNG files with 'pngquant'. 2018-09-19 22:07:02 +02:00
gambas
46f21a7f7b Strip png files with ImageMagick convert command. 2018-09-19 20:53:00 +02:00
gambas
88c89d0d7e TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds. Finally fixed it!
2018-09-19 19:36:19 +02:00
gambas
b6ab28fe8f Wizard takes Application.Animations into account, and SidePanel resize buttons should be correctly managed.
[GB.FORM]
* NEW: Wizard: Take Application.Animations into account.
* NEW: Wizard: Animated property is now deprecated.
* NEW: SidePanel: Fix resize buttons management.
2018-09-17 12:40:34 +02:00
gambas
63af98dc9b Fix ScrollArea and ScrollView behaviour.
[GB.GUI.BASE]
* BUG: ScrollArea: Correctly raise Scroll events.
* BUG: ScrollView: Arrangement should be correctly done now.
2018-09-17 12:38:45 +02:00
gambas
4769d0601e SidePanel: Animate opening and closing when Application.Animations is set.
[GB.FORM]
* BUG: SidePanel: It should work correctly in all cases now.
* NEW: SidePanel: Animate opening and closing when Application.Animations is set.
2018-09-15 22:36:38 +02:00
gambas
603052af5c TextEditor: GotoCenter() works correctly again, and HighlightString() correctly refreshes the editor contents in all cases.
[GB.FORM.EDITOR]
* BUG: TextEditor: GotoCenter() works correctly again.
* BUG: TextEditor: HighlightString() correctly refreshes the editor contents in all cases.
2018-09-15 22:34:19 +02:00
gambas
6462ea0007 ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
[GB.GUI.BASE]
* NEW: ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
2018-09-15 22:32:52 +02:00