Commit Graph

9703 Commits

Author SHA1 Message Date
Viktor Szakats
e06dda2c13 2009-01-27 00:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/uhttpd/uhttpd.prg
    + Added callstack in RTE message (ugly but useful).
    ! Fixed RTE when displaying server status.
      (might have broken non-inet-mode)

  * contrib/examples/uhttpd/hbmk_b32.bat
  * contrib/examples/uhttpd/hbmk_vc.bat
    + Trying to shutdown server before build.
2009-01-26 23:23:19 +00:00
Pritpal Bedi
913cfad6ba 2009-01-26 15:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! Synchronized with GTWVT per Viktor's changes for box characters.
    ! Commented out previous change per Przemek's "Layered Attributes".
      Somehow, this change had increased the flickering of the window as
      it invalidates the whole window when it regain focus, not desirable
      behavior in GTWVG with GUI elelments.
2009-01-26 23:11:50 +00:00
Viktor Szakats
96c34194db 2009-01-26 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/uhttpd/hbmk_b32.bat
     ! Missed update from previous commit.
2009-01-26 22:38:01 +00:00
Viktor Szakats
7ee0421038 2009-01-26 23:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/uhttpd/hbmk_vc.bat
     + Added MSVC make file.

   * contrib/examples/uhttpd/socket.c
     ! Made it compile with MSVC.
     ! Added SVN header.

   * contrib/examples/uhttpd/uhttpd.prg
   + contrib/examples/uhttpd/uhttpdc.c
     + C level stuff moved to separate file.

   ; NOTE: I'm getting an "Argument error: +" when browse
           to http://localhost:8082 (using Chrome if that matters).
2009-01-26 22:35:42 +00:00
Viktor Szakats
5374dbd09f 2009-01-26 22:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rdd/usrrdd/example/exhsx.prg
    ! Removed HSXRDD references. It seems to work without them.

  * contrib/hbssl/ssl.c
    * Comment changes.
2009-01-26 21:58:08 +00:00
Francesco Saverio Giudice
f5bdccf82a 2009-01-26 22:45 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/source/rdd/usrrdd/rdds/arrayrdd.prg
    * fixed AR_CREATE() to be compatible with dbCreate() extension
      parameters
  * harbour/source/rdd/usrrdd/example/exarr.prg
    * updated
2009-01-26 21:46:51 +00:00
Pritpal Bedi
7c18347f57 2009-01-26 13:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbziparc/hbziparc.prg
    ! Fixed <acFiles> behavior if the parameter is not passed.
2009-01-26 21:05:39 +00:00
Przemyslaw Czerpak
fe43de6002 2009-01-26 21:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
  * harbour/source/codepage/cpeswinm.c
  * harbour/source/rdd/usrrdd/example/exlog.prg
  * harbour/source/rdd/usrrdd/rdds/logrdd.prg
  * harbour/contrib/xhb/dbgfx.prg
  * harbour/contrib/xhb/xhb.h
  * harbour/contrib/xhb/sprintf.prg
  * harbour/contrib/xhb/dbgfxc.c
  * harbour/contrib/xhb/hbstruct.prg
  * harbour/contrib/xhb/hbstruct.ch
  * harbour/contrib/hbmsql/tests/hbmk_b32.bat
  * harbour/contrib/hbmsql/tests/hbmk_vc.bat
    ! fixed hardcoded CRLF and svn:eol-style attribute
