2017-09-13 12:38 UTC Viktor Szakats (vszakats users.noreply.github.com)

- doc/en/hashes.txt
  - doc/en/rdddb.txt
  * .gitattributes
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
  * contrib/sddsqlt3/tests/test.prg
  * ChangeLog.txt
  * doc/Makefile
  * doc/oldnews.txt
  * extras/ps32/readme.txt
  * extras/superlib/readme.txt
  * src/3rd/jpeg/Makefile
  * src/3rd/pcre/Makefile
  * src/3rd/png/Makefile
  * src/3rd/tiff/Makefile
  * src/3rd/zlib/Makefile
  + contrib/hbsms/DEPRECATED.txt
  + contrib/hbtpathy/DEPRECATED.txt
  + contrib/xhb/WARNING.txt
  * contrib/3rd/sqlite3/sqlite3.dif -> contrib/3rd/sqlite3/sqlite3.diff
  * contrib/hbbz2/3rd/bz2/bz2.dif -> contrib/hbbz2/3rd/bz2/bz2.diff
  * contrib/hbexpat/3rd/expat/expat.dif -> contrib/hbexpat/3rd/expat/expat.diff
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif -> contrib/hbhpdf/3rd/libhpdf/libhpdf.diff
  * contrib/hblzf/3rd/liblzf/liblzf.dif -> contrib/hblzf/3rd/liblzf/liblzf.diff
  * contrib/hbmxml/3rd/minixml/minixml.dif -> contrib/hbmxml/3rd/minixml/minixml.diff
  * contrib/hbmzip/3rd/minizip/minizip.dif -> contrib/hbmzip/3rd/minizip/minizip.diff
  * contrib/hbtinymt/3rd/tinymt/tinymt.dif -> contrib/hbtinymt/3rd/tinymt/tinymt.diff
  * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif -> contrib/hbxdiff/3rd/libxdiff/xdiff.diff
  * contrib/sddsqlt3/tests/test.sq3 -> contrib/sddsqlt3/tests/test.sqlite3
  * extras/dbu/dbu52.dif -> extras/dbu/dbu52.patch
  * extras/dbu/dbu53.dif -> extras/dbu/dbu53.patch
  * extras/ps32/ps32.dif -> extras/ps32/ps32.patch
  * extras/rl/rl.dif -> extras/rl/rl.patch
  * extras/superlib/superlib.dif -> extras/superlib/superlib.patch
  * extras/template/readme.txt -> extras/template/README.md
  * src/3rd/hbdossrl/README -> src/3rd/hbdossrl/README.txt
  * src/3rd/jpeg/jpeg.dif -> src/3rd/jpeg/jpeg.diff
  * src/3rd/pcre/pcre.dif -> src/3rd/pcre/pcre.diff
  * src/3rd/png/png.dif -> src/3rd/png/png.diff
  * src/3rd/tiff/tiff.dif -> src/3rd/tiff/tiff.diff
  * src/3rd/zlib/zlib.dif -> src/3rd/zlib/zlib.diff
  * tests/hbpptest/_pp_test.prg -> tests/hbpp/_pp_test.prg
  * tests/hbpptest/compare.hb -> tests/hbpp/compare.hb
  * tests/hbpptest/hbpptest.hbp -> tests/hbpp/hbpptest.hbp
  * tests/hbpptest/hbpptest.prg -> tests/hbpp/hbpptest.prg
  * tests/tflock.prg -> tests/flock.prg
  * contrib/hbfimage/fi_wrp.c -> contrib/hbfimage/core.c
  * contrib/hbodbc/browodbc.prg -> contrib/hbodbc/browse.prg
  * doc/cmdline.txt -> doc/cmdline.md
  * extras/dbu/readme.txt -> extras/dbu/README.md
  * extras/rl/readme.txt -> extras/rl/README.md
    * some file renames synced with 3.4 fork, plus the content of
      some of them. Some new text files added as well.
      Note, 3rd party code rediffing won't work anymore on 8.3
      filesystems.
This commit is contained in:
Viktor Szakats
2017-09-13 12:39:48 +00:00
parent b6cc8296fb
commit 0caff16650
61 changed files with 244 additions and 2411 deletions

5
.gitattributes vendored
View File

@@ -13,7 +13,7 @@ ChangeLog.txt ident
*.cpp text *.cpp text
*.css text *.css text
*.def text *.def text
*.dif text *.diff text
*.h text *.h text
*.hb text *.hb text
*.hbc text *.hbc text
@@ -30,6 +30,7 @@ ChangeLog.txt ident
*.mft text *.mft text
*.mk text *.mk text
*.nsi text *.nsi text
*.patch text
*.pem text *.pem text
*.po text *.po text
*.prg text *.prg text
@@ -73,7 +74,7 @@ ChangeLog.txt ident
*.pdf binary *.pdf binary
*.pfb binary *.pfb binary
*.png binary *.png binary
*.sq3 binary *.sqlite3 binary
*.tif binary *.tif binary
# TOTEST: # TOTEST:

View File

