Commit graph

2447 commits

Author SHA1 Message Date
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
gambas
813798a3eb TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
[GB.FORM.EDITOR]
* NEW: TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
2018-09-12 14:56:29 +02:00
gambas
d152d887c2 TerminalView: Fix smooth scrolling support.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix smooth scrolling support.
2018-09-12 14:55:29 +02:00
gambas
f191a6ed72 SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
[GB.FORM]
* NEW: SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
2018-09-12 14:39:03 +02:00
gambas
5bb286aa80 Implement ScrollView in Gambas.
[GB.GUI.BASE]
* NEW: ScrollArea: ContentsWidth and ContentsW are two new synonymous of the ScrollWidth property.
* NEW: ScrollArea: ContentsHeight and ContentsH are two new synonymous of the ScrollHeight property.
* NEW: ScrollArea: Shadow is a new property that displays inner shadows when scrolling is possible.
* NEW: ScrollArea: Rework scrolling animation.
* NEW: ScrollView: That control is now implemented in Gambas.
2018-09-12 14:38:19 +02:00
gambas
62fefce8f7 TerminalView: Animate scrolling when Application.Animations property is TRUE.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Animate scrolling when Application.Animations property is TRUE.
2018-09-10 20:49:46 +02:00
gambas
279c9a2782 SpinBox: Correctly refresh arrows when leaving the control.
[GB.GUI.BASE]
* BUG: SpinBox: Correctly refresh arrows when leaving the control.
2018-09-10 20:48:41 +02:00
gambas
f3eca2dd99 Font dialog: dialog is now centered at startup.
[GB.FORM.DIALOG]
* BUG: Font dialog: dialog is now centered at startup.
2018-09-10 20:07:46 +02:00
gambas
b0d9e142f9 TextEditor: Fix scrolling when animations are enabled.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix scrolling when animations are enabled.
2018-09-07 19:50:04 +02:00
gambas
196d5a3ebd ColorPalette: Scroll to the color when the Current property is set.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
* BUG: ColorPalette: Scroll to the color when the Current property is set.
2018-09-07 19:48:39 +02:00
gambas
b9af80fbec ScrollArea: Fix behaviour when scrolling animation is enabled.
[GB.GUI.BASE]
* BUG: ScrollArea: Fix behaviour when scrolling animation is enabled.
* BUG: SpinBox: Refresh correctly when the value changes.
2018-09-07 19:43:39 +02:00
gambas
ca324ba8b5 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-09-06 13:03:36 +02:00
gambas
fc00dcbad2 SpinBox: The Change event is correctly raised when the value is changed by typing it.
[GB.GUI.BASE]
* BUG: SpinBox: The Change event is correctly raised when the value is changed by typing it.
2018-09-06 13:02:48 +02:00
gambas
da1863bd5d TextEditor: Support for dotted highlighted text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Support for dotted highlighted text.
2018-09-06 09:52:29 +02:00
gambas
0ce7ddf5c3 ScrollArea: Fix for scrolling animations. Add a new Scrolling property that returns if the control is scrolling for animations.
[GB.GUI.BASE]
* NEW: ScrollArea: Scrolling is a new property that returns if the control is scrolling for animations.
* NEW: ScrollArea: Don't animate scrolling if nothing has been drawn yet.
* BUG: ScrollArea: Fix the ScrollX and ScrollY properties when animations are enabled.
2018-09-06 09:33:55 +02:00
gambas
89eb4ff2b8 Take Application.Animations property into account in some controls.
[GB.FORM]
* NEW: SwitchButton: Take Application.Animations property into account.
* NEW: MessageView: Take Application.Animations property into account.
2018-09-06 09:32:38 +02:00
gambas
d61741474f ScrollArea and all its children classes now can animate their scrolling.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Option dialog: Add an option to enable control animations. Move the toolbar size option to the 'Fonts' panel.

[GB.GTK]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.GTK3]
* NEW: Application.Animations is a new property that enable or disable control animations.
* NEW: Control.Font is now implemented using GTK+ CSS.

