* NEW: TextEditor: Any selected text now goes to the selection clipboard
automatically.
* NEW: TextEditor: The middle mouse button now pastes the selection
clipboard.
[GB.GTK]
* NEW: Clipboard.Current is a new property that tells if the Clipboard
methods and properties operate on the default clipboard or the selection
clipboard.
[GB.GTK3]
* NEW: Clipboard.Current is a new property that tells if the Clipboard
methods and properties operate on the default clipboard or the selection
clipboard.
[GB.GUI.BASE]
* NEW: ScrollArea: Draw the border around the scrollbars now.
[GB.QT4]
* NEW: Clipboard.Current is a new property that tells if the Clipboard
methods and properties operate on the default clipboard or the selection
clipboard.
[GB.QT5]
* NEW: Clipboard.Current is a new property that tells if the Clipboard
methods and properties operate on the default clipboard or the selection
clipboard.
git-svn-id: svn://localhost/gambas/trunk@7130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Current highlighting theme is now part of the configuration.
* NEW: Use the new CloseButton property of the TabPanel control.
[GB.FORM]
* NEW: TabPanel.CloseButton is a new property that displays a global close
button inside the tab bar. That button raises the CloseAll event.
[GB.FORM.EDITOR]
* NEW: The Margin event is now raised when the user clicks inside the
margin, not when it clicks twice.
[GB.FORM.MDI]
* NEW: Workspace.CloseAll() is new method that closes all workspace
windows.
* NEW: Workspace has now a global close button.
* BUG: Workspace: fix layout routine when the Border property is set.
git-svn-id: svn://localhost/gambas/trunk@7129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollArea: The corner widget is now correctly hidden in all cases.
* BUG: GridView: Picture alignment inside cells is now correct.
git-svn-id: svn://localhost/gambas/trunk@7128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Changing a style now correctly refreshes the editor.
* NEW: Highlight the margin.
[GB.GUI.BASE]
* BUG: ScrollArea is now correctly selectable in the IDE.
git-svn-id: svn://localhost/gambas/trunk@7127 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix initial cursor position at file loading.
[GB.FORM.EDITOR]
* BUG: Wrapping is correctly updated now when the margin width changes.
* NEW: The line indent is used for drawing all the wrapped lines of a text
line.
* NEW: The HOME and END keys take the wrapping into accoutn now.
[GB.GTK]
* BUG: Drawing text on an image now has the same result as drawing text on
the screen. They use the same hinting options.
[GB.GTK3]
* BUG: Drawing text on an image now has the same result as drawing text on
the screen. They use the same hinting options.
git-svn-id: svn://localhost/gambas/trunk@7124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Profiler window: Add a new column for the average self time.
[INTERPRETER]
* OPT: Make faster implementations of the Find() and Exist() methods of the
native array classes. Only Date[] and Variant[] use the old implementations.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting and removing lines now work correctly when
wrap mode is enabled.
* OPT: TextEditor: Drawing and layouting optimizations.
git-svn-id: svn://localhost/gambas/trunk@7123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix keyboard events handling.
* BUG: Fix enter and leave events handling.
git-svn-id: svn://localhost/gambas/trunk@7122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Don't use bold fonts, the text width computation routine
does not handle them.
git-svn-id: svn://localhost/gambas/trunk@7121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix completion popup position.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly clear position cache when wrap mode is
changed.
* NEW: TextEditor: Changing wrap mode and relayouting lines now try to keep
the current line visually at the same position.
git-svn-id: svn://localhost/gambas/trunk@7120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix completion and signature popup position when editor is in wrap
word mode.
[GB.FORM.EDITOR]
* NEW: TextEditor[].Height is a new property that returns the height of a
specific line.
* BUG: TextEditor: Correctly update cursor position when wrap mode is
changed.
* BUG: TextEditor: Ensure that the current line is visible after wrap mode
has been changed.
git-svn-id: svn://localhost/gambas/trunk@7118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Image editor: Don't crash when drawing text if a specific character
returns no outline. Just draw nothing.
* NEW: Redraw some icons.
[GB.FORM.EDITOR]
* OPT: TextEditor: Add a cache for line lengths.
* BUG: Clicking past the end of file send the cursor to the last line in
all cases now.
git-svn-id: svn://localhost/gambas/trunk@7117 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new button to toggle wrap word mode in code editor and text
editor.
* NEW: An option to define if wrap word mode is enabled by default.
git-svn-id: svn://localhost/gambas/trunk@7114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Initial implementation of line wrap mode.
* NEW: TextEditor.Wrap is a new property that enable wrap mode.
git-svn-id: svn://localhost/gambas/trunk@7112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Profile window: Don't enable procedure collapse.
* BUG: Form property sheet: Don't use theme color for highlighting.
* BUG: Make offline help downloader more robust.
* BUG: Projet properties dialog: Unchecking a component does not uncheck
dependencies that were explicitely checked anymore.
[GB.GUI.BASE]
* BUG: ScrollArea: Apply foreground color to scrollbars.
* BUG: ScrollArea: Correctly draw the corner background between scrollbars.
* NEW: GridView: Try to not draw the last grid lines if not needed.
[GB.MARKDOWN]
* BUG: Correctly reinitialize the markup routines when an HTML comment has
not been closed.
git-svn-id: svn://localhost/gambas/trunk@7111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the "next" icon for the buttons that switch between the class
file and the form file.
* BUG: Fix all WebView font sizes.
* BUG: Open project dialog: Fix buttons layout.
* NEW: Take the gb.gui.qt.* components into account in the help system.
* NEW: Component chooser: New look. Don't use the round borders anymore.
* BUG: Project properties dialog: Do not display the libraries in the
component list anymore.
* BUG: Component chooser: Correctly uncheck component dependencies.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix detection of some monospace fonts.
* NEW: TextEditor: Draw a minus/plus sign for expanded/collapsed
procedures. Do not use Style.PaintArrow() anymore, it does not work
correctly with gb.gtk.
* BUG: TextEditor: Update cursor position when collapsing a function.
[GB.GTK]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: Font.ToString() now uses the point as font size decimal separator.
[GB.GTK3]
* BUG: Paint.Font now behaves as expected if one of its property is set.
* BUG: TextBox.Mouse property works correctly again with GTK >= 3.14.
* BUG: Font.ToString() now uses the point as font size decimal separator.
[GB.GUI.BASE]
* NEW: GridView: Don't draw the last grid lines.
* NEW: GridView: The cursor is more visible.
* NEW: GridView: The scrollbars use the same background as the view.
[GB.QT4]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the
font to its initial value taken at Paint.Begin.
[GB.QT5]
* BUG: Setting Paint.Font to NULL does not crash anymore. It resets the
font to its initial value taken at Paint.Begin.
* NEW: Closing a popup does not replay the mouse click anymore.
git-svn-id: svn://localhost/gambas/trunk@7110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Implement ALT+UP and ALT+DOWN shortcuts.
* NEW: TextEditor: Draw line numbers with parent font, not with the editor
font.
* BUG: TextEditor: Fix interaction between highlighting and Undo/Redo
process.
* BUG: TextEditor: Undo/Redo should correctly restore selection now.
git-svn-id: svn://localhost/gambas/trunk@7108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SliderBox: The slider has always a space for the possible minus sign.
[GB.GUI.QT]
* NEW: Print a warning message if GB_GUI contains an unsupported component.
[GB.QT5]
* NEW: Desktop.Screenshot does not use the deprecated API anymore.
git-svn-id: svn://localhost/gambas/trunk@7107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Dirty hack that disables the new Qt5 mouse click replayed after a
popup has been closed.
git-svn-id: svn://localhost/gambas/trunk@7106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Hitting Escape while editing a variable does not hide the debugger
panel anymore.
[GB.EVAL.HIGHLIGHT]
* NEW: The component is not deprecated anymore.
* NEW: Move the new TextHighlighter class from 'gb.form.editor' to
'gb.eval.highlight'.
* NEW: TextHighlighter[] returns a specific highlighter from its name.
* NEW: TextHighlighter.ToHTML() is a new method that converts a text into
highligted HTML.
[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() routine that trimmed badly is some cases.
git-svn-id: svn://localhost/gambas/trunk@7105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Don't use the 'gb.eval.highlight' component anymore. Highlighting is
inside 'gb.form.editor' now. This may change in the future.
[GB.EVAL.HIGHLIGHT]
* NEW: Mark the component as deprecated.
[GB.GTK]
* BUG: Row and column arrangement now work correctly with RTL language in
both normal and inverted modes.
[GB.GTK3]
* BUG: Right-to-left languages are taken into account by the arrangement
routine correctly now.
* BUG: Row and column arrangement now work correctly with RTL language in
both normal and inverted modes.
[GB.QT4]
* BUG: Row and column arrangement now work correctly with RTL language in
both normal and inverted modes.
[GB.QT5]
* BUG: Row and column arrangement now work correctly with RTL language in
both normal and inverted modes.
git-svn-id: svn://localhost/gambas/trunk@7103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new QT4/QT5 switcher components.
* NEW: Support for QT5 component.
[GB.FORM]
* NEW: New syntaxes in 'icon.map' file that allows to specify different
icons for small or big sizes.
* NEW: New 'user' and 'group' icons.
[GB.FORM.STOCK]
* NEW: New 'user' and 'group' icons.
[GB.GUI.QT]
* NEW: New QT4/QT5 switcher component.
[GB.GUI.QT.WEBKIT]
* NEW: New QT4/QT5 WebKit switcher component.
[GB.QT4]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal
dialog.
[GB.QT5]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal
dialog.
git-svn-id: svn://localhost/gambas/trunk@7101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove the source code of gb.qt5.ext that does not exist anymore.
git-svn-id: svn://localhost/gambas/trunk@7100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Text editor: Compression correctly marks the file as modified.
* NEW: Take gb.qt5 into account in the help system.
[WIKI CGI SCRIPT]
* NEW: Take gb.qt5 into account.
[INTERPRETER]
* NEW: GB.Component.IsLoaded() is new interpreter API that returns if a
specific component has been loaded.
* BUG: Running executables from an absolute path works again.
[GB.DESKTOP]
* BUG: DesktopWatcher: Use Desktop.Windows.FromHandle() instead of
Desktop.Windows[].
[GB.DESKTOP.X11]
* NEW: Support for gb.qt5.
[GB.FORM.EDITOR]
* BUG: TextEditor.Save() highlights the current line before saving.
[GB.QT5]
* NEW: Support for X11 event filter by translating xcb event into xlib
events.
* BUG: Cached DrawingArea works correctly now.
git-svn-id: svn://localhost/gambas/trunk@7099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Allow Gambas executables to be run through any relative paths.
git-svn-id: svn://localhost/gambas/trunk@7098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Text editor: Fix text pasting.
[GB.FORM]
* BUG: Completion: The completion popup now can be clicked without being
closed, thanks to the new Window.Activate() method that gives the focus
back to the completed text box.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix braces highlighting.
* BUG: TextEditor: Correctly disable procedure folding when the ShowExpand
property is FALSE.
[GB.FORM.MDI]
* NEW: Workspace: Rename an internal method that was in conflict with the
new Window.Activate() method.
[GB.GTK]
* NEW: Window.Activate is a new method that activates a window.
[GB.GTK3]
* NEW: Window.Activate is a new method that activates a window.
[GB.QT4]
* NEW: Window.Activate is a new method that activates a window.
[GB.QT5]
* NEW: Window.Activate is a new method that activates a window.
* BUG: Window.TakeFocus should work now.
* NEW: Add a new X11 helper function that allows to set the
_NEW_WM_USER_TIME property of a window, so that Window.TakeFocus can be
implemented.
git-svn-id: svn://localhost/gambas/trunk@7097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextEditor: Fix layout routine when lines are inserted or removed.
* OPT: TextEditor: Check that the font is monospaced, so that line widths
can be computed faster.
git-svn-id: svn://localhost/gambas/trunk@7096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The old Editor has been entirely replaced by the new TextEditor
control.
* BUG: Fix the cursor positions restore at project startup.
* BUG: Farm client: The software description is not incorrectly clipped
anymore.
git-svn-id: svn://localhost/gambas/trunk@7095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Packager: Fix output window.
* BUG: Workaround the stupid automatic shortcut feature of Qt5.
* BUG: Packager: Fix RPM package generation.
* BUG: Output console: Debug output highlighted links came back.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlighting provides the current line to the
highlighter.
* BUG: TextEditor: Refreshing a line now triggers the highlighter.
[GB.QT4]
* BUG: Window: Redesign the X11 window manager properties management so
that everything works the same in gb.qt4 and gb.qt5.
[GB.QT5]
* BUG: Window: Redesign the X11 window manager properties management so
that everything works the same in gb.qt4 and gb.qt5.
git-svn-id: svn://localhost/gambas/trunk@7094 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix code snippet insertion with the new editor.
* NEW: Procedure folding comes back.
[GB.FORM.EDITOR]
* NEW: TextEditor: Procedure folding has been implemented.
git-svn-id: svn://localhost/gambas/trunk@7093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The string constants are now quoted in *.info files. Take that into
account.
* BUG: Disable code that uses the old Editor procedure floding feature.
* NEW: Make the option dialog smaller.
[WIKI CGI SCRIPT]
* NEW: The string constants are now quoted in *.info files. Take that into
account.
[COMPILER]
* BUG: The string constants are now quoted in *.info files.
[GB.FORM.MDI]
* BUG: Workspace: Disable some unused code.
[GB.QT4]
* OPT: Minimize X11 window properties changes.
[GB.QT5]
* BUG: Window SKipTaskbar, Stacking, Border... properties (all that rely on
Xlib calls) now work correctly.
* OPT: Minimize X11 window properties changes.
git-svn-id: svn://localhost/gambas/trunk@7092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix completion with language keywords.
[GB.FORM.EDITOR]
* BUG: TextEditor.FindNextString() is now case unsensentive, which fixes
IDE automatic completion.
* BUG: TextEditor: Fix word selection.
* BUG: TextEditor: Fix cursor column normalization (when it is past the
end of line).
git-svn-id: svn://localhost/gambas/trunk@7091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Project creation dialog now uses the new TextEditor and works again.
git-svn-id: svn://localhost/gambas/trunk@7090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new TextEditor instead of the old Editor control.
Consequently, the 'gb.qt4.ext' component is not needed by the IDE
anymore.
* NEW: Option dialog: Put the fonts options in their own panel.
* NEW: Farm client: Add new categories.
[GB.FORM]
* NEW: Fix some breeze icons.
[GB.FORM.EDITOR]
* NEW: TextEditor: Development continues...
[GB.GTK]
* NEW: Font.Modified is a new property that returns if the font has been
modified, i.e. if one of its properties has been set. This property can
be freely reset. That way, it allows to implement the concept of "default
font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe
it is useless now.
[GB.GTK3]
* NEW: Font.Modified is a new property that returns if the font has been
modified, i.e. if one of its properties has been set. This property can
be freely reset. That way, it allows to implement the concept of "default
font".
* BUG: Remove a GTK+ bug workaround in the Control.Refresh() method. Maybe
it is useless now.
[GB.GUI.BASE]
* BUG: GridView: Use the new Font.Modified property so that the initial
font of a cell is always the font of the GridView, even if it changed
after the cell has been filled.
[GB.QT4]
* NEW: Font.Modified is a new property that returns if the font has been
modified, i.e. if one of its properties has been set. This property can
be freely reset. That way, it allows to implement the concept of "default
font".
[GB.QT5]
* NEW: Font.Modified is a new property that returns if the font has been
modified, i.e. if one of its properties has been set. This property can
be freely reset. That way, it allows to implement the concept of "default
font".
git-svn-id: svn://localhost/gambas/trunk@7089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Sometimes String.Left(), String.Mid$() or String.Right() methods
could go past the end of their strings.
git-svn-id: svn://localhost/gambas/trunk@7088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: Work continue and bugs are fixed...
* NEW: TextEditor: Saved modified lines are displayed with a green mark.
* NEW: TextEditor: Overwrite mode implemented.
git-svn-id: svn://localhost/gambas/trunk@7087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new TextEditor control in the file properties dialog.
[GB.FORM]
* BUG: Fix the 'recent' stock icon for the Breeze themes.
[GB.FORM.EDITOR]
* BUG: TextEditor: Many bug fixes.
* NEW: TextEditor: Implement the View property that allows multiple
TextEditor controls to share the same document.
* NEW: TextEditor: TextEditor[] returns a virtual object representing a
specific line, like Editor.Lines[].
* NEW: TextEditor: Implement TextEditor.Styles property. Styles cannot use
italic anymore. Only bold and underline.
git-svn-id: svn://localhost/gambas/trunk@7086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Prevent a possible infinite recursion when detaching objects.
* BUG: Don't crash if a standard stream has been freed. Raise an error
instead.
git-svn-id: svn://localhost/gambas/trunk@7085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Define the name of the new components.
* NEW: Newly opened profiler windows should have their columns correctly
adjusted now.
* NEW: Redraw some control icons.
[GB.FORM.EDITOR]
* NEW: Work continues... No procedure folding yet, but almost all other
features of the Editor control are now implemented.
* OPT: TextEditor does not use an internal GridView anymore, but directly
a ScrollArea.
* OPT: Line width computation cache.
* NEW: Support for syntax highlighting. All highlighters from
gb.eval.highlight are now included in this component.
git-svn-id: svn://localhost/gambas/trunk@7084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Cache Pango layout in each painter so that it is not recreated at
each text drawing.
* BUG: Copying a control font now should works as expected.
* OPT: Paint.TextSize does not compute text size twice anymore.
git-svn-id: svn://localhost/gambas/trunk@7083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added the MediaMessage class to process GStreamer messages.
* NEW: Added the MediaPipeline_Event event to catch generic GStreamer
pipeline events, in the form of a MediaMessage object.
git-svn-id: svn://localhost/gambas/trunk@7082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add gb.form.editor to the list of components written in Gambas.
git-svn-id: svn://localhost/gambas/trunk@7081 867c0c6c-44f3-4631-809d-bfa615b0a4ec