Commit Graph

18846 Commits

Author SHA1 Message Date
Viktor Szakats
354fdabe5c Merge branch 'vszakats-master'
Conflicts:
	ChangeLog.txt
2013-04-10 03:31:44 +02:00
Viktor Szakats
a9b671f412 committed fix for wrongly commited (by Pritpal) $id markers 2013-04-10 03:30:46 +02:00
Viktor Szakats
8402cf82b1 2013-04-10 01:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/3rd/libhpdf/hpdfimap.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
    + patched to build with libpng 1.6 w/o warning
      identical to this upstream patch:
         f1817baea4

  * bin/commit.hb
    ! fixed to add shebang to newly created commit hook

  * bin/check.hb
    ! exclude maskimag.png from processing
    ! typo in png processor name
    ! minor syntax clarification

  * contrib/hbhpdf/tests/files/maskimag.png
    ! restored original version, as any optimized version will
      cause libharu to GPF (visible when running the demo)
2013-04-10 03:28:26 +02:00
Viktor Szakats
73f7a086bf Conflicts:
ChangeLog.txt
2013-04-10 03:27:51 +02:00
Viktor Szakats
b60a262514 ending whitespace (autocheck), $id obfusc 2013-04-10 03:26:43 +02:00
Viktor Szakats
d2ac6baed3 obfuscated $id 2013-04-10 03:20:42 +02:00
Pritpal Bedi
b36992e0b6 GTWVG - Loading of Resource of Type IMAGE_ICON
2013-04-09 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwin.c
! Fixed: Loading of resource of type icon if pulled from a resource
file.
2013-04-09 17:50:25 -07:00
Pritpal Bedi
ee4172b3b8 2013-04-09 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
2013-04-09 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/pushbut.prg
! Fixed: regression of copy/paste - WVT_IMAGE_ICON => WVG_IMAGE_BITMAP.
2013-04-09 17:17:14 -07:00
Viktor Szakats
02b98ce15f 2013-04-10 01:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/3rd/libhpdf/hpdfimap.c
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
    + patched to build with libpng 1.6 w/o warning
      identical to this upstream patch:
         f1817baea4

  * bin/commit.hb
    ! fixed to add shebang to newly created commit hook

  * bin/check.hb
    ! exclude maskimag.png from processing
    ! typo in png processor name
    ! minor syntax clarification

  * contrib/hbhpdf/tests/files/maskimag.png
    ! restored original version, as any optimized version will
      cause libharu to GPF (visible when running the demo)
2013-04-10 01:13:54 +02:00
Viktor Szakats
8d48020ab0 2013-04-09 03:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    * deleted one more contrib exception

  * contrib/make.hb
    * do not try to build contribs/addons that don't exist

  * contrib/hbmisc/tests/pe.prg
  - contrib/hbmisc/tests/sample.txt
    * avoid storing non-ASCII, non-UTF8 file on disk
    * load above if no parameter given
    ! use hb_MemoWrit() to write result
2013-04-09 03:29:39 +02:00
Viktor Szakats
c2c3990acd 2013-04-08 19:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    + implement prepare-commit hook, which fills the commit message with the last changelog entry
    + try to minimize the commit msg when committing single changes
    + generalized code to add git hooks
2013-04-08 19:47:01 +02:00
Viktor Szakats
9eb5f5b7bb 2013-04-08 18:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnetio/tests/netiotst.prg
    * minor fmt
2013-04-08 18:59:41 +02:00
Viktor Szakats
7bceeeea67 2013-04-08 14:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* commit.hb
    + made it work regardless of cwd
    + automatically add pre-commit hook command

  * check.hb
  * commit.hb
    * minor to root path forming
2013-04-08 15:03:00 +02:00
Viktor Szakats
e2569e473c converted hbmk2 macros to lowercase for consistency 2013-04-08 13:41:32 +02:00
Viktor Szakats
bbde354d00 2013-04-08 12:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed --fixup-case when used with single file
    + deleted few more exceptions (contribs in particular)

  * tests/clipper.ch
    + added few items

  + tests/bldtest/bldtext.hbp
    + added hbmk2 build file

  * tests/hbpptest/compare.bat -> tests/hbpptest/compare.hb
  * tests/hbpptest/pp_test.prg -> tests/hbpptest/_pp_test.prg
    * converted batch file to Harbour script
    * updated comments

  - contrib/hbhpdf/tests/files/cp932.txt
  - contrib/hbhpdf/tests/files/cp936.txt
  - contrib/hbhpdf/tests/files/elic_jp.txt
  - contrib/hbhpdf/tests/files/euc.txt
  - contrib/hbhpdf/tests/files/sjis.txt
    - turns out these were not used. deleted.

  * contrib/hbnetio/tests/netiomt1.prg
  * contrib/hbnetio/tests/netiot02.prg
  * contrib/hbnetio/tests/netiot03.prg
  * contrib/hbnetio/tests/netiotst.prg
    * hbformat, fix case, manual corrections
      (I like the former style better, because it's much
      easier to type and looks much less antique than
      std code format, but for now consistency won)

  * contrib/xhb/thtm.prg
    * code slightly altered to avoid embedded JS code to be
      case fixed