@@ -7,6 +7,72 @@
Entries may not always be in chronological/commit order. Entries may not always be in chronological/commit order.
See license at the end of file. */ See license at the end of file. */
2017-09-13 12:38 UTC Viktor Szakats (vszakats users.noreply.github.com)
- doc/en/hashes.txt
- doc/en/rdddb.txt
* .gitattributes
* contrib/3rd/sqlite3/sqlite3.hbp
* contrib/hbbz2/3rd/bz2/bz2.hbp
* contrib/hbexpat/3rd/expat/expat.hbp
* contrib/hbfimage/hbfimage.hbp
* contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
* contrib/hblzf/3rd/liblzf/lzf.hbp
* contrib/hbmxml/3rd/minixml/mxml.hbp
* contrib/hbmzip/3rd/minizip/minizip.hbp
* contrib/hbodbc/hbodbc.hbp
* contrib/hbtinymt/3rd/tinymt/tinymt.hbp
* contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
* contrib/sddsqlt3/tests/test.prg
* ChangeLog.txt
* doc/Makefile
* doc/oldnews.txt
* extras/ps32/readme.txt
* extras/superlib/readme.txt
* src/3rd/jpeg/Makefile
* src/3rd/pcre/Makefile
* src/3rd/png/Makefile
* src/3rd/tiff/Makefile
* src/3rd/zlib/Makefile
+ contrib/hbsms/DEPRECATED.txt
+ contrib/hbtpathy/DEPRECATED.txt
+ contrib/xhb/WARNING.txt
* contrib/3rd/sqlite3/sqlite3.dif -> contrib/3rd/sqlite3/sqlite3.diff
* contrib/hbbz2/3rd/bz2/bz2.dif -> contrib/hbbz2/3rd/bz2/bz2.diff
* contrib/hbexpat/3rd/expat/expat.dif -> contrib/hbexpat/3rd/expat/expat.diff
* contrib/hbhpdf/3rd/libhpdf/libhpdf.dif -> contrib/hbhpdf/3rd/libhpdf/libhpdf.diff
* contrib/hblzf/3rd/liblzf/liblzf.dif -> contrib/hblzf/3rd/liblzf/liblzf.diff
* contrib/hbmxml/3rd/minixml/minixml.dif -> contrib/hbmxml/3rd/minixml/minixml.diff
* contrib/hbmzip/3rd/minizip/minizip.dif -> contrib/hbmzip/3rd/minizip/minizip.diff
* contrib/hbtinymt/3rd/tinymt/tinymt.dif -> contrib/hbtinymt/3rd/tinymt/tinymt.diff
* contrib/hbxdiff/3rd/libxdiff/libxdiff.dif -> contrib/hbxdiff/3rd/libxdiff/xdiff.diff
* contrib/sddsqlt3/tests/test.sq3 -> contrib/sddsqlt3/tests/test.sqlite3
* extras/dbu/dbu52.dif -> extras/dbu/dbu52.patch
* extras/dbu/dbu53.dif -> extras/dbu/dbu53.patch
* extras/ps32/ps32.dif -> extras/ps32/ps32.patch
* extras/rl/rl.dif -> extras/rl/rl.patch
* extras/superlib/superlib.dif -> extras/superlib/superlib.patch
* extras/template/readme.txt -> extras/template/README.md
* src/3rd/hbdossrl/README -> src/3rd/hbdossrl/README.txt
* src/3rd/jpeg/jpeg.dif -> src/3rd/jpeg/jpeg.diff
* src/3rd/pcre/pcre.dif -> src/3rd/pcre/pcre.diff
* src/3rd/png/png.dif -> src/3rd/png/png.diff
* src/3rd/tiff/tiff.dif -> src/3rd/tiff/tiff.diff
* src/3rd/zlib/zlib.dif -> src/3rd/zlib/zlib.diff
* tests/hbpptest/_pp_test.prg -> tests/hbpp/_pp_test.prg
* tests/hbpptest/compare.hb -> tests/hbpp/compare.hb
* tests/hbpptest/hbpptest.hbp -> tests/hbpp/hbpptest.hbp
* tests/hbpptest/hbpptest.prg -> tests/hbpp/hbpptest.prg
* tests/tflock.prg -> tests/flock.prg
* contrib/hbfimage/fi_wrp.c -> contrib/hbfimage/core.c
* contrib/hbodbc/browodbc.prg -> contrib/hbodbc/browse.prg
* doc/cmdline.txt -> doc/cmdline.md
* extras/dbu/readme.txt -> extras/dbu/README.md
* extras/rl/readme.txt -> extras/rl/README.md
* some file renames synced with 3.4 fork, plus the content of
some of them. Some new text files added as well.
Note, 3rd party code rediffing won't work anymore on 8.3
filesystems.
2017-09-13 11:57 UTC Viktor Szakats (vszakats users.noreply.github.com) 2017-09-13 11:57 UTC Viktor Szakats (vszakats users.noreply.github.com)
+ src/rdd/usrrdd/rdds/arrayrdd.prg -> contrib/rddmisc/arrayrdd.prg + src/rdd/usrrdd/rdds/arrayrdd.prg -> contrib/rddmisc/arrayrdd.prg
+ src/rdd/usrrdd/rdds/dbtcdx.prg -> contrib/rddmisc/dbtcdx.prg + src/rdd/usrrdd/rdds/dbtcdx.prg -> contrib/rddmisc/dbtcdx.prg

View File

@@ -47,7 +47,7 @@ sqlite3.c
# ORIGIN http://www.sqlite.org/ # ORIGIN http://www.sqlite.org/
# VER 3.8.2 # VER 3.8.2
# URL http://sqlite.org/2013/sqlite-amalgamation-3080200.zip # URL http://sqlite.org/2013/sqlite-amalgamation-3080200.zip
# DIFF sqlite3.dif # DIFF sqlite3.diff
# #
# MAP sqlite3.c # MAP sqlite3.c
# MAP sqlite3.h # MAP sqlite3.h

View File

@@ -29,7 +29,7 @@ randtabl.c
# ORIGIN http://www.bzip.org/ # ORIGIN http://www.bzip.org/
# VER 1.0.6 # VER 1.0.6
# URL http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz # URL http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
# DIFF bz2.dif # DIFF bz2.diff
# #
# MAP LICENSE # MAP LICENSE
# MAP blocksort.c blocksor.c # MAP blocksort.c blocksor.c

View File

@@ -23,7 +23,7 @@ xmltok.c
# ORIGIN https://expat.sourceforge.net/ # ORIGIN https://expat.sourceforge.net/
# VER 2.2.1 # VER 2.2.1
# URL https://downloads.sourceforge.net/project/expat/expat/2.2.1/expat-2.2.1.tar.bz2 # URL https://downloads.sourceforge.net/project/expat/expat/2.2.1/expat-2.2.1.tar.bz2
# DIFF expat.dif # DIFF expat.diff
# #
# MAP COPYING # MAP COPYING
# MAP lib/xmlparse.c xmlparse.c # MAP lib/xmlparse.c xmlparse.c

View File

