Commit Graph

17942 Commits

Author SHA1 Message Date
Viktor Szakats
7f9c2d31de 2012-10-19 13:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
    ! GETSECRET() fixed to not access protected TGETLIST 
      variables when SET KEY is pressed.
    * hbformatted

  * contrib/hbformat/hbfmtcls.prg
    * applied formatting changes from Maurizio's patch
      (it makes it easier to see what changed)

  * contrib/hbnf/prtscr.c
    % optimized
2012-10-19 11:53:53 +00:00
Viktor Szakats
830d7ad1f6 2012-10-19 01:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbhash.c
    * use HB_FUNC_TRANSLATE() on two extra functions which 
      were reimplemented but the same implementations also exist
      in core so they can be used: HB_HSETAUTOADD()/HB_SETCASEMATCH()
2012-10-18 23:08:43 +00:00
Viktor Szakats
76f741a69a 2012-10-19 00:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/ctwfunc.c
  * contrib/hbct/files.c
  * contrib/hbfship/dbsetloc.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbnf/fttext.c
  * contrib/xhb/xhbgt.c
  * contrib/xhb/xhbtrim.c
  * src/rdd/dbcmd.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rtl/cdpapihb.c
  * src/rtl/dirdrive.c
  * src/rtl/gete.c
  * src/rtl/hbi18n1.c
  * src/rtl/trim.c
  * src/vm/classes.c
    * use HB_FUNC_TRANSLATE() where the target function was 
      present in the same physical source file (plus some 
      RDD ones missed in prev)
2012-10-18 22:57:38 +00:00
Viktor Szakats
92dddad5e8 2012-10-18 23:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgutils.c
  * contrib/hbct/dbftools.c
  * contrib/hbfship/flddeci.c
  * contrib/hbfship/isfunc.c
  * contrib/hbfship/secondfs.c
  * contrib/hbnf/mouse.c
  * contrib/hbxpp/dbcmdx.c
  * contrib/hbxpp/dbdetacx.c
  * contrib/hbxpp/dllx.c
  * contrib/rddsql/sqlmix.c
  * contrib/sddfb/sddfb.c
  * contrib/sddmy/sddmy.c
  * contrib/sddoci/sddoci.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddpg/sddpg.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/xhb/xhbarr.c
  * contrib/xhb/xhbdate.c
  * contrib/xhb/xhbfs.c
  * contrib/xhb/xhbfunc.c
  * contrib/xhb/xhbgt.c
  * contrib/xhb/xhbhash.c
  * contrib/xhb/xhbi18n.c
  * contrib/xhb/xhbinet.c
  * contrib/xhb/xhbini.c
  * contrib/xhb/xhbmtc.c
  * contrib/xhb/xhbolec.c
  * contrib/xhb/xhbprn.c
  * contrib/xhb/xhbproc.c
  * contrib/xhb/xhbregx.c
  * contrib/xhb/xhbwin.c
  * contrib/xhb/xwin_reg.c
  * contrib/xhb/xwin_ver.c
  * src/rdd/dbcmdhb.c
  * src/rdd/dbdrop.c
  * src/rdd/dbexists.c
  * src/rdd/dbnubs.c
  * src/rdd/dbrename.c
  * src/rdd/fieldhb.c
  * src/rdd/hbsix/sxredir.c
  * src/rdd/hsx/cftsfunc.c
  * src/rdd/rddinfo.c
  * src/rtl/cdpapihb.c
  * src/rtl/defpathu.c
  * src/rtl/errapiu.c
  * src/rtl/natmsgu.c
  * src/rtl/pad.c
  * src/rtl/shadowu.c
  * src/vm/memvclip.c
    * use HB_FUNC_TRANSLATE() when creating pure forwarder stubs
      (I might rename this to HB_FUNC_FORWARD())
