Commit graph

102 commits

Author SHA1 Message Date
Benoît Minisini
d8527fbfbf [GB.DBUS]
* 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
2015-09-10 21:38:52 +00:00
Benoît Minisini
419a887d09 [GB.DBUS]
* BUG: Replace hyphens by dots in the entire interface names.


git-svn-id: svn://localhost/gambas/trunk@7293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-09-08 23:00:43 +00:00
Benoît Minisini
211054e73f [GB.DBUS]
* 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
2015-09-08 01:50:05 +00:00
Benoît Minisini
0649088547 [GB.QT5.OPENGL]
* BUG: Fix Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@7199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-31 23:34:00 +00:00
Benoît Minisini
e18fa97821 [GB.DBUS]
* 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
2015-07-05 20:56:03 +00:00
Benoît Minisini
417bfb8685 [INTERPRETER]
* 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
2015-07-03 22:18:58 +00:00
Benoît Minisini
47fd153ba0 [GB.DBUS]
* 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
2015-07-02 22:26:05 +00:00
Benoît Minisini
7403b03a0b [GB.DBUS]
* 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
2015-07-02 21:20:08 +00:00
Benoît Minisini
005c733d8d [INTERPRETER]
* 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
2015-07-02 14:26:10 +00:00
Benoît Minisini
5203e45ff0 [GB.DBUS]
* 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
2015-07-01 01:28:52 +00:00
Benoît Minisini
a4f196f644 [GB.DBUS]
* 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
2015-07-01 01:01:04 +00:00
Benoît Minisini
930c7549d1 [INTERPRETER]
* 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
2015-06-29 01:46:51 +00:00
Benoît Minisini
6683d62420 [GB.DBUS]
* 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
2015-06-28 01:23:57 +00:00
Benoît Minisini
cbfcaa569c [GB.DBUS]
* 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
2015-06-28 00:49:04 +00:00
Benoît Minisini
29fe0bc6a6 [INTERPRETER]
* 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
2015-06-27 21:26:32 +00:00
Benoît Minisini
f2f3401926 [DEVELOPMENT ENVIRONMENT]
* 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
2015-06-25 23:09:39 +00:00
Benoît Minisini
4c38879e22 [DEVELOPMENT ENVIRONMENT]
* 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
2015-05-27 01:00:39 +00:00
Benoît Minisini
b887ad9b70 [CONFIGURATION]
* 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
2014-11-11 15:36:40 +00:00
Benoît Minisini
bd693ee0da [CONFIGURATION]
* NEW: Update version in project files.


git-svn-id: svn://localhost/gambas/trunk@6546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:52:12 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* 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
2014-04-05 21:22:43 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* 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
2013-08-03 15:38:01 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* 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
2013-06-29 12:42:52 +00:00
Benoît Minisini
13dd04d5a4 [DEVELOPMENT ENVIRONMENT]
* 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
2013-01-03 22:06:35 +00:00
Benoît Minisini
13b86f2e7e [GB.DBUS]
* BUG: Remove a file that should not be under version control.


git-svn-id: svn://localhost/gambas/trunk@5185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 21:58:20 +00:00
Benoît Minisini
d76f3be8f5 [GB.DBUS]
* 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
2012-09-21 08:21:27 +00:00
Benoît Minisini
28c9d6d59b [COMPILER]
* 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
2012-09-04 23:11:11 +00:00
Benoît Minisini
b8f6e09b8b [INTERPRETER]
* 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
2012-08-24 22:29:53 +00:00
Benoît Minisini
52b3040e07 [DEVELOPMENT ENVIRONMENT]
* 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
2012-08-19 13:01:57 +00:00
Benoît Minisini
069b5f8707 [GB.QT4]
* 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
2012-07-04 19:11:57 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* 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
2012-05-04 16:45:14 +00:00
Benoît Minisini
91556cac06 [DEVELOPMENT ENVIRONMENT]
* 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
2012-03-17 02:05:31 +00:00
Benoît Minisini
834ca97b78 [GB.DBUS]
* 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
2012-02-19 21:13:50 +00:00
Benoît Minisini
62c2a02cb6 [GB.DBUS]
* BUG: Fix memory leaks in DBus error management.


git-svn-id: svn://localhost/gambas/trunk@4414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-21 20:10:45 +00:00
Benoît Minisini
34f24c3991 [INTERPRETER]
* 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
2012-01-21 03:19:38 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
a84527352f [GB.REPORT]
* 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
2011-12-31 00:00:48 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* 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
2011-12-28 18:56:41 +00:00
Benoît Minisini
5e93a00359 [DEVELOPMENT ENVIRONMENT]
* 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
2011-12-26 22:52:25 +00:00
Benoît Minisini
32fb67e8e2 [DEVELOPMENT ENVIRONMENT]
* 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
2011-12-23 22:09:45 +00:00
Benoît Minisini
5076ca88cb [GB.DBUS]
* 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
2011-12-23 19:51:25 +00:00
Benoît Minisini
9b1f2cce98 [GB.REPORT]
* 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
2011-12-22 14:05:50 +00:00
Benoît Minisini
87b2671b95 [GB.DBUS]
* 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
2011-12-22 01:01:34 +00:00
Benoît Minisini
18bd6a6867 [GB.DBUS]
* BUG: Keep the case of the default DBus application name too.


git-svn-id: svn://localhost/gambas/trunk@4311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 00:41:26 +00:00
Benoît Minisini
ff109dba93 [GB.DBUS]
* BUG: Keep the case of the DBus application name.


git-svn-id: svn://localhost/gambas/trunk@4310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-22 00:37:06 +00:00
Benoît Minisini
c922ee7cd3 [GB.DBUS]
* 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
2011-12-21 01:37:09 +00:00
Benoît Minisini
61063f37dc [GB.DBUS]
* BUG: Fix application name registering.


git-svn-id: svn://localhost/gambas/trunk@4296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 18:31:30 +00:00
Benoît Minisini
dd53f62f23 [GB.DBUS]
* 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
2011-12-19 00:44:53 +00:00
Benoît Minisini
59e1c9cee0 [DEVELOPMENT ENVIRONMENT]
* 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
2011-12-18 21:00:01 +00:00
Benoît Minisini
52cce8cd10 [DEVELOPMENT ENVIRONMENT]
* 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
2011-11-20 10:23:56 +00:00