Add --disable-tests flag to configure scriptBy default, NUnit tests are still build but packagers (and builders on
OS X) can specify --disable-tests to omit the check and thus won't need
to install NUnit prior to building.
build: Replace hardcoded version in pkg-config files with variableThe version will now be automatically be filled in during ./configure,
to be the same as the global package version.
QueryStringifier: Match capitalisation of spec.The SearchCriteria string syntax specifies “derivedfrom” as one of the
stringOps.
At least one UPnP MediaServer (my Fritz!Box) throws an error when trying
to search with derivedFrom.
Icon: Don't rely on ContentLength but iterate over the response streamThis fixes the issues in the previous commit: we might allocate way too
much memory, and we were not sure to get the whole response. Thanks to
Gonzalo Paniagua Javier for pointing them out.
ServiceController: Retry the invocation in case of errorThe retryAttempts parameter was ignored until now. We now actually do
what it says and retry the invocation as many times as indicated.
This helps with some servers which do not like to be talked to right
after they've been started. For example, see this bug reported against
Banshee: https://bugzilla.gnome.org/show_bug.cgi?id=672744
ControlClient: Retry the request in case of timeoutThe Helper.GetResponse method will retry once if we get a "Gateway
Timeout" HTTP response code.
Also add some additional log output for some error cases.
ClassReference: Add a default constructorTrying to deserialize an instance of ClassReference would cause a crash,
due to a MissingMethodException.
This fixes the initial issue in the following bug reported against
Banshee: https://bugzilla.gnome.org/show_bug.cgi?id=672671
Fix crash when handling client service removalWhen processing a ClientServiceRemoved event, we usually only have a
USN, the Service instance is null. So we need to handle this correctly
and get the service type from the USN.
This fixes the following bug reported against Banshee:
https://bugzilla.gnome.org/show_bug.cgi?id=671708
build: Add a Libraries variable in all pkg-config filesThis allows consumers to make their private copy of the assemblies they
need, as they're not installed in the GAC.
build: Various fixes to get "make distcheck" to workGenerate all the binaries in a toplevel bin/ folder. As the
generated makefiles wipe out the build folder during distclean, having
it set to the project folder leads to bad things.
Use $(srcdir) to find the various .snk files, so that they are found
during an out-of-tree build, as "make distcheck" does it.
Go over all the various assembly references, and do not require a
specific version when...
Fixed a serialization bugWe may try to deserialize into a property that is not writable and fail instead
of just ignoring it if that's the case. Also fixed a bug that will prevent
actions from working if the SoapEnvelope contains a Header element because it
can't figure out how to create a default instance of it.
Fixed another unit test for subscribing to GENA eventsIt was failing because we were trying to send out our variable notifications
before responding to the subscribe request. I also reduced the time to wait for
variable updates after unsubscribing to 10 seconds instead of 30 because it
seemed very excessive.
Added explicit isReturnValue for return parametersThe compiler is not required to include parameterInfo.IsRetval in its metadata.
Also added an additional failing test.
Signed-off-by: Kevin Thompson <mrunleaded@gmail.com>
Merge remote-tracking branch 'lunchtimemama/master'A little bit of history. Mono.Upnp was originally developed on the Mono's SVN
repository. Scott (lunchtimemama) started with the latest trunk at that time and
developed it further on GitHub. Mono later migrated all SVN repos to Git,
however mono/mono-upnp and lunchtimemama/Mono.Upnp had no common commits until
now.
This commit merges in Scott's master branch and "resolves" all conflicts by
cop...