2009-07-30 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
+ contrib/hbwin/hbsim.ch
+ contrib/hbwin/wce_simc.c
+ contrib/hbwin/wce_smsc.c
+ contrib/hbwin/wce_sim.prg
+ contrib/hbwin/tests/testsim.prg
+ Added SIM reading and SMS sending interfaces for WinCE.
This is a contribution from Jose Luis Capel. Many thanks for it.
; NOTE:
mingwarm doesn't support these APIs unfortunately, poccarm does,
and msvcarm as well, but I couldn't try the latter.
(I've applied formatting, cleanups and some minor fixes)
Jose and all, please review and test.
* examples/httpsrv/uhttpd.prg
* examples/httpsrv/uhttpd.hbp
* examples/httpsrv/readme.txt
% Given less focus on the socket selection issue. Now the only
difference is .prg level API and local API is fully portable.
* Made the proprietary one the default on all platforms.
(it looks much more obvious/simple to use, also requires less
STATIC variables)
* contrib/hbwin/win_misc.c
! Fix for WinCE.
* ChangeLog
! Typos.
This commit is contained in:
@@ -9,9 +9,6 @@ Build it with GD: hbmk2 uhttpdgd.hbp
|
||||
[ This one needs bgd.dll. Please download it from:
|
||||
http://www.libgd.org/releases/gd-latest-win32.zip ]
|
||||
|
||||
Add -DUSE_HB_INET to command line if you want to use Harbour's
|
||||
built-in socket functions.
|
||||
|
||||
To see accepted parameters run: uhttpd -?
|
||||
Parameters can also be defined using uhttpd.ini file.
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
# Use -DUSE_HB_INET if you want to turn on Harbour internet socket.
|
||||
# It's always on on non-Windows systems.
|
||||
|
||||
-mt -gui uhttpd.prg cgifunc.prg cookie.prg session.prg socket.c
|
||||
|
||||
-l{win}hbwin
|
||||
|
||||
@@ -113,17 +113,12 @@
|
||||
#stdout "Lib GD support disabled"
|
||||
#endif
|
||||
|
||||
/* Force Harbour socket on non-Window systems */
|
||||
#if ! defined( __PLATFORM__WINDOWS ) .AND. ! defined( USE_HB_INET )
|
||||
#define USE_HB_INET
|
||||
#endif
|
||||
|
||||
#ifdef USE_HB_INET
|
||||
#define APP_INET_SUPPORT "_INET"
|
||||
#stdout "Harbour socket"
|
||||
#stdout "inet socket API"
|
||||
#else
|
||||
#define APP_INET_SUPPORT ""
|
||||
#stdout "Mindaugas socket"
|
||||
#stdout "custom socket API"
|
||||
#endif
|
||||
|
||||
#ifdef FIXED_THREADS
|
||||
|
||||
Reference in New Issue
Block a user