Commit graph

144 commits

Author SHA1 Message Date
Benoît Minisini
3eee5a24a2 DBusProxy: Take annotations into account when generating signature.
[GB.DBUS]
* BUG: DBusProxy: Take annotations into account when generating signature.
2022-12-01 23:14:01 +01:00
Benoît Minisini
1b8f6af7b3 DBusProxy: Really fix symbol signature generation.
[GB.DBUS]
* BUG: DBusProxy: Really fix symbol signature generation.
2022-12-01 15:24:13 +01:00
Benoît Minisini
cbe2bc2b95 DBusProxy: Fix symbol signature generation again.
[GB.DBUS]
* BUG: DBusProxy: Fix symbol signature generation again.
2022-11-30 22:24:49 +01:00
Benoît Minisini
46426fc5e9 DBusProxy: Fix symbol signature generation.
[GB.DBUS]
* BUG: DBusProxy: Fix symbol signature generation.
2022-11-30 21:53:20 +01:00
Benoît Minisini
a261a0a53e Enhance conversion from DBus datatype to Gambas datatype.
[GB.DBUS]
* NEW: Enhance conversion from DBus datatype to Gambas datatype.
2022-11-27 09:07:32 +01:00
Benoît Minisini
052bb76117 Fix DBusProxy._GetSignature() when generating Gambas syntax.
[GB.DBUS]
* BUG: Fix DBusProxy._GetSignature() when generating Gambas syntax.
2022-11-27 00:24:20 +01:00
Benoît Minisini
6e0b32d737 DBusProxy._GetSignature() is made public for getting the signature of a DBus method, property or signal, both in native or Gambas syntax.
[GB.DBUS]
* NEW: DBusProxy._GetSignature() is made public for getting the signature of a DBus method, property or signal, both in native or Gambas syntax.
2022-11-26 23:35:34 +01:00
Benoît Minisini
76334ee192 DBusProxy._GetSymbols() is a new undocumented method for decoding introspection.
[GB.DBUS]
* NEW: DBusProxy._GetSymbols() is a new undocumented method for decoding introspection.
* NEW: DBusConnection[Application] now returns the DBusApplication object registered on the specific bus.
2022-11-26 19:27:03 +01:00
Benoît Minisini
6a793ddeb7 Replace my old depracted gmail mail by the new one.
[CONFIGURATION]
* NEW: Replace my old depracted gmail mail by the new one.
2022-09-12 15:13:13 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
2789fbc305 Update project configuration files.
[CONFIGURATION]
* NEW: Update project configuration files.
2022-07-23 15:47:38 +02:00
gambas
c7c8774f5b Handle 'a{o...}' and 'a{g...}' D-Bus signatures by using Collections.
[GB.DBUS]
* NEW: Handle 'a{o...}' and 'a{g...}' D-Bus signatures by using Collections.
2022-01-17 01:02:50 +01:00
gambas
683465e7a8 Connections to the D-Bus buses are correctly freed when the program ends.
[GB.DBUS]
* BUG: Connections to the D-Bus buses are correctly freed when the program ends.
2022-01-15 23:33:02 +01:00
gambas
8d1d8bdf53 DBusConnection: Open() and Close() now allow to explicitly register to a bus.
[GB.DBUS]
* NEW: DBusConnection: Open() is a new method that allows to explicitly register to a bus.
* NEW: DBusConnection: Close() is a new method that allows to explicitly unregister from a bus.
2021-08-30 00:08:59 +02:00
gambas
380d5a0f0e Move some source files.
[GB.DBUS]
* NEW: Move some source files.
2021-04-03 13:10:21 +02:00
gambas
48f84df846 DBusConnection: Validate the path sent to the _Introspect() method, to replace a crash by an error or a void result.
[GB.DBUS]
* BUG: DBusConnection: Validate the path sent to the _Introspect() method, to replace a crash by an error or a void result.
2020-11-24 21:47:29 +01:00
gambas
3b8166343f Update project version. 2020-06-29 20:25:11 +02:00
gambas
f34989d4be Always specify the direction of input method arguments in introspection, otherwise the 'qdbusviewer' tool does not work.
[GB.DBUS]
* BUG: Always specify the direction of input method arguments in introspection, otherwise the 'qdbusviewer' tool does not work.
2019-09-12 03:40:44 +02:00
gambas
46f21a7f7b Strip png files with ImageMagick convert command. 2018-09-19 20:53:00 +02:00
gambas
dde015e828 Update some project and component configuration files. 2018-09-01 12:17:56 +02:00
gambas
cc1879b3cc Fix the DbusProxy._Invoke() hidden method so that it can be called directly
[GB.DBUS]
* BUG: Fix the DbusProxy._Invoke() hidden method so that it can be called directly. This is useful if there are property or method names that are case-ambiguous.
2018-03-22 02:14:19 +01:00
gambas
14be5945df Update control icons in many places. 2018-03-16 23:46:35 +01:00
gambas
900fee66d5 Update many project configuration files. 2018-03-16 14:13:21 +01:00
gambas
be3375e0d2 Fix property retrieving implementation
[GB.DBUS]
* BUG: Fix property retrieving implementation.
2018-03-10 15:54:56 +01:00
gambas
09a0573e61 Replace my old sourceforge mail address by the new one.
[CONFIGURATION]
Replace my old sourceforge mail address by the new one.
2018-02-12 02:53:46 +01:00
gambas
4d9579f217 Correctly initialize DBus connection slot for managing DBus signals.
[GB.DBUS]
* BUG: Correctly initialize DBus connection slot for managing DBus signals.
2017-08-30 21:55:53 +02:00
gambas
a2183117ff DBus signals now work correctly on different buses simultaneously.
[GB.DBUS]
* BUG: Use one watcher by bus, not one for all buses.
2017-08-30 00:52:52 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
986e7eeb85 [INTERPRETER]
* NEW: Add an API that allows to create an array class before instanciating it.

