Commit graph

2686 commits

Author SHA1 Message Date
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
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
gambas
f05e6bc0ca Fix the TerminalView control again, and the way processes are run in pseudo-terminals.
[DEVELOPMENT ENVIRONMENT]
* BUG: Terminal: Replace "\n" by "\r\n" when sending text to the output terminal.

[INTERPRETER]
* NEW: When a process is run with a pseudo-terminal, don't set the ECHO flag, and clear the ONLCR flag.
  That way, the data printed on the standard output is the same as when the process is not run in a pseudo-terminal.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Output filter now works correctly when it receives incomplete data.
* OPT: TerminalViews: Resize the terminal less often when the terminal view is resized.
* NEW: TerminalView: When a process is run inside the terminal, set the ECHO and ONLCR flags automatically.
2017-08-22 13:20:26 +02:00
gambas
5bb80e57e1 A lot of fixes in the TerminalView class.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix management of ENTER and RETURN keys.
* BUG: TerminalView: CursorLeft and CursorRight commands now work correctly if the terminal has scrolled.
* BUG: TerminalView: Fix management of scroll margins.
* BUG: TerminalView: CursorHome command now takes the scroll margins into account as required.
* NEW: TerminalView: When a key is pressed, automatically scroll to the bottom of the view.
2017-08-21 13:59:17 +02:00
gambas
06f038799b Optimize session management based on SQLite.
[GB.WEB]
* OPT: Activate WAL mode and disable WAL synchronisation for sessions based on a SQLite database.
2017-08-19 20:21:16 +02:00
gambas
6ee476fd7e TextEditor: Update SideBar view font only when needed, and set the Font property once.
[GB.FORM.EDITOR]
* BUG: TextEditor: Update SideBar view font only when needed, and set the Font property once.
2017-08-17 15:34:19 +02:00
Laurent Carlier
aa559edd9f Add .action directory to .gitignore 2017-08-15 08:38:45 +02:00
Laurent Carlier
e78a7fae66 Add more generated files to .gitignore, remove them from the repository 2017-08-15 08:03:17 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
47aa838ba2 [DEVELOPMENT ENVIRONMENT]
* OPT: Editor: Some optimizations in identifier completion.
* NEW: Image editor: Add an opacity effect.
* NEW: Update backround images.

[WEBSITE MAKER]
* NEW: Update to 3.10 version.

[WIKI]
* NEW: The '{@classes}' command can take arguments to add custom classes to the list of classes.


git-svn-id: svn://localhost/gambas/trunk@8175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-12 09:15:57 +00:00
Fabien Bodard
dcabf06cbf [GB.TERM.FORM]
* NEW: New TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-02 20:51:31 +00:00
Benoît Minisini
d42a49b57d [CONFIGURATION]
* NEW: Switch version to 3.10.90.

[GB.DB]
* NEW: Connection.TimeZone is new property that will allow to define the default timezone of dates stored in the database we are connected to. Not implemented yet.


git-svn-id: svn://localhost/gambas/trunk@8168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-24 18:53:33 +00:00
Benoît Minisini
8cd2dba1d4 [GB.UTIL]
* BUG: Date.ToUTC() now actually returns the date, instead of returning nothing.

git-svn-id: svn://localhost/gambas/trunk@8167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 14:15:52 +00:00
Benoît Minisini
954f3ff706 [GB.TERM.FORM]
* BUG: Make the component depend on 'gb.term'.


git-svn-id: svn://localhost/gambas/trunk@8165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-22 01:40:52 +00:00
Benoît Minisini
af4773ca8b [DEVELOPMENT ENVIRONMENT]
* BUG: Allow to enter void arguments in project arguments list.

[GB.FORM]
* BUG: TabPanel: Tab buttons now eat the wheel events, so that they do not propagate.

[GB.JIT]
* NEW: Search llvm libraries with 'llvm-config' only.

[GB.QT4]
* BUG: Don't compile the QT5 menu fix.

[GB.WEB.FORM]
* NEW: Add '/~logout' URL to clear the session.


git-svn-id: svn://localhost/gambas/trunk@8151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-14 14:39:25 +00:00
Benoît Minisini
d757706672 [GB.DESKTOP]
* BUG: Don't use 'gb.desktop.gnome' anymore, as libgnome-keyring is deprecated. Use the 'secret-tool' program only.

git-svn-id: svn://localhost/gambas/trunk@8149 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-07-10 16:42:28 +00:00
Benoît Minisini
8666cff5d9 [GB.WEB.FORM]
* BUG: Exclude GUI components explicitely, instead of claiming implementing the event loop. Otherwise the IDE allows you to create GUI forms.
* NEW: WebUploader: Define a default event and a default size.
* BUG: WebTable: The first row in correctly unselected again in single selection mode.

git-svn-id: svn://localhost/gambas/trunk@8147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 16:45:39 +00:00
Benoît Minisini
dc683b3d13 [GB.SETTINGS]
* BUG: Don't crash if the window screen number is incorrect.

git-svn-id: svn://localhost/gambas/trunk@8146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-21 13:31:55 +00:00
Benoît Minisini
a8559b2552 [GB.EVAL.HIGHLIGHT]
* BUG: Fix SQL highlighting of strings that span multiple lines.

git-svn-id: svn://localhost/gambas/trunk@8145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-20 20:41:39 +00:00
Benoît Minisini
32402ceb9a [GB.WEB.FORM]
* BUG: This component now claims event loop implementation, so that you cannot check 'gb.web.form' with any other GUI component.
* BUG: Prevent timers from being called recursively.

git-svn-id: svn://localhost/gambas/trunk@8143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-19 22:44:49 +00:00
Benoît Minisini
3a87a5e4bb [GB.WEB]
* NEW: Request.TempDir is a new property that allows to define where the uploaded files are stored.
* NEW: Request.MaxFileSize is a new property that allows to define the maximum size of uploaded files. By default it is 128 MB.

[GB.WEB.FORM]
* NEW: WebUploadArea: Take the new Request.TempDir property into account.
* BUG: Prevent gw.table.onscroll() from failing if the target element does not exist anymore.


git-svn-id: svn://localhost/gambas/trunk@8140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-27 05:35:30 +00:00
Benoît Minisini
6afda3dd48 [GB.FORM]
* BUG: ImageView: The Border property returns the accurate value now.

git-svn-id: svn://localhost/gambas/trunk@8136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-22 12:56:46 +00:00
Fabien Bodard
a0fe6c2018 [GB.MAP]
* BUG: Now PolyLine Shape don't close the polygon by default you must add a end point
       to the same position than the first o achieve that.
* NEW: The _ShapeItem class have a new LineWidth property that allow to change the thinkness of the 
       drawing element.



git-svn-id: svn://localhost/gambas/trunk@8135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-16 20:31:57 +00:00
Benoît Minisini
b4182defd0 [GB.WEB.FORM]
* BUG: WebTable: clicking on the checkboxes of a WebTable in multiple selection mode works correctly again.


git-svn-id: svn://localhost/gambas/trunk@8134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-05 15:00:42 +00:00
Benoît Minisini
ec834b36a3 [GB.UTIL]
* NEW: Compute Date.ToUnixTime() with System.TimeZone.


git-svn-id: svn://localhost/gambas/trunk@8133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:56:25 +00:00
Benoît Minisini
0dce432dfe [WIKI]
* NEW: The [...](...) syntax can be used for images links to display a thumbnail images opening a link in a new page (usually the image in full size).

[GB.GTK]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.GTK3]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.FORM]
* BUG: DateChooser: Use light colors when disabled.

[GB.QT4]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.

[GB.QT5]
* NEW: Disabled controls do not raise mouse events anymore, unless in design mode.


git-svn-id: svn://localhost/gambas/trunk@8132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-05-03 23:24:30 +00:00
Fabien Bodard
f282796b7c [GB.TERM.FORM]
* NEW: New widget TermScrollBar. It allow to display true scrollbar 
       in your terminal window.
* NEW: Begin to work on the TermListBox widget.


git-svn-id: svn://localhost/gambas/trunk@8128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 09:01:38 +00:00
Benoît Minisini
147b224c25 [GB.FORM]
* BUG: ColorChooser: Don't react to mouse events if disabled.
* BUG: ColorPalette: Don't react to mouse events if disabled.

git-svn-id: svn://localhost/gambas/trunk@8127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 06:44:23 +00:00
Benoît Minisini
acc3a537fb [GB.EVAL.HIGHLIGHT]
* BUG: Javascript: Fix regular expressions highlighting.


git-svn-id: svn://localhost/gambas/trunk@8126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-27 06:01:29 +00:00
Benoît Minisini
7f7582e37d [GB.UTIL]
* BUG: Date.ToRFC822() now always use the ':' separator for dates.
* BUG: Date.FromRFC822() now should respect the semantics of the RFC correctly.

