dbus-ada.git
4 weeks agoRemove reference to stdarg_h from thin binding master
Nicolas Boulenguez [Tue, 11 Sep 2018 14:59:15 +0000 (16:59 +0200)]
Remove reference to stdarg_h from thin binding

Some functions are generated on some architectures, that require the
non-existent stdarg.h, and are not used by dbusada. Simply remove them
when they are generated.

This was included in the first commit introducing the generator script
(7c218ad), but removed by error by the commit switching from g++-7 to
g++-8 (b1311d7).

5 weeks agoSet version to 0.4.2 v0.4.2
Reto Buerki [Tue, 4 Sep 2018 11:12:40 +0000 (13:12 +0200)]
Set version to 0.4.2

5 weeks agoRefresh the binding source for g++-8
Nicolas Boulenguez [Mon, 3 Sep 2018 19:05:24 +0000 (21:05 +0200)]
Refresh the binding source for g++-8

5 weeks agoRegenerate thin binding with Debian g++ 8.2.0-4
Reto Buerki [Mon, 3 Sep 2018 18:52:36 +0000 (20:52 +0200)]
Regenerate thin binding with Debian g++ 8.2.0-4

Use the generate-thin-binding.sh script to regenerate the thin binding
using g++ version (Debian 8.2.0-4) 8.2.0.

5 weeks agoAdjust generate-thin-binding.sh for g++-8
Reto Buerki [Mon, 3 Sep 2018 18:42:42 +0000 (20:42 +0200)]
Adjust generate-thin-binding.sh for g++-8

6 weeks agoRemove -gnat05 compiler flag and Ada_2005 pragmas
Adrian-Ken Rueegsegger [Fri, 10 Aug 2018 12:15:27 +0000 (14:15 +0200)]
Remove -gnat05 compiler flag and Ada_2005 pragmas

GNAT Community Edition 2018 does not recognize these any longer.

6 weeks agoSwitch codelabs URLs to HTTPS
Reto Buerki [Mon, 3 Sep 2018 18:37:21 +0000 (20:37 +0200)]
Switch codelabs URLs to HTTPS

6 weeks agoDocument the way the thin binding has been generated
Nicolas Boulenguez [Tue, 24 Jul 2018 12:20:21 +0000 (14:20 +0200)]
Document the way the thin binding has been generated

This will hopefully help users to rebuild, then the maintainers to
merge their changes back.

2 months agoSet version to 0.4.1 v0.4.1
Reto Buerki [Thu, 9 Aug 2018 08:18:40 +0000 (10:18 +0200)]
Set version to 0.4.1

2 months agoUse Leading_Library_Options for LDFLAGS
Reto Buerki [Thu, 9 Aug 2018 09:46:03 +0000 (11:46 +0200)]
Use Leading_Library_Options for LDFLAGS

2 months agoSwitch from gnatmake to gprbuild
Reto Buerki [Thu, 9 Aug 2018 08:12:39 +0000 (10:12 +0200)]
Switch from gnatmake to gprbuild

2 months agoInstall libraries with write permissions for user
Nicolas Boulenguez [Tue, 24 Jul 2018 12:20:21 +0000 (14:20 +0200)]
Install libraries with write permissions for user

The installer is supposed to be root, there is no point in forbidding
write. This also disrupts the Debian build process.

2 months agoClarify passing of build flags
Nicolas Boulenguez [Tue, 24 Jul 2018 12:20:21 +0000 (14:20 +0200)]
Clarify passing of build flags

2 months agoUpdate copyright information in README
Reto Buerki [Wed, 8 Aug 2018 10:15:17 +0000 (12:15 +0200)]
Update copyright information in README

2 months agoDrop unused use type clauses
Adrian-Ken Rueegsegger [Fri, 6 Oct 2017 13:21:53 +0000 (15:21 +0200)]
Drop unused use type clauses

