Jens Georg [Sat, 24 May 2014 19:17:20 +0000 (21:17 +0200)]
Prepare 0.14.8
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sat, 24 May 2014 19:02:58 +0000 (21:02 +0200)]
Replace usage of ?:
Some compilers or settings don't really like that.
Signed-off-by: Jens Georg <mail@jensge.org>
Louis-Francis Ratté-Boulianne [Tue, 6 May 2014 03:35:44 +0000 (23:35 -0400)]
Add support for additionnal vendor specific headers in messages
Add new API to GSSDPClient to add custom headers to every message
sent. It allows support for applications that need non-standard
headers.
https://bugzilla.gnome.org/show_bug.cgi?id=729613
Jens Georg [Sat, 24 May 2014 12:56:09 +0000 (14:56 +0200)]
tests: Remove unnecessary g_source_remove
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sat, 24 May 2014 12:19:25 +0000 (14:19 +0200)]
Silence gtk-doc
Signed-off-by: Jens Georg <mail@jensge.org>
Philip Withnall [Mon, 19 May 2014 09:12:53 +0000 (10:12 +0100)]
gssdp-client: Use strncpy() instead of strcpy()
Limit the length of the string copied so a malicious interface name
cannot overwrite parts of the stack.
Coverity issue: #60337
https://bugzilla.gnome.org/show_bug.cgi?id=730358
Jens Georg [Mon, 3 Feb 2014 09:42:10 +0000 (10:42 +0100)]
Use pktinfo on Linux to determine source if
For other systems we use the old approach of comparing networks.
https://bugzilla.gnome.org/show_bug.cgi?id=711320
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sun, 4 May 2014 11:33:44 +0000 (13:33 +0200)]
Include sys/socket.h
Seems to be necessary on some BSDs
Signed-off-by: Jens Georg <mail@jensge.org>
Philip Withnall [Thu, 24 Apr 2014 15:58:21 +0000 (16:58 +0100)]
gssdp-socket-source: Fix the destroy/unref order on a GSource
g_source_destroy() should always be called before g_source_unref().
https://bugzilla.gnome.org/show_bug.cgi?id=728888
Philip Withnall [Thu, 24 Apr 2014 11:56:37 +0000 (12:56 +0100)]
gssdp-client: Use g_warning() instead of g_error()
get_host_ip() can gracefully fail, and all the code which calls it can
handle graceful failure. There’s no need for a non-graceful failure
using g_error(), which will just cause unnecessary abort()s in client
applications.
https://bugzilla.gnome.org/show_bug.cgi?id=728871
Jens Georg [Thu, 27 Mar 2014 19:33:53 +0000 (20:33 +0100)]
Fix compilation on mingw
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sun, 16 Mar 2014 20:16:10 +0000 (21:16 +0100)]
Do not leak interface name
Signed-off-by: Jens Georg <mail@jensge.org>
Riko Yamada [Sun, 19 Aug 2012 05:56:02 +0000 (14:56 +0900)]
Port to glib multicast socket functions
https://bugzilla.gnome.org/show_bug.cgi?id=678660
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sat, 15 Mar 2014 08:08:39 +0000 (09:08 +0100)]
Use g_list_free_full ()
Signed-off-by: Jens Georg <mail@jensge.org>
Jens Georg [Sat, 15 Mar 2014 08:01:57 +0000 (09:01 +0100)]
Style fixes for previous commit
Signed-off-by: Jens Georg <jensg@openismus.com>
Branislav Katreniak [Fri, 14 Feb 2014 11:25:37 +0000 (12:25 +0100)]
Recover from lost bye bye packets.
When ssdp server is forcefully stopped and started again,
it sends BYE BYE packets at its start.
But if server does not follow SSDP specification
or if we miss the BYE BYE packets for any other reason,
gssdp_resource_browser believes that the server was never restarted.
If location changed after server restart,
we are not able to talk to the server any more.
This patch checks whether location matches previous location.
If not, BYE BYE packet is simulated.
Compared to the previous code, ssdp:alive packets with no location
and no AL are dropped.
Signed-off-by: Branislav Katreniak <bkatreniak@nuvotechnologies.com>
https://bugzilla.gnome.org/show_bug.cgi?id=724030
Jens Georg [Mon, 3 Feb 2014 15:54:46 +0000 (16:54 +0100)]
Post-release version bump
Signed-off-by: Jens Georg <jensg@openismus.com>
Jens Georg [Mon, 3 Feb 2014 15:49:26 +0000 (16:49 +0100)]
Prepare 0.14.7
Signed-off-by: Jens Georg <jensg@openismus.com>
Jens Georg [Mon, 3 Feb 2014 15:50:19 +0000 (16:50 +0100)]
Fix online documentation link
Signed-off-by: Jens Georg <jensg@openismus.com>
Jens Georg [Mon, 3 Feb 2014 15:46:10 +0000 (16:46 +0100)]
Add missing function to documentation
Jens Georg [Sun, 1 Dec 2013 12:19:40 +0000 (13:19 +0100)]
Add missing declaration of _new_with_port
Somehow the function prototype got lost while merging.
Jens Georg [Wed, 30 Oct 2013 16:26:25 +0000 (17:26 +0100)]
Post-release version bump
Jens Georg [Wed, 30 Oct 2013 14:12:01 +0000 (15:12 +0100)]
Prepare 0.14.6
Jens Georg [Wed, 30 Oct 2013 13:59:46 +0000 (14:59 +0100)]
Fix message-received marshalling
Jens Georg [Wed, 30 Oct 2013 13:32:58 +0000 (14:32 +0100)]
Misc doc changes
Jens Georg [Mon, 28 Oct 2013 14:39:31 +0000 (15:39 +0100)]
Add msearch-port property to GSSDPClient
https://bugzilla.gnome.org/show_bug.cgi?id=711015
Jens Georg [Tue, 3 Sep 2013 11:45:01 +0000 (13:45 +0200)]
Post-release version bump
Jens Georg [Tue, 3 Sep 2013 11:38:16 +0000 (13:38 +0200)]
Prepare 0.14.5
Jens Georg [Tue, 3 Sep 2013 11:31:50 +0000 (13:31 +0200)]
Move AC_CANONICAL_* macros to prevent warning
Jens Georg [Tue, 3 Sep 2013 10:02:34 +0000 (12:02 +0200)]
Some gtk-doc updates
Reynaldo H. Verdejo Pinochet [Tue, 16 Apr 2013 15:48:02 +0000 (11:48 -0400)]
Port get_host_ip() to Android/Bionic
Add Bionic netlink code for network configuration
discovery.
https://bugzilla.gnome.org/show_bug.cgi?id=707161
Jens Georg [Tue, 30 Jul 2013 07:16:00 +0000 (09:16 +0200)]
Post-release version bump
Jens Georg [Tue, 30 Jul 2013 07:10:21 +0000 (09:10 +0200)]
Prepare 0.14.4
Jens Georg [Tue, 30 Jul 2013 06:54:31 +0000 (08:54 +0200)]
Remove deprecated build variable
Jens Georg [Tue, 30 Jul 2013 06:49:13 +0000 (08:49 +0200)]
Use GNOME macro for extended compiler warnings
Jens Georg [Tue, 30 Jul 2013 06:43:24 +0000 (08:43 +0200)]
Clarify boolean expression
Jens Georg [Thu, 6 Jun 2013 09:29:20 +0000 (11:29 +0200)]
Use SO_REUSEPORT on Debian/kFreeBSD
Same as
e4c8a58928d2fc94bc9b7eb6f6ef5115f7dd6f06 but for Debian on FreeBSD
kernels where __FreeBSD__ is not defined.
Bastien Nocera [Fri, 26 Jul 2013 19:47:15 +0000 (21:47 +0200)]
Avoid non-ASCII characters in discovery requests
Using the application name means that we were using a
translated string. In some locales, this caused the Synology
NAS not to answer our requests.
Use the (usually) ASCII-only prgname instead.
https://bugzilla.gnome.org/show_bug.cgi?id=704953
Jens Georg [Tue, 4 Jun 2013 11:04:20 +0000 (13:04 +0200)]
Use SO_REUSEPORT on FreeBSD as well
This is used in the ports file for GSSDP downstream so let's just take it
upstream.
Jens Georg [Thu, 30 May 2013 14:15:44 +0000 (16:15 +0200)]
Fix gtk-doc warnings
Jens Georg [Wed, 29 May 2013 14:04:53 +0000 (16:04 +0200)]
Post-release version bump
Jens Georg [Tue, 28 May 2013 10:16:51 +0000 (12:16 +0200)]
Prepare 0.14.3
Jens Georg [Tue, 28 May 2013 10:21:40 +0000 (12:21 +0200)]
Fix typo
Jens Georg [Tue, 28 May 2013 09:29:44 +0000 (11:29 +0200)]
Fix parameter indentation
Jens Georg [Wed, 17 Apr 2013 12:47:41 +0000 (14:47 +0200)]
Fix compilation with -Wall -Wextra
Jens Georg [Tue, 16 Apr 2013 10:54:44 +0000 (12:54 +0200)]
sniffer: Center dialogs on main window
Jens Georg [Mon, 15 Apr 2013 11:01:26 +0000 (13:01 +0200)]
Depend on vapigen >= 0.20 on newer g-i
Jens Georg [Mon, 1 Apr 2013 12:23:21 +0000 (14:23 +0200)]
sniffer: Update to GTK+3
Jens Georg [Thu, 21 Mar 2013 10:51:06 +0000 (11:51 +0100)]
sniffer: Make network device configurable
Jens Georg [Wed, 6 Mar 2013 09:39:09 +0000 (10:39 +0100)]
Prepare 0.14.2
Krzesimir Nowak [Thu, 28 Feb 2013 09:42:23 +0000 (10:42 +0100)]
Update .gitignore.
Krzesimir Nowak [Wed, 27 Feb 2013 16:32:44 +0000 (17:32 +0100)]
Fix getting host IP on unix.
Just don't look further if we found one.
Jens Georg [Fri, 22 Feb 2013 16:10:39 +0000 (17:10 +0100)]
Prepare 0.14.1
Krzesimir Nowak [Fri, 22 Feb 2013 09:36:13 +0000 (10:36 +0100)]
Bump reqired GLib version to 2.32.
And use more GHashTable-as-a-set functions.
Jussi Kukkonen [Fri, 22 Feb 2013 08:35:31 +0000 (10:35 +0200)]
Fix crash in new refresh cache implementation
Calling g_hash_table_insert() with same pointer as key and value is
not safe in currently released glib versions (<=2.34), see
https://bugzilla.gnome.org/show_bug.cgi?id=692815. Use
g_hash_table_add() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=694418
Jens Georg [Wed, 20 Feb 2013 12:31:44 +0000 (13:31 +0100)]
Prepare 0.14.0
gnupnp [Wed, 20 Feb 2013 12:13:23 +0000 (13:13 +0100)]
Allow custom TTL value for GSSDPClient.
Add 'ttl' property to GSSDPSocketSource.
Add ttl parameter to gssdp_socket_source_new().
Add 'socket-ttl' property to GSSPDClient.
https://bugzilla.gnome.org/show_bug.cgi?id=656406
Krzesimir Nowak [Mon, 18 Feb 2013 15:55:37 +0000 (16:55 +0100)]
Add a function doing a service rescan.
It simply starts a discovery, but now discovery was modified a bit, so
every service that has replied to our discovery messages is put into
map with responsive services. After a reasonable amount of time (here:
5 seconds), it looks for services that were cached, but haven't yet
responded. Such services are removed from cache with notifying about
them being unavailable beforehand.
This was added so we can do a rescan for services that do not send an
announcement messages when they appear or such messages may get lost
in network.
Jens Georg [Thu, 13 Dec 2012 21:49:11 +0000 (22:49 +0100)]
Drop use of inet_netof
This is just wrong in times of CIDR.
https://bugzilla.gnome.org/show_bug.cgi?id=656406
Jens Georg [Tue, 18 Dec 2012 13:27:19 +0000 (14:27 +0100)]
Change maintainer
Remove Zeeshan from maintainer, adding myself.
Thank you very much for taking care of this project.
Jens Georg [Fri, 30 Nov 2012 13:48:22 +0000 (14:48 +0100)]
Post-release version bump
Jens Georg [Fri, 30 Nov 2012 13:36:26 +0000 (14:36 +0100)]
Prepare 0.13.2
Jens Georg [Fri, 30 Nov 2012 13:45:35 +0000 (14:45 +0100)]
Fix LD_LIBRARY_PATH in make check
Jens Georg [Fri, 30 Nov 2012 13:40:19 +0000 (14:40 +0100)]
More g_type_init deprecation
Jens Georg [Fri, 30 Nov 2012 13:29:15 +0000 (14:29 +0100)]
Drop g_type_init for glib >= 2.35
Jens Georg [Fri, 30 Nov 2012 13:27:10 +0000 (14:27 +0100)]
Move -Werror out of --enable-debug
Unbreak building with deprecation warning now, decide on better
warnings/errors later.
https://bugzilla.gnome.org/show_bug.cgi?id=682308
Theppitak Karoonboonyanan [Wed, 22 Aug 2012 04:52:21 +0000 (11:52 +0700)]
Allow non-sourcedir build
https://bugzilla.gnome.org/show_bug.cgi?id=682576
Matthias Drochner [Fri, 30 Nov 2012 12:56:03 +0000 (13:56 +0100)]
Use SO_REUSEPORT on NetBSD as well
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=685949
Jens Georg [Fri, 16 Nov 2012 12:25:10 +0000 (13:25 +0100)]
Really ignore invalid MAN header
Jens Georg [Sat, 10 Nov 2012 18:47:59 +0000 (19:47 +0100)]
Make it possible to call _init multiple times
Jens Georg [Wed, 24 Oct 2012 19:18:45 +0000 (21:18 +0200)]
Post-release version bump
Jens Georg [Wed, 24 Oct 2012 19:15:39 +0000 (21:15 +0200)]
Prepare 0.13.1
Jens Georg [Sun, 14 Oct 2012 14:33:10 +0000 (16:33 +0200)]
Don't error out if vapigen isn't found
https://bugzilla.gnome.org/show_bug.cgi?id=686039
Jens Georg [Sun, 14 Oct 2012 13:52:23 +0000 (15:52 +0200)]
Add introspection to --make-distcheck
Jens Georg [Sat, 6 Oct 2012 15:55:17 +0000 (17:55 +0200)]
Post-release version bump
Jens Georg [Sat, 6 Oct 2012 15:44:23 +0000 (17:44 +0200)]
Prepare 0.13.0
Jens Georg [Sat, 6 Oct 2012 10:54:28 +0000 (12:54 +0200)]
Add pkg-export to scanner args
Andreas Henriksson [Fri, 21 Sep 2012 12:12:37 +0000 (14:12 +0200)]
Make Requires private in pkg-config files
Putting stuff in Requires means applications using
this library will link against that when it might
not be needed at all because they use none of that
libraries symbols directly.
If only the cflags is needed (because public headers
includes headers from that package) they
can be private to avoid uselessly linking.
See #2 in http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
https://bugzilla.gnome.org/show_bug.cgi?id=685477
Andreas Henriksson [Fri, 21 Sep 2012 12:10:26 +0000 (14:10 +0200)]
Drop Requires.Private in pkg-config files
This field is not parsed at all by pkg-config! (cf. Requires.private)
Apparently whatever is listed in it is not needed.
https://bugzilla.gnome.org/show_bug.cgi?id=685477
Jens Georg [Sat, 6 Oct 2012 11:01:53 +0000 (13:01 +0200)]
Bump version
Jens Georg [Fri, 31 Aug 2012 09:24:21 +0000 (11:24 +0200)]
Update license headers
Jens Georg [Mon, 20 Aug 2012 19:25:11 +0000 (21:25 +0200)]
Prepare 0.12.2.1
Jens Georg [Mon, 20 Aug 2012 19:24:16 +0000 (21:24 +0200)]
Add missing deps file
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=682228
Jens Georg [Sun, 19 Aug 2012 15:38:12 +0000 (17:38 +0200)]
Prepare 0.12.2
Jens Georg [Thu, 23 Feb 2012 12:02:44 +0000 (14:02 +0200)]
Create vapi file from introspection
The skipping of the error-domain in .metadata and the -custom.vala file
are necessary due to https://bugzilla.gnome.org/show_bug.cgi?id=670673.
They can be removed once that is fixed
https://bugzilla.gnome.org/show_bug.cgi?id=675355
Jens Georg [Sat, 18 Aug 2012 11:50:55 +0000 (13:50 +0200)]
Update pkg-config files to include gio
Mark Ryan [Fri, 17 Aug 2012 11:51:29 +0000 (13:51 +0200)]
Correctly remove expired Resources
Fixes a crash in GUPnP. In the current code, Resource objects are not
always correctly removed from the resource_browser->priv->resources
hash table when they expire. This can lead to a crash in GUPnP when
the application tries to destroy its context manager.
https://bugzilla.gnome.org/show_bug.cgi?id=682099
Jens Georg [Sat, 18 Aug 2012 09:41:12 +0000 (11:41 +0200)]
Add regression test for bgo#682099
Stef Walter [Thu, 12 Jul 2012 05:33:29 +0000 (07:33 +0200)]
Fix for libsoup deprecations
* soup_message_headers_get() has been deprecated
https://bugzilla.gnome.org/show_bug.cgi?id=679781
Riko Yamada [Sun, 24 Jun 2012 07:13:46 +0000 (16:13 +0900)]
Correct arguments to g_regex_match_simple() call
We were passing RegexMatchFlags as GRegexCompileFlags.
https://bugzilla.gnome.org/show_bug.cgi?id=678744
Jens Georg [Fri, 4 May 2012 08:19:31 +0000 (10:19 +0200)]
Don't leak MatchInfo
Jens Georg [Thu, 23 Feb 2012 08:42:10 +0000 (10:42 +0200)]
Update introspection annotations
Jens Georg [Thu, 3 May 2012 09:30:17 +0000 (11:30 +0200)]
Fix gtk-doc for stricter g-i scanner
Jens Georg [Mon, 2 Apr 2012 16:02:26 +0000 (18:02 +0200)]
Make internal resource cache version-independant
https://bugzilla.gnome.org/show_bug.cgi?id=673150
Jens Georg [Mon, 2 Apr 2012 10:09:48 +0000 (12:09 +0200)]
Ignore announcements from services with a lower version
https://bugzilla.gnome.org/show_bug.cgi?id=673150
Jens Georg [Mon, 2 Apr 2012 16:08:20 +0000 (18:08 +0200)]
tests: Add some functional tests
https://bugzilla.gnome.org/show_bug.cgi?id=673150
Jens Georg [Fri, 30 Mar 2012 11:12:45 +0000 (13:12 +0200)]
tests: Add regression test for bgo#673150
Jens Georg [Fri, 9 Dec 2011 13:52:40 +0000 (14:52 +0100)]
Prepare 0.12.1
Jens Georg [Fri, 9 Dec 2011 13:49:51 +0000 (14:49 +0100)]
Fix typo in GSSDPResourceBroser docs
Jens Georg [Fri, 9 Dec 2011 13:49:30 +0000 (14:49 +0100)]
Update documentation copyright