Commit Graph

397 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
d44fea92a9 2009-03-11 17:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdate.h
  * harbour/source/common/hbgete.c
  * harbour/source/common/hbdate.c
  * harbour/source/rtl/seconds.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/contrib/hbct/files.c
  * harbour/contrib/xhb/filestat.c
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/examples/uhttpd/uhttpdc.c
    * cleaned feature test macros usage
2009-03-11 16:39:32 +00:00
Przemyslaw Czerpak
f3bf261945 2009-03-11 16:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbdate.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/seconds.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
  * harbour/contrib/hbct/files.c
    * cleaned feature test macros usage
2009-03-11 15:22:17 +00:00
Przemyslaw Czerpak
bea44c1f1a 2009-03-11 00:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbgete.c
    ! fixed setenv() usage in some OpenWatcom ports

  * harbour/source/compiler/cmdcheck.c
    ! fixed casting for C++ compilation

  * harbour/source/rtl/gttrm/gttrm.c
    * removed some trailing spaces
2009-03-10 23:46:26 +00:00
Przemyslaw Czerpak
b8b600f2cb 2009-03-07 19:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbgete.c
    * added suport for BSD systems

  * harbour/contrib/examples/uhttpd/uhttpd.prg
    ! fixed private declaration - after last modification they were not
      declared for threads at all
    ! fixed close procedure, s_aRunningThreads and s_aServiceThreads
      where not protected at all in the moment when these variables
      variables where used inside aeval() and other threads were
      resizing them removing their pointers. In short word it was
      in practice impossible to cleanly close uhttpd server without
      GPF, deadlock or other bad side effects. I changed this code so
      these arrays are modified only by calling procedure.
      I do not know why it was written in such way but I guess it
      was workaround for xHarbour bugs. In xHarbour is race condition
      inside some functions like ThreadJoin() (RTE if thread finished
      just before ThreadJoin(<pThID>)). Harbour does not have such
      problems so I simply cleaned this code making it much simpler.
    * reactivated hb_gcAll( .T. ) in the main loop for tests.
      I made some tests with linux and current uhttpd works perfectly
      without any problems with and without hb_gcAll( .t. ).
      I haven't noticed any problems. I used this scripts to make
      tests:
         #!/bin/sh
         function GT_UHTTPD()
         {
            while curl http://127.0.0.1:8082/ > /dev/null
            do
               if ! curl http://127.0.0.1:8082/serverstatus > /dev/null
               then
                  exit
               fi
               # disable it if you want to increase traffic
               if ! curl http://127.0.0.1:8082/info > /dev/null
               then
                  exit
               fi
               if [ -f stop ]
               then
                  exit
               fi
            done
         }
         for i in `seq 10`
         do
            GT_UHTTPD &>/dev/null &
         done
         wait

      on three CPU machine. Please make some test with other systems.
2009-03-07 18:51:08 +00:00
Viktor Szakats
dc7cdeb762 2009-03-07 12:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed recently introd problem with path sep translation.

  * source/common/hbgete.c
    + Enabled Darwin support.

  * contrib/examples/uhttpd/modules/showcounter.prg
    ! Protected whole code with GD_SUPPORT.
2009-03-07 11:51:14 +00:00
Viktor Szakats
a1fd463ba2 2009-03-06 10:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -gh switch detection and workings.
      (Francesco, pls check now allmod.hbm)
    + -gt switch can now be filtered. (-gtwin{win})
    ! -gui switch won't anymore add '-Wl,-mwindows' C compiler switch
      on *nix systems. Someone pls confirm this is right.
    * icc will use -vc postfixed .dlls. They seem to be binary
      compatible, but I didn't test.
    % Using __PLATFORM__UNIX macro where applicable.
    ! Ignoring -o Harbour option passed using '-prgflag:'

  * INSTALL
    + Added some details.

  * mpkg_win.bat
    ! Don't create install files if the make process returned
      with error.

  * source/lang/msg_tpl.c
    ! Removed ending ';'.

  * source/vm/Makefile
    + Added icc to generate maindllh.lib.

  * source/common/hbfsapi.c
    ! Removed obsolete 'extern hb_fhnd_ForceLink()'.

  * config/rules.cf
  * config/lib.cf
  * config/bin.cf
    % Compiling all .prg files with -n1 switch.

  * contrib/examples/uhttpd/uhttpdc.c
    * Cleaned Windows headers usage.
      #define HB_OS_WIN_USED is safe to use on all platforms,
      it just requests the Windows headers, and if compiled on
      Windows, it will #include them.

  * contrib/examples/uhttpd/uhttpd.prg
    + Automatically sets USE_HB_INET on non-Windows platforms.

  - contrib/examples/uhttpd/uhttpd-inet.hbm
  - contrib/examples/uhttpd/uhttpdgd-inet.hbm
    - Removed files no longer necessary.

  * contrib/examples/uhttpd/uhttpd.hbm
    + Added comment about -DUSE_HB_INET option.
    % Removed -lhbct
2009-03-06 09:21:06 +00:00
Przemyslaw Czerpak
cfc48878a4 2009-03-06 02:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbhash.h
  * harbour/source/pp/pplib2.c
  * harbour/source/pp/hbpp.c
  * harbour/source/lang/msghuiso.c
  * harbour/source/lang/msgskiso.c
  * harbour/source/lang/msgrukoi.c
  * harbour/source/lang/msghuwin.c
  * harbour/source/lang/msgzhgb.c
  * harbour/source/lang/msgskwin.c
  * harbour/source/lang/msgruwin.c
  * harbour/source/lang/msgelwin.c
  * harbour/source/lang/msgro.c
  * harbour/source/lang/msgpt.c
  * harbour/source/lang/msghriso.c
  * harbour/source/lang/msghrwin.c
  * harbour/source/lang/msgsliso.c
  * harbour/source/lang/msgbe866.c
  * harbour/source/lang/msghe862.c
  * harbour/source/lang/msgslwin.c
  * harbour/source/lang/msgcskam.c
  * harbour/source/lang/msggl.c
  * harbour/source/lang/msgtrwin.c
  * harbour/source/lang/msgeo.c
  * harbour/source/lang/msgbgiso.c
  * harbour/source/lang/msgbgwin.c
  * harbour/source/lang/msgskkam.c
  * harbour/source/lang/msges.c
  * harbour/source/lang/msguakoi.c
  * harbour/source/lang/msgzhb5.c
  * harbour/source/lang/msgeu.c
  * harbour/source/lang/msgpl852.c
  * harbour/source/lang/msgsr852.c
  * harbour/source/lang/msguawin.c
  * harbour/source/lang/msgde.c
  * harbour/source/lang/msgtr857.c
  * harbour/source/lang/msgru866.c
  * harbour/source/lang/msgcs852.c
  * harbour/source/lang/msgfr.c
  * harbour/source/lang/msgis850.c
  * harbour/source/lang/msgnl.c
  * harbour/source/lang/msghu852.c
  * harbour/source/lang/msgsk852.c
  * harbour/source/lang/msgplmaz.c
  * harbour/source/lang/msgca.c
  * harbour/source/lang/msgpliso.c
  * harbour/source/lang/msgbgmik.c
  * harbour/source/lang/msgplwin.c
  * harbour/source/lang/msgbg866.c
  * harbour/source/lang/msgid.c
  * harbour/source/lang/msgltwin.c
  * harbour/source/lang/msgptiso.c
  * harbour/source/lang/msgsriso.c
  * harbour/source/lang/msgel.c
  * harbour/source/lang/msgsrwin.c
  * harbour/source/lang/msgbewin.c
  * harbour/source/lang/msgdewin.c
  * harbour/source/lang/msghr437.c
  * harbour/source/lang/msghr852.c
  * harbour/source/lang/msgko.c
  * harbour/source/lang/msgua866.c
  * harbour/source/lang/msghewin.c
  * harbour/source/lang/msgit.c
  * harbour/source/lang/msgsl437.c
  * harbour/source/lang/msgsl852.c
  * harbour/source/lang/msghucwi.c
  * harbour/source/lang/msgcsiso.c
  * harbour/source/lang/msgcswin.c
  * harbour/source/lang/msgeswin.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/hashes.c
  * harbour/source/vm/memvars.c
  * harbour/source/common/expropt1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/hbsix/sxutil.c
  * harbour/source/compiler/harbour.y
    * minor code cleanup:
      - pacified some warnings
      - added some missing declarations
      - removed redundant ;
2009-03-06 01:11:27 +00:00
Przemyslaw Czerpak
bbf7ed5155 2009-03-05 21:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
    ! added missing return statement
