Fabrice Fontaine
92c93a8010
Bug fix in IN6_IS_ADDR_GLOBAL.
...
Changing IN6_IS_ADDR_GLOBAL to accept all IPv6 addresses which have a
2000::/3 prefix.
2011-11-01 18:59:49 -02:00
Nick Leverton
e40e6b49d4
Summary: upnptools.h should #include upnpconfig.h - ID: 3426326
...
(cherry picked from commit ef7bbc486686d1b9c365273874d9224102199b89)
2011-10-20 12:30:05 +01:00
Fabrice Fontaine
6c6fb3707f
Bug Fix on M-SEARCH.
...
Do not answer to M-SEARCH using HTTP version 1.0 as specified by the
UPnP Device Architecture.
2011-07-20 06:10:07 -03:00
Iain Denniston
92ea719804
Fixes for compilation under Windows (specifically MSVC). Also added MSVC supported "_inline", and fixed some WIN32 specific warnings.
2011-04-02 23:47:00 -03:00
Iain Denniston
fed316ff3e
Several fixes to correctly use SOCKET (and related) types instead of non-portable variations.
2011-04-02 23:38:53 -03:00
Marcelo Roberto Jimenez
e16cb4b225
Silence compiler warning message.
...
warning: unused parameter ‘listen_port6’
2011-03-15 18:27:17 -03:00
Fabrice Fontaine
0996d23318
Putting ssdpReqSocks under compilation flag.
...
Putting all access to ssdpReqSock4 and ssdpReqSock6 under
INCLUDE_CLIENT_APIS compilation flag to be able to compile when
client part of library is disable.
2011-03-15 18:22:30 -03:00
Fabrice Fontaine
11f9a2bafe
New UpnpRegisterRootDevice4 for legacy CPs.
...
Add a new UpnpRegisterRootDevice4 which allow user to specify a
description URL to be returned for legacy CPs (for example, CPs
searching for a v1 when the device is v2). Most of those CPs does not
work if they found a v2 in the XML description, so this new function is
only used to solve interoperability issues.
2011-03-15 18:17:05 -03:00
Iain Denniston
7338411c08
Partial fix for UpnpGetIfInfo with MSVC
2011-03-11 17:52:07 -03:00
Marcelo Roberto Jimenez
3a9ae348bc
Created the macros PRIzd and PRIzx to deal with MSVC lack of C99.
...
Thanks to Iain Denniston for pointing it out.
2011-03-11 17:20:17 -03:00
Iain Denniston
840669b253
Fixes for headers when compiled under C++
2011-03-11 16:07:51 -03:00
Marcelo Roberto Jimenez
e30e7bd586
Fix for uuid_unpack incorrect shift precedence.
2011-03-10 16:21:25 -03:00
Marcelo Roberto Jimenez
32e510b45a
Remove PrintThreadPoolStats() from the public API.
...
This function uses a ThreadPool object as an argument, which is not
supposed to be exported. Also, debug compilation was broken.
2011-02-07 22:33:42 -02:00
Fabrice Fontaine
063d472f80
Major bug fix in IPv6 code.
...
Major bug fix in miniserver.c for IPv6, bug was introduced when
changing implementation of get_port in November 20th 2010 ("gena:fix
several compiler warnings" commit).
2011-02-07 21:27:41 -02:00
Marcelo Roberto Jimenez
fdb8b9ef2f
White spaces and indentation.
2011-01-30 09:40:48 -02:00
Chandra Penke
6c125feea0
Fix for compilation errors
...
Fix for compilation warnings of unused variables in upnpdebug.c in
release builds.
2011-01-30 09:36:05 -02:00
Chandra Penke
f46683fd0e
Fix for typo in strndup() function definition.
2011-01-17 09:03:34 -02:00
Marcelo Roberto Jimenez
abfa841318
Define _FILE_OFFSET_BITS, _LARGEFILE_SOURCE and _LARGE_FILE_SOURCE in upnpconfig.h.
...
Make these definitions available to programs using the library.
Thanks to Chandra Penke for pointing the problem.
2011-01-16 22:38:18 -02:00
Chandra Penke
3c4ff99cdb
Allow virtual callbacks to use chunked encoding by setting the file length of a UpnpFileInfo object to be UPNP_USING_CHUNKED.
2011-01-16 21:28:13 -02:00
Marcelo Roberto Jimenez
541679d651
Use config.h to test for the availability of strndup() and strnlen().
2011-01-16 21:05:07 -02:00
Chandra Penke
cb1188d2bc
Fixes chunked transfer encoding in HTTP client API
2011-01-15 21:11:24 -02:00
Marcelo Roberto Jimenez
189ce59dbe
Null termination of strndup() implementation on systems missing it.
...
Also, implementation of strnlen() on systems missing it.
2011-01-14 22:05:22 -02:00
Marcelo Roberto Jimenez
4815e52586
Doxygen on membuffer.
2011-01-14 10:26:45 -02:00
Marcelo Roberto Jimenez
9051731a93
Minor change in membuffer.c to include "membuffer.h"
...
...without looking in the standard header path. This allows pupnp
to build in xcode.
2011-01-14 09:54:59 -02:00
Marcelo Roberto Jimenez
39fd869db8
Leave just one call to gmtime() in http_MakeMessage().
2011-01-02 22:36:13 -02:00
Marcelo Roberto Jimenez
8997e7fff6
Make sure va_end() is called in http_MakeMessage().
2011-01-02 22:31:10 -02:00
Marcelo Roberto Jimenez
7e8d1787c9
Fixes many problems in sample code.
...
In particular, undoes 25c908c558c8e60eb386c155a6b93add447ffec0:
SF Patch Tracker [ 2836704 ] Search for nested serviceList (not
stopping at the first lis
Submitted By: zephyrus ( zephyrus00jp )
The original zephyrus' code is still #ifdef'd in the file, if someone
wishes to fix it, check for "#ifdef OLD_FIND_SERVICE_CODE".
2010-12-23 22:22:32 -02:00
Marcelo Roberto Jimenez
70d2a7c9e7
Simplify code in SampleUtil_GetFirstDocumentItem().
2010-12-23 18:40:53 -02:00
Marcelo Roberto Jimenez
40e6e4503c
Doxygen and white spaces in samples.
2010-12-22 11:54:45 -02:00
Marcelo Roberto Jimenez
4b0c8d52b8
Remove unnecessary inclusion of param.h.
2010-12-22 11:02:14 -02:00
Marcelo Roberto Jimenez
c05bbec6ec
Fix for segfault in sample code.
2010-12-22 10:52:29 -02:00
Marcelo Roberto Jimenez
c8af5ec806
White spaces and some debugging information.
2010-12-22 09:55:48 -02:00
Marcelo Roberto Jimenez
1ee8cd9e1a
Ivan Romanov's system file inclusion patch for WIN32 (mingw).
2010-12-21 08:33:57 -02:00
Marcelo Roberto Jimenez
a0ebf23785
Missed this inline in ssdplib.h.
2010-12-19 22:57:01 -02:00
Marcelo Roberto Jimenez
cdf35baa34
Remove unused enum SsdpCmdType and unused typedef Event.
2010-12-19 22:53:08 -02:00
Marcelo Roberto Jimenez
6d7702d3a7
Syncronize ssdplib in 1.6.x and 1.8.x, part 2.
2010-12-19 21:39:19 -02:00
Marcelo Roberto Jimenez
6af93e6ca6
White spaces.
2010-12-19 21:19:44 -02:00
Marcelo Roberto Jimenez
2ce88f80f0
Syncronize ssdplib in 1.6.x and 1.8.x.
2010-12-19 21:14:39 -02:00
Marcelo Roberto Jimenez
f67ed1949b
Less include file mess and doxygenation.
2010-12-19 19:02:42 -02:00
Marcelo Roberto Jimenez
04d64a893b
Doxygenation of SSDP library.
2010-12-19 13:41:58 -02:00
Marcelo Roberto Jimenez
704dca3df1
Doxygen.
2010-12-18 20:01:49 -02:00
Marcelo Roberto Jimenez
b2a88aa70b
SF Tracker: Patches - Fedora mingw32 compilation - ID: 3138849
...
Details:
Hello. I trying compile libupnp-1.6.10 on the Fedora 14 MinGW
Environment and get many errors. I create patch to fix it. With this
patch i can get static library. This patch is very raw.
Submitted: Ivan Romanov (ivanromanov) - 2010-12-16 23:29:19 UTC
2010-12-18 19:29:24 -02:00
Marcelo Roberto Jimenez
bb5a80c05b
Get rid of useless integer typedefs.
...
Remove unsigned32, unsigned16 and unsigned8 references in the code.
2010-12-18 18:17:14 -02:00
Marcelo Roberto Jimenez
7e8e5621a8
Remove unnecessary header <sys/utsname.h> from upnpapi.c.
2010-12-18 18:09:35 -02:00
Marcelo Roberto Jimenez
462505ff62
Use the new include files UpnpIntTypes.h, UpnpStdInt.h and UpnpUniStd.h.
...
Trying to keep platform dependency on the headers and clean the main
code a little bit.
2010-12-18 17:08:36 -02:00
Marcelo Roberto Jimenez
d6418b3e17
White spaces.
2010-12-18 16:00:35 -02:00
Marcelo Roberto Jimenez
e8106e4f05
Doxygen.
2010-12-13 09:33:49 -02:00
Marcelo Roberto Jimenez
9a28fcc95b
Fixes a bug introduced in a previous commit in http_SendMessage.
...
The variable num_read was beeing used without beeing initialized.
Also, clean up the function return path and make sure va_end()
is beeing called.
2010-11-24 11:26:00 -02:00
Marcelo Roberto Jimenez
bfbd07cb40
Reformat calls to http_SendMessage().
2010-11-24 11:12:33 -02:00
Marcelo Roberto Jimenez
255d5ee874
soap_device: Doxygen and code reformat.
2010-11-24 11:10:18 -02:00