14 months agoSet version to 0.4 v0.4.0
Reto Buerki [Mon, 17 Jul 2017 07:07:25 +0000 (09:07 +0200)]
Set version to 0.4

15 months agoUpdate thin binding
Reto Buerki [Fri, 7 Jul 2017 09:43:16 +0000 (11:43 +0200)]
Update thin binding

Re-generate thin binding on Debian GNU/Linux 9 (stretch) x86_64 using
the GNAT GPL 2017 g++ compiler:

  $ g++ -fdump-ada-spec ../dbus/dbus.h -I ..

Manual changes to the thin binding files:
- Fix unreferenced Interfaces.C warnings
- Drop incorrect nullptr_t declaration

Adjust all call sites accordingly.

15 months agoMake static library build work with GPL 2017
Reto Buerki [Mon, 19 Jun 2017 12:51:02 +0000 (14:51 +0200)]
Make static library build work with GPL 2017

2 years agoFix implicit declaration of 'g_unlink' warning
Reto Buerki [Fri, 8 Jul 2016 12:53:36 +0000 (14:53 +0200)]
Fix implicit declaration of 'g_unlink' warning

2 years agoSet version to 0.3.3 v0.3.3
Reto Buerki [Fri, 8 Jul 2016 09:44:18 +0000 (11:44 +0200)]
Set version to 0.3.3

2 years agoAllow for flexible configuration of gnatmake params
Reto Buerki [Fri, 8 Jul 2016 10:56:34 +0000 (12:56 +0200)]
Allow for flexible configuration of gnatmake params

2 years agoSet TZ=UTC before calling asciidoc
Reto Buerki [Fri, 8 Jul 2016 08:51:36 +0000 (10:51 +0200)]
Set TZ=UTC before calling asciidoc

This is required to support reproducible builds in Debian. Thanks to
Eduard Sanou for the patch.

2 years agoSet version to 0.3.2 v0.3.2
Reto Buerki [Tue, 16 Feb 2016 07:49:53 +0000 (08:49 +0100)]
Set version to 0.3.2

2 years agoAdd -ldbus-1 to Linker_Options in gnat/dbus_ada.gpr
Reto Buerki [Mon, 15 Feb 2016 14:29:18 +0000 (15:29 +0100)]
Add -ldbus-1 to Linker_Options in gnat/dbus_ada.gpr

2 years agoUpdate copyright information in README v0.3.1
Reto Buerki [Thu, 5 Nov 2015 07:45:42 +0000 (08:45 +0100)]
Update copyright information in README

2 years agoIntroduce and set revision to 1
Reto Buerki [Thu, 5 Nov 2015 07:33:22 +0000 (08:33 +0100)]
Introduce and set revision to 1

The new dbus-ada version number now has a revision besides major and
minor numbers. The version is set to 0.3.1.

2 years agoDrop nm_dhcp_client_action example
Reto Buerki [Thu, 5 Nov 2015 07:40:35 +0000 (08:40 +0100)]
Drop nm_dhcp_client_action example

For examples on how to interact with NetworkManager using D_Bus/Ada see
the D-Bus notifiers in the ADHCP [1] project.

[1] - http://www.codelabs.ch/adhcp/

2 years agoProvide Connection.Flush procedure
Reto Buerki [Mon, 21 Sep 2015 13:12:55 +0000 (15:12 +0200)]
Provide Connection.Flush procedure

4 years agoUse static library in examples target
Reto Buerki [Tue, 2 Sep 2014 20:32:13 +0000 (22:32 +0200)]
Use static library in examples target

4 years agoPass external libs as Linker_Options in examples project
Reto Buerki [Tue, 2 Sep 2014 20:24:42 +0000 (22:24 +0200)]
Pass external libs as Linker_Options in examples project

4 years agoPass external libs as Linker_Options in test project
Reto Buerki [Tue, 2 Sep 2014 20:11:04 +0000 (22:11 +0200)]
Pass external libs as Linker_Options in test project