2009-03-05 20:47:10 +00:00
Przemyslaw Czerpak
d44ee7b66b 2009-03-05 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbwince.h
  * harbour/source/common/hbgete.c
  * harbour/source/common/hbwince.c
    + added BOOL hb_setenv( const char * szName, const char * szValue )
      It sets or deletes (szValue==NULL) environment variable.
      Please add support for other compilers/OS-es or define
      unsupported platforms to eliminate TODO warning.
      For sure OS2 version have to be updated.

  * harbour/source/rtl/gete.c
    + added .prg function:
         HB_SETENV( <cEnvName>, [<cNewVal>] [, <lOsCP>] ) -> <lOK>
      which sets or deletes (when <cNewVal> is NIL) process environment
      variable <cEnvName>. <lOsCP> controls character translation to
      OS encoding. By default is enabled.
      TOFIX: <cEnvName> OS character encoding is missing in [HB_]_GETENV()
2009-03-05 18:38:33 +00:00
Przemyslaw Czerpak
edda1a9e26 2009-03-05 18:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * do not use modfl() in WinCE POCC builds. If MSVC also does not
      support if in WinCE builds then please change the condition to
      global HB_OS_WIN_CE
2009-03-05 17:05:04 +00:00
Viktor Szakats
e4d64e698b 2009-03-04 08:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * HB_INC_OPENSSL sample corrected to point to real-life header dir.
    + Added cygwin compiler. gcc temply removed from doc list.
    % Removed unnecessary -n hbmk2 switches.
    + Added cygwin section.

  * utils/hbmk2/hbmk2.prg
    + Don't add gtnul as a real library.
      Please test, I've never used GTNUL.
    + Added support for cygwin compiler value.
      (works the same as current 'win/gcc' combination)
    ! Typo in rare error messages.
    ! Removed -no-cygwin option from cygwin gcc command line.

  * source/common/hbprintf.c
  * contrib/hbssl/sslrand.c
    ! Fixed to compile with cygwin.
    ; TOFIX:
      when running hbtest.exe:
      Error DBFNTX/1011  Write error: _hbtmp_.dbf
      Called from DBCREATE(0)
      Called from TEST_BEGIN(0)
      Called from MAIN(0)

  * make_gnu.sh
    + Added cygwin detection.

  * config/win/gcc.cf
  + config/win/cygwin.cf
    + Added separate cygwin make config.
      gcc is now just a map to cygwin.
2009-03-04 07:00:29 +00:00
Przemyslaw Czerpak
5e59c5954c 2009-03-03 19:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    * check if some define constants exists before use - it should
      fix compilation in some WinCE builds, f.e. with MSVC

  * harbour/source/common/hbprintf.c
    * disabled _LIB_VERSION setting in DJGPP builds - if we need it
      for some reasons then it should be done in different which does
      not create multiple instances of this variable
2009-03-03 18:49:36 +00:00
Przemyslaw Czerpak
4f7bb3e481 2009-02-25 03:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/config/linux/icc.cf
  * harbour/config/linux/gcc.cf
  * harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
  * harbour/source/common/hbver.c
    + added support for Intel(R) C/C++ compiler

  * harbour/bin/postinst.sh
    % use hb-mkdyn symlink instead of regenerating it as hb-mkslib
      It will work also in DOS/Windows (MSys/DJGPP emulates ln -s ...)

  * harbour/source/vm/thread.c
    * removed all references to HB_THREAD_EQUAL()/HB_THREAD_SELF() in
      non MT builds

  * harbour/source/rtl/console.c
    ! fixed default color setting in hb_dispOutAtBox()

  * harbour/contrib/gtwvg/wvggui.h
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wincallb.c
  * harbour/contrib/gtwvg/wvgsink.c
    ! fixes for C++ compilation:
      - this is reserved word in C++ - do not use it as variable name
      - class is reserved word in C++ - do not use it as variable name
      - use macros to hide differences between C and C++ WinAPI
      - casting
2009-02-25 02:32:40 +00:00
Viktor Szakats
8f02046bff 2009-02-20 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
    ! Fixed hb_verPlatform() to avoid confusion for other
      parts of Harbour (and maybe even app code) parsing the
      returned string and expecting some format. NOTE added
      about this to source to avoid similar errors in future.
      The Wine text got moved between the Windows name and
      version number, and have been put into paranthesis:
      Like: 'Windows XP SP3 (Wine) 5.1'. Please test.
2009-02-20 12:44:11 +00:00
Viktor Szakats
15944de000 2009-02-13 13:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
    + Added Windows 7 and Windows Server 2008 R2 detection.

  * source/rtl/dateshb.c
    * Minor formatting.
2009-02-13 12:08:09 +00:00
Viktor Szakats
bc6e1a9b3e 2009-02-12 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
  * include/hbapi.h
  * source/common/hbprintf.c
  * source/common/hbstr.c
    + Temporarily enabled local hb_snprintf() implementation.
    ; Please test. If it's okay, we can enable it permanently.

  * contrib/rddsql/sddmy/make_b32.bat
  * contrib/rddsql/sddmy/make_vc.bat
  * contrib/rddsql/sddpg/make_b32.bat
  * contrib/rddsql/sddpg/make_vc.bat
  * contrib/rddsql/sddfb/make_b32.bat
  * contrib/rddsql/sddfb/make_vc.bat
    ! Fixed typos for VC flavours.
    % Removed unnecessary INCLUDE path.

  * source/vm/maindllp.c
    ! Updated dll name for Borland and MSVC.

  * source/lang/msguawin.c
  * source/lang/msgua866.c
  * source/lang/msguakoi.c
    ! Fixed corrupted equal char in code.
    ! Fixed date format.
    ! Fixed CP IDs and descriptions in UA866 and UAKOI.
    ! Restored 'CA-Cl*pper' in comment.
    ; Please verify me.
2009-02-12 10:03:45 +00:00
Viktor Szakats
fab2396d7f 2009-02-11 19:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/files.c
  * source/common/hbfsapi.c
  * source/rtl/gtgui/gtgui.c
  * source/rtl/gttone.c
    * W32 -> Windows. In comments.
2009-02-11 18:45:26 +00:00
Viktor Szakats
4c6372e8ff 2009-02-11 19:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/en/diskspac.txt
  * doc/en/terminal.txt
  * doc/en/setmode.txt
  * doc/es/diskspac.txt
  * doc/es/dirstruc.txt
  * doc/inet.txt
  * contrib/hbmysql/readme.txt
  * contrib/hbct/disk.c
  * contrib/hbtpathy/telepath.prg
  * contrib/hbole/tests/testole.prg
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvggui.h
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/hbgf/hbgfos2/winctrl.prg
  * contrib/hbgf/hbgfos2/tform.prg
  * source/common/hbver.c
  * source/rtl/run.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/oemansi.c
  * source/rtl/gtwvt/gtwvt.h
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/hbrandom.c
  * source/rtl/filesys.c
    * Win32 -> Windows. In comments / docs.
2009-02-11 18:41:31 +00:00
Przemyslaw Czerpak
013f7ab9a5 2009-02-11 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/cmdarg.c
    + added const char * hb_cmdargARGVN( int argc )

  * harbour/source/vm/cmdarg.c
    * try to convert executable file name argument in argv[0] to
      absolute path if it's relative one. Respect PATH envvar it necessary.

  * harbour/source/common/hbdate.c
    * formatting

  * harbour/source/rtl/philes.c
  * harbour/source/rtl/errorint.c
  * harbour/source/rtl/filesys.c
    ! use hb_cmdargARGVN(n) instead of hb_cmdargARGV()[n] to avoid
      possible GPF if some function will be called before argument
      initialization
    * removed additional logic which tries to convert relative paths
      in file name from hb_fsBaseDirBuff() and HB_PROGNAME() functions