[GB.GUI.BASE]
* NEW: ScrollArea: Animate scrolling if Application.Animations is set.

[GB.QT4]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.QT5]
* NEW: Application.Animations is a new property that enable or disable control animations.
2018-09-05 21:19:57 +02:00
gambas
a908cbcecd ButtonBox: Fix some margin, according to the previous fix to Style metric properties.
[GB.FORM]
* NEW: ButtonBox: Fix some margin, according to the previous fix to Style metric properties.
2018-09-04 16:18:53 +02:00
gambas
ee674d9068 Many fixes to the GTK+3 components, and rewrite the SpinBox control in Gambas.
[GB.GTK]
* NEW: Remove the native SpinBox implementation.
* BUG: Add specific fixes for breeze and oxygen themes.

[GB.GTK3]
* NEW: Remove the native SpinBox implementation.
* BUG: ComboBox: Fix rendering.
* BUG: ComboBox: Use a GtkBox instead of the deprecated GtkAlignment.
* BUG: Style: Fix some paint methods and metric properties.
* BUG: Add specific fixes for breeze and oxygen themes.

[GB.GUI.BASE]
* NEW: SpinBox: New implementation of the control in Gambas.
* BUG: ProgressBar: Fix rendering with GTK+ components.

[GB.QT4]
* NEW: Remove the native SpinBox implementation.
* NEW: RadioButton: Fill the widget when the background color is set.
* BUG: Style: Fix some metric properties.

[GB.QT5]
* NEW: Remove the native SpinBox implementation.
* NEW: RadioButton: Fill the widget when the background color is set.
* BUG: Style: Fix some metric properties.
2018-09-04 15:56:23 +02:00
gambas
847dcd8ebf Remove other files that should not be tracked by git. 2018-09-01 12:23:05 +02:00
gambas
9ffe91c294 Remove files that should not be tracked by git. 2018-09-01 12:21:57 +02:00
gambas
dde015e828 Update some project and component configuration files. 2018-09-01 12:17:56 +02:00
gambas
5b7b62dea3 TableView: The cell editor now takes the color and font properties of the edited cell.
[GB.FORM]
* BUG: TableView: The cell editor now takes the color and font properties of the edited cell.
2018-09-01 12:01:56 +02:00
gambas
7e392841d5 FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
[GB.FORM]
* NEW: FileChooser: After having uncompressed a file, calls the event loop before refreshing the views so that the possible inotify events are processed.
2018-09-01 00:49:45 +02:00
gambas
a73c2ed412 Add three new color constants for syntax highlighting: Escape, Label and Constant.
[COMPILER]
* NEW: Rename a macro constant to avoid a symbol clash when compiling the interpreter.

[INTERPRETER]
* NEW: Get rid of a macro trick in 'gbx_eval.h' header.

[GB.EVAL]
* NEW: Highlight: Add three new color constants for syntax highlighting: Escape, Label and Constant.
* NEW: Rename some source files.
* NEW: Rename some constants.
* NEW: Gambas syntax highlighter now use the three new contants for escape characters in strings, for labels, and for language contants (True, False, Null, +Inf and -Inf).

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new syntax highlighting color constants.

[GB.FORM.EDITOR]
* NEW: Support for the new syntax highlighting color constants.
2018-08-31 15:58:53 +02:00
gambas
7e3f84d1e5 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic completion of string delimiters.
* BUG: TextEditor: Add single quote to HTML and WebPage string delimiters.
2018-08-31 02:11:44 +02:00
gambas
bde635a666 TextEditor: Automatic brace completion is more clever now.
[GB.FORM.EDITOR]
* NEW: TextEditor: Automatic brace completion is more clever now.
2018-08-28 17:07:35 +02:00
Benoît Minisini
f0dfa829e7 Merge branch 'master' into 'master'
Fix some minor issues found while packaging for Debian without Qt4