This fixes build errors on Ubuntu as it has -Wl,--as-needed enabled by
default and somehow gnatmake does not get the ordering right when using
Linker.Default_Switches.

4 years agoBump version to 0.3 v0.3
Reto Buerki [Thu, 14 Aug 2014 12:38:12 +0000 (14:38 +0200)]
Bump version to 0.3

4 years agoInclude thin binding sources in d_bus_ada_lib project
Reto Buerki [Thu, 14 Aug 2014 14:14:25 +0000 (16:14 +0200)]
Include thin binding sources in d_bus_ada_lib project

Do not build a separate library for the thin binding.

4 years agoSilence 'unused Interfaces.C' warnings in thin packages
Reto Buerki [Thu, 14 Aug 2014 14:06:57 +0000 (16:06 +0200)]
Silence 'unused Interfaces.C' warnings in thin packages

4 years agoDisable style checks for thin packages
Reto Buerki [Thu, 14 Aug 2014 14:06:16 +0000 (16:06 +0200)]
Disable style checks for thin packages

4 years agoPass optional ADAFLAGS to compiler in build_lib
Reto Buerki [Thu, 14 Aug 2014 12:36:53 +0000 (14:36 +0200)]
Pass optional ADAFLAGS to compiler in build_lib

4 years agoRemove unneeded (implicit) .PHONY targets
Reto Buerki [Thu, 14 Aug 2014 12:35:54 +0000 (14:35 +0200)]
Remove unneeded (implicit) .PHONY targets

4 years agoPass optional LDFLAGS to library project files
Reto Buerki [Thu, 14 Aug 2014 12:34:47 +0000 (14:34 +0200)]
Pass optional LDFLAGS to library project files

4 years agoUpdate licence in README
Reto Buerki [Thu, 14 Aug 2014 12:05:46 +0000 (14:05 +0200)]
Update licence in README

4 years agoFix 'wrong convention' compiler misunderstandings
Reto Buerki [Thu, 14 Aug 2014 11:48:54 +0000 (13:48 +0200)]
Fix 'wrong convention' compiler misunderstandings

The way conventions are handled with anonymous access-to-subprograms
must have changed with gnat-4.9. Fix the problem by explicitly
specifying the conventions for dbus_connection_h.DBusObjectPathVTable
access-to-subprogram fields.

For more details see GNAT RM, section 8.17 'Conventions and Anonymous
Access Types'.

4 years agoAlso eavesdrop on error messages
Reto Buerki [Thu, 14 Aug 2014 11:45:43 +0000 (13:45 +0200)]
Also eavesdrop on error messages

4 years agoAdd eavesdrop=true attribute to monitor match rules
Reto Buerki [Thu, 14 Aug 2014 11:38:31 +0000 (13:38 +0200)]
Add eavesdrop=true attribute to monitor match rules

The attribute is required to receive messages that were not explicitly
addressed to a name the application owns, or replies to such messages.

4 years agoLet clientsub example use the test service interface
Reto Buerki [Thu, 14 Aug 2014 11:37:22 +0000 (13:37 +0200)]
Let clientsub example use the test service interface

4 years agoUpdate PGP pubkey in README
Reto Buerki [Fri, 18 Oct 2013 10:26:38 +0000 (12:26 +0200)]
Update PGP pubkey in README

4 years agoUpdate README
Adrian-Ken Rueegsegger [Thu, 17 Oct 2013 13:50:07 +0000 (15:50 +0200)]
Update README

6 years agoAdd constructor functions for OBJECT_PATH argument
Reto Buerki [Wed, 8 Aug 2012 08:07:01 +0000 (10:07 +0200)]
Add constructor functions for OBJECT_PATH argument

6 years agoConnection: Use Obj_Path type instead of String
Reto Buerki [Wed, 8 Aug 2012 07:44:06 +0000 (09:44 +0200)]
Connection: Use Obj_Path type instead of String