2009-01-26 20:21:57 +00:00
Viktor Szakats
c3242c1e02 disabled 2009-01-26 20:21:10 +00:00
Viktor Szakats
8e46452b13 2009-01-26 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbprintf.c
    ! Some fixes to make it compile under BCC.
      Still doesn't compile however.
      I'll rather disable this code for now, unless someone jumps
      in an fixes these problems.
    ; TOFIX: For MSVC, too:
      source\common\hbprintf.c(213) : error C2061: syntax error : identifier 'intmax_t'
      source\common\hbprintf.c(214) : error C2061: syntax error : identifier 'as_x_uintmax_t'
      source\common\hbprintf.c(214) : error C2059: syntax error : ';'
      source\common\hbprintf.c(222) : error C2059: syntax error : '}'
      source\common\hbprintf.c(226) : error C2061: syntax error : identifier 'x_type'
      source\common\hbprintf.c(227) : error C2059: syntax error : '}'
      source\common\hbprintf.c(379) : error C2146: syntax error : missing ')' before identifier 'value'
      source\common\hbprintf.c(379) : error C2081: 'uintmax_t' : name in formal parameter list illegal
      source\common\hbprintf.c(379) : error C2061: syntax error : identifier 'value'
      source\common\hbprintf.c(379) : error C2059: syntax error : ';'
      source\common\hbprintf.c(379) : error C2059: syntax error : ','
      source\common\hbprintf.c(379) : error C2059: syntax error : ')'
      source\common\hbprintf.c(434) : error C2146: syntax error : missing ')' before identifier 'value'
      source\common\hbprintf.c(434) : error C2081: 'uintmax_t' : name in formal parameter list illegal
      source\common\hbprintf.c(434) : error C2061: syntax error : identifier 'value'
      source\common\hbprintf.c(434) : error C2059: syntax error : ';'
      source\common\hbprintf.c(434) : error C2059: syntax error : ','
      source\common\hbprintf.c(435) : error C2059: syntax error : ')'
      source\common\hbprintf.c(615) : error C2146: syntax error : missing ')' before identifier 'value'
      source\common\hbprintf.c(615) : error C2081: 'uintmax_t' : name in formal parameter list illegal
      source\common\hbprintf.c(615) : error C2061: syntax error : identifier 'value'
      source\common\hbprintf.c(615) : error C2059: syntax error : ';'
      source\common\hbprintf.c(615) : error C2059: syntax error : ','
      source\common\hbprintf.c(616) : error C2059: syntax error : ')'
      source\common\hbprintf.c(700) : error C2059: syntax error : '{'
      source\common\hbprintf.c(700) : error C2065: 'n' : undeclared identifier
      source\common\hbprintf.c(700) : error C2059: syntax error : ')'
      source\common\hbprintf.c(702) : error C2143: syntax error : missing '{' before '-='
      source\common\hbprintf.c(702) : error C2059: syntax error : '-='
      source\common\hbprintf.c(703) : error C2059: syntax error : 'if'
      source\common\hbprintf.c(710) : error C2059: syntax error : 'while'
      source\common\hbprintf.c(717) : error C2059: syntax error : 'while'
      source\common\hbprintf.c(725) : error C2059: syntax error : 'return'
      source\common\hbprintf.c(726) : error C2059: syntax error : '}'
2009-01-26 20:19:10 +00:00
Francesco Saverio Giudice
b158b7656a 2009-01-26 20:24 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/ChangeLog
    * added missed entry I haven't uploaded and fixed my wrong phrase.
2009-01-26 19:28:23 +00:00
Viktor Szakats
cffcac1c84 2009-01-26 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * include/hbextern.ch
   * source/rtl/Makefile
   + source/rtl/strxor.c
     + Added HB_STRXOR() (work of Mindaugas Kavaliauskas)

   * common.mak
   * source/common/Makefile
   + source/common/hbprintf.c
     + Added hb_snprintf_c() (temp name, untested) (work of Przemyslaw Czerpak)
       [ I've added a normal Harbour license, as per your permission
       on the list. Pls give me feedback is this is wrong. ]

   * source/rdd/usrrdd/example/exlog.prg
     ! Fixed missing #includes.

   * source/rdd/usrrdd/example/hbmk_b32.bat
   + source/rdd/usrrdd/example/hbmk_vc.bat
     + Added MSVC make file.
     ! Added EOL to the last line to hbmk_b32.bat.
     ! xhb.lib dependency removed. It was not needed anyway.
     ; TOFIX: When compiling exhsx.prg, this happens:
              exhsx.obj : error LNK2001: unresolved external symbol _HB_FUN_HSXRDD

   * contrib/hbssl/sslsess.c
   * contrib/hbssl/sslctx.c
   * contrib/hbssl/sslciph.c
     * Minor changes.