See merge request gambas/gambas!30
2018-08-23 18:02:12 +00:00
gambas
ccce7ad1b7 Add an option to close the tabs with the middle mouse button instead of using little close buttons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add an option to close the tabs with the middle mouse button instead of using little close buttons.

[GB.FORM]
* NEW: TabPanel: The middle mouse button does not close tabs anymore. It is now a feature only implemented in the Workspace control.

[GB.FORM.MDI]
* NEW: Workspace: CloseWithMouse is a new property. If set, the workspace tabs little close buttons are hidden, and the workspace tabs can be closed with a middle mouse click.
2018-08-14 22:46:41 +02:00
gambas
bc2c0490cf DesktopFile.FromMime() now follows the freedesktop search path specifications.
[GB.DESKTOP]
* BUG: DesktopFile.FromMime() now follows the freedesktop search path specifications.
2018-08-13 11:39:09 +02:00
gambas
3a49f9f3e9 Use the correct default value for XDG_DATA_DIRS environment variable.
[GB.DESKTOP]
* BUG: Use the correct default value for XDG_DATA_DIRS environment variable.
2018-08-10 11:54:30 +02:00
gambas
e76cdd33d6 Take multiline strings into account in javascript syntax highlighting and javascript editor mode.
[GB.EVAL.HIGHLIGHT]
* NEW: Take multiline strings into account in javascript syntax highlighting.

[GB.FORM.EDITOR]
* NEW: Take multiline strings into account in javascript mode.
2018-08-10 11:52:09 +02:00
Bastian Germann
2e488867a0 Use relative instead of absolute symbolic links
[GB.FORM.STOCK]
* Use relative instead of absolute symbolic links
2018-08-03 20:08:46 +02:00
bgermann
cc505e3fee Use 'gb.gui' component instead of 'gb.qt4*' components
[GB.CHART]
* Use 'gb.gui' component instead of 'gb.qt4*' components
2018-08-03 04:26:12 +02:00
gambas
5a61b7d436 TextEditor: Entering a bracket, a brace... while part of the current line is selected now automatically encloses the selected text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Entering a bracket, a brace... while part of the current line is selected now automatically encloses the selected text.
2018-07-21 16:09:03 +02:00
gambas
a36359b190 DataCheckBox: Its default value is now correctly set to NULL.
[GB.DB.FORM]
* BUG: DataCheckBox: Its default value is now correctly set to NULL.
2018-07-21 15:42:24 +02:00
gambas
5b5356c2a8 IconView: Clicking on an item in multiple selection mode correctly makes it the current item.
[GB.GUI.BASE]
* NEW: IconView: Improve and normalize how items are draws between horizontal et vertical orientation.
* BUG: IconView: Clicking on an item in multiple selection mode correctly makes it the current item.
* OPT: IconView: Selecting items with the keyboard is faster now.
2018-07-21 14:22:54 +02:00
gambas
e3ca5b2e12 FileView: Invalidate directory cache every five second, or if an explicit reload is triggered.
[GB.FORM]
* NEW: FileView: A directory cache is now automatically invalidated every five second.
* NEW: FileView: ReloadAll() now invalidates the directory cache.
2018-07-21 09:27:37 +02:00
gambas
150f488f8c Fix renaming process of DirView and FileView controls.
[GB.FORM]
* BUG: DirView: Errors occuring during a renaming now display the balloon message on the renaming item.
* BUG: DirView: Forbid void directory names.
* BUG: FileView: Canceling an item rename now works as expected in icon mode, and correctly refreshes the view.
* BUG: FileView: Forbid void file names.
2018-07-17 23:11:43 +02:00
gambas
6e935d2efd IconView: Canceling the Rename event keeps the editor opened.
[GB.GUI.BASE]
* BUG: IconView: Hitting ENTER while renaming an item does not insert a newline in the item text.
* NEW: IconView: Canceling the Rename event keeps the editor opened.
2018-07-17 23:09:11 +02:00
gambas
8c34e888b5 TreeView: Canceling the Rename event keeps the editor opened.
[GB.GUI.BASE]
* NEW: TreeView: Canceling the Rename event keeps the editor opened.
2018-07-17 22:29:04 +02:00
gambas
9abaadc360 Some fixes in FileView and FileProperties.
[GB.FORM]
* BUG: FileView: Setting the Current property does nothing if the new value is the same as the old one.
* BUG: FileProperties: Correctly abort the directory size background task if the Path property is set.
* BUG: FileProperties: Don't fill the error tab if the directory size background task is aborted.
2018-07-15 23:10:41 +02:00
Tobias Boege
789ce931f7 IconView: always raise Click event when clicked
[GB.GUI.BASE]
* BUG: IconView: always raise Click event when clicked and not only when selection changes