2009-02-11 01:33:31 +00:00
Viktor Szakats
b129b78a47 2009-02-06 19:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    + Added HB_ISALNUM() macro.
    + Added HB_ISSPACE() macro. Please review.

  * source/contrib/hbver.c
    * isspace() -> HB_ISSPACE().

  * contrib/rddads/ads1.c
    ! toupper() -> HB_TOUPPER()

  * contrib/xhb/hbxml.c
    + Readded #include <ctype.h> because this one still uses isspace().

  * include/hbcomp.h
  * include/hbmacro.h
  * contrib/hbct/token1.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/freadlin.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
  * contrib/rddads/adsx.c
  * contrib/rddads/ads1.c
  * contrib/hbclipsm/time.c
  * contrib/hbclipsm/status.c
  * contrib/hbmisc/dates2.c
  * contrib/hbwin/win_ole.c
  * contrib/examples/pp/pp.c
  * source/debug/dbgentry.c
  * source/common/hbver.c
  * source/rtl/chrasc.c
  * source/rtl/philes.c
  * source/rtl/dirdrive.c
  * source/rtl/dateshb.c
  * source/rtl/philesx.c
  * source/rtl/disksphb.c
  * source/rtl/soundex.c
  * source/rtl/gtapi.c
  * source/rtl/filesys.c
  * source/codepage/cppt850.c
  * source/codepage/cpuawin.c
  * source/codepage/cpde850.c
  * source/codepage/cpsv850.c
  * source/codepage/cpeswinc.c
  * source/codepage/cptr857.c
  * source/codepage/cpru866.c
  * source/codepage/cproiso.c
  * source/codepage/cprowin.c
  * source/codepage/cpeswinm.c
  * source/codepage/cpes850.c
  * source/codepage/cpcs852.c
  * source/codepage/cpitisb.c
  * source/codepage/cphu852.c
  * source/codepage/cpsk852.c
  * source/codepage/cpplmaz.c
  * source/codepage/cpesisoc.c
  * source/codepage/cppliso.c
  * source/codepage/cpbgmik.c
  * source/codepage/cpplwin.c
  * source/codepage/cpbg866.c
  * source/codepage/cpltwin.c
  * source/codepage/cphu852s.c
  * source/codepage/cpptiso.c
  * source/codepage/cpel737.c
  * source/codepage/cpsrwin.c
  * source/codepage/cpsviso.c
  * source/codepage/cpdeiso.c
  * source/codepage/cpfr850.c
  * source/codepage/cpsvwin.c
  * source/codepage/cpdewin.c
  * source/codepage/cphr437.c
  * source/codepage/cpes850c.c
  * source/codepage/cphr852.c
  * source/codepage/cpua866.c
  * source/codepage/cpit850.c
  * source/codepage/cpit437.c
  * source/codepage/cpsl437.c
  * source/codepage/cpsl852.c
  * source/codepage/cphuwins.c
  * source/codepage/cpcsiso.c
  * source/codepage/cpesiso.c
  * source/codepage/cpcswin.c
  * source/codepage/cpeswin.c
  * source/codepage/cphuiso.c
  * source/codepage/cpskiso.c
  * source/codepage/cprukoi.c
  * source/codepage/cphuwin.c
  * source/codepage/cpskwin.c
  * source/codepage/cp_tpl.c
  * source/codepage/cpruiso.c
  * source/codepage/cpruwin.c
  * source/codepage/cphuisos.c
  * source/codepage/cpelwin.c
  * source/codepage/cpro852.c
  * source/codepage/cpfriso.c
  * source/codepage/cpfrwin.c
  * source/codepage/cpitiso.c
  * source/codepage/cphrwin.c
  * source/codepage/cpsliso.c
  * source/codepage/cpitwin.c
  * source/codepage/cpslwin.c
  * source/codepage/cpcskam.c
  * source/codepage/cpsvclip.c
  * source/codepage/cpbgiso.c
  * source/codepage/cptrwin.c
  * source/codepage/cpskkam.c
  * source/codepage/cpbgwin.c
  * source/codepage/cpuakoi.c
  * source/codepage/cppl852.c
  * utils/hbdoc/hbdfrdln.c
  * utils/hbmake/hbmfrdln.c
    % Removed #include <ctype.h>. Most of these didn't need it anyway.
2009-02-06 18:23:08 +00:00
Viktor Szakats
1e894d019e 2009-02-06 18:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    + Added HB_ISALNUM() macro.

  * include/hbpp.h
  * include/hbapicdp.h
  * contrib/hbct/pos1.c
  * contrib/hbct/ascpos.c
  * contrib/xhb/hbxml.c
  * contrib/hbtip/utils.c
  * contrib/examples/pp/hbppcore.c
  * source/vm/itemapi.c
  * source/vm/memvars.c
  * source/vm/set.c
  * source/vm/classes.c
  * source/debug/dbgentry.c
  * source/common/hbstr.c
  * source/common/expropt2.c
  * source/rtl/strcase.c
  * source/rtl/cdpapi.c
  * source/rtl/is.c
  * source/rtl/transfrm.c
  * source/rtl/dates.c
  * source/rtl/natmsg.c
  * source/rtl/soundex.c
  * source/rtl/hbffind.c
  * source/rdd/workarea.c
  * source/compiler/hbmain.c
  * source/compiler/harbour.yyc
  * source/compiler/harbour.y
    * Replaced:
      isdigit() -> HB_ISDIGIT()
      isalpha() -> HB_ISALPHA()
      isalnum() -> HB_ISALNUM()
      isupper() -> HB_ISUPPER()
      islower() -> HB_ISLOWER()
      tolower() -> HB_TOLOWER()
      toupper() -> HB_TOUPPER()

  * source/rtl/natmsg.c
    ! Fixed to use CP sensitive case conversion in
      __NATISNEGATIVE() and __NATISAFFIRM().

  * source/rtl/is.c
    ! Fixed typo in recently added hb_charIsUpper()/hb_charIsLower()
      functions.

  ; TODO: Remove DJGPP to*() hack.
  ; TODO: Replace HB_PP_UPPER(), HB_PP_ISDIGIT() with equivalent
          new macros.
  ; TOFIX: Some of the above macros should better be replaced
           by CP sensitive versions. F.e. the one in hbtip.
  ; TOFIX: Remove remaining #include <ctype.h> lines.
2009-02-06 17:47:46 +00:00
Przemyslaw Czerpak
8d6dce6b76 2009-02-06 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * pacified warning

  * harbour/source/rtl/philesx.c
    ! fixed typo
2009-02-06 11:25:08 +00:00
Viktor Szakats
a8598c6299 2009-02-04 23:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbwince.h
  * include/hb_io.h
  * include/hbwmain.c
  * include/hbthread.h
  * include/hbsetup.h
  * include/hbmath.h
  * include/hbassert.h
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvggui.h
  * contrib/gtwvg/wvgutils.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/win_prn1.c
  * contrib/examples/pp/pp.c
  * contrib/examples/pp/hbppcore.c
  * source/pp/hbpp.c
  * source/vm/fm.c
  * source/vm/extrap.c
  * source/main/harbour.c
  * source/common/hbver.c
  * source/common/hbwince.c
  * source/rtl/diskspac.c
  * source/rtl/hbgtcore.c
  * source/rtl/gtclip.c
  * source/rtl/gtstd/gtstd.c
  * source/rtl/disksphb.c
  * source/rtl/gtpca/gtpca.c
  * source/rtl/seconds.c
  * source/rtl/filebuf.c
  * source/rtl/hbproces.c
  * source/rtl/gtwvt/gtwvt.h
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/fssize.c
  * source/rtl/hbinet.c
  * source/rtl/gtsys.c
  * source/rtl/filesys.c
    * HB_WINCE -> HB_OS_WIN_CE.
      Now all OS branching #defines are in the HB_OS_* namespace.
      Please use the new name from now on.