2013-04-08 12:41:52 +02:00
Viktor Szakats
fe9b84e2c2 2013-04-08 02:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
    * minor

  * doc/howtorep.txt
  * README.md
    ! updated link to hbmk2 doc
    * updated steps for committing to emphasis in bin/commit
      script than trying to describe some of the rules
2013-04-08 02:14:06 +02:00
Viktor Szakats
df3616a148 do not overwrite clipboard content if it already contains what seems like part of changelog entry 2013-04-08 00:59:50 +02:00
Viktor Szakats
b8a63e3ab7 2013-04-08 00:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/inifiles.prg
    ! fix to prev
2013-04-08 00:57:02 +02:00
Viktor Szakats
cfb1dfd8fa 2013-04-08 00:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    + will now check for missing copyright/license message
      in source files (except for tests and files shorter
      than 20 lines)

  * contrib/hbamf/amf.h
  * contrib/hbamf/amfstdio.c
  * contrib/hbamf/hbamfobj.prg
  * contrib/hbamf/hbcls.c
  * contrib/hbgt/strasint.c
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbmisc/hbeditc.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbmisc/udpds.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/easter.prg
  * contrib/hbnf/mouse1.prg
  * contrib/xhb/hbsyslog.c
  * extras/guestbk/_cgi.prg
  * extras/guestbk/_inifile.prg
  * extras/guestbk/cgi.ch
  * extras/hbdroid/hvminit.c
  * extras/hbdroid/msginfo.c
  * extras/hbusb/core.c
  * extras/hbvpdf/hbvpdf.ch
    + added copyright/license headers where missing

  * tests/inifiles.prg
    + synced with another copy

  * include/hbclass.ch
  * src/compiler/expropta.c
  * src/compiler/exproptb.c
  * src/macro/macroa.c
  * src/macro/macrob.c
    * minor cleanup
2013-04-08 00:53:37 +02:00
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
e3da05e98c delete source zip before download 2013-04-07 03:48:23 +02:00
Viktor Szakats
e88a4b1f20 2013-04-06 19:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/trig.c
    ! another fix

  * contrib/hbwin/wapi_winuser.c
    * deleted comment in some foreign programming language

  * src/rtl/hbmd5.c
    * cleaned comment
2013-04-06 19:58:02 +02:00
Viktor Szakats
c0c7172788 another typo in prev 2013-04-06 18:25:21 +02:00
Viktor Szakats
1593126837 github pages domain name change 2013-04-06 18:20:48 +02:00
Viktor Szakats
242ddf9696 updated localization, manuals regenerated (semi-automatic) 2013-04-06 17:00:00 +02:00
Viktor Szakats
7a21555851 updated localization, manuals regenerated (semi-automatic) 2013-04-06 16:55:27 +02:00
Viktor Szakats
22778e1170 typos in chglog entry 2013-04-06 16:20:00 +02:00
Viktor Szakats
b3d0f0d589 2013-04-06 16:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/vm/dynsym.c
  * src/vm/eval.c
    ! fixed some code messed up by case fixup
      (rather inexplicable yet)

  * src/rtl/hbinet.c
  * src/rtl/hbmd5.c
  * src/vm/eval.c
    ! typos in comments
2013-04-06 16:19:00 +02:00
Viktor Szakats
347885568d updated localization, manuals regenerated (semi-automatic) 2013-04-06 12:08:26 +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
78964ff62d 2013-04-06 11:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/compiler/cmdcheck.c
    ! fixed some code messed up by case fixup
    ; TODO: fix case fixup code (getccomment()?)
2013-04-06 11:57:50 +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
748fac0694 more minor cleanups in comments 2013-04-05 18:30:24 +02:00
Viktor Szakats
5b0c7dabae updated localization, manuals regenerated (semi-automatic) 2013-04-05 18:11:21 +02:00
Viktor Szakats
9d173b0a7b minor cleanups in comments 2013-04-05 16:35:37 +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
5ece310152 debug comment deleted 2013-04-05 16:16:33 +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
be92d4c9c4 uncrustified 2013-04-05 15:17:14 +02:00
Viktor Szakats
c681c2e199 2013-04-05 15:08 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:09:50 +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
156423e40e updated localization, manuals regenerated (semi-automatic) 2013-04-05 00:04:43 +02:00
Viktor Szakats
a5237a1049 updated localization, manuals regenerated (semi-automatic) 2013-04-04 16:21:28 +02:00
Viktor Szakats
e93da74489 2013-04-04 16:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
  * utils/hbmk2/hbmk2.hbp
  * contrib/hbrun/doc/hbrun.es_ES.md -> contrib/hbrun/doc/hbrun.es.md
  * utils/hbmk2/doc/hbmk2.es_ES.md -> utils/hbmk2/doc/hbmk2.es.md
  * utils/hbmk2/po/hbmk2.es_ES.po -> utils/hbmk2/po/hbmk2.es.po
    * 'es_ES' -> 'es'
    ; General rule is to support the "root" language and any number
      of additional dialects, f.e. 'es'+'es_419', 'pt'+'pt_BR', 'fr').
      (as opposed to dialects only, f.e. 'es_ES'+'es_419', 'pt_PT'+'pt_BR', 'fr_FR')
2013-04-04 16:15:44 +02:00