See Gambas Bug #1358
2018-06-28 19:07:31 +02:00
gambas
6a23fa861a TreeView: Don't mess up multiple selection when automatic sorting is enabled.
[GB.GUI.BASE]
* BUG: TreeView: Don't mess up multiple selection when automatic sorting is enabled.
2018-06-26 18:50:38 +02:00
gambas
0c43cfced0 Add Session.Path property, and fix the write of session values for sqlite sessions.
[GB.WEB]
* BUG: Fix the write of session values for sqlite sessions.
* NEW: Session.Path is a new property that returns the path of the file where the session is stored.
2018-06-22 00:47:48 +02:00
gambas
5e2a99a0a0 Session: Exist() method now works correctly for sessions stored in sqlite databases.
[GB.WEB]
* BUG: Session: Exist() method now works correctly for sessions stored in sqlite databases.
2018-06-19 00:30:29 +02:00
gambas
b8198005db [BENCHMARKS]
* OPT: Little optimization in nbody benchmark.

[GB.JIT]
* BUG: Fix translation of loops.
* BUG: Fix label generation.
2018-06-13 16:55:25 +02:00
gambas
83eed9707d Merge branch 'jit-with-c' 2018-06-13 00:45:19 +02:00
gambas
6b8afd0617 [COMPILER]
* BUG: Fix Left, Mid and Right subroutines metadata.

[GB.JIT]
* BUG: Fix function arguments management.
* BUG: Functions returning objects work correctly now.
* BUG: Fix internal control variables management.
2018-06-13 00:38:18 +02:00
gambas
c671adfd6b Work continues on new JIT system.
[INTERPRETER]
* OPT: String searching (Instr, RInstr and Replace) has been made about 4x faster by searching the first occurence with memchr() and memrchr().

[GB.FORM.TERMINAL]
* BUG: Fix warning messages.

[GB.JIT]
* BUG: Fix byte, short and boolean pushing and popping routines.
* BUG: Fix string values referencing.
* BUG: Fix optional argument management.
* NEW: Optimization of bits management subroutines.

[GB.QT4]
* BUG: Delay hooks initialization, because now socket notifiers must not be used before creating the event loop.

[GB.QT5]
* BUG: Delay hooks initialization, because now socket notifiers must not be used before creating the event loop.
2018-06-11 18:56:39 +02:00
gambas
4e50dec11d Work continues on new JIT system. Translation is now done at runtime.
[INTERPRETER]
* OPT: String routines are now compiled with -O3.
* NEW: Don't display JIT debugging message unless GB_JIT_DEBUG is set to something different from zero.
* NEW: String whose length is greater than 256 now have a growth step of 256 bytes instead of 16.

[GB.JIT]
* NEW: Do many global optimizations as now the class metadata is fully available.
* NEW: Support for optional argument. Still buggy at the moment.
2018-06-09 22:42:35 +02:00
gambas
23be942b6a Work continues on the new JIT system.
[BENCHMARKS]
* NEW: Little meaningless changes.

[INTERPRETER]
* NEW: JIT: Support for FOR EACH loops.
* BUG: JIT: Handle function values that are put on stack before calling them.