2009-01-26 16:13:57 +00:00
Przemyslaw Czerpak
d0405e1e14 2009-01-26 16:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/darwin/gcc.cf
    ! changed CCACHE to HB_CCACHE
  * harbour/include/hbatomic.h
    ! removed unnecessary volatile casting in Darwin atomic function
      parameters
  * harbour/source/compiler/harbour.y
    ! cleaned one untyped expression assign
  (by Phil Krylov borrowed from xHarbour)

  * harbour/bin/hb-func.sh
    * updated contrib library last
2009-01-26 15:49:40 +00:00
Francesco Saverio Giudice
580e01d497 2009-01-26 16:47 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/source/rdd/usrrdd/rdds/arrayrdd.prg
    * fixed harbour version without using hbcompat.ch
      ; TODO: USRRDD not supports dbCreate() extension params
  + harbour/source/rdd/usrrdd/example/exarr.prg
    + ARRAYRDD example
  + harbour/source/rdd/usrrdd/example/hbmk_b32.bat
    + BCC make file
2009-01-26 15:47:34 +00:00
Francesco Saverio Giudice
206d3e50b3 2009-01-26 13:11 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/source/rdd/usrrdd/rdds/logrdd.prg
    * changed REQUEST to DYNAMIC HB_LOGRDDINHERIT
    * fixed typo: HB_UNUSED_VAR() is HB_SYMBOL_UNUSED()
  * harbour/source/rdd/usrrdd/example/exlog.prg
    * fixed typo: HB_UNUSED_VAR() is HB_SYMBOL_UNUSED()
2009-01-26 12:13:20 +00:00
Viktor Szakats
f1a453af44 2009-01-26 11:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbssl/sslctx.c
   * contrib/hbssl/ssl.c
     + Added more SSL API.

   * TODO
     * Updated.
2009-01-26 10:34:42 +00:00
Viktor Szakats
f9914544c7 minor 2009-01-26 09:37:25 +00:00
Viktor Szakats
4135b7f095 2009-01-26 10:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbssl/tests/test.prg
   * contrib/hbssl/ssl.c
     + More SSL API added.
2009-01-26 09:36:24 +00:00
Viktor Szakats
6caf855876 minor fix 2009-01-26 09:27:02 +00:00
Viktor Szakats
6af09f9680 2009-01-26 10:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbssl/common.mak
   * contrib/hbssl/Makefile
   * contrib/hbssl/hbssl.h
   + contrib/hbssl/sslsess.c
   + contrib/hbssl/sslciph.c
   * contrib/hbssl/ssl.c
   * contrib/hbssl/sslctx.c
   * contrib/hbssl/tests/test.prg
     + More SSL API added.
2009-01-26 09:19:55 +00:00
Francesco Saverio Giudice
398d1be0a0 2009-01-26 01:07 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + Added CGIExec() function
      Now uHTTPD supports external cgi executables.
      A big thank you to Giancarlo Niccolai that wrote Process*() functions
      a to Przemek that has ported them to harbour.
    ; NOTE: security has to be checked.
      A minimal executable test can be downloaded from:
      http://www.fsgiudice.com/testcgi.zip
      Expand into harbour/contrib/examples/uhttpd/home/cgi-bin, then run
      it using http://localhost:8082/cgi-bin/testcgi.exe
2009-01-26 00:07:10 +00:00
Viktor Szakats
69959c0516 minor to prev 2009-01-26 00:02:48 +00:00
Viktor Szakats
628ebab0b8 2009-01-26 00:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
   + contrib/hbssl
   + contrib/hbssl/Makefile
   + contrib/hbssl/common.mak
   + contrib/hbssl/make_b32.bat
   + contrib/hbssl/make_vc.bat
   + contrib/hbssl/make_gcc.sh
   + contrib/hbssl/hbssl.h
   + contrib/hbssl/hbssl.ch
   + contrib/hbssl/ssl.c
   + contrib/hbssl/sslctx.c
   + contrib/hbssl/sslrand.c
   + contrib/hbssl/tests
   + contrib/hbssl/tests/hbmk_b32.bat
   + contrib/hbssl/tests/hbmk_vc.bat
   + contrib/hbssl/tests/test.prg
     + Added Harbour bindings to OpenSSL.
       Work in progress, but it's theoretically already functional.
       To build, set your HB_DIR_OPENSSL or HB_INC_OPENSSL envvar.
     ; TOFIX: Makefile openssl autodetection should be adjusted.

   * contrib/examples/uhttpd
     ! Fixed SVN attributes. (except for /home dir)