2012-10-18 21:59:19 +00:00
Viktor Szakats
f5837235c8 2012-10-18 20:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/hb_f.c
    ! fixed clang warning

  * contrib/hbzebra/datamtrx.c
    ! applied patch from Mindaugas, fixing literal truncation
      warning on MSVC. Thank you.

  * include/harbour.hbx
  * src/rtl/mouse53.c
    + added HB_MGETBOUNDS( /* @ */ nTop, /* @ */ nLeft, /* @ */ nBotton, /* @ */ nRight ) -> NIL

  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
    * all possible MS-DOS specific mouse handling
      functions rewritten in Harbour using core mouse API.
      Now the included sample more or less work.
      There are still two important functions (FT_MBUT*())
      that are MS-DOS specific and don't work. Have no
      idea yet how to rewrite these in multiplatform way,
      they work in very MS-DOS specific way.
    ! fixed few bugs along the way. Maybe introduced new
      ones. It doesn't help that NF functions (sometimes?)
      use X for vertical and Y for horizontal position.

  * contrib/hbnf/tests/mouse1.prg
    % turn cursor off to avoid excessive flicker

  * contrib/hbnf/fttext.c
  * contrib/hbnf/tests/metaph.prg
  * contrib/hbnf/tests/prtesc.prg
  * extras/gtwvw/docs/funclist.txt
    * formatting (mostly fighting long separator lines still)

  * src/rtl/mousehb.c
    % use HB_FUNC_TRANSLATE()
2012-10-18 19:07:01 +00:00
Viktor Szakats
6ae0f01ab3 2012-10-18 14:50 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    ! found typo (while testing a diffing tool)
2012-10-18 12:50:47 +00:00
Viktor Szakats
7a36a5e226 2012-10-18 12:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/hbnf.hbx
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse.c
    % use MROW()/MCOL()/MHIDE()/MSHOW() functions in
      place of MS-DOS low-level implementations
    * disabled page handling functions

  * contrib/hbnf/aading.prg
  * contrib/hbnf/acctadj.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/menuto.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/netpv.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/pending.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/sqzn.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/xbox.prg
    * use __defaultNIL()/hb_default()
    % optimizations done along the way

  * contrib/hbnf/tests/mouse1.prg
    * updated with mouse2.prg

  * contrib/hbnf/peek.c
    * synced with gtdos.c after Przemek's changes.
    ! added missing MK_FP() definition if not defined

  * src/rtl/gtdos/gtdos.c
    ! fixed old typo in one variable name

  - contrib/hbnf/tests/mouse2.prg
    - deleted duplicate code
2012-10-18 11:04:37 +00:00
Przemyslaw Czerpak
b47ea627fb 2012-10-18 12:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtdos/gtdos.c
    ! fixed MK_FP() macro
    * use HB_PEEK_BYTE() and HB_POKE_BYTE() macros if possible
    - removed POKE_BYTE() macro
    * renamed outport() to outportw()
    ; question: why this code was updating number of lines at 0x0004:0084
                after some set modes? Is it necessary?