git-svn-id: svn://localhost/gambas/trunk@8124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-18 19:36:02 +00:00
Benoît Minisini
1951a940e4 [GB.WEB.FORM]
* NEW: WebScrollView: EnsureVisible() is new method that ensures a specific ScrollView child is visible to the screen.
* NEW: WebTable: SHIFT + Click allows to select or unselect a range of rows at once.


git-svn-id: svn://localhost/gambas/trunk@8123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-16 20:18:10 +00:00
Benoît Minisini
1c33c3b506 [GB.UTIL]
* NEW: Date.ToRFC822() is a new method that converts a date value to RFC822 date string.
* NEW: Date.FromRFC822() is a new method that converts a RFC822 date string to a date value.


git-svn-id: svn://localhost/gambas/trunk@8122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-16 20:02:19 +00:00
Tobias Boege
f658929032 [CONFIGURATION]
* NEW: Rename gb.rss to gb.web.feed.

[GB.WEB.FEED]
* NEW: Document the component.
* BUG: Set RssGuid.IsPermaLink to True by default, as per specification.
* BUG: Set RssImage.{Width,Height} to the defaults 88 and 31, as per specification.
* BUG: Enforce the maximum values of RssImage.{Width,Height}.



git-svn-id: svn://localhost/gambas/trunk@8121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-14 19:24:06 +00:00
Tobias Boege
91c170cb45 [CONFIGURATION]
* NEW: Add gb.rss

[GB.RSS]
* NEW: New component to generate and parse RSS documents



git-svn-id: svn://localhost/gambas/trunk@8117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 16:04:27 +00:00
Fabien Bodard
91518a2b72 [GB.REPORT2]
* BUG: FPreview: Remember the Duplex mode when changing the printer device.


git-svn-id: svn://localhost/gambas/trunk@8115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-01 13:27:35 +00:00
Benoît Minisini
f184669d7e [GB.WEB.FORM]
* NEW: WebMenuBar is a new control that acts as a container of WebMenu controls. It was made as a workaround of the badly designed CSS specifications of the overflow property. It may be removed if I find a way to use the WebHBox instead.
* NEW: WebComboBox: Activate waiting animation when selecting an item.
* BUG: WebForm: They can be resized horizontally again.
* BUG: WebForm: Top level form titlebar is now correctly highlighted again.


git-svn-id: svn://localhost/gambas/trunk@8111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-18 12:18:50 +00:00
Benoît Minisini
8f079935df [GB.WEB.FORM]
* BUG: WebForm: Don't raise the Open event twice anymore when showing a modal form.
* BUG: WebUploader: The progress bar is now correctly visible.
* NEW: WebUploader: Image is a new property that allows to define the icon of the file upload button.


git-svn-id: svn://localhost/gambas/trunk@8109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-08 21:53:02 +00:00
Benoît Minisini
8ecd2f680d [GB.WEB.FORM]
* NEW: WebUploader is a control that aims at managing the file upload process entirely. It is a combination of a WebUploadArea, a cancel button, and a progress bar.
* BUG: Always refresh the parent when the visibility of a control changes.


git-svn-id: svn://localhost/gambas/trunk@8108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-03-05 20:23:08 +00:00
Brian G
678a6c518b [GB.FORM.TERMINAL]
* BUG: Correct ConnectTo to handle Socket connections correctly
* New: updated ConnectTo added new parameter, Preprocess. to allow a call back to the object method Preprocess for preprocessing 
  the buffer to handle protocol or state processing buffer and count are passed byref to allow proprocessor to change
  the buffer and the length. Allows to plug in a protocol object or handle out of band data.


git-svn-id: svn://localhost/gambas/trunk@8107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-28 05:55:03 +00:00
Brian G
c08d2e058c [GB.FORM.TERMINAL]
* NEW :  Method ConnectTo which allows to connect terminal to a stream
  Pipe, etc. It takes as input the terminal input and output stream
  the interface is Public Sub ConnectTo ( $hOutputStream As Variant, $hInputStream As Variant ) As Boolean


git-svn-id: svn://localhost/gambas/trunk@8106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-27 01:17:05 +00:00
Brian G
207dbcdfb5 [update]
- added pipe and stream support to terminal class
   


git-svn-id: svn://localhost/gambas/trunk@8105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-26 09:31:12 +00:00
Benoît Minisini
d84f576ea7 [GB.SETTINGS]
* BUG: Settings: Correctly write small float values.

git-svn-id: svn://localhost/gambas/trunk@8103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-22 21:52:37 +00:00
Benoît Minisini
5ca39119fb [GB.GUI.BASE]
* NEW: GridView: AddColumn() is a new method to add a column.
* NEW: ColumnView: AddColumn() is a new method to add a column.

git-svn-id: svn://localhost/gambas/trunk@8102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-22 01:16:54 +00:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
1353c10803 [GB.FORM.TERMINAL]
* NEW: TerminalView: Ignore '[1034h' and '[1034l' sequences instead of displaying a warning message.


git-svn-id: svn://localhost/gambas/trunk@8100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:20:06 +00:00
Benoît Minisini
51dfdf0932 [GB.DESKTOP]
* NEW: DesktopWindow: Shaded is a new property that tells if a window is shaded (i.e. only its titlebar is visible).

git-svn-id: svn://localhost/gambas/trunk@8096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 03:38:11 +00:00
Benoît Minisini
de7c4e9f5a [GB.DESKTOP]
* BUG: A void atom name is now associated with the atom 0 (None).

git-svn-id: svn://localhost/gambas/trunk@8095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 03:01:13 +00:00
Benoît Minisini
44c593bed3 [CONFIGURATION]
* NEW: Add 'gb.term.form' to the list of components to compile.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas font.
* NEW: Add 'gb.term.form' to the list of components.
* OPT: Optimize the automatic completion of identifiers.
* OPT: Optimize the automatic completion of event handlers.


git-svn-id: svn://localhost/gambas/trunk@8092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-15 22:10:18 +00:00
Benoît Minisini
56dff64b8c [GB.FORM.TERMINAL]
* NEW: TerminalView: Raise a Resize event with the new terminal dimensions when the terminal is resized.

git-svn-id: svn://localhost/gambas/trunk@8091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-15 21:09:29 +00:00
Benoît Minisini
c7de0c06d5 [GB.WEB.FORM]
* BUG: WebTable: Clicking inside a row in multiple selection row now just toggle that row. It does not unselect all the other rows anymore.
* BUG: WebTable: Selection works correctly again with Firefox.


git-svn-id: svn://localhost/gambas/trunk@8090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-14 00:44:03 +00:00
Benoît Minisini
9676fc8ba1 [GB.NET.SMTP]
* BUG: Format mime parts Content-Type correctly in all cases.


git-svn-id: svn://localhost/gambas/trunk@8087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-07 00:04:19 +00:00
Benoît Minisini
2bc3143a32 [GB.DBUS.TRAYICON]
* BUG: Apparently LXDE has support for indicators, whereas KDE system tray protocol is not supported.

git-svn-id: svn://localhost/gambas/trunk@8086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-05 21:45:50 +00:00
Benoît Minisini
6ae433258c [GB.TERM.FORM]
* OPT: Little optimizations in the main render routine based on profiler result.

git-svn-id: svn://localhost/gambas/trunk@8085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-04 22:20:06 +00:00
Benoît Minisini
a829f83b3a [GB.FORM.TERMINAL]
* BUG: Correctly draw blinking text.
* BUG: Vertical and horizontal bar graphical characters now has a minimum size of 1 pixel, otherwise the thinner ones may not be visible.


git-svn-id: svn://localhost/gambas/trunk@8084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-04 11:14:27 +00:00
Fabien Bodard
bb294b9830 [GB.TERM.FORM]
* BUG: Optimize a lot rendering by using String stream and limiting calls to attr class.
* BUG: Use term.makeraw function.


git-svn-id: svn://localhost/gambas/trunk@8083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-03 22:43:12 +00:00
Fabien Bodard
fa2b72cf76 [GB.TERM.FORM]
* NEW: TermTextBox: new widget TextBox
* NEW: TermRadioButton: new widget RadioButton
* NEW: the widgets use default colors from TermColor



git-svn-id: svn://localhost/gambas/trunk@8082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-02 21:45:09 +00:00
Fabien Bodard
686a7895b8 [GB.DESKTOP]
* BUG: Escape commented lines in .desktop files.


