Commit Graph

10220 Commits

Author SHA1 Message Date
Viktor Szakats
f8c4e8bafc 2009-03-17 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.sh
  * bin/hb-func.sh
    ! mingw/cygwin .dll name generation tweaked to work 
      properly. This fixes both TOFIXes in prev commit.

  * mpkg_win.bat
    + Added -9 switch to zip.

  - contrib/examples/hbdoc/examples/core_es/hbpplib.txt
  * contrib/examples/hbdoc/examples/core_es/dirstruc.txt
    * Cleanup.
2009-03-17 19:15:32 +00:00
Viktor Szakats
9903514888 2009-03-17 17:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/readme.txt
  * contrib/hbapollo/readme.txt
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/readme.txt
  * contrib/hbbtree/hb_btree.c
    * Minor updates to make method/b32 references.
2009-03-17 16:52:59 +00:00
Viktor Szakats
dccd59cf69 2009-03-17 17:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.sh
  * bin/hb-mkdyn.bat
  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    + Renamed all Windows Harbour .dlls to harbour-11.dll and
      harbourmt-11.dll. This means that MinGW will now have a versioned
      name to be in sync with other builds. It also means that
      -vc, -pocc, -ow postfixes are gone (and additionally DMC
      could also be supported). What remains is -x64 to
      signal an x64 and -ia64 to signal a IA64 build. Another thing
      which remains is -b32 (now renamed to -bcc to be in sync with
      rest of Harbour), because Borland has an non-standard
      name mangling, and while it can be made work with other
      compilers since the calling convention is the same, it requires
      the .dll user applications to be rebuilt with some implib tricks.
      Overall Borland isn't recommended for .dll creation.
      Please do further tests for binary compatibility.

    ; TOFIX: Location of .dll still differs for mingw/cygwin, they
             are created in lib while rest of compilers create it in
             bin. I think we should sync them by creating a copy
             of the .dlls in bin for mingw/cygwin. Przemek, could
             you help here?
    ; TOFIX: "Making <dllname>..." screen messages. I'll need some  
             help here also.

  * bin/hb-mkdyn.sh
    * ${MAJOR} default set to 1.

  * make_gnu_os2.cmd
    * Minor formatting.

  * contrib/hbgd/gdwrp.c
    ! Minor correction to recent change. (avoiding warning for MinGW)
2009-03-17 16:30:35 +00:00
Przemyslaw Czerpak
583352f5d1 2009-03-17 16:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/speedtst.prg
    + added new tests of dynamic code blocks performance
    * modified to compile by __XPP__ and __CLIP__ - now for single
      thread only
2009-03-17 15:15:18 +00:00
Viktor Szakats
0a96f4ec34 2009-03-17 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
  * make_gnu_xmingw.sh
  * make_gnu_xmingwce.sh
  * mpkg_rpm_win.sh
  * mpkg_tgz.sh
  * bin/hb-mkdyn.sh
  * bin/hb-func.sh
  * bin/postinst.sh
  * config/win/mingwce.cf
  * config/win/mingw.cf
    * CCPATH -> HB_CCPATH
    * CCPREFIX -> HB_CCPREFIX
2009-03-17 12:41:13 +00:00
Viktor Szakats
52410317a6 2009-03-17 12:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ tests/server.prg
  * tests/Makefile
    + Added inet example from xhb.

  * source/vm/thread.c
    ! Fixed nested comment.

  * contrib/xhb/hbcompat.ch
  * contrib/xhb/xhb.ch
    ! Moved xhb.lib dependent translation to xhb.ch.

  * contrib/examples/hbdoc/examples/core_es/Makefile
  * contrib/examples/hbdoc/examples/core_en/genhtm.bat
  - contrib/examples/hbdoc/examples/core_en/genhtm.sh
    * Cleanup.