[COMPILER]
* NEW: JIT: Optimization of mathematic functions.
* NEW: JIT: Support for FOR EACH loops.
* NEW: JIT: Remove successive POP_x() / PUSH_x().
* NEW: JIT: Optimization of DIV and MOD.
* NEW: JIT: Support of internal control local variables used by SELECT and FOR EACH.
* NEW: JIT: Support for SWAP.

[GB.JIT]
* NEW: Optimization of mathematic functions.
* NEW: Variants management.
* NEW: All conversions are handled now.
* NEW: FOR EACH loops are implemented.
2018-06-05 11:43:39 +02:00
gambas
23081e47c6 Work continues on new JIT system. The "Fractal" example runs!
[INTERPRETER]
* NEW: Implement return value of JIT methods.
* NEW: Support for calling '.' operator from a JIT method.

[COMPILER]
* BUG: JIT: Fix detection of native arrays.
* BUG: JIT: Delete translated file if a class has no fast method anymore.
* BUG: JIT: Prefix JIT method with "jit_" to avoid possible conflicts.
* BUG: JIT: Fix variable initialization.
* NEW: JIT: Complete datatype support.
* NEW: JIT: Support for SWAP.
* NEW: JIT: Support for array operators.
* BUG: JIT: Fix arithmetic operators.
* NEW: JIT: Implement ME and "." operator.
* NEW: JIT: Complete GOSUB / RETURN support.
* NEW: JIT: Support for DIV and MOD operators. Not optimized yet.

[ARCHIVER]
* NEW: Put JIT translation in the archive.

[GB.JIT]
* NEW: Complete datatype support. Variant is not supported yet.
* NEW: Complete GOSUB / RETURN support.
* NEW: Support for ME and '.' operator.
2018-06-02 17:59:47 +02:00
gambas
714b77a10d Work on new JIT system continues.
[CONFIGURATION]
* NEW: Add '.jit' directory to '.gitignore'.

[COMPILER]
* NEW: New '-j' option that disables just in time compilation.
* NEW: JIT: Support for private functions calls.
* NEW: JIT: Support for native arrays accessors.
* BUG: JIT: Fix loop support.
* NEW: JIT: Support for GOSUB.

[GB.JIT]
* NEW: GB_JIT_DEBUG is an environment variable that defines if JIT compilation debugging messages are printed.
* NEW: GB_JIT_CFLAGS is an environment variable that defines the JIT compilation flags. The default is "-O3".
* NEW: Support for native arrays accessors.
2018-06-01 03:50:42 +02:00
gambas
5219fc48d1 Work continues on new JIT system.
[COMPILER]
* BUG: JIT: Fix local variable referencing.
* NEW: JIT: Implement NEW operator and array accessors.

[INTERPRETER]
* NEW: Support for JIT NEW operator and array accessors.

[GB.JIT]
* NEW: Support for object datatypes.
* NEW: Implement NEW operator and array accessors.
2018-05-29 23:25:57 +02:00
gambas
83a2452acb Continue working on new JIT system.
[COMPILER]
* NEW: JIT: Support for FOR...TO...NEXT loops.
* NEW: JIT: Support for Len(), Left$(), Mid$(), and Right$().
* NEW: JIT: Subroutines return values are now hadled correctly.

[GB.JIT]
* NEW: Compile JIT code with -O3.
2018-05-29 03:43:23 +02:00
gambas
a2b64b190a Work on new JIT system continues.
[COMPILER]
* NEW: Internal initialization functions now can be JIT translated.
* NEW: Support of subroutine calling completed. Interpreter subroutines are called if there is no optimization implemented in the JIT translation.

[INTERPRETER]
* NEW: Remove old JIT stuff.

[GB.JIT]
* NEW: Use 'gambas.h' and 'gb.jit.h' to compile translated code.
2018-05-28 03:18:44 +02:00
gambas
540cda4531 C/C++ syntax highlighting: A backslash at the end of the line continues preprocessor definitions.
[GB.EVAL.HIGHLIGHT]
* BUG: C/C++ syntax highlighting: A backslash at the end of the line continues preprocessor definitions.
* BUG: Fix a warning.
2018-05-28 03:16:53 +02:00
gambas
d797a545b6 [COMPILER]
* NEW: Work on JIT continues...
* NEW: Better panic errors.