2009-02-04 22:24:35 +00:00
Viktor Szakats
1d13959a7b 2009-02-04 01:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/extend.api
  * include/hbgtcore.h
  * include/hbwince.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbapi.h
  * include/clipdefs.h
  * include/hbatomic.h
  * contrib/hbmysql/mysql.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/files.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/disk.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/filestat.c
  * contrib/hbmsql/msql.c
  * contrib/hbole/ole2.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbapollo/apollo.c
  * contrib/hbfbird/firebird.c
  * contrib/hbnf/descendn.c
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/rddads/adsx.c
  * contrib/rddads/rddads.h
  * contrib/rddads/adsmgmnt.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gd.ch
  * contrib/hbgd/gdwrp.c
  * contrib/hbgf/hbgfwin/winapi.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/ChangeLog
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/win_prt.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/win_ole.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_regc.c
  * contrib/hbssl/sslsess.c
  * contrib/hbssl/sslrand.c
  * contrib/hbwhat/whtdate.c
  * contrib/hbwhat/whtini.c
  * contrib/hbwhat/whtcret.c
  * contrib/hbwhat/whthead.c
  * contrib/hbwhat/whtilst.c
  * contrib/hbwhat/whtreg.c
  * contrib/hbwhat/whtclpb.c
  * contrib/hbwhat/whtmous.c
  * contrib/hbwhat/whtrgn.c
  * contrib/hbwhat/whtmeta.c
  * contrib/hbwhat/whttbar.c
  * contrib/hbwhat/whtrect.c
  * contrib/hbwhat/whtbrsh.c
  * contrib/hbwhat/whtgdi.c
  * contrib/hbwhat/whtdlg.c
  * contrib/hbwhat/whtview.c
  * contrib/hbwhat/whtsys.c
  * contrib/hbwhat/whtmain.c
  * contrib/hbwhat/whtwnd.c
  * contrib/hbwhat/whtmmcap.c
  * contrib/hbwhat/whtfont.c
  * contrib/hbwhat/whtdir.c
  * contrib/hbwhat/whtbmp.c
  * contrib/hbwhat/whtkbrd.c
  * contrib/hbwhat/whtpen.c
  * contrib/hbwhat/whttext.c
  * contrib/hbwhat/whtdc.c
  * contrib/hbwhat/whtdraw.c
  * contrib/examples/uhttpd/socket.c
  * contrib/examples/uhttpd/uhttpdc.c
  * source/vm/mainwin.c
  * source/vm/maindll.c
  * source/vm/maindllh.c
  * source/vm/hvm.c
  * source/vm/cmdarg.c
  * source/vm/maindllp.c
  * source/vm/fm.c
  * source/vm/extrap.c
  * source/vm/thread.c
  * source/vm/dynlibhb.c
  * source/vm/set.c
  * source/common/hbgete.c
  * source/common/hbver.c
  * source/common/hbfsapi.c
  * source/common/hbwince.c
  * source/common/hbdate.c
  * source/rtl/diskspac.c
  * source/rtl/console.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/fserror.c
  * source/rtl/hbgtcore.c
  * source/rtl/gtclip.c
  * source/rtl/fstemp.c
  * source/rtl/idle.c
  * source/rtl/oemansi.c
  * source/rtl/disksphb.c
  * source/rtl/net.c
  * source/rtl/gtgui/gtgui.c
  * source/rtl/seconds.c
  * source/rtl/gttone.c
  * source/rtl/hbproces.c
  * source/rtl/gtkeycod.c
  * source/rtl/version.c
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/hbrandom.c
  * source/rtl/hbinet.c
  * source/rtl/hbffind.c
  * source/rtl/gtsys.c
  * source/rtl/filesys.c
  * source/rtl/gtkbstat.c
  * source/rtl/isprint.c
  * source/compiler/cmdcheck.c
  * utils/hbmake/hbmlang.c
    * #defines renamed to be bitwidth-independent.
      - HB_OS_WIN_32_USED -> HB_OS_WIN_USED
      - HB_OS_WIN_32      -> HB_OS_WIN
    ; Please modify your code accordingly.

  * include/hbdefs.h
  * include/hbsetup.h
    + Added compatibility to still understand HB_OS_WIN_32_USED,
      and to #define HB_OS_WIN_32 in addition to HB_OS_WIN.
      This means that old code will still work, but these
      compatibility features will be removed in the future,
      so it's recommended to change the code as above.
