Commit Graph

888 Commits

Author SHA1 Message Date
Viktor Szakats
d932539f5c 2011-01-15 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/pcre/pcre.h
  * src/3rd/pcre/pcre.dif
  * src/3rd/pcre/config.h
  * src/3rd/pcre/Makefile
    + Upgraded PCRE to 8.12. (it's a no-op regarding the lib itself)
    ; Patch by Tamas. Thanks!
2011-01-15 17:35:20 +00:00
Przemyslaw Czerpak
a59b602a04 2011-01-15 17:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    ! use 'void *' instead of HANDLE in hb_winmainArgInit() parameters
2011-01-15 16:50:25 +00:00
Przemyslaw Czerpak
82df9ab45a 2011-01-15 12:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbwmain.c
  * harbour/src/vm/cmdarg.c
    * moved declaration of hb_winmainArgInit() to header file

  * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c
  * harbour/contrib/hbmxml/3rd/minixml/mxml.h
    ! fixed to compile with WinCE builds
    ; I cannot regenerate .diff file because
         ../../../../bin/hb3rdpat.hbs -rediff
      generates RT error:
         Error BASE/1123  Argument error: HB_ATOKENS
         Called from HB_ATOKENS(0)
         Called from URL_GETFILENAME(810)
         Called from FETCHANDEXTRACT(673)
         Called from MAIN(412)
      Sorry, probably I'm missing sth what was already discussed
      but I was not able to follow all post on the list in last
      weeks so I would like to ask Viktor or Tamas for the help.
2011-01-15 11:08:03 +00:00
Viktor Szakats
f211a162b1 2011-01-15 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwmain.c
  * src/vm/cmdarg.c
    ! Fixed missing declaration for hb_winmainArgInit()
    ! Fixed missing HB_EXTERN_* from around hb_winmainArgInit() declaration.
    ; Patches from Andi. Thank you.
    * Added HB_EXPORT to the declaration in hbwmain.c.
2011-01-15 09:43:57 +00:00
Przemyslaw Czerpak
c0b28bd5da 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * do not inherit in macrocompiler -z compile time switch when -kc is
      also used

  * harbour/src/common/expropt2.c
    * disable logical expression optimization (reduction) in macrocompiler
      when -kc compile time switch is used.

  * harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * enable some important warnings in GCC builds using -W<name>... instead
      of -Wall and -Wno-<name>... for warning level set to low.
      It should help in backward compatibility with some older GCC versions.
2011-01-15 00:15:42 +00:00
Przemyslaw Czerpak
5110687827 2011-01-13 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/stuff.c
    * minor modification which should pacify warnings in some compilers

  * harbour/src/rtl/gtgui/gtgui.c
    * removed unnecessary assignment to pacify BCC warning

  * harbour/contrib/hbxdiff/hbxdiff.c
    ! fixed file handle to pointer casting - on some platforms/C compilers
      old code could cause compile time warnings or even errors
2011-01-13 09:44:53 +00:00
Viktor Szakats
c3c1f244d4 2011-01-12 00:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/pem.c
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * Changed to use hb_evalBlock()/hb_evalBlock1()/hb_evalBlock0()
      instead of hb_vmEvalBlockV().

  * src/vm/eval.c
    ! Minor in comment.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    * Formatting.
2011-01-11 23:11:53 +00:00
Przemyslaw Czerpak
eff6876f82 2011-01-10 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtgui/gtgui.c
    * use MB_ABORTRETRYIGNORE instead of MB_RETRYCANCEL only when defined
      by default and program is executed in W2K or newer Windows version
2011-01-10 21:35:54 +00:00
Przemyslaw Czerpak
13b7273d44 2011-01-10 20:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtgui/gtgui.c
    + added basic support for redirecting ALERT() to MessageBox() in
      MS-Windows GTGUI builds. Please remember that MessageBox() supports
      only few predefined buttons so it's not possible to show all user
      options. Anyhow it should be enough to present error messages
      generated by default error handler.
2011-01-10 19:03:02 +00:00
Viktor Szakats
bf553da79a 2011-01-10 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/Makefile
    + Added special hack for pocc family of compilers to make
      it build png 1.5.x. This should be fixed in png code.
2011-01-10 12:36:41 +00:00
Viktor Szakats
74d4f9eec6 2011-01-10 12:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/Makefile
    - Do not set PNG_NO_SETJMP anymore.
    % Minor opt in condition check for PNG_NO_SNPRINTF.
2011-01-10 11:02:30 +00:00
Przemyslaw Czerpak
75a272cf20 2011-01-08 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed function name in HB_TRACE() message

  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/delim1.c
    * add CHR(26) at the end of COMMA and SDF files only when _SET_EOF is .T.
2011-01-08 18:26:10 +00:00
Viktor Szakats
56869aeb8d 2011-01-08 16:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ src/3rd/png/png.dif
  * src/3rd/png/Makefile
    + Added new .dif for png to cover recent local changes.

  * src/3rd/jpeg/jpeg.dif
  * src/3rd/jpeg/README
    ! Minor fix to .dif.

  ; Both patches sent by Tamas.
2011-01-08 15:25:44 +00:00
Viktor Szakats
f9a58a4deb 2011-01-08 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pnglconf.h
    ! Fix for watcom compilers. Patch by Tamas.

  * contrib/hbmxml/hbmxmlp.prg
    % Optimized out local variables.

  * ChangeLog
    ! Fixed missing credit for Tamas in 2011-01-07 18:30 UTC+0200 Petr Chornyj
2011-01-08 12:53:19 +00:00
Przemyslaw Czerpak
efe66864a4 2011-01-08 13:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/dlmalloc.c
  * harbour/contrib/xhb/win32prn.ch
  * harbour/contrib/rddbm/bmdbfx.c
  * harbour/contrib/hbxdiff/hbxdiff.ch
  * harbour/contrib/hbmisc/nconvert.prg
  * harbour/contrib/hbssl/bio.c
    * replaced TABs with SPACEs
2011-01-08 12:39:08 +00:00
Viktor Szakats
67b0a66438 2011-01-08 12:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ src/3rd/png/pngdebug.h
  + src/3rd/png/pnginfo.h
  + src/3rd/png/pngstru.h
  + src/3rd/png/pnglconf.h
    + Added file for png 1.5.
2011-01-08 11:32:29 +00:00
Viktor Szakats
3e7243e8e5 2011-01-08 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pngerror.c
  * src/3rd/png/pngrio.c
  * src/3rd/png/pngwrite.c
  * src/3rd/png/pngconf.h
  * src/3rd/png/pngwtran.c
  * src/3rd/png/pngpread.c
  * src/3rd/png/pngset.c
  * src/3rd/png/LICENSE
  * src/3rd/png/pngwio.c
  * src/3rd/png/pngrutil.c
  * src/3rd/png/pngwutil.c
  * src/3rd/png/pngread.c
  * src/3rd/png/pngmem.c
  * src/3rd/png/png.c
  * src/3rd/png/pngget.c
  * src/3rd/png/png.h
  * src/3rd/png/pngpriv.h
  * src/3rd/png/pngrtran.c
  * src/3rd/png/pngtrans.c
  * src/3rd/png/Makefile
    * libpng update to 1.5 (from 1.4)
    ; Patch by Tamas Tevesz. Thanks very much!
2011-01-08 11:08:21 +00:00
Viktor Szakats
6efb55a2c1 2011-01-08 11:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
    * Formatting.

  * package/winuni/mpkg_win_uni.nsi
    + Added TOFIX to recent HBIDE shortcut addition.
      It should only be there if HBIDE component was selected.
    - Disabled HBIDE icon until a proper solution is found.

  * contrib/hbct/ctnet.c
    ! NETRMTNAME(): Fixed along the patch sent by vbdasc.
      Please test it.

  * contrib/hbmxml/3rd/minixml/config.h
    ! Space at EOL.
2011-01-08 10:41:31 +00:00
Przemyslaw Czerpak
cb9a4d5af8 2011-01-08 03:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    + added new macros HB_WIN_IOREAD_LIMIT and HB_WIN_IOWRITE_LIMIT
      They are used to define maximal size of single IO read and
      write operations. In Win64 builds they are set by defauly
      to HB_U32_MAX. It's possible to rebuild Harbour with above
      macros setting some smaller limits.
2011-01-08 02:27:54 +00:00
Przemyslaw Czerpak
ea845b95f8 2011-01-07 10:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/cmdarg.c
    + added support for //F:<nFiles> application runtime switch in DOS
      and OS2 Open Watcom builds, code by Lorenzo Fiorini and Maurilio
      Longo borrowed from xHarbour.
2011-01-07 09:19:06 +00:00
Przemyslaw Czerpak
2be18a9c27 2011-01-05 10:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed hb_fsProcessExec() in DOS, OS2 and WinCE builds and 
      hb_fsProcessOpen() in OS2 builds to close handles open for
      stdin, stdout and stderr communication
2011-01-05 09:28:47 +00:00
Przemyslaw Czerpak
1363a5c8fb 2010-12-23 22:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fieldbl.prg
    ! fixed FieldBLock() and FieldWBLock() to be CA-Cl*pper compatible
      (they should return NIL for field names which are not valid
      identifiers and generate RTE during evaluation if field does
      not exist)
2010-12-23 21:40:45 +00:00
Przemyslaw Czerpak
74616b27d6 2010-12-22 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/itemapi.c
    + added support for symbol items in hb_itemString() function
2010-12-22 00:36:19 +00:00
Viktor Szakats
3e74803a17 2010-12-21 17:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/dbffpt/dbffpt1.c
    ! Silenced msvc warning.
2010-12-21 16:52:54 +00:00
Przemyslaw Czerpak
8f2656c604 2010-12-21 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprop.h
    * removed unused declaration

  * harbour/src/rtl/filesys.c
    * replaced ULONG_MAX used as 32 bits mask with 0xFFFFFFFF

  * harbour/src/vm/macro.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/hsx/hsx.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
    * pacified few MSVC warnings
2010-12-21 16:17:26 +00:00
Viktor Szakats
01df8322b5 2010-12-20 23:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pngrio.c
  * src/3rd/png/pngconf.h
  * src/3rd/png/pngwtran.c
  * src/3rd/png/pngpread.c
  * src/3rd/png/pngset.c
  * src/3rd/png/LICENSE
  * src/3rd/png/pngrutil.c
  * src/3rd/png/pngwutil.c
  * src/3rd/png/pngread.c
  * src/3rd/png/png.c
  * src/3rd/png/pngget.c
  * src/3rd/png/png.h
  * src/3rd/png/pngpriv.h
  * src/3rd/png/pngrtran.c
  * src/3rd/png/Makefile
  * src/3rd/pcre/pcre.h
  * src/3rd/pcre/pcrevutf.c
  * src/3rd/pcre/pcreexec.c
  * src/3rd/pcre/pcreinal.h
  * src/3rd/pcre/pcredfa.c
  * src/3rd/pcre/pcrecomp.c
  * src/3rd/pcre/pcre.dif
  * src/3rd/pcre/config.h
  * src/3rd/pcre/pcreprni.h
  * src/3rd/pcre/pcrestud.c
  * src/3rd/pcre/Makefile
    + update pcre to 8.11, png to 1.4.5
      changelogs:
      http://www.pcre.org/changelog.txt
      http://www.libpng.org/pub/png/src/libpng-1.4.5-README.txt
      build-tested in a couple of cross scenarios, looks ok.
      Patch from Tamas Tevesz.

  * contrib/hbtip/sendmail.prg
    % Minor.
2010-12-20 23:01:06 +00:00
Przemyslaw Czerpak
058d080c64 2010-12-17 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    * removed dummy assignment

  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplwin.c
    ! fixed one message translation

  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN='no'

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when warning level is low
2010-12-17 01:00:28 +00:00
Viktor Szakats
2cb717f820 2010-12-11 17:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Attempt to enable HB_GTI_PALETTER support for MSVC 2005/2008
      combined with Longhorn SDK. (also reverted prev change)
      Please retest in above environments, plus old MSVC and
      BCC 5.9.

  * config/hbc.cfg
    + More tweaks to make it Harbour-ready.
2010-12-11 16:55:05 +00:00
Viktor Szakats
6785f0b732 2010-12-11 16:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Disabled HB_GTI_PALETTE support for MSVC 2005/2008
      versions combined with certain (older) SDK versions.
      The symptom is missing NDDI_* detection support, yet
      present CONSOLE_SCREEN_BUFFER_INFOEX structure.
      (Most pbly SDK 6.x. SDK 7.0a is fine)
      Thanks to Andi for the tests.

  * config/hbc.cfg
    + Few tweaks to make it more Harbour compliant.
      F.e. for hblzf.c it now generated perfect result.

  * contrib/hblzf/hblzf.c
  * contrib/hblzf/tests/test.prg
    ! Added missing EOL at EOF.
    ! Restored my formatting fixes from previous commits.
    ! Refixed wrong formatting. (for the ~5th time)
    - Deleted synonym added in previous commit.
      I suggest to write a few words of reasoning for
      changes not having obviously apparent reason.
      It's brand new lib, so we should decide about _one_
      (the best) initial name and stick to it. Let's use
      synonyms if we later find out that we did some
      mistakes in the past, or other special occasion.
2010-12-11 15:21:47 +00:00
Viktor Szakats
eb65ad9c48 2010-12-11 11:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    + Added HB_GTI_PALETTE support to GTWIN for all non-msvc 
      compilers.
      (solution is hackish so it may need revision as future
      non-msvc, non-watcom compiler versions implement this
      feature in their own WinAPI headers.
2010-12-11 10:18:16 +00:00
Viktor Szakats
05f2b13336 2010-12-08 23:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
    * Bumped some more years.
    ! Fixed to $ Id $ in generated code.
2010-12-08 22:47:11 +00:00
Viktor Szakats
68ad6b9146 2010-12-08 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbide/idethemes.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * utils/hbrun/hbrun.prg
  * INSTALL
    * Bumped copyright year to 2011.

  * contrib/hbide/ideprojmanager.prg
    ! Fixed $ id $ in generated source.
2010-12-08 22:38:19 +00:00
Viktor Szakats
00c09ce91f 2010-12-08 21:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/debug/debugger.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbblat/tests/blattest.prg
  * contrib/hbgd/gd.prg
  * contrib/hbtip/tests/tipmail.prg
  * examples/rddado/adordd.prg
  * examples/httpsrv/cgifunc.prg
    * Eliminated using WITH OBJECT.
    % Some optimizations, little fixes.

  * tests/omacro.prg
    * Formatting.
2010-12-08 20:54:55 +00:00
Przemyslaw Czerpak
0823337f39 2010-12-08 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/complex.c
    ! fixed condition used in some seldom places to convert expressions
      inside square brackets [] to strings, i.e.:
         FOR EACH c IN [abc]
            ? c
         NEXT
    * keep Clipper restrictions for FUNCTION and PROCEDURE keywords
      covered by -kc switch
2010-12-08 11:20:15 +00:00
Przemyslaw Czerpak
726dc18996 2010-12-05 10:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpcskamc.c
  * harbour/src/codepage/cpskkamc.c
    * replaced binary tables used to create CSKAMC and SKKAMC with
      human readable definition using HB_CDP_CSSORT_MIXED
2010-12-05 09:51:16 +00:00
Przemyslaw Czerpak
3a71036691 2010-12-05 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/include/hbcdpreg.h
  * harbour/src/rtl/cdpapi.c
  * harbour/tests/cpinfo.prg
    + added support to define CPs using different letter case sorting
      in human readable form. Now it's possible to use:
         // uppers before lowers: ABCDE...abcde...
         #define HB_CP_CSSORT    HB_CDP_CSSORT_UPLO
         // uppers and lowers are mixed: AaBbCcDdEe....
         #define HB_CP_CSSORT    HB_CDP_CSSORT_MIXED
         // ignore case
         #define HB_CP_CSSORT    HB_CDP_CSSORT_IGNORE
2010-12-05 00:04:47 +00:00
Przemyslaw Czerpak
9519421231 2010-12-04 19:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbinfo.ch
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    + added DBOI_RESETPOS action which can be used to discard cached
      logical and raw position in all index files in given WA
2010-12-04 18:33:01 +00:00
Viktor Szakats
1e8ce2e200 2010-12-04 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! Fixed typo breaking MS-DOS builds.
2010-12-04 11:54:22 +00:00
Viktor Szakats
25bffb2a7d 2010-12-02 21:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbinet.c
    * Do not set SO_EXCLUSIVEADDRUSE on Windows in
      HB_INETSERVER(), HB_INETDGRAMBIND() calls.
    ; NOTE: INET API is compatibility API, it's deprecated and
            not recommended. Use SOCKET API instead, where
            you have full control of above options and it's
            also much superior API.
2010-12-02 20:42:33 +00:00
Viktor Szakats
514c3a2d00 2010-12-02 14:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbsocket.h
  * src/rtl/hbsocket.c
  * src/rtl/hbinet.c
  * src/rtl/hbsockhb.c
    + Added hb_socketSetExclusiveAddr() on .c level.
    + Added hb_socketSetExclusiveAddr() on .prg level.
    * hb_socketSetReuseAddr() cleaned from SO_EXCLUSIVEADDRUSE (Windows-only)
      logic.
    * Changed HB_INETSERVER(), HB_INETDGRAMBIND() to call
      hb_socketSetExclusiveAddr()(). We may delete these if they
      cause problems on some Windows platforms, though we must
      absolutely use this option (for security reasons) in every
      server component, if Windows host supports it.
    ; TODO: Call hb_socketSetExclusiveAddr() from hbnetio server,
            hbhttpd server.

  * include/hbcpage.hbx
  * src/codepage/Makefile
  + src/codepage/cpcs852c.c
  * src/codepage/cpsk852c.c
  - src/codepage/cpcskam.c
  + src/codepage/cpcskamc.c
  - src/codepage/cpskkam.c
  + src/codepage/cpskkamc.c
    ! Fixed SK852C to be fully Clipper compatible. (generated with cpinfo)
    ! Added Clipper compatible CS852C CP. (generated with cpinfo)
    * SK/CS Kamenicky CP moved to Clipper compatibility status.
      Updated to be Clipper compatible. (generated with cpinfo)
      INCOMPATIBLE. Pls update CP names if you used these.
      Thanks to Jaroslav Janik for the help.
      Please test all these.
2010-12-02 13:44:51 +00:00
Przemyslaw Czerpak
a75f57da55 2010-12-02 11:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpcs852.c
  * harbour/src/codepage/cpcskam.c
  * harbour/src/codepage/cpcsiso.c
  * harbour/src/codepage/cpcswin.c
    ! switched from HB_CDP_ACSORT_INTERLEAVED to HB_CDP_ACSORT_NONE in
      Czech code pages.

  * harbour/config/win/bcc.mk
    * disable explicitly some common BCC warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN=no

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some common BCC warnings which we can safely
      ignore when warning level is set to low

  * harbour/contrib/hbmisc/bbabble.c
    * removed unnecessary incrementation to pacify compile warning
2010-12-02 10:20:06 +00:00
Przemyslaw Czerpak
9c35c96545 2010-11-30 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    ! fixed hb_cdpcmp() call used in indexing RDDs so it can work with
      CPs using digraphs
2010-11-30 22:25:40 +00:00
Viktor Szakats
a623c4232f 2010-11-30 08:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! hb_socketSetReuseAddr() changed on win platforms to use
      SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR. See http://paste.lisp.org/display/59751.
      Rough patch, maybe the logic isn't applied to the right place,
      maybe extra win version checks are required, please test it
      and patch it further if needed.

  * src/rtl/hbinet.c
    * s_inetBind() changed back to call hb_socketSetReuseAddr() also
      on win platforms.

  * contrib/hbwin/tests/testole.prg
    + Added shortcut creation example.

  * contrib/hbide/idemisc.prg
    ! Fixed HBIDE_PATHNORMALIZED() to _never_ lowercase passed
      filename. As discussed very long time ago, such behavior
      is not portable. For comparison purposes HB_FILEMATCH()
      should be used, for other purposes _no_ change should be
      done by hbide in filename casing. Ever.
      This is brute force fix only applied to low-level code.
      It will cause regressions on the higher level, which have
      to be fixed.
    ; TODO: Delete this second parameter from all calls, now
            the value is ignored.
    ; TOFIX: Review all
             HBIDE_PATHNORMALIZED() and
             HBIDE_PATHNORMALIZED( p, .T. )
             calls if they are used in comparison context and change
             caller code to use HB_FILEMATCH().
    ; TOFIX: All current code which uses LOWER()/UPPER() to
             "normalize" filename before comparison with '=='
             operator should also be changed to HB_FILEMATCH().
             (except for cases where extension is used in the
             sense of file type).
    ; TOFIX: Rest of cases where LOWER()/UPPER() is applied to
             filenames.
    ! Fixed HBIDE_PATHFILE() to never uppercase drive letter.
      It's not strictly required since all so far known systems
      supporting drive letter are case insensitive, but it's
      nevertheless not the job of hbide to reformat pathnames.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
    ! Fixed some code to use HB_FILEMATCH() instead of unconditional
      uppercasing/lowercasing. Please review and finish this modification, 
      there might be more hidden places and might have overlooked anything 
      in this patch.
2010-11-30 07:46:52 +00:00
Przemyslaw Czerpak
85d282c49c 2010-11-29 15:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpsk852.c
  * harbour/src/codepage/cpskiso.c
    ! fixed typo in CP declaration:
      HB_CDP_ACSORT_INTERLEAVED -> HB_CDP_ACSORT_NONE
2010-11-29 14:47:50 +00:00
Przemyslaw Czerpak
f65ef41176 2010-11-29 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    ! fixed character sort weight calculation for digraphs
2010-11-29 14:42:51 +00:00
Viktor Szakats
ce4b9a2fc2 2010-11-28 10:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ config/hbc.cfg
    + Added .c source formatter config file for uncrustify source code formatter, 
      tailored to mimic Harbour C formatting style.
        http://uncrustify.sourceforge.net/
      This tool looks very promising to save manual formatting time.
      (in our case it's useful for new code, existing code is mostly 
      quite well formatted in most parts)
    ; WARNING: The config is currently at experimental stage (IOW it's
               not perfect), so don't use it to format any existing 
               Harbour source, but you may try it with your local source
               which you want to submit or see how would it look in 
               Harbour-style.

  * contrib/hbtip/url.prg
    ! Fixed to store passed url in :cAddress VAR.
      Like with most Harbour OOP code, this simple change may
      introduce hard-to-detect imcompatibility,
      so check your code.

  - contrib/rddbm/rddbmcdx.hbp
  + contrib/rddbm/rddbm.hbp
  - contrib/rddbm/rddbmcdx.hbc
  + contrib/rddbm/rddbm.hbc
    ! Renamed too.

  * src/codepage/cpsk852.c
  * src/codepage/cpskiso.c
  * src/codepage/cpskwin.c
    * Trying to add digraphs. (doesn't work here, but can't find out why)
    ; TODO: Update Kamenicky. (can't even do it with hb_translate(),
            as it's messed up the first time I edit it.
    ; TODO: Apply final fixes to CS CPs.

  * contrib/sddoci/sddoci.hbp
    + Added support for implib creation for win x64 targets.

  * package/winuni/RELNOTES
    * OCILIB version update.

  * contrib/rddbm/bmdbfcdx.c
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
    * Formatting.
2010-11-28 09:44:40 +00:00
Viktor Szakats
4a22ee33f7 2010-11-26 13:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_iswin2k3().

  * src/rtl/hbsocket.c
    + Comment.
    ; TOFIX: Use SO_EXCLUSIVEADDRUSE on Windows.
             See: http://paste.lisp.org/display/59751

  - examples/udpds
  + contrib/hbmisc/tests/udpdstst.prg
  + contrib/hbmisc/udpds.prg
  * contrib/hbmisc/hbmisc.hbp
    + Moved UDPDS functions to hbmisc lib. Added hb_ prefix to names,
      plus formatted with hbformat.

  * contrib/hbhttpd/tests/webapp.prg
    * Formatting.

  ; Patch from Tamas:

  * config/bsd/gcc.mk
  * config/bsd/clang.mk
    * switch bsd to -fPIC, otherwise not even core builds (on 8.1/amd64)
    * while there, bring bsd/gcc.mk in line with linux/gcc.mk (now they
      are identical)
    * ditto for bsd/clang.mk

  * contrib/hbqt/hbqt_common.hbc
    * for hbqt, switch static supc++ to dynamic stdc++, otherwise dyn hbqt
      doesn't build. this is because on at least fbsd supc++ is apparently
      not pic; but switching from static supc++ to dynamic stdc++ easily
      fixes it.
2010-11-26 12:46:14 +00:00
Przemyslaw Czerpak
7c8c239f5c 2010-11-26 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddbmcdx/bmdbfcdx.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/sddmy/sddmy.c
  * harbour/contrib/sddfb/sddfb.c
  * harbour/contrib/sddpg/sddpg.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddodbc/sddodbc.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
  * harbour/include/harbour.hbx
  * harbour/contrib/rddads/rddads.hbx
    * declare *_GETFUNCTABLE() functions as static - they do not have to
      be public C functions
    * simplified if possible RDD registration code and modified
      supper RDD request method so it's not stripped by compiler
      when hb_errInternal() function is declared with NORETURN
      attribute
2010-11-26 11:56:29 +00:00
Przemyslaw Czerpak
b244822532 2010-11-25 11:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbinet.c
    * restored old behavior of listen sockets used by hb_inet*() functions
      for non Windows platforms (SO_REUSEADDR)
2010-11-25 10:51:56 +00:00
Przemyslaw Czerpak
69bab2430e 2010-11-24 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    * enabled mkstemp() usage in *nix OpenWatcom 1.8 and newer builds

  * harbour/src/rtl/hbsocket.c
    * disabled getpeername() and shutdown() usage in OpenWatcom *nix
      builds only for OpenWatcom <= 1.9

  * harbour/src/rtl/diskspac.c
    * minor formatting

  * harbour/src/rtl/hbproces.c
    * enabled sysconf() hack only for OpenWatcom <= 1.9

  * harbour/src/rtl/hbcom.c
    * disabled OpenWatcom *nix builds only for OpenWatcom <= 1.9

  ; it's possible that above modifications will cause error if problems
    are not fixed in newer OpenWatcom releases but in such case we can
    simply change to OW number in #if condition.
2010-11-24 17:20:18 +00:00