2009-03-17 11:23:27 +00:00
Viktor Szakats
f745af7218 2009-03-17 10:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* debian/rules
  * harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * mpkg_tgz.sh
    - hbdoc removed from core.

  - doc/Makefile
  - doc/es
  + contrib/examples/hbdoc/examples/core_es
    * Moved.

  - doc/man/hbdoc.1
  + contrib/examples/hbdoc/hbdoc.1
    * Moved.

  - doc/en/genhtm.lnk
  - doc/en/genhtm.sh
  - doc/en/genhtm.rsp
  - doc/en/genhtm.bat
  + contrib/examples/hbdoc/examples/core_en/genhtm.rsp
  + contrib/examples/hbdoc/examples/core_en/genhtm.lnk
  + contrib/examples/hbdoc/examples/core_en/genhtm.bat
  + contrib/examples/hbdoc/examples/core_en/genhtm.sh
    * Moved.

  - contrib/hbgt/doc/gendoc.bat
  - contrib/hbgt/doc/libgt.lnk
  - contrib/hbgt/doc/libgt.rsp
  - contrib/rddads/doc/gendoc.bat
  - contrib/rddads/doc/rddads.lnk
  - contrib/rddads/doc/rddads.rsp
    - Deleted.

  * utils/Makefile
  - utils/hbdoc
  + contrib/examples/hbdoc
  - contrib/hbmisc/doc/gendoc.bat
  - contrib/hbmisc/doc/hbmisc.lnk
  - contrib/hbmisc/doc/hbmisc.rsp
  + contrib/examples/hbdoc/examples/hbmisc/gendoc.bat
  + contrib/examples/hbdoc/examples/hbmisc/hbmisc.lnk
  + contrib/examples/hbdoc/examples/hbmisc/hbmisc.rsp
    * Moved.

  - contrib/hbgt/doc/en/ht_gt.txt
  + contrib/hbgt/doc/en/hbgt.txt
    * Renamed.
2009-03-17 09:09:00 +00:00
Viktor Szakats
708076ce5a 2009-03-17 09:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/genos2.prg
  * utils/hbdoc/genng.prg
  * utils/hbdoc/genasc.prg
  * utils/hbdoc/genchm.prg
  * utils/hbdoc/genhpc.prg
  * utils/hbdoc/ft_funcs.prg
  * utils/hbdoc/hbdoc.prg
  * utils/hbdoc/genhtm.prg
  * utils/hbdoc/genpdf1.prg
  * utils/hbdoc/gentrf.prg
  * utils/hbdoc/genrtf.prg
    + Enabled line number for all files to aid finding crashes.
    ! Few crashes fixed. Still far from usable state.

  * source/vm/thread.c
    + Added short Harbour level API description. (from Przemek)

  * contrib/xhb/Makefile
  * contrib/xhb/hbcompat.ch
  + contrib/xhb/xhbmt.prg
    + Added translation for all xhb MT functions.
      (Thanks a lot Przemek)