@@ -1,5 +1,5 @@
/* /*
* FreeImage graphic library low level (client api) interface code. * FreeImage graphic library low-level (client API) interface code.
* *
* Copyright 2005 Francesco Saverio Giudice <info@fsgiudice.com> * Copyright 2005 Francesco Saverio Giudice <info@fsgiudice.com>
* Copyright 2012 Viktor Szakats (vszakats.net/harbour) * Copyright 2012 Viktor Szakats (vszakats.net/harbour)
@@ -62,7 +62,7 @@
#include "FreeImage.h" #include "FreeImage.h"
#define hb_fi_retl( x ) hb_retl( x ? HB_TRUE : HB_FALSE ) #define hb_fi_retl( x ) hb_retl( ( x ) ? HB_TRUE : HB_FALSE )
#define hb_fi_parl( x ) ( hb_parl( x ) ? TRUE : FALSE ) #define hb_fi_parl( x ) ( hb_parl( x ) ? TRUE : FALSE )
/* Error callback */ /* Error callback */
@@ -208,10 +208,9 @@ static void hb_FIMULTIBITMAP_ret( FIMULTIBITMAP * bitmap )
hb_retptrGC( ( void * ) ptr ); hb_retptrGC( ( void * ) ptr );
} }
/* ************************* WRAPPED FUNCTIONS ****************************** */ /* *** WRAPPED FUNCTIONS *** */
/* Init / Error routines */ /* Init / Error routines */
/* --------------------- */
HB_FUNC( FI_INITIALISE ) HB_FUNC( FI_INITIALISE )
{ {
@@ -224,7 +223,6 @@ HB_FUNC( FI_DEINITIALISE )
} }
/* Version routines */ /* Version routines */
/* ---------------- */
HB_FUNC( FI_GETVERSION ) HB_FUNC( FI_GETVERSION )
{ {
@@ -237,7 +235,6 @@ HB_FUNC( FI_GETCOPYRIGHTMESSAGE )
} }
/* Message output functions */ /* Message output functions */
/* ------------------------ */
/* DLL_API void DLL_CALLCONV FreeImage_OutputMessageProc(int fif, const char *fmt, ...); */ /* DLL_API void DLL_CALLCONV FreeImage_OutputMessageProc(int fif, const char *fmt, ...); */
@@ -285,7 +282,6 @@ HB_FUNC( FI_SETOUTPUTMESSAGE )
} }
/* Allocate / Clone / Unload routines */ /* Allocate / Clone / Unload routines */
/* ---------------------------------- */
/* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Allocate(int width, int height, int bpp, unsigned red_mask FI_DEFAULT(0), unsigned green_mask FI_DEFAULT(0), unsigned blue_mask FI_DEFAULT(0)); */ /* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Allocate(int width, int height, int bpp, unsigned red_mask FI_DEFAULT(0), unsigned green_mask FI_DEFAULT(0), unsigned blue_mask FI_DEFAULT(0)); */
HB_FUNC( FI_ALLOCATE ) HB_FUNC( FI_ALLOCATE )
@@ -351,7 +347,6 @@ HB_FUNC( FI_UNLOAD )
#endif #endif
/* Load / Save routines */ /* Load / Save routines */
/* -------------------- */
/* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_LoadFromMemory(FREE_IMAGE_FORMAT fif, FIMEMORY *stream, int flags FI_DEFAULT(0)); */ /* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_LoadFromMemory(FREE_IMAGE_FORMAT fif, FIMEMORY *stream, int flags FI_DEFAULT(0)); */
/* DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0)); */ /* DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0)); */
@@ -423,7 +418,6 @@ HB_FUNC( FI_SAVE )
/* DLL_API BOOL DLL_CALLCONV FreeImage_SaveToHandle(FREE_IMAGE_FORMAT fif, FIBITMAP *dib, FreeImageIO *io, fi_handle handle, int flags FI_DEFAULT(0)); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_SaveToHandle(FREE_IMAGE_FORMAT fif, FIBITMAP *dib, FreeImageIO *io, fi_handle handle, int flags FI_DEFAULT(0)); */
/* Memory I/O stream routines */ /* Memory I/O stream routines */
/* -------------------------- */
/* /*
DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0)); DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0));
@@ -436,7 +430,6 @@ HB_FUNC( FI_SAVE )
*/ */
/* Plugin Interface */ /* Plugin Interface */
/* ---------------- */
/* /*
DLL_API FREE_IMAGE_FORMAT DLL_CALLCONV FreeImage_RegisterLocalPlugin(FI_InitProc proc_address, const char *format FI_DEFAULT(0), const char *description FI_DEFAULT(0), const char *extension FI_DEFAULT(0), const char *regexpr FI_DEFAULT(0)); DLL_API FREE_IMAGE_FORMAT DLL_CALLCONV FreeImage_RegisterLocalPlugin(FI_InitProc proc_address, const char *format FI_DEFAULT(0), const char *description FI_DEFAULT(0), const char *extension FI_DEFAULT(0), const char *regexpr FI_DEFAULT(0));
@@ -461,7 +454,6 @@ HB_FUNC( FI_SAVE )
*/ */
/* Multipaging interface */ /* Multipaging interface */
/* --------------------- */
/* DLL_API FIMULTIBITMAP * DLL_CALLCONV FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT fif, const char *filename, BOOL create_new, BOOL read_only, BOOL keep_cache_in_memory FI_DEFAULT(FALSE), int flags FI_DEFAULT(0)); */ /* DLL_API FIMULTIBITMAP * DLL_CALLCONV FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT fif, const char *filename, BOOL create_new, BOOL read_only, BOOL keep_cache_in_memory FI_DEFAULT(FALSE), int flags FI_DEFAULT(0)); */
HB_FUNC( FI_OPENMULTIBITMAP ) HB_FUNC( FI_OPENMULTIBITMAP )
@@ -614,7 +606,6 @@ HB_FUNC( FI_MOVEPAGE )
/* DLL_API BOOL DLL_CALLCONV FreeImage_GetLockedPageNumbers(FIMULTIBITMAP *bitmap, int *pages, int *count); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_GetLockedPageNumbers(FIMULTIBITMAP *bitmap, int *pages, int *count); */
/* Filetype request routines */ /* Filetype request routines */
/* ------------------------- */
/* DLL_API FREE_IMAGE_FORMAT DLL_CALLCONV FreeImage_GetFileType(const char *filename, int size FI_DEFAULT(0)); */ /* DLL_API FREE_IMAGE_FORMAT DLL_CALLCONV FreeImage_GetFileType(const char *filename, int size FI_DEFAULT(0)); */
HB_FUNC( FI_GETFILETYPE ) HB_FUNC( FI_GETFILETYPE )
@@ -649,18 +640,18 @@ HB_FUNC( FI_GETFILETYPEFROMMEMORY )
} }
/* Image type request routine */ /* Image type request routine */
/* -------------------------- */
HB_FUNC( FI_GETIMAGETYPE ) HB_FUNC( FI_GETIMAGETYPE )
{ {
if( hb_FIBITMAP_is( 1 ) ) if( hb_FIBITMAP_is( 1 ) )
if( dib )
hb_retni( FreeImage_GetImageType( hb_FIBITMAP_par( 1 ) ) ); hb_retni( FreeImage_GetImageType( hb_FIBITMAP_par( 1 ) ) );
else else
hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS ); hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
} }
/* FreeImage helper routines */ /* FreeImage helper routines */
/* ------------------------- */
/* DLL_API BOOL DLL_CALLCONV FreeImage_IsLittleEndian(void); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_IsLittleEndian(void); */
HB_FUNC( FI_ISLITTLEENDIAN ) HB_FUNC( FI_ISLITTLEENDIAN )
@@ -673,7 +664,6 @@ HB_FUNC( FI_ISLITTLEENDIAN )
/* Pixel access routines */ /* Pixel access routines */
/* --------------------- */
/* DLL_API BYTE *DLL_CALLCONV FreeImage_GetBits(FIBITMAP *dib); */ /* DLL_API BYTE *DLL_CALLCONV FreeImage_GetBits(FIBITMAP *dib); */
HB_FUNC( FI_GETBITS ) HB_FUNC( FI_GETBITS )
@@ -707,7 +697,6 @@ HB_FUNC( FI_GETSCANLINE )
*/ */
/* DIB info routines */ /* DIB info routines */
/* ----------------- */
HB_FUNC( FI_GETCOLORSUSED ) HB_FUNC( FI_GETCOLORSUSED )
{ {
@@ -970,7 +959,6 @@ HB_FUNC( FI_SETBACKGROUNDCOLOR )
} }
/* ICC profile routines */ /* ICC profile routines */
/* -------------------- */
/* DLL_API FIICCPROFILE *DLL_CALLCONV FreeImage_GetICCProfile(FIBITMAP *dib); */ /* DLL_API FIICCPROFILE *DLL_CALLCONV FreeImage_GetICCProfile(FIBITMAP *dib); */
HB_FUNC( FI_GETICCPROFILE ) HB_FUNC( FI_GETICCPROFILE )
@@ -1008,7 +996,6 @@ HB_FUNC( FI_DESTROYICCPROFILE )
} }
/* Line conversion routines */ /* Line conversion routines */
/* ------------------------ */
/* /*
DLL_API void DLL_CALLCONV FreeImage_ConvertLine1To4(BYTE *target, BYTE *source, int width_in_pixels); DLL_API void DLL_CALLCONV FreeImage_ConvertLine1To4(BYTE *target, BYTE *source, int width_in_pixels);
@@ -1050,7 +1037,6 @@ HB_FUNC( FI_DESTROYICCPROFILE )
*/ */
/* Smart conversion routines */ /* Smart conversion routines */
/* ------------------------- */
HB_FUNC( FI_CONVERTTO4BITS ) HB_FUNC( FI_CONVERTTO4BITS )
{ {
@@ -1188,7 +1174,6 @@ HB_FUNC( FI_CONVERTTOTYPE )
/* DLL_API FIBITMAP* DLL_CALLCONV FreeImage_TmoReinhard05(FIBITMAP *src, double intensity FI_DEFAULT(0), double contrast FI_DEFAULT(0)); */ /* DLL_API FIBITMAP* DLL_CALLCONV FreeImage_TmoReinhard05(FIBITMAP *src, double intensity FI_DEFAULT(0), double contrast FI_DEFAULT(0)); */
/* ZLib interface */ /* ZLib interface */
/* -------------- */
/* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibCompress(BYTE *target, DWORD target_size, BYTE *source, DWORD source_size); */ /* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibCompress(BYTE *target, DWORD target_size, BYTE *source, DWORD source_size); */
/* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibUncompress(BYTE *target, DWORD target_size, BYTE *source, DWORD source_size); */ /* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibUncompress(BYTE *target, DWORD target_size, BYTE *source, DWORD source_size); */
@@ -1197,7 +1182,6 @@ HB_FUNC( FI_CONVERTTOTYPE )
/* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibCRC32(DWORD crc, BYTE *source, DWORD source_size); */ /* DLL_API DWORD DLL_CALLCONV FreeImage_ZLibCRC32(DWORD crc, BYTE *source, DWORD source_size); */
/* Metadata routines */ /* Metadata routines */
/* ----------------- */
/* tag creation / destruction */ /* tag creation / destruction */
/* DLL_API FITAG *DLL_CALLCONV FreeImage_CreateTag(); */ /* DLL_API FITAG *DLL_CALLCONV FreeImage_CreateTag(); */
@@ -1237,7 +1221,6 @@ HB_FUNC( FI_CONVERTTOTYPE )
/* DLL_API const char* DLL_CALLCONV FreeImage_TagToString(FREE_IMAGE_MDMODEL model, FITAG *tag, char *Make FI_DEFAULT(NULL)); */ /* DLL_API const char* DLL_CALLCONV FreeImage_TagToString(FREE_IMAGE_MDMODEL model, FITAG *tag, char *Make FI_DEFAULT(NULL)); */
/* Image manipulation toolkit */ /* Image manipulation toolkit */
/* -------------------------- */
/* rotation and flipping */ /* rotation and flipping */
@@ -1300,7 +1283,6 @@ HB_FUNC( FI_FLIPVERTICAL )
/* DLL_API BOOL DLL_CALLCONV FreeImage_JPEGTransform(const char *src_file, const char *dst_file, FREE_IMAGE_JPEG_OPERATION operation, BOOL perfect FI_DEFAULT(FALSE)); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_JPEGTransform(const char *src_file, const char *dst_file, FREE_IMAGE_JPEG_OPERATION operation, BOOL perfect FI_DEFAULT(FALSE)); */
/* upsampling / downsampling */ /* upsampling / downsampling */
/* ------------------------- */
/* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Rescale(FIBITMAP *dib, int dst_width, int dst_height, FREE_IMAGE_FILTER filter); */ /* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Rescale(FIBITMAP *dib, int dst_width, int dst_height, FREE_IMAGE_FILTER filter); */
HB_FUNC( FI_RESCALE ) HB_FUNC( FI_RESCALE )
@@ -1322,7 +1304,6 @@ HB_FUNC( FI_RESCALE )
} }
/* color manipulation routines (point operations) */ /* color manipulation routines (point operations) */
/* ---------------------------------------------- */
/* DLL_API BOOL DLL_CALLCONV FreeImage_AdjustCurve(FIBITMAP *dib, BYTE *LUT, FREE_IMAGE_COLOR_CHANNEL channel); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_AdjustCurve(FIBITMAP *dib, BYTE *LUT, FREE_IMAGE_COLOR_CHANNEL channel); */
@@ -1382,7 +1363,6 @@ HB_FUNC( FI_INVERT )
/* DLL_API BOOL DLL_CALLCONV FreeImage_GetHistogram(FIBITMAP *dib, DWORD *histo, FREE_IMAGE_COLOR_CHANNEL channel FI_DEFAULT(FICC_BLACK)); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_GetHistogram(FIBITMAP *dib, DWORD *histo, FREE_IMAGE_COLOR_CHANNEL channel FI_DEFAULT(FICC_BLACK)); */
/* channel processing routines */ /* channel processing routines */
/* --------------------------- */
/* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_GetChannel(FIBITMAP *dib, FREE_IMAGE_COLOR_CHANNEL channel); */ /* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_GetChannel(FIBITMAP *dib, FREE_IMAGE_COLOR_CHANNEL channel); */
HB_FUNC( FI_GETCHANNEL ) HB_FUNC( FI_GETCHANNEL )
@@ -1404,7 +1384,6 @@ HB_FUNC( FI_GETCHANNEL )
/* DLL_API BOOL DLL_CALLCONV FreeImage_SetComplexChannel(FIBITMAP *dst, FIBITMAP *src, FREE_IMAGE_COLOR_CHANNEL channel); */ /* DLL_API BOOL DLL_CALLCONV FreeImage_SetComplexChannel(FIBITMAP *dst, FIBITMAP *src, FREE_IMAGE_COLOR_CHANNEL channel); */
/* copy / paste / composite routines */ /* copy / paste / composite routines */
/* --------------------------------- */
/* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Copy(FIBITMAP *dib, int left, int top, int right, int bottom); */ /* DLL_API FIBITMAP *DLL_CALLCONV FreeImage_Copy(FIBITMAP *dib, int left, int top, int right, int bottom); */
HB_FUNC( FI_COPY ) HB_FUNC( FI_COPY )

