* BUG: Packager wizard: When creating a package from a component project,
warn the user if the project name is not prefixed by a vendor name and
a dot, and stop the process.
[GB.GUI.BASE]
* NEW: IconView: Draw is a new event that is raised when just after a
specific IconView item has been drawn.
* NEW: IconView: Draw the hovered item differently.
* BUG: IconView: Fix bad detection of hovered item.
* NEW: IconView: Take the icon shape into account when doing a rectangle
selection.
[GB.DRAW]
* NEW: Paint.Zoom now draws its grid with a dashed line using the specified
grid color and its inverse.
git-svn-id: svn://localhost/gambas/trunk@7186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: String.Distance() is a new method that returns the Damerau-
Levensthein distance between two UTF-8 strings. It's the minimum number
of operations needed to transform one string into the other, where an
operation is defined as an insertion, deletion, or substitution of a
single character, or a transposition of two adjacent characters.
git-svn-id: svn://localhost/gambas/trunk@7185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XmlWriter: Added a new Close() method to close the attached stream.
* BUG: Fixed CDATAs and PIs not correctly handling indentation.
* BUG: XmlWriter now correctly uses the newline separator of the stream
when indenting, instead of always using '\n'.
* OPT: XmlWriter now uses a string stream as internal buffer, when needed.
git-svn-id: svn://localhost/gambas/trunk@7183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adding some new classes, now I can begin the developement
of the screen part.
git-svn-id: svn://localhost/gambas/trunk@7182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Support for UTF-8 date and time separators, used by Chinese for
example.
git-svn-id: svn://localhost/gambas/trunk@7180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XmlWriter: Buffers are now correctly flushed when ending a document.
git-svn-id: svn://localhost/gambas/trunk@7179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: First commit, nothing usable for now, I just started to write the emulator,
which already represents a large number of lines of code, but the most complex work
was to understand how the entire virtual terminal. Thank you to all available sources,
Xterm, Rxvt, Konsole. I hope to arrive at the end to implement all the functions of VT102.
git-svn-id: svn://localhost/gambas/trunk@7178 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
* BUG: Finally fixed! LINE INPUT internal buffer is now correctly reset
when SEEK is used.
git-svn-id: svn://localhost/gambas/trunk@7176 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: Oops, forgot the TRY instruction when checking for a DBus
StatusNotifierHost.
git-svn-id: svn://localhost/gambas/trunk@7174 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: GB.GetReturnValue() is a new interpreter API that returns a pointer
to the internal GB_VALUE slot where GB.ReturnXXX() functions store the
return value.
* NEW: Allow a component to declare a GB_AFTER_INIT() exported method that
is called just after all the components declared in the project are
completely loaded.
[GB.DBUS]
* NEW: DBus._HasSystemTray() is a new method that returns if the DBus
system tray is present. That method is used by the 'gb.gui.trayicon'
component to know if 'gb.dbus.trayicon' must be loaded.
* BUG: Fix xml introspection analysis.
[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.
* BUG: TrayIcon icon data is sent correctly now.
[GB.GUI.TRAYICON]
* NEW: New component that you must check if you want to have system tray
icons. It loads 'gb.dbus', use DBus._HasSystemTray() to know if it can
load 'gb.dbus.trayicon'. Otherwise it tells the current GUI component to
declare the old system tray implementation classes.
[GB.GTK]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.GTK3]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.QT4]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.QT5]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
git-svn-id: svn://localhost/gambas/trunk@7170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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: The connection properties dialog now correctly uses the
provided password to list the available databases.
git-svn-id: svn://localhost/gambas/trunk@7165 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
* NEW: Object.Raise() is a new method that tells an object to raise one of
its events. You should have no use of that for real applications. :-)
git-svn-id: svn://localhost/gambas/trunk@7163 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: Fix an infinite loop when a signal is catched and the signal pipe
has been closed.
git-svn-id: svn://localhost/gambas/trunk@7148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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