Commit graph

1789 commits

Author SHA1 Message Date
Fabien Bodard
aa44a876a8 [GB.FORM.TERMINAL]
* BUG: Invert Foreground and Background on 256 mode. But i don't know why.


git-svn-id: svn://localhost/gambas/trunk@7680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 17:32:09 +00:00
Fabien Bodard
a6e5567815 [GB.FORM.TERMINAL]
* NEW: Add support for 256 colors



git-svn-id: svn://localhost/gambas/trunk@7679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 17:15:22 +00:00
Fabien Bodard
83e2087c06 [GB.FORM.TERMINAL]
* NEW: Add filter for color 90-97 and 100-107


git-svn-id: svn://localhost/gambas/trunk@7678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 14:48:30 +00:00
Fabien Bodard
e0265cfac2 [GB.FORM.TERMINAL]
* NEW: Finish the VT100 Escape codes list.


git-svn-id: svn://localhost/gambas/trunk@7677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 10:07:17 +00:00
Fabien Bodard
2fdd19cf4a [GB.FORM.TERMINAL]
* NEW: Finish the VT100 Escape codes list.


git-svn-id: svn://localhost/gambas/trunk@7676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 10:02:53 +00:00
Benoît Minisini
83f67ca164 [GB.FORM.TERMINAL]
* BUG: Move flags from terminal filter to terminal screen.
* NEW: Moving the cursor ensures that it is visible (i.e. not flashing).


git-svn-id: svn://localhost/gambas/trunk@7675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 09:18:17 +00:00
Benoît Minisini
342848f9e1 [INTERPRETER]
* NEW: Stream.Term.Echo is a new property that allows to enable or disable the terminal echo mode.

[GB.FORM.EDITOR]
* NEW: Screen management splitted from TerminalView. TerminalView has two screens now. Switch between screens is not implemented yet.


git-svn-id: svn://localhost/gambas/trunk@7674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 08:54:02 +00:00
Fabien Bodard
d4848d2d9c [GB.FORM.TERMINAL]
* NEW: VT100 standart definitions file (not full)


git-svn-id: svn://localhost/gambas/trunk@7673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-27 08:36:00 +00:00
Benoît Minisini
30a282abd0 [GB.FORM.TERMINAL]
* BUG: Fix interpretation of Background and Foreground escape sequences.


git-svn-id: svn://localhost/gambas/trunk@7672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 14:03:45 +00:00
Benoît Minisini
1f81033b96 [GB.FORM.TERMINAL]
* BUG: Fix "set attribute" escape characters analyze.
* BUG: Remove Bright attribute, it was actually the same as Bold.


git-svn-id: svn://localhost/gambas/trunk@7671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 13:45:50 +00:00
Benoît Minisini
bc4bc17b6c [GB.FORM.TERMINAL]
* NEW: TerminalView: Terminal resize is now sent to the running process terminal.


git-svn-id: svn://localhost/gambas/trunk@7670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 13:10:10 +00:00
Benoît Minisini
159f039e02 [GB.FORM.TERMINAL]
* NEW: Support for XTERM "set window title" sequence.
* NEW: Rename "Underline" attribute as "Underscore".
* NEW: Support for "set attribute" escape sequences.
* BUG: TerminalView: Fix selection behaviour.


git-svn-id: svn://localhost/gambas/trunk@7668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 11:10:21 +00:00
Benoît Minisini
0e52f6d63b [GB.FORM.TERMINAL]
* NEW: A icon for TerminalView.
* NEW: Initial VT100 terminal filter.
* NEW: TerminalView: Exec() and Shell() are two new methods to run a process inside the virtual terminal. Process input management is not implemented, and process output support is rudimentary.


git-svn-id: svn://localhost/gambas/trunk@7667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-26 10:08:12 +00:00
Benoît Minisini
5d0151fe32 [GB.FORM.TERMINAL]
* NEW: TerminalView: Automatic support of control characters. Only the ESC sequences have to be implemented in the terminal emulator.