2009-02-04 00:18:56 +00:00
Przemyslaw Czerpak
bb1e4dfe09 2009-02-03 03:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/mpkg_deb.sh
  * harbour/make_gnu_xmingwce.sh
  * harbour/tests/transtst.prg
  * harbour/tests/wcecon.prg
  * harbour/tests/foreach2.prg
  * harbour/tests/rto_get.prg
  * harbour/tests/memtst.prg
  * harbour/tests/gtwin.prg
  * harbour/tests/mt/mttest08.prg
  * harbour/tests/mt/mttest09.prg
  * harbour/tests/mt/mttest01.prg
  * harbour/tests/mt/mttest10.prg
  * harbour/tests/mt/mttest02.prg
  * harbour/tests/mt/mttest11.prg
  * harbour/tests/mt/mttest03.prg
  * harbour/tests/mt/mttest12.prg
  * harbour/tests/mt/mttest04.prg
  * harbour/tests/mt/mttest05.prg
  * harbour/tests/mt/mttest06.prg
  * harbour/tests/mt/mttest07.prg
  * harbour/tests/speedtst.prg
  * harbour/tests/hsxtest.prg
  * harbour/tests/rto_tb.prg
  * harbour/tests/multifnc/t0.prg
  * harbour/tests/multifnc/t1.prg
  * harbour/tests/multifnc/t2.prg
  * harbour/tests/multifnc/Makefile
  * harbour/tests/gtchars.prg
  * harbour/tests/aliaslck.prg
  * harbour/tests/gtcolors.prg
  * harbour/tests/gtkeys.prg
  * harbour/make_gcc.sh
  * harbour/mpkg_rpm_win.sh
  * harbour/doc/howtosvn.txt
  * harbour/doc/howtobld.txt
  * harbour/make_gnu_os2.cmd
  * harbour/include/hbrddnsx.h
  * harbour/include/hbsxdef.ch
  * harbour/include/hbwince.h
  * harbour/include/hbwmain.c
  * harbour/include/hbthread.h
  * harbour/include/hbsix.ch
  * harbour/include/hbvmint.h
  * harbour/include/hbassert.h
  * harbour/include/hbthread.ch
  * harbour/include/hbatomic.h
  * harbour/mpkg_rpm_wce.sh
  * harbour/source/hbextern/hbextern.prg
  * harbour/source/hbextern/Makefile
  * harbour/source/lang/msgptiso.c
  * harbour/source/vm/dlmalloc.c
  * harbour/source/vm/vmmt/Makefile
  * harbour/source/vm/thread.c
  * harbour/source/vm/mainwin/Makefile
  * harbour/source/vm/vm.c
  * harbour/source/debug/dbgtinp.prg
  * harbour/source/common/hbprintf.c
  * harbour/source/common/hbwince.c
  * harbour/source/common/hbfopen.c
  * harbour/source/rtl/tscalars.c
  * harbour/source/rtl/hbi18n2.prg
  * harbour/source/rtl/gui.prg
  * harbour/source/rtl/getsys53.prg
  * harbour/source/rtl/hbfile.c
  * harbour/source/rtl/tscalard.c
  * harbour/source/rtl/tscalarh.c
  * harbour/source/rtl/tbrowsys.prg
  * harbour/source/rtl/tscalarl.c
  * harbour/source/rtl/gtchrmap.c
  * harbour/source/rtl/tscalarp.c
  * harbour/source/rtl/oemansix.c
  * harbour/source/rtl/hbrunfun.c
  * harbour/source/rtl/strc.c
  * harbour/source/rtl/gttrm/Makefile
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/dirscan.prg
  * harbour/source/rtl/tthreadx.prg
  * harbour/source/rtl/tscalara.c
  * harbour/source/rtl/hbhex.c
  * harbour/source/rtl/inkeyapi.c
  * harbour/source/rtl/filebuf.c
  * harbour/source/rtl/tscalaru.c
  * harbour/source/rtl/tmenusys.prg
  * harbour/source/rtl/secondfs.c
  * harbour/source/rtl/hbproces.c
  * harbour/source/rtl/menusys.prg
  * harbour/source/rtl/gtkeycod.c
  * harbour/source/rtl/typefilx.prg
  * harbour/source/rtl/natmsgu.c
  * harbour/source/rtl/thfuncx.prg
  * harbour/source/rtl/tscalarb.c
  * harbour/source/rtl/hbini.prg
  * harbour/source/rtl/tscalar.prg
  * harbour/source/rtl/mouse53.c
  * harbour/source/rtl/hbprocfn.c
  * harbour/source/rtl/tscalarn.c
  * harbour/source/rtl/strtoexp.c
  * harbour/source/rtl/einstvar.prg
  * harbour/source/rtl/hbstrsh.c
  * harbour/source/rtl/gtkbstat.c
  * harbour/source/rtl/hbbit.c
  * harbour/source/rtl/tscalarc.c
  * harbour/source/codepage/cpsv850.c
  * harbour/source/codepage/cpeswinm.c
  * harbour/source/codepage/cpsk852.c
  * harbour/source/codepage/ucmik.c
  * harbour/source/codepage/cpbgmik.c
  * harbour/source/codepage/cpsvwin.c
  * harbour/source/codepage/cpskiso.c
  * harbour/source/codepage/cpskwin.c
  * harbour/source/codepage/cpsvclip.c
  * harbour/source/codepage/cpskkam.c
  * harbour/source/rdd/dbjoinx.prg
  * harbour/source/rdd/dblistx.prg
  * harbour/source/rdd/rddinfo.c
  * harbour/source/rdd/dbtotalx.prg
  * harbour/source/rdd/dbstruxx.prg
  * harbour/source/rdd/dbsortx.prg
  * harbour/source/rdd/dbdetach.c
  * harbour/source/rdd/dbcmdx.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbfnsx/Makefile
  * harbour/source/rdd/dbdrop.c
  * harbour/source/rdd/dbupdatx.prg
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/usrrdd/example/exlog.prg
  * harbour/source/rdd/usrrdd/example/exarr.prg
  * harbour/source/rdd/usrrdd/rdds/logrdd.prg
  * harbour/source/rdd/dbfuncsx.prg
  * harbour/source/rdd/dbexists.c
  * harbour/source/rdd/hbsix/sxsem.c
  * harbour/source/rdd/hbsix/sxord.c
  * harbour/source/rdd/hbsix/sxredir.c
  * harbour/source/rdd/hbsix/sxini.prg
  * harbour/source/rdd/hbsix/sxfname.c
  * harbour/source/rdd/hbsix/sxtable.c
  * harbour/source/rdd/hbsix/sxcompat.prg
  * harbour/source/rdd/hbsix/sxtrig.prg
  * harbour/source/rdd/hbsix/sxutil.c
  * harbour/source/rdd/fieldhb.c
  * harbour/source/compiler/compi18n.c
  * harbour/contrib/hbmysql/common.mak
  * harbour/contrib/hbmysql/make_gcc.sh
  * harbour/contrib/hbmysql/make_vc.bat
  * harbour/contrib/make_b32_all.bat
  * harbour/contrib/hbct/screen2.c
  * harbour/contrib/hbct/charsprd.c
  * harbour/contrib/hbct/dbftools.c
  * harbour/contrib/hbct/make_gcc.sh
  * harbour/contrib/hbct/ctrand.prg
  * harbour/contrib/hbct/getsecrt.prg
  * harbour/contrib/hbct/ctdisk.ch
  * harbour/contrib/hbct/keysec.prg
  * harbour/contrib/hbct/maxline.c
  * harbour/contrib/hbct/getinput.prg
  * harbour/contrib/hbct/video.c
  * harbour/contrib/hbct/screen3.prg
  * harbour/contrib/hbct/dattime3.c
  * harbour/contrib/hbct/lton.c
  * harbour/contrib/hbct/cursor.c
  * harbour/contrib/hbct/keytime.prg
  * harbour/contrib/hbct/misc2.c
  * harbour/contrib/hbct/color.c
  * harbour/contrib/hbct/cttime.prg
  * harbour/contrib/hbct/ctvideo.ch
  * harbour/contrib/hbct/showtime.prg
  * harbour/contrib/hbct/numcount.c
  * harbour/contrib/hbct/pack.c
  * harbour/contrib/hbct/setlast.c
  * harbour/contrib/hbct/setrc.c
  * harbour/contrib/hbct/like.c
  * harbour/contrib/hbct/disk.c
  * harbour/contrib/hbct/ctstrfil.c
  * harbour/contrib/hbct/ctstrfil.h
  * harbour/contrib/hbct/getinfo.prg
  * harbour/contrib/hbct/numline.c
  * harbour/contrib/hbct/scrmark.prg
  * harbour/contrib/hbct/dattime2.c
  * harbour/contrib/hbct/keysave.prg
  * harbour/contrib/hbct/common.mak
  * harbour/contrib/hbct/misc3.c
  * harbour/contrib/hbct/expand.c
  * harbour/contrib/hbct/fcopy.prg
  * harbour/contrib/hbct/ctpad.c
  * harbour/contrib/hbct/datetime.c
  * harbour/contrib/hbct/blank.prg
  * harbour/contrib/xhb/hboutdbg.c
  * harbour/contrib/xhb/dbgfx.prg
  * harbour/contrib/xhb/hbcompat.h
  * harbour/contrib/xhb/hblog.ch
  * harbour/contrib/xhb/hbcompat.ch
  * harbour/contrib/xhb/xhbenum.c
  * harbour/contrib/xhb/hblognet.prg
  * harbour/contrib/xhb/hbxml.c
  * harbour/contrib/xhb/xhbmsgs.c
  * harbour/contrib/xhb/xhbqself.c
  * harbour/contrib/xhb/dirrec.prg
  * harbour/contrib/xhb/hbxml.h
  * harbour/contrib/xhb/make_gcc.sh
  * harbour/contrib/xhb/xhbarr.c
  * harbour/contrib/xhb/xhb.h
  * harbour/contrib/xhb/hbctypes.ch
  * harbour/contrib/xhb/xhb.ch
  * harbour/contrib/xhb/hbsyslog.c
  * harbour/contrib/xhb/txml.prg
  * harbour/contrib/xhb/wintypes.ch
  * harbour/contrib/xhb/sprintf.prg
  * harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/dbgfxc.c
  * harbour/contrib/xhb/cstruct.ch
  * harbour/contrib/xhb/hblog.prg
  * harbour/contrib/xhb/hbstruct.prg
  * harbour/contrib/xhb/xhbcomp.prg
  * harbour/contrib/xhb/hbstruct.ch
  * harbour/contrib/xhb/xhbextrn.ch
  * harbour/contrib/xhb/hbfast.h
  * harbour/contrib/xhb/xhbwith.c
  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/common.mak
  * harbour/contrib/xhb/hbxml.ch
  * harbour/contrib/xhb/hblogdef.ch
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/xhb/xhbfunc.c
  * harbour/contrib/xhb/cstruct.prg
  * harbour/contrib/hbodbc/common.mak
  * harbour/contrib/hbodbc/make_gcc.sh
  * harbour/contrib/hbodbc/make_vc.bat
  * harbour/contrib/hbgt/common.mak
  * harbour/contrib/hbgt/make_gcc.sh
  * harbour/contrib/hbmsql/common.mak
  * harbour/contrib/hbmsql/tests/hbmk_b32.bat
  * harbour/contrib/hbmsql/tests/hbmk_vc.bat
  * harbour/contrib/hbmsql/make_gcc.sh
  * harbour/contrib/hbmsql/make_b32.bat
  * harbour/contrib/hbmsql/make_vc.bat
  * harbour/contrib/mtpl_b32.bat
  * harbour/contrib/mtpl_b32.mak
  * harbour/contrib/hbmzip/crypt.h
  * harbour/contrib/hbmzip/make_gcc.sh
  * harbour/contrib/hbole/common.mak
  * harbour/contrib/hbole/oleauto.prg
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/hbole/tests/testole.prg
  * harbour/contrib/hbole/tests/hbmk_b32.bat
  * harbour/contrib/hbole/make_gcc.sh
  * harbour/contrib/hbole/make_b32.bat
  * harbour/contrib/hbole/make_vc.bat
  * harbour/contrib/hbole/Makefile
  * harbour/contrib/make_gcc_all.sh
  * harbour/contrib/hbfbird/common.mak
  * harbour/contrib/hbfbird/tests/simple.prg
  * harbour/contrib/hbfbird/tests/test.prg
  * harbour/contrib/hbfbird/tests/stress.prg
  * harbour/contrib/hbfbird/tests/testapi.c
  * harbour/contrib/hbfbird/tests/hbmk_b32.bat
  * harbour/contrib/hbfbird/tests/Makefile
  * harbour/contrib/hbfbird/make_gcc.sh
  * harbour/contrib/hbfbird/firebird.c
  * harbour/contrib/hbfbird/make_b32.bat
  * harbour/contrib/hbfbird/tfirebrd.prg
  * harbour/contrib/hbfbird/make_vc.bat
  * harbour/contrib/hbfbird/readme.txt
  * harbour/contrib/hbfbird/Makefile
  * harbour/contrib/hbapollo/common.mak
  * harbour/contrib/hbapollo/make_gcc.sh
  * harbour/contrib/hbapollo/make_vc.bat
  * harbour/contrib/make_vc_all.bat
  * harbour/contrib/hbziparc/common.mak
  * harbour/contrib/hbziparc/make_gcc.sh
  * harbour/contrib/hbnf/ftshadow.c
  * harbour/contrib/hbnf/make_gcc.sh
  * harbour/contrib/hbnf/iamidle.c
  * harbour/contrib/hbnf/fttext.c
  * harbour/contrib/hbnf/setkeys.c
  * harbour/contrib/hbnf/common.mak
  * harbour/contrib/hbnf/ftisprn.c
  * harbour/contrib/hbnf/putkey.c
  * harbour/contrib/hbnf/setlastk.c
  * harbour/contrib/rddsql/sddfb/Makefile
  * harbour/contrib/hbhpdf/tests/harupdf.prg
  * harbour/contrib/hbhpdf/tests/files/cp936.txt
  * harbour/contrib/hbhpdf/tests/files/elic_jp.txt
  * harbour/contrib/hbhpdf/tests/files/sjis.txt
  * harbour/contrib/hbhpdf/tests/files/euc.txt
  * harbour/contrib/hbhpdf/tests/files/cp932.txt
  * harbour/contrib/hbhpdf/harupdf.ch
  * harbour/contrib/hbhpdf/harupdf.c
  * harbour/contrib/rddado/common.mak
  * harbour/contrib/rddado/make_gcc.sh
  * harbour/contrib/rddado/make_vc.bat
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/make_b32.bat
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvggui.h
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/make_gcc.sh
  * harbour/contrib/gtwvg/tests/demoxbp.prg
  * harbour/contrib/gtwvg/tests/demowvg.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/make_vc.bat
  * harbour/contrib/gtwvg/wincallb.c
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/common.mak
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/wvghtmlv.prg
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wincback.prg
  * harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgcombo.prg
  * harbour/contrib/mtpl_gcc.mak
  * harbour/contrib/hbpgsql/common.mak
  * harbour/contrib/hbpgsql/tests/hbmk_b32.bat
  * harbour/contrib/hbpgsql/make_gcc.sh
  * harbour/contrib/hbpgsql/make_vc.bat
  * harbour/contrib/rddads/unixutils.h
  * harbour/contrib/rddads/common.mak
  * harbour/contrib/rddads/make_gcc.sh
  * harbour/contrib/mtpl_gcc.sh
  * harbour/contrib/hbclipsm/common.mak
  * harbour/contrib/hbclipsm/make_gcc.sh
  * harbour/contrib/hbclipsm/make_vc.bat
  * harbour/contrib/hbfimage/common.mak
  * harbour/contrib/hbfimage/tests/fitest.prg
  * harbour/contrib/hbfimage/tests/hbmk_b32.bat
  * harbour/contrib/hbfimage/make_gcc.sh
  * harbour/contrib/hbfimage/fi_winfu.c
  * harbour/contrib/hbfimage/fi_wrp.c
  * harbour/contrib/hbfimage/make_b32.bat
  * harbour/contrib/hbfimage/make_vc.bat
  * harbour/contrib/hbfimage/readme.txt
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbfimage/freeimage.ch
  * harbour/contrib/hbgd/common.mak
  * harbour/contrib/hbgd/make_gcc.sh
  * harbour/contrib/hbgd/make_vc.bat
  * harbour/contrib/hbmisc/common.mak
  * harbour/contrib/hbmisc/make_gcc.sh
  * harbour/contrib/hbtip/encurl.prg
  * harbour/contrib/hbtip/thtml.prg
  * harbour/contrib/hbtip/thtml.ch
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/hbtip/popcln.prg
  * harbour/contrib/hbtip/sendmail.prg
  * harbour/contrib/hbtip/tip.ch
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbtip/url.prg
  * harbour/contrib/hbtip/encqp.prg
  * harbour/contrib/hbtip/base64x.c
  * harbour/contrib/hbtip/common.mak
  * harbour/contrib/hbtip/make_gcc.sh
  * harbour/contrib/hbtip/httpcln.prg
  * harbour/contrib/hbtip/encmthd.c
  * harbour/contrib/hbtip/client.prg
  * harbour/contrib/hbtip/encoder.prg
  * harbour/contrib/hbtip/smtpcln.prg
  * harbour/contrib/hbtip/encb64.prg
  * harbour/contrib/hbtip/mail.prg
  * harbour/contrib/hbtip/credent.prg
  * harbour/contrib/hbtip/ftpcln.prg
  * harbour/contrib/hbtip/Makefile
  * harbour/contrib/hbgf/hbgfwin/common.mak
  * harbour/contrib/hbbmcdx/common.mak
  * harbour/contrib/hbbmcdx/make_gcc.sh
  * harbour/contrib/hbbmcdx/make_vc.bat
  * harbour/contrib/hbwin/win_prn2.c
  * harbour/contrib/hbwin/win_tprn.prg
  * harbour/contrib/hbwin/common.mak
  * harbour/contrib/hbwin/tests/testole.prg
  * harbour/contrib/hbwin/tests/testprn.prg
  * harbour/contrib/hbwin/make_gcc.sh
  * harbour/contrib/hbwin/Makefile
  * harbour/contrib/hbwin/win_prn1.c
  * harbour/contrib/mtpl_vc.bat
  * harbour/contrib/mtpl_vc.mak
  * harbour/contrib/hbbtree/common.mak
  * harbour/contrib/hbbtree/make_gcc.sh
  * harbour/contrib/hbbtree/make_vc.bat
  * harbour/contrib/hbwhat/debug.ch
  * harbour/contrib/hbwhat/whtdate.c
  * harbour/contrib/hbwhat/whtini.c
  * harbour/contrib/hbwhat/make_b32.bat
  * harbour/contrib/hbwhat/whticon.c
  * harbour/contrib/hbwhat/whtcret.c
  * harbour/contrib/hbwhat/make_gcc.sh
  * harbour/contrib/hbwhat/whtsock.c
  * harbour/contrib/hbwhat/whthead.c
  * harbour/contrib/hbwhat/whtseria.c
  * harbour/contrib/hbwhat/sqltypes.ch
  * harbour/contrib/hbwhat/Makefile
  * harbour/contrib/hbwhat/whtilst.c
  * harbour/contrib/hbwhat/whtreg.c
  * harbour/contrib/hbwhat/whtmem.c
  * harbour/contrib/hbwhat/whtclpb.c
  * harbour/contrib/hbwhat/winini.prg
  * harbour/contrib/hbwhat/whtmous.c
  * harbour/contrib/hbwhat/whatutil.prg
  * harbour/contrib/hbwhat/whtrgn.c
  * harbour/contrib/hbwhat/whtmeta.c
  * harbour/contrib/hbwhat/whtmapi.c
  * harbour/contrib/hbwhat/winrbar.prg
  * harbour/contrib/hbwhat/whttbar.c
  * harbour/contrib/hbwhat/winerror.prg
  * harbour/contrib/hbwhat/whtrect.c
  * harbour/contrib/hbwhat/whtbrsh.c
  * harbour/contrib/hbwhat/import.ch
  * harbour/contrib/hbwhat/whtgdi.c
  * harbour/contrib/hbwhat/winstruc.ch
  * harbour/contrib/hbwhat/whtscrlb.c
  * harbour/contrib/hbwhat/whtdlg.c
  * harbour/contrib/hbwhat/whtview.c
  * harbour/contrib/hbwhat/whtsys.c
  * harbour/contrib/hbwhat/whtlv.c
  * harbour/contrib/hbwhat/whtmain.c
  * harbour/contrib/hbwhat/whtwnd.c
  * harbour/contrib/hbwhat/wintabs.prg
  * harbour/contrib/hbwhat/whtmisc.c
  * harbour/contrib/hbwhat/whtcomm.c
  * harbour/contrib/hbwhat/wincomm.prg
  * harbour/contrib/hbwhat/whtmmcap.c
  * harbour/contrib/hbwhat/tests/whatdemo.prg
  * harbour/contrib/hbwhat/whtprn.c
  * harbour/contrib/hbwhat/whtinet.c
  * harbour/contrib/hbwhat/hbwhat.ch
  * harbour/contrib/hbwhat/whttab.c
  * harbour/contrib/hbwhat/make_vc.bat
  * harbour/contrib/hbwhat/whtfont.c
  * harbour/contrib/hbwhat/whtshell.c
  * harbour/contrib/hbwhat/commdlg.ch
  * harbour/contrib/hbwhat/whtcdlg.c
  * harbour/contrib/hbwhat/wincdlg.prg
  * harbour/contrib/hbwhat/whtbmp.c
  * harbour/contrib/hbwhat/whtdir.c
  * harbour/contrib/hbwhat/winuser.ch
  * harbour/contrib/hbwhat/whtpen.c
  * harbour/contrib/hbwhat/whtkbrd.c
  * harbour/contrib/hbwhat/whttext.c
  * harbour/contrib/hbwhat/whtdc.c
  * harbour/contrib/hbwhat/whtmsg.c
  * harbour/contrib/hbwhat/windebug.prg
  * harbour/contrib/hbwhat/wincore.prg
  * harbour/contrib/hbwhat/wintbar.prg
  * harbour/contrib/hbwhat/common.mak
  * harbour/contrib/hbwhat/whtdraw.c
  * harbour/contrib/hbwhat/whttree.c
  * harbour/contrib/hbwhat/wininet.ch
  * harbour/contrib/hbwhat/whtmenu.c
  * harbour/contrib/hbwhat/commctrl.ch
  * harbour/contrib/hbwhat/wingdi.ch
  * harbour/contrib/examples/pe/pe.prg
  * harbour/contrib/examples/pe/hbmk_b32.bat
  * harbour/contrib/examples/uhttpd/cookie.prg
  * harbour/contrib/examples/uhttpd/cgifunc.prg
  * harbour/contrib/examples/uhttpd/modules/cookie.prg
  * harbour/contrib/examples/dbu/readme.txt
  * harbour/contrib/examples/dbu/hbmk_b32.bat
  * harbour/contrib/examples/dbu/Makefile
  * harbour/utils/hbmake/hbmfrdln.c
  * harbour/utils/hbtest/rt_mt.prg
  * harbour/utils/hbi18n/hbi18n.prg
  * harbour/utils/hbi18n/Makefile
  * harbour/make_gcc.mak
  * harbour/config/none.cf
  * harbour/config/w32/mingwce.cf
  * harbour/config/w32/owatcom.cf
  * harbour/config/w32/pocc.cf
    * svn ps svn:keywords "Author Date Id Revision"