6 years agoAdd Obj_Path type
Reto Buerki [Wed, 8 Aug 2012 07:21:43 +0000 (09:21 +0200)]
Add Obj_Path type

This type is used to ensure that D-Bus Object_Path_Type arguments can
only be constructed using a valid object path.

The Is_Valid function in the new Types package implements the additional
OBJECT_PATH tests described in the D-Bus specification, section "Valid
Object Paths".

6 years agoAdd preliminary support for OBJECT_PATH arguments
Alexander Senier [Tue, 7 Aug 2012 20:17:10 +0000 (22:17 +0200)]
Add preliminary support for OBJECT_PATH arguments

TBD: Implement the checks for object path validity defined in D-Bus spec

6 years agoRemove Binder package from library projects
Reto Buerki [Fri, 30 Mar 2012 09:17:04 +0000 (11:17 +0200)]
Remove Binder package from library projects

The GNAT binder gnatbind is only called for main programs not libraries.

6 years agoInclude d_bus_ada_lib.gpr in test project file
Reto Buerki [Tue, 27 Mar 2012 15:32:22 +0000 (17:32 +0200)]
Include d_bus_ada_lib.gpr in test project file

Drop unneeded thin/build.gpr project file. The test runner binary is
linked using the static version of the libs.

6 years agoBuild dynamic/static libs in separate Obj/Lib dirs
Reto Buerki [Mon, 26 Mar 2012 16:24:21 +0000 (18:24 +0200)]
Build dynamic/static libs in separate Obj/Lib dirs

This avoids position-independent code (PIC) in the static libraries.

6 years agoInstall libs to $(PREFIX)/lib directory
Reto Buerki [Wed, 29 Feb 2012 14:17:17 +0000 (15:17 +0100)]
Install libs to $(PREFIX)/lib directory

6 years agoDrop incorrect libdbusada-thin.so.0 symlink
Reto Buerki [Mon, 20 Feb 2012 10:00:24 +0000 (11:00 +0100)]
Drop incorrect libdbusada-thin.so.0 symlink

The current library SONAME is libdbusada-thin.so.0.2, not
libdbusada-thin.so.0.

6 years agoDrop incorrect libdbusada.so.0 symlink
Reto Buerki [Mon, 20 Feb 2012 09:57:13 +0000 (10:57 +0100)]
Drop incorrect libdbusada.so.0 symlink

The current library SONAME is libdbusada.so.0.2, not libdbusada.so.0.

6 years agoTreat warnings as errors when compiling library
Reto Buerki [Fri, 17 Feb 2012 13:30:32 +0000 (14:30 +0100)]
Treat warnings as errors when compiling library

6 years agoDefine default Binder switches
Reto Buerki [Wed, 15 Feb 2012 15:34:09 +0000 (16:34 +0100)]
Define default Binder switches

6 years agoSet minor version to 2 v0.2
Reto Buerki [Thu, 15 Dec 2011 09:35:17 +0000 (10:35 +0100)]
Set minor version to 2

6 years agoAdd TODO item
Reto Buerki [Thu, 15 Dec 2011 09:25:42 +0000 (10:25 +0100)]
Add TODO item

6 years agoDoc: Remove div id 'content' from page.conf
Reto Buerki [Tue, 6 Dec 2011 16:21:17 +0000 (17:21 +0100)]
Doc: Remove div id 'content' from page.conf

6 years agoDoc: Add page.conf as index.html dependency
Reto Buerki [Tue, 6 Dec 2011 16:20:44 +0000 (17:20 +0100)]
Doc: Add page.conf as index.html dependency

6 years agoAdd TODO item
Reto Buerki [Tue, 6 Dec 2011 08:01:05 +0000 (09:01 +0100)]
Add TODO item

6 years agoUnify naming of container constructor functions
Reto Buerki [Mon, 5 Dec 2011 21:19:40 +0000 (22:19 +0100)]
Unify naming of container constructor functions