View File

@@ -20,4 +20,4 @@
${hb_name}.hbx ${hb_name}.hbx
fi_wrp.c core.c

View File

@@ -95,7 +95,7 @@ hpdfxref.c
# ORIGIN http://libharu.org/ # ORIGIN http://libharu.org/
# VER 2.3.0RC3 # VER 2.3.0RC3
# URL https://github.com/libharu/libharu/archive/RELEASE_2_3_0RC3.zip # URL https://github.com/libharu/libharu/archive/RELEASE_2_3_0RC3.zip
# DIFF libhpdf.dif # DIFF libhpdf.diff
# #
# MAP README # MAP README
# MAP src/hpdf_3dmeasure.c hpdf3dme.c # MAP src/hpdf_3dmeasure.c hpdf3dme.c

View File

@@ -21,7 +21,7 @@ lzf_d.c
# ORIGIN http://liblzf.plan9.de # ORIGIN http://liblzf.plan9.de
# VER 3.6 # VER 3.6
# URL http://dist.schmorp.de/liblzf/liblzf-3.6.tar.gz # URL http://dist.schmorp.de/liblzf/liblzf-3.6.tar.gz
# DIFF liblzf.dif # DIFF liblzf.diff
# #
# MAP LICENSE # MAP LICENSE
# MAP Changes # MAP Changes

View File

@@ -31,7 +31,7 @@ mxml_str.c
# ORIGIN http://www.minixml.org # ORIGIN http://www.minixml.org
# VER 2.8 # VER 2.8
# URL https://www.msweet.org/files/project3/mxml-2.8.tar.gz # URL https://www.msweet.org/files/project3/mxml-2.8.tar.gz
# DIFF minixml.dif # DIFF minixml.diff
# #
# MAP COPYING # MAP COPYING
# MAP config.h.in config.h # MAP config.h.in config.h

View File

@@ -29,7 +29,7 @@ unzip.c
# ORIGIN http://zlib.net/ # ORIGIN http://zlib.net/
# VER 1.2.8 # VER 1.2.8
# URL https://downloads.sourceforge.net/libpng/zlib128.zip # URL https://downloads.sourceforge.net/libpng/zlib128.zip
# DIFF minizip.dif # DIFF minizip.diff
# #
# MAP README # MAP README
# MAP contrib/minizip/crypt.h crypt.h # MAP contrib/minizip/crypt.h crypt.h

View File