2012-10-18 10:23:09 +00:00
Viktor Szakats
7fdcfe1ff8 2012-10-18 11:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/*.prg
    * cleanups, minor opts
2012-10-18 09:33:53 +00:00
Viktor Szakats
357d768615 2012-10-18 02:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtdos/gtdos.c
    * TOFIX added about duplicate macros with same functionality
      but different name (POKE_BYTE/HB_POKE_BYTE)
    ! fixed C++ comment
    ! fixed indenting/formatting in few places

  * contrib/hbnf/page.c
    - disabled FT_SETVPG()/FT_GETVPG() to do anything
      even on MS-DOS, because no other functions support
      video pages.

  * contrib/hbnf/hbnf.hbp
  - contrib/hbnf/poke.c
  * contrib/hbnf/peek.c
  * contrib/hbnf/support.c
    + Implemented FT_PEEK()/FT_POKE()/FT_INP()/FT_OUTP()
      for MS-DOS platform. Macros taken from gtdos.c.
      (build tested with Watcom/DOS. Might break in
      other build and not work in any of them. Please
      test)

  * contrib/hbnf/vidcur.prg
    + Implemented FT_SETVCUR()/FT_GETVCUR() w/o page
      support, using GT.

  * contrib/hbnf/kspeed.c
  * contrib/hbnf/page.c
    * renamed variable to be uniform

  * contrib/hbnf/scancode.prg
    * added TODO comment

  - contrib/hbnf/readme.txt
    - deleted, now TODOs are in source
2012-10-18 00:20:54 +00:00
Viktor Szakats
8a2e26e429 2012-10-18 00:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/sysmem.prg
  * contrib/hbnf/readme.txt
    + Implemented FT_SYSMEM()

  * contrib/hbnf/dosver.c
  * contrib/hbnf/isshare.c
  * contrib/hbnf/kspeed.c
  * contrib/hbnf/mouse.c
  * contrib/hbnf/page.c
  * contrib/hbnf/setdate.c
  * contrib/hbnf/settime.c
  * contrib/hbnf/support.c
  * contrib/hbnf/vidmode.c
    ! fixed to #include <dos.h> (not "dos.h")

  * src/vm/fm.c
    + Memory( HB_MEM_FM ) to report low-memory on MS-DOS systems
      (build tested)

  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
    * code cleanup, TODOs added
2012-10-17 22:59:28 +00:00
Viktor Szakats
7c86b77b5f 2012-10-18 00:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/tiff/Makefile
  - src/3rd/tiff/warning.c
  + src/3rd/tiff/warn.c
    * renamed to avoid the word 'warning' coming up
      unnecessarily in build logs.
2012-10-17 22:34:03 +00:00
Viktor Szakats
7ccebe3915 2012-10-18 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/compiler/complex.c
    ! added missing HB_SIZE case

  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
    * suppressed remaining MSVC 32 and 64 bit warnings
      (a very long time TODO). I used casts named after
      the type it casts to, so they are easy to identify:
      HB_ULONGCAST, HB_[U]SHORTCAST, HB_INTCAST
      So they can be searched for or converted to proper
      types in the future.
      This is the complete list of MSVC warnings that remain
      after this:
      ---
         harbour.y(1077) : warning C4244: '=' : conversion from 'HB_SIZE' to 'int', possible loss of data
         harbour.y(1371) : warning C4309: 'argument' : truncation of constant value
         harbour.y(1374) : warning C4309: 'argument' : truncation of constant value
         harboury.c(4089) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
         harboury.c(7737) : warning C4702: unreachable code
         harboury.c(7776) : warning C4701: potentially uninitialized local variable 'hb_comp_yylval' used
         macroy.c(1786) : warning C4065: switch statement contains 'default' but no 'case' labels
         macroy.c(1915) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
         macroy.c(3254) : warning C4702: unreachable code
         macroy.c(3293) : warning C4701: potentially uninitialized local variable 'hb_macro_yylval' used
         ../../../dbffpt1.c(521) : warning C4310: cast truncates constant value
         ../../../dbffpt1.c(904) : warning C4310: cast truncates constant value
         hbzebra\datamtrx.c(149) : warning C4310: cast truncates constant value
      ---
2012-10-17 22:19:26 +00:00
Viktor Szakats
44c6d42f30 2012-10-17 22:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/hbnf.hbp
  * contrib/hbnf/readme.txt
  - contrib/hbnf/setdate.prg
  - contrib/hbnf/settime.prg
  + contrib/hbnf/setdate.c
  + contrib/hbnf/settime.c
    + Implemented FT_SETTIME()/FT_SETDATE() for MS-DOS
      (build tested)
2012-10-17 20:06:12 +00:00
Viktor Szakats
8a3cba5756 2012-10-17 20:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/hbnf.hbx
  * contrib/hbnf/video1.c
    + Implemented FT_REVATTR(), FT_REVCHR()

  * contrib/hbnf/floptst.prg
    + Implemented FT_FLOPTST()

  * contrib/hbct/doc/en/*.txt
    ! fixed lib name where wrong

  * contrib/hbnf/cint86.c
  * contrib/hbnf/support.c
    * changed TODOs to visible warnings on MS-DOS platform

  * contrib/hbnf/ftattr.c
    % FT_RESTATT(): buffering output
    * minor cleanups

  * contrib/hbnf/readme.txt
    * updated

  * contrib/hbnf/doc/en/*.txt
    ! minor fixes
2012-10-17 18:47:20 +00:00
Viktor Szakats
10e5f09d4a 2012-10-17 16:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/*.txt
  * doc/en/*.txt
    * deleted source file references. use grep instead, 
      which always give up to date results.
2012-10-17 14:34:47 +00:00
Viktor Szakats
a34d287202 2012-10-17 15:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/*.txt
  * contrib/hbnf/doc/en/*.txt
    * cleanups and fixes
2012-10-17 13:42:24 +00:00
Viktor Szakats
955f5d676c 2012-10-17 14:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/caplock.c
  * contrib/hbnf/kspeed.c
  * contrib/hbnf/numlock.c
  * contrib/hbnf/proper.c
    * code cleanups
2012-10-17 12:42:37 +00:00
Viktor Szakats
2224e491b1 2012-10-17 12:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/acctmnth.prg
  * contrib/hbnf/acctyear.prg
  * contrib/hbnf/madd.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/round.prg
    ! fixed wrongly formatted negative numbers
2012-10-17 10:46:54 +00:00
Viktor Szakats
9c2f12afec 2012-10-17 11:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/popadder.prg
    * minor formatting (in part to be more hbformat friendly)
  * contrib/hbnf/video2.prg
    % minor cleanup
2012-10-17 09:44:38 +00:00
Viktor Szakats
0cc686291a 2012-10-17 11:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/doc/en/*.txt
    * set mime-type to UTF-8

  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/readme.txt
  + contrib/hbnf/video2.prg
    + implemented FT_CLS(), FT_VIDSTR(), FT_WRTCHR()

  * contrib/hbnf/video1.c
    + added dummy implementation of few missing
      functions. (commented)

  * contrib/hbnf/doc/en/video1.txt
    ! fixed old typo in example
2012-10-17 09:27:10 +00:00
Viktor Szakats
b586360129 2012-10-17 10:23 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/hbdocext.prg
  + tests/hbdocext.hb
    * renamed to .hb

  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  + contrib/hbnf/adapter.prg
    + added FT_ADAPTER()

  + contrib/hbnf/doc/en/cint86.txt
    + added one more missing doc (formatted a bit)

  * contrib/hbnf/cint86.c
    ! fixed to return .F. instead of NIL

  * contrib/hbnf/doc/en/outp.txt
  * contrib/hbnf/doc/en/prtscr.txt
  * contrib/hbnf/doc/en/reboot.txt
  * contrib/hbnf/doc/en/round.txt
    * formatting.

  * contrib/hbnf/support.c
    + added dummy versions of FT_INP(), FT_OUTP(), FT_REBOOT() 
      all returning permanent failure.

  * contrib/hbnf/readme.txt
    * updated
2012-10-17 08:26:43 +00:00
Viktor Szakats
cc14c1815c 2012-10-17 09:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added note about the requirement of GPL license next to all
      hb_compile()/hb_compileFromBuf() calls.
2012-10-17 07:57:51 +00:00
Viktor Szakats
e9b808ca71 2012-10-17 09:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/*.prg
  * contrib/gtwvg/tests/*.prg
  * contrib/hbamf/tests/tstendin.prg
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbct/tests/token2.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/rddads/tests/datad.prg
  * contrib/xhb/tedit.prg
  * extras/gtwvw/tests/*.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
    * removed space after .f./.t.
2012-10-17 07:22:54 +00:00
Viktor Szakats
374c03c57a 2012-10-17 08:24 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbnf/doc/en/adapter.txt
  + contrib/hbnf/doc/en/default.txt
  + contrib/hbnf/doc/en/inp.txt
  + contrib/hbnf/doc/en/outp.txt
  + contrib/hbnf/doc/en/reboot.txt
  + contrib/hbnf/doc/en/shadow.txt
  + contrib/hbnf/doc/en/video1.txt
    + added doc for missing functions

  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  + contrib/hbnf/default.prg
    + implemented FT_DEFAULT()

  - contrib/hbnf/doc/en/mouse2.txt
  - contrib/hbnf/doc/en/readme.txt
    - deleted duplicate content

  * contrib/hbnf/hbnf.hbp
  - contrib/hbnf/ftidle.c
  - contrib/hbnf/ftint86.c
  - contrib/hbnf/ftisprn.c
  - contrib/hbnf/ftround.prg
  - contrib/hbnf/ftshadow.c
  - contrib/hbnf/getver.c
  - contrib/hbnf/getvid.c
  - contrib/hbnf/menutonf.prg
  - contrib/hbnf/tests/ftgete.prg
  - contrib/hbnf/doc/en/ftidle.txt
  - contrib/hbnf/doc/en/ftisprn.txt
  - contrib/hbnf/doc/en/ftround.txt
  + contrib/hbnf/cint86.c
  + contrib/hbnf/dosver.c
  + contrib/hbnf/idle.c
  + contrib/hbnf/isprint.c
  + contrib/hbnf/isshare.c
  + contrib/hbnf/menuto.prg
  + contrib/hbnf/page.c
  + contrib/hbnf/round.prg
  + contrib/hbnf/shadow.c
  + contrib/hbnf/support.c
  + contrib/hbnf/video1.c
  + contrib/hbnf/vidmode.c
  + contrib/hbnf/tests/getenvrn.prg
  + contrib/hbnf/doc/en/idle.txt
  + contrib/hbnf/doc/en/isprint.txt
  + contrib/hbnf/doc/en/round.txt
    * files renamed and/or split to match the original NF layout
    % cleaned unnecessary headers

  * contrib/hbnf/dispc.c
  * contrib/hbnf/invclr.prg
  * contrib/hbnf/mouse.c
  * contrib/hbnf/prtscr.c
  * contrib/hbnf/putkey.c
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/doc/en/ftattr.txt
  * contrib/hbnf/doc/en/mouse1.txt
    * misc cleanups, formatting
    ! FT_PUTKEY() fixed to allow any keycode (f.e. unicode ones)

  * contrib/hbnf/readme.txt
    * updated
2012-10-17 06:34:24 +00:00
Viktor Szakats
a29a440adf 2012-10-16 21:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/acctmnth.prg
  * contrib/hbnf/acctqtr.prg
  * contrib/hbnf/acctweek.prg
  * contrib/hbnf/acctyear.prg
  * contrib/hbnf/savearr.prg
    % some more minor cleanups and opts
2012-10-16 19:15:53 +00:00
Viktor Szakats
bd55c2b305 2012-10-16 20:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbzebra/codabar.c
    ! minor correction to prev
2012-10-16 18:59:14 +00:00
Viktor Szakats
56c37cd3ba 2012-10-16 20:34 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/descendn.c
    + enabled FT_DESCEND() for all platforms

  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/peek.c
  * contrib/hbnf/poke.c
    * FT_PEEK(), FT_POKE() will now be compiled and returning
      permanent failure on all platforms.

  * contrib/hbnf/ftisprn.c
  * contrib/hbnf/ftshadow.c
  * contrib/hbnf/kspeed.c
  * contrib/hbnf/setkeys.c
  * contrib/hbnf/setlastk.c
    * use HB_FUNC_TRANSLATE()

  * contrib/hbnf/getver.c
  * contrib/hbnf/mkdir.c
  * contrib/hbnf/proper.c
    * minor fmt
2012-10-16 18:37:52 +00:00
Viktor Szakats
0253060316 2012-10-16 19:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbzebra/datamtrx.c
    ! fixed a char truncation warning
2012-10-16 17:26:56 +00:00
Viktor Szakats
90fe21fd75 2012-10-16 18:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbzebra/codabar.c
  * contrib/hbzebra/code39.c
  * contrib/hbzebra/code93.c
    * cleanup for 64-bit compatibility
2012-10-16 16:26:27 +00:00
Viktor Szakats
9485ec31aa 2012-10-16 18:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/hbnf.hbx
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
    % removed many .prg layer stub functions
    ! fixed lots of typos and other bugs.

  * contrib/hbnf/menu1.prg
  * contrib/hbnf/popadder.prg
    % two internal callbacks made STATIC. INCOMPATIBLE, but doubtful
      anybody would use these accidentally public special functions.
2012-10-16 16:15:39 +00:00
Viktor Szakats
61c2f3b43d 2012-10-16 16:50 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbnf/dosver.prg
  - contrib/hbnf/isshare.prg
  - contrib/hbnf/mouse2.prg
  - contrib/hbnf/page.prg
  - contrib/hbnf/vidmode.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/blink.prg
  * contrib/hbnf/byteneg.prg
  * contrib/hbnf/cntryset.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/diskfunc.prg
  * contrib/hbnf/dispc.c
  * contrib/hbnf/elapmil.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/findith.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.c
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/getver.c
  * contrib/hbnf/getvid.c
  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/madd.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/nooccur.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/rand1.prg
  * contrib/hbnf/savearr.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/sleep.prg
  * contrib/hbnf/tempfile.prg
    ! FT_MBUTPRS() fixed RTE
    ! fixed FT_DSKFREE(), also made it work on platform w/o drive letters
    ! fixed FT_DSKSIZE(), also made it work on platform w/o drive letters
    ! fixed FT_DOSVER() to return string type on all platforms
    + rewritten functions to use HB_BIT*() and hex number handling functions
    + rewritten FT_SLEEP() to use hb_idleSleep() internally
    % dispc.c rewritten to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) to find
      out cell size and cleaned code to adapt with minimal redundancy
    % optimized out several .prg level stubs
    % using SWITCH, hb_default(), hb_ntos() in some more places
    * removed some unuseful macros
    * minor formatting
    + fixed warnings and errors and enabled mouse1.prg
    % deleted outdated and duplicate mouse2.prg
    % deleted lots of MS-DOS specific commented code
    ! deleted #include for stdlib.h and string.h

  * include/hbapigt.h
  * src/rtl/gtapi.c
    - deleted just added hb_gtIsCompatBuffer().
      It's better to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) for this purpose.

  * contrib/hbformat/hbfmtcls.prg
    * minor formatting
2012-10-16 14:52:35 +00:00
Viktor Szakats
9053ff561c 2012-10-16 12:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/bitclr.prg
  * contrib/hbnf/bitset.prg
  * contrib/hbnf/byt2bit.prg
  * contrib/hbnf/byt2hex.prg
  * contrib/hbnf/byteand.prg
  * contrib/hbnf/bytenot.prg
  * contrib/hbnf/byteor.prg
  * contrib/hbnf/bytexor.prg
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/isbit.prg
  * contrib/hbnf/isbiton.prg
  * contrib/hbnf/tempfile.prg
    % reworked bit functions to use HB_BIT*()

  * contrib/hbnf/workdays.prg
    * deleted unnecessary parantheses
2012-10-16 10:32:57 +00:00
Viktor Szakats
c36cdb98ee 2012-10-16 11:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/acctmnth.prg
  * contrib/hbnf/acctqtr.prg
  * contrib/hbnf/acctweek.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dayofyr.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/month.prg
  * contrib/hbnf/qtr.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/week.prg
  * contrib/hbnf/xbox.prg
    % optimizations (cleaned constructs, opt out variables,
      use SWITCH)
    ! FT_AEMINLEN() fixed to return proper length for strings
      larger than Clipper's maximum.
    * use K_ENTER instead of K_RETURN
      (to use uniformly K_ENTER in repo)

  * contrib/hbnf/popadder.prg
    * use hb_keyCode() instead of hardwired key numbers

  * contrib/hbmisc/hbedit.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/xhb/xhbtedit.prg
  * src/rtl/teditor.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/sbartest.prg
    * use K_ENTER instead of K_RETURN
      (to use uniformly K_ENTER in repo)

  * contrib/hbnf/tests/datecnfg.prg
    ! use a non-current date for better testing
    * use simpleio.ch

  * contrib/hbnf/aavg.prg
  * contrib/hbnf/adessort.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/asum.prg
    * formatting
2012-10-16 09:21:44 +00:00
Pritpal Bedi
395ce974ff 2012-10-15 15:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    ! Handling of K_ALT_COMMA and K_ALT_PERIOD has been added.
       Brought from GTWVT - by Kresin.
2012-10-15 22:52:03 +00:00
Viktor Szakats
06608ba30d 2012-10-15 22:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fixed typo in 2012-10-11 00:43 UTC+0200
      Thanks to Rafal K for the report

  * contrib/hbnf/calendar.prg
    * minor
2012-10-15 20:43:31 +00:00
Viktor Szakats
e5893c1f44 2012-10-15 22:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/tstgtapi.c
    ! fixed to compile with current GT API

  * contrib/hbfbird/firebird.c
    ! fixed to use ANSI C comments
  * contrib/hbfbird/tfirebrd.prg
    ! fixed possible typo in prev in 'FBGetdata( qry, 1 )'
      instead of 'FBGetdata( qry, 3 )'
    ! formatted, long line split.
  * ChangeLog
    + added incompatibiliy note to 2012-10-15 21:48 UTC+0200.
      it will now force field names to their aliases.
2012-10-15 20:17:42 +00:00
Jacek Kubica
3d37ba28e0 * minor correction for changelog description in previous commit 2012-10-15 20:04:47 +00:00
Jacek Kubica
ea825ba3b5 2012-10-15 19:51:21 +00:00
Jacek Kubica
d9d8ecdfd8 2012-10-15 13:43 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl)
* contrib/hbfbird/tfirebrd.prg
  * contrib/hbfbird/tfirebrd.prg
    + added support for aliases in sql queries
    ! proper transtaltion sql TIMESTAMP -> harbour`s T value type
2012-10-15 19:48:36 +00:00
Viktor Szakats
7473d79918 2012-10-15 21:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgwin.c
    ! casts added after previous mod
2012-10-15 19:27:45 +00:00
Viktor Szakats
459925ed8c 2012-10-15 19:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapigt.h
  * src/rtl/gtapi.c
    + added HB_BOOL hb_gtCompatBuffer() to return the status
      of HB_GTI_COMPATBUFFER setting.
      BTW, shouldn't the default setting be changed to be
      Clipper compatible?

  * contrib/hbnf/dispc.c
    + added support for the now default HB_GTI_COMPATBUFFER == .F. mode.
    % exit char string is now internally converted to a keycode list.
    * use HB_UCHAR (was char) for buffer cells.
    * TOFIX changed for support for input file encoding and
      translating this to unicode when putting to screen.

  * contrib/hbnf/dfile.prg
    + FT_DFSETUP() 9th parameter got a Harbour extension by
      enabling an old low-level feature to be able to pass
      list of exist chars as array of numerics. This is unicode
      compatible.

  * contrib/hbnf/tests/dfile.prg
    + Pass array of numerics to FT_DFSETUP() function, which
      make K_F3 exit key work.
    + Display keyboard as number and as char in unicode compatible way.

  * utils/hbmk2/hbmk2.prg
    * explicitly turn off HB_GTI_COMPATBUFFER for scripts
      to not depend on Harbour default
2012-10-15 17:54:44 +00:00
Viktor Szakats
09b56f36b8 2012-10-15 19:03 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/dispc.c
    % pass around low-level structure as parameter to internal 
      functions instead of using TSD
2012-10-15 17:03:49 +00:00
Viktor Szakats
261f8551e7 2012-10-15 18:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
  * extras/httpsrv/uhttpd.prg
  * tests/ac_test2.prg
  * tests/alias.prg
  * tests/begin.prg
  * tests/db_brows.prg
  * tests/memfile.prg
  * tests/omacro.prg
  * tests/sbartest.prg
  * tests/switch.prg
  * tests/testget.prg
  * tests/testpp.prg
  * tests/tstblock.prg
  * tests/varparam.prg
    * use m_ prefix for PRIVATEs, p_ for PUBLICs and s[c]_
      for STATICs
    % optimized out some PRIVATEs
    % use hb_Disp*() instead of @ SAY in db_browse.prg
      (this fixes cursor flickering)

  * ChangeLog
    ! typos

  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_math.prg
    * formatting
2012-10-15 16:35:48 +00:00
Viktor Szakats
3d6a1e51a2 2012-10-15 15:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    * new TOFIX:
       "end class" is converted to "end CLASS" instead of "END CLASS"

  * contrib/gtwvg/3state.prg
  * contrib/gtwvg/activex.prg
  * contrib/gtwvg/bitmap.prg
  * contrib/gtwvg/checkbox.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/dataref.prg
  * contrib/gtwvg/dialog.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/htmlview.prg
  * contrib/gtwvg/listbox.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/pushbut.prg
  * contrib/gtwvg/radiobut.prg
  * contrib/gtwvg/scrollbr.prg
  * contrib/gtwvg/sle.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tabpage.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/treeview.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbgd/gdchart.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/url.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbtedit.prg
  * doc/clipper.txt
  * doc/en/command.txt
  * doc/en/objfunc.txt
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/wvwmouse.prg
  * extras/hbdoc/genbase.prg
  * extras/hbdoc/genhtml.prg
  * extras/hbdoc/gentxt.prg
  * extras/hbdoc/tmplates.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * extras/httpsrv/session.prg
  * tests/testdecl.prg
    * changed code to use Class(y) OOP syntax
      DATA -> VAR, CLASSDATA -> CLASS VAR, CLASS -> CREATE CLASS
      (except ENDCLASS -> END CLASS, because hbformat doesn't
      recognize it yet)
2012-10-15 13:23:56 +00:00
Alexander S.Kresin
943832d763 2012-10-15 16:20 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* harbour/src/rtl/gtwvt/gtwvt.c
    ! Handling of K_ALT_COMMA and K_ALT_PERIOD has been added.
2012-10-15 12:22:49 +00:00
Viktor Szakats
9f0d26d01c 2012-10-15 13:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgwin.c
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hblzf/core.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbxdiff/core.c
  * contrib/hbzebra/codabar.c
  * contrib/hbzebra/code39.c
  * contrib/hbzebra/code93.c
  * contrib/hbzebra/core.c
  * contrib/hbzebra/qrcode.c
  * contrib/rddads/ads1.c
    ! fixed various 64-bit problems revealed by compiler warnings
      (used casts, changed variables type, changed Harbour
      API functions, please review especially hbamf, hbzebra and gtwvg)

  * extras/httpsrv/uhttpd.prg
    + changed to use keyboard events to detect window close,
      instead of deprecated and now dummy feature HB_GTI_NOTIFIERBLOCK
2012-10-15 11:59:09 +00:00
Przemyslaw Czerpak
e673116987 2012-10-15 13:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbwin/win_prn1.c
    ! disabled EnumFontFamiliesEx() in WinCE builds
2012-10-15 11:43:32 +00:00
Przemyslaw Czerpak
a3b8dddaea 2012-10-15 13:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    ! removed unnecessary HB_P_POP in empty switch statement
2012-10-15 11:34:35 +00:00
Viktor Szakats
52636b561c 2012-10-15 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbpgsql/tests/simple.prg
    ! fixed SQL query syntax (via xhb)
2012-10-15 10:57:51 +00:00