Commit graph

153 commits

Author SHA1 Message Date
Benoît Minisini
0feacc4358 [GB.DBUS]
* 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
2015-09-27 02:39:16 +00:00
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
Benoît Minisini
6202653e2d [GB.DBUS]
* BUG: Fix the DBusConnection.Applications property.


git-svn-id: svn://localhost/gambas/trunk@4249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 19:42:52 +00:00
Benoît Minisini
296ae062ba [INTERPRETER]
* 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
2011-11-14 01:06:51 +00:00
Benoît Minisini
72156aa7f7 [GB.GTK]
* BUG: Fix Embedder control description.

[GB.QT4]
* BUG: Fix Embedder control description.


git-svn-id: svn://localhost/gambas/trunk@4244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 20:29:42 +00:00
Benoît Minisini
100a97421b [GB.DBUS]
* 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
2011-11-13 17:58:33 +00:00
Benoît Minisini
259a2f8906 [DEVELOPMENT ENVIRONMENT]
* 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
2011-11-13 16:21:45 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* 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
2011-09-07 19:43:11 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* 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
2011-08-21 21:46:20 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
5bf9fd613d [EXAMPLES]
* 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
2011-08-07 19:58:47 +00:00
Benoît Minisini
d0b8c37638 [INTERPRETER]
* 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
2011-07-17 10:57:55 +00:00
Benoît Minisini
f2208643c2 [DEVELOPMENT ENVIRONMENT]
* 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
2011-07-16 15:41:51 +00:00
Benoît Minisini
8f0fa5d187 [GB.DBUS]
* 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
2011-07-15 22:26:05 +00:00
Benoît Minisini
9fca5596dc [GB.DBUS]
* 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
2011-07-15 00:52:29 +00:00
Benoît Minisini
13c1dcce83 [INTERPRETER]
* NEW: Remove the GB.IsProperty() API, that is useless now.


git-svn-id: svn://localhost/gambas/trunk@3916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 17:29:00 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
5e91ded94f [INTERPRETER]
* 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
2011-05-16 02:16:22 +00:00
Benoît Minisini
b936c83f0d [CONFIGURATION]
* NEW: Update copyright strings.

[DEVELOPMENT ENVIRONMENT]
* NEW: Display menu shortcuts inside the form editor.


git-svn-id: svn://localhost/gambas/trunk@3670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-21 00:04:10 +00:00
Benoît Minisini
3c1b87fab0 [GB.DBUS]
* 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
2011-02-27 01:06:36 +00:00
Benoît Minisini
5ecb5203d1 [GB.FORM.MDI]
* 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
2010-11-07 11:41:59 +00:00
Benoît Minisini
68ede3cb8b [INTERPRETER]
* 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
2010-10-06 12:03:27 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* 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
2010-09-04 13:21:11 +00:00
Benoît Minisini
cfaeb4fc90 [GB.FORM]
* 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
2010-08-27 13:50:53 +00:00
Benoît Minisini
27ce882d1e [GB.FORM]
* 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
2010-08-26 15:51:25 +00:00
Benoît Minisini
93faf536ae [GB.DBUS]
* BUG: Handle NULL as method argument without crashing.


git-svn-id: svn://localhost/gambas/trunk@3138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-26 12:09:16 +00:00
Benoît Minisini
377a146a9a [EXAMPLES]
* 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
2010-08-25 22:26:47 +00:00
Benoît Minisini
e389bcfa9a [DEVELOPMENT ENVIRONMENT]
* 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
2010-08-25 20:56:29 +00:00
Benoît Minisini
90bdc49fa2 [GB.DBUS]
* BUG: As usual, forgot to add two new source files.


git-svn-id: svn://localhost/gambas/trunk@3060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-21 09:09:40 +00:00
Benoît Minisini
7f88b776ab [INTERPRETER]
* 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
2010-07-21 04:40:45 +00:00
Benoît Minisini
5826fdcf8c [DEVELOPMENT ENVIRONMENT]
* 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
2010-07-20 15:50:17 +00:00
Benoît Minisini
e8600ab89c [GB.DBUS]
* BUG: Calling DBus methods with no arguments works correctly again.


git-svn-id: svn://localhost/gambas/trunk@3049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-19 19:54:43 +00:00
Benoît Minisini
36a562fa2e [GB.DBUS]
* 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
2010-07-19 13:35:32 +00:00
Benoît Minisini
e509aab05f [DEVELOPMENT ENVIRONMENT]
* 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
2010-07-19 12:33:57 +00:00
Benoît Minisini
bc35f266db [CONFIGURATION]
* NEW: Remove the ./reconf-all link.

[GB.DBUS]
* NEW: Start to handle incoming DBus message (methods calls, signals...).


git-svn-id: svn://localhost/gambas/trunk@3042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-16 01:17:49 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* 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
2010-07-14 01:50:18 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* 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
2010-04-20 01:21:07 +00:00
Benoît Minisini
7790bd8e1e [CONFIGURATION]
* 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
2010-03-10 00:14:54 +00:00
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* 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
2010-01-10 13:40:48 +00:00
Benoît Minisini
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* 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
2010-01-03 17:09:57 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* 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
2009-12-26 21:30:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* 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
2009-09-05 20:54:36 +00:00
Fabien Bodard
845049b682 [GB.DBUS]
* BUG: Oups


git-svn-id: svn://localhost/gambas/trunk@2253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 16:39:08 +00:00
Fabien Bodard
911e1d6e8e [DEVELOPMENT ENVIRONMENT]
* 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
2009-08-21 16:35:28 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* 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
2009-08-16 22:07:48 +00:00
Benoît Minisini
9761b82d7b [DEVELOPMENT ENVIRONMENT]
* 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
2009-08-08 23:01:59 +00:00
Benoît Minisini
5cbca23c23 [GB.DBUS]
* 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
2009-08-08 22:06:17 +00:00
Benoît Minisini
0082ebc8db [GB.DBUS]
* 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
2009-08-07 18:14:26 +00:00
Benoît Minisini
80a20e2336 [EXAMPLES]
* 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
2009-08-06 00:34:49 +00:00
Benoît Minisini
caa1b5aac6 [INTERPRETER]
* 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
2009-08-05 16:14:08 +00:00