[INTERPRETER]
* NEW: Remove the old JIT stuff.
* NEW: Calls gb.jit at runtime if needed. If a fast function has no jit implementation, the bytecode version is used.
* NEW: Start defining the JIT interface needed by the JIT functions.
* NEW: The common static character buffer is now twice the size of the maximum symbol length, to avoid possible overflows.

[GB.JIT]
* NEW: Compilation starts to work.
* NEW: Debugging messages.
2018-05-26 16:50:00 +02:00
gambas
3c8c722989 New component for compiling JIT code at runtime.
[GB.JIT]
* NEW: New component for compiling JIT code at runtime.
2018-05-25 21:03:48 +02:00
gambas
502b403728 TextEditor: Shortcuts work again.
[GB.FORM.EDITOR]
* BUG: TextEditor: Shortcuts work again.
2018-05-24 17:41:49 +02:00
Benoît Minisini
df6bf93820 Merge branch 'master' into 'master'
This commit contains bug fix for the Chart component.

See merge request gambas/gambas!18
2018-05-13 21:20:21 +00:00
gambas
85376261ea DateBox: The time popup works correctly again.
[GB.FORM]
* BUG: DateBox: The time popup works correctly again.
2018-05-07 22:20:01 +02:00
Davidmue
f61ff5e8b6 This commit contains bug fix for the Chart component.
[GB.CHART]
* BUG: Fixed a bug in Chart class.
  A more complex calculated id is now used. This let us use more than one chart.
* BUG: Fixed a bug in _CSerie class.
  A call to an unexisting property Labels has been changed.
2018-05-05 11:02:05 +02:00
gambas
7239cbe35e SmtpClient: Fix the sent date header.
[GB.NET.SMTP]
* BUG: SmtpClient: Fix the sent date header.
2018-05-02 17:05:16 +02:00
gambas
20f650aa59 Shortcut configuration dialog: Use the Shortcut class and display action icons correctly.
[GB.FORM.MDI]
* NEW: Shortcut configuration dialog: Use the Shortcut class.
* BUG: Shortcut configuration dialog: Display action icons correctly.
2018-04-28 15:54:33 +02:00
gambas
93fe4c8ae2 Shortcut: Write modifier keys with the first letter capitalized only.
[GB.GUI.BASE]
* BUG: Shortcut: Write modifier keys with the first letter capitalized only.
2018-04-28 15:53:17 +02:00
gambas
2b3cbd9217 TerminalView: Fix "EraseStartOfLine" VT-100 command and remove "Erase screen" optimization.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Remove "Erase screen" optimization.
* BUG: TerminalView: Fix "EraseStartOfLine" VT-100 command.
2018-04-21 20:38:57 +02:00
gambas
9b52761613 DesktopFile: Properties should be correctly writable now.
[GB.DESKTOP]
* BUG: DesktopFile: Properties should be correctly writable now.
2018-04-21 15:31:09 +02:00
gambas
f0ad78cb1f Toolbar: Make the toolbar configuration dialog defaut size smaller.
[GB.FORM.MDI]
* NEW: Toolbar: Make the toolbar configuration dialog defaut size smaller.
2018-04-16 16:36:10 +02:00
gambas
aaeebacc2f DateBox: Clicking on a date automatically closes the date chooser popup.
[GB.FORM]
* NEW: DateChooser: Raise a Click event when a date is clicked in the inner calendar.
* NEW: DateBox: Clicking on a date automatically closes the date chooser popup.
2018-04-16 16:33:51 +02:00
gambas
cc96782eee Correctly quote field names everywhere and always display error balloons on the accurate cell.
[GB.DB.FORM]
* BUG: DataView: Always display the error balloon on the accurate cell.
* BUG: Correctly quote field names everywhere.
2018-04-16 16:31:44 +02:00
gambas
96a5230994 Redraw the 'database', 'security' and 'table' icons.
[GB.FORM.STOCK]
* NEW: Redraw the 'database', 'security' and 'table' icons.
2018-04-14 19:22:46 +02:00
gambas
c3d36e653b Toolbar: Correctly manage the disabled state of the item when dropping it on a toolbar.
[GB.FORM.MDI]
* BUG: Toolbar: Correctly manage the disabled state of the item when dropping it on a toolbar.
* NEW: Toolbar: Size is a new property that returns the toolbar icon size as a stock string size.
* NEW: Toolbar: Redesign the expander, separator and space items icons.
2018-04-14 18:44:09 +02:00
gambas
d4e2dfcce9 Paint.DrawRect() is a new method that draws a rectangle frame.
[GB.GUI.BASE]
* NEW: Paint.DrawRect() is a new method that draws a rectangle frame.
2018-04-14 18:43:25 +02:00
gambas
27af76092e Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
[GB.FORM.MDI]
* BUG: Toolbar: Disabled controls are now correctly managed when the toolbar is in configuration mode.
2018-04-13 17:09:38 +02:00
gambas
de12caa1e7 Fix conversion between dates and their local string representation.
[INTERPRETER]
* BUG: Fix conversion between dates and their local string representation.
* OPT: Little optimization in conversion functions calls.