2009-02-03 02:05:45 +00:00
Viktor Szakats
cd8c6f4132 2009-02-03 01:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbprintf.c
    ! Comment corrected to be ANSI.
2009-02-03 00:34:26 +00:00
Maurilio Longo
79fd663a78 2009-02-03 00:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* include/hbdefs.h
  * include/hbthread.h
    * added HB_OS_SUNOS to be able to build under OpenSolaris 2008.11
      using pthreads.
  * source/common/hbprintf.c
    * include ieeefp.h under OpenSolaris 2008.11
2009-02-03 00:01:40 +00:00
Przemyslaw Czerpak
818977af2b 2009-01-29 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    ! added missing export in envvar setting.

  * harbour/config/linux/install.cf
    * added error message when install directory is not set.

  * harbour/config/lib.cf
  * harbour/config/bin.cf
  * harbour/config/dir.cf
    + added explicit support for make recursive calls.
      Question: why we use $(MK) instead of $(MAKE) so it necessary
      to mark recursive make calls manually?

  * harbour/config/dir.cf
    * rewritten DIR_RUL to use only GNU make commands instead of
      OS scripts. Now config/<arch>/dir.cf files are not longer used.
      Please make build tests on different platforms. If all will
      be correct then we remove these files.

  * harbour/source/common/Makefile
  * harbour/source/vm/Makefile
  * harbour/source/vm/vmmt/Makefile
    * moved biggest files to begin of file list for better parallel
      compilation utilization.

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * accept invalid string key expression if codeblock key expression
      is given.