@@ -5,6 +5,8 @@
* Copyright 1999-2001 Viktor Szakats (vszakats.net/harbour) for original FieldBlock function * Copyright 1999-2001 Viktor Szakats (vszakats.net/harbour) for original FieldBlock function
* Copyright 1999 Paul Tucker <ptucker@sympatico.ca> for original Skipped function * Copyright 1999 Paul Tucker <ptucker@sympatico.ca> for original Skipped function
* Copyright 2002 Tomaz Zupan <tomaz.zupan@orpo.si> modifications for ODBC * Copyright 2002 Tomaz Zupan <tomaz.zupan@orpo.si> modifications for ODBC
* This code is mostly derived work from Harbour RTL browse.prg, browdb.prg.
* and fieldbl.prg. Only minor changes were needed to adapt them to ODBC.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@@ -47,11 +49,6 @@
* *
*/ */
/* CREDITS:
* This code is mostly derived work from harbours RTL browse.prg, browdb.prg.
* and fieldbl.prg. Only minor changes were needed to adapt them to ODBC.
*/
#include "box.ch" #include "box.ch"
#include "inkey.ch" #include "inkey.ch"
#include "setcurs.ch" #include "setcurs.ch"
@@ -177,7 +174,7 @@ FUNCTION BrowseODBC( nTop, nLeft, nBottom, nRight, oDataSource )
RETURN .T. RETURN .T.
STATIC PROCEDURE Statline( oBrw, oDataSource ) STATIC PROCEDURE StatLine( oBrw, oDataSource )
LOCAL nTop := oBrw:nTop - 1 LOCAL nTop := oBrw:nTop - 1
LOCAL nRight := oBrw:nRight LOCAL nRight := oBrw:nRight
@@ -203,9 +200,10 @@ STATIC FUNCTION Skipped( nRecs, oDataSource )
LOCAL nSkipped := 0 LOCAL nSkipped := 0
IF ! oDataSource:Eof() IF ! oDataSource:Eof()
IF nRecs == 0 DO CASE
CASE nRecs == 0
// ODBC doesn't have Skip( 0 ) // ODBC doesn't have Skip( 0 )
ELSEIF nRecs > 0 CASE nRecs > 0
DO WHILE nSkipped < nRecs DO WHILE nSkipped < nRecs
IF ! oDataSource:Eof() IF ! oDataSource:Eof()
oDataSource:next() oDataSource:next()
@@ -216,7 +214,7 @@ STATIC FUNCTION Skipped( nRecs, oDataSource )
nSkipped++ nSkipped++
ENDIF ENDIF
ENDDO ENDDO
ELSEIF nRecs < 0 CASE nRecs < 0
DO WHILE nSkipped > nRecs DO WHILE nSkipped > nRecs
IF ! oDataSource:Bof() IF ! oDataSource:Bof()
oDataSource:prior() oDataSource:prior()
@@ -226,7 +224,7 @@ STATIC FUNCTION Skipped( nRecs, oDataSource )
nSkipped-- nSkipped--
ENDIF ENDIF
ENDDO ENDDO
ENDIF ENDCASE
ENDIF ENDIF
RETURN nSkipped RETURN nSkipped

View File

@@ -20,4 +20,4 @@ ${hb_name}.hbx
odbc.c odbc.c
todbc.prg todbc.prg
browodbc.prg browse.prg

View File

@@ -0,0 +1,6 @@
This contrib is deprecated and not maintained anymore.
It also never leapt out of an experimental stage, so use it with caution.
Please either copy this code to your local application to continue using it,
or switch to a 3rd party solution ASAP.

View File

@@ -16,7 +16,7 @@ tinymt64.c
# ORIGIN http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/TINYMT/ # ORIGIN http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/TINYMT/
# VER 1.0.3 # VER 1.0.3
# URL http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/TINYMT/TinyMT-src-1.0.3.zip # URL http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/TINYMT/TinyMT-src-1.0.3.zip
# DIFF tinymt.dif # DIFF tinymt.diff
# #
# MAP LICENSE.txt LICENSE.txt # MAP LICENSE.txt LICENSE.txt
# MAP tinymt/tinymt32.c tinymt32.c # MAP tinymt/tinymt32.c tinymt32.c

View File

@@ -0,0 +1,6 @@
This contrib is deprecated and not maintained anymore.
It also hasn't been tested in a long time, so it likely contains bugs.
it's also an incomplete implementation of the original API.
Please switch to the Harbour core serial API ASAP.

View File

@@ -29,7 +29,7 @@ xversion.c
# ORIGIN http://www.xmailserver.org/xdiff-lib.html # ORIGIN http://www.xmailserver.org/xdiff-lib.html
# VER 0.23 # VER 0.23
# URL http://www.xmailserver.org/libxdiff-0.23.tar.gz # URL http://www.xmailserver.org/libxdiff-0.23.tar.gz
# DIFF libxdiff.dif # DIFF xdiff.diff
# #
# MAP AUTHORS # MAP AUTHORS
# MAP COPYING # MAP COPYING

View File

@@ -22,7 +22,7 @@ PROCEDURE Main()
AEval( rddList(), {| X | QOut( X ) } ) AEval( rddList(), {| X | QOut( X ) } )
? "-1-" ? "-1-"
? "Connect:", tmp := rddInfo( RDDI_CONNECT, { "SQLITE3", hb_DirBase() + "test.sq3" } ) ? "Connect:", tmp := rddInfo( RDDI_CONNECT, { "SQLITE3", hb_DirBase() + "test.sqlite3" } )
IF tmp == 0 IF tmp == 0
? "Unable connect to the server" ? "Unable connect to the server"
ENDIF ENDIF

24
contrib/xhb/WARNING.txt Normal file
View File

@@ -0,0 +1,24 @@
WARNING for XHB contrib users
=============================
This contrib is deprecated and not maintained anymore.
This was originally meant as a temporary stop-gap solution to help migrating
existing code written for xHarbour to Harbour, plus a means of documenting
the differences between these two branches of the language. The recommended
path is to gradually migrate to use native core Harbour functions and core
language elements, then finalize that process by dropping the need for this
library.
Linking this library and/or using its headers (`hbcompat.ch` and `xhb.ch` in
particular) may cause various unintended side-effects both at compilation
and runtime.
Most of this code is also never tested by this fork, and none of it is ever
used, so the chances of bugs is higher than in other parts of Harbour.
If you can't do without some parts of this code, feel free to fork it locally
or publicly and continue maintaining it there, otherwise try switching to
core Harbour functionality ASAP.
-Viktor

View File

@@ -4,7 +4,7 @@ DOC_FILES := \
c_std.txt \ c_std.txt \
class_tp.txt \ class_tp.txt \
clipper.txt \ clipper.txt \
cmdline.txt \ cmdline.md \
cmpopt.txt \ cmpopt.txt \
codebloc.txt \ codebloc.txt \
codestyl.txt \ codestyl.txt \

98
doc/cmdline.md Normal file
View File

