13aa09f395
2013-03-11 12:07 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + added help and Markdown output for hbrun mode, using same options as in hbmk2 mode, run 'hbrun -help' + documented how to disable hbrun history + documented script search and and script autodetection details + documented opening .dbf files + documented how to paste text into shell prompt + documented limitation that in script INIT PROCEDUREs, automatic selection of interactive GT doesn't work + __Accept(), __Wait() to trigger interactive GT in scripts
Viktor Szakats
2013-03-11 11:14:16 +00:00
1c0374484c
2013-03-10 14:14 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbtest/core.prg + use octal notation for all non-displayable bytes. It fixes few issues with previous escaping logic and avoids non-displayable chars in RTE test sources and results. + use more space for test results, less for line numbers
Viktor Szakats
2013-03-10 13:17:07 +00:00
ee8769162a
2013-03-09 14:06 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbct/tests/charadd.prg * contrib/hbct/tests/charand.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charor.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/charsub.prg * contrib/hbct/tests/tab.prg ! fix to prev when run under Clipper
Viktor Szakats
2013-03-09 13:07:03 +00:00
0e97d08582
2013-03-09 12:38 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + show warning when -sign was requested but no tool could be found
Viktor Szakats
2013-03-09 11:39:58 +00:00
67032ce0b0
2013-03-08 13:32 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + added support for posign.exe code signing tool that ships with free Pelles C 7.00.0 It's nice and small standalone tool, with some hopes it runs under WINE. It will be automatically used if signtool.exe is not found. (beware of using custom -signflag= flags because they may by passed to different tools depending on actual config) + added more details to -sign help
Viktor Szakats
2013-03-08 12:37:56 +00:00
0c55b96015
2013-03-07 16:02 UTC+0100 Viktor Szakats (vszakats syenar.net) * tests/fixcase.hb + extended to adjust cases in .c file copyright headers
Viktor Szakats
2013-03-07 15:13:07 +00:00
684744af8b
2013-03-07 12:37 UTC+0100 Viktor Szakats (harbour syenar.net) * src/rtl/ttextlin.prg ! HBTextLine():New() fixed to do strict type checking on its parameters ! fixed very old and grave problem of HBTextLine():New() truncating lines containing whitespace only (Empty() == .T.) It fixes this example: --- #include "inkey.ch" KEYBOARD "a" + Chr( K_CTRL_W ) ? Len( MemoEdit( Space( 30 ) ) ) == 30 ---
Viktor Szakats
2013-03-07 11:39:47 +00:00
2073bc7477
2013-03-06 14:18 UTC+0100 Viktor Szakats (harbour syenar.net) * tests/gtkeys.prg * website/samples/browse.prg.html * cleanups after prevs
Viktor Szakats
2013-03-06 13:19:29 +00:00
f0cfc8c1ff
2013-03-06 13:34 UTC+0100 Viktor Szakats (harbour syenar.net) * src/lang/l_bg.c * src/lang/l_cs.c * src/lang/l_de.c * src/lang/l_fr.c * src/lang/l_it.c * src/lang/l_nl.c * src/lang/l_pl.c * src/lang/l_pt.c * src/lang/l_sk.c * src/lang/l_sr_cyr.c * src/lang/l_sv.c ! aligned translated DIR command header strings to match the actual content lines ; Checkme: bg, nl where I had to abbreviate to fit ; Not verified: zh_tra, zh_sim, ko, he
Viktor Szakats
2013-03-06 12:35:56 +00:00
50cfaab12f
2013-03-06 12:17 UTC+0100 Viktor Szakats (harbour syenar.net) * src/vm/hashfunc.c + HB_HAUTOADD() extended, now it accepts 3rd parameter to set the default value used when autoadding a hash item, making separate HB_HDEFAULT() call unnecessary: hb_HAutoAdd( <hash>, [<nAutoAdd>|<lAutoAdd>], [<xDefault>] ) -> <nOldAutoAdd>
Viktor Szakats
2013-03-06 11:19:44 +00:00
530a410e87
* config/minix/clang.mk * config/minix/gcc.mk ! Actually add dyn rules, missed in the previous step
Tamas Tevesz
2013-03-06 02:20:15 +00:00
0b34af0037
2013-03-05 20:22 UTC+0100 Viktor Szakats (harbour syenar.net) * src/rtl/hbfilehi.prg ! typo
Viktor Szakats
2013-03-05 19:22:38 +00:00
2d0ee39151
2013-03-05 19:41 UTC+0100 Viktor Szakats (harbour syenar.net) * src/vm/dynsym.c ! __DYNSGETINDEX() fixed to return 1-based indexes in sync with rest of API class, also fixing the issue that zero value was used to indicate error (name not found) as well. Fixes#3606911 by Kevin Carmody https://sourceforge.net/tracker/?func=detail&aid=3606911&group_id=681&atid=100681 [INCOMPATIBLE]
Viktor Szakats
2013-03-05 18:42:38 +00:00
6d7f1caa4d
2013-03-05 11:57 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + described internal/developer options in '-longhelp'
Viktor Szakats
2013-03-05 10:58:10 +00:00
ec5d228d18
2013-03-05 11:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/fstemp.c ! fixed hb_fsCreateTempEx() to add dir separator if necessary % small optimization in DJGPP path conversions
Przemyslaw Czerpak
2013-03-05 10:53:21 +00:00
3a2107c2fe
2013-03-05 11:22 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/common/hbver.c ! Open64 5.0 does not define __OPENCC_PATCHLEVEL__ to a numeric value; treat it as 0.
Tamas Tevesz
2013-03-05 10:26:53 +00:00
da35fa2e9d
2013-03-04 16:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg % eliminated unnecessary groups from regexps + made regexp expressions non-PCRE specific ; with the help of fantastic tool: http://www.debuggex.com/ % eliminated ATail() from regexp eval loops for better performance + marked all regexp strings to find them easily
Viktor Szakats
2013-03-04 15:54:19 +00:00
52071bbb62
2013-03-04 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/hbnetio.hbx * harbour/contrib/hbnetio/readme.txt + added new PRG function: NETIO_SERVERTIMEOUT( <pConnectionSocket> [, <nTimeOut>] ) -> [<nTimeOut>] This function allows to set maximal time for client request. It can be useful if NETIO server is used only for short time connections in which client makes few requests and then disconnects. Clients keeping longer connections without any request will be disconnected automatically. It means that in some cases it's possible to create server which works efficiently in single thread mode without MT HVM. * harbour/contrib/hbnetio/netiomt.prg * restored formatting
Przemyslaw Czerpak
2013-03-04 11:59:26 +00:00
cf233f6341
2013-03-03 15:30 UTC+0100 Viktor Szakats (harbour syenar.net) * ChangeLog.txt ! fixed mistyped dates in entries 2013-12-14 14:26 UTC-0800 2013-12-18 15:40 UTC-0800 ! deleted UTF8 BOM added in 2013-02-14 14:26 UTC-0800 Pritpal, please turn off this feature in your editor, or edit Harbour UTF-8 files with one that doesn't add a BOM [https://en.wikipedia.org/wiki/Byte_order_mark] + added 'No BOM' note to header
Viktor Szakats
2013-03-03 14:30:58 +00:00
c478749380
2013-03-03 13:40 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + new -signflag= option to pass user options to code sign tool + Windows code signing tool is now run in quiet mode (only if there is no verbose user flag)
Viktor Szakats
2013-03-03 12:42:36 +00:00
73bc371744
2013-03-02 12:07 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! HBSHELL_CLIPPER() extended to reset the date format to Clipper default as well + documented that the default date format for strings is the ISO one (yyyy-mm-dd)
Viktor Szakats
2013-03-02 11:07:38 +00:00
b45538a18f
2013-03-02 02:20 UTC+0100 Viktor Szakats (vszakats syenar.net) + contrib/sddsqlt3/tests/test.prg - contrib/sddsqlt3/tests/test1.prg * renamed
Viktor Szakats
2013-03-02 01:24:02 +00:00
4c05ed6f93
2013-03-01 14:50 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg % minor redundancy reduction in source ! minor fix to hbrund symlink help entry
Viktor Szakats
2013-03-01 13:51:44 +00:00
091c637447
2013-03-01 14:28 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + display warning when invalid value is passed to certain .hbc directives
Viktor Szakats
2013-03-01 13:30:28 +00:00
7dae9d8775
2013-03-01 14:24 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + added support for debugging .hb scripts. set HBSHELL_DEBUG to any non-empty value, run the script and start debugging as you would in a regular Harbour app (.hrb precompiled script need to be compiled with -b option) + hbmk2/hbrun when run as 'hbrund' will automatically execute scripts in debug mode + new help section listing hbmk2 build-time configuration + new help section showing what hbmk2 can be symlinked/copied/renamed to, to alter default mode of operation + added '-safe'/'-safe-' options and safe=yes/no .hbc directive to enable security related options in C compiler/linker currently for -hbexe and -hbdyn outputs. It's currently enabled by default on Windows platform. Requires mingw (4.5 or upper) or msvc (15.00 or upper), or Linux (version requirement unknown) TODO: see if Linux tweak is okay to enable by default, and whether it can be enabled for other *nix systems. + display 'Markdown' as a link in '-longhelpmd' mode + minor extension to '-find' option description in help
Viktor Szakats
2013-03-01 13:25:25 +00:00
31a85b650e
2013-02-28 17:19 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg % minor optimization to recent patch + cleanups in some help items + '-?' and '-h' options are now accepted as '-help' + '-??' and '-hh' options are now accepted as '-longhelp' - deleted '-license' option, it's now part of '-longhelp' ! hbshell_gtSelect() parameter fixed to be case insentitive in an internal check
Viktor Szakats
2013-02-28 16:25:51 +00:00
c0eadc80eb
2013-02-27 19:12 UTC+0100 Viktor Szakats (harbour syenar.net) * tests/* * website/* * dropped 'tst'/'ts'/'test' from most filenames inside main 'tests' dir. 8 chars will allow for more descriptive names than 4-5. Some renamed to use the new space. Similar ones will now be much close together and easier to lookup in alphabetical order. ; NOTE: Perhaps a new distinction would be useful, for those which are indeed tests for the compiler or PP, f.e. these: declare.prg, dupvars.prg, keywords.prg, linecont.prg, lnlenli1.prg, lnlenli2.prg, pp.prg, pragma.prg, warnings.prg ; List of changes: tests/ac_test.prg -> achoice.prg tests/ac_test2.prg -> achoice2.prg tests/adirtest.prg -> adir.prg tests/ainstest.prg -> ains.prg tests/tstalias.prg -> aliasrt.prg tests/altdtest.prg -> altd.prg tests/atest.prg -> array.prg tests/tstasort.prg -> asort.prg tests/boxtst2.prg -> box2.prg tests/boxtest.prg -> box3.prg tests/testbrdb.prg -> browse.prg tests/tstblock.prg -> cblock.prg tests/testcdx.prg -> cdx.prg tests/tstchbx.prg -> checkbox.prg tests/testcls.prg -> cls.prg tests/tscmdarg.c -> cmdarg.c tests/tstcolor.prg -> color.prg tests/testcom1.prg -> com.prg tests/cursrtst.prg -> cursor.prg tests/dttest.prg -> datetime.prg tests/dbevalts.prg -> dbeval.prg tests/testdbf.prg -> dbf.prg tests/tstdbi.prg -> dbi.prg tests/debugtst.prg -> debug.prg tests/testdecl.prg -> declare.prg tests/testid.prg -> define.prg tests/delimtst.prg -> delim.prg tests/devtest.prg -> dev.prg tests/dirtest.prg -> directry.prg tests/tstdspac.prg -> diskspac.prg tests/disptest.prg -> disp.prg tests/testdyn.c -> dyn.c tests/testdyn1.prg -> dyn.prg tests/testdyn.prg -> dynwin.prg tests/testerro.prg -> errsys.prg tests/exittest.prg -> exit.prg tests/iotest.prg -> fileio.prg tests/iotest2.prg -> fileio2.prg tests/fortest.prg -> for.prg tests/testfor.prg -> for2.prg tests/testget.prg -> get.prg tests/tstgtapi.c -> gtapi.c tests/gtstdtst.prg -> gtstd.prg tests/hbdoctst.prg -> hbdoc.prg tests/testhrb.prg -> hrb.prg tests/hsxtest.prg -> hsx.prg tests/testhtml.prg -> html.prg tests/testidle.prg -> idle.prg tests/testinit.prg -> initproc.prg tests/inkeytst.prg -> inkey.prg tests/testlbl.prg -> lbl.prg tests/tstmacro.prg -> macro.prg tests/mathtest.prg -> math.prg tests/testmem.prg -> mem.prg tests/memtst.prg -> memmgr.prg tests/menutest.prg -> menuto.prg tests/testmny.prg -> money.prg tests/mousetst.prg -> mouse.prg tests/testntx.prg -> ntx.prg tests/testop.prg -> op.prg tests/testpers.prg -> persist.prg tests/testpp.prg -> pp.prg tests/testpre.prg -> ppapi.prg tests/tstprag.prg -> pragma.prg tests/testprof.prg -> profiler.prg tests/testrdd.prg -> rdd.prg tests/testrdd2.prg -> rdd2.prg tests/testread.prg -> read.prg tests/regextst.prg -> regex2.prg tests/testrpt.prg -> rpt.prg tests/sbartest.prg -> sbar.prg tests/sdf_test.prg -> sdf.prg tests/set_test.prg -> set.prg tests/videotst.prg -> setmode.prg tests/testsha1.prg -> sha1.prg tests/testsha2.prg -> sha2.prg tests/teststr.prg -> str.prg tests/testbrw.prg -> tbrowse.prg tests/transtst.prg -> transfrm.prg tests/tstuse.prg -> use.prg tests/testvars.prg -> vars.prg tests/vidtest.prg -> video.prg tests/testwarn.prg -> warnings.prg
Viktor Szakats
2013-02-27 18:18:46 +00:00
94a305ed4f
2013-02-27 18:30 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! fixed hbmk_FNameEscape() plugin API's legacy fallback after latest patch (still untested) ! avoid potential RTE in hbmk_PathFromWorkdirToCWD() plugin API ! rtlink/blinker/exospace linker script processing will now add directories of library input files as libpaths (as opposed to passing them as part of the libname) ! fixed rtlink/blinker/exospace linker script processing to convert dirseps to native ones in output ! fixed rtlink/blinker/exospace linker script processing to strip extension from library name and output name (only if it's '.exe') ! fixed to verify non-portable output extensions in more reliable way
Viktor Szakats
2013-02-27 17:39:07 +00:00
9494153d8b
2013-02-26 23:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + disable VM internals (__dbg*() API) on hbmk2/hbrun startup, unless built in debug mode Will break scripts that exploited VM internals via internal __dbg*() API calls.
Viktor Szakats
2013-02-26 22:54:47 +00:00
175f05df56
2013-02-26 14:41 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + do not share plugin variables (hbmk[ "vars" ]) between different plugins. It avoids potentially nasty issues with plugins stepping onto each other's toes. [INCOMPATIBLE - though it's unlikely anyone is affected. If you must communicate between plugins, use public function or variable.] + clarified in help that -icon might not work on all platforms/compilers and detailed Windows implementation (in particular it's disabled on bcc/bcc64 and on mingw it won't work when a manual .rc is specified, also on some (old?) msvc versions. Consult your C compiler's Windows resource handling limitations.) + clarified in help the syntax of filters + clarified in help that .hbp references are handled as sub-projects + clarification to command substitution macro + clarification to filter syntax note ! strict parameter checks in all public shell APIs to avoid RTEs inside hbmk2 due to faulty API usage by scripts
Viktor Szakats
2013-02-26 13:44:10 +00:00
acbd419e9e
2013-02-25 17:56 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + documented hbmk2 plugin API calls + documented hbmk2 plugin variables + added license to the end of -longhelp[md] output ! fixed to do strict parameter checking in all public plugin API calls (where missing) to avoid RTEs inside hbmk2 code due to faulty plugin code + hbmk_FuncNameEncode() added with same functionality as hbmk_FNameToSymbol() - hbmk_FNameToSymbol() deprecated. Will disappear after HB_LEGACY_LEVEL4. INCOMPATIBLE. Change hbmk_FNameToSymbol() to hbmk_FuncNameEncode(). * changed parameters of hbmk_FNameEscape(). New calling convention requires the hbmk context to be passed as first parameter and it doesn't support the last two numeric values anymore. Will accept old calling convention till HB_LEGACY_LEVEL4 (untested though). INCOMPATIBLE. Change these: hbmk_FNameEscape( cFileName, hbmk[ "nCmd_Esc" ], hbmk[ "nCmd_FNF" ] ) to this: hbmk_FNameEscape( hbmk, cFileName ) * following hbmk2 plugin variables are deprecated and will disappear after HB_LEGACY_LEVEL4: "nCmd_Esc", "nScr_Esc", "nCmd_FNF", "nScr_FNF" + added new hbmk2 plugin variable: "apiver" it will return an integer with the plugin API compatibility level. Currently 2, will change to 3 after HB_LEGACY_LEVEL4. For compatibility, use this to retrieve it in plugins: apiver := iif( "apiver" $ hbmk, hbmk[ "apiver" ], 1 ) ! fixed to split certain long help section headers
Viktor Szakats
2013-02-25 17:11:53 +00:00
19c32d7afe
2013-02-25 12:51 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added 'description' section to help (visible in -longhelp[md]) + moved examples (and one note) from README.txt to hbmk2 help ! grammar cleanup and typos in help * formatting
Viktor Szakats
2013-02-25 11:53:39 +00:00
5f2e6ad585
2013-02-24 13:37 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + documented the way to exclude libraries from linking (see '-l' option and 'libs=' directive) + documented '-hbcontainer' target type (no longer experimental) * '-hbimplib' option marked as Windows-only in help * '-hbimplib' option moved to long help * '-mt/-st' option moved to top of long help (to keep main help screen short)
Viktor Szakats
2013-02-24 12:42:51 +00:00
946d494e0c
2013-02-23 18:05 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + added HBSHELL_CLIPPER() shell/script API call, which configures the environment to be Clipper (non-Unicode) compatible. Identical to the default environment of compiled .prg apps. It's not recommended for new scripts, but it may be useful to run legacy code as script. + added '-license'/'--license' option to display the license of hbmk2 * formtting made hbformat friendly, minor optimizations
Viktor Szakats
2013-02-23 17:15:08 +00:00
b2e8dbcea6
2013-02-22 11:06 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + support '-version', for local consistency with other (regular) double dashed options + will now warn if .lib/.a extension is used with -hblib/-hbimplib modes or .dll extension with -hbdyn/-hbdynvm modes in -o option value. It's unnecessary unless you want to make your .hbp file non-portable.
Viktor Szakats
2013-02-22 10:07:05 +00:00
e85a49339b
2013-02-21 23:31 UTC+0100 Viktor Szakats (harbour syenar.net) * src/compiler/ppcomp.c + '#pragma nostartproc=' / '#pragma -n' will now return a permanent error. The compiler doesn't support (for longer than I can remember) on the fly modifying this option. Reading the option continues to be supported. [INCOMPATIBLE] in that t now will generate an error instead of being silently ignored.
Viktor Szakats
2013-02-21 22:32:03 +00:00
4aff1d147d
2013-02-21 17:52 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile ! fixed to not run shell in corner case of: hbmk2 -plugin=my.hb [...] + documented one missing script/shell API + refactored hbmk2/hbshell code to not utilize file wide STATIC variables. It allows to _compile_ hbmk2.prg regardless of -n option usage + added some black magic to be able to _run_ hbmk2.prg with or without using -n option + additional tricks to avoid defining any unnecessary or potentially colliding public functions. It means hbmk2/hbrun can now run _itself_ as a script. both as .hrb and .prg flavor and regardless of -n option usage.
Viktor Szakats
2013-02-21 16:55:35 +00:00
823451df02
2013-02-19 10:34 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! accept -n1 for compilation
Viktor Szakats
2013-02-19 09:36:52 +00:00
4df8b28fc6
2013-02-19 02:06 UTC+0100 Viktor Szakats (harbour syenar.net) * ChangeLog.txt * src/codepage/l_sr_cyr.h * typos/cleanups in comment
Viktor Szakats
2013-02-19 01:07:21 +00:00
8e57711e1d
2013-02-19 02:01 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! fixed -find to continue search for substrings after a full match (f.e. hbmk2 -find str) + documented shell script API calls + new help section format for above + ensure -n2 build and enable warning settings to help building into an .hrb (quite fun to run hbmk2/hbrun as a hbrun script!) ! FuncNameEncode() "fixed" to be in sync with how Harbour compiler (incorrectly) encodes function names. This fixes: 'hbmk2 1.prg' ; TOFIX: ? hb_compGenCFunc() in src/compiler to encode the first character of a function if it's a digit.
Viktor Szakats
2013-02-19 01:02:32 +00:00
391573a2b9
2013-02-19 01:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/codepage/l_sr_cyr.h ! restored original Serbian collation by Srdjan Dragojlovic - thanks.
Przemyslaw Czerpak
2013-02-19 00:49:01 +00:00
491f4f5cad
2013-12-18 15:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c + Allied: Rolf supplied patch but with changes. Now GTWVG is equal to GTWVT in many respects.
Pritpal Bedi
2013-02-18 23:44:04 +00:00
63e13d3591
2013-02-18 15:32 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! yuck
Viktor Szakats
2013-02-18 14:33:21 +00:00
b1f94dfe51
2013-02-18 15:29 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! weird editing typo in a recent HB_STRREPLACE() related commit, causing messed custom linker options
Viktor Szakats
2013-02-18 14:31:18 +00:00
3fb65e7924
2013-02-18 14:48 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added '-hb30' option and '{hb30}' filter macro to allow reverting back to Harbour 3.0.0 + added provisions for merging 'hblang' and 'hbcpage' core libs into new 'hbnat' lib + SETCURSOR() and SETCOLOR() references will now also trigger full screen CUI mode in hbrun scripts + documented the fact that GTCGI is default GT for scripts and that it's switched to another one (and which) when CUI mode script is detected + marked all information in help with '[*]' which shows host platform dependent, dynamic data (f.e. systems paths) + hbmk.hbc will now be searched for under user's home directory on non-*nix, too + added '-find' special hbmk2 option for finding Harbour functions. It will lookup any strings passed as command line arguments and display in which library they can be found. It will also do the lookup in packages not currently installed. Replaces similar 'hbrun bin/find' functionality, but now uses existing code inside hbmk2. The new implementation also supports wildcards. Example: hbmk2 -find wapi_*string ntos wild ! documented that hbstart.hb is first searched for in current working directory ! ${hb_ver} and ${hb_verstr} macros now change their value in compatibility modes (-hb10, -hb20, -hb30, -xhb) + -longhelpmd output will now not contain installation specific (and potentially sensitive) data: home directory, hbmk2 directory, only generic replacement terms + version= directive help text got a mention of its default value (it was so far only mentioned next to HBMK_HAS_<hbcname> envvar) + documented exit codes in help text * minor tweaks to some help lines * cleanup for Markdown formatting internals * plugin callback variable "nErrorLevel" renamed to "nExitCode" [INCOMPATIBLE] * exit code changed to value 6 from 1 when hbrun script has a compile error [INCOMPATIBLE] + use core hb_DirSepToOS() where possible - deleted hbmk2 plugin API function hbmk_PathSepToSelf() Use core hb_DirSepToOS() instead. [INCOMPATIBLE] + added '-exitstr' hbmk2 option which will display the exit result in textual format
Viktor Szakats
2013-02-18 13:50:13 +00:00
c72e900a2d
2013-02-17 12:43 UTC+0100 Viktor Szakats (harbour syenar.net) * src/codepage/*.c - src/codepage/l_*.c + src/codepage/l_*.h * src/lang/Makefile - src/lang/*.c + src/lang/l_*.c + renamed collation modules and language modules, so they now can be merged into a single directory (and sorted by extension to overview country coverage).
Viktor Szakats
2013-02-17 11:51:14 +00:00
87517c52ae
2013-02-16 15:09 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! RTE regression in one last change
Viktor Szakats
2013-02-16 14:11:01 +00:00
8be9918691
2013-02-15 19:21 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + reminaing STRTRAN() to HB_STRXCHG() update. * converted few NOTEs to TODOs to eliminate few cases of recursive macros (which exploited side-effect of repeated STRTRAN() calls) ; Any sort of regression is possible now.
Viktor Szakats
2013-02-15 18:22:44 +00:00
48f5c83103
2013-02-15 18:49 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + further STRTRAN() to HB_STRXCHG() updates. (one group left)
Viktor Szakats
2013-02-15 17:50:30 +00:00
f5a35d2577
2013-02-15 16:19 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! fixed casing of hb_StrXChg() to match harbour.hbx ! fixed to not include and invalid header directory in a rare case (hbmk2 -head=native t.c -hbc -inc) on header detection. It seemed a duplicate value in valid cases anyway. + using HB_STRXCHG() with the new hash option almost everywhere + use HB_STRXCHG() in some more places when forming command (no everywhere yet, and the recursive replacement was localized but not sorted out yet) + use HB_STRXCHG() to replace macros in an internal template ; HB_STRXCHG() can resolve unlikely case where options/filenames contained macro names used inside the source. It also makes for a less ambiguous code. + added warnings if invalid value is used in certain options. (after HB_LEGACY_LEVEL4, until then, the replacement option is displayed)
Viktor Szakats
2013-02-15 15:46:23 +00:00
5035262bdb
2013-02-15 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/strxchg.c + added support for using hash arrays as replace pairs in second argument of hb_strXChg() - hash arrays are accepted if 3-rd parameter is ommitted or is NIL. Now this alternative syntax: hb_strXChg( <cString>, <hChanges> ) -> <cResult> is also supported, i.e.: cData := hb_strXChg( cSource, { "{LI}" => cLIValue, ; "{FI}" => cFIValue } ) Please remember that single hash layer is much lighter data type then array of subarrays because it needs only one GC item when each subarray is new GC item.
Przemyslaw Czerpak
2013-02-15 11:15:19 +00:00
cf6c4473b2
2013-02-15 03:09 UTC+0100 Viktor Szakats (harbour syenar.net) * src/rtl/tget.prg % use HB_STRXCHG()
Viktor Szakats
2013-02-15 02:20:42 +00:00
203523f991
2013-02-15 02:11 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg ! fixed most hacks around embedded newlines in hbmk2's own output messages. Now they are handled natively, which will fix output that contains "\n" as normal part of the text, f.e. "C:\name\", and makes the newlines in .po files standard.
Viktor Szakats
2013-02-15 01:15:58 +00:00
50d7ec8675
2013-02-15 01:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx * harbour/src/rtl/Makefile + harbour/src/rtl/strxchg.c + added new PRG function: hb_strXChg( <cString>, <cSource> | <acSource>, ; <cDest> | <acDest> ] ) -> <cResult> This function allows to easy replace different substrings in given string. If 2-nd is string then each character in <cString> which exists in <cSource> at <n> position is replaced by corresponding character at <n> position in <cDest> or string from <acDest>[ <n> ] If 2-nd parameter is array then each <cString> substring which exists in <acSource> at <n> position is replaced by corresponding character at <n> position in <cDest> or string from <acDest>[ <n> ]. If <n> is longer then LEN() of <cDest> or <acDest> then given character/substring is removed from result. This function should help in code which wrongly uses repeated StrTran() calls all regex which can change also substituted values. Examples: // encode XML value cXmlText := hb_strXChg( cText, "<>&", { "<", ">", "&" } ) // now decode it to raw text cText := hb_strXChg( cXmlText, { "<", ">", "&" }, "<>&" ) // strip all digits from string cNoDigit := hb_strXChg( cText, "0123456789" ) // extract all digits from string cDigits := hb_strXChg( cText, cNoDigit ) // convert chosen letters to upper case ? hb_strXChg( "hello world, "hlwd", "HLWD" )
Przemyslaw Czerpak
2013-02-15 00:54:04 +00:00
7d48bb3f46
2013-12-14 14:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbtip/httpcli.prg + Added: method :Put( xPostData, cQuery ). This is identical to :Post() but issues PUT verb instead of POST. PUT verb is required for certain RESTful operations.
Pritpal Bedi
2013-02-14 22:37:03 +00:00
78e179c85c
2013-02-14 23:09 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/xhb/hbxml.c ! several memory leaks fixed in xhb XML support (TXml class) ; Patch by Jose F. Gimenez. Thank you very much.
Viktor Szakats
2013-02-14 22:13:42 +00:00
3e433c3a18
2013-02-14 15:08 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * some internal cleanups + invalid libpath detection extended to .hbc files + invalid header path detection extended to .hbc files + invalid libpath detection extended to an alternate lib directory + invalid header/lib path detection now detects some relative path formats + invalid header/lib path detection now detects values pointing to embedded C compiler location (these are always invalid and handled by hbmk2 automatically) ; amazing what it takes to protect users from themselves! I guess users who make above errors won't read the warnings anyway.
Viktor Szakats
2013-02-14 14:10:34 +00:00
c171e43230
2013-02-14 11:39 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * -harbourhelp description detailed + documented -build option in help + support for -credits option ! fixed indentation in two recent functions
Viktor Szakats
2013-02-14 10:48:08 +00:00
d0a94440d9
2013-02-13 23:30 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/utils/hbformat.ini + allow control for how many spaces to insert (or leave as is) between comment markers and comment text. Thanks to Jose F. Gimenez for the bit-perfect patch.
Viktor Szakats
2013-02-13 22:33:19 +00:00
ceba217b82
2013-02-13 22:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! fixed libname suggestion in a very obscure case
Viktor Szakats
2013-02-13 21:55:00 +00:00
842b89c24e
2013-02-13 22:22 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + better detection of core libraries specified in user make files + hbmk2 will now detect certain common and non-portable/wrong library specifications in command line and .hbc file. It will also suggest to correct options to use. It's now a warning, but such wrong options will be ignored after HB_LEGACY_LEVEL4. Report if it causes warnings for proper usage scenarios. Some examples for wrong options detected: my.lib libmy.lib -lmy.lib -llibmy.lib -llibmy.a -lmy.a -lC:\libs\my.lib -lC:\libs\libmy.lib -lC:\libs\libmy.a -lC:\libs\my.a -lC:\libs\hbrtl.a -lC:\hb30\lib\win\mingw\ -lC:\hb30\lib\win\mingw\my -lC:\hb30\lib\win\mingw\my.a -lC:\hb30\lib\win\mingw\hbrtl.a -lhbrtl.lib -llibhbrtl.a -lhbrtl.a [ For those who wonder: all of these can be safely replaced with '-lmy -LC:\libs' ]
Viktor Szakats
2013-02-13 21:24:10 +00:00
47f1242225
2013-02-13 12:43 UTC+0100 Viktor Szakats (harbour syenar.net) * README.txt * minor additions/tweaks to TROUBLESHOOTING section f
Viktor Szakats
2013-02-13 11:44:32 +00:00
3693430c2d
2013-02-13 12:30 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/contrib.hbc * minor internal and help cleanups
Viktor Szakats
2013-02-13 11:34:34 +00:00
83c96e0d45
2013-02-12 20:59 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg ! two typos in help
Viktor Szakats
2013-02-12 20:00:24 +00:00
d3c5072900
2013-02-12 20:01 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added all supported filter values/expressions to help. ! fixed case insensitiveness in filter comparison expressions (=,>,<) to work on non-ASCII chars as well. (I wouldn't recommend using accented chars to control build behavior though)
Viktor Szakats
2013-02-12 19:04:06 +00:00
a64907f845
2013-02-12 16:57 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * cleanups using the word "macro" in help
Viktor Szakats
2013-02-12 15:58:58 +00:00
71642f88dd
2013-02-12 12:49 UTC+0100 Viktor Szakats (harbour syenar.net) * src/rtl/hbstrfmt.c * HB_STRFORMAT(): changed to not RTE if there is format string reference to a parameter missing at runtime, but instead simply ignore that parameter specifier. Format strings are primarily meant to help language translation of human readable strings. Old behavior could result in very difficult to test or predict runtime errors caused by typos, mistakes in translation (.po) files. It may also be unsafe in some situations, allowing DoS attack. TODO: To implement parameter checking, Harbour compiler should handle HB_STRFORMAT() as intrinsic function and test and warn if the number of parameter specifiers differs from the actual number of parameters passed, at compile time. Similar to GCC/CLANG.
Viktor Szakats
2013-02-12 11:59:02 +00:00
d3dddfca09
2013-02-11 21:51 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + ability to output help text in MarkDown format: hbmk2 --longhelpmd > man.md view it with any MarkDown compatible viewer, or convert to HTML/PDF/MANPAGE/TROFF/etc.
Viktor Szakats
2013-02-11 20:53:30 +00:00
5418c81aa3
2013-02-11 14:51 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! same internal typo in another name
Viktor Szakats
2013-02-11 13:52:13 +00:00
fad87ef70b
2013-02-11 01:47 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg ! typo in an internal macro name
Viktor Szakats
2013-02-11 00:47:50 +00:00
eee1c618df
2013-02-11 01:45 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + documented $*.hbm embedded .hbm include files
Viktor Szakats
2013-02-11 00:46:16 +00:00
23347287ae
2013-02-11 01:30 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + documented all predefined source and build file macros
Viktor Szakats
2013-02-11 00:30:54 +00:00
4727b6b098
2013-02-08 12:02 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * polishing to warning texts committed in prev
Viktor Szakats
2013-02-08 11:04:45 +00:00
79ffe03138
2013-02-08 11:58 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + show warning and offer best practice when non-portable ".exe" extension is used in -o option + show warning and offer best practice when non-portable "*.lib" library name is passed directly to hbmk2
Viktor Szakats
2013-02-08 11:00:22 +00:00
b033790ef3
2013-02-07 22:53 UTC+0100 Viktor Szakats (harbour syenar.net) * ChangeLog.txt * missed to tag prev entry as needed
Viktor Szakats
2013-02-07 21:54:00 +00:00
6088808505
2013-02-07 22:29 UTC+0100 Viktor Szakats (harbour syenar.net) * src/codepage/l_sv.c + NOTE with Klas's explanation of the extra chars included over the Swedish alphabet + 4 new characters add to the Swedish collation as per Klas's guidance: https://groups.google.com/d/msg/harbour-devel/13ImOaYoq8o/B-mDY708EpcJ (and its followup)
Viktor Szakats
2013-02-07 21:34:52 +00:00
01f3972624
2013-02-07 00:16 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbtip/popcli.prg + QUESTION to method that returns three different types (of those two are indicating different errors) + TOFIX added to code that can RTE (due to similarly messy solution which returns multiple type in different cases, which is obviously not accounted for when calling it.)
Viktor Szakats
2013-02-06 23:18:31 +00:00
be08690003
2013-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/arrays.c + added new internal VM C function: hb_arraySwap() ! fixed typo HB_TRACE message
Przemyslaw Czerpak
2013-02-06 22:33:10 +00:00
a2892a7825
2013-02-06 13:24 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * moved location of envvars inside help text ; change lost locally before prev patch
Viktor Szakats
2013-02-06 12:25:23 +00:00
e0dd0faa17
2013-02-06 13:19 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + added docs for 'depimplib' and 'depimplibsrc' built-in -instpath groups (aka filelists).
Viktor Szakats
2013-02-06 12:21:24 +00:00
3ba1da2320
2013-02-06 03:14 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + help text added for .hbc directives + added -longhelp/--longhelp option which will include envvars, .hbc directives and maybe future details + added -depfinish=, -harbourhelp, -ldflag+=, -dflag+= to help text + -depfinish= will now show a warning if non-existing name is passed to it as parameter. + all warnings will now go to stderr (some were going to stdout before) + added -dflags=, -dflags+= .hbc directives in sync with existing options
Viktor Szakats
2013-02-06 02:15:33 +00:00
2f0dbfeed2
2013-02-05 13:01 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * avoid English abbreivated forms
Viktor Szakats
2013-02-05 12:02:57 +00:00
0c8195cf3e
2013-02-05 12:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbtest/hbtest.prg + will now recognize -help and --help options to display help
Viktor Szakats
2013-02-05 11:54:30 +00:00
3f1c43d8bf
2013-02-05 12:38 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + help text added for envvars, disk files and macros supported by hbmk2 + HB_CCSUFFIX envvar support added. Works the same as HB_CCPOSTFIX, only with a new name * HB_CCPOSTFIX envvar deprecated with HB_LEGACY_LEVEL4 * hbmk[ "cCCPOSTFIX" ] hbmk2 plugin variable renamed to hbmk[ "cCCSUFFIX" ]. INCOMPATIBLE. Update your plugin source if you used this.
Viktor Szakats
2013-02-05 11:42:59 +00:00
3a0a9f2b5a
2013-02-05 02:05 UTC+0100 Viktor Szakats (harbour syenar.net) * ChangeLog.txt ! fix to one recent log entry
Viktor Szakats
2013-02-05 01:06:15 +00:00
3a8270519c
2013-02-03 12:59 UTC+0100 Viktor Szakats (harbour syenar.net) * src/3rd/tiff/Makefile - disabled JPEG support in libtiff. I'm leaving tuning this to someone with more interest in this feature, or wait until libtiff is synced with latest jpeg lib changes. (Still related to the mess they are making with boolean types that collide with each other and certain platform ones.)
Viktor Szakats
2013-02-03 12:03:43 +00:00
a247e7d81f
2013-02-02 21:26 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbssl/hbssl.hbm * suppressed a gazillion of warnings where Apple was telling us that OpenSSL - as a whole - is deprecated since OS X Lion 10.7
Viktor Szakats
2013-02-02 20:28:30 +00:00
1a65d0192e
typo
Viktor Szakats
2013-02-02 19:03:23 +00:00
e93d9d53b5
2013-02-02 19:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * further clarification around -comp/-plat help texts
Viktor Szakats
2013-02-02 19:01:40 +00:00
4cfb9a78b0
2013-02-01 01:30 UTC+0100 Viktor Szakats (harbour syenar.net) * bin/3rdpatch.hb * bin/commit.hb * contrib/hbblink/blinker.prg * contrib/hbxpp/runshell.prg * utils/hbmk2/hbmk2.prg % replaced hb_GetEnv() calls with GetEnv() where the Harbour extension parameter was not used
Viktor Szakats
2013-02-01 00:35:52 +00:00
d08df3ff14
2013-02-01 01:19 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/hbblink/blinker.prg * utils/hbmk2/hbmk2.prg * adapted to previous change + SWPRUNCMD() now returns .F. on error, like the original
Viktor Szakats
2013-02-01 00:21:50 +00:00