2009-01-29 18:45:09 +00:00
Przemyslaw Czerpak
36f30d85cc 2009-01-29 02:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * minor modification for easier future updating

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed possible GPF caused by corrupted indexes

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed possible GPF caused by missing RT error
    ! added RT errors for invalid KEY or FOR expressions
2009-01-29 01:12:07 +00:00
Przemyslaw Czerpak
0e498e5e77 2009-01-28 22:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    % eliminated hb_snpritf() from HB_IT_POINTER conversion in
      hb_itemString()

  * harbour/source/common/hbprintf.c
    ! fixed return value - it should be one less. Thanks to Xavi.
    + added support for I64, I32 and I16 length specifiers - it's
      MS-Windows only extension but it should help in replacing
      native C *printf() calls with Harbour version.
2009-01-28 21:24:24 +00:00
Przemyslaw Czerpak
a603105732 2009-01-28 19:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * disabled _finitel() in MSVC builds, added casting to double instead
2009-01-28 17:59:09 +00:00
Przemyslaw Czerpak
1a19cdcb82 2009-01-28 17:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    ! do not use _fpclass() in BCC builds - it breaks FL arithmetic
    * use _finitel() instead of _finite() in MSVC builds
2009-01-28 16:37:31 +00:00
Przemyslaw Czerpak
61c3e1dbb5 2009-01-28 14:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    ! include float.h in MSVC builds
    * changed code a little bit to pacify MSVC warning
2009-01-28 13:21:38 +00:00
Przemyslaw Czerpak
c759f4d2bd 2009-01-28 13:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * redefine [u]intmax_t as [U]LONGLONG in MSVC builds.
2009-01-28 12:25:20 +00:00
Przemyslaw Czerpak
ae623a5876 2009-01-28 04:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * added yet another TODO marker for easier code updating to new
      C compilers
2009-01-28 03:23:49 +00:00
Przemyslaw Czerpak
3a5ebae50f 2009-01-27 16:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    * include stdint.h in DJGPP >= 2.4

  * harbour/source/common/hbprintf.c
    ! fixed DJGPP <= 2.3 compilation

  * harbour/source/common/hbstr.c
    * force buffer ending in DJGPP <= 2.3 when vsprintf() is used

  * harbour/source/rtl/hbproces.c
    ! fixed typo in HB_SYMBOL_UNUSED() variable name

  * harbour/config/dos/global.cf
    ! fixed for GNU make ports which prefer COMSPEC before SHELL
2009-01-27 15:29:56 +00:00
Przemyslaw Czerpak
2c113e3365 2009-01-27 15:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    ! fixed two bugs in conversions
2009-01-27 14:27:10 +00:00
Przemyslaw Czerpak
ed65c5b5c1 2009-01-27 04:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    * added some C compilers which supports stdint.h

  * harbour/source/common/hbprintf.c
    * eliminated non portable GCC only C syntax.
    * updated to compile with other C compilers.
      Now only GNUC with C99 support and BORLAND C gives all
      +inf/-inf/NaN values for [long] double conversions.
      Other compilers uses NaN also for infinite numbers or nothing.
      Please add full support for them. See TODO notes I left.
      For compilers which supports C99 floating point macros should
      be enough to enable the same macros used for GNUC && _ISOC99_SOURCE.

  * harbour/contrib/hbcrypt/sha2.h
  * harbour/contrib/hbcrypt/sha2.c
    ! fixed BCC5.5 compilation

   TOFIX: harbour/contrib/hbssl/ssl.c[631], sslctx.c[268], sslctx.c[281]
          error: invalid conversion from ‘void*’ to ‘const char*’
          I do not know if SSL_get_ex_data()/SSL_CTX_get_app_data()
          returns valid ASCIIZ string so I cannot decide if simple casting
          is safe and to pacify above errors.
          Viktor, can you look at it?
2009-01-27 03:26:25 +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
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
c2a1acc14c 2009-01-05 13:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
    * changed BYTE bClearColor to USHORT uiClearColor


  The following modifications were made by Viktor Szakats,
  (2008-11-22 16:15 UTC+0100 - 2008-12-19 12:56 UTC+0100)
  Many thanks. It's the first part without CP conversions in OS calls which
  I will want to check yet. Please tests MS-Windows only modifications.

  * harbour/make_vc.mak
  * harbour/contrib/mtpl_vc.mak
    + Added support for A_USR.

  * harbour/include/set.ch
  * harbour/include/hbextern.ch
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/set.c
  * harbour/source/rtl/tgetlist.prg
  * harbour/source/rtl/gete.c
  * harbour/contrib/hbhpdf/harupdf.c
    * formatting

  * harbour/source/rtl/hbffind.c
    * Changed few places to use sizeof() instead of
      explicit size macro.

  * harbour/source/vm/extrap.c
    + Added module listing. (also supports Win64)

  * harbour/source/common/hbver.c
    + Added Intel C compiler detection. (from xhb)
    + Added Wine detection (unofficial but stable looking
      detection method. There intentionally doesn't exist
      an official method to do this detection, yet there
      are cases when this is necessary. It's also essential
      for error reports.)
      See also:
      http://www.mail-archive.com/wine-devel@winehq.org/msg48659.html

  * harbour/source/common/hbfopen.c
    ! Reverted recent change to use fopen_s(). fopen_s()
      will always open in exclusive mode, so it could create
      incompatibilities.

  * harbour/source/codepage/cpbgmik.c
    ! Fixed BGMIK collation encoding. Someone familiar with
      BG CPs please confirm this, but previously it was
      almost certainly broken, as the collation was identical
      to BG866.

  * harbour/source/rtl/diskspac.c
  * harbour/source/rtl/disksphb.c
    ! GetModuleHandleA() -> GetModuleHandle()
    ; NOTE: GetModuleHandleA() WinCE emulation in
            source/common/wince.c might be unnecessary
            after this change.

  * harbour/source/rtl/memoedit.prg
  * harbour/source/rtl/teditor.prg
    ! Cleaned insert handling. It now won't anymore mess up
      the cursor on instantiation (in New() method). Internal
      :lInsert state replaced by Set( _SET_INSERT ). Cursor
      is only touched in the editing loop.

  * harbour/source/rtl/version.c
    ! HB_VERSION( HB_VERSION_BUILD_DATE ): Fixed month
      being off by one.

  * harbour/contrib/hbmzip/hbmzip.c
    ! Fixed typo which caused timestamps stored in .zip files
      to be wrong.

  * harbour/contrib/hbhpdf/tests/harupdf.prg
    ! Minor typo in code.

  * harbour/contrib/rddads/rddads.h
    + Added detection for ACE 9.10.

  * harbour/contrib/hbtip/sendmail.prg
    ! Stricter parameter checking in hb_SendMail().

  * harbour/contrib/examples/dbu/hb_dbu.dif
    + Added SET DATE ANSI and SET CENTURY ON

  * harbour/source/rtl/gtxwc/gtxwc.c
    + Generating HB_K_RESIZE keystrokes on screen resize.
      This way it's working similarly to gtwvt.
    ! Typos in comments.

  * harbour/source/rtl/gtwin/gtwin.c
    ! Fixed HB_GTI_KBDSHIFTS not working in console mode.
      Replaced GetKeyboardState() call with GetKeyState() calls.

  * harbour/source/rtl/gtwvt/gtwvt.c
    + Added 'layered' window support. It's enabled on W2K
      and above (and only when not in Terminal Services
      environment, because it makes it perform worse). This
      way the screen is also properly displayed regardless
      of what the Harbour application does. It also fixes
      numerous paint artifacts, when GTWVT window was in
      the background and another window is moved in front
      of it.
    ! Fixed only generate HB_K_RESIZE keystrokes when
      resize mode is HB_GTI_RESIZEMODE_ROWS.
2009-01-05 12:31:02 +00:00
Przemyslaw Czerpak
7a7a4856c9 2008-12-30 12:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt2.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/hbcomp.c
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    ! fixed <cConst1> == <cConst2> => <lConst> optimizations if
      <cConst1> or <cConst2> contains valid &macro. Such expressions
      cannot be optimized if -kM compiler switch is not used, f.e.:
         M->V := "ABC"
         ? "[&V]" == "[ABC]"
    ! fixed <cConst1> $ <cConst2> => <lConst> optimizations if
      <cConst1> or <cConst2> contains valid &macro. Such expressions
      cannot be optimized if -kM compiler switch is not used, f.e.:
         M->V := "ABC"
         ? "[&V]" $ " [ABC] "
    % do not disable <cConst1> + <cConst2> => <cConst> and
      <cConst1> - <cConst2> => <cConst> optimization when <cConst1> or
      <cConst2> contains valid &macro but -kM compiler switch is used.

  * harbour/include/hbexprb.c
    * cover ! ! <exp> => <exp> optimization by -ko compile time switch

  * harbour/doc/cmpopt.txt
    * updated compiler optimization description
2008-12-30 10:59:43 +00:00
Przemyslaw Czerpak
1624a58420 2008-12-29 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbmacro.ch
  * harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/hbusage.c
  * harbour/source/compiler/cmdcheck.c
    + added -ko (allow operator optimizations) compiler switch
      It's disabled by default.

  * harbour/include/hbexprb.c
    * removed HB_ADD_SUB_ONE_OPT macro and enable optimizations covered
      by it when -ko switch is used.

  * harbour/source/common/expropt2.c
    * disabled <exp> + 0 => <exp>, <exp> + "" => <exp>, - - <exp> => <exp>
      optimizations for default compiler settings. They can be enabled by
      -ko compiler switch
    + added optimizations for numeric values and + operator which uses
      standard mathematical + behavior for real numbers:
         a + b + c == a + ( b + c )
         a + b == b + a
      It's disabled by default and can be enabled by -ko compiler switch.
      There are also other similar optimizations which can be added in
      this way.

  * harbour/include/hbapi.h
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/fm.c
    ! fixed redundant call to hb_xrealloc() in string resize operation.
      Thanks to Mindaugas for locating it.
2008-12-29 18:17:45 +00:00
Przemyslaw Czerpak
9e2ee8d66e 2008-12-24 00:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
    ! fixed wrongly modified expression during optimization for
      ( <numConst> / 0.0 )
    * cleaned bDec/bWidth updating in compile time optimizations

  * harbour/tests/speedtst.prg
    ! fixed possible race condition in initialization
    + added set workarea private for xHarbour builds - thanks to Phil

  * harbour/doc/cmpopt.txt
    * small cleanup

  * harbour/include/hbvmpub.h
  * harbour/source/vm/hvm.c
    % some optimizations mostly for MT mode or compilers which do
      not support function autoinline optimization
2008-12-23 23:02:06 +00:00
Przemyslaw Czerpak
b46a548172 2008-12-08 16:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
    ! fixed last modification

  * harbour/doc/Makefile
  + harbour/doc/cmpopt.txt
    + added small description for Harbour compile time optimization

  * harbour/include/hbexpra.c
    + allow to use hb_mutexCreate() as static variable initializer, f.e.:
         static s_mtxarr := { "MTX1" => hb_mutexCreate(), ;
                              "MTX2" => hb_mutexCreate(), ;
                              "MTX3" => hb_mutexCreate() }
  * harbour/include/hbexprb.c
    % comment

  * harbour/source/common/expropt2.c
    + added some missing optimizations for date constants
    + added optimization for multiple negate expressions
2008-12-08 15:28:49 +00:00
Przemyslaw Czerpak
5721fcf996 2008-12-03 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbstr.c
    ! added missing call to va_end() in hb_snprintf()

  * harbour/source/vm/classes.c
    + added internal helper function __objSetClass()

  * harbour/source/rtl/valtoexp.prg
    * set class in expressions serialized by hb_valToExp()

  * harbour/source/rtl/valtostr.c
    % optimized hb_strToExp()

  * harbour/contrib/xhb/hbcompat.ch
    ! removed unnecessary conversion for HB_ISPOINTER() in xHarbour part.
2008-12-03 17:34:28 +00:00
Przemyslaw Czerpak
5348f0c1d4 2008-12-02 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbstr.c
  * harbour/config/w32/xcc.cf
    ! fixed XCC compilation

  * harbour/contrib/gtwvg/wvgwin.c
    ! changed _MAX_PATH to MAX_PATH - not all compilers support _MAX_PATH
2008-12-02 12:46:19 +00:00
Przemyslaw Czerpak
16f9a67e9f 2008-12-02 11:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  + harbour/contrib/xhb/xhbarr.c
    + added aSplice(), aRemove() and aMerge() functions - code borrowed
      from xHarbour by Ron Pinkas.
    ! fixed GPF trap in these functions

  * harbour/contrib/xhb/xhbfunc.c
    + added CSTR()

  * harbour/contrib/xhb/hbcompat.ch
    ! changed name of xHarbour include files - they where changed few
      months ago and now they are the same as in Harbour.
      To xHarbour users: please update hbcompat.ch in xHarbour CVS

  * harbour/contrib/xhb/filestat.c
    ! fixed UNICODE compilation

  * harbour/contrib/xhb/hblognet.prg
  * harbour/contrib/xhb/hblog.prg
    * formatting

  * harbour/contrib/hbnf/tempfile.prg
    ! do not use HB_ISBYREF() .prg function - this function does not
      exist in Harbour and does not work correctly in xHarbour

  * harbour/include/hbapiitm.h
  * harbour/source/vm/macro.c
  * harbour/source/vm/codebloc.c
  * harbour/source/vm/hashes.c
  * harbour/source/vm/garbage.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/memvars.c
    * cleanup

  * harbour/contrib/gtwvg/Makefile
    ! fixed typo

  * harbour/contrib/gtwvg/hbgtwvg.ch
    * added new line at the end of file and changed non ANSI C // comments
      to /* */ - this file is included by C code too.

  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wincallb.c
    * pacified some warnings and fixed possible access to uninitialized data

  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    ! fixed possible double freeing of memory blocks in #line directives
      TOMERGE[1.0]

  * harbour/common.mak
  * harbour/source/compiler/hbmain.c
  + harbour/source/compiler/compi18n.c
    * moved hb_compI18n*() functions to separate file covered by GPL with
      Harbour exception - Thank to Mindaugas

  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt1.c
  * harbour/source/compiler/Makefile
  * harbour/source/compiler/ppcomp.c
    * added support for plural forms:
         hb_i18n_ngettext[_noop|_strict]( <nExp>, <cText> | <acText> ;
                                          [, <cContext> )
      <acText> is accepted only as array of literal strings even if
      _strict suffix is missing - if it's a problem then we can change it.
      hb_i18n_ngettext_noop() is reduced only when it has valid parameters
      The default plural index expression used for reduction at compile
      time is: iif( <nExp> == 1, 1, 2 )
      If second parameter of hb_i18n_ngettext_noop() is <cText> or <acText>
      length is 1 then it's reduced to <cText> or acText[1] else if second
      parameter is <acText> with more then 1 item then it's reduced to
         <acText>[ iif( <nExp> == 1, 1, 2 ) ]
      and if <nExp> is literal numeric expression is farther reduced to
      given array item. Otherwise is not reduced and warning is generated.
      The plural forms in .pot files are generated as:
         msgid ""
         msgid_plural ""
         msgid_plural2 ""
         [...]
         msgid_pluralN ""
         msgstr[0] ""
      Then real message ID is only msgid (with context if any) and
      msgid_plural* is used only for information. When the same msgid
      is used more then once in different hb_i18n_ngettext*() calls then
      plural messages are merged.
      Please remember that for strict gettext compatibility only two plural
      forms are allowed.
    * extended i18n warnings for simple types validation, f.e.:
         hb_i18n_gettext( .t. )
    * do not generate empty .pot file when source code does not contain any
      hb_i18n_*() functions
    * store in .pot files references to real source file names with paths
      respecting #include directives
    * use hb_compIdentifierNew() to hash i18n messages at compile time
    ! fixed possible bad escape encoding of i18n strings
    + added support to control -j[01] flag using #pragma directive

      Before I'll begin to work on runtime support please test these
      modifications and inform me about problems you can see with the
      above version and missing functionality.
2008-12-02 10:26:51 +00:00