Commit Graph

27 Commits

Author SHA1 Message Date
Viktor Szakats
f4ebdfd48b 2013-04-07 22:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    + do not add new empty entry template if one already
      exist, replace existing one instead
    + put last changelog entry to clipboard on pre-commit

  * bin/check.hb
    * refined and sorted exceptions for case checking

  * bin/check.hb
  - tests/fixcase.hb
    - deleted stdalong case fixer, now part of bin/check.hb
      (call it it --fixup-case option for same functionality)

  * doc/oldnews.txt
  * doc/pp.txt
    * casing fixes
2013-04-07 22:45:23 +02:00
Viktor Szakats
fb930b3083 changed negative file-type filters for case fixing to positive one 2013-04-07 17:40:05 +02:00
Viktor Szakats
95cccc46ad deleted some exceptions 2013-04-07 13:09:32 +02:00
Viktor Szakats
528c97e956 2013-04-07 13:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
  * tests/fixcase.hb
    * minor cleanups

  * tests/fixcase.hb
    + work regardless of cwd
2013-04-07 13:07:43 +02:00
Viktor Szakats
15cea3807f 2013-04-07 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
  * tests/fixcase.hb
    ! fixed another loop of regexp search and replace to only
      change exactly the item it found. It will fix some
      weird cases experienced in the past,
      f.e. in extras/httpsrv/uhttpd.prg
2013-04-07 12:51:26 +02:00
Viktor Szakats
e41b82be36 2013-04-07 10:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/Makefile
    ! do not ignore failures in contribs in GNU Make build process
      (this will ensure a 'build failed' status in Travis)

  * bin/check.hb
  * tests/fixcase.hb
    ! fixed to the way search hits are replaced. Now it replaces
      only what it found and where it found it, instead of previous
      brute-force method of replacing each similar hit in the file,
      causing the errors experienced in 2013-04-05 16:24 UTC+0200.
      (plus also few similar cases in the past)

  * tests/fixcase.hb
    ! fixed to do comment only fix on .c files even when run in
      single file mode
2013-04-07 11:03:48 +02:00
Viktor Szakats
2ad4417ea6 2013-04-06 12:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
  * tests/fixcase.hb
    ! do not strip newlines from comments

  * include/hbrddnsx.h
    ! fixcase fixups
2013-04-06 12:05:38 +02:00
Viktor Szakats
c622c4c78f two fixes for uncrustify parameter when called for automatic fixup 2013-04-05 18:59:13 +02:00
Viktor Szakats
b414d00664 2013-04-05 16:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
  * tests/fixcase.hb
    + some exceptions for casing
    * deleted one file exception (a readme)

  * contrib/gtwvg/gtwvgd.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbamf/amfenc.c
  * contrib/hbbz2/core.c
  * contrib/hbct/ctcom1.c
  * contrib/hbct/ctcom2.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/disk.c
  * contrib/hbct/finan.c
  * contrib/hbct/screen2.c
  * contrib/hbct/token1.c
  * contrib/hbct/token2.c
  * contrib/hbct/trig.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbhpdf/image.c
  * contrib/hbmisc/irm.c
  * contrib/hbnetio/netiocli.c
  * contrib/hbnetio/netiosrv.c
  * contrib/hbnetio/readme.txt
  * contrib/hbnf/dispc.c
  * contrib/hbnf/ftattr.c
  * contrib/hbnf/origin.c
  * contrib/hbssl/ssl.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_shell.c
  * contrib/rddads/ads1.c
  * contrib/rddads/adsfunc.c
  * contrib/xhb/fparse.c
  * contrib/xhb/hbcrypt.c
  * contrib/xhb/hbserv.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/txtline.c
  * contrib/xhb/xhbarr.c
  * contrib/xhb/xhbarrex.c
  * extras/gfspell/spellc.c
  * extras/gtwvw/gtwvwd.c
  * extras/gtwvw/hbgtwvw.h
  * extras/gtwvw/wvwcheck.c
  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwedit.c
  * extras/gtwvw/wvwfuncs.c
  * extras/gtwvw/wvwmenu.c
  * extras/gtwvw/wvwpush.c
  * extras/gtwvw/wvwstbar.c
  * extras/gtwvw/wvwtbar.c
  * include/hbapi.h
  * include/hbapirdd.h
  * include/hbdefs.h
  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbpcode.h
  * include/hbpp.h
  * include/hbrddcdx.h
  * include/hbrddnsx.h
  * src/codepage/cp_utf8.c
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/compiler/cmdcheck.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/hbfunchk.c
  * src/compiler/hbopt.c
  * src/pp/pplib.c
  * src/rdd/dbcmd.c
  * src/rdd/dbf1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/hbsix/sxcompr.c
  * src/rdd/hbsix/sxord.c
  * src/rdd/hsx/hsx.c
  * src/rtl/chruni.c
  * src/rtl/cputime.c
  * src/rtl/dateshb.c
  * src/rtl/filehb.c
  * src/rtl/filesys.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/hbgtcore.c
  * src/rtl/hbinet.c
  * src/rtl/hblpphb.c
  * src/rtl/hbmd5.c
  * src/rtl/hbproces.c
  * src/rtl/hbsocket.c
  * src/rtl/hbsockhb.c
  * src/rtl/hbtoken.c
  * src/rtl/hbzlib.c
  * src/rtl/hbzlibgz.c
  * src/rtl/langapi.c
  * src/rtl/mlcfunc.c
  * src/rtl/philes.c
  * src/rtl/soundex.c
  * src/rtl/strzero.c
  * src/rtl/transfrm.c
  * src/vm/arrayshb.c
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/eval.c
  * src/vm/garbage.c
  * src/vm/hvm.c
  * src/vm/macro.c
  * src/vm/memvars.c
  * src/vm/runner.c
  * src/vm/set.c
  * src/vm/thread.c
    * run tests/fixcase.hb now that it's able to fixup casing
      inside all comments
2013-04-05 16:27:40 +02:00
Viktor Szakats
c52196be33 2013-04-05 16:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    + fixed to apply fixes to non-binary files too

  * bin/check.hb
  * tests/fixcase.hb
    + improved fix casing to work in C files, too, but
      only inside comments
2013-04-05 16:15:34 +02:00
Viktor Szakats
a08811f554 2013-04-05 14:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! made it work regardless of cwd
    + added --fixup option to fix/process files
    + extended detection of SVN IDs based on 'ident' option
      in .gitattributes. Now also warn if missing.
    + added detection of C++ style comments in C files
    + ported Harbour function name casing fixup code, so
      it can now be done automatically before commit

  * bin/commit.hb
    * minor change in option name

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
    ! deleted large amount of MSDN documentation in C++ comments
    ! fixed C++ comments

  * src/pp/ppcore.c
    * avoid false C++ comment detection in deffed out
      non-code section

  * src/rtl/gttrm/gttrm.c
  * contrib/rddads/adsx.c
  * contrib/xhb/filestat.c
    ! fixed C++ comment

  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    + better comment

  * extras/gtwvw/hbgtwvw.h
  * extras/gtwvw/*.c
    ! fixed C++ comments
2013-04-05 15:03:38 +02:00
Viktor Szakats
38310bc781 2013-04-05 02:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed to use local implementation instead of hb_DirScan()
      which has known bug of missing extensionless files on win.
      (due to hb_FileMatch() problem)
    + added support to optimize images and uncrustify C source
      before upload (inactive yet)
    + added necessary exceptions now that extensionless files
      properly found
    + checks for filenames without extensions
    + checks for filenames with extensions not in .gitattributes

  * bin/commit.hb
    + show helpful advice when pre-commit hook check fails
    ! fixed to propely pick filenames that result from rename operations (for check)
    ! fixed to not pick filenames of deleted files (for check)

  * config/lang.hb
  * doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/Makefile
  * src/lang/l_zh_tra.c -> src/lang/l_zh.c
  * src/rtl/langcomp.prg
    * Language renamed: zh_tra -> zh (in sync with recently laid rules)
      The 'REQUEST HB_LANG_*' value become INCOMPATIBLE compared
      to previous dev versions

  * src/rtl/cdpdet.prg
    + added 'zh' country code to codepage detection

  * contrib/make.hb
  * contrib/hbplist -> contrib/hbplist.txt
    * renamed to have an extension

  * contrib/hbrun/doc/_GENERATED_ -> contrib/hbrun/doc/_autogen.txt
  * utils/hbmk2/doc/_GENERATED_ -> utils/hbmk2/doc/_autogen.txt
    * renamed to have names fitting naming rules
    + added warning message inside

  - extras/httpsrv/logs/empty
    - deleted unnecessary file with non-compliant filename

  - tests/stripeol.hb
    % deleted, now similar functionality is implemented in bin/check.hb

  * .gitattributes
    ! added missing .log and .ucf

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
    ! deleted SVN ID

  * debian/copyright
    ! synced with COPYING.txt

  * debian/postinst
  * debian/postrm
    ! deleted multiple EOL at EOF
2013-04-05 03:02:47 +02:00
Viktor Szakats
07fc4e75ea improvements to help workflow at pre-ChangeLog editing time and automatic pre-commit hook time 2013-04-04 16:04:36 +02:00
Viktor Szakats
fb9328c9b5 2013-04-04 04:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    + added code to launch default git editor with ChangeLog.txt
      (not yet activated)

  * contrib/hbexpat/hbexpat.hbc
    - reverted these two:
        2013-04-03 16:01 UTC+0200
        2013-03-27 16:29 UTC+0100
      It seems that expat.hbc is always installed regardless
      of local or system copy is used along the build/install
      process

  * utils/hbmk2/hbmk2.prg
    ! fixed -run on Darwin after 2013-03-15 13:57 UTC+0100
      (untested)
2013-04-04 04:41:09 +02:00
Viktor Szakats
e2b40f48fb 2013-04-04 03:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed shrinking of ChangeLog.txt to not result in broken EOLs
    ! refinements around interactions of EOL checks and fixes
    ! include Harbour files "hidden" under /3rd/ dirs

  * bin/commit.hb
    + set errorlevel, so it can now be used as a git pre-commit hook
      (as 'exec hbrun bin/commit' in .gits/hooks/pre-commit)

  * contrib/hbexpat/hbexpat.hbc
    ! fixed expat.hbc detection to actually look for .hbc file not .h
      (which is never present)

  * utils/hbmk2/hbmk2.prg
    + added depfinish= .hbc directive. It was missing, yet I
      was using it in hbexpat.hbc in recent patch, and wondered
      why it didn't work
      [ the necessity of the whole previous patch is still suspect
      though. ]
    + show warning for any .hbc directives that is unknown.
      This should avoid above situation nicely.
      INCOMPATIBILITY: Thus far all lines with unknown directives
      were ignored, now only empty ones or ones that begin with
      '#' character (in first column), as documented. Clean your
      .hbc files accordingly.
    ! fixed typo in one help text. Pls retranslate, I hope Transifex
      keeps previous texts, but you can find it in next language
      update commit, if not.

  * package/harb_win.mft
    ! deleted BOM (detected by check.hb)

  * contrib/3rd/sqlite3/sqlite3.hbc
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbc
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/_hbconf.h
  * contrib/hbexpat/3rd/expat/expat.hbc
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbhpdf/3rd/libhpdf/_hbhbpdf.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbc
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbc
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmxml/3rd/minixml/config.h
  * contrib/hbmxml/3rd/minixml/minixml.dif
  * contrib/hbmxml/3rd/minixml/mxml.hbc
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbc
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbxdiff/3rd/libxdiff/_hbconf.h
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
  * lib/3rd/win/bcc/Makefile
  * lib/3rd/win/mingw/Makefile
    ! deleted SVN IDs
    * rediffed where required
2013-04-04 03:50:52 +02:00
Viktor Szakats
db9b948154 2013-04-03 13:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed BOM detection and fixup

  * contrib/gtwvg/pushbut.prg
    % use HB_ISSTRING() instead of ValType() call

  * ChangeLog.txt
    ! deleted BOM for the 4th time after:
        2013-04-03 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
2013-04-03 13:54:21 +02:00
Viktor Szakats
f9d38b5ef5 2013-04-03 03:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fix to filename filter (needs large cleanup)

  * config/lang.hb
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  + src/lang/l_pt_br.c
    + added 'pt_br' language
2013-04-03 03:16:49 +02:00
Viktor Szakats
2e18ae8387 2013-04-03 03:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + enabled pulling all translation for core-lang

  * src/lang/l_es_419.c
    ! fixed lang ID

  * src/lang/l_*.c
    * rebuilt automatically from translations pulled from Transifex

  * config/lang2po.hb
    + added further clarification to one of the translations, in
      sync with Transifex comment. (comments cannot be pushed/pulled via .po)

  * bin/check.hb
    * minor
2013-04-03 03:04:01 +02:00
Viktor Szakats
ef37d79a27 added details to code adapted from foreign work 2013-04-03 01:37:56 +02:00
Viktor Szakats
c0d88c42dc 2013-04-02 22:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    + added file fixup feature (not yet activated)
    + refined detection of some problems

  * src/lang/l_de.c
  * src/lang/l_hu.c
  * src/lang/l_nl.c
  * src/lang/l_pl.c
    ! manual whitepsace/punctuation corrections

  * src/lang/l_el.c
    + manually applied translation from Transifex by Pete_wg
    * some manual whitepsace/punctuation corrections

  * src/rtl/langapi.c
    - deleted reference of unused and not needed RFC ID in language modules
    ; TODO: delete it from the language module string list

  * src/rtl/tgetlist.prg
    + handle the translation error where _GET_INSERT_OFF and _GET_INSERT_ON
      length doesn't match. Draw spaces instead of _GET_INSERT_OFF in that case

  * tests/lang2po.hb
  * tests/po2lang.hb
    + finalized two way .po <-> l_*.c file conversion
      (copyrights and RFC ID will be lost)
2013-04-02 22:14:28 +02:00
Viktor Szakats
b9d69aa3f5 2013-04-02 17:49 UTC+0200 Viktor Szakats (harbour syenar.net)
+ bin/check.hb
    + new source verifier. Able to all documented (and more)
      required text file and filename properties.

  * bin/commit.hb
    + added feature to verify all files to be committed to
      conform with certain naming and text file content rules
    + added some more feedback

  * config/postinst.hb
    + include commit.hb and check.hb in 'install'

  * include/extend.h
  * contrib/hbcairo/paths.c
  * contrib/hbcairo/png.c
  * contrib/hbcairo/util.c
  * contrib/hbtpathy/readme.txt
  * tests/harbour.ini
  * tests/parseins.ini
    ! multiple EOL at EOF

  * contrib/hbhpdf/tests/files/cp932.txt
  * contrib/hbhpdf/tests/files/cp936.txt
  * contrib/hbhpdf/tests/files/elic_jp.txt
    ! line ending spaces
    ! missing EOL at EOF

  * contrib/hbhttpd/tests/tpl/app/account/edit.tpl
  * contrib/hbhttpd/tests/tpl/app/login.tpl
  * contrib/hbhttpd/tests/tpl/app/logout.tpl
  * contrib/hbhttpd/tests/tpl/app/main.tpl
  * contrib/hbhttpd/tests/tpl/app/register.tpl
  * lib/3rd/win/bcc/unicows_license.txt
  * lib/3rd/win/mingw/libunicows_license.txt
    ! missing EOL at EOF

  * COPYING.txt
  * src/rtl/gtcrs/hb-charmap.def
  * tests/big5_gen.prg
    ! tabs

  * extras/gfspell/spell.prg
  * src/rtl/gtwin/gtwin.c
    ! ASCII 127

  * src/codepage/cp_tpl.c
    ! converted to UTF-8 (just guessing what the original CP was)

  * src/pp/hbpp.c
    ! do not generate SVN header in hbverbld.h
    + avoid SVN header string in source as is to miss matched
      in source verifier

  * src/vm/extrap.c
    ! do not generate whitespace at EOL in output

  * tests/lang2po.hb
  * tests/po2lang.hb
    + minor improvements
    ! fixed to generate consistent EOL

  * bin/3rdpatch.hb
    * newline at top deleted

  * extras/hbdoc/hbdoc.hbp
  * extras/hbdoc/hbdoc.prg
  * extras/hbdoc/_tmplates.prg -> extras/hbdoc/_tmplate.prg
  * contrib/hbcairo/tests/lightning.prg -> contrib/hbcairo/tests/lightnin.prg
    ! long filename

  * .gitattributes
  * extras/guestbk/guestbk.prg
  * extras/guestbk/guestbk.txt
  * extras/guestbk/guestbk.htm -> extras/guestbk/guestbk.html
    * deleted .htm file, now all HTML has extension .html
    * .exe references in doc made OS neutral
    ; Can only be used on non-MS-DOS systems, so it's okay
2013-04-02 17:50:36 +02:00
Viktor Szakats
69c60e9ef3 automatically use the git username and e-mail in the generated ChangeLog.txt entries 2013-03-18 00:10:57 +01:00
vszakats
80ff78d719 cleanups and fixes in comments/docs mostly 2013-03-16 17:38:53 +01:00
vszakats
f1640dac57 2013-03-16 16:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
    * COPYING -> COPYING.txt

  * src/common/hbver.c
    * 'Rev.' -> 'r' in VERSION() string. This affects
      all utility banners

  * utils/hbi18n/hbi18n.prg
    * assemble version display instead of assumptions
      about VERSION() content

  * utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    * cleanups

  * tests/cblock.prg -> tests/codebl2.prg
    * rename
2013-03-16 16:33:50 +01:00
vszakats
306fdd0446 2013-03-15 18:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/*
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/macro/macro.y
  * src/macro/macro.yyc
  * src/pp/hbpp.1
  * tests/*/*
  * utils/*
    * stripped svn header manually

  * tests/hbdocext.hb
  * tests/lang2po.hb
  * tests/big5_gen.prg
  * tests/uc16_gen.prg
    * do not add svn ids to generated sources

  + tests/stripsvn.hb
    + added script to strip svn header from sources
2013-03-15 18:30:08 +01:00
vszakats
df62f56dcc 2013-03-15 11:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    * deleted hack that was required to handle 'harbour' top dir
2013-03-15 11:15:06 +01:00
vszakats
a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00