[GB.DBUS]
* BUG: When marshalling from DBus to Gambas, create the array classes before instanciating them.


git-svn-id: svn://localhost/gambas/trunk@8173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-08-07 13:51:33 +00:00
Benoît Minisini
c096cae757 [GB.DBUS]
* BUG: Calling a method or a property that returns a string does not corrupt memory anymore.


git-svn-id: svn://localhost/gambas/trunk@8098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 15:13:37 +00:00
Benoît Minisini
9848a8a6f5 [GB.DBUS]
* BUG: DBus structures are now unmarshalled to accurate Gambas arrays.


git-svn-id: svn://localhost/gambas/trunk@8093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 01:57:27 +00:00
Benoît Minisini
1bfc8104a9 [GB.DBUS]
* BUG: Instrospection now correctly declares properties or methods that return a class inheriting DBusVariant.

git-svn-id: svn://localhost/gambas/trunk@8081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-02 10:44:00 +00:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
5e61c2e436 [GB.DBUS]
* BUG: Fix string leak in signature marshalling routine.


git-svn-id: svn://localhost/gambas/trunk@8001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-27 21:36:01 +00:00
Benoît Minisini
29cedfdc93 [GB.DBUS]
* BUG: DBusObject.Raise() now uses the default object interface if no interface is specified in the event name.

git-svn-id: svn://localhost/gambas/trunk@7984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-18 17:13:07 +00:00
Benoît Minisini
724270e57b [GB.DBUS]
* BUG: Add debugging message to the GetAll() DBus method implementation.

git-svn-id: svn://localhost/gambas/trunk@7943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-29 22:43:30 +00:00
Benoît Minisini
2ed98a33d1 [GB.DBUS]
* BUG: Don't insert process id into object interface names.


git-svn-id: svn://localhost/gambas/trunk@7883 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-31 19:59:22 +00:00
Benoît Minisini
56b724d64c [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Creation of debian/ubuntu packages of projects having no icon does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7880 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-30 22:27:34 +00:00
Benoît Minisini
9b13b69fda [GB.DBUS]
* NEW: The application now registers to the DBus bus with its process id added to its name.
* NEW: DBus.Unique is a new property that sets if the application should be unique on the DBus bus. If set, then the process id is not added to the name when registering.
* BUG: If DBus.Unique is set, then registering the application a second time raises an error.


git-svn-id: svn://localhost/gambas/trunk@7779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-05-14 15:59:31 +00:00
Benoît Minisini
052eb75eee [GB.DBUS]
* BUG: Fix memory leak in array marshalling.

[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.


git-svn-id: svn://localhost/gambas/trunk@7747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-15 22:33:03 +00:00
Benoît Minisini
95cbf332c6 [GB.DBUS]
* BUG: Correctly marshall arrays of classes (for example, String[][]).


git-svn-id: svn://localhost/gambas/trunk@7745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-04-15 13:58:50 +00:00
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