Revision: 13149
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13149&view=rev
Author: vszakats
Date: 2009-12-07 02:17:37 +0000 (Mon, 07 Dec 2009)
Log Message:
-----------
2009-12-07 02:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwince.h
+ Added following macros to help transitioning to new method
of CP conversion when interfacing with Windows API (both UNICODE
and non-UNICODE):
HB_PARSTR( n, h, len )
HB_RETSTR( str )
HB_RETSTRLEN( str, len )
HB_STORSTR( str, n )
HB_STORSTRLEN( str, len, n )
; The goal is to replace HB_TCHAR_*() macros and hb_osEncodeCP()
call with above ones. This will allow to use any CPs (even UTF8)
on the .prg level and transparently interface with Windows
with proper CP translation.
We will probably need a few more macros to store strings in
array elements f.e., but this is enough for a start.
* contrib/hbwin/wapi_shellapi.c
+ Experimental: WAPI_SHELLEXECUTE() converted to use above new
macros. It results in much cleaner code.
Minor incompatibility: 3rd parameter is now passed as-is, so
if non-string is passed it gets passed to Windows as NULL,
which isn't a valid input parameter.
; NOTE: Probably it will useful to have HB_PARSTRDEF() which also
accepts a default value to be used when non-string
parameter was passed. (to replace old hb_parcx() calls).
Is it possible to add such function or any other ways to solve that?
; TOFIX: I'm getting this warning:
warning: implicit declaration of function 'hb_setGetOSCP'
and it's probably too late, but I couldn't find a way to
include hbset.h without errors or with least side-effects.
Przemek, could you help?
* contrib/hbwin/win_prn1.c
* Formatting.
* src/rdd/dbcmd.c
* src/rdd/wafunc.c
+ Moved recently implemented codepage defaulting logic (_SET_DBCODEPAGE)
to lower lever functions.
Please review me.
* external/libpng/pngrio.c
* external/libpng/pngerror.c
* external/libpng/pngconf.h
* external/libpng/pngwrite.c
* external/libpng/pngset.c
* external/libpng/pngpread.c
* external/libpng/pngwtran.c
* external/libpng/LICENSE
* external/libpng/pngwio.c
* external/libpng/pngrutil.c
* external/libpng/pngwutil.c
* external/libpng/pngread.c
* external/libpng/pngmem.c
* external/libpng/png.c
* external/libpng/pngget.c
* external/libpng/pnggccrd.c
* external/libpng/png.h
* external/libpng/pngrtran.c
* external/libpng/pngtrans.c
* Updated to 1.2.41 (from 1.2.40)
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbwin/wapi_shellapi.c
trunk/harbour/contrib/hbwin/win_prn1.c
trunk/harbour/external/libpng/LICENSE
trunk/harbour/external/libpng/png.c
trunk/harbour/external/libpng/png.h
trunk/harbour/external/libpng/pngconf.h
trunk/harbour/external/libpng/pngerror.c
trunk/harbour/external/libpng/pnggccrd.c
trunk/harbour/external/libpng/pngget.c
trunk/harbour/external/libpng/pngmem.c
trunk/harbour/external/libpng/pngpread.c
trunk/harbour/external/libpng/pngread.c
trunk/harbour/external/libpng/pngrio.c
trunk/harbour/external/libpng/pngrtran.c
trunk/harbour/external/libpng/pngrutil.c
trunk/harbour/external/libpng/pngset.c
trunk/harbour/external/libpng/pngtrans.c
trunk/harbour/external/libpng/pngwio.c
trunk/harbour/external/libpng/pngwrite.c
trunk/harbour/external/libpng/pngwtran.c
trunk/harbour/external/libpng/pngwutil.c
trunk/harbour/include/hbwince.h
trunk/harbour/src/rdd/dbcmd.c
trunk/harbour/src/rdd/wafunc.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour