Commit Graph

17977 Commits

Author SHA1 Message Date
Viktor Szakats
7082dceae1 2012-10-24 18:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/tests/test.prg
    * changed LZO_ADLER32() calls to HB_ADLER32() in test app.
2012-10-24 16:44:52 +00:00
Viktor Szakats
a0bd1cd972 2012-10-24 18:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/core.c
    * LZO_ADLER32() changed to use core checksum function.
      it's equivalent to HB_ADLER32( <s>, 1 )

  * src/rtl/hbadler.c
    % hb_adler32(): applied the loop unrolling optimization 
      found in the mzlo implementation.
2012-10-24 16:31:52 +00:00
Przemyslaw Czerpak
845658b407 2012-10-24 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
    ! fixed typo in function IDs.
      HB_I18N_NGETTEXT_STRICT() and HB_I18N_NGETTEXT_NOOP() were not
      recognized as i18n gettext functions

  * harbour/doc/cmpopt.txt
    ! fixed HB_I18N_NGETTEXT_NOOP*() syntax used in examples

  * harbour/src/common/expropt2.c
  * harbour/doc/cmpopt.txt
    + added compile time optimizations for expressions like
         <exp> =  <lVal>
         <exp> == <lVal>
         <exp> != <lVal>
         <lVal> =  <exp>
         <lVal> == <exp>
         <lVal> != <exp>
      They are reduced to <exp> or !<exp>. Because it may disable
      some runtime errors so it's not Clipper compatible optimization
      and is enabled when -ko compiler switch is used.

  * harbour/src/compiler/hbgenerr.c
    ! do not generate some warnings like:
         Meaningless use of expression '%s'
      when -w harbour compiler option is not used

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! indenting
2012-10-24 13:36:24 +00:00
Viktor Szakats
a0be261a8d 2012-10-24 13:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    + documented HB_INSTALL_3RDDYN envvar.
2012-10-24 11:54:08 +00:00
Viktor Szakats
dece73c962 2012-10-24 13:47 UTC+0200 Viktor Szakats (harbour syenar.net)
- doc/en/license.txt
    - deleted yet another copy of the Harbour license.
      A very outdated one.

  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbtip/hbtip.hbm
  * contrib/hbwin/hbwin.hbp
  * contrib/hbzebra/hbzebra.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/xhb/xhb.hbp
    * do not copy contrib .ch files to central Harbour
      directory. It means that if you need to use
      these files from now on, you need to use the
      .hbc files for all Harbour contribs. INCOMPATIBLE.
      This is the final step to complete this TODO:
         2012-03-04 20:31 UTC+0100
      Now all contrib .ch and .hbx files are stored
      locally in package folder.

  * ChangeLog
    * updated status for past TODO/TOFIX items
2012-10-24 11:51:19 +00:00
Viktor Szakats
a890fae120 2012-10-24 02:03 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbcairo/hbcairo.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbtip/hbtip.hbm
  * contrib/hbwin/hbwin.hbp
  * contrib/hbzebra/hbzebra.hbp
  * contrib/rddads/rddads.hbp
  * contrib/xhb/xhb.hbp
    * do not copy .ch/.hbx files to central Harbour
      directory. It means that if you need to use
      these files from now on, you need to use the
      .hbc files to add these packages to your project:
      xhbextrn.ch ctextern.ch adsextrn.ch
      (and more if you need an .hbx file.) INCOMPATIBLE.
      This is a gradual step to complete this TODO:
         2012-03-04 20:31 UTC+0100
      Now all .hbx files are stored locally in package
      folder.
2012-10-24 00:06:42 +00:00
Viktor Szakats
127fb24a15 2012-10-24 01:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbxpp/hbxpp.hbp
    * do not copy .ch/.hbx files to central Harbour
      directory. It means that if you need to use
      these files from now on, you need to use the
      .hbc files to add these packages to your project:
      hbblat.ch hbbz2.ch
      dll.ch dmlb.ch hbxpp.ch thread.ch (hbxpp.hbc)
      gd.ch gdextern.ch (hbgd.hbc)
      (and more if you need an .hbx file.) INCOMPATIBLE.
      This is a gradual step to complete this TODO:
         2012-03-04 20:31 UTC+0100

  * contrib/hbblat/hbblat.ch
  * contrib/hbblat/tests/blattest.prg
    * cleanups
2012-10-23 23:51:50 +00:00
Viktor Szakats
6da9917e3c 2012-10-24 00:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/class_tp.txt
  * doc/hdr_tpl.txt
  * doc/inet.txt
    * some more, including the templates modified according 
      to prev commit.
2012-10-23 22:49:26 +00:00
Viktor Szakats
104bce9689 2012-10-24 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbdoc.prg
    % changed to save NFDOCs without the '*'
      prepended in each line. It was making
      editing much more difficult. Padding also
      changed to 3 chars like in every Harbour
      source.

  * contrib/hbct/doc/en/*.txt
  * contrib/hbgd/doc/en/*.txt
  * contrib/hbgt/doc/en/*.txt
  * contrib/hbmisc/doc/en/*.txt
  * contrib/hbnf/doc/en/*.txt
  * contrib/hbziparc/doc/en/*.txt
  * contrib/rddads/doc/en/*.txt
    * regenerated using hbdoc API

  * doc/en/*.txt
    * regenerated using hbdoc API
    * restored copyright headers manually

  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
    ! unicode fixes (untested)
    % SubStr( x, 1, y ) -> Left( x, y )
2012-10-23 22:43:55 +00:00
Viktor Szakats
6fe841c614 2012-10-23 23:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/detect.mk
  * contrib/hbct/print.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/n2color.c
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbwin/win_tprn.prg
  * doc/en/browse.txt
  * doc/en/compiler.txt
  * doc/en/file.txt
  * doc/en/garbage.txt
  * doc/en/gtslang.txt
  * doc/en/idle.txt
  * doc/en/memo.txt
  * doc/en/misc.txt
  * doc/en/setmode.txt
  * doc/en/string.txt
  * doc/en/terminal.txt
  * doc/gtapi.txt
  * doc/tracing.txt
  * include/filesys.api
  * include/hbapifs.h
  * include/hbsetup.h
  * package/mpkg_win.nsi
  * package/winuni/RELNOTES
  * src/codepage/*.c
  * src/common/hbffind.c
  * src/rtl/gete.c
  * src/rtl/hbgtcore.c
  * src/rtl/isprint.c
  * src/rtl/net.c
  * src/rtl/run.c
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
  * src/vm/dynsym.c
  * tests/stripem.prg
  * tests/tstgtapi.c
    * various platform related doc cleanups
2012-10-23 21:42:07 +00:00
Viktor Szakats
cd42aa6417 2012-10-23 22:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/hbamf.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbcomm/hbcomm.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbdroid/hbdroid.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbformat/hbformat.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbfship/hbfship.hbp
  * contrib/hbgs/hbgs.hbp
  * contrib/hbgt/hbgt.hbp
  * contrib/hbhttpd/hbhttpd.hbp
  * contrib/hblzf/hblzf.hbp
  * contrib/hbmagic/hbmagic.hbp
  * contrib/hbmemio/hbmemio.hbp
  * contrib/hbmisc/hbmisc.hbp
  * contrib/hbmlzo/hbmlzo.hbp
  * contrib/hbmxml/hbmxml.hbp
  * contrib/hbnetio/hbnetio.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hboslib/hboslib.hbp
  * contrib/hbsms/hbsms.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbxdiff/hbxdiff.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbziparc/hbziparc.hbp
    * do not copy .ch/.hbx files to central Harbour
      directory. It means that if you need to use
      these files from now on, you need to use the
      .hbc files to add these packages to your project:
      freeimag.ch ftmenuto.ch hbblink.ch hbcurl.ch hbexpat.ch
      hbfoxpro.ch hblzf.ch hbmagic.ch hbmlzo.ch hbmxml.ch
      hbssl.ch hbxdiff.ch hbxppext.ch telepath.ch
      (and more if you need an .hbx file.) INCOMPATIBLE.
      This is a gradual step to complete this TODO:
         2012-03-04 20:31 UTC+0100

  * contrib/hbfbird/readme.txt
  * contrib/hbfimage/readme.txt
  * contrib/hbmysql/readme.txt
  * contrib/hbnf/doc/en/chdir.txt
  * contrib/hbnf/doc/en/cint86.txt
  * contrib/hbziparc/doc/en/hbziparc.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/readme.txt
  * doc/en/file.txt
  * doc/dirstruc.txt
  * doc/en/dir.txt
  * doc/gmake.txt
  * doc/gtapi.txt
  * extras/httpsrv/readme.txt
  * utils/hbmk2/hbmk2.1
    * various updates (removed OS specific stuff,
      added reference to .hbc files, hbmk2,
      removed certain outdated information,
      DOS -> MS-DOS)

  - tests/dosshell.prg
  + tests/osshell.prg
    * renamed/changed to be OS agnostic

  * config/dir.mk
  * config/dos/djgpp.mk
  * config/globsh.mk
    * DOS -> MS-DOS

  * extras/httpsrv/uhttpd.prg
  * src/debug/dbghelp.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
    * DOS -> OS

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/dialog.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/wnd.prg
    * removed unnecessary parentheses
2012-10-23 20:49:40 +00:00
Viktor Szakats
71909fe634 2012-10-23 15:50 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/tests/testax.prg
  * contrib/hbwin/tests/testcom1.prg
  * contrib/hbwin/tests/testcom2.prg
  * contrib/hbwin/tests/testcopy.prg
  * contrib/hbwin/tests/testevnt.prg
  * contrib/hbwin/tests/testgdi.prg
  * contrib/hbwin/tests/testmapi.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testsvc.prg
    * necessary changes to run hbwin tests as scripts
    ; NOTE: testax.prg will RTE with 'Not exported method: _msgDestructor'

  * utils/hbmk2/examples/plug_bis.hb
  * utils/hbmk2/examples/plug_tpl.hb
    * added missing RETURN
    * use ? instead of OUTSTD() for errmsg when not run as plugin

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * tests/ipsvr.prg
    * avoid 'request hb_mt' (it's not script compatible).
      detect missing mt at runtime.

  * utils/hbmk2/hbmk2.prg
    * minor in comment
2012-10-23 14:48:08 +00:00
Viktor Szakats
bd2db96eb1 2012-10-23 14:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbcompat.ch
  * include/harbour.hbx
  * src/debug/debugger.prg
  * src/rtl/achoice.prg
  * src/rtl/inkey.c
  * src/rtl/memoedit.prg
    + added HB_KEYSETLAST() which is the successor of
      HB_SETLASTKEY() but renamed to put it into the
      right namespace. HB_SETLASTKEY() is deprecated
      and will disappear after the second major release.

  * utils/hbmk2/hbmk2.prg
    + added interactive keyboard functions to trigger
      full screen UI in scripts

  * contrib/hbct/tests/*.prg
    % deleted #include "ct.ch" where it's not used
    ! added #require "ct.ch" where ct.ch is #included

  * contrib/hbct/tests/csetarge.prg
    % CLS not needed anymore to force interactive UI

  * contrib/hbfbird/firebird.c
    ! typo in comment

  * contrib/hbct/tests/math.prg
    * minor
2012-10-23 12:54:45 +00:00
Przemyslaw Czerpak
76686c179b 2012-10-23 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/runner.c
    * use deferred function mechanism for overloaded function symbols.
      It allows to unload HRB modules without leaving dummy references.
2012-10-23 10:02:34 +00:00
Viktor Szakats
46851673d9 2012-10-23 10:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbfbird/firebird.c
    % further simplifications and fixed typo in prev
2012-10-23 08:46:27 +00:00
Viktor Szakats
b0b40172b5 2012-10-23 10:37 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbfbird/firebird.c
    ! fixed missing formatting/indenting in prev commit
    % simplified code
2012-10-23 08:38:11 +00:00
Jacek Kubica
b44b6aa772 2012-10-23 07:16 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl)
* update entry in Changelog
2012-10-23 07:19:17 +00:00
Jacek Kubica
08855b6eac 2012-10-23 07:15 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl)
* contrib/hbfbird/firebird.c
    ! correction in FBFETCH()
2012-10-23 07:18:02 +00:00
Viktor Szakats
83d87b45ad 2012-10-23 03:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/class.prg
  * contrib/hbct/tests/attoken.prg
  * contrib/hbct/tests/charnot.prg
  * contrib/hbct/tests/charrll.prg
  * contrib/hbct/tests/charrlr.prg
  * contrib/hbct/tests/charshl.prg
  * contrib/hbct/tests/charshr.prg
  * contrib/hbct/tests/csetarge.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbct/tests/finan.prg
  * contrib/hbct/tests/token.prg
  * contrib/hbct/tests/tokensep.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbnf/doc/en/fttext.txt
  * contrib/hbnf/doc/en/nwsem.txt
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tests/mouse1.prg
  * contrib/hbsqlit3/tests/hdbctest.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtpathy/telepath.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/hbxlsxml/xlsxml.prg
  * extras/rddado/adordd.prg
  * src/debug/debugger.prg
  * src/rtl/memoedit.prg
  * tests/sdf_test.prg
  * tests/tstasort.prg
  * tests/videotst.prg
  * tests/vmasort.prg
    % minor cleanups, fixes, optimizations and formatting
      (f.e. using hb_ntos(), avoiding '== .F./.T.' expressions, etc)
    ; NOTE: hbformat couldn't reformat adordd.prg, and even 
            after removing parts that caused and error and 
            finished error free, it failed to format the file 
            after a certain line.
2012-10-23 01:31:32 +00:00
Viktor Szakats
262471e895 2012-10-23 01:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/gdbar.prg
  * contrib/hbgd/gdbarcod.prg
    % cleanups and optimizations
2012-10-22 23:34:01 +00:00
Viktor Szakats
a854fe84dd 2012-10-23 00:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/gdbarcod.prg
    ! fixed generating check digit 0 instead of '*' for EAN13

  * contrib/hbrun/hbrun.hbp
    ! typo in comment
2012-10-22 22:58:49 +00:00
Viktor Szakats
a5c36c03de 2012-10-22 23:47 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/*.prg
    ! various cleanups and fixes after running them each
      using hbrun
2012-10-22 21:50:36 +00:00
Viktor Szakats
368003c484 2012-10-22 16:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/dattime3.c
  * contrib/hbct/tests/dates4.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/hbgd/tests/tpoly.prg
  * contrib/hbmisc/hbeditc.c
  * contrib/hbnf/tests/floptst.prg
  * contrib/hbnf/tests/gcd.prg
  * contrib/hbnf/tests/rand1.prg
  * contrib/hbtinymt/tests/test32.prg
  * contrib/hbtinymt/tests/test64.prg
  * contrib/hbunix/tests/testdmn.prg
    * various minor cleanups/fixes/formatting
2012-10-22 14:26:39 +00:00
Przemyslaw Czerpak
eb6cd71ef4 2012-10-22 14:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! fixed support for national characters in terminals working in
      ISO mode

  * harbour/contrib/xhb/xhbfunc.c
    * minor code simplification

  * harbour/doc/xhb-diff.txt
    * typo
2012-10-22 13:00:05 +00:00
Viktor Szakats
d7092106ec 2012-10-22 01:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/ctmath.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/ctstrfil.c
  * contrib/hbct/ctstrfil.h
  * contrib/hbct/ctwin.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/token1.c
  * contrib/hbct/token2.c
    * renamed statics to have s_/sc_ prefix
    * changed int to HB_FATTR for file attributes

  * contrib/hbct/tests/datetime.prg
    + implemented TODO now allowing to select language

  * contrib/hbsms/sms.prg
    + added links regarding sending in unicode

  * extras/httpsrv/uhttpd.prg
    ! fixed a TOFIX
2012-10-21 23:52:40 +00:00
Viktor Szakats
3a094e494b 2012-10-21 15:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/aredit.prg
    ! deleted code that never worked right, and it's a
      condition the caller can easily check anyway

  * contrib/hbnf/isprint.c
    + enabled [HB_]ISPRINT() on *nix system. It will try to
      open the passed device name. default is /dev/lp0.

  * src/rtl/hbsocket.c
    ! fixed dos/watcom error

  * src/rtl/isprint.c
    ! FT_ISPRINT(): default to PRN on non-*nix
2012-10-21 13:45:52 +00:00
Viktor Szakats
a6047bca09 2012-10-21 14:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/hbvpdf/hbvpdf.ch
  * extras/hbvpdf/hbvpdf.prg
    % reduced file size by changing long decoration comments
    * CRLF macro moved to source file from public header. INCOMPATIBLE.
2012-10-21 12:29:06 +00:00
Viktor Szakats
f1ca7719a6 2012-10-21 12:40 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/any2any.prg
    * optimized out macro

  * contrib/hbnf/fttext.c
  * contrib/hbnf/hbnf.hbx
    * deleted public function which was not there in original
      in this form (it was ASM specific debug trick)

  * contrib/hbnf/asum.prg
    * formatting
2012-10-21 10:42:36 +00:00
Viktor Szakats
0811364b5c 2012-10-21 12:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + added one known and one new minor TOFIX
    + Array2File() changed to strip extra EOLs from the end
      of file (sometimes and extra EOL is generated by
      hbformat).

  * src/debug/debugger.prg
  * src/rtl/tbrowse.prg
  * src/vm/harbinit.prg
  * utils/hbmk2/hbmk2.prg
    * formatting changed so that its fit
      hbformat style

  * contrib/sddmy/tests/test1.prg
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
    + added missing #require-s, anyways they don't run as scripts
      with the previously reported error.

  * ChangeLog
    ! typos
2012-10-21 10:23:18 +00:00
Viktor Szakats
d7938fa648 2012-10-21 01:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* */*.hbx
    * renegerated remaining ones