git-svn-id: svn://localhost/gambas/trunk@8079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-01 16:31:20 +00:00
Benoît Minisini
3c99af9cae [GB.WEB.FORM]
* BUG: WebExpander: Arrows are correctly displayed now.
* NEW: Message boxes icons are now pre-loaded.
* NEW: WebTableView: Sortable is a new property that indicates that the table can be sorted.
* NEW: WebTableView: Columns[].Sortable is a new property that tells if a specific is sortable or not. By default, all columns are sortable.
* NEW: WebTableView: SortColumns is a new property that returns the index of the currently sorted columns, or -1 if no column is sorted.
* NEW: WebTableView: SortOrder is a new property that returns the sort order (gb.Ascent or gb.Descent) or the currently sorted column.
* NEW: WebTableView: Sort is a new event that is raised each time the sort state of the table has changed, meaning that the table view contents must be refreshed with the newly sorted data.
* NEW: WebTableView: Clicking on a row, when the table is in multiple selection mode, selects the clicked row and unselect the other ones.


git-svn-id: svn://localhost/gambas/trunk@8075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:27:33 +00:00
Benoît Minisini
27214b7a03 [GB.SETTINGS]
* BUG: Saving the settings of a window now takes the window desktop into account only for toplevel windows.


git-svn-id: svn://localhost/gambas/trunk@8074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-31 19:21:01 +00:00
Fabien Bodard
33ffab3071 [GB.TERM.FORM]
* NEW: Begin to implement focus management (It work on forward but 
  I have a bug on backward).


git-svn-id: svn://localhost/gambas/trunk@8071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-30 21:02:16 +00:00
Benoît Minisini
971d2787d9 [GB.WEB.FORM]
* NEW: The activate event of TextBox and ComboBox now display the waiting animation.
* BUG: WebTableView: Selected rows are now highlighted correctly even with cell having explicit background and foreground color.


git-svn-id: svn://localhost/gambas/trunk@8070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 22:01:14 +00:00
Benoît Minisini
d08a149351 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix sidebar editor preview style synchronization.
* NEW: TextEditor: Reduce sidebar refresh timers delays.


git-svn-id: svn://localhost/gambas/trunk@8069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 21:08:55 +00:00
Benoît Minisini
3e6103b678 [GB.FORM.EDITOR]
* BUG: TextEditor: Fix handling of folded procedures in sidebar editor preview.
* BUG: TextEditor: Fully synchronize sidebar editor preview options and highlight.


git-svn-id: svn://localhost/gambas/trunk@8068 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 20:59:35 +00:00
Fabien Bodard
f95566e633 [GB.TERM.FORM]
* BUG: Remove many bugs on rendering.


git-svn-id: svn://localhost/gambas/trunk@8067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 19:01:24 +00:00
Fabien Bodard
c8d559c9e2 [GB.FORM.EDITOR]
* NEW: Now use the Editor.View Poperty to share the CDocument content with the
  Bar bubble.


git-svn-id: svn://localhost/gambas/trunk@8066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-28 17:31:35 +00:00
Fabien Bodard
93207f480a [GB.FORM]
* NEW: Add the stock icon for scanner device


git-svn-id: svn://localhost/gambas/trunk@8063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-25 15:15:08 +00:00
Fabien Bodard
78db373d78 [GB.TERM.FORM]
* NEW: Continue the windows management implementation
* NEW: Add the Key management
* NEW: TermCheckBox: Value can change on mouse Click
* NEW: Mouse: Add the Click event



git-svn-id: svn://localhost/gambas/trunk@8060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-18 21:51:13 +00:00
Fabien Bodard
b13c3ff822 [GB.FORM.EDITOR]
* BUG: Now magnifier don't show any blank line when mouse is on the top of the preview bar.
* NEW: New simplified mouse handling. Left button to move to a place, middle one to lock
  the magnifier on the current location.


git-svn-id: svn://localhost/gambas/trunk@8059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-18 20:38:37 +00:00
Fabien Bodard
96df625cc0 [GB.FORM.EDITOR]
* BUG: TextEditor: Never call the refresh timer when the side bar is hidden.


git-svn-id: svn://localhost/gambas/trunk@8058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-16 17:30:04 +00:00
Benoît Minisini
cfa1adbc86 [GB.FORM]
* BUG: MenuButton: Never popup the menu when the button is disabled.

git-svn-id: svn://localhost/gambas/trunk@8057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-16 16:39:19 +00:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
f17e3a6ac1 [GB.MARKDOWN]
* NEW: Markdown.Verbatim is a new integer property that allows to enter or leave "verbatim" mode. It's a mode where markdown syntax is not interpreted anymore.


git-svn-id: svn://localhost/gambas/trunk@8055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:27:14 +00:00
Benoît Minisini
7f78c57736 [GB.GUI.BASE]
* NEW: GridView and its children classes display their selection in gray when they do not have the focus.
* NEW: IconView displays its selection in gray when it does not have the focus.


git-svn-id: svn://localhost/gambas/trunk@8054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:25:10 +00:00
Fabien Bodard
e73d08f2bf [GB.TERM.FORM]
* NEW: a new Class Mouse allow to manage mouse
* NEW: Mouse events are working
* NEW: Window support Maximize and close on mouse click
* NEW: A new Message class allow to display a messagebox
* NEW: A TermPictureBox is available just for fun... working only on Xterm compatible emulators.
* OPT: And so on...




git-svn-id: svn://localhost/gambas/trunk@8051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-09 21:59:27 +00:00
Fabien Bodard
0c6d15fd44 [GB.FORM.EDITOR]
* New: Preview: Some arrows to make more visible separators
* New: Preview: Take folded lines into account.
* New: Preview: Right mouse button to got fast to a point, left to 
  slide or page up/down, center to fix the magnifier on a point.
  


git-svn-id: svn://localhost/gambas/trunk@8047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 14:08:01 +00:00
Benoît Minisini
bb3b541b54 [GB.WEB.FORM]
* BUG: WebDateBox: Settings the Value (or Date) property raise the Change event.
* NEW: WebForm: The AddJavascriptFile() method now support extern javaascript files.
* NEW: WebTable: EnsureVisible() is a new method ensuring that a specific row is visible to the screen.
* BUG: WebTextBox: Fix the raise of Activate event.
* BUG: WebTextBox: Fix autocompletion support.


git-svn-id: svn://localhost/gambas/trunk@8041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:55:12 +00:00
Benoît Minisini
12da889f63 [GB.FORM]
* NEW: URLLabel: Add Alignment and Border properties.


git-svn-id: svn://localhost/gambas/trunk@8040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:50:25 +00:00
Benoît Minisini
1ee7928773 [GB.UTIL.WEB]
* BUG: JSON.Encode() now correctly handles JSON.Null values.


