* NEW: A class inheriting DBusVariant can be used a DBus method return
value.
* BUG: unregistering an object correctly removes it from the children list
of its parent.
* NEW: DBus.SplitSignature has been renamed as DBus._SplitSignature.
[GB.DBUS.TRAYICON]
* BUG: Correctly unregister KDE-style trayicons.
git-svn-id: svn://localhost/gambas/trunk@7167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: DBus methods that return nothing now send a void reply, otherwise
the caller waits for nothing.
[GB.DBUS.TRAYICON]
* NEW: Update DBusMenu protocol documentation file.
* BUG: Make the menu export work with Unity.
git-svn-id: svn://localhost/gambas/trunk@7166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Object.Raise() method.
[DEVELOPMENT ENVIRONMENT]
* BUG: Replace a possible error while filling the toolbox by a warning
message.
[GB.DBUS]
* NEW: DBusValues is a new class that must be used when a DBus method canonical
return several values. It works like DBusVariant.
* NEW: DBus.SplitSignature is new method that allows to split a DBus signature.
* NEW: DBusNull class is renamed as _DBusNull.
[GB.DBUS.TRAYICON]
* NEW: TrayIcon popup menu is now exported through the DBusMenu protocol,
so that it becomes usable on Unity. Consequently, the Menu event will be
removed.
[GB.DESKTOP]
* NEW: Remove the Desktop.Type property.
* NEW: Add support for Unity.
[GB.GTK]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.GTK3]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.QT]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.QT5]
* NEW: Desktop.Type is now implemented in the GUI components.
git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix org.freedesktop.DBus.Introspectable interface declaration.
[GB.DBUS.TRAYICON]
* NEW: The KDE protocol works again.
* BUG: The default icon works again.
[GB.DESKTOP]
* NEW: Desktop.Type returns "UNITY" now on Unity.
git-svn-id: svn://localhost/gambas/trunk@7162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Null arguments of DBusObserver are correctly interpreted now.
* BUG: The org.freedesktop.Properties GetAll() method now effectively send
all properties, even those being null.
* NEW: More debugging messages if DBus.Debug is set to TRUE.
* NEW: The DBusObject is now marshalled to a DBus object path.
[GB.DBUS.TRAYICON]
* NEW: Support of the Unity appindicator protocol. The icon is visible, but
that's all. No popup menu, and the only event that Unity sends is the
middle click. Reverse-engeneering when the sun is hot is a pleasure, so
thanks again to Ubuntu guys for not documenting their custom protocol
anywhere!
git-svn-id: svn://localhost/gambas/trunk@7161 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: Add a new GB.Component.Declare() API, that allows a component to
dynamically register a class description.
[INFORMER]
* NEW: A component now can declare classes through a GB_OPTIONAL_CLASSES
public symbol. Theses classes are included into the information file,
but are not automatically loaded as the ones defined through the
GB_CLASSES symbol.
[GB.FORM.STATUSICON]
* NEW: This component has been removed and replaced by gb.dbus.trayicon.
* NEW: This component now provide TrayIcon and TrayIcons classes that have
exactly the same interface as the old ones.
[GB.DBUS]
* NEW: Remove the now useless DBusConnection.Raise(). The DBusConnection
Register() and Unregister() are kept for backward-compatibility reason.
* NEW: Add DBus.Raise() and DBus[].Raise() to raise signals. At the moment,
there is no difference between the two methods, as there no mean to
indicate the sender raising a signal. I don't know yet how DBus decides
which service sends a signal!
[GB.DBUS.TRAYICON]
* NEW: This component implements the tray icon DBus protocol. It is
automatically loaded by the GUI components.
[GB.GTK]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.
[GB.GTK3]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the component name in deprecation warning messages.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.
[GB.QT4]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
[GB.QT5]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
git-svn-id: svn://localhost/gambas/trunk@7154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.Register() and DBus.Unregister() are now the two methods to
register and unregister a DBusObject under the DBus.Name service.
* NEW: DBus[service].Register() and DBus[service].Unregister() are two new
methods to register and unregister a DBusObject under a specific service
name.
* BUG: Remove support for calling methods and properties directly from the
DBusApplication class. Why did I do that?
[GB.FORM.STATUSICON]
* NEW: Use the new registering methods.
git-svn-id: svn://localhost/gambas/trunk@7153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.Session.Register() now can register an object under a specific
service name. If the object path does not start with a slash, then its
first element is assumed to be that service name.
[GB.FORM.STATUSICON]
* NEW: Hide the exported _DBusStatusIconPixmap class.
* BUG: An application can have more than one StatusIcon now.
git-svn-id: svn://localhost/gambas/trunk@7152 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Forgot to add gb.form.statusicon to the list of components written
in Gambas.
git-svn-id: svn://localhost/gambas/trunk@7151 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
* 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: 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: 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
* 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
* 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: 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