Commit Graph

1936 Commits

Author SHA1 Message Date
Viktor Szakats
eee1c618df 2013-02-11 01:45 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + documented $*.hbm embedded .hbm include files

  * utils/hbmk2/pkg_inst.hbm
    * avoid explicit "hbmk2"
2013-02-11 00:46:16 +00:00
Viktor Szakats
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

  * extras/gfspell/spell.prg
    ! use ASC() instead of hardcoded numeric repr.
2013-02-11 00:30:54 +00:00
Viktor Szakats
4727b6b098 2013-02-08 12:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * polishing to warning texts committed in prev
2013-02-08 11:04:45 +00:00
Viktor Szakats
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
2013-02-08 11:00:22 +00:00
Viktor Szakats
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)

  * utils/hbmk2/hbmk2.prg
    ! very minor fix where -hbc= options list value
      items are now trimmed from spaces.

  * config/aix/gcc.mk
  * config/beos/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/gcc.mk
  * config/bsd/pcc.mk
  * config/cygwin/gcc.mk
  * config/darwin/clang.mk
  * config/darwin/gcc.mk
  * config/dos/djgpp.mk
  * config/global.mk
  * config/hpux/gcc.mk
  * config/linux/clang.mk
  * config/linux/gcc.mk
  * config/linux/sunpro.mk
  * config/minix/ack.mk
  * config/minix/clang.mk
  * config/minix/gcc.mk
  * config/os2/gcc.mk
  * config/qnx/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
  * config/symbian/gcc.mk
  * config/vxworks/gcc.mk
  * config/vxworks/global.mk
  * config/wce/mingwarm.mk
  * config/win/clang.mk
  * config/win/mingw.mk
  * utils/hbmk2/hbmk2.prg
  * README.txt
    * envvar renamed HB_CCPOSTFIX -> HB_CCSUFFIX
      INCOMPATIBLE. (I surmise few people need this,
      hence no grace period)

  * contrib/hbmemio/tests/test.prg
    * minor cleanup
2013-02-07 21:34:52 +00:00
Viktor Szakats
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
2013-02-06 12:25:23 +00:00
Viktor Szakats
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).
2013-02-06 12:21:24 +00:00
Viktor Szakats
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
2013-02-06 02:15:33 +00:00
Viktor Szakats
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
2013-02-05 12:02:57 +00:00
Viktor Szakats
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

  - utils/hbmk2/hbmk2.1
  - utils/hbtest/hbtest.1
  * config/postinst.hb
    - deleted platform specific "man"-files, which were
      either outdated (hbmk2) or the exact same as regular
      help output (hbtest). They are also extremely
      inconvenient to edit with regular text editors, plus
      keeping two similar docs in sync is very inefficient
      so pbly it's better idea to create .md output from
      the tools themselves and convert those to man
      format using an automated tool like md2man.rb.

  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    * updated one string in sync with hbmk2.prg

  * utils/hbmk2/hbmk2.prg
    * update in a comment