"+": Create a new argument list from given argument
"&": Append an argument to an existing list

6 years agoNotify: Construct D-Bus arguments in place
Reto Buerki [Mon, 5 Dec 2011 21:14:11 +0000 (22:14 +0100)]
Notify: Construct D-Bus arguments in place

6 years agoNotify: Print returned notification ID
Reto Buerki [Mon, 5 Dec 2011 20:58:43 +0000 (21:58 +0100)]
Notify: Print returned notification ID

6 years agoAdd desktop notification example
Reto Buerki [Mon, 5 Dec 2011 20:35:14 +0000 (21:35 +0100)]
Add desktop notification example

Thanks to Tero Koskinen for his example code and the permission to
include it.

6 years agoAdd licence section to README
Reto Buerki [Mon, 5 Dec 2011 12:21:29 +0000 (13:21 +0100)]
Add licence section to README

As suggested by Yannick DuchĂȘne, thanks for the feedback!

6 years agoAdd licence header to dbus-rebound.c
Reto Buerki [Mon, 5 Dec 2011 11:53:28 +0000 (12:53 +0100)]
Add licence header to dbus-rebound.c

6 years agoUpdate project description
Reto Buerki [Mon, 5 Dec 2011 09:49:10 +0000 (10:49 +0100)]
Update project description

6 years agoUpdate README
Reto Buerki [Thu, 1 Dec 2011 20:48:22 +0000 (21:48 +0100)]
Update README

6 years agoUpdate README file for 0.1 release v0.1
Reto Buerki [Thu, 1 Dec 2011 17:13:56 +0000 (18:13 +0100)]
Update README file for 0.1 release

6 years agoRemove debug output from D-Bus rebounder
Reto Buerki [Thu, 1 Dec 2011 16:35:26 +0000 (17:35 +0100)]
Remove debug output from D-Bus rebounder

6 years agoInstall dbus-rebound to obj/tests/rebounder
Reto Buerki [Thu, 1 Dec 2011 16:33:29 +0000 (17:33 +0100)]
Install dbus-rebound to obj/tests/rebounder

6 years agoMinor: Cosmetic fixes
Adrian-Ken Rueegsegger [Thu, 1 Dec 2011 16:26:56 +0000 (17:26 +0100)]
Minor: Cosmetic fixes

6 years agoMakefile: Sort list of PHONY targets
Reto Buerki [Thu, 1 Dec 2011 14:54:52 +0000 (15:54 +0100)]
Makefile: Sort list of PHONY targets

6 years agoMakefile: Add dist target
Reto Buerki [Thu, 1 Dec 2011 14:52:25 +0000 (15:52 +0100)]
Makefile: Add dist target

6 years agoAdd .gitattributes file
Reto Buerki [Thu, 1 Dec 2011 14:39:18 +0000 (15:39 +0100)]
Add .gitattributes file

6 years agoAdd -fPIC to Compiler_Switches in thin project
Reto Buerki [Thu, 1 Dec 2011 14:07:29 +0000 (15:07 +0100)]
Add -fPIC to Compiler_Switches in thin project

6 years agoUse 'obj/lib' as Object_Dir in library project
Reto Buerki [Thu, 1 Dec 2011 14:06:36 +0000 (15:06 +0100)]
Use 'obj/lib' as Object_Dir in library project

6 years agoMakefile: Move PKGCONF flags after source filename
Reto Buerki [Thu, 1 Dec 2011 12:21:48 +0000 (13:21 +0100)]
Makefile: Move PKGCONF flags after source filename

6 years agoConnection: Fix Call_Blocking function
Reto Buerki [Thu, 1 Dec 2011 11:45:44 +0000 (12:45 +0100)]
Connection: Fix Call_Blocking function

Deserialize reply arguments from reply message not from method call
message.