[GB.UTIL]
* BUG: Fix Date.ToUnixTime() and Date.FromUnixTime() according to the interpreter fix.
2018-04-09 18:58:11 +02:00
gambas
72384c0806 Fix Date.FromUnixTime() and Date.ToUnixTime().
[GB.UTIL]
* BUG: Fix Date.FromUnixTime() and Date.ToUnixTime().
2018-04-07 18:14:22 +02:00
gambas
3ffa6b48b7 Update control icons and remove unused variables.
[GB.DB.FORM]
* NEW: Update control icons.
* BUG: Remove unused variables.
2018-04-05 15:50:07 +02:00
gambas
9e6e254d31 Update "database" icons.
[GB.FORM.STOCK]
* NEW: Update "database" icons.
2018-04-05 15:49:32 +02:00
gambas
10013d286b [GB.DB.FORM]
* NEW: Add a project icon.

[GB.FORM.EDITOR]
* NEW: Add a project icon.

[GB.FORM.MDI]
* NEW: Add a project icon.
2018-04-05 14:01:37 +02:00
gambas
ceed651ab5 New stock icon "database".
[GB.FORM]
* NEW: New stock icon "database".

[GB.FORM.STOCK]
* NEW: New stock icon "database".
2018-04-05 13:57:44 +02:00
gambas
6136b8e840 TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Process output is sent to the terminal each 50 ms now, instead of 250 ms before.
2018-04-05 00:45:16 +02:00
gambas
19609d3eb4 TextEditor: Fix a potential crash when some editor views are invalid.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a potential crash when some editor views are invalid.
2018-04-05 00:39:03 +02:00
gambas
29b8b10c58 GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
[GB.GUI.BASE]
* NEW: GridView: Use a lighter version of the SelectedBackground color instead of a light gray when the control loses the focus.
2018-04-03 23:45:43 +02:00
gambas
77392c328f DataSource: Better support of SQL queries in the Table property.
[GB.DB.FORM]
* BUG: DataSource: Better support of SQL queries in the Table property. Using a SQL query now make the DataSource automatically read-only.
2018-04-03 23:44:32 +02:00
gambas
b7ce316088 DataView: Long integers are now right aligned like other numbers.
[GB.DB.FORM]
* BUG: DataView: Long integers are now right aligned like other numbers.
2018-03-30 16:57:54 +02:00
gambas
b81e653925 TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Add a default popup-menu that allows to copy, paste, and clear the terminal.
2018-03-30 00:38:13 +02:00
gambas
df8044501a Add a 128 pixel monochrome version of the 'gambas' icon.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel monochrome version of the 'gambas' icon.
2018-03-21 20:12:43 +01:00
gambas
c772e744a1 Support for stock icons of any size, with automatic stretching.
[GB.FORM]
* NEW: Support for stock icons of any size, with automatic stretching.