2009-01-26 00:00:56 +00:00
Viktor Szakats
3fb63e0f0b 2009-01-25 22:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/philes.c
    ! FWRITE(): Fixed accessing past the string buffer (thus 
      causing potential GPF and a huge security hole) when
      the passed length is greate than the lenght of the string.
      Very old bug. In fact CA-Cl*pper suffers from the same 
      problem, and behavior for such case is not documented.
      Harbour will ignore the length parameter (thus writing 
      the whole passed string), if the length is invalid.
2009-01-25 21:19:17 +00:00
Francesco Saverio Giudice
a2e448aae3 2009-01-25 12:30 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + Added hb_Inet*() version
  * harbour/contrib/examples/uhttpd/hbmk_b32.bat
    + Added support for hb_Inet*() version
    ; NOTE:
      To use hb_Inet*() version build using
      hbmk_b32.bat --with-inet
2009-01-25 11:31:40 +00:00
Viktor Szakats
19daf0b148 2009-01-23 10:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkslib.sh
  * make_gnu.sh
    ! Removed unnecessary explicit darwin detection.

  * ChangeLog
    ! Removed tabs.
2009-01-23 09:25:46 +00:00
Mindaugas Kavaliauskas
6054f2132d 2009-01-22 18:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/hbmain.c
  * harbour/source/pp/hbpp.c
  * harbour/source/pp/ppcore.c
    + added __FILE__ define for .prg code
    ; Please, look if this is implemented the right and optimal way. 
      I'm a little confused about PP initialization order, and how 
      __DATE__, etc, survive after hb_pp_reset in compiler.
2009-01-22 16:21:57 +00:00
Lorenzo Fiorini
5ff136ef1f 2009-01-22 10:15 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* bin/hb-func.sh
    * fix darwin detection 
  * make_gnu.sh
    * fix darwin detection
	 * added ncurses detection logic like slang one
  * contrib/hbtip/ftpcln.prg
    * fixed wrong changes from nil to .f.
	 * someone in the past has done a mass change of the return values
	 * without checking the results
2009-01-22 09:16:45 +00:00
Lorenzo Fiorini
911bb802a4 2009-01-22 08:31:46 +00:00
Francesco Saverio Giudice
1b4ba5148c 2009-01-22 01:08 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
     + Added support for ini file (default: uhttpd.ini)
     + modified to add support to Lib GD on batch request
     * changed THREAD STATIC names with t_ prefix
     * changed all global STATIC names with s_ prefix
     - removed C level function EXE_FULLNAME (hb_argv( 0 ) does same)
  * harbour/contrib/examples/uhttpd/hbmk_b32.bat
    + now support LIBGD on request
  * harbour/contrib/examples/uhttpd/readme.txt
    * updated infos
  + harbour/contrib/examples/uhttpd/uhttpd.ini
    + Added default ini file
      if not found are used internal defaults or command line flags
  * harbour/contrib/examples/uhttpd/home/counter.html
    * Fixed typo
    ; NOTE:
      Hope that will follow multiplatform version.
2009-01-22 00:09:52 +00:00
Viktor Szakats
14c88c9406 minor typo 2009-01-21 20:47:46 +00:00
Viktor Szakats
a83b7dcdce 2009-01-21 21:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbhpdf/harupdf.ch
  * contrib/hbhpdf/harupdf.c
    + Added HPDF_VERSION_TEXT() function which returns the
      libharu version hbhpdf was linked against.
    - Removed #defined HPDF_VERSION_TEXT with hard-wired libharu
      version.