@@ -0,0 +1,98 @@
# Harbour switch handling spec
This spec goes for `CLIPPERCMD`, `HARBOURCMD`, Harbour compiler and
`#pragma` directives in the source code.
The command-line always overrides the envvar.
Note that some switches are not accepted in envvar, some others in
`#pragma`s.
First the parser should start to step through all the tokens in the
string separated by whitespace. (or just walk through all `argv[]`)
1. If the token begins with `-`, it should be treated as a new style switch.
One or more switch characters can follow this. The `-` sign inside the
token will turn off the switch.
If the switch has an argument all the following characters are treated
as part of the argument.
The `/` sign has no special meaning here.
```
Switch Resulting options
-wn ( W N )
-w-n ( !W N )
-wi/harbour/include/ ( W I=/harbour/include/ )
-wi/harbour/include/n ( W I=/harbour/include/n )
-wes0n ( W ES=0 N )
-wen ( W [invalid switch: e] N )
-wesn ( W ES=Default(0) N )
-wses ( W S ES=Default(0) )
-wess ( W ES=Default(0) S )
- ( [invalid switch] )
-w-n-p ( !W !N P )
-w-n-p- ( !W !N !P )
-w- -w -w- ( finally: !W )
```
2. If the token begins with `/`, it should be treated as a compatibility
style switch.
The parser scans the token for the next `/` sign or `EOS` and treats the
resulting string as one switch.
This means that a switch with an argument containing `/` sign has some
limitations. This may be solved by allowing the usage of quote characters.
This is mostly a problem on systems which use `/` as path separator.
The `-` sign has no special meaning here, it cannot be used to disable
a switch.
```
Switch Resulting options
/w/n ( W N )
/wo/n ( [invalid switch: wo] N )
/ihello/world/ ( I=hello [invalid switch: world] [invalid switch: /] )
/i"hello/world/"/w ( I=hello/world/ W )
/ihello\world\ ( I=hello\world\ )
```
3. If the token begins with anything else it should be skipped.
The Harbour switches are always case insensitive.
In the Harbour command-line the two style can be used together:
```
harbour -wnes2 /gc0/q0 -iC:\hb\include
```
Exceptions:
- Handling of the `/CREDIT` undocumented switch on Harbour command-line
is unusual, check the current code for this.
- `CLIPPER`, `HARBOUR` envvars and Harbour application command-line
parsing is a different beast, see `src/vm/cmdarg.c` for a NOTE.
Just some examples for the various accepted forms:
```
//F20 == /F20 == F20 == F:20 == F20X
F20//F:30000000 NOIDLE
F0NOIDLEX10
SQUAWKNOIDLE
```
`//` should always be used on the command-line.
---
Copyright (c) 1999-2009 Viktor Szakats (vszakats.net/harbour)
Licensed under Creative Commons Attribution-ShareAlike 4.0:
<https://creativecommons.org/licenses/by-sa/4.0/>
See LICENSE.txt

View File

@@ -1,98 +0,0 @@
Harbour switch handling spec
============================
This spec goes for CLIPPERCMD, HARBOURCMD, Harbour
compiler and #pragma directives in the source code.
The command line always overrides the envvar.
Note that some switches are not accepted in envvar,
some others in #pragmas.
First the parser should start to step through
all the tokens in the string separated by
whitespace. (or just walk through all argv[])
1.) If the token begins with "-", it
should be treated as a new style switch.
One or more switch characters can follow
this. The "-" sign inside the token
will turn off the switch.
If the switch has an argument all the following
characters are treated as part of the argument.
The "/" sign has no special meaning here.
Switch Resulting options
-wn ( W N )
-w-n ( !W N )
-wi/harbour/include/ ( W I=/harbour/include/ )
-wi/harbour/include/n ( W I=/harbour/include/n )
-wes0n ( W ES=0 N )
-wen ( W [invalid switch: e] N )
-wesn ( W ES=Default(0) N )
-wses ( W S ES=Default(0) )
-wess ( W ES=Default(0) S )
- ( [invalid switch] )
-w-n-p ( !W !N P )
-w-n-p- ( !W !N !P )
-w- -w -w- ( finally: !W )
2.) If the token begins with "/", it
should be treated as a compatibility style switch.
The parser scans the token for the next "/" sign or EOS
and treats the resulting string as one switch.
This means that a switch with an argument containing
"/" sign has some limitations. This may be solved by
allowing the usage of quote characters. This is mostly
a problem on systems which use "/" as path separator.
The "-" sign has no special meaning here, it can't be
used to disable a switch.
Switch Resulting options
/w/n ( W N )
/wo/n ( [invalid switch: wo] N )
/ihello/world/ ( I=hello [invalid switch: world] [invalid switch: /] )
/i"hello/world/"/w ( I=hello/world/ W )
/ihello\world\ ( I=hello\world\ )
3.) If the token begins with anything else it should
be skipped.
The Harbour switches are always case insensitive.
In the Harbour commandline the two style can be used together:
harbour -wnes2 /gc0/q0 -iC:\hello
Exceptions:
- Handling of the /CREDIT undocumented switch
on Harbour command line is unusual, check the current code
for this.
- The CLIPPER, HARBOUR and Harbour application
command line parsing is a different beast,
see cmdarg.c for a NOTE.
Just some examples for the various accepted forms:
//F20 == /F20 == F20 == F:20 == F20X
//TMPPATH:C:\hello
F20//TMPPATH:/temp///F:30000000 NOIDLE
F0NOIDLEX10
SQUAWKNOIDLE
"//" should always be used on the command line.
[ Copyright (c) 1999-2009 Viktor Szakats (vszakats.net/harbour)
Licensed under Creative Commons Attribution-ShareAlike 4.0:
<https://creativecommons.org/licenses/by-sa/4.0/>
See LICENSE.txt ]

View File