2012-10-20 23:47:21 +00:00
Viktor Szakats
8b99be0d50 2012-10-20 23:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % avoid lines and padding in autogenerated .hbx file comments

  * include/hblang.hbx
    ! fixed to exclude legacy language modules that missed
      the generic wildcard filter

  * */*.hbx
    * regenerated

  * src/rtl/langapi.c
    * deleted unnecessary comment
2012-10-20 21:38:31 +00:00
Viktor Szakats
4e30714a6e 2012-10-20 10:03 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbhash.c
    ! typo in a recent commit
2012-10-20 08:04:04 +00:00
Viktor Szakats
a81d08b044 2012-10-19 21:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * avoid splitting branching statements with #if branches
      to make it easy for hbformat to do its job.
      (patched hbformat still fails around line 3900)

  * contrib/xhb/htmutil.prg
    + TOFIX added for unicode incompatible Greek CP conversion 
      (from what to what it's not marked)
2012-10-19 19:23:36 +00:00
Viktor Szakats
6bfaa2d619 2012-10-19 15:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/ctchksum.c
  * contrib/hbct/ctcrypt.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/ctdummy.prg
  * contrib/hbct/ctmisc.prg
  * contrib/hbct/ctrand.prg
  * contrib/hbct/cttime.prg
  * contrib/hbct/fcopy.prg
  * contrib/hbct/getinfo.prg
  * contrib/hbct/getinput.prg
  * contrib/hbct/keysave.prg
  * contrib/hbct/keysec.prg
  * contrib/hbct/keytime.prg
  * contrib/hbct/kxlat.prg
  * contrib/hbct/screen3.prg
  * contrib/hbct/scrmark.prg
  * contrib/hbct/showtime.prg
  * contrib/hbct/tempfile.prg
    * hbformatted (using it with Maurizio's patch)
      (with few minor corrections - vert.alignment, '/' operator)
    * CA-T*ols

  * contrib/hbct/readme.txt
    * deleted multiple ending EOLs
2012-10-19 13:23:11 +00:00
Viktor Szakats
20167f265c 2012-10-19 13:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
    * SET() -> Set()
2012-10-19 11:59:36 +00:00
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