* BUG: Fix some memory leaks when using DBusObject and DBusVariant in a
method call or a reply.
* BUG: The message observer of a DBusObject may disappear while processing
a message. Take that into account.
git-svn-id: svn://localhost/gambas/trunk@7352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.IsRegistered() is a new method that returns if a specific
DBusObject has been registered to a bus.
[GB.DBUS.TRAYICON]
* BUG: Correctly export menus that are not visible.
git-svn-id: svn://localhost/gambas/trunk@7295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Replace hyphens by dots in normalized interface names. But allow
them in application names (as well as underscores).
git-svn-id: svn://localhost/gambas/trunk@7289 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
* 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: 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: 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
* 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: 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
* NEW: Update versions in Gambas projects.
* BUG: Remove some '.gambas' directories that must not be under version
control.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update the offline help to the new wiki look.
* NEW: Rename the CRecentFile class as CRecentProject.
[WIKI CGI SCRIPT]
* NEW: Some little changes in the look.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
[GB.MARKDOWN]
* BUG: Remove the useless Markdown.Root property.
git-svn-id: svn://localhost/gambas/trunk@6638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
the source root directory.
git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update copyright year to 2013.
[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a
scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.
git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When installing the Gambas font, don't use the deprecated
'~/.fonts.conf' file anymore.
[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
balance.
[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
image brightness, contrast, hue, saturation... It actually returns a
virtual array of balance "channels", each one having a minimum value, a
maximum value, a current value and a name.
[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is
stored in the Request.Contents property.
git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the
welcome screen text.
[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version
instead of 'X.YY.ZZZZ', which is actually useless.
[GB.COMPRESS]
* BUG: Remove useless code never compiled.
[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.
[GB.GSL]
* BUG: Remove useless code never compiled.
[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
the same image several times trigger a GdkPixbuf -> Cairo surface
conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
value has really changed.
[GB.NET]
* BUG: Remove useless code never compiled.
[GB.NET.CURL]
* BUG: Remove useless code never compiled.
[GB.NET.SMTP]
* BUG: Remove useless code never compiled.
[GB.V4L]
* BUG: Remove useless code never compiled.
git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add the DBus error message to the Gambas error message when
registering or unregistering fails.
git-svn-id: svn://localhost/gambas/trunk@5180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Make one warning for each symbol kind that is overridden.
[GB.DB.FORM]
* BUG: Fix warnings.
[GB.DESKTOP]
* BUG: Fix some warnings.
[GB.EVAL.HIGHLIGHT]
* BUG: Correctly rewrite the following keywords with no spurious space
after: TRUE, FALSE, NULL, +INF, -INF.
[GB.FORM]
* BUG: Fix warnings.
[GB.FORM.MDI]
* BUG: Fix warnings.
[GB.WEB]
* BUG: Fix warnings.
git-svn-id: svn://localhost/gambas/trunk@5125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add support for double-linked lists in the interpreter API.
* NEW: GB.Wait() is a new API that waits for a specific number of
milliseconds, exactly like the WAIT instruction (i.e. the event loop is
run).
* NEW: GB.HasForked() is a new API that warns the interpreter that fork()
has been called (he has to do some stuff).
* NEW: Remove the GB_POST_FUNC datatype from the API.
[GB.DBUS]
* BUG: Fix some compilation warnings.
[GB.TASK]
* NEW: gb.task is a new component that allows to run background tasks by
"simply" forking the interpreter. Communication between the task and the
main process has not been implemented yet.
git-svn-id: svn://localhost/gambas/trunk@5076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Try to avoir Application.Busy flickering in some dialogs.
[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.
[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the
opacity of the drawing, between 0 and 1.
[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet
events.
[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
cached.
[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: During a mouse event, Mouse.ScreenX and Mouse.ScreenY returns the
global position stored in the received event. It does not query the X11
server.
[GB.DESKTOP]
* NEW: Support for the Mate desktop in Desktop.Open, Desktop.OpenTerminal
and Desktop.Passwords.
git-svn-id: svn://localhost/gambas/trunk@4895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all
Makefile.am files.
[GB.XML]
* BUG: Remove debugging flags from compilation flags.
git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The debug window has a button to switch between "normal view" and
"symbol view". In "normal view", array and collection contents are
displayed. If the object is not an array or a collection, then all
non-hidden symbols are displayed. In "symbol view", all objects symbols
are displayed, whatever the object type is.
[INTERPRETER]
* NEW: The debugger now can display collection-like objects. An object can
be displayed like a collection if it has a Count property, is enumerable,
has a _get special method taking a string, and has a Key property that
returns the key of the last enumerated element.
[GB.DEBUG]
* NEW: The debugger now can display collection-like objects. An object can
be displayed like a collection if it has a Count property, is enumerable,
has a _get special method taking a string, and has a Key property that
returns the key of the last enumerated element.
[GB.FORM]
* BUG: GridView.Clear resets the height of all rows to the default value.
git-svn-id: svn://localhost/gambas/trunk@4558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix DBusObserver matching rules handling.
[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from
being in the TAB key focus chain.
[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from
being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
memory when rarely used properties are not set.
git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Param array accessor, that returns a specific extra argument
from its index.
[GB.DBUS]
* BUG: Fix DBus method call when the method returns nothing. If there is an
error, it is correctly raised.
git-svn-id: svn://localhost/gambas/trunk@4413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rename StretchMode property as just Stretch.
* NEW: Move the Stretch property constant to the Report class.
[EXAMPLES]
* BUG: Fix the main dialog layout.
git-svn-id: svn://localhost/gambas/trunk@4377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the "get version from file" option everywhere.
[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
as soon as the program is compiled.
[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.
git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little look changes based on TabPanel.
[GB.DBUS]
* BUG: Do not use ffprinf(), it is useless.
[GB.FORM]
* BUG: Fix borderless TabPanel.
* NEW: TabPanel tabs now have a Visible property.
* BUG: The SidePanel separator is now visible in all orientations.
[GB.FORM.DIALOG]
* BUG: Dialog.OpenFile() does not return anymore when no file is selected.
[GB.QT4]
* BUG: Separator now really uses the Color.LightBackground color.
git-svn-id: svn://localhost/gambas/trunk@4338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use space instead of slash as separator inside ReportBorder property
values.
* NEW: Handle synchronize button for round corners in the ReportBorder
chooser dialog.
* BUG: Fix the round rectangle drawing function.
[GB.REPORT]
* NEW: Use space instead of slash as separator inside ReportBorder property
values.
* BUG: Fix the round rectangle drawing function.
git-svn-id: svn://localhost/gambas/trunk@4324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DbusConnection.Register third argument now can take a list of
interfaces. A method or a property will be associated with one of these
interfaces only if its name begin with the interface name (points being
replaced by underscores).
git-svn-id: svn://localhost/gambas/trunk@4323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to
page" mode.
git-svn-id: svn://localhost/gambas/trunk@4314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBusConnection.Register() takes a new optional argument to specify
the interface implemented by the object. By default, the interface is
"org.gambas.<appname>.<classname>".
git-svn-id: svn://localhost/gambas/trunk@4312 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix object registering and unregistering, so that the program quits
normally when the last object is unregistered.
git-svn-id: svn://localhost/gambas/trunk@4302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.Name is a new property that allows to define the name used for
registering the application on the bus. You must define this property
before registering any object.
git-svn-id: svn://localhost/gambas/trunk@4292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix management of forms that are multicontainers, like Report.
* BUG: Convert Draw.BackColor and Draw.ForeColor from Gambas 2 to Gambas 3.
git-svn-id: svn://localhost/gambas/trunk@4287 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix automatic completion of classes symbols when a method having the
same name is defined.
* BUG: Fix search with patterns including a column character.
git-svn-id: svn://localhost/gambas/trunk@4251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned
value is a Variant, as now the interpreter does not do the conversion
automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
everywhere it is needed.
git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBusSignal has now a new Enabled property to active or deactivate
the signal watch.
* BUG: Creating a DBusSignal or a DBusObserver now automatically enables
the DBus watch. DBus watch is automatically disabled when there is no
enabled DBusSignal or DBusObserver anymore, and when there is no Gambas
object registered on the bus anymore.
* NEW: DBusConnection.Tag is a new property.
git-svn-id: svn://localhost/gambas/trunk@4243 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix binary file detection.
* BUG: Fix control icon installation in components installed through an
autotools package.
[GB.DBUS]
* BUG: Fix signal catching managemnt.
* NEW: DBusSignal constructor takes a new optional argument that allows to
catch signals sent to any application.
[GB.GTK]
* BUG: Fix Key.BackTab constant.
git-svn-id: svn://localhost/gambas/trunk@4242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.
[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.
[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.
[GB.DB.NET]
* BUG: Fix ignored system call return values.
[GB.V4L]
* BUG: Remove some unused local variables.
git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatic completion now displays hidden symbols if the class is
part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
anymore.
[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
easily extract the property name of the parent class from the virtual
class name. For example, ".ApplicationArgs" is now ".Application.Args".
git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new OpenGL constants names in OpenGL examples.
* NEW: Add the forgotten TunnelSDL example.
[GB.FORM]
* NEW: IconPanel takes the mouse wheel into account now.
git-svn-id: svn://localhost/gambas/trunk@3990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove the unused GB.ExistFile() API.
* NEW: Exist() now takes an additional optional boolean argument that tells
if symbolic links must be followed, like Stat().
* BUG: Fix a possible memory leak if the [...] array creation operator
fails for any reason.
git-svn-id: svn://localhost/gambas/trunk@3940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Handle the "_property" special method in automatic completion.
[INTERPRETER]
* BUG: [...] now correctly returns a boolean array when its arguments are
all booleans.
[GB.DBUS]
* BUG: Fix a memory leak when sending a DBusVariant object.
git-svn-id: svn://localhost/gambas/trunk@3939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a DBusConnection.Unregister method to unregister a Gambas object
from the bus. When all objects are unregistered, the application can
quit.
git-svn-id: svn://localhost/gambas/trunk@3938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the new special method _property to implement DBus properties.
* BUG: Settings a DBus property does not freeze anymore. But there is
memory leak yet.
git-svn-id: svn://localhost/gambas/trunk@3937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components
accordingly.
git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.Debug is a new boolean static property. Warning about unhandled
D-Bus messages are printed only if that property is TRUE.
git-svn-id: svn://localhost/gambas/trunk@3624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Many clean-ups in the MDI management.
[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now
correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children
controls anymore.
[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.
[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.
git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Interpreter API for enumerating collections is now reentrant.
[GB.DBUS]
* NEW: Use the new collection enumerator function.
git-svn-id: svn://localhost/gambas/trunk@3255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the help browser for classes whose name begins with an
underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing
classes.
[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.
[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the file.
[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the expression.
[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.
[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.
git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.
git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DateChooser use Sunday as first day of the week when the current
language is 'C' or 'en_US'.
git-svn-id: svn://localhost/gambas/trunk@3140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Output signatures are more readable now.
* BUG: Objects on system bus are correctly browsed now.
git-svn-id: svn://localhost/gambas/trunk@3136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when closing the procedure list with F6.
[EXAMPLES]
* BUG: Fix the display of method signatures in the DBusExplorer example.
[GB.WEB]
* NEW: Disable HTTP compression if 'gzip' is not installed.
git-svn-id: svn://localhost/gambas/trunk@3134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not crash anymore when a native function returns one of its
argument.
* NEW: New interpreter API to enumerate a collection.
[GB.DBUS]
* NEW: Collection are fully supported now.
* NEW: The org.freedesktop.DBus.properties.GetAll() method has been
implemented.
* BUG: Correctly raise an error when calling a D-Bus method fails.
* BUG: Correctly release strings returned by D-Bus functions that must be
released.
git-svn-id: svn://localhost/gambas/trunk@3058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.
[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog
is displayed.
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Calling DBus methods with no arguments works correctly again.
git-svn-id: svn://localhost/gambas/trunk@3049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Signal event of the DBusSignal class now provides both the
signal name and the signal arguments.
git-svn-id: svn://localhost/gambas/trunk@3048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix class header parsing in automatic completion.
[INTERPRETER]
* BUG: Class[].Signature has been implemented.
* BUG: Fix native method calling when some arguments must be converted.
* NEW: Two new interpreter APIs, GB.BorrowValue() and GB.ReleaseValue(), to
correctly manage values returned by GB.ReadValue().
[GB.DBUS]
* NEW: Support for exporting properties and methods. The GetAll() DBus
method has not been implemented yet, because marshalling Collection is
not supported yet. Sending signals is not supported yet too.
* NEW: The previous DBusObject class has been renamed as DBusProxy.
* NEW: A new DBusObject class. Each Gambas object that inherits DBusObject
is automatically exported through DBus.
* NEW: DBusSignal is a new class to catch DBus signals by giving its
interface name.
git-svn-id: svn://localhost/gambas/trunk@3047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a summary of warning messages after each component
compilation.
[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an
internal closure is created with the libffi library. The pointer then can
be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.
[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.
[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.
[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.
[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.
[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.
[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
[GB.SDL.SOUND]
* BUG: The component now works correctly with gb.qt4.
[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component
requirements.
[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas
version string, with major and minor numbers.
git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version
control if the project parent directory is already under version control.
[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
display the text extents accurately.
[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.
[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.
[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.
[GB.NET]
* NEW: UpdSocket has now a Timeout property.
[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when
they have a border.
git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add --install glag to autoreconf, that fix creation of config files,
also add build-dist script to create a lighter tar.bz2 archive of the
repository.
git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In the "Requires" tab of the project property dialog, requirements
are not incorrectly converted to lower case anymore.
[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing
symbols having non-ASCII characters.
[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox
text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.
[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.
git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now the popup help is a popup top window. The help is showed
when you are staying on a word more than one second with the mouse.
[GB.QT4.EXT]
* NEW: The function PosToCol of the editor now return false if the mouse
is not on the text.
git-svn-id: svn://localhost/gambas/trunk@2252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.
[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.
[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.
git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Try to lower the number of lines displayed in the GUI by removing
borders and using Separators instead.
* BUG: F11 should work correctly just after the IDE has been loaded now.
[EXAMPLES]
* NEW: In the PdfViewer example, zooming with the mouse wheel is now
smooth.
[GB.FORM.MDI]
* NEW: Remove one pixel padding in Workspace and Toolbar.
[GB.IMAGE]
* NEW: Color.Mix has been replaced by Color.Merge.
[GB.QT4]
* NEW: Remove useless Color methods and properties that are now defined in
the gb.image component.
[GB.QT4.EXT]
* NEW: Editor has a new boolean property Border.
git-svn-id: svn://localhost/gambas/trunk@2227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DBus.Session returns the session bus DBusConnection object.
* NEW: DBus.System returns the system bus DBusConnection object.
* NEW: DBusConnection has a new Applications property that returns the list
of applications that have registered to itself.
* NEW: DBusObject has new Children property that returns the list of its
children relative paths.
git-svn-id: svn://localhost/gambas/trunk@2225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the "DBus class declared twice" error. The DBus class in the C
part has been renamed "_DBus" so that it does not conflict anymore with
the DBus class declared in the gambas part.
git-svn-id: svn://localhost/gambas/trunk@2223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to
the child shell.
[INTERPRETER]
* BUG: Remove some warning messages.
[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.
git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The _unknown() method is now correctly called when reading *and*
writing unknown properties. _unknown() is called with no arguments when
reading the property, and with one argument (the new property value) when
writing it.
* BUG: Classes declared in the Gambas part of a component now should
correctly override classes declared in the C/C++ part.
[GB.DBUS]
* NEW: Hide native methods of the DBus class.
* NEW: The syntax for calling a method is:
DBus[<Application>][<Object>,<Interface>].<Method>(<Arguments>)
<Application> can be prefixed by "system://" to access the system bus.
* NEW: Properties are readable and writable with this syntax:
DBus[<Application>][<Object>,<Interface>].<Property>
* NEW: DBusVariant is a new class that allows to send a Variant to a DBus
method by specifying is DBus type. Otherwise, when using Variant
directly, the associated DBus type is guessed automatically, which may
not be accurate is some cases.
git-svn-id: svn://localhost/gambas/trunk@2218 867c0c6c-44f3-4631-809d-bfa615b0a4ec