6 years agoUse code of caller example in html doc
Reto Buerki [Thu, 1 Dec 2011 10:19:02 +0000 (11:19 +0100)]
Use code of caller example in html doc

6 years agoMinor corrections in README file
Reto Buerki [Thu, 1 Dec 2011 10:18:29 +0000 (11:18 +0100)]
Minor corrections in README file

6 years agoAdd some comments to caller example
Reto Buerki [Thu, 1 Dec 2011 10:10:15 +0000 (11:10 +0100)]
Add some comments to caller example

6 years agoRemove copyright header from caller example
Reto Buerki [Thu, 1 Dec 2011 10:06:04 +0000 (11:06 +0100)]
Remove copyright header from caller example

6 years agoDoc: Update stylesheet
Reto Buerki [Tue, 29 Nov 2011 23:01:53 +0000 (00:01 +0100)]
Doc: Update stylesheet

6 years agoUnref messages after use in Call_Blocking function
Reto Buerki [Tue, 29 Nov 2011 16:30:55 +0000 (17:30 +0100)]
Unref messages after use in Call_Blocking function

6 years agoMake Connection_Type limited
Reto Buerki [Tue, 29 Nov 2011 16:05:44 +0000 (17:05 +0100)]
Make Connection_Type limited

6 years agoUse kill instead of killall to stop rebounder
Reto Buerki [Tue, 29 Nov 2011 15:53:37 +0000 (16:53 +0100)]
Use kill instead of killall to stop rebounder

6 years agoAdd support for D-Bus INT64 type
Reto Buerki [Tue, 29 Nov 2011 15:29:43 +0000 (16:29 +0100)]
Add support for D-Bus INT64 type

6 years agodbus-rebound: Remove unneeded unregister_handler
Reto Buerki [Tue, 29 Nov 2011 14:38:17 +0000 (15:38 +0100)]
dbus-rebound: Remove unneeded unregister_handler

6 years agoAdd support for D-Bus UINT64 type
Reto Buerki [Tue, 29 Nov 2011 13:00:02 +0000 (14:00 +0100)]
Add support for D-Bus UINT64 type

6 years agoTests: Add Init procedure to Config package
Reto Buerki [Tue, 29 Nov 2011 12:38:10 +0000 (13:38 +0100)]
Tests: Add Init procedure to Config package

This procedure waits until the D-Bus test server becomes available and
reads the remote address from the filesystem.

6 years agoTests: Make Service_Addr a function
Reto Buerki [Tue, 29 Nov 2011 12:26:03 +0000 (13:26 +0100)]
Tests: Make Service_Addr a function

6 years agodbus-rebound: Quit main event loop on SIGTERM
Reto Buerki [Tue, 29 Nov 2011 12:21:02 +0000 (13:21 +0100)]
dbus-rebound: Quit main event loop on SIGTERM

6 years agodbus-rebound: Add ADDR #define
Reto Buerki [Tue, 29 Nov 2011 10:58:58 +0000 (11:58 +0100)]
dbus-rebound: Add ADDR #define

6 years agoMake dbus-rebound a private D-Bus server
Reto Buerki [Tue, 29 Nov 2011 10:56:44 +0000 (11:56 +0100)]
Make dbus-rebound a private D-Bus server

This allows testing of the binding on hosts with no active D-Bus daemon.

6 years agoTests: Add config package
Reto Buerki [Tue, 29 Nov 2011 10:55:27 +0000 (11:55 +0100)]
Tests: Add config package

This package exports test configuration.

6 years agoTests: Add Utils package
Reto Buerki [Tue, 29 Nov 2011 10:54:20 +0000 (11:54 +0100)]
Tests: Add Utils package

This package contains the helper function Read_Line_From_File.

6 years agoConnection: Rename Open function to Connect
Reto Buerki [Tue, 29 Nov 2011 09:08:08 +0000 (10:08 +0100)]
Connection: Rename Open function to Connect