[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the Gambas logo to the 'gambas' stock theme.
2018-03-20 18:19:44 +01:00
gambas
3ec7e51b77 TerminalView: Add AutoResize, ScreenWidth, CharWidth and LineHeight properties.
[GB.FORM.TERMINAL]
* NEW: Redraw the control icon.
* NEW: TerminalView: AutoResize is a new property that defines if the screen width automatically fits the view.
* NEW: TerminalView: ScreenWidth is a new property that allows to define the screen width in the case AutoResize is FALSE.
* NEW: TerminalView: CharWidth is a new property that returns the screen character width.
* NEW: TerminalView: LineHeight is a new property that returns the screen lien height.
* BUG: TerminalView: The scrollbar should now be correctly hidden in all cases.
2018-03-20 18:14:47 +01:00
gambas
b9389e5d61 Update French translation.
[GB.FORM.MDI]
* NEW: Update French translation.
2018-03-17 23:36:54 +01:00
gambas
1a1db93658 Update a test form.
[GB.FORM]
* NEW: Update a test form.
2018-03-17 03:29:35 +01:00
gambas
870ad90a71 Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
[GB.DESKTOP]
* NEW: Use 'vector' stock icon for '*.svg' and '*.svgz' files in the Desktop.GetFileIcon() method.
2018-03-17 02:37:01 +01:00
gambas
b2cedc658c Redraw the control icons.
[GB.DB.FORM]
* NEW: Redraw the control icons.
2018-03-17 02:36:18 +01:00
gambas
a57f909fdb Use the 'vector' icon for svg mime type.
[GB.FORM.STOCK]
* NEW: Redraw the 'vector' icon.
* NEW: Use the 'vector' icon for svg mime type.
2018-03-17 02:35:23 +01:00
gambas
14be5945df Update control icons in many places. 2018-03-16 23:46:35 +01:00
gambas
759020b263 Forgot to add the new icon for 'gambas' theme.
[GB.FORM.STOCK]
* BUG: Forgot to add the new icon for 'gambas' theme.
2018-03-16 23:43:34 +01:00
gambas
1df3488f93 New stock icon 'vector'.
[GB.FORM]
* NEW: New stock icon 'vector'.

[GB.FORM.STOCK]
* NEW: New stock icon 'vector'.
* NEW: Fix some icons.
2018-03-16 23:42:08 +01:00
gambas
557165ebcb TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
[GB.FORM]
* BUG: TabPanel: Tab icons are now stretched if they are too big for the tab bar height.
2018-03-16 23:41:06 +01:00
gambas
900fee66d5 Update many project configuration files. 2018-03-16 14:13:21 +01:00
gambas
e7a98f3ab9 TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
[GB.FORM]
* BUG: TabPanel: Draw tab close buttons so that they adapt to the desktop scale.
2018-03-16 14:11:55 +01:00
gambas
539f17a4bd Redraw many control icons using the new stock icons. 2018-03-16 14:10:12 +01:00
gambas
c995af165c Fix the mysql logo that made libpng displays a warning.
[GB.MYSQL]
* BUG: Fix the mysql logo that made libpng displays a warning.
2018-03-16 03:05:56 +01:00
gambas
b80c0fbaa9 TextEditor: Fix the side view tooltip contents again.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the side view tooltip contents again.
2018-03-16 02:55:30 +01:00
gambas
2ac50c7ea0 TextEditor: Fix the side view range and the side view tooltips.
[GB.FORM.EDITOR]
* BUG: TextEditor: The side view does not allow to move the view past the last line anymore.
* BUG: TextEditor: Fix the values displayed in the side view tooltip.
* NEW: TextEditor: Draw the side view tooltip in a more compact way.
2018-03-16 02:09:30 +01:00
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