2009-01-21 20:46:58 +00:00
Przemyslaw Czerpak
93fab23315 2009-01-21 17:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/hbi18n.c
  + harbour/source/rtl/hbi18n1.c
    * renamed hbi18n.c to hbi18n1.c to avoid conflicts with hbi18n
      program - non GNU make files needs unique file names
    ! fixed bug in internal function __I18N_HASHTABLE()

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/hbi18n2.prg
    + added new I18N functions to manage .pot files and generate .hbl ones.
      public functions:
      HB_I18N_loadPot( <cFile>, [<pI18N>] [, @<cErrorMsg>] ) -> <pI18N> | NIL
         Reads .pot file and returns Harbour translation set or NIL when
         error appears. In such case <cErrorMsg> is contains error message
         string. If second parameter [<pI18N>] is given then translation
         items read from .pot file are added to this set. Otherwise new
         Harbour translation set is created.
      HB_I18N_savePot( <cFile>, <pI18N> [, @<cErrorMsg>] ) -> <lSuccess>
         Generates .pot file from Harbour translation set. Please note
         that Harbour translation set does not contain additional
         information which exists in original .pot files like source
         code numbers or alternative plural forms.
      internal functions for Harbour developers which will work on I18N
      tools:
      __I18N_potArrayLoad( <cFile> [, @<cErrorMsg>] ) -> <aTrans> | NIL
         Reads .pot file and returns array with translation items or
         NIL when error appears. In such case <cErrorMsg> is contains
         error message string.
         <aTrans> is an array with translation items containing additional
         informations from .pot file which are not necessary in final
         translation sets used at runtime. It's designed for I18N tools
         written in Harbour to manage .pot files and/or create .hbl ones.
      __I18N_potArraySave( <cFile>, <aTrans> [, @<cErrorMsg>] ) -> <lSuccess>
         Generates .pot file from array with translations items.
      __I18N_potArrayJoin( <aTrans>, <aTrans2> ) -> <aTrans>
         Join two arrays with translation items. Items from <aTrans2>
         are added to <aTrans>. If given translation item already exists
         in <aTrans> (the same msgctxt and msgid) then source code references
         are merged and translations from <aTrans2> are added only if
         <aTrans> does not have it.
      __I18N_potArrayToHash( <aTrans>, [<lEmpty>] [, <hI18N>] ) -> <hI18N>
         Converts array with translation items to hash table in the format
         used internally by Harbour translation sets. It's the same format
         as used __I18N_hashTable() function. The conversion removes data
         which is not necessary for runtime translations like source code
         references or alternative source plural forms.
         If second parameter <hI18N> is given then translation items form
         <aTrans> are added to it. Otherwise new hash table with is created.
         If <lEmpty> is .T. then also items with empty translation are added
         but source strings are used instead of missing destination ones.

  * harbour/include/hbextern.ch
    + added new I18N functions

  * harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/harbour.spec
  * harbour/mpkg_tgz.sh
  * harbour/make_b32.mak
  * harbour/make_vc.mak
  * harbour/make_gcc.mak
  * harbour/common.mak
  * harbour/utils/Makefile
  + harbour/utils/hbi18n
  + harbour/utils/hbi18n/hbi18n.prg
  + harbour/utils/hbi18n/Makefile
    + added very simple application to manage .pot/.hbl files
      Syntax: hbi18n -m | -g [-o<outfile>] [-e] [-q] <files1[.pot] ...>
         -m             merge given .pot files
         -g             generate .hbl file from given .pot files
         -o<outfile>    output file name
                        default is first .pot file name with
                        .po_ (merge) or .hbl extension
         -e             do not strip empty translation rules from .hbl files
         -q             quiet mode

      TODO: extend it and add support for interactive mode which will
            allow to edit translations.
2009-01-21 16:49:03 +00:00
Francesco Saverio Giudice
b674f9cb99 2009-01-21 17:38 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/Changelog
    * missed upload
2009-01-21 16:38:54 +00:00
Francesco Saverio Giudice
f1fa8fc24a 2009-01-21 17:02 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/hbmk_b32.bat
    * Updated with link where download bgd.dll
