Marcelo Roberto Jimenez
4f5d0e1d70
Merge of similar code.
2010-10-04 13:19:00 -03:00
Marcelo Roberto Jimenez
e9d32ee903
Update files for windows compilation.
2010-10-04 10:57:19 -03:00
Marcelo Roberto Jimenez
10652572d7
Remove build/inc/config.h. The right file is upnp/src/inc/config.h.
...
(cherry picked from commit 3886a697b5
)
2010-10-04 10:53:22 -03:00
Fabrice Fontaine
82beb315c2
Addition of WEB_SERVER_CONTENT_LANGUAGE parameter
...
This patch adds the WEB_SERVER_CONTENT_LANGUAGE parameter so the user can specify
the language used by the device during Description and Presentation steps of UPnP
through the HTTP CONTENT-LANGUAGE header.
By default, the WEB_SERVER_CONTENT_LANGUAGE is an empty string so no
CONTENT-LANGUAGE is added.
(cherry picked from commit 2fcbe6df52
)
2010-09-21 08:50:18 -03:00
Fabrice Fontaine
4a8c4f5c50
Customize the stack size of the threads used by pupnp through the new THREAD_STACK_SIZE variable
...
This patch allows a user to customize the stack size of the threads used by
pupnp through the new THREAD_STACK_SIZE variable. This is especially useful
on embedded systems with limited memory where the user can set THREAD_STACK_SIZE
to ITHREAD_STACK_MIN.
However, as this modification can have side effects, I set 0 as the default
value, so threads will continue to use the default stack size of the system
(which varies greatly as stated in
https://computing.llnl.gov/tutorials/pthreads/ ).
(cherry picked from commit 467f9987a1
)
2010-09-18 06:47:34 -03:00
Marcelo Roberto Jimenez
123af5a67e
Get rid of evil CLIENTONLY macro.
2010-09-15 06:05:02 -03:00
Marcelo Roberto Jimenez
8b801fe1dc
White spaces.
2010-09-15 05:59:21 -03:00
Marcelo Roberto Jimenez
1548c9044d
Update of the build/inc/*.h files. They have not been updated since 1.4.7.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@456 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-07-23 18:43:02 +00:00
Marcelo Roberto Jimenez
6baedbab55
The same as the last patch, now for vc8.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@453 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-07-17 20:19:41 +00:00
Marcelo Roberto Jimenez
7d1e026c0c
Andre Sodermans (wienerschnitzel) patch for building libupnp under
...
windows systems with VC9. This one fixes a missing include.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@452 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-07-17 20:08:57 +00:00
Charles Nepveu
7a796b264e
Fixed the MSVC9 project files.
...
To be tested later when the EXPORT_SPEC thing is fixed.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@417 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-06-05 01:54:05 +00:00
Charles Nepveu
98e2b2b3af
Fixed the Visual Studio project file (ixml project):
...
- Added include directory "..\inc" where the autoconfig.h is relatively positionned.
Removed the #ifdef statement in ixmldebug.c file because now MSVC finds the autoconfig.h file.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@383 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-05-23 19:22:20 +00:00
Marcelo Roberto Jimenez
494613c23b
This file should be a copy of upnp/src/inc/config.h. This is a white space patch.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@382 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-05-23 18:59:44 +00:00
Charles Nepveu
0eba550da0
- Fixed the windows VS2005 project for release and debug.
...
- Fixed the win32 inclusion of "netinet/net.h" -> "ws2tcpip.h"
- Fixed thread ID cast.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@381 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-05-22 20:00:37 +00:00
Marcelo Roberto Jimenez
2e4a96f034
Merged Charles Nepveu's IPv6 work. libupnp now is IPv6 enabled.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@358 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-05-02 17:04:22 +00:00
Marcelo Roberto Jimenez
85024d9576
More of Andre Sodermans' vc8 patch.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@340 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-03-26 04:01:58 +00:00
Marcelo Roberto Jimenez
8d21e60a2f
Changing svn:eol-style back to native.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@337 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-03-25 03:17:21 +00:00
Marcelo Roberto Jimenez
0a173ca0c3
Andre Sodermans (wienerschnitzel) patch for building libupnp under
...
windows systems with VC9.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@335 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-03-22 17:10:29 +00:00
Marcelo Roberto Jimenez
e599661068
Andre Sodermans (wienerschnitzel) patch for building libupnp under
...
windows systems.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@333 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-03-20 23:34:45 +00:00
Marcelo Roberto Jimenez
0b39b2ad6c
* SF Bug Tracker [ 1902668 ] Cannot compile on MSVC
...
Submitted By Luke Kim - nereusuj
Version 1.6.5 cannot be compiled because of some changes in 1.6.3.
MSVC does not support stdint.h, gettimeofday(), sys/param.h, const int
variables in array size and Windows does not define _WINDOWS_ but define
_WINDOWS.
* MSVC does not understand "const int"'s as declarators of array
dimensions, we must use #define'd constants.
* Use WIN32 instead of _WINDOWS_ or _WINDOWS.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@331 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2008-03-09 01:16:58 +00:00
Marcelo Roberto Jimenez
b29de32110
White spaces.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@224 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-09-01 17:05:07 +00:00
Marcelo Roberto Jimenez
f7bb1f9582
Fixed the path in the documentation for upnpdebug.h.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@222 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-08-31 13:12:40 +00:00
Marcelo Roberto Jimenez
0a41ee988b
Moved msvc directory to be under the build directory.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@190 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-05-23 11:31:13 +00:00
Marcelo Roberto Jimenez
83fb96fbe2
Removed all uses of the DEVICEONLY(x) macro.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@187 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-05-19 02:10:02 +00:00
Marcelo Roberto Jimenez
2c1dba2942
- Fixed a bug in UpnpPrintf, function could call va_start() and return
...
befor calling va_end().
- Removed all uses of the DBGONLY(x) macro. A static inline empty
function now is used and the compiler takes care of optimizing it out.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@185 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-05-18 13:31:21 +00:00
Oxy
c3060e0d0b
typedef modifications for use with Borland Builder
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@141 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-03-03 14:36:58 +00:00
Oxy
2ac3819f8c
typedefs corrected, made MS VC++ specific to fix problems of that compiler
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@140 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-03-02 13:53:08 +00:00
Oxy
0d451c9c8e
(long long) cast replaced by a generic data type ulong64 that can be defined separately for every used system/compiler (did not work with VC++)
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@139 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-03-01 10:08:04 +00:00
Oxy
e31fcce11d
modified to compile and work under Windows
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@128 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2007-02-05 17:31:38 +00:00
Oxy
635d6ffa93
largefile modification adapted for Windows port
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@83 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-08-17 05:31:55 +00:00
Nektarios K. Papadopoulos
a26769b27b
Win32 build:
...
Changed absolute paths to relative.
pthreads-w32 Pre-built.2 directory contents are expected under pthreads.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@61 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-20 04:52:39 +00:00
Oxy
4a7708331c
changes for compilation with MS VC++
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@47 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-07 07:01:43 +00:00
Oxy
ab66940a89
changes for compilation with MS VC++
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@46 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-07 06:58:19 +00:00
Oxy
dfe3071af4
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@43 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-05 16:29:17 +00:00
Oxy
927b86545f
some minor modificationsto compile with Borland Builder
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@40 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-04 18:10:52 +00:00
Oxy
df3df9eaed
some minor modificationsto compile with Borland Builder
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@38 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-04 18:09:36 +00:00
Oxy
eefeb86a96
some minor modificationsto compile with Borland Builder
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@37 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-04 16:44:42 +00:00
Oxy
0452011b99
Bornalnd C++ Builder 5 project files
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@36 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-04 16:36:20 +00:00
Marcelo Roberto Jimenez
89e7a40fcc
Removing unnecessary additional directory level.
...
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@29 119443c7-1b9e-41f8-b6fc-b9c35fce742c
2006-07-04 02:44:17 +00:00