git-svn-id: svn://localhost/gambas/trunk@8039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:47:26 +00:00
Benoît Minisini
ae6cb9e896 [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS properties and values.


git-svn-id: svn://localhost/gambas/trunk@8037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-07 00:44:28 +00:00
Benoît Minisini
e1cb68a0b6 [GB.NET.SMTP]
* BUG: Always check for multi-line answers.
* BUG: Assume that TLS session is connected after running for one second.
* NEW: Print openssl error output if the Debug property is set.

git-svn-id: svn://localhost/gambas/trunk@8025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-29 16:04:39 +00:00
Fabien Bodard
46d7adce21 [GB.FORM.EDITOR]
* BUG: Refresh the Preview when needed.


git-svn-id: svn://localhost/gambas/trunk@8020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-23 20:14:00 +00:00
Fabien Bodard
9fce5f2416 [GB.FORM]
* BUG: DocumentView: WorkAround to lock scrolling on mouseWheel


git-svn-id: svn://localhost/gambas/trunk@8018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-20 14:26:08 +00:00
Benoît Minisini
80d79748f2 [GB.FORM.EDITOR]
* NEW: Some little cosmetic changes in the preview bar.

git-svn-id: svn://localhost/gambas/trunk@8017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-19 13:28:11 +00:00
Fabien Bodard
84edb015f4 [GB.FORM.EDITOR]
* BUG: Solve some problems on RTL


git-svn-id: svn://localhost/gambas/trunk@8016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-18 20:45:20 +00:00
Fabien Bodard
4f7537f282 [GB.FORM.EDITOR]
* NEW: TextEditor: The ShowSideBar property is renamed ShowPreview.
* NEW: Now editor preview is moved on the left or right depend to 
       the System.RightToLeft property.
* NEW: Some cosmetic changes, the preview taque all the height of the editor
       and the buttons are visible only on fly.
       


git-svn-id: svn://localhost/gambas/trunk@8014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-18 19:16:23 +00:00
Fabien Bodard
d221300a37 [GB.FORM.EDITOR]
* BUG: TextEditor: Now text that not begin with a commented line can be opened.



git-svn-id: svn://localhost/gambas/trunk@8012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-13 09:17:20 +00:00
Fabien Bodard
172da9b893 [GB.FORM.EDITOR]
* BUG: TextEditor: Limit the "magnifying" editor refresh.


git-svn-id: svn://localhost/gambas/trunk@8011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-12 14:18:27 +00:00
Fabien Bodard
696c2bafc2 [GB.FORM.EDITOR]
* New: TextEditor: Add a new property ShowSideBar that display a preview style scrolling bar. 
       This tool tries to make walking through the code more efficiently.
       


git-svn-id: svn://localhost/gambas/trunk@8009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-12 13:35:26 +00:00
Fabien Bodard
d12a73babc [GB.FORM.STOCK]
* BUG: Put the good icon for 'lock' in size 22.


git-svn-id: svn://localhost/gambas/trunk@8008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-12-08 05:36:36 +00:00
Benoît Minisini
386ce693e7 [GB.GUI.BASE]
* BUG: IconView: Correctly refresh layout when icon pictures are made smaller.

git-svn-id: svn://localhost/gambas/trunk@8000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-27 20:06:51 +00:00
Benoît Minisini
eb58963f0f [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:23:51 +00:00
Benoît Minisini
f574c1518c [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:22:39 +00:00
Benoît Minisini
ceae144f12 [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:21:47 +00:00
Benoît Minisini
bb9d7ebc33 [GB.WEB.FORM]
* BUG: Fix management of waiting animation again.

git-svn-id: svn://localhost/gambas/trunk@7990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:16:11 +00:00
Benoît Minisini
dcdcb4c04f [GB.WEB.FORM]
* BUG: Fix management of events that do not use waiting animation.
* NEW: Waiting animation now uses a darker shadow.

git-svn-id: svn://localhost/gambas/trunk@7989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-21 07:12:55 +00:00
Benoît Minisini
cb6250977a [GB.WEB]
* NEW: Response.Cancel() is a new method that allows to cancel a response, provided that nothing has been sent to the client yet. It requires at least that the response is buffered.

[GB.WEB.FORM]
* BUG: Better error handling. Now unexpected errors should be displayed in the browser through an alert box in almost all cases.


git-svn-id: svn://localhost/gambas/trunk@7988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-19 11:24:40 +00:00
Benoît Minisini
3b8625f1d1 [GB.WEB.FORM]
* BUG: WebUploadArea: It should behave correctly in all cases now.
* NEW: Display an animation when waiting for the answer of an event more than 500 ms.


git-svn-id: svn://localhost/gambas/trunk@7987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-19 10:29:20 +00:00
Benoît Minisini
69661715a5 [GB.WEB.FORM]
* BUG: Another fix for unique sessions using SQLite.

git-svn-id: svn://localhost/gambas/trunk@7986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-18 23:45:20 +00:00
Benoît Minisini
bb9d1d8373 [GB.WEB]
* BUG: Session.Unique now correctly clear sessions when using SQLite.

git-svn-id: svn://localhost/gambas/trunk@7985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-18 23:28:26 +00:00
Benoît Minisini
a14976969b [GB.WEB]
* BUG: Session.Unique works again.

git-svn-id: svn://localhost/gambas/trunk@7981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-17 04:42:18 +00:00
Benoît Minisini
97a144de6f [GB.WEB.FORM]
* BUG: WebButton: Fix incorrect generated HTML when a button has both text and image.

git-svn-id: svn://localhost/gambas/trunk@7980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-17 01:03:38 +00:00
Benoît Minisini
8ef094e3e7 [GB.WEB]
* BUG: Sqlite sessions really do not override DB.Current anymore.


git-svn-id: svn://localhost/gambas/trunk@7979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 22:16:22 +00:00
Fabien Bodard
bf3cc26cee [GB.TERM.FORM]
* New: TermPictureBox: it's a new widget that allow to show picture in 256 colors. It is based
       on the gb.image and gb.image.io components.
* New: All the widgets are prefixed with 'Term'.
* Bug: TermControl: Now the borders are drawing on the right place.
* New: TermControl: A new hidden property allow to indicate if the content of the widget must
       be drawed in 256 color mode.


git-svn-id: svn://localhost/gambas/trunk@7978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:53:52 +00:00
Benoît Minisini
fe4450fd5a [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Editor: Fix error messages including HTML.
* NEW: Form editor: Support for WebFont properties.
* NEW: Form editor: New toolbar buttons for changing the font family.
* BUG: Form editor: CoordBox control now raises its Change event when it is cleared.
* NEW: WebForm: WebFont chooser dialog box.
* NEW: WebForm: Support for format toolbar buttons.
* NEW: Initial support for IDE extensions.
* BUG: Farm client: Fix software shortcuts removing.
* NEW: Farm client: Support for libraries.
* NEW: Farm client: Some look changes.
* BUG: Farm client: Fix tag editor.

[WEBSITE]
* NEW: Update to 3.9.1.

[FARM SERVER]
* NEW: Download count now takes all versions into account.

[GB.FORM]
* NEW: MessageViex: Add a Border property.
* NEW: Add a 'plugin' stock icon.

[GB.WEB.FORM]
* NEW: WebButton: Click() is a new method that triggers a button click.
* BUG: WebComboBox: Setting the Text property now correctly refreshes the control.
* NEW: WebControl: Font is a new property that allows to define some of the font CSS properties.
* BUG: WebControl: Modifying the Style property now correctly refreshes the control.
* NEW: WebControl: WebControl.Style.Exist() is a new property to know if a specific CSS property is explicitly defined.
* NEW: WebForm: Exec() is a new method to run some custom javascript in the browser.
* NEW: WebForm: Startup is a new property that allows to redefine the name of the startup form.
* NEW: WebTextBox: ShowClear is a new property that allows to enable a "clear" button inside the textbox.
* NEW: WebTextBox: Clear is a new event that is raised when the clear button is clicked. If that event is handled, then the control is not automatically cleared when clicking on the button.
* NEW: WebTextBox: Password is a new boolean property that puts the text box in password mode.
* BUG: WebControl: SetFocus() method now should work correctly in all cases.
* NEW: WebTable: Lines are now highlighted on mouse over, and separated by thin lines.


git-svn-id: svn://localhost/gambas/trunk@7977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:10:05 +00:00
Benoît Minisini
b73eeaac29 [GB.EVAL.HIGHLIGHT]
* NEW: Add some CSS properties and symbols.


git-svn-id: svn://localhost/gambas/trunk@7976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:01:35 +00:00
Benoît Minisini
db6e7c2607 [GB.ARGS]
* BUG: Fix help text for options having no short name.


git-svn-id: svn://localhost/gambas/trunk@7975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:00:21 +00:00
Benoît Minisini
ee8b73a992 [GB.FORM.STOCK]
* NEW: Update icons.
* NEW: Add 'plugin' stock icon.


git-svn-id: svn://localhost/gambas/trunk@7974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-15 14:59:02 +00:00
Benoît Minisini
db16463d2a [GB.FORM]
* BUG: MenuButton: Automatic menu popup routine should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-15 14:55:34 +00:00
Fabien Bodard
d7c6daff37 [GB.TERM.FORM]
* NEW: Control: Now the Colors are inheritable from the containers
* NEW: Frame: New control Frame. It's a container with a title
* NEW: CheckBox: New control CheckBox
* BUG: Control: Resizing the terminal emulator now don't crash the renderer.
* NEW: Panel: Add some features.



git-svn-id: svn://localhost/gambas/trunk@7972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-14 11:19:44 +00:00
Benoît Minisini
51f1e9b853 [GB.WEB.FORM]
* NEW: WebDataBox: DateTime is a new property that allows the control to accept a time part.


git-svn-id: svn://localhost/gambas/trunk@7970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-14 02:57:03 +00:00
Benoît Minisini
1013f312d1 [GB.WEB.FORM]
* BUG: WebForm: Correctly restore automatic instances between request.
* BUG: WebForm: The Hide() method works as expected now.
* NEW: WebForm: Persistent is a new property that tells a form must be hidden instead of being deleted when clicking on the close button or calling the Close() method.


git-svn-id: svn://localhost/gambas/trunk@7969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-13 15:29:23 +00:00
Fabien Bodard
bb4b631e48 [GB.TERM.FORM]
* New: Button: Button is a new Class that diplays a button
* New: Container: Function for Vertical and horizontal arrangement. An invert function allow to invert the
  arrangement way.
* New: HBox: is a container class with default arragement set to horizontal.
* New: Control: Many changes in the Control class. Support for Borders ans Shadow. Management of the ClientSpace.



git-svn-id: svn://localhost/gambas/trunk@7968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-13 08:35:14 +00:00
Benoît Minisini
508e522c84 [GB.ARGS]
* BUG: Take UTF-8 into account when formatting help text.

git-svn-id: svn://localhost/gambas/trunk@7967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-07 09:14:02 +00:00
Benoît Minisini
1ccc3f7324 [GB.WEB.FORM]
* BUG: WebForm: Prevent non resizable dialog window from expanding to fit its contents.

git-svn-id: svn://localhost/gambas/trunk@7965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-07 08:21:59 +00:00
Fabien Bodard
0018f61166 [GB.SPELL]
* New: Rename the component to gb.term.form.



git-svn-id: svn://localhost/gambas/trunk@7964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:41:35 +00:00
Fabien Bodard
ae15e27416 [GB.TERMAPP]
* NEW: This component is deprecated


git-svn-id: svn://localhost/gambas/trunk@7963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:11:29 +00:00
Fabien Bodard
fb1c2b2efb [GB.SPELLS]
* NEW: First release. Begin to put the structure in place.


git-svn-id: svn://localhost/gambas/trunk@7962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 22:08:43 +00:00
Benoît Minisini
06cd506d44 [GB.WEB]
* BUG: Using Response.SendFile() correctly sets the Done property.
* BUG: Getting the sessions keys using sqlite works correctly now.

git-svn-id: svn://localhost/gambas/trunk@7960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 02:24:33 +00:00
Benoît Minisini
ab231c0bda [GB.WEB.FORM]
* BUG: The static public method HandleRequest is now correctly called in your startup form.
* NEW: Remove support for multiple main forms.
* NEW: WebTable: AddColumn() is a new method to add a column and defining its properties in one line of code.

git-svn-id: svn://localhost/gambas/trunk@7958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 00:28:57 +00:00
Benoît Minisini
a8314298c5 [GB.WEB]
* BUG: Don't modify DB.Current when sessions are managed with sqlite databases.

git-svn-id: svn://localhost/gambas/trunk@7957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-06 00:26:32 +00:00
Benoît Minisini
53dfe06549 [GB.WEB.FORM]
* BUG: WebTable: Selection is now correctly maintained between requests.

git-svn-id: svn://localhost/gambas/trunk@7955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-04 18:16:59 +00:00
Benoît Minisini
300ca377d8 [GB.WEB.FORM]
* BUG: WebContainer: Force a full refresh when the Visible property changes.
* NEW: WebTable: Add an Hidden property to the column object.
* NEW: WebUploadArea: Clear() is a new method that clears the possible uploaded file.


git-svn-id: svn://localhost/gambas/trunk@7953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-02 16:14:36 +00:00
Fabien Bodard
143effc7f8 [GB.MAP]
* BUG: Now polyline work properly.
* BUG: Zoom down does not change the center of the map anymore.



git-svn-id: svn://localhost/gambas/trunk@7950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-31 09:31:15 +00:00
Benoît Minisini
5b3ea07d1d [GB.WEB.FORM]
* BUG: WebControl.Name is now writable, so that the Group virtual property can be used in the IDE.


git-svn-id: svn://localhost/gambas/trunk@7948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 13:32:41 +00:00
Benoît Minisini
b12c9123e8 [GB.NET.POP3]
* BUG: Pop3Client.Refresh() has been implemented. This method was needed to refresh the internal message cache, so that you don't have to open a new connection 
  each time you need to read the message box.

git-svn-id: svn://localhost/gambas/trunk@7945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-30 10:25:20 +00:00
Benoît Minisini
63bc9c7314 [GB.DESKTOP]
* BUG: Setting Desktop.Passwords[] now works correctly if 'secret-tool' is used.

git-svn-id: svn://localhost/gambas/trunk@7942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 01:43:30 +00:00
Benoît Minisini
107b35a48e [GB.DESKTOP]
* NEW: Support for cygwin desktops.

git-svn-id: svn://localhost/gambas/trunk@7938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-27 11:05:39 +00:00
Benoît Minisini
1c81873534 [GB.WEB]
* NEW: If Http-Accept-Language header is void, Request.Language returns the current system language instead of "C".
* NEW: Mime types for 'json', 'kml' & 'kmz' files. Used by the Response.SendFile() method.


git-svn-id: svn://localhost/gambas/trunk@7936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-25 02:41:22 +00:00
Benoît Minisini
a39a89c6f1 [GB.WEB.FORM]
* NEW: WebForm.Download() is a new static method that triggers a file download on the client side.
* BUG: WebTextBox: The default event is "Change" now.
* BUG: Allows quotes in automatic completion items.


git-svn-id: svn://localhost/gambas/trunk@7935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-25 02:37:16 +00:00
Benoît Minisini
8b09edbe72 [GB.MEDIA.FORM]
* NEW: MediaView: Expose the inner MediaPlayer AboutToFinish event.
* NEW: MediaView: Expose the inner MediaPlayer NextURL property.


git-svn-id: svn://localhost/gambas/trunk@7934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-21 02:12:14 +00:00
Benoît Minisini
a28a30d0f4 [GB.GUI.BASE]
* BUG: GridView: Stop the scrolling timer when focus is lost, as if you open a modal dialog during a MouseDown event, you don't get the MouseUp event! Maybe I should systematically raise a fake MouseUp event when focus is lost, and QT didn't send it.


git-svn-id: svn://localhost/gambas/trunk@7930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:42:40 +00:00
Benoît Minisini
808414bd76 [GB.DESKTOP]
* BUG: Use KDE5 wallet when the desktop is KDE5. Use a possible old KDE4 wallet only if no password is found in the KDE5 wallet.


git-svn-id: svn://localhost/gambas/trunk@7928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-10 16:36:05 +00:00
Benoît Minisini
89f509eea2 [GB.DBUS.TRAYICON]
* BUG: Remove a debugging message

git-svn-id: svn://localhost/gambas/trunk@7923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-03 16:26:15 +00:00
Sebastian Kulesz
842b5f5e7f [GB;LOGGING]
* NEW: Early implementation of automatic log rotation.



git-svn-id: svn://localhost/gambas/trunk@7918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-24 22:55:50 +00:00
Charlie Reinl
1e2167d931 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() should work correctly on SuSE now. It uses 
'kdsu' if 'kdsudo'  is not found.
* NEW: Desktop.RunAsRoot() It uses 'gksu' if 'gksudo'  is not found.



git-svn-id: svn://localhost/gambas/trunk@7917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-21 10:05:42 +00:00
Charlie Reinl
ab9f8fa4e5 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() should work correctly on SuSE now. It uses 'kdsu' if 'kdsudo'  is not found.
* NEW: Desktop.RunAsRoot() It uses 'gksu' if 'gksudo'  is not found.



git-svn-id: svn://localhost/gambas/trunk@7916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-21 09:16:05 +00:00
Benoît Minisini
0282763790 [GB.FORM]
* NEW: DirChooser,FileChooser: Add a "delete directory" menu that can delete void directories only.
* BUG: DirView: File watch events does not disturb renaming anymore.


git-svn-id: svn://localhost/gambas/trunk@7910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 02:17:30 +00:00
Benoît Minisini
2bba617295 [GB.FORM.EDITOR]
* BUG: TextEditor: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@7909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 00:44:05 +00:00
Benoît Minisini
91ea1ee655 [GB.FORM.EDITOR]
* BUG: TextEditor: Editor works correctly again when a procedure is collapsed.


git-svn-id: svn://localhost/gambas/trunk@7908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 00:43:03 +00:00
Benoît Minisini
6a9ec95794 [GB.SETTINGS]
* BUG: Always mark a settings object as modified when putting an array or a collection in any key.


git-svn-id: svn://localhost/gambas/trunk@7900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-08 21:24:00 +00:00
Benoît Minisini
ea52979946 [DEVELOPMENT ENVIRONMENT]
* NEW: Reset the output terminal when the debugged project ends.

[GB.FORM.TERMINAL]
* NEW: TerminalView.Reset() is a new method that resets the terminal state without clearing it.


git-svn-id: svn://localhost/gambas/trunk@7886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:44:03 +00:00
Benoît Minisini
259ebd9a2a [CONFIGURATION]
* BUG: Compile components written in Gambas with the translation flag enabled.


git-svn-id: svn://localhost/gambas/trunk@7885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:42:20 +00:00
Benoît Minisini
bf38b6c891 [DEVELOPMENT ENVIRONMENT]
* NEW: Better command-line help text.

[WEBSITE MAKER]
* NEW: Update to Gambas 3.9.0.

[WIKI CGI SCRIPT]
* NEW: Add border shadow around screenshots links.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix the Highlight property when set to "None".
* BUG: TextEditor: Fix the Highlight property declaration.
* OPT: TextEditor: Faster layout and scroll, especially when there are a lot of lines and wrapping mode is enabled.


git-svn-id: svn://localhost/gambas/trunk@7874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-28 21:25:46 +00:00
Benoît Minisini
cd33ca44f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatically remove console output temporary files.

[GB.FORM]
* BUG: FileProperties is now correctly refreshed when its Path changes.


git-svn-id: svn://localhost/gambas/trunk@7870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-27 11:09:46 +00:00
Benoît Minisini
531e7c3e90 [GB.FORM]
* BUG: MenuButton: Take foreground color into account correctly.
* BUG: MenuButton: Clip text so that arrow is always clearly visible.
* BUG: MenuButton: Take the Design property into account correctly.


git-svn-id: svn://localhost/gambas/trunk@7864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-26 00:21:27 +00:00
Benoît Minisini
782c84b4f8 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Support for PNG icons up to 1024x1024 pixels in Debian & Ubuntu packages.

[GB.UTIL]
* BUG: Shell.RmDir() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@7862 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-24 21:39:28 +00:00
Benoît Minisini
3d0be81f4e [GB.FORM.TERMINAL]
* BUG: TerminalView: Refresh process output every 250ms at least. Don't wait for the internal 64K buffer to be filled.


git-svn-id: svn://localhost/gambas/trunk@7860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-21 14:52:00 +00:00
Benoît Minisini
ea64049c8f [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Default line join and line cap are round now.

[GB.FORM]
* NEW: ColorChooser: Less space between color value text boxes and their label.

[GB.FORM.EDITOR]
* BUG: TextEditor: "None" and "Custom" highlighting types are correctly interpreted now.


git-svn-id: svn://localhost/gambas/trunk@7851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-20 11:30:34 +00:00
Benoît Minisini
59cd9c2d4a [GB.DESKTOP]
* BUG: Fix detection of KDE4 and KDE5 desktops.

[GB.QT4]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.QT5]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.

[GB.GTK3]
* BUG: Fix detection of KDE4 and KDE5 desktops in Desktop.Type.


git-svn-id: svn://localhost/gambas/trunk@7849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 14:37:19 +00:00
Benoît Minisini
04a21990b3 [GB.WEB]
* NEW: Response.Done is a new property that tells if Response.End has been called.

[GB.WEB.FORM]
* NEW: A WebForm can declare a static public method 'HandleRequest' taking no arguments and returning nothing. That method will be called before processing any request, so that you can process the Request object before anything else. If you handle the request and send a response (i.e. if you call Response.End during that method), then the gb.web.form component will not process it.


git-svn-id: svn://localhost/gambas/trunk@7848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-19 14:15:33 +00:00
Benoît Minisini
c019b07f40 [CONFIGURATION]
* NEW: Force symbolic link creation.

[GB.WEB]
* BUG: Fix Session.Keys for SQLite sessions.

[GB.IMAGE]
* BUG: Image.Desaturate() now works correctly on image alpha channel.


git-svn-id: svn://localhost/gambas/trunk@7847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-18 18:59:19 +00:00
Benoît Minisini
b588ef3db8 [GB.GUI.BASE]
* BUG: Workaround a GTK+ crash. Apparently GTK+ does not like if Control.Lower() is called during an Arrange event handler.


git-svn-id: svn://localhost/gambas/trunk@7844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-17 23:24:09 +00:00
Benoît Minisini
33b6b23b6a [DEVELOPMENT ENVIRONMENT]
* NEW: The editor pop-up menu is now accessible from the top menu-bar through an "Edit" menu.

[GB.QT4]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.QT5]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu.

[GB.GTK]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!

[GB.GTK3]
* NEW: Menu.Proxy is a new property that allows a menu to popup the children of another menu. Beware, the property is not yet implemented and has no effect at the moment!


git-svn-id: svn://localhost/gambas/trunk@7839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-14 14:50:03 +00:00
Benoît Minisini
df76f9d649 [GB.DESKTOP]
* BUG: Desktop.RunAsRoot() has been implemented without using a XDG script that does not exist anymore.
* BUG: Desktop.OpenTerminal() should work correctly on Cinammon now. It uses 'xterm' if no other terminal program is found.



git-svn-id: svn://localhost/gambas/trunk@7838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-13 19:17:34 +00:00
Benoît Minisini
40005c385c [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming an exported class triggers an automatic rename of the class inside all project forms.

[GB.WEB]
* NEW: Session.Type is a now a string, and the default session type is now "sqlite".
* NEW: Remove the constants used by the Session.Type property when it was an integer number.
* OPT: SQLite sessions now only update the modified or removed session keys when saving the session.

[B.WEB.FORM]
* NEW: WebSpinBox: Implement the Step property.
* NEW: WebSlider: Implement the Step property.


git-svn-id: svn://localhost/gambas/trunk@7831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-10 00:42:43 +00:00
Benoît Minisini
5355d8b955 [DEVELOPMENT ENVIRONMENT]
* NEW: The run button has a pop-up menu button only if at least one argument list has been defined in the project properties.
* NEW: Project property dialog: if the argument lists order changes, the current argument list index follows.

[GB.FORM]
* NEW: MenuButton: If no arrow is visible, and if no menu is defined, then the MenuButton raises the Click event.

[GB.WEB]
* NEW: Session.Type defines which kind of session store to use. At the moment, two are implemented. Session.File (the old one), and Session.Sqlite (based on a sqlite database).

[GB.WEB.FORM]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-22 22:12:35 +00:00
Benoît Minisini
e9065fe232 [GB.WEB.FORM]
* OPT: Store debugging flag in the session.
* OPT: WebProgressBar: Optimize refresh.
* BUG: WebTable: Fix column Expand property on Firefox.
* BUG: WebUploadArea: Fix Enabled property.
* BUG: WebUploadArea: Fix behaviour.
* NEW: The dialog between the browser and the server is now serialized. It should fix many synchronisation problems when the user raises events too fast for the server.


git-svn-id: svn://localhost/gambas/trunk@7827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-21 02:21:37 +00:00
Benoît Minisini
2a3ecf982d [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: New project arguments interface.
* NEW: Debugger: The project arguments is now selectable with a popup menu.
* BUG: Fix position history behaviour.

[INTERPRETER]
* NEW: Object.Type(), Object.Class() and Object.Is() now work with invalid objects.

[GB.FORM]
* NEW: Completion: Support for TextArea editor.
* NEW: Completion: Editor property is now writable.
* NEW: TableView: Raise a new Hide event when the editor is hidden.

[GB.FORM.EDITOR]
* NEW: TextEditor: CursorAt() is a new method that returns the cursor screen position from a line and a column.

[GB.GTK]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GTK3]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.GUI.BASE]
* BUG: GridView: Newlines in cells with WordWrap property set are now taken into account correctly.

[GB.QT4]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.

[GB.QT5]
* NEW: TextBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: ComboBox: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.
* NEW: TextArea: CursorAt() is a new method that returns the cursor screen position from a text position. The CursorPos property has been removed.


git-svn-id: svn://localhost/gambas/trunk@7825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-18 03:01:59 +00:00
Benoît Minisini
8647a12953 [CONFIGURATION]
* NEW: Search libffi in more directories to find it on CentOS.

[DEVELOPMENT ENVIRONMENT]
* NEW: Mark PlaceHolder properties as translatable.
* NEW: Make font smaller in autocompletion help.
* BUG: Reset class symbol list everytime its source file is modified.
* BUG: Form editor: Renaming a selected control does not crash anymore.
* NEW: Custom drawing for WebButton controls.
* NEW: Cleaning a project directory now deletes valgrind output files.
* NEW: "--cleanup" is a new command-line option to clean a project directory.

[GB.WEB.FORM]
* NEW: Let the IDE draw WebButton controls.
* NEW: Draw WebHtml controls using TextLabel.
* NEW: Draw WebScrollView controls using ScrollView.


git-svn-id: svn://localhost/gambas/trunk@7820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-15 15:13:10 +00:00
Benoît Minisini
9b74c7ebf3 [GB.FORM]
* BUG: ColorChooser: Use a different layout so that the control is usable with GTK+3.


git-svn-id: svn://localhost/gambas/trunk@7817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 19:42:25 +00:00
Benoît Minisini
fa2868f204 [GB.WEB.FORM]
* NEW: WebComboBox: Activate is a new event that is raised when the user hits the ENTER key in an editable combo-box.
* NEW: WebComboBox: PlaceHolder is a new property that allows to define the placeholder text displayed inside the editable combo-box when it is void.
* OPT: WebComboBox: Optimize the Text property refresh.
* OPT: WebControl: Optimize the Visible property refresh.
* BUG: WebForm.AddJavascriptFile() now works correctly.
* NEW: WebTable: ShowHeader is a new property tha t allows to hide the table header.
* NEW: WebTextArea: PlaceHolder is a new property that allows to define the placeholder text displayed inside the text area when it is void.
* NEW: WebTextBox: Activate is a new event that is raised when the user hits the ENTER key in the text box.
* NEW: WebTextBox: PlaceHolder is a new property that allows to define the placeholder text displayed inside the text box when it is void.
* OPT: WebTextBox: Optimize the Text property refresh.


git-svn-id: svn://localhost/gambas/trunk@7816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-14 15:10:29 +00:00
Benoît Minisini
ded01083f2 [GB.FORM]
* BUG: SpinBar: Take Enabled and Design properties into account.
* NEW: SpinBar: Add the Border property.
* BUG: SpinBar: Fix many layout problems.
* NEW: SpinBar: Draw SpinBar border using style.
* BUG: SpinBar: Handle font changes.


git-svn-id: svn://localhost/gambas/trunk@7814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-10 16:43:52 +00:00
Benoît Minisini
95fae906c3 [GB.GUI.BASE]
* BUG: GridView: Take Foreground property into account.


git-svn-id: svn://localhost/gambas/trunk@7812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-08 16:09:37 +00:00
Benoît Minisini
56340ea4bd [GB.WEB.FORM]
* BUG: WebTextBox: Report the Text property to the server when the control has lost the focus.
* BUG: WebComboBox: Report the Text property to the server when the control has lost the focus.


git-svn-id: svn://localhost/gambas/trunk@7811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:51:00 +00:00
Benoît Minisini
e2a1b7e3eb [GB.WEB.FORM]
* BUG: Setting focus on unknown elements is now silently ignored.


git-svn-id: svn://localhost/gambas/trunk@7810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:38:19 +00:00
Benoît Minisini
5da4e95533 [GB.WEB.FORM]
* BUG: Don't try to refresh controls that are hidden.


git-svn-id: svn://localhost/gambas/trunk@7809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 22:27:42 +00:00
Benoît Minisini
22da14f4ee [GB.WEB.FORM]
* OPT: WebContainer: optimisation of element insertion and deletion.
* BUG: WebLabel: Text contents is now kept on one line and cut.
* OPT: WebLabel: The Text property only refreshed the labels contents.
* NEW: WebControl: Dialog is a new event raised when a window opened with ShowModal() is closed.
* NEW: WebControl: SetFocus() method now takes an optional boolean argument that tells to highlight the focused control.
* NEW: The "/~dump" URL dumps the current session contents.
* NEW: Errors are now displayed in an alert box inside the browser.
* NEW: WebTable: The DblClick event is raised when clicking twice on a row.
* OPT: WebTable: Selecting a row now is faster, as it does not refresh the entire table anymore.
* NEW: WebTable: The Current property returns or sets the current selected row.
* BUG: WebTable: The Columns[].Wrap property now works as expected.
* NEW: WebTextBox: The Clear() method clears the text box contents.
* NEW: WebWindow: The Close() method now takes an optional argument that is sent to the Dialog event raise after the window has been closed, provided it has been shown modal.
* BUG: Focus should be correctly restored in all cases when a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@7808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-07 21:52:59 +00:00
Benoît Minisini
9c325f5e34 [GB.EVAL.HIGHLIGHT]
* NEW: Add missing symbol in css highlighting.

[GB.WEBFORM]
* NEW: Make gb.web.form translatable.
* NEW: Add the Scroll class to store the ScrollBar property constants.
* BUG: WebControl: Padding and Margin now use "rem" instead of "em".
* NEW: WebScrollView: Add the ScrollBar property to hide one or both scrollbars.
* NEW: WebScrollView: SetHeaders() is a new method that allows to define the headers of the ScrollView as two other WebScrollView controls whose scroll position will be automatically synchronized.
* NEW: WebScrollView now raises the Scroll event.
* NEW: WebTabPanel: ShowTabs is a new property that allows to hide the tabs.
* NEW: WebTable: Step is a new property that allows to define the number of rows that are loaded when reaching the table end.


git-svn-id: svn://localhost/gambas/trunk@7805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-26 02:42:23 +00:00
Benoît Minisini
b6becf78b8 [GB.WEB.FORM]
* NEW: WebCheckBox: Default event is "Click".
* NEW: WebRadioButton: Default event is "Click".
* NEW: WebControl: Add as specific class for disabled controls.
* NEW: WebControl.Enabled now return FALSE as soon as a parent is disabled.
* NEW: Disabled look for WebRadioButton and WebCheckBox.
* BUG: WebSpinBox minimum height is the same as WebTextBox.


git-svn-id: svn://localhost/gambas/trunk@7799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-11 14:20:20 +00:00
Benoît Minisini
3eb078c345 [GB.WEB.FORM]
* BUG: WebButton: Fix button image layout.
* NEW: WebTextBox: Handling the Completion event enables automatic completion. The CompleteWith() method must then be called to return to the web browser the list of completion elements.
* NEW: WebForm: Reload() is a new method that clears the session and reload the page, if the WebForm is it called on is the current one.


git-svn-id: svn://localhost/gambas/trunk@7796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-05 20:58:11 +00:00
Benoît Minisini
dd61c608aa [GB.FORM.TERMINAL]
* NEW: TerminalView: Mouse wheel now scrolls the terminal if it has no requested mouse events.

[GB.WEB.FORM]
* BUG: WebButton: Setting Text and Image property now refreshes the control only if the value has actually changed.
* NEW: WebButton: Image property can be an absolute path.
* NEW: WebContainer: All containers are now "position: relative".
* BUG: WebLabel: Setting Text property now refreshes the control only if the value has actually changed.
* NEW: WebTable: ShowCheck is a new property, set by default. If not set, the first column of checkboxes or radiobuttons is hidden, and the table behaves a bit like a ListBox.
* BUG: WebUploadArea: Spurious Progress events are not raised anymore once the upload is finished.
* OPT: WebWindow: Windows are now positioned through a 2D translation instead of setting the top and left positions. That way, the browser won't recalculate its layout, and the window moves are faster. Especially on Firefox.
* NEW: Initial internal support for automatic completion.
* BUG: WebWindow: Deactivated window title is visible again.


git-svn-id: svn://localhost/gambas/trunk@7795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-01 23:59:23 +00:00
Willy Raets
bfde6dfe69 [GB.FORM]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:53:43 +00:00
Willy Raets
d2dfdbef61 [GB.FORM.MDI]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:50:45 +00:00
Willy Raets
18a2d3b508 [GB.REPORT2]
* NEW: Dutch translations updated



git-svn-id: svn://localhost/gambas/trunk@7788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:46:58 +00:00
Willy Raets
d4e8cfd761 [GB.WEB.FORM]
* NEW: Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-25 19:39:00 +00:00
Benoît Minisini
f57d3273fe [CONFIGURATION]
* NEW: Support for Haiku operating system.
* BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages.

[GB.FORM]
* NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces.

[GB.UTIL.WEB]
* BUG: Fix collection generation in JSON.Encode().

[GB.WEB.FORM]
* NEW: WebImage: Add the Border property.
* NEW: WebImage: Image property now can be an absolute path.
* BUG: WebButton: Workaround Firefox not supporting flex on buttons.
* BUG: WebComboBox: Enabled property is now taken into account.
* BUG: WebUploadArea: The file name now keeps the uploaded file extension.


git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-24 16:18:48 +00:00
Benoît Minisini
8b0f227a66 [GB.FORM.TERMINAL]
* BUG: Fix two inverted escape sequences: "\e[48;5;<color>m" and "\e[38;5;<color>m".


git-svn-id: svn://localhost/gambas/trunk@7784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 21:10:21 +00:00
Fabien Bodard
7e08378924 [GB.TERMAPP]
* NEW: Continue working on the renderer. 


git-svn-id: svn://localhost/gambas/trunk@7783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 20:36:07 +00:00
Benoît Minisini
7da504f610 [GB.WEB.FORM]
* BUG: Fix WebProgressBar control icon symbolic link.


git-svn-id: svn://localhost/gambas/trunk@7782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 15:26:39 +00:00
Benoît Minisini
2954a7fbd2 [GB.WEB.FORM]
* OPT: Allow to specify "naked" containers, that render nothing by themselves except their children.
* BUG: WebUploadArea: Fix the Path property.


git-svn-id: svn://localhost/gambas/trunk@7781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-22 15:20:46 +00:00
Benoît Minisini
9b13b69fda [GB.DBUS]
* NEW: The application now registers to the DBus bus with its process id added to its name.
* NEW: DBus.Unique is a new property that sets if the application should be unique on the DBus bus. If set, then the process id is not added to the name when registering.
* BUG: If DBus.Unique is set, then registering the application a second time raises an error.


git-svn-id: svn://localhost/gambas/trunk@7779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 15:59:31 +00:00
Benoît Minisini
0a0157878d [GB.DESKTOP]
* BUG: Fix Unity indicator unregistration in TrayIcon.Delete() method.


git-svn-id: svn://localhost/gambas/trunk@7778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 13:19:03 +00:00
Benoît Minisini
cbdd2e83e3 [GB.DESKTOP]
* BUG: Use the same desktop detection algorithm than GUI components.

[GB.GTK]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.GTK3]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT4]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.

[GB.QT5]
* BUG: Fix the desktop detection algorithm. Use XDG_CURRENT_DESKTOP before anything else. Support for Cinnamon.



git-svn-id: svn://localhost/gambas/trunk@7777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 12:22:06 +00:00
Benoît Minisini
0a41a36031 [GB.DESKTOP]
* NEW: Support for Cinnamon


git-svn-id: svn://localhost/gambas/trunk@7776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 11:25:45 +00:00
Benoît Minisini
673dd259e8 [GB.DBUS.TRAYICON]
* NEW: Deleting a TrayIcon now unregisters it when Unity-like indicator protocol is in use.
* NEW: Support for Cinnamon. Note that the Cinnamon system tray does not send the click events specified by the protocol. Consequently, you get no Click, MiddleClick and Scroll events!


git-svn-id: svn://localhost/gambas/trunk@7775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 11:15:35 +00:00
Benoît Minisini
c50a343534 [GB.DBUS.TRAYICON]
* NEW: Add support for the XAyatanaLabel property. It actually returns the TrayIcon Text property.


git-svn-id: svn://localhost/gambas/trunk@7774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 10:12:40 +00:00
Benoît Minisini
811bbb9745 [DEVELOPMENT ENVIRONMENT]
* BUG: Give fous to the terminal when the program is started.
* NEW: Connection editor: Add "select all" and "unselect all" buttons to the DataView.

[GB.DB.FORM]
* BUG: DataView: Allow selection unless the current record is a new record.

[GB.FORM.TERMINAL]
* BUG: TerminalView: Reset() method resets more things.
* BUG: TerminalView: Flush the output buffer when the running process ends.

[GB.UTIL]
* BUG: Date.FromUnixTime() now correctly ignores the current timezone.

[GB.UTIL.WEB]
* OPT: JSON.Encode() is now a lot faster, thanks to Alexander Kuiper.

[GB.WEB.FORM]
* BUG: WebDateBox: Fix "_Similar" property.
* BUG: WebComboBox: Fix "_Similar" property.
* NEW: WebDateBox: Value is now a synonymous for the Date property.


git-svn-id: svn://localhost/gambas/trunk@7772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-13 12:38:58 +00:00
Benoît Minisini
7c4220f210 [GB.FORM]
* BUG: FileView: Enable/disable file watches on Show/Hide events.
* BUG: DirView: Enable/disable file watches on Show/Hide events.


git-svn-id: svn://localhost/gambas/trunk@7771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 14:28:09 +00:00
Benoît Minisini
cb9dcb4d4b [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the debug panel when the console is put in floating mode.
* BUG: Take the "invert theme" option when initializing the colors of a specific control.

[GB.FORM]
* BUG: Remove a debugging message.

[GB.QT4]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.

[GB.QT5]
* BUG: Do nothing when showing or hiding a window, when it is already shown or hidden.


git-svn-id: svn://localhost/gambas/trunk@7770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 13:15:31 +00:00
Benoît Minisini
a38aff282c [GB.FORM]
* OPT: DirView: Disable file watches when the control is hidden.
* OPT: DirView: Delay the view refresh when a watch event is received.
* BUG: DirView: Remove debugging messages.



git-svn-id: svn://localhost/gambas/trunk@7769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 01:15:43 +00:00
Benoît Minisini
9fa485e790 [GB.FORM]
* NEW: If 'gb.inotify' component is loaded, then FileView and DirView will use it to automatically refresh when something changes on the file system.
* NEW: FileView: Preview refresh optimization.

[GB.GUI.BASE]
* NEW: IconView: Add ScrollX, ScrollY, ScrollWidth, ScrollHeight, ClientWidth and ClientHeight properties.
* NEW: IconView: Add the Scroll() method.


git-svn-id: svn://localhost/gambas/trunk@7767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-07 00:07:42 +00:00
Benoît Minisini
698f02d200 [DEVELOPMENT ENVIRONMENT]
* BUG: The terminal output now works as expected when the project is running.

[WIKI]
* BUG: The '@classes' special command now detect the class descriptions in non-english languages correctly.

[GB.FORM.TERMINAL]
* BUG: TerminalView: The top right character can be selected now.
* BUG: TerminalView: Goto() method now ensures that the cursor is visible.
* NEW: TerminalView: Count is a new property that returns the number of lines in the terminal (not the screen height).


git-svn-id: svn://localhost/gambas/trunk@7762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 11:21:55 +00:00
Benoît Minisini
95ed98b5ac [GB.FORM]
* BUG: Fix InputBox layout.


git-svn-id: svn://localhost/gambas/trunk@7758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 18:57:37 +00:00
Benoît Minisini
d15a425953 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish the redesign of the debug panel.

[INTERPRETER]
* BUG: Fix a stack mismatch leading to a crash in Eval() when an "Unknown symbol" error occurs.

[GB.FORM]
* BUG: SidePanel: The Hide event is now raised after the SidePanel has been actually hidden.


git-svn-id: svn://localhost/gambas/trunk@7754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 01:38:46 +00:00
Benoît Minisini
b798aa6547 [CONFIGURATION]
* BUG: Add gb.form.terminal to the component installation list.


git-svn-id: svn://localhost/gambas/trunk@7753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-03 11:37:43 +00:00
Benoît Minisini
1fe49aaff4 [DEVELOPMENT ENVIRONMENT]
* NEW: Farm client: Allow to ignore missing components when installing a software.

[GB.FORM]
* BUG: TerminalView: Better scrollbar layout. Put the scrollbar on the left for right-to-left written languages.

[GB.NET.CURL]
* BUG: Closing a CURL stream object does not raise an error anymore. It just does nothing.


git-svn-id: svn://localhost/gambas/trunk@7752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-03 01:07:39 +00:00
Benoît Minisini
5da7ed1c4e [DEVELOPMENT ENVIRONMENT]
* BUG: Remove old console search code.

[GB.FORM]
* NEW: MenuButton controls now automatically pop up when one of their sibling is already opened.

[GB.FORM.EDITOR]
* NEW: TextEditor: The cursor position label background is now semi-transparent.

[GB.GTK]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.GTK3]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT4]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.

[GB.QT5]
* BUG: Mouse.ScreenX and Mouse.ScreenY now always query the pointer.
* NEW: Menu.Close() is a new method that hides a popup menu from the screen.


git-svn-id: svn://localhost/gambas/trunk@7751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 23:55:10 +00:00
Benoît Minisini
0b928f80ef [DEVELOPMENT ENVIRONMENT]
* NEW: Use terminal emulator control from gb.form.terminal as console output.
* NEW: You cannot search into the terminal output directly anymore.
* NEW: A button that opens the terminal output content inside a new IDE editor tab, so that you can search inside, or do anything you want.

[WIKI]
* NEW: A command-line option to generate offline help.

[GB.FORM.TERMINAL]
* NEW: TerminalView: ShowScrollBar is a new property that makes the vertical scrollbar always visible.
* NEW: TerminalView: Exec() and Shell() methods now take the environment as an optional argument.
* NEW: TerminalView: Text is a new read-only property that returns the terminal contents.

[GB.WEB.FORM]
* BUG: WebButton: Take the Width and Height properties into account correctly.
* BUG: WebComboBox: The List property now can take a null value without crashing.
* OPT: WebControl: Setting most of properties without changing their value now does nothing.
* BUG: WebLabel: The Alignment property is correctly declared now.
* NEW: WebProgressBar: A new control that displays a progress bar.
* NEW: WebTable: Select is a new event that is raised when the WebTable selection changes.
* NEW: WebUploadArea: A new container that selects a local file when the user clicks on it, and that allows to upload it to the server.


git-svn-id: svn://localhost/gambas/trunk@7750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-02 22:00:53 +00:00
Benoît Minisini
052eb75eee [GB.DBUS]
* BUG: Fix memory leak in array marshalling.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-15 22:33:03 +00:00
Fabien Bodard
1513e0f40c [GB.TERMAPP]
* NEW: Continue control class writing


git-svn-id: svn://localhost/gambas/trunk@7744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:44:45 +00:00
Benoît Minisini
20b5726463 [GB.FORM.TERMINAL]
* OPT: When interpreting the terminal output of a process, ignore every printable character sent before a full screen erase.
* OPT: Use a cache for line graphical characters.


git-svn-id: svn://localhost/gambas/trunk@7743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 21:38:44 +00:00
Fabien Bodard
977023524e [GB.TERMAPP]
* NEW: Initial commit
  Create the base object structure.



git-svn-id: svn://localhost/gambas/trunk@7740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 20:00:25 +00:00
Benoît Minisini
df4069ed9c [GB.MEDIA.FORM]
* BUG: Fix some refresh bugs, except when using GTK+3, which still does not like MediaView.
* NEW: MediaView.Duration is a new property that returns the media duration in seconds.
* NEW: MediaView.Position is a new property that returns or sets the media current position in seconds.


git-svn-id: svn://localhost/gambas/trunk@7738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-13 18:56:54 +00:00