2009-01-21 16:03:40 +00:00
Lorenzo Fiorini
c2f7b962d4 2009-01-21 15:43:52 +00:00
Viktor Szakats
d5b2619490 2009-01-21 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
    + Added new .prg functions.
2009-01-21 09:43:16 +00:00
Przemyslaw Czerpak
2e7e6971ad 2009-01-21 10:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcrypt/sha1.h
  * harbour/contrib/hbcrypt/sha1.c
    ! disabled LITTLE_ENDIAN macro definition to avoid conflicts with
      macros using the same name defined in some system header files
      HB_LITTLE_ENDIAN used instead
2009-01-21 09:37:45 +00:00
Przemyslaw Czerpak
079f7c9859 2009-01-21 10:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * cleaned some typos

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/strtoexp.c
  * harbour/source/rtl/valtostr.c
    * moved my HB_STRTOEXP() function to separate file

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/strc.c
    + added two new functions to operate on C like strings:
      HB_STRDECODESCAPE( <cEscSeqStr> ) -> <cStr>
         Decode string with \ escape sequences.
      HB_STRCDECODE( <cStr> [, @<lCont> ] ) -> <cResult> | NIL
         Decode string using C compiler rules.
         If second parameter <lCont> is passed by reference then it allows
         to decode multiline strings. In such case <lCont> is set to .T.
         if string ends with unclosed "" quoting and next call to this
         function with lCont parameter continue string decoding.
         Function returns decoded string or NIL on syntax error.
      They will be helper functions for decoding .pot files.

  * harbour/source/rtl/hbi18n.c
  * harbour/source/rtl/hbstrsh.c
    % small optimizations
2009-01-21 08:59:24 +00:00
Viktor Szakats
4ba2c27af5 2009-01-20 23:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcrypt/sha1.c
    ! Fixed some BCC warnings.
2009-01-20 22:04:39 +00:00
Viktor Szakats
5f057a4265 2009-01-20 23:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcrypt/sha1.c
    ! Added #include <string.h> for mem*().
2009-01-20 22:01:14 +00:00
Viktor Szakats
820b5e89f6 2009-01-20 22:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcrypt/tests/testsha2.prg
    ! Fixed typo in some last minute (and untested) modifications.