2013-02-05 11:54:30 +00:00
Viktor Szakats
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.
2013-02-05 11:42:59 +00:00
Viktor Szakats
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

  * README.txt
    ! typos

  * contrib/hbnf/setlastk.c
    ! map to HB_KEYSETLAST() instead of deprecated synonym

  * contrib/hbct/charlihb.c
  * contrib/hbct/charophb.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/disk.c
  * contrib/hbct/screen1.c
    + HB_EXTENSION tags for Harbour extensions

  * contrib/hbct/screen2.c
    + TODOs for missing unicode support

  * contrib/hbct/tests/csetarge.prg
    + NOTE why CTOD( "" ) must be used here

  * tests/dates3.prg
  * website/samples/dates3.prg.html
    * use HB_STOD() instead of CTOD( "" )
    ! typos

  * tests/transtst.prg
    * use HB_STOD() instead of STOD()

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  * contrib/hbtinymt/3rd/tinymt/*
  * src/3rd/jpeg/Makefile
  * src/3rd/jpeg/*
  * src/3rd/png/Makefile
  * src/3rd/png/*
    * updated using 3rdpatch to
      jpeg 9, libpng 1.5.14, tinymt 1.0.2

  * contrib/hbct/cterror.ch
  * contrib/hbct/video.c
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/xbox.prg
  * bin/harbour.ucf
    * formatting
2013-02-02 19:01:40 +00:00
Viktor Szakats
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

  * src/rtl/gete.c
    ! synced comment with reality

  * ChangeLog.txt
    + missed one fix from prev log entry
2013-02-01 00:35:52 +00:00
Viktor Szakats
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
2013-02-01 00:21:50 +00:00
Viktor Szakats
4cccb2bd26 2013-01-30 18:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/en/lang.txt
  * include/hbapilng.h
  * src/rtl/langapi.c
    + HB_LANGNAME() Harbour API extended to accept optional
      language ID. See docs.
    + HB_LANGMESSAGE() Harbour API extended to accept 2nd parameter
      as optional language ID. See docs.
    + added new C level API to retrieve a language string from
      any language module (not just selected one):
         const char * hb_langGetItem( const char * pszID, int iIndex );
    + extended hb_langName() C level API to be able to retrieve
      name of any language modules, not just selected one:
         char * hb_langName( const char * pszID );
      [INCOMPATIBLE]
    * hb_langDGetItem() C level API moved to 'compatibility' status
    * uncrustified unattendedly

  * src/codepage/l_fr.c
    ! fixed another typo which was result of local paste mistake

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + extended the wording of -comp=/-plat= options, default behavior indicated

  * tests/langapi.prg
    ! updated to RTE at the end and to use non-legacy language IDs

  * tests/langapi.prg
  * contrib/hbnf/tests/datecnfg.prg
  * utils/hbtest/hbtest.prg
    * minor cleanup
2013-01-30 17:32:39 +00:00
Przemyslaw Czerpak
8fdf44794d 2013-01-30 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcdpreg.h
  * harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
    * added to hb_cdpRegisterNew() new parameter which informs CP engine
      that passed strings with upper and lower letters are in UTF8 encoding.

  * harbour/src/codepage/cpplmaz.c
    * defined PLMAZ codepage using UTF8 encoding - just as an example.

  * harbour/utils/Makefile
    * compile hbtest before hbmk2 - it alows to build HVM test tool even if
      HBMK2 cannot be compiled (i.e. some compilers does not accept
      resource/icon files used by HBMK2)
2013-01-30 00:05:21 +00:00
Viktor Szakats
2688ce2212 2013-01-24 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + links to markdown and markdown to man-page converter tool
    ! minor cleanup to prev

  * utils/hbmk2/hbmk2.1
    * some updates

  * ChangeLog.txt
    ! typos/updates in previous entry

  * extras/hbdoc/*.prg
  * src/rtl/memoedit.prg
  * tests/clasinh.prg
  * tests/classch.prg
  * tests/inhprob.prg
    ! updated for new ::super: syntax

  * src/rtl/itemseri.c
    ! fixed typo in latest modification:
      'warning: use of unary operator that may be intended as compound assignment (+=)'

  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhttpd/*
  * contrib/hbtip/thtml.prg
  * contrib/xhb/*.prg
  * extras/httpsrv/*
  * extras/guestbk/*
  * website/faq/*.html
  * website/samples/HowToBuildOnLinux.html
  * website/third-party.html
    * some steps to modernize old HTML

  * extras/hbdoc/*.prg
    * do not use [] as string delimiter

  - tests/function.cfm
  - website/samples/function.cfm.html
  * .gitattributes
    - obsolete file deleted
2013-01-24 14:20:54 +00:00
Viktor Szakats
953737189d 2013-01-23 17:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/*.po
    + added '-warn=yes' option in sync with warn= .hbc directive
    * cleaned help for -cpp and -cpp= options
    * '-inc' option moved to short help page and clarified a little
    - deprecated several hbmk2 options synonyms. After this
      update, hbmk2 will issue a warning with the recommended
      replacement switch (and exact location where it has
      found it), and these will ultimately disappear with
      HB_LEGACY_LEVEL4 (after next release, or earlier, depending
      on how disrupting it is or how long the new release
      will take):
         -compiler=              -> -comp=
         -platform               -> -plat=
         -mwindows               -> -gui
         -mconsole               -> -std
         -nodebug                -> -debug-
         -nooptim                -> -optim-
         -nomap                  -> -map-
         -noimplib               -> -implib-
         -nobeep                 -> -beep-
         -nominipo               -> -minipo-
         -noinc                  -> -inc-
         -noignore               -> -ignore-
         -nohbcppmm              -> -hbcppmm-
         -nostrip                -> -strip-
         -warn= (value omitted)  -> -warn=yes
         -nowarn                 -> -warn-
         -compr= (value omitted) -> -compr=yes
         -compr=def              -> -compr=yes
         -nocompr                -> -compr-
         -head= (value omitted)  -> -head=full
         -head                   -> -head=full
         -head-                  -> -head=off
         -nohead                 -> -head=off
         -nocpp                  -> -cpp-
         -norun                  -> -run-
         -notrace                -> -trace-
      .hbc directives (no warning for these ones):
         compr=def               -> compr=yes
         <*>=1                   -> <*>=yes
         <*>=0                   -> <*>=no
      Macros (no warning for these ones):
         ${hb_platform}          -> ${hb_plat}
         ${hb_compiler}          -> ${hb_comp}

    ; Update your .hbp/.hbm/.hbc files and hbmk2
      command-line according to above and the new
      warnings. Important to note, that _all_ of the
      required modifications are _backward
      compatible_ with Harbour 3.0.0 and 2.0.0.

  * package/winuni/RELNOTES.txt
    * use -plat= option in examples

  * tests/testcom1.prg
    + made it compatible with unicode/script mode
2013-01-23 16:20:12 +00:00
Viktor Szakats
fed8401665 2013-01-23 00:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! FindInPath(): fixed for filenames with an empty
      extension on *nix systems when opening hbrun scripts.
      [slight chance of regression.]
    ! fixed to use ".\" also on non-*nix systems when using
      -run option and the target doesn't have a directory.
      Previously the wrong executable might have been executed
      if another one with the same name existed in path.
    + detect another variant of "multiple definitions" linker option
    + detect "multiple definitions" linker message for another C compiler

  + tests/testcom1.prg
    + added com sample code posted by Przemek earlier

  * contrib/hbsms/tests/send.prg
    + added Linux device name

  * src/rtl/cdpdet.prg
    * cleanup to local function name
2013-01-23 00:05:19 +00:00
Viktor Szakats
fffbd75eac 2013-01-22 02:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fixed current color being used instead of editor's own
      colorspec when scrolling the editing area using
      up/down/left/right keys

  * utils/hbmk2/hbmk2.prg
    ! -env: option being wrongly listed as command-line only in help.
      Regression after 2012-06-14 12:01 UTC+0200.
    * comments

  * ChangeLog.txt
    ! adjusted recommended replacement options in previous commit msg
2013-01-22 01:59:02 +00:00
Viktor Szakats
07cba6a57f 2013-01-22 00:37 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * code cleanup to ease adding linker message exceptions
    * unused functions enclosed in '#if 0' guards
    + show warning for options that are only valid on command line
      and ignored when used inside .hbp/.hbm files.
    - deleted compatibility features:
        - '-arch=' option (use '-platform=' instead)
          Notice it will now be passed to Harbour compiler and possibly
          interpreted as '-a' option, so it's better to update it _now_.
        - '${hb_arch}' compatibility macro (use '${hb_platform}' instead)
        - 'mt=mt' .hbc command (use 'mt=yes' instead)
    * '-mwindows' and '-mconsole' legacy options will now issue
      a warning with suggested replacement options (-gui/-std)
    + hbmk2 will now issue a warning if certain known low-level linker
      options are used. Current list is: -Wl,--allow-multiple-definition,
      -force:multiple, -w-dpl. These options are ideal if the goal
      is to shoot yourself in the foot, otherwise they are not 
      recommended.

  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/tests/clrsel.prg
    ! fixed obscure unicode issue

  * utils/hbtest/rt_class.prg
    * applied tests/fixcase.hb
    % use new Harbour functions in Harbour-only code

  * extras/httpsrv/uhttpd.prg
    % use new Harbour function
2013-01-21 23:41:05 +00:00
Przemyslaw Czerpak
d7eaeebc6a 2013-01-21 16:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    % small speed optimization for inline methods
    + added internal list of super classes bound with each class
    % use super class list for scope checking
    % use list of super classes for instance area casting
    % use super class list in super destructor code - it should cause
      noticeable speed improvement for releasing objects with destructors.
    ! few security fixes like possible GPF on wrong paramas.

  * harbour/src/vm/macro.c
    % use HB_P_DUPLICATE instrad of HB_P_PUSHUNREF in Field[W]Block()
      functions

  * harbour/src/rtl/gtwvt/gtwvt.c
    ! do not generate HB_K_RESIZE after SetMode() if there is no active
      console window.

  * harbour/include/hbstack.h
    * cleaned declarations of some hb_stack*() functions - moved to internal
      functions: hb_stackFree(), hb_stackInit(), hb_stackIncrease() and
                 hb_stackRemove()
      exported: hb_stackPush(), hb_stackTopOffset() and hb_stackTotalItems()

  * harbour/include/hbwmain.c
    ! fixed typo in argv list declaration

  * harbour/utils/hbtest/rt_class.prg
    + added code to test non virtual hidden messages and super casting.

  * harbour/contrib/hbmzip/mzip.c
    * minor modifications in casting and parameter checking to make them
      compatible with other similar core operations, i.e. FWRITE()
2013-01-21 15:37:10 +00:00
Viktor Szakats
73c232049c 2013-01-21 00:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbfilehi.prg
    ! hb_PathRelativize() with a lForceRelative == .T. option
      might have return wrong result if the base directory had symlinks.
      As a workaround/hack, now the relative path will only be returned
      if it actually exists. Otherwise the non-relative variant will
      be returned.
    ; It should fix hbmk2 on OS X when f.e. building a plain .c source
      in (default) non-incremental mode.

  * utils/hbmk2/hbmk2.prg
    ! fixed to list missing symbols once even reported multiple
      times in the linker output.
    ! fixed to not list symbols as missing if reported in certain
      different error situations (f.e. as doubly defined symbol).
      Extend exceptions as needed for other errors/compilers/language translations.
2013-01-20 23:26:39 +00:00
Viktor Szakats
ea59458fb6 2013-01-13 20:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + display option source file/line in some output messages
    ! '-nooptim' option was not recognized after 2009-05-13 08:10 UTC+0200
      (recommended format '-optim-' was working all along)
2013-01-13 19:52:04 +00:00
Viktor Szakats
9f7529172c 2013-01-11 13:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * tweaks to prev patch
2013-01-11 12:26:58 +00:00
Viktor Szakats
a772083c9f 2013-01-11 00:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + show warning if user -I/-L parameters explicitly 
      specify the core header/lib dirs of Harbour. This 
      is wrong/unnecessary depending on context, and for
      sure never does any good.
2013-01-10 23:44:43 +00:00
Viktor Szakats
d7d04f5c79 2012-12-17 18:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! hbshell_DirBase()/hbshell_ProgName() fixed to
      return proper non-ASCII chars (= if hbrun/hbmk2 resides
      in a directory with non-ASCII chars) even if the .hb 
      script or a shell command had changed the default codepage.
2012-12-17 17:38:44 +00:00
Viktor Szakats
acb3b1ed69 2012-12-16 19:04 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbdefs.h
    - deleted redundant type: 'HB_FUNC_PTR'
      INCOMPATIBLE. If you used this, swap it for 'PHB_FUNC'
    * ws formatting
  * ChangeLog.txt
    ! typos
  * tests/testdyn.prg
    ! fixed -w3 warnings on non-win
    ! fixed possible type in text output
  * config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + use hb_StrFormat() in few more places
    + added minor exception after .hbx 'do no edit'
  * website/index.html
    ! unclosed tag
2012-12-16 18:05:39 +00:00
Viktor Szakats
a4becbaca9 2012-12-16 05:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/darwin/clang.mk
    + use 'clang++' in C++ mode

  * include/hbcomp.h
  * include/hbmacro.h
  * include/hbsetup.h
    % deleted redundant and/or unnecessary C RTL headers

  + config/win/clang.mk
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.*.po
  * README.txt
    + added very experimental clang support to the build
      systems. Very lightly tested.
    ! fixed entry function detection not being enabled with clang
    ! fixed .res files not being added on os2/gcc[omf] from .hbc/sources= directive
    + added recently added new filter 'allbcc' to help text
    ! synced compiler list per platform in help/readme to reality

  * ChangeLog.txt
    + updated 2012-12-16 00:17 UTC+0100 with the first DONE item.

  * src/3rd/pcre/*
    - reverted to 8.31 until all the breakage in configurability
      is fixed either in pcre or by redesigning our way of
      configuring it. Command-line configuration -DHAVE_*=0
      doesn't seem to work anymore.
2012-12-16 04:40:47 +00:00
Viktor Szakats
6f495d1ac1 2012-12-16 03:07 UTC+0100 Viktor Szakats (harbour syenar.net)
+ config/win/bcc64.mk
  * config/global.mk
  * config/postinst.hb
  * config/win/bcc.mk
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * README.txt
  * utils/hbmk2/hbmk2.prg
    + added rough cut support for bcc64 to the two make systems.
      Untested. Autodetection and some 32-bit specific tricks
      not implemented.
      bcc64 is based on clang and it's only a bcc "emulation"
      layer on top of it. At least it will be a good compiler
      now, but it's important to see that it's internally
      a clang compiler, so its behavior and raw options are
      gcc-like.
      Changes are based on xhb patches and bcc64 online docs:
         http://docwiki.embarcadero.com/RADStudio/XE3/en/Command_Line_Utilities_Index
2012-12-16 02:09:30 +00:00
Viktor Szakats
50b4490f77 2012-12-12 01:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + use implibs (if available) as source of information
      for updating .hbx files in -hbdyn mode. See in-code
      comment for more.

  * utils/hbmk2/pkg_dynl.hbm
    + enabled to rebuild .hbx files even in -hbdyn mode
      (after above hbmk2 fix/improvement)

  * extras/template/hbtpl.hbc
  * extras/template/hbtpl.hbp
    * minor tidying
2012-12-12 00:15:16 +00:00
Viktor Szakats
139b56f9c5 2012-12-11 17:41 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/pkg_dynl.hbm
    * deleted no longer true reference to GNU Make

  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.hbx
    + added AdsDDCreateRefIntegrity() and AdsDDRemoveRefIntegrity()
      (former looks similar to xhb version, but incompatible due
      to the several necessary fixes.)
2012-12-11 16:42:55 +00:00
Viktor Szakats
62aca6b5fd 2012-12-06 20:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added 'hbshell: ' prefix to all output originating 
      from hbshell ("hbdot") functionality
2012-12-06 19:58:23 +00:00
Viktor Szakats
6e5af48944 2012-12-06 15:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * default .hbc version number changed to 1 (from 0)
2012-12-06 14:52:45 +00:00
Viktor Szakats
b313865e78 2012-12-04 14:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpost.hbm
  * utils/hbmk2/pkg_dynl.hbm
    * hack to avoid contrib/addon dynamic libs being used
      automatically on *nix system when building executables.
      Now they will be put in bin dir, just like on win.

  * utils/hbmk2/hbmk2.prg
    + hbshell_include_list() API to list loaded core headers.
    + allow loading dynamic extensions on *nix even if built
      against static HVM.
    * display statically linked extensions in uppercase in
      dot prompt UI and dynamic ones with original (lower) case.
      (was normal case and postfixed with '*' respectively)
    + do not load dynamic extension if the .hbc file is not found
    + attempt to detect if dynamic extension loads fine on
      a given platform and only try loading the dynamic lib
      if it does.
    + added protection to not add duplicate compiler options
      when compiling dot prompt entry.

  * contrib/hbrun/hbrun.hbp
    + load default contrib libs dynamically on *nix, even if
      hbrun is built against static HVM.

  ; these make work dynamic extensions on *nix systems.

  * contrib/hbtip/sessid.prg
  * extras/httpsrv/cgifunc.prg
    * updated HTTP date format to use preferred format:
         http://tools.ietf.org/html/rfc2616#section-3.3.1
    % optimized code and eliminated unnecessary _SET_DATEFORMATs
    ; tip_DateToGMT() and its uhttpd_DateToGMT() derivative

  * src/compiler/hbusage.c
    * updated contributor list

  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    * use std way to configure date format
2012-12-04 13:20:54 +00:00
Viktor Szakats
075f6d3f41 2012-12-04 00:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.prg
    + loading packages using ext.load, hbshell_ext_load(),
      'hb_ext.ini'/'hb_extension' config files and HB_EXTENSION
      envvar will now automatically load the packages'
      standard headers and will properly set HBMK_HAS_* macros,
      just like when running scripts or using .hbc files.
    + do not statically link contribs to hbrun when hbrun
      is built dynamically. Instead, load default contribs
      dynamically on startup (yes, performance will be worse.
      If you don't like this, see 2012-12-03 15:17 UTC+0100).
      This way these loaded packages will behave exactly the
      same as any other dynamically loaded packages, f.e.
      standard headers will be loaded and usable.
    + hbshell_include()/hbshell_uninclude() will now
      load/unload core headers available in dot prompt.
    + 'hb.ch' core header is now loaded for scripts and dot
      prompt by default. It means that K_ESC will now
      return 27 and hb_gtInfo( HB_GTI_VERSION ) will work
      as well, just like many other commonly used constants.
      For a precise list, see the content of include/hb.ch.
      If you don't like it, unload it from hbstart.hb using
      hbshell_uninclude( "hb.ch" )
    % use embedded headers when using the dot prompt.

  * contrib/hbsms/sms.prg
    * commented code cleanup
2012-12-03 23:52:25 +00:00
Viktor Szakats
b91a3a5221 2012-12-03 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/utils/hbformat.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * package/harb_win.mft
  * package/harb_win.rc
  * README.txt
  * src/compiler/hbusage.c
  * src/pp/hbpp.c
  * utils/hbi18n/hbi18n.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
    * Bumped copyright year to 2013.
    + updates to contributor list
2012-12-03 14:30:34 +00:00
Viktor Szakats
92d24a5828 2012-12-03 13:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* (whole trunk repo)
    * COPYING -> COPYING.txt
2012-12-03 13:52:22 +00:00
Viktor Szakats
3ab642e415 2012-12-01 21:40 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/sddfb/sddfb.hbx
  + contrib/sddmy/sddmy.hbx
  + contrib/sddoci/sddoci.hbx
  + contrib/sddodbc/sddodbc.hbx
  + contrib/sddpg/sddpg.hbx
  + contrib/sddsqlt3/sddsqlt3.hbx
  + contrib/sddfb/core.c
  + contrib/sddmy/core.c
  + contrib/sddoci/core.c
  + contrib/sddodbc/core.c
  + contrib/sddpg/core.c
  + contrib/sddsqlt3/core.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/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddmy/tests/test1.prg
  * contrib/sddoci/sddoci.hbp
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/sddodbc.hbp
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddpg/sddpg.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
  * contrib/sddsqlt3/tests/test1.prg
    + all sdd drivers can now be used in scripts

  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.hbp
  * extras/httpsrv/uhttpd.prg
    ! fixed -w3 errors
    + enabled -w3

  * utils/hbmk2/hbmk2.prg
    ! fixed to not redefine HBMK_HAS_* macros
    % minor opt to version 0 HBMK_HAS_* define
2012-12-01 20:44:23 +00:00
Viktor Szakats
bf2a4516c2 2012-12-01 12:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + automatically define HBMK_HAS_<packagename> macro
      if a given package is linked or loaded when running
      as script. F.e. HBMK_HAS_HBGD. The macro will have
      the value zero if there is no version information
      about the package and it will be 0x010203 if there
      is, via .hbc version=x[.y[.z]] directive.

  * extras/httpsrv/modules/showcounter.prg
  * extras/httpsrv/modulesg.hbp
  * extras/httpsrv/uhttpd.prg
  * extras/httpsrv/uhttpdgd.hbp
    + use HBMK_HAS_* macro instead of manually rolled solution
2012-12-01 11:20:35 +00:00
Viktor Szakats
a6fc285772 2012-11-30 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/Makefile
  - include/hbtest.ch
  * src/rtl/Makefile
  - src/rtl/hbtest.prg
  * utils/hbmk2/hbmk2.prg
    - deleted hbtest from core.

  * contrib/hbct/tests/test.prg
  * contrib/hbgt/tests/test.prg
  * contrib/hbmisc/tests/tsstrfmt.prg
    * modified regression tests to use hbtest contrib
      instead of hbtest functionality in core RTL
    ; Thanks to Mindaugas and Przemek, now the contrib
      tests will require users to manually add 'hbtest.hbc'
      to their hbmk2 cmdline in case someone would like
      to build exes from them. Which means that fewer
      people will bother to build and run them. They still 
      run simply using 'hbrun <name>.prg' as scripts.
2012-11-30 14:20:44 +00:00
Viktor Szakats
c415852281 2012-11-30 03:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbtest.prg
    ! made another accidentally public function STATIC
    % merged XToStr() and XToStrE()
    % XToStr() modified to use hb_CStr() where it can

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_trans.prg
    % synced in-string date format with src/rtl/hbtest.prg

  * contrib/hbmisc/tests/tsstrfmt.prg
    ! fixed to not rely on current date
    ! fixed to set date format
2012-11-30 02:57:37 +00:00
Viktor Szakats
039d21ed16 2012-11-29 15:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/*.po
    + accept .ch files as project input. These headers
      will be used as standard ones using -u+ option.
      F.e.:
         --- test.prg
            ? K_ESC
         ---
         $ hbmk2 inkey.ch test.prg
         $ test -> 27
    + accept .ch files in sources= .hbc directive.
    ; TODO: consider deleting headers= directive
2012-11-29 14:34:56 +00:00
Viktor Szakats
feefeeed6d 2012-11-29 14:56 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hb.ch
  * utils/hbmk2/hbmk2.prg
    * minor sync between list of "essential" core headers
      and the minimal list of core headers embedded into hbmk2.
      (minimal list is not used in default builds)
    * added missing hbstrict.ch to full list of included headers
2012-11-29 14:00:34 +00:00
Viktor Szakats
8875ad526b 2012-11-28 23:54 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + automatically load headers listed in .hbc file 
      when executing an .hb script

  * contrib/hbodbc/tests/testodbc.prg
    % #include "sql.ch" no longer needed either when 
      built to an executable or when executed as script
2012-11-28 22:56:21 +00:00
Viktor Szakats
08f5ab3669 2012-11-28 23:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbodbc/hbodbc.hbc
    + added experimental headers= line

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    + added support for new .hbc directive:
       -headers=<.ch files>
      wildcards accepted.
      hbmk2 will automatically include the listed headers
      for all source files. It will be more efficient than
      including them to each file, as they are processed
      only once (well, at least I hope this optimization
      is done by Harbour PP/compiler). It also makes it
      unnecessary to manually #include headers that belong
      to a module/package.
2012-11-28 22:37:24 +00:00
Viktor Szakats
fa6d4dcd44 2012-11-28 21:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_array.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_file.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_main.ch
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_mt.prg
  * utils/hbtest/rt_str.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
    % use the same HBTEST command format for tests as 
      available for contribs and 3rd parties.
      It made source easier to edit and code size 
      smaller by 111KB.
2012-11-28 20:30:46 +00:00
Viktor Szakats
6dcfba80e7 2012-11-28 16:20 UTC+0100 Viktor Szakats (harbour syenar.net)
+ include/hbtest.ch
  * include/Makefile
  * utils/hbmk2/hbmk2.prg
    + missed to commit hbtest.ch
2012-11-28 15:23:10 +00:00
Viktor Szakats
231ef35d40 2012-11-27 14:15 UTC+0100 Viktor Szakats (harbour syenar.net)
- COPYING
  + COPYING.txt
  * config/global.mk
  * config/postinst.hb
  * ChangeLog
  * debian/copyright
  * doc/class_tp.txt
  * doc/cmdline.txt
  * doc/hdr_tpl.txt
  * doc/howtorep.txt
  * doc/oldnews.txt
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * README.txt
  * tests/hbdoctst.prg
  * utils/hbmk2/hbmk2.prg
  * website/faq/harbour3.html
  * website/license.html
    * renamed COPYING to COPYING.txt
    ; TODO: Update reference in all sources
2012-11-27 13:18:08 +00:00
Viktor Szakats
0d37a4455b 2012-11-26 22:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/Makefile
  + src/rtl/hbtest.prg
  * include/harbour.hbx
    + added simple regression test framework in core, so
      such tests can be easily added to contribs and 3rd
      party projects. It's based on the engine used in
      hbtest.
      Usage:
          #include "hbtest.ch"
          HBTEST <expression> IS <expected value>
      F.e.:
          HBTEXT 2 + 2 IS 4

  * contrib/hbgt/tests/test.prg
    + use the new experimental regression test framework
      in core.

  * utils/hbmk2/hbmk2.prg
    + added note to help text about scripts being executed
      under a default codepage of UTF-8

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/dataref.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbamf/readme.txt
  * contrib/hbgd/gd.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbtip/mail.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xdbmodst.prg
  * extras/hbdoc/genhtml.prg
  * extras/httpsrv/session.prg
  * src/debug/debugger.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tobject.prg
  * src/rtl/valtoexp.prg
  * tests/clasname.prg
  * utils/hbmk2/hbmk2.prg
    * :CLASSNAME -> :CLASSNAME()

  * contrib/hbct/addascii.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/charsort.c
  * contrib/hbct/charswap.c
  * contrib/hbct/justify.c
  * contrib/hbct/pos2.c
  * contrib/hbct/relation.c
  * contrib/hbct/wordrepl.c
  * contrib/hbgt/chrcount.c
  * extras/gfspell/spellc.c
    * minor cleanups

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_main.ch
    * cleanups
2012-11-26 22:02:46 +00:00