git-svn-id: svn://localhost/gambas/trunk@7666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 15:25:43 +00:00
Benoît Minisini
625888d44d [INTERPRETER]
* NEW: Timer: The constructor now takes the delay as optional parameter. And if that delay is specified, the timer is automatically started.

[GB.FORM.TERMINAL]
* NEW: TerminalView: internal control that only deals with displaying the terminal contents.


git-svn-id: svn://localhost/gambas/trunk@7664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-25 13:06:09 +00:00
Benoît Minisini
f42ffa0be6 [EXAMPLES]
* BUG: SmallWiki: Fix a deprecated link.

[GB.MARKDOWN]
* BUG: Fix generation of "[[ ... ]]" sections.

[GB.WEB.FORM]
* NEW: Add some help comments.


git-svn-id: svn://localhost/gambas/trunk@7662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:37:35 +00:00
Fabien Bodard
fe098f5964 [GB.FORM.TERMINAL]
* NEW: Rewriting the componant base. Initial commit.



git-svn-id: svn://localhost/gambas/trunk@7656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-22 12:23:18 +00:00
Benoît Minisini
3fbcee5fa6 [WIKI]
* BUG: A few style sheet fixes.
* NEW: Automatically convert examples to the "[[ code gambas ... ]] [[ result ... ]]" sequence.

[GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() does not draw procedure separations anymore.

[GB.MARKDOWN]
* BUG: Fix simple table "[[ ... ]]" management.


git-svn-id: svn://localhost/gambas/trunk@7653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-21 00:26:12 +00:00
Benoît Minisini
2c4aa9d851 [WIKI]
* NEW: Support for "[[ code ... ]]" and "[[ result ... ]]" sections.

[GB.EVAL.HIGHLIGHT]
* BUG: Remove dependencies on GUI components.

[GB.MARKDOWN]
* BUG: Fix support of "[[ code ... ]]" section.


git-svn-id: svn://localhost/gambas/trunk@7652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 23:31:10 +00:00
Benoît Minisini
ab72d33833 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when starting a program without arguments.
* BUG: Fix compression of CSS files.

[GB.EVAL.HIGHLIGHT]
* NEW: CSS highlighter: Support for @media directive.
* NEW: Don't use the Color class.

[GB.FORM.EDITOR]
* BUG: TextEditor: Limits of collapsed procedures are correctly drawn now.

[GB.MARKDOWN]
* NEW: Support for code highlighting through the "[[ code <language> ... ]]" block.
* NEW: Markdown.Process() is new method that allows to process the contents of a specific "[[ ... ]]" block.

[GB.WEB.FORM]
* NEW: DateBox: Put that control in the "Chooser" group with the DateChooser.


git-svn-id: svn://localhost/gambas/trunk@7651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 22:39:06 +00:00
Benoît Minisini
407d650817 [GB.FORM.EDITOR]
* NEW: TextEditor: Do not draw ending spaces on top of the indentation vertical lines.
* BUG: TextEditor: Correctly draw the first procedure limit.


git-svn-id: svn://localhost/gambas/trunk@7649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 01:48:15 +00:00
Benoît Minisini
bc3224d896 [GB.FORM.EDITOR]
* NEW: TextEditor: Don't use bold text for displaying cursor information.

[GB.GUI.BASE]
* BUG: ScrollArea: Fix some number roundings in EnsureVisible() method.

[GB.WEB]
* OPT: Session: Use buffered i/o when loading or saving session.

[GB.WEB.FORM]
* NEW: DateChooser is a new control that implements a date chooser.
* NEW: DateBox is a new control that implements a date box with a popup calendar.
* NEW: WebForm.ShowPopup() is a new method that allows to use a form as a popup.
* BUG: WebComboBox: Fix design.
* NEW: WebControl: Support for properties storing a WebControl.
* NEW: WebExpander: Use standard arrow.
* NEW: Internal support for web controls that need custom style sheets or javascript libraries.
* NEW: WebForm: Close is new event that is raised when a form is closed.
* NEW: WebForm: Popup is a new property that tells if the form is currently used as a popup.
* NEW: WebForm: PopupParent is a new property that returns the control using that form as a popup.


git-svn-id: svn://localhost/gambas/trunk@7646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-20 01:23:01 +00:00
Benoît Minisini
cf3ac47267 [GB.FORM.EDITOR]
* BUG: Never jump to the beginning of the line when clicking on the text.

git-svn-id: svn://localhost/gambas/trunk@7641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-17 02:14:20 +00:00
Benoît Minisini
e83b8c2db8 [GB.FORM.EDITOR]
* BUG: TextEditor[].Limit correctly returns the real limit state, not the visible one.

git-svn-id: svn://localhost/gambas/trunk@7640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 16:12:42 +00:00
Benoît Minisini
e258598187 [GB.FORM.EDITOR]
* NEW: TextEditor: Nicer indent vertical lines.


git-svn-id: svn://localhost/gambas/trunk@7639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-16 03:00:35 +00:00
Benoît Minisini
66c1e5c69a [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter: Comment is a new flag that tells if a ln highlighted line is only a comment.

[GB.FORM.EDITOR]
* NEW: TextEditor: Draw the procedure separator before its previous comments.
* NEW: TextEditor: ShowIndent is a new property that make the editor draw a thin vertical line to emphasize corresponding indentations.


git-svn-id: svn://localhost/gambas/trunk@7635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:55:35 +00:00
Tobias Boege
c3d8fb5e7e [GB.MARKDOWN]
* NEW: Markdown.Reinterpret is a new property to say if the next return of Command() should be reinterpreted as markdown or not. It is True by default for backwards compatibility.



git-svn-id: svn://localhost/gambas/trunk@7634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 12:36:03 +00:00
Benoît Minisini
f458fd15be [GB.FORM]
* BUG: FileChooser: ShowHidden property is correctly restored in all cases now.
* NEW: ListEditor: Editor is a new property that returns the underlying text editor.
* NEW: ListEditor: Add keyboard arrows shortcuts to move across the list.
* NEW: ListEditor: The text editor is now the proxy of the control.


git-svn-id: svn://localhost/gambas/trunk@7629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:01:25 +00:00
Fabien Bodard
0944141a51 [GB.REPORT2]
* BUG: ReportImage and ReportSvgImage was not able to use Autoresize.
* NEW: Begin to implement ReportGridView. Not available yet.



git-svn-id: svn://localhost/gambas/trunk@7626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-08 20:41:17 +00:00
Benoît Minisini
7a2a1bdace [GB.FORM]
* BUG: MessageView: Successive messages work correctly now.

git-svn-id: svn://localhost/gambas/trunk@7616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:36:59 +00:00
Benoît Minisini
66d3607dde [GB.NET.SMTP]
* NEW: SmtpClient.Authentication is a new property that allows to define the authentication method explicitly.


git-svn-id: svn://localhost/gambas/trunk@7614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-29 18:20:04 +00:00
Benoît Minisini
88d193a4ff [GB.SETTINGS]
* NEW: Settings.ToString() and Settings.FromString() are two internal methods now made public. They convert a value to its string representation, and the contray.


git-svn-id: svn://localhost/gambas/trunk@7599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 08:24:45 +00:00
Benoît Minisini
c700a93916 [GB.DBUS.TRAYICON]
* BUG: TrayIcon: Forgot to implement the Tag property!

git-svn-id: svn://localhost/gambas/trunk@7596 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 19:43:49 +00:00
Benoît Minisini
e838904258 [GB.GUI.BASE]
* BUG: GridView: Best row height computation now correctly takes the borders into account.


git-svn-id: svn://localhost/gambas/trunk@7591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:17:15 +00:00
Benoît Minisini
d362153256 [GB.EVAL.HGIHLIGHT]
* BUG: Javascript: Take all space characters into account.
* NEW: Javascript: Try to detect functions declared inside objects.


git-svn-id: svn://localhost/gambas/trunk@7590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:15:46 +00:00
Tobias Boege
364753e3f4 [GB.WEB.FORM]
* BUG: WebExpander: Raise Show and Hide events



git-svn-id: svn://localhost/gambas/trunk@7588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 11:46:38 +00:00
Fabien Bodard
e69a19e3e6 [GB.REPORT2]
* NEW: Use the gambas internal Expression class to evaluate the ReportLabel Formulas.


git-svn-id: svn://localhost/gambas/trunk@7577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 20:10:44 +00:00
Benoît Minisini
1eec2fb59b [GB.WEB]
* NEW: Add SVG file mime type.
* BUG: Remove automatic session removal when creating a session.


git-svn-id: svn://localhost/gambas/trunk@7575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-13 14:57:31 +00:00
Benoît Minisini
520b805bad [GB.WEB.FORM]
* BUG: WebWindow: Use bigger button images for bigger fonts.
* BUG: WebWindow: Maximized windows always use the full window even if it is resized.


git-svn-id: svn://localhost/gambas/trunk@7572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 14:13:53 +00:00
Benoît Minisini
3eb39cad1e [GB.WEB.FORM]
* NEW: WebWindow: Implement window maximimization.
* NEW: WebWindow: Fix window button style.


git-svn-id: svn://localhost/gambas/trunk@7570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 11:38:58 +00:00
Benoît Minisini
b81363e15d [GB.WEB.FORM]
* BUG: Fix control images symbolic links.


git-svn-id: svn://localhost/gambas/trunk@7569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 10:03:19 +00:00
Benoît Minisini
fffe08e1e7 [GB.WEB.FORM]
* NEW: WebControl: Add the Tooltip property.


git-svn-id: svn://localhost/gambas/trunk@7568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:55:24 +00:00
Benoît Minisini
2631259fa1 [GB.EVAL.HIGHLIGHT]
* NEW: More CSS properties

[GB.WEB.FORM]
* OPT: WebTable: When scrolling, add new elements to the table instead of refreshing it entirely. It's far faster!


git-svn-id: svn://localhost/gambas/trunk@7565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-08 14:50:48 +00:00
Fabien Bodard
a354e12cf8 [GB.MAP]
* BUG: SexToDec now now convert float value with a dot


git-svn-id: svn://localhost/gambas/trunk@7563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-07 20:28:22 +00:00
Benoît Minisini
b978b34f12 [GB.WEB.FORM]
* NEW: WebScrollView: Add ScrollX and ScrollY properties.
* BUG: WebTable: Correctly initialize the Display property to 100 rows.


git-svn-id: svn://localhost/gambas/trunk@7562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 22:32:20 +00:00
Benoît Minisini
421fdaa2cd [GB.WEB.FORM]
* BUG: WebTable: Don't display progress animation if there is no rows to load.


git-svn-id: svn://localhost/gambas/trunk@7561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 02:00:05 +00:00
Benoît Minisini
7d4bd2ed1b [GB.WEB.FORM]
* BUG: WebTabPanel: Fix syntax error is generated HTML.


git-svn-id: svn://localhost/gambas/trunk@7560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-06 00:20:09 +00:00
Benoît Minisini
56a60ed7c8 [GB.WEB.FORM]
* NEW: WebScrollView: A new container that just add scrollbars if its contents is too wide.
* BUG: WebTable: Clear() also resets the horizontal scroll position.
* BUG: Remove some debugging messages in the js library.


git-svn-id: svn://localhost/gambas/trunk@7559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 23:53:12 +00:00
Benoît Minisini
0d7923c836 [GB.WEB.FORM]
* NEW: WebTable: Clear() is a new method that sets the row count and the scrolling position to zero.
* NEW: WebTable: If a scrolling request fails, send back to the server the scrolling position.


git-svn-id: svn://localhost/gambas/trunk@7557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:45:35 +00:00
Benoît Minisini
00b494d313 [GB.WEB.FORM]
* NEW: WebTable: Add a little animation when the table loads its contents.
* BUG: WebTable: Settings the Count property resets scrolling.
* BUG: WebTable: Remove scrolling debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 15:24:51 +00:00