2009-03-17 08:28:01 +00:00
Viktor Szakats
d13d5324dd 2009-03-17 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed mingw -fmstat in static mode. (shared mode gives
      warnings and doesn't work)
    + Added -[no]fmstat for all compilers. (untested)
2009-03-16 23:18:28 +00:00
Viktor Szakats
85559adb23 2009-03-16 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
    % Removed forced -O2 options, -O3/-O2 are the defaults already.

  * mpkg_win.bat
    + Adds -DHB_FM_STATISTICS_OFF to HB_USER_CFLAGS.

  * utils/hbmk2/hbmk2.prg
    ! Setting gtwvt for msvcce targets as default GT.

  * source/debug/debugger.prg
    % Minor optimization. (platform branching done at PP 
      time rather than runtime).

  * contrib/xhb/hbcompat.ch
    + Added DestroyMutex() compatibility #translate.
2009-03-16 22:18:54 +00:00
Viktor Szakats
65c1dfc0fb 2009-03-16 18:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added __PLATFORM__* macro support for cross-compilation situations.

  * include/hbsetup.ch
    * Minor
2009-03-16 17:32:26 +00:00
Pritpal Bedi
abce362c05 2009-03-16 09:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wincallb.c
  * harbour/contrib/gtwvg/wvgwin.c
    ! Fixed MSVC warnings.
2009-03-16 16:41:05 +00:00
Pritpal Bedi
bbc5b54a6d 2009-03-16 09:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgwin.c
    ! Fixes for warnings on all compilers.
2009-03-16 16:08:42 +00:00
Viktor Szakats
4e914984e5 2009-03-16 15:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    ! Typo in bcc / fbclient.
    % Cleanup for owatcom, fbclient fixed.
2009-03-16 14:36:13 +00:00
Viktor Szakats
80323481d9 2009-03-16 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added 3.81 or upper as GNU Make requirement. Older ones
      have bugs exploitet by current .cf files.

  * contrib/hbssl/Makefile
    - Disabled for owatcom.

  * config/win/msvc.cf
    ! Fixed -TP switch. Stopped using CFLAGS.
    * Changed to use link.exe directly instead of cl.exe.

  * config/win/msvcce.cf
    * Minor cleanup.
2009-03-16 14:24:15 +00:00
Viktor Szakats
a17a6cdaef 2009-03-16 13:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for win/mingwce.
    + Honoring HB_CCPATH for ar in gcc *nix.
    + Honoring HB_CCPATH for gcc win.
2009-03-16 12:25:17 +00:00
Viktor Szakats
2cad8acaeb 2009-03-16 12:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    + Enabled new Harbour types. Still incomplete, and relying
      on old unsafe types in places.

  * contrib/gtwvg/gtwvg.c
    ! Warning.

  * contrib/gtwvg/wvgcuig.c
    ! Cast errors.

  * config/win/msvc.cf
    + Enabled C++ mode. This should result in stricter compiler
      warnings/errors, and also enables to use standard init
      method (non-C++ method is broken when using LTCG
      and potentially in other scenarios like IA64). Note, this
      doesn't mean we'd allow non-ANSI C usage inside Harbour,
      so no C++ features are allowd. This won't cause any
      drawbacks for the user AFAIK, if you know otherwise, pls
      speak up. [Notice that we're using C++ mode for owatcom
      on all platforms.]

  * doc/whatsnew.txt
    + Documented win/owatcom and OpenSSL incompatibility.
      (maybe it can be resolved, I didn't spend time on it)

  * INSTALL
    * C compiler -> ANSI C compiler.
2009-03-16 12:08:23 +00:00
Viktor Szakats
78ecf1f338 2009-03-16 11:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    ! Fixed typo in prev.

  * bin/hb-mkdyn.bat
    ! owatcom IMPLIB generation restored.

  * source/lang/msgpt.c
  * source/lang/msgeo.c
  * source/lang/msgfr.c
  * source/lang/msgptiso.c
  * source/lang/msgko.c
    ! Fixed missing commas.

  * source/vm/dynsym.c
  * source/vm/hvm.c
  * source/rdd/dbfnsx/dbfnsx1.c
    * while( TRUE ) -> for( ;; ) to avoid warning.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to owatcom support.
    ! Fixed to honor HB_CCPREFIX in mingw detection.

  * config/dos/owatcom.cf
  * config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    + Enabled -w3 warning level (from -w2)
    + Added -bm (MT) switch for win.
    + Using -5s and -3s (when NOOPT) in win.
    * Synced win owatcom options with GNU Make.

  ; TOFIX: ../../dbf1.c(208): Warning! W007: col(55) '&array' may not produce intended result
2009-03-16 10:32:34 +00:00
Pritpal Bedi
d3507d2a79 2009-03-15 23:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcuig.c
    ! A fix for UNICODE | non-UNICODE. Not sure if it is the 
      right way, but it works. Please fix me.
2009-03-16 06:13:40 +00:00
Viktor Szakats
394831e5d4 2009-03-16 01:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    + Added .dll generation for pocc.
    + Added -shared support for pocc.

  * utils/hbmk2/hbmk2.prg
    ! Warning after prev commit is fixed.

  * source/vm/Makefile
    * All win targets will generate maindllh lib.
2009-03-16 00:36:06 +00:00
Pritpal Bedi
e07462e564 2009-03-15 16:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/hbgtwvg.ch
    + #define HB_GTI_SETPOSANDSIZE
    + #define HB_GTI_HB_GTI_REFRESH
      + Two more events to manage new CUI-GUI objects.

    + #define GOBJ_OBJSTATE_*
    + #define GOBJ_OBJDATA_*
    + #define GOBJ_IMAGESOURCE_*
      + Constants to manage CUI=GUI objects.

  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvggui.h
    ! Updated to be compilable for WinCE builds.

  * harbour/contrib/gtwvg/gtwvg.c
    ! Updated to honor WinCE builds.
    ! Implemented double-buffering of console. Now flickering
      should be the topic of the past.

  * harbour/contrib/gtwvg/wvggui.c
    ! Updated to honor WinCE builds.

  * harbour/contrib/gtwvg/wvgcuig.c
    + Implemented a highly optimized GUI controls for CUI consoles.
      Implementation includes auto-destruction, data-substitution,
      enable/disable feast, etc. These controls are almost identical
      which are available with Wvt_Draw*() namespace but with a 
      great difference that these are tied to the urrent GT and 
      are handelled transparently by the GT itself. Developer 
      has only to define it. The only requirement is that 
      SaveScreen()/RestScreen() needs to be changed to new 
      Modal GT window. Appln screens will never get blurred. It 
      also employs optimized double-buffering and hence almost 
      eliminates screen flickering. 

  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
    ! Updated to honor WinCE builds.

  * harbour/contrib/gtwvg/wvgcrt.prg
    ! A couple of methods fine-tuned.
    ! Modal GT's more responsive to user needs.

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Demonstrated the latest implemention of CUI-GUI controls. See below.
      Please try <Traditional><WVG Console with CGUI> option in the main menu.
      Also note the usage of Modal GT to simulate Alert() in new window.
      Every GUI object returns a handle to it which may be used to 
      change its parameters.

    ; TOFIX( WINCE BUILDS ) - GetSystemDirectory()


    /*    IMPLEMENTATION OF CUI-GUI CONTROLS - A CODE PREVIEW



         #xTranslate Alert( => MyAlert(

         PROCEDURE GCUIConsole( oCrt )
            LOCAL dDate      := date()
            LOCAL cName      := pad( 'Some Usefule Name'   , 35 )
            LOCAL cAdd1      := pad( 'Linda Goldman Avenue', 35 )
            LOCAL cAdd2      := pad( 'Excellent Street'    , 35 )
            LOCAL cAdd3      := pad( 'Suit #415'           , 35 )
            LOCAL nSlry      := 9000
            LOCAL nColGet    := 8
            LOCAL GetList    := {}
            LOCAL cLabel     := "VOUCH, that GROWS with you"
            LOCAL oTab, oStat, hBoxR, hTxt

            SET SCOREBOARD OFF

            SetColor( "N/W,N/GR*,,,N/W*" )
            CLS
            hb_gtInfo( HB_GTI_WINTITLE, "WVG Simplified yet Powerful CUI-GUI Console!" )

            @ MaxRow(), 0 SAY PadC( "Navigate the Gets", maxcol()+1 ) COLOR "W+/B"

            @  2, nColGet SAY "< Date >"
            @  5, nColGet SAY "<" + PadC( "Name"   , 33 ) + ">"
            @  8, nColGet SAY "<" + PadC( "Address", 33 ) + ">"
            @ 15, nColGet SAY "< Salary >"

            @  3, nColGet GET dDate  ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 1, FetchText( 1 ) ) } ;
                                     Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,0,0 ) ), .t. }
            @  6, nColGet GET cName  ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 1, FetchText( 2 ) ) } ;
                                     Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,255,0 ) ), ;
                                                           Wvg_SetGObjState( hBoxR, 3 ), .t. }
            @  9, nColGet GET cAdd1  ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 1, FetchText( 3 ) ) } ;
                                     Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,0,255 ) ), .t. }
            @ 11, nColGet GET cAdd2  ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 1, FetchText( 4 ) ) } ;
                                     Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,255,255 ) ), ;
                                                           Wvg_SetGObjState( hBoxR, 1 ), .t. }
            @ 13, nColGet GET cAdd3  ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 6, RGB( 198,21,140 ) ), .t. }
            @ 16, nColGet GET nSlry PICTURE "@Z 9999999.99" ;
                                     WHEN  {|| Wvg_SetGObjData( hTxt, 6, RGB( 0,0,0 ) ), .t. }

            // The only additional calls to render your console GUI
            //
            // The GETLIST  : This can be embedded via  @ GET preprocessor command
            aEval( GetList, {|oGet| Wvg_BoxGet( oGet:Row, oGet:Col, Len( Transform( oGet:VarGet(), oGet:Picture ) ) ) } )
            //
            hBoxR := Wvg_BoxRaised( 1,2,18,49, {-5,-5,5,5} )
            //
            Wvg_BoxRecessed( 1,2,18,49 )
            //
            // Wvg_BoxGroup( 2,4,17,47 )
            //
            Wvg_BoxGroupRaised( 2,4,17,47, {-7,-7,7,7} )
            //
            hTxt := Wvg_TextBox( 3,57,16,75, {10,10,-10,-10}, 'This is first TextBox Line!', 2, 2 )
            //
            Wvg_Image( 15,36,16,42, {-3,-3,3,3}, GOBJ_IMAGESOURCE_FILE, 'Vouch1.bmp' )
            //
            Wvg_BoxRaised( 15,36,16,42,{-2,-2,2,2} )
            //
            Wvg_ShadedRect( 1,54,18,79, { -5,-5,5,5 }, 0, {65000,21000,7000,56000}, {255,32255,16000,32500} )
            //
            Wvg_BoxRaised( 1,54,18,79, {-5,-5,5,5} )

            // Instruct GT to Repaint the Screen with GUI elements.
            oCrt:refresh()

            // Issue the read
            READ

            Alert( 'How did you like the "Alert" replacement?', { 'WOW','OK','OOps'} )

            RETURN
         /*----------------------------------------------------------------------*/
         #xUntranslate alert( =>

         FUNCTION MyAlert( cMsg, aOpt )
            LOCAL nSel, oCrt

            oCrt := WvgCrt():New( , , { -1,-1 }, { 9, MaxCol()-6 }, , .t. )
            oCrt:lModal := .t.
            oCrt:icon   := "dia_excl.ico"
            oCrt:create()
            oCrt:resizable := .t.

            SetColor( 'N/W' )
            CLS
            hb_gtInfo( HB_GTI_WINTITLE, cMsg )

            nSel := Alert( cMsg, aOpt )

            oCrt:destroy()

            RETURN nSel

         #xTranslate Alert( => MyAlert(
         /*----------------------------------------------------------------------*/
         STATIC FUNCTION FetchText( nMode )
            LOCAL cText

            DO CASE
            CASE nMode == 1
               cText := 'Do you know Harbour is gaining a popularity what Clipper enjoyed at one time! '
               cText += 'Enjoy it.'
            CASE nMode == 2
               cText := 'Do you know Harbour can host pure console, cui+gui console, pure gui consoles applications? '
               cText += 'This demonstration is a proof of that.'
            CASE nMode == 3
               cText := 'Do you know Harbour is a multi-gt, multi-window, multi-thread compiler far superior than others in the market! '
               cText += 'And is FREE.'
            CASE nMode == 4
               cText := 'Enjoy and contribute to the project any way you can. Develop, Debug, Support, and spread a word of mouth!'
            ENDCASE

            RETURN cText
         /*----------------------------------------------------------------------*/
    */

    ;TODO - Write a comprehensive help to exploit CUI-GUI functionality.
            Will do in a few days.
2009-03-15 23:55:29 +00:00
Viktor Szakats
a6569d6ef9 2009-03-16 00:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    + Added owatcom and pocc support for implib generation.

  * utils/hbmk2/hbmk2.prg
    + Fixed win/pocc support.
    + Added resource support for win/pocc.
    + Added .dll support for win/pocc.
    + Added win/xcc support (untested).
    + -DHB_DYNLIB is passed to C compiler in -hbdyn (.dll) mode
      for win targets. (still need fixing to create usable .dlls)
    ; NOTE: pocc support is very limited as pocc compiler doesn't
            support multiple input files.
2009-03-15 23:40:53 +00:00
Viktor Szakats
4e1e358ed1 2009-03-15 20:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Documented cross-build config for minwgce.

  * utils/hbmk2/hbmk2.prg
    + Added static lib generation support for owatcom compilers on
      platforms.
    + Added static lib generation support for gcc family.
      Please review it's probably incomplete.
    + Honoring HB_CCPREFIX on win platform for gcc family.
    ! Fixed typo on .c stub function declaration for bcc/owatcom.

  * contrib/xhb/hbcompat.ch
    + #xtranslate hb_funcptr(<x>) => __dynsn2sym(<x>)
2009-03-15 19:52:01 +00:00
Viktor Szakats
b17e5a0163 2009-03-14 16:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgt/strasint.c
    % Using HB_ISDIGIT()
    ! Fixed to not include hbtrace.h directly.

  * make_gnu.bat
    % make clean and install phases merged in HB_BUILD_DLL mode.

  * bin/postinst.bat
    ! Fix to recent change.

  * include/hbdefs.h
    ! Moved #include hbtrace.h after HB_EXPORT is defined.
      (hack)
2009-03-14 15:17:52 +00:00
Viktor Szakats
5220b0740a 2009-03-14 15:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
    % Unnecessary Harbour headers removed.
2009-03-14 14:05:12 +00:00
Viktor Szakats
e267c38c93 2009-03-14 14:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_xmingwce.sh
    - Disabled modifying PATH when host OS is Windows.
    ; NOTE: Hack.

  * include/hbtrace.h
    + Added HB_EXPORT.

  * doc/whatsnew.txt
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbfimage/Makefile
    - Restored previous state, because latest changed addressing
      Linux build failure were causing problems for the Windows
      platform.
    ; TOFIX: We must clean our types, to avoid these problems
             and all bad hacks to work it around.

  * mpkg_win.bat
  * mpkg_win.nsi
    + Added files ChangeLog, TODO, ERRATA, INSTALL to root dir.
    * Some changed to batch targeting robustness for situations
      which cannot normally happen in normal cases, but it's
      useful for debugging.
2009-03-14 13:41:18 +00:00
Viktor Szakats
80e31eabc1 2009-03-13 23:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu.bat
  * config/win/global.cf
    * HB_BUILD_DLL is now processed by make_gnu.bat and another
      internal envvar is used to request DLL flags from the GNU
      Make. This way some side effects are avoided when doing a
      make_gnu.sh launched build.

  * make_gnu.sh
    + Emptying CLIPPER/HARBOUR envvars before starting the build.
      (please test)

  * contrib/hbfbird/firebird.c
    * Minor formatting.

  * contrib/hbcurl/hbcurl.c
    ! Fixed warning/bug in recently added feature.
2009-03-13 22:21:50 +00:00
Viktor Szakats
082dec5be5 2009-03-13 16:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* mpkg_win.bat
    * Cleanup.
    - Removed checking for errorlevel as it made it exit 
      even when doing successful builds. [ Why? Could someone 
      look at this? ]

  * contrib/hbwin/wapi_commctrl.c
    ! Fix of the fix of the fix for non-ANSI comment fixes.
2009-03-13 15:31:41 +00:00
Viktor Szakats
6b52420025 2009-03-13 13:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/ac_test2.prg
    * Updated.
  * source/rtl/achoice.prg
    ! Fixed to not call user func in AC_NOITEM mode.
    ! Added more visual corrections for better CA-Cl*pper compatibility.
  ; Thanks to Vladislav Lavrecky for the above.
2009-03-13 12:20:13 +00:00
Viktor Szakats
bf520ec12a 2009-03-13 12:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Further refined GNU Make usage instructions for Windows
      compilers. The recommended way of setting it up is now
      stricter and there is mention of recommended build and
      version number.

  * contrib/hbapollo/apollo.c
  * contrib/hbapollo/apollo1.prg
    * Formatting.
2009-03-13 11:58:00 +00:00
Viktor Szakats
a67f61795d 2009-03-13 03:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddsql/sddpg/pgsqldd.c
    ! MSVC C++ potentially uninit'ed var warning fixed.
2009-03-13 02:22:05 +00:00
Viktor Szakats
665fbc26db 2009-03-13 02:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/wapi_commctrl.c
    ! Fix to prev commit.

  * contrib/hbwin/win_ole.c
    ! Disabled whole code for WinCE.
2009-03-13 01:19:40 +00:00
Viktor Szakats
2e28a8c3e2 2009-03-13 01:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/wapi_winuser.c
    ! Lots of non-ANSI C comments converted to ANSI.
      (may I please ask to pay attention to this?)
    ! Fixed WAPI_GETSCROLLRANGE() return value.
    ! non-WinCE compatible functions converted to stubs
      when compiled for WinCE.
    * Formatting.

  * contrib/Makefile
  - contrib/hbgf
  + contrib/examples/hbgf
  * contrib/examples/hbgf/hbgfwin/Makefile
  * contrib/examples/hbgf/hbgfos2/Makefile
  * contrib/examples/hbgf/hbgfgtk/Makefile
  * contrib/examples/hbgf/Makefile
    * hbgf moved from contrib to examples.

  * contrib/examples/Makefile
    * Updated.
2009-03-13 01:10:56 +00:00
Viktor Szakats
377ebf9853 2009-03-13 01:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/dos/owatcom.cf
  * config/win/poccce.cf
  * config/win/pocc64.cf
  * config/win/owatcom.cf
  * config/win/pocc.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    ! Cleanups and fixes after yesterday's changes.
      Turned out that CFLAGS has an important and strange
      difference compared to CPPFLAGS: It's also passed to the
      _linker_ :( This should be cleaned in the future.
    ! HB_USER_LDFLAGS honored in dos/owatcom.
2009-03-13 00:38:33 +00:00
Viktor Szakats
350298f3d1 2009-03-13 01:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgf/hbgfwin/winapi.c
    * Formatting.

  * contrib/hbwin/win_misc.c
    ! Fixed WIN_SHELLEXECUTE() for WinCE (converted to stub).
    ! Fixed WIN_RUNDETACHED() to compile with WinCE (4th parameter
      is ignored and fixed to CREATE_NEW_CONSOLE).

  * contrib/hbwin/win_regc.c
    ! HKEY_CURRENT_CONFIG disabled for WinCE builds.

  * source/rtl/gtwvt/gtwvt.c
    ! Complete "layered" window support disabled for WinCE builds.
2009-03-13 00:16:46 +00:00
Viktor Szakats
cefb90ee5e 2009-03-12 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/achoice.prg
  * tests/ac_test2.prg
    ! ACHOICE() made more Clipper compatible. Still not fully, pls
      continue Clipper/Harbour tests with updated ac_test2.prg.
2009-03-12 15:10:57 +00:00
Przemyslaw Czerpak
6037f521f9 2009-03-12 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/tests/ac_test2.prg
    + added achoice() test by Vladislav Lavrecky - many thanks.
2009-03-12 12:54:08 +00:00
Przemyslaw Czerpak
6a22675855 2009-03-12 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    + added some missing xterm key sequences

  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed curses name in SunOS builds (here we are using native curses
      library not ncurses)

  * harbour/config/hpux/global.cf
  * harbour/config/sunos/global.cf
    * enabled GTXWC disabled for default builds
2009-03-12 12:26:39 +00:00
Viktor Szakats
037ac96752 2009-03-12 10:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbtpathy/telepath.prg
    ! Fixed to use __PLATFORM__UNIX instead of __PLATFORM__LINUX.
    ! Fixed to check for string lengths instead of using Empty().
      This way full whitespace data is also handled now.

  * source/rtl/memoedit.prg
    * Minor formatting.
2009-03-12 09:59:20 +00:00
Viktor Szakats
f995717fa0 2009-03-12 10:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/achoice.prg
    ! Fixed to always dehilight active item on exit.
      (probably could be done more efficiently, feel free to 
      optimize it.)
      Please test.
    ; TOFIX: ? gttrm on Darwin changes console color from my 
             default green, to Harbour default gray on exit.

  * doc/whatsnew.txt
    * Minor.
2009-03-12 09:29:50 +00:00
Viktor Szakats
ba58f8b279 2009-03-12 03:45 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
  * mpkg_win.bat
    * HB_DIR_IMPLIB -> HB_BUILD_IMPLIB
      ATTENTION: Please modify your local settings. This setting
                 is now closer to final.

  * mpkg_win.bat
    + Turning on optimizations.
    + Turning off debug mode.
2009-03-12 02:53:13 +00:00
Viktor Szakats
ce58a01e13 2009-03-12 03:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/rules.cf
    + Do not add -l Harbour option when HB_BUILD_DEBUG=yes.
2009-03-12 02:42:37 +00:00
Viktor Szakats
ad02aa4384 2009-03-12 03:07 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    * Added comment to previous entry. (-d1 vs -d2 in owatcom)

  * config/rules.cf
    ! Fixed typo in prev.

  * config/dos/owatcom.cf
  * config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    % Removed unnecessary -i C compiler options. (pls check,
      I've tested with Windows and applied it to other platforms)
    % Removed DOS cmdline length hack from win/os2.
2009-03-12 02:08:13 +00:00
Viktor Szakats
df8f95e2b6 2009-03-12 02:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/dos/owatcom.cf
  * config/linux/owatcom.cf
    + Added support for HB_BUILD_DEBUG=yes.

  + config/os2/owatcom.cf
    + Added os2/owatcom build file. OS/2 users please test.

  * config/win/owatcom.cf
    * Minor formatting.
2009-03-12 01:50:43 +00:00
Viktor Szakats
6e24a9e260 2009-03-12 02:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/owatcom.cf
  * config/dos/djgpp.cf
  * config/win/mingwce.cf
  * config/win/poccce.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/owatcom.cf
  * config/win/xcc.cf
  * config/win/msvcce.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/owatcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
    + Added HB_BUILD_OPTIM=no setting to disable all C compiler
      optimizations (for quick draft builds, or debugging, testing).

  * config/win/xcc.cf
    % Cleaned -I options.
      (please verify)
2009-03-12 01:39:29 +00:00
Viktor Szakats
a7dfafc8c7 2009-03-12 02:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/achoice.prg
    ! Fixed handling of empty items.

  * INSTALL
  * config/rules.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/win/mingwce.cf
  * config/win/poccce.cf
  * config/win/pocc64.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/owatcom.cf
  * config/win/xcc.cf
  * config/win/msvcce.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
    + Added support HB_BUILD_DEBUG=yes.
      This will work identically to the former non-GNU make
      systems.
    ! Added missing -MT for MSVC. (from non-GNU make)
    * Changed a few CPPFLAGS to CFLAGS. (these are currently
      synonyms, and both are utilized without any apparent order).
      This could use more cleanup.
2009-03-12 01:16:53 +00:00
Przemyslaw Czerpak
5f9ae2e313 2009-03-11 22:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbgete.c
    * disabled unsetenv() from Watcom builds - looks that this function
      exists only in OpenWatcom header files.

  * harbour/source/common/hbprintf.c
    * do not use some FL functions which operates on long double values
      in SunOS builds
2009-03-11 21:42:29 +00:00
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
Viktor Szakats
b5c713fb88 2009-03-11 08:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
    + Added new entries since last update. Please review, etc...
    ; TODO: There is still 500K worth of ChangeLog to process 
            for the timeframe 200808/09-20081219.
            Someone pls help.

  * doc/man/hbmk.1
    * CC* envvar name change.
2009-03-11 07:57:06 +00:00