@@ -1,967 +0,0 @@
/*
* Copyright 2009 April White <bright.tigra gmail.com>
* Copyright 2007 Przemyslaw Czerpak <druzus / at / priv.onet.pl>
*
* See COPYING.txt for licensing terms.
*
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_Hash()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns a hash table
$SYNTAX$
hb_Hash( [ <Key1>, <Value1> ], [ <KeyN>, <ValueN> ], ... ) -> hsTable
$ARGUMENTS$
<Key1> entry key;
can be of type: number, date, datetime, string, pointer
<Value1> entry value; can be of type: block, string, numeric, date/datetime, logical, nil, pointer, array, hash table
Equivalent to:
hsTable := { => }
hsTable := { <Key1> => <Value1>, <Key2> => <Value2>, <KeyN> => <ValueN> }
$RETURNS$
A hash table built from the initial key/value pairs
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HHasKey()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Determines whether a hash table has an entry with a give key
$SYNTAX$
hb_HHasKey( <hsTable>, <Key> ) -> lExists
$ARGUMENTS$
<hsTable> a hash table
<Key> a key value to be queried for;
can be of type: number, date, datetime, string, pointer
$RETURNS$
A logical value indicating whether the key exists within the hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HPos()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Locates the index of a key within a hash table
$SYNTAX$
hb_HPos( <hsTable>, <Key> ) -> nPosition
$ARGUMENTS$
<hsTable> a hash table
<Key> key for which its position is to be determined;
can be of type: number, date, datetime, string, pointer
$RETURNS$
A integer number being the index position of the key within the hash table.
TODO: what is the return value if the key does not exist? zero (0)? RTE?
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HGet()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns a hash value
$SYNTAX$
hb_HGet( <hsTable>, <Key> ) -> <Value>
$ARGUMENTS$
<hsTable> a hash table
<Key> key to be retrieve from the hash table;
can be of type: number, date, datetime, string, pointer
$RETURNS$
Either the value within the hash table for the given key.
An array access error occurs of the key is not found
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HGetDef()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns a hash value, or a default value if the key is not present
$SYNTAX$
hb_HGetDef( <hsTable>, <Key>, [<DefaultValue>] ) -> <Value>
$ARGUMENTS$
<hsTable> a hash table
<Key> key to be retrieve from the hash table;
can be of type: number, date, datetime, string, pointer
<DefaultValue> a default value to be returned if the
hash table does not contain the key
$RETURNS$
Either the value within the hash table for the given key,
or the default value.
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HSet()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Sets a hash value
$SYNTAX$
hb_HSet( <hsTable>, <Key>, <Value> ) -> <hsTable>
$ARGUMENTS$
<hsTable> a hash table
<Key> the key of the entry to be set;
can be of type: number, date, datetime, string, pointer
<Value> the entry value
$RETURNS$
The hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HDel()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Removes a key/value pair from a hash table
$SYNTAX$
hb_HDel( <hsTable>, <Key> ) -> <hsTable>
$ARGUMENTS$
<hsTable> a hash table
<Key> key to be removed from the hash table;
can be of type: number, date, datetime, string, pointer
$RETURNS$
The hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HKeyAt()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Gets a hash table key at a given position
$SYNTAX$
hb_HKeyAt( <hsTable>, <nPosition> ) -> <Key>
$ARGUMENTS$
<hsTable> a hash table
<nPosition> the position of an entry within the hash table that will
be returned
$RETURNS$
The key at the given position of the hash table;
the type will be one: number, date, datetime, string, pointer
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HValueAt()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Gets/sets a hash value at a given position
$SYNTAX$
hb_HValueAt( <hsTable>, <nPosition>, [<NewValue>] ) -> <Value>
$ARGUMENTS$
<hsTable> a hash table
<nPosition> the position of an entry within the hash table that will
be returned
<NewValue> a new value to be assigned to the hash table at the given
position
$RETURNS$
The existing value, or the new value if it is given
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HPairAt()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns a two-dimensional array of a hash table entry key/value pair
$SYNTAX$
hb_HPairAt( <hsTable>, <nPosition> ) -> <aKeyValue>
$ARGUMENTS$
<hsTable> a hash table
<nPosition> the position of an entry within the hash table that will
be returned
$RETURNS$
A two-dimensional array of the key/value pair entry of the hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HDelAt()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Removes an entry from a hash table based on its index position
$SYNTAX$
hb_HDelAt( <hsTable>, <nPosition> ) -> <hsTable>
$ARGUMENTS$
<hsTable> a hash table
<nPosition> the position of an entry within the hash table that will
be deleted
$RETURNS$
The hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HKeys()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns an array of the keys of a hash table
$SYNTAX$
hb_HKeys( <hsTable> ) -> <aKeys>
$ARGUMENTS$
<hsTable> a hash table
$RETURNS$
An array of all the hash table keys
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HValues()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns an array of the values of a hash table
$SYNTAX$
hb_HValues( <hsTable> ) -> <aValues>
$ARGUMENTS$
<hsTable> a hash table
$RETURNS$
An array of all the hash values
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HFill()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Fills a hash table with a value
$SYNTAX$
hb_HFill( <hsTable>, <Value> ) -> <hsTable>
$ARGUMENTS$
<hsTable> a hash table
<Value> fill value; can be of type: block, string, numeric, date/datetime, logical, nil, pointer, array, hash table
$RETURNS$
The hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HClone()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Creates a copy of a hash table
$SYNTAX$
hb_HClone( <hsTable> ) -> <hsDestination>
$ARGUMENTS$
<hsTable> a hash table
$RETURNS$
A cloned copy of the hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HCopy()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Adds entries from the source hash table to the destination hash table
$SYNTAX$
hb_HCopy( <hsDestination>, <hsSource>, [<nStart>], [<nCount>] ) -> <hsDestination>
$ARGUMENTS$
<hsDestination> a destination hash table
<hsSource> a source hash table
<nStart> starting index, defaults to 1 if omitted
<nCount> counter, defaults to (length) - <nStart> is omitted
$RETURNS$
The destination hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HMerge()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Merges a source hash table into a destination hash table
$SYNTAX$
hb_HMerge( <hsDestination>, <hsSource>, <bBlock>|<nPosition> ) -> <hsDestination>
$ARGUMENTS$
<hsDestination> a destination hash table
<hsSource> a source hash table
<bBlock> a code block that will be evaluated for each entry within the
source hash table; the code block will be passed the entry key, value and
position; if the code block returns a true value, the entry will be added to
the destination hash table
<nPosition> the position of an entry within the source hash table that will
be appended to the destination hash table
TODO: the source code passes either a number or HB_HASH_UNION; research this
$RETURNS$
The destination hash table with the contents of the source hash table merged
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HEval()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Evaluate a code block across the contents of a hash table
$SYNTAX$
hb_HEval( <hsTable>, <bBlock>, [<nStart>], [<nCount>] ) -> <hsTable>
$ARGUMENTS$
<hsTable> a hash table
<bBlock> code block to be evaluated
<nStart> starting index, defaults to 1 if omitted
<nCount> counter, defaults to (length) - <nStart> is omitted
$RETURNS$
The hash table
$DESCRIPTION$
The code block is evaluated for every hash table entry starting at
<nStart> for <nCount> items.
The code block is passed the entry key, value, and numeric position
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HScan()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Scans a hash table
$SYNTAX$
hb_HScan( <hsTable>, <Value>, [<nStart>], [<nCount>, [<lExact>] ) -> nPosition
$ARGUMENTS$
<hsTable> a hash table
<Value> to be located within the hash table
<nStart> starting index, defaults to 1 if omitted
<nCount> counter, defaults to (length) - <nStart> is omitted
<lExact> logical valuye indicating whether the comparision
is to be be exact or not
$RETURNS$
The position of the located value within the hash table, or zero (0) if not found.
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HSort()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Reorganizes the internal list of the hash table to be sorted
$SYNTAX$
hb_HSort( <hsTable> ) -> <hsSortedTable>
$ARGUMENTS$
<hsTable> a hash table
$RETURNS$
The hash table sorted
TODO: is the original table altered?
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HCaseMatch()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Sets the 'case match' flag for the hash table
$SYNTAX$
hb_HCaseMatch( <hsTable>, [<lFlag>] ) -> <lPreviousFlag>
$ARGUMENTS$
<hsTable> a hash table
<lFlag> a logical value indicating to turn on or off
the 'case match' flag of the hash table
$RETURNS$
The previous value of the 'case match' flag
$DESCRIPTION$
This function returns the old flag value
$EXAMPLES$
LOCAL hsTable, lFlag
hsTable := { "one" => 1, "two" => 2 }
// turn 'case match' on for a new hash table, storing ol flag
lFlag := hb_HCaseMatch( hsTable, .T. )
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HBinary()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Sets the 'binary' flag for the hash table
$SYNTAX$
hb_HBinary( <hsTable>, [<lFlag>] ) -> <lPreviousFlag>
$ARGUMENTS$
<hsTable> a hash table
<lFlag> a logical value indicating to turn on or off
the 'binary' flag of the hash table
$RETURNS$
The previous value of the 'binary' flag
$DESCRIPTION$
This function is equivalent to hb_HBinary() but it returns
the old flag value rather than the hash table
$EXAMPLES$
LOCAL hsTable, lFlag
hsTable := { "one" => 1, "two" => 2 }
// turn 'binary' on for a new hash table, storing ol flag
lFlag := hb_HBinary( hsTable, .T. )
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HAutoAdd()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Sets the 'auto add' flag for the hash table
$SYNTAX$
hb_HAutoAdd( <hsTable>, [<lFlag>] ) -> <lPreviousFlag>
$ARGUMENTS$
<hsTable> a hash table
<lFlag> a logical value indicating to turn on or off
the 'auto add' flag of the hash table
$RETURNS$
The previous value of the 'auto add' flag
$DESCRIPTION$
This function is equivalent to hb_HAutoAdd() but it returns
the old flag value rather than the hash table
$EXAMPLES$
LOCAL hsTable, lFlag
hsTable := { "one" => 1, "two" => 2 }
// turn 'auto add' on for a new hash table, storing ol flag
lFlag := hb_HAutoAdd( hsTable, .T. )
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Procedure
$NAME$
hb_HAllocate()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Preallocates a hash table
$SYNTAX$
hb_HAllocate( <hsTable>, <nItems> )
$ARGUMENTS$
<hsTable> a hash table
<nItems> number of items to preallocate in the hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
$END$
*/
/* $DOC$
$TEMPLATE$
Function
$NAME$
hb_HDefault()
$CATEGORY$
API
$SUBCATEGORY$
Hash table
$ONELINER$
Returns/sets a default value for a hash table.
$SYNTAX$
hb_HDefault( <hsTable>, <DefaultValue> ) -> <OldDefaultValye>
$ARGUMENTS$
<hsTable> a hash table
<DefaultValue>
$RETURNS$
The previous default value assigned to the hash table
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
H
$PLATFORMS$
$FILES$
$SEEALSO$
TODO: locate and list those methods that use this feature
$END$
*/

