Commit graph

2155 commits

Author SHA1 Message Date
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
94f00ad8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Createing a project from a template having no icon now works correctly.


git-svn-id: svn://localhost/gambas/trunk@7761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-05 00:55:39 +00:00
Benoît Minisini
84edd41c8a [DEVELOPMENT ENVIRONMENT]
* BUG: Option dialog: Layout the "space(s)" label so that it trims its contents if its translation is too wide.


git-svn-id: svn://localhost/gambas/trunk@7760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-04 20:05:54 +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
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
757c55146c [DEVELOPMENT ENVIRONMENT]
* BUG: ComboBox and ListBox List properties, and all other string array properties, are now correctly reset when cleared.


git-svn-id: svn://localhost/gambas/trunk@7733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-09 13:37:05 +00:00
Benoît Minisini
27ae18d403 [GB.FORM.TERMINAL]
* NEW: TerminalView.Print() is a new method that allows to print characters into the terminal view.
* NEW: Draw line graphical characters manually, without using the font.


git-svn-id: svn://localhost/gambas/trunk@7720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-05 13:03:17 +00:00
Benoît Minisini
d093273eaf [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly detect virtual controls that need a parent or not.

[GB.FORM.TERMINAL]
* NEW: Support for graphical charset (used by alsamixer for example).
* BUG: Correctly initialize font cache. Better support for variable-width fonts.

[GB.WEB.FORM]
* NEW: Initial implementation of WebUploadButton, a new control that allows to select a file for uploading. Uploading by itself is not yet implemented yet.


git-svn-id: svn://localhost/gambas/trunk@7718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-04 17:41:58 +00:00
Benoît Minisini
ff7bbe8a21 [DEVELOPMENT ENVIRONMENT]
* NEW: Add 'gb.form.terminal' to the component list.
* NEW: New component status icons.

[INTERPRETER]
* BUG: Correctly export Stream.Term description.
* NEW: Stream.Term.FlowControl is a new property that allows to set or retrieve if flow control is enabled on a terminal stream.

[GB.GTK]
* NEW: Change the name of 'NewChild' event argument.

[GB.GTK3]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT4]
* NEW: Change the name of 'NewChild' event argument.

[GB.QT5]
* NEW: Change the name of 'NewChild' event argument.

[GB.FORM.TERMINAL]
* NEW: Support for the 'Set title' command.
* NEW: TerminalView now emits the Title event when the terminal requests a title change.
* NEW: Support for flow control. When output is suspended, the terminal contents becomes darker.
* BUG: Correctly update the scrollbar when switching between screens.


git-svn-id: svn://localhost/gambas/trunk@7714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-03 10:54:21 +00:00
Benoît Minisini
79a4ea2a70 [INTERPRETER]
* BUG: Fix a crash on one error message thrown incorrectly.

[GB.FORM.TERMINAL]
* OPT: Optimize drawing routine. Still slow, but less flicker.
* NEW: TerminalView: Add a blink property that enables or disables cursor blink.

[GB.GTK]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?

[GB.GTK3]
* BUG: Use cairo_paint() instead of cairo_fill() when Paint.Operator is not Paint.OperatorOver. Is it a Cairo bug?


git-svn-id: svn://localhost/gambas/trunk@7698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-31 09:25:11 +00:00
Benoît Minisini
8ea3863fc5 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly detect controls that do not need a real parent container when saving a form.
* BUG: Prevent a possible crash when the mouse leaves the output console while it displays debug links to code source.


git-svn-id: svn://localhost/gambas/trunk@7692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-29 22:02:39 +00:00
Henrique
b494e27ce7 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-28 23:14:32 +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
beff47b6d8 [WIKI]
* NEW: Automatic conversion of old example syntax to the use of new highlighted code sections.


git-svn-id: svn://localhost/gambas/trunk@7661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:35:03 +00:00
Benoît Minisini
d81c62050b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix translation of compiler error messages.


git-svn-id: svn://localhost/gambas/trunk@7660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-23 21:31:53 +00:00
Fabien Bodard
7233dba468 [DEVELOPMENT ENVIRONMENT]
* NEW: Add an indentation level for .Begin/.End functions in the automatic code formater.


git-svn-id: svn://localhost/gambas/trunk@7654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-21 08:22:40 +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
Fabien Bodard
a6dadb5a52 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot to modify the Option Dialog themes list.


git-svn-id: svn://localhost/gambas/trunk@7645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 08:05:39 +00:00
Fabien Bodard
f90f89abba [DEVELOPMENT ENVIRONMENT]
* NEW: Add a new tea theme for the editor 'zen'.


git-svn-id: svn://localhost/gambas/trunk@7644 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 08:01:26 +00:00
Benoît Minisini
6e894e0df3 [DEVELOPMENT ENVIRONMENT]
* BUG: Editor: Completion popup now opens at the right position on wrapped lines.
* NEW: Text editor: Show compression message inside the editor.