2009-01-20 21:51:57 +00:00
Viktor Szakats
bc34aa71bb 2009-01-20 20:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  * contrib/Makefile
  + contrib/hbcrypt
  + contrib/hbcrypt/Makefile
  + contrib/hbcrypt/make_b32.bat
  + contrib/hbcrypt/make_vc.bat
  + contrib/hbcrypt/make_gcc.sh
  + contrib/hbcrypt/common.mak
  + contrib/hbcrypt/hbsha2.c
  + contrib/hbcrypt/hbsha2hm.c
  + contrib/hbcrypt/sha1.h
  + contrib/hbcrypt/sha1.c
  + contrib/hbcrypt/sha2.h
  + contrib/hbcrypt/sha2.c
  + contrib/hbcrypt/sha1hmac.h
  + contrib/hbcrypt/sha1hmac.c
  + contrib/hbcrypt/sha2hmac.h
  + contrib/hbcrypt/sha2hmac.c
  + contrib/hbcrypt/tests
  + contrib/hbcrypt/tests/testsha2.prg
  + contrib/hbcrypt/tests/hbmk_b32.bat
  + contrib/hbcrypt/tests/hbmk_vc.bat
    + Added hbcrypt library. Included .prg level functions:
      - HB_SHA224( <cMessage> ) -> <cDigest>
      - HB_SHA256( <cMessage> ) -> <cDigest>
      - HB_SHA384( <cMessage> ) -> <cDigest>
      - HB_SHA512( <cMessage> ) -> <cDigest>
      - HB_HMAC_SHA224( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA256( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA384( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA512( <cMessage>, <cKey> ) -> <cMAC>
    ; TODO: Add C level wrappers in Harbour namespace.
    ; TODO: Add .prg level wrappers for SHA1 functions + tests.
    ; TODO: Convert HB_MD5() work on binary data, rather than
            doing hexadecimal conversion accessible using
            standard Harbour functions anyway.
    ; TODO: Add other crypt functions (AES, ...).
    ; NOTE: I plan to move these functions to core, after they've
            matured here.
2009-01-20 19:56:40 +00:00
Viktor Szakats
eb06297b42 2009-01-20 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbhpdf/harupdf.c
    ! HPDF_SETINFODATEATTR() fixed taking date/time from the wrong
      parameter.
    ! HPDF_SETINFODATEATTR() fixed to initialize the date structure
      passed to libharu.

    ; NOTE: I've changed my editor config to automatically clean line
            ending spaces. This may cause larger diffs even for
            small modifications until all these spaces are cleaned
            from the sources. FYI.
2009-01-20 16:32:48 +00:00
Francesco Saverio Giudice
97d48cbd6d 2009-01-20 00:20 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
+ harbour/contrib/examples/uhttpd/modules/info.prg
    + New sample showing server variables
  * harbour/contrib/examples/uhttpd/home/index.html
  * harbour/contrib/examples/uhttpd/readme.txt
  * harbour/contrib/examples/uhttpd/uhttpd.prg
    * updated for new sample
2009-01-19 23:19:32 +00:00
Francesco Saverio Giudice
a602ff7193 2009-01-19 23:43 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/Changelog
    * fixed path of previous upload
2009-01-19 22:44:26 +00:00
Francesco Saverio Giudice
8f7a4429ae 2009-01-19 23:39 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
+ harbour/contrib/examples/uhttpd
  + harbour/contrib/examples/socket.c
  + harbour/contrib/examples/uhttpd.prg
  + harbour/contrib/examples/hbmk_b32.bat
  + harbour/contrib/examples/readme.txt
  + harbour/contrib/examples/home
  + harbour/contrib/examples/home/cgi-bin
  + harbour/contrib/examples/home/counter.html
  + harbour/contrib/examples/home/css
  + harbour/contrib/examples/home/css/base.css
  + harbour/contrib/examples/home/favicon.ico
  + harbour/contrib/examples/home/images
  + harbour/contrib/examples/home/images/ajax-loader.gif
  + harbour/contrib/examples/home/index.html
  + harbour/contrib/examples/home/js
  + harbour/contrib/examples/home/js/ajax.js
  + harbour/contrib/examples/home/testajax.html
  + harbour/contrib/examples/home/testxmldb.html
  + harbour/contrib/examples/home/xsl
  + harbour/contrib/examples/home/xsl/based.xsl
  + harbour/contrib/examples/home/xsl/basep.xsl
  + harbour/contrib/examples/logs
  + harbour/contrib/examples/modules
  + harbour/contrib/examples/modules/bldhrb.bat
  + harbour/contrib/examples/modules/showcounter.prg
  + harbour/contrib/examples/modules/tableservletdb.prg
  + harbour/contrib/examples/modules/testajax.prg
    + Uploaded first version of uHTTPD server.
    ; NOTE:
      This is first version of uHTTPD (micro HTTPD server) based
      on a sample shared from Mindaugas (thanks!).
      Actually is only for windows and BCC32.
      To build use hbmk_b32.bat
      Please read readme.txt before start to use.
2009-01-19 22:40:07 +00:00
Przemyslaw Czerpak
603ad8a1fd 2009-01-19 22:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
    * clone arrays and hash tables instead of coping when thread static
      variable is initialized

  + harbour/tests/mt/mttest12.prg
    + added demonstration/test code which illustrates thread static
      variables initialization
2009-01-19 21:13:58 +00:00
Przemyslaw Czerpak
4f94ab2609 2009-01-19 21:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/ctwin.h
    + added support for nested window shadows
2009-01-19 20:34:54 +00:00
Przemyslaw Czerpak
eea5355ce8 2009-01-19 19:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/ctwin.h
  * harbour/contrib/hbct/ctwfunc.c
    + added support for window shadows which clears highlight attributes
      instead of using fixed shadow color attribute
2009-01-19 18:30:49 +00:00