Commit graph

153 commits

Author SHA1 Message Date
Benoît Minisini
2965dc0886 DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path.
[GB.DBUS]
* BUG: DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path.
2023-07-02 23:58:21 +02:00
Benoît Minisini
b7b129290c DBusConnection: Add a 'Start()' method that starts a DBus service by name, and waits until it is available.
[GB.DBUS]
* NEW: DBusConnection: Add a 'Start()' method that starts a DBus service by name, and waits until it is available.
* BUG: DBusConnection: 'Exist()' acts on the current bus as expected.
2023-05-26 21:48:23 +02:00
Benoît Minisini
8d6ccc40cf Support for file descriptor 'h' DBus datatype.
[GB.DBUS]
* NEW: Support for file descriptor 'h' DBus datatype.
2023-05-12 13:32:12 +02:00
Benoît Minisini
866b887db7 DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
[GB.DBUS]
* NEW: DBusFile is a new class that implements the 'h' DBus datatype that encapsulates a file descriptor.
2023-05-12 13:31:56 +02:00
Benoît Minisini
0ed5403c0e DBusSession: Exist() is a new method that returns if a specific name is available on the bus.
[GB.DBUS]
* NEW: DBusSession: Exist() is a new method that returns if a specific name is available on the bus.
2023-05-12 11:17:37 +02:00
Benoît Minisini
9cd5a1d491 Correctly manage DBus names being case sensitive whereas Gambas symbols are not.
[GB.DBUS]
* BUG: DBusProxy: Correctly manage DBus names being case sensitive whereas Gambas symbols are not.
* NEW: DBusSignal: The constructor takes more optional arguments. Backward-compatibility is ensured.
2023-05-08 21:00:21 +02:00
Benoît Minisini
42f9525c45 DBusObject now implements the 'GetMachineId()' DBus method.
[GB.DBUS]
* NEW: 'DBus.MachineId' is a new property that returns the DBus machine identifier.
* BUG: DBusObject now implements the 'GetMachineId()' DBus method.
2023-03-04 17:28:28 +01:00
Benoît Minisini
ee5bc531ea Fix a possible memory leak in DBus introspection.
[GB.DBUS]
* BUG: Fix a possible memory leak in DBus introspection.
2023-02-23 10:34:02 +01:00
Benoît Minisini
38c5c3b32a Update project icon.
[GB.DBUS]
* NEW: Update project icon.
* NEW: Update documentation.
2023-01-14 19:04:50 +01:00
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