File diff suppressed because it is too large Load Diff

View File

@@ -854,8 +854,8 @@ Version 1.0.0 rc1 (2008-06-04) tag: 1.0.0rc1
General General
============================= =============================
- The SourceForge repository was moved from CVS to SVN - The source repository was moved from CVS to SVN
- added docs/howtorep.txt - added docs/howtovcs.txt
- changed pack_src.sh to extract list of files from local SVN copy using - changed pack_src.sh to extract list of files from local SVN copy using
SVN commands SVN commands
- improved CYGWIN compatibility - improved CYGWIN compatibility
@@ -870,15 +870,15 @@ General
who want to change the grammar files needs bison who want to change the grammar files needs bison
- removed all HB_COMPAT_XHB definitions from source code - now all covered - removed all HB_COMPAT_XHB definitions from source code - now all covered
extensions should be supported by hbcompat.ch and/or xhb library extensions should be supported by hbcompat.ch and/or xhb library
- removed 3-rd party header files from SVN, f.e.: ace.h - removed 3rd party header files from SVN, f.e.: ace.h
Portability Portability
----------- -----------
- eliminated errno access for platforms which do not have it. - eliminated errno access for platforms which do not have it.
- added support for PocketPC WINCE with MSVC, POCC, CeGCC and MinGWCE. - added support for PocketPC WINCE with MSVC, POCC, CeGCC and MinGWCE.
- added support for cross WinCE builds - added support for cross WinCE builds
- extended hb* scripts for cross builds: hbw* - Win32, hbce* - WinCE - extended hb* scripts for cross builds: hbw* - Windows, hbce* - WinCE
- added support for creating RPMs with Harbour cross build for Win32 and - added support for creating RPMs with Harbour cross build for Windows and
WinCE. WinCE.
- added support for MS-Windows UNICDE builds. - added support for MS-Windows UNICDE builds.
- added support for shared libraries (.sl) in HPUX builds - added support for shared libraries (.sl) in HPUX builds

View File

@@ -8,10 +8,10 @@
3.) Apply supplied patch to the source using GNU Patch: 3.) Apply supplied patch to the source using GNU Patch:
For CA-Cl*pper 5.2e sources: For CA-Cl*pper 5.2e sources:
patch -lNi dbu52.dif patch -lNi dbu52.patch
For CA-Cl*pper 5.3b sources: For CA-Cl*pper 5.3b sources:
patch -lNi dbu53.dif patch -lNi dbu53.patch
4.) Build it: 4.) Build it:
hbmk2 dbu.hbp hbmk2 dbu.hbp

View File

@@ -10,7 +10,7 @@
PSTest.prg PSTest.prg
3.) Apply supplied patch to the source using GNU Patch: 3.) Apply supplied patch to the source using GNU Patch:
patch -lNi ps32.dif patch -lNi ps32.patch
4.) Build it: 4.) Build it:
hbmk2 ps32.hbp hbmk2 ps32.hbp

View File

@@ -6,7 +6,7 @@
hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.prg" hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.prg"
3.) Apply supplied patch to the source using GNU Patch: 3.) Apply supplied patch to the source using GNU Patch:
patch -lNi rl.dif patch -lNi rl.patch
4.) Build it: 4.) Build it:
hbmk2 rl.hbp hbmk2 rl.hbp

View File

@@ -13,7 +13,7 @@
hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.prg" hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.prg"
4.) Apply supplied patch to the source using GNU Patch: 4.) Apply supplied patch to the source using GNU Patch:
patch -lNi superlib.dif patch -lNi superlib.patch
5.) Build it: 5.) Build it:
hbmk2 superlib.hbp hbmk2 superlib.hbp

View File

@@ -102,7 +102,7 @@ endif
# ORIGIN http://www.ijg.org/ # ORIGIN http://www.ijg.org/
# VER 9a # VER 9a
# URL http://www.ijg.org/files/jpegsrc.v9a.tar.gz # URL http://www.ijg.org/files/jpegsrc.v9a.tar.gz
# DIFF jpeg.dif # DIFF jpeg.diff
# #
# MAP README # MAP README
# MAP cderror.h # MAP cderror.h

View File

@@ -80,7 +80,7 @@ endif
# ORIGIN http://www.pcre.org/ # ORIGIN http://www.pcre.org/
# VER 8.34 # VER 8.34
# URL ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gz # URL ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gz
# DIFF pcre.dif # DIFF pcre.diff
# #
# MAP LICENCE # MAP LICENCE
# MAP config.h.generic config.h # MAP config.h.generic config.h

View File

@@ -66,7 +66,7 @@ endif
# ORIGIN http://libpng.org/pub/png/libpng.html # ORIGIN http://libpng.org/pub/png/libpng.html
# VER 1.6.8 # VER 1.6.8
# URL http://downloads.sourceforge.net/libpng/libpng-1.6.8.tar.gz # URL http://downloads.sourceforge.net/libpng/libpng-1.6.8.tar.gz
# DIFF png.dif # DIFF png.diff
# #
# MAP LICENSE # MAP LICENSE
# MAP png.c # MAP png.c

View File

@@ -91,7 +91,7 @@ endif
# ORIGIN http://www.remotesensing.org/libtiff/ # ORIGIN http://www.remotesensing.org/libtiff/
# VER 4.0.3 # VER 4.0.3
# URL http://download.osgeo.org/libtiff/tiff-4.0.3.zip # URL http://download.osgeo.org/libtiff/tiff-4.0.3.zip
# DIFF tiff.dif # DIFF tiff.diff
# #
# MAP COPYRIGHT LICENSE # MAP COPYRIGHT LICENSE
# MAP libtiff/tif_aux.c auxtif.c # MAP libtiff/tif_aux.c auxtif.c

View File

@@ -57,7 +57,7 @@ endif
# ORIGIN http://zlib.net/ # ORIGIN http://zlib.net/
# VER 1.2.11 # VER 1.2.11
# URL https://github.com/madler/zlib/archive/v1.2.11.zip # URL https://github.com/madler/zlib/archive/v1.2.11.zip
# DIFF zlib.dif # DIFF zlib.diff
# #
# MAP README # MAP README
# MAP adler32.c # MAP adler32.c