* BUG: The UTF-8 character to byte position conversion routine now should
work in all cases. Fix a corner case in String.Left(), String.Mid$(),
String.Right() that sometimes could return an incorrect result.
git-svn-id: svn://localhost/gambas/trunk@7147 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
* NEW: Database editor: The import CSV dialog is now a wizard.
[GB.DB]
* BUG: Fix a crash when creating twice the same table with the same
connection.
[GB.FORM]
* NEW: Spinner: Display the label below the rotating spinner.
* NEW: Spinner.Wait() is a new method that calls the event loop, and
ensures that it is not called more than every 200 milliseconds.
* BUG: Wizard: Animation is correct now when the Border property is set.
[GB.QT4]
* BUG: Showing a window now automatically raises it.
[GB.QT5]
* BUG: Showing a window now automatically raises it.
git-svn-id: svn://localhost/gambas/trunk@7138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ignore gb.gui.qt and gb.gui.qt.webkit when generating the TODO page.
[GB.FORM.EDITOR]
* BUG: TextEditor: Moving up and down with the arrow keys now work
correctly in wrap mode.
* OPT: TextEditor: Don't update line widths until the first Draw event.
git-svn-id: svn://localhost/gambas/trunk@7135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Command for generating the package dependencies table.
[GB.COMPRESS.BZLIB2]
* NEW: Make that compress driver an explicit component.
[GB.COMPRESS.ZLIB]
* NEW: Make that compress driver an explicit component.
[GB.FORM.EDITOR]
* BUG: TextEditor: The right mouse button now has no effect to allow the
popup menu to act on the current selection or cursor position.
git-svn-id: svn://localhost/gambas/trunk@7134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextEditor: CTRL+BACKSPACE deletes the word on the left of the
cursor.
git-svn-id: svn://localhost/gambas/trunk@7133 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TabPanel: Fix a temporary debugging feature that sometimes could
lead to a crash.
git-svn-id: svn://localhost/gambas/trunk@7132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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