* BUG: TextEditor: Editor works correctly again when a procedure is collapsed.
git-svn-id: svn://localhost/gambas/trunk@7908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
default unit.
* BUG: CoordBox is now correctly not localized.
[GB.DB.FORM]
* BUG: Correctly define the default size of controls.
[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.
[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
rectangle, keeping the image proportions.
[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
arguments. These arguments define the target drawing rectangle, and the
SVG image will be scaled to fit it.
[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
kind.
git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
controls. This representation is a GUI control class named
"<family><control>". For example, WebformWebMenu is the IDE control class
that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.
[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.
git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: TextEditor: Try to detect if the desktop is remote, and disable all
optimizations based on image caches in that case.
git-svn-id: svn://localhost/gambas/trunk@7460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image selection dialog has now more options, and can choose image
inside the ".public" directory.
* NEW: Image selection now depends on form family.
[INTERPRETER]
* NEW: Timer.Restart() is a new method that stops and starts again a timer.
[GB.FORM.EDITOR]
* NEW: TextEditor: Image line cache is now limited by the visible height.
* BUG: TextEditor: Don't use image line cache for lines too high.
[GB.WEB]
* BUG: WebPage.ToString() now works correctly.
[GB.WEB.FORM]
* NEW: Generate webform style sheet recursively.
* NEW: WebButton can have an icon with the Image property.
* NEW: WebHtml control is now usable.
* NEW: WebContainer Arrangement, Margin and Spacing properties.
* NEW: WebControl Expand property.
* NEW: WebContainer boolean Border property is there just for debugging.
* NEW: WebForm.Title property.
git-svn-id: svn://localhost/gambas/trunk@7459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
speed up redraws. This image cache is cleared as soon as the editor
loses the focus, to save memory, or five seconds after the last redraw.
git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: CTRL+ENTER does not crash anymore if there is nothing to fold or
unfold.
git-svn-id: svn://localhost/gambas/trunk@7416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Project exported control icons are thiner.
[INTERPRETER]
* NEW: Release classes having an array class if that array class has no
instance.
[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
"quit" hook. At the moment it releases Drag.Icon picture and voids the
Picture cache.
git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image editor: Buttons for line cap style, line join style and fill
rule.
* BUG: Image editor: Fix drawing of ghost line tool.
[GB.FORM.EDITOR]
* BUG: TextEditor: SHIFT + PGUP or PGDOWN keys now works as expected.
[GB.FORM.MDI]
* NEW: Workspace: Always shows the global close button, even if there is
only one tab.
git-svn-id: svn://localhost/gambas/trunk@7396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: List property dialog: Invert button.
* BUG: Image editor: Many bug fixes in draw, erase, and line tool.
* NEW: New icons for networking controls.
[GB.DB.FORM]
* NEW: New icon for DataSource control.
[GB.QT4]
* BUG: DrawingArea now can be resized during a paint event as soon as it is
not cached.
[GB.QT5]
* BUG: DrawingArea now can be resized during a paint event as soon as it is
not cached.
git-svn-id: svn://localhost/gambas/trunk@7375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the WebView icon in the IDE.
[GB.FORM.EDITOR]
* OPT: Don't raise Cursor event if we are between calls to Begin / End or
during an undo or redo process.
[GB.GUI.QT.WEBKIT]
* NEW: No need to put the WebView icon there.
git-svn-id: svn://localhost/gambas/trunk@7367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView: Don't draw the background if the Background property is
set to Color.Transparent.
[GB.FORM.EDITOR]
* BUG: TextEditor: Load() method now always move the cursor to the
beginning, to avoid a possible crash.
git-svn-id: svn://localhost/gambas/trunk@7359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Deleting one collapsed line correctly expands it and
does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@7333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Component.FindFromPath() is a new method that returns the name of
the component a relative path belongs to.
* BUG: Fix the internal method that returns the component a relative path
belongs to.
[ARCHIVER]
* NEW: Better verbose mode.
[GB.GUI.BASE]
* NEW: Use the new Component.FindFromPath() method.
[GB.IMAGE]
* NEW: Color[].Luminance returns the luminance information of a color.
git-svn-id: svn://localhost/gambas/trunk@7309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add an option to invert an editor theme so that it is usable with a
GUI dark theme.
* NEW: Fix some default themes so that it is more usable inverted.
[GB.FORM.MDI]
* BUG: Don't load 'gb.form.mdi' action files. What for?
git-svn-id: svn://localhost/gambas/trunk@7306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Reset the cursor position before actually setting the
Text property, to avoid a possible crash.
[GB.GUI.BASE]
* NEW: ScrollArea: Ignore Style.ScrollBarSpacing when layouting scrollbars.
git-svn-id: svn://localhost/gambas/trunk@7301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Some ANSI codes are taken into account by the Print()
method.
* OPT: TextEditor: Print() modifications are not put in the undo buffer.
[GB.QT4]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current
value.
[GB.QT5]
* BUG: The parent window of a modal window is correctly set now.
* BUG: Window.Visible property does nothing when set with its current
value.
git-svn-id: svn://localhost/gambas/trunk@7299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Code formating when saving does not prevent modification flag to
work anymore.
* NEW: Option dialog: Change the order of panels.
[GB.FORM.EDITOR]
* NEW: TextEditor: The Save() and Reset() methods now cancel any pending
Change event.
git-svn-id: svn://localhost/gambas/trunk@7297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Code formatting is faster now by working on a temporary line buffer.
[WEBSITE MAKER]
* NEW: Update to 3.8.1 version.
[GB.GTK]
* NEW: Screens.Primary is a new property that returns the primary screen
number.
[GB.GTK3]
* NEW: Screens.Primary is a new property that returns the primary screen
number.
[GB.QT4]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen
number.
[GB.QT5]
* BUG: Continue fixing modal dialog initial screen.
* NEW: Screens.Primary is a new property that returns the primary screen
number.
git-svn-id: svn://localhost/gambas/trunk@7281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Editor: Do not mark a file as unsaved when refactoring is triggered
by saving this same file.
[GB.FORM.EDITOR]
* BUG: TextEditor: Only change the contents of a line if the provided new
content is different from the current one.
git-svn-id: svn://localhost/gambas/trunk@7225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Correctly update line heights in all cases when a line
is inserted or removed.
git-svn-id: svn://localhost/gambas/trunk@7187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Disable highlighting between Begin() and End(), and do
it later, just after the last End() has been called. That makes the IDE
"replace all" tool work correctly!
git-svn-id: svn://localhost/gambas/trunk@7177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The "Show search window" button in the search list does not reset
the searching context to the current procedure anymore. It keeps the
current context unchanged instead.
[GB.DRAW]
* NEW: Paint.ZoomImage used dash pattern to draw the zoom grid.
[GB.FORM]
* NEW: ImageView uses #808080 as grid color.
[GB.FORM.EDITOR]
* BUG: TextEditor: Don't reset an editor getting the focus. Do it only if
needed.
git-svn-id: svn://localhost/gambas/trunk@7175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Do not toggle to overwrite mode when inserting a line.
git-svn-id: svn://localhost/gambas/trunk@7173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add compression driver components descriptions.
* BUG: The packager now generates packages for QT5 and GTK+3 for project
using gb.gui.
* NEW: The button to show deprecated components is now embedded into the
component chooser.
[EXAMPLES]
* BUG: WebBrowser: Fix a bug in text search.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting lines effectively insert lines in overwrite
mode.
git-svn-id: svn://localhost/gambas/trunk@7172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Ctrl+Delete now deletes the word right to the cursor.
git-svn-id: svn://localhost/gambas/trunk@7158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.GetProperty() API now returns the property value as a GB_VALUE
pointer, or NULL if the property could not be read.
[GB.DB.POSTGRESQL]
* BUG: Fix a compilation warning.
[GB.DBUS]
* NEW: DBusVariant.Signature is now a constant, not a property anymore.
* NEW: DBusVariant() static method has been removed.
* NEW: DBusVariant.Value is now writable.
* NEW: DBusVariant now can be inherited. Use the value of the Signature
constant for introspection of methods and properties using a child class
of DBusVariant.
* BUG: Show the org.freedesktop.DBus.Peer interface in introspection.
* BUG: The org.freedesktop.DBus.Properties.GetAll method now works
correctly.
* BUG: Correctly handle array datatypes.
* BUG: Correctly marshall DBus structures and arrays.
* BUG: Correctly handle NULL values.
[GB.FORM.EDITOR]
* BUG: TextEditor: Better detect cursor position when clicking in the
editor with the mouse.
[GB.FORM.STATUSICON]
* NEW: New component that provides a StatusIcon that is a TrayIcon using
the Status Notifier DBus specification (i.e. the new protocol). It should
only works with KDE at the moment.
[GB.IMAGE]
* NEW: Implement all possible image format conversions.
git-svn-id: svn://localhost/gambas/trunk@7150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Code prettyfier should not move the cursor anymore.
[GB.DBUS]
* NEW: Support for sending signals.
[GB.QT4]
* NEW: Detect system tray with the Qt routine.
[GB.QT5]
* NEW: Detect system tray with the Qt routine.
[GB.GTK]
* NEW: Actually try to detect the system tray. Only the old protocol is
supported.
[GB.GTK3]
* NEW: Actually try to detect the system tray. Only the old protocol is
supported.
git-svn-id: svn://localhost/gambas/trunk@7145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Allow string constants longer than 255 characters when generating
*.info files.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw line ending spaces with dots.
* NEW: TextEditor.ShowSpaces is a new property that toggles the drawing of
spaces at the end of line.
* BUG: TextEditor: Don't crash anymore when calling the Clear method
(again).
git-svn-id: svn://localhost/gambas/trunk@7142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SidePanel.MinSize is a new property to define the minimum size of a
SidePanel before it hides. This property may be removed soon, don't use
it yet.
[GB.FORM.EDITOR]
* BUG: TextEditor: Clicking past the end of a line having a single
character correctly moves the cursor to the end of line.
git-svn-id: svn://localhost/gambas/trunk@7141 867c0c6c-44f3-4631-809d-bfa615b0a4ec