git-svn-id: svn://localhost/gambas/trunk@7642 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-19 00:00:15 +00:00
Benoît Minisini
e9f03fe7de [DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: new option to toggle indent drawing in editors.


git-svn-id: svn://localhost/gambas/trunk@7636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:56:45 +00:00
Benoît Minisini
a2752efe91 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a bug in the CReportBrush class detected at compilation time now.


git-svn-id: svn://localhost/gambas/trunk@7633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 01:41:27 +00:00
Benoît Minisini
78ea8c345b [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix a very old bug in automatic completion where hitting backspace sometimes deleted two characters.


git-svn-id: svn://localhost/gambas/trunk@7631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 13:19:36 +00:00
Benoît Minisini
4910d9f20b [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Better argument list tab.


git-svn-id: svn://localhost/gambas/trunk@7630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:02:19 +00:00
Benoît Minisini
55cd241ffe [DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: When displaying the contents of a collection, the Key property is saved and restored so that the debugged program is not altered.


git-svn-id: svn://localhost/gambas/trunk@7628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-11 23:46:22 +00:00
Henrique
a0441159eb [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-06 19:18:18 +00:00
Benoît Minisini
48de1a69f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign file creation dialog and put file import in its own dialog.


git-svn-id: svn://localhost/gambas/trunk@7617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-02 01:20:43 +00:00
Benoît Minisini
4580e2380a [DEVELOPMENT ENVIRONMENT]
* BUG: Compress calc() CSS function correctly.
* OPT: Avoid useless calls to Stat().
* NEW: Update support list.


git-svn-id: svn://localhost/gambas/trunk@7615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:34:57 +00:00
Benoît Minisini
460c29d2de [DEVELOPMENT ENVIRONMENT]
* BUG: Library selection dialog does not crash anymore when the local library path does not exist yet.
* BUG: When creating the library executable, the copy in the local library path is correctly overwritten.


git-svn-id: svn://localhost/gambas/trunk@7604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-16 19:02:38 +00:00
Benoît Minisini
fddfe3278b [DEVELOPMENT ENVIRONMENT]
* NEW: Library selection: "Remove" is now "Uninstall".


git-svn-id: svn://localhost/gambas/trunk@7601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:15:04 +00:00
Benoît Minisini
245ef270ec [DEVELOPMENT ENVIRONMENT]
* NEW: Replace the remove menu entry, that was located in the welcome dialog only, by a remove icon present in all recent project lists.
* BUG: Project property dialog: Fix display of not found libraries.
* BUG: Library selection: Removing a library correctly updates the state of buttons now.

git-svn-id: svn://localhost/gambas/trunk@7600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:12:27 +00:00
Benoît Minisini
210a3a3744 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Several arugment lists can be defined now.
* NEW: Library selection dialog is now resizable.


git-svn-id: svn://localhost/gambas/trunk@7598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 05:07:47 +00:00
Benoît Minisini
cd826533d7 [DEVELOPMENT ENVIRONMENT]
* BUG: When a library has no vendor, it is assumed to be the special string "(unknown)".
* NEW: Library are now installed by copying the executable, not creating a symbolic link.
* BUG: Uninstalling a library now works correctly.

git-svn-id: svn://localhost/gambas/trunk@7597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 21:59:37 +00:00
Benoît Minisini
ba9621d3a0 [DEVELOPMENT ENVIROMENT]
* BUG: Packager: Fix library support.


git-svn-id: svn://localhost/gambas/trunk@7595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:15:03 +00:00
Benoît Minisini
d52b235e55 [DEVELOPMENT ENVIRONEMNT]
* NEW: Packager: Support for new library management. Autotools packages are not supported yet.


git-svn-id: svn://localhost/gambas/trunk@7594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:06:32 +00:00
Benoît Minisini
5fcf388882 [DEVELOPMENT ENVIRONMENT]
* NEW: New library management and new library selection dialog.
* BUG: Fix crash dialog layout.


git-svn-id: svn://localhost/gambas/trunk@7593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:20:19 +00:00
Charlie Reinl
baa0a19ef5 [DEVELOPMENT ENVIRONMENT]
* NEW: remove projects from the project list


git-svn-id: svn://localhost/gambas/trunk@7589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 22:21:54 +00:00
Benoît Minisini
dc04a667c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add description of gb.web.form and gb.qt5.ext components.
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 03:00:22 +00:00
Benoît Minisini
69eba4d3bb [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to lock files that are symbolic links. They are always locked.
* NEW: Text editor: Try to detect functions declared inside an object for javascript files.


git-svn-id: svn://localhost/gambas/trunk@7583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-23 22:23:14 +00:00
Benoît Minisini
5735de6806 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly generate signature of methods having optinal arguments with initializers.


git-svn-id: svn://localhost/gambas/trunk@7582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-19 22:57:20 +00:00
Benoît Minisini
cb5641ca98 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Compress and uncompress functions now correctly update the procedure list.


git-svn-id: svn://localhost/gambas/trunk@7578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 00:31:52 +00:00
Benoît Minisini
66a45b3c45 [DEVELOPMENT ENVIRONMENT]
* OPT: Form editor: If a translation string ends with three dots, don't put them in the translation.
* BUG: If GB_GUI is not explicitly defined, remove it from the environment of the debugged process, so that it does not inherit the one defined by the IDE gb.gui.qt component.


git-svn-id: svn://localhost/gambas/trunk@7573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-10 22:41:48 +00:00
Benoît Minisini
32387776bb [DEVELOPMENT ENVIRONMENT]
* BUG: Translater: Fix translations that end with a newline whereas the original string does not.
* NEW: Webform: Add "vw", "vh", "vmin" and "vmax" unities.
* BUG: Form editor: Remove automatic parent selection.
* BUG: Form editor: Make "Tooltip" property (with a lower "t") translatable.


git-svn-id: svn://localhost/gambas/trunk@7567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:41:53 +00:00
Henrique
c2a85b801f [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 16:39:37 +00:00
Henrique
417e12772e [WIKI CGI SCRIPT]
* NEW: Updated Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 12:29:49 +00:00