Commit Graph

2972 Commits

Author SHA1 Message Date
Viktor Szakats
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

  * contrib/hbpre.hbm
  * contrib/make.hb
    % use -exitstr hbmk2 option instead of rolling a local copy
      of possible result strings

  * src/pp/ppcore.c
    + generate '\a' '\f' '\v' escape chars

  - bin/find.hb
  * config/postinst.hb
  * package/harbour.spec
    - deleted find.hb for 'hbrun bin/find' functionality.
      Replaced by 'hbmk2 -find' option.

  * src/rtl/Makefile
  - src/rtl/strxchg.c
  + src/rtl/strrepl.c
  * src/rtl/tget.prg
  * utils/hbmk2/hbmk2.prg
  * include/harbour.hbx
  * ChangeLog.txt
    * renamed HB_STRXCHG() to HB_STRREPLACE(), according to:
         https://groups.google.com/d/topic/harbour-devel/vSzlAkv6h9Y/discussion
    * updated function skeleton in ChangeLog and C source
      (also with new hash parameter)

  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbsqlit3/hbsqlit3.hbx
  + contrib/hbsqlit3/errstr.prg
    + hb_sqlite3_errstr_short( <nError> ) -> <cError>

  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/backup.prg
  * contrib/hbsqlit3/tests/hooks.prg
    % use hb_sqlite3_errstr_short() instead of implementing
      it locally in each example
    % use sqlite3_errstr() API to get long error strings instead
      of reimplementing it locally
    % minor opt

  * contrib/hbsqlit3/hbsqlit3.hbp
  - contrib/hbsqlit3/hdbcsqlt.prg
  + contrib/hbsqlit3/hdbc.prg
    * renamed

  * contrib/hbhpdf/errstr.prg
  * contrib/hbmzip/mziperr.prg
    ! indenting

  * contrib/hbtip/tests/tiptest.prg
    * leave color
2013-02-18 13:50:13 +00:00
Przemyslaw Czerpak
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.

  * harbour/include/hbtypes.h
    * renamed HB_EXTISARRAY to HB_EXTISPARAM, old type is covered by
      HB_LEGACY_LEVEL4 macro.

  * harbour/include/hbapi.h
  * harbour/src/vm/extend.c
    + added new public C function:
         HB_BOOL hb_extIsNil( int iParam );
    % use hb_extIsNil(n) in HB_ISNIL(n) macro. It eliminates double
      function call and also double (n) usage so it improves the
      performance and allows to use complex expressions as HB_ISNIL()
      argument.

  * harbour/src/vm/maindllp/dllext.c
    + added wrappers for hb_extIsNil() abd hb_extIsObject()
2013-02-15 11:15:19 +00:00
Przemyslaw Czerpak
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, "<>&", { "&lt;", "&gt;", "&amp;" } )
         // now decode it to raw text
         cText := hb_strXChg( cXmlText, { "&lt;", "&gt;", "&amp;" }, "<>&" )
         // 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" )

  * harbour/src/common/hbfopen.c
    * added workaround for missing wsystem() in XCC
2013-02-15 00:54:04 +00:00
Viktor Szakats
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.)

  * include/harbour.hbx
    * updated/cased

  * contrib/hbtip/mail.prg
    * format
2013-02-06 23:18:31 +00:00
Przemyslaw Czerpak
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

  * harbour/src/vm/hvm.c
    + added support for codeblocks in __vmItemID()

  * harbour/src/vm/classes.c
    + added PRG new functions:
         __objRestoreIVars( <aIVars>, <hClass> | <sClassFunc> |
                            <cClassName>[, <cClassFuncName>] ) -> <oObject>
      it works in similar way to __objSetIVars() but stores new object
      result in passed <aIVars> array.

  * harbour/src/rtl/valtoexp.prg
    ! fixed serialization code for nested objects with redefined [] operator
    ! fixed cross references detection broken in last modification
2013-02-06 22:33:10 +00:00
Przemyslaw Czerpak
5f7b714ec3 2013-02-05 23:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hboo.ch
    * added small comment

  * harbour/include/hbapirdd.h
  * harbour/src/rdd/workarea.c
    * fixed typo in parameter name

  * harbour/include/hbapi.h
  * harbour/src/vm/arrays.c
    + added to new C functions: hb_arraySetCPtr() and hb_arraySetCConst()

  * harbour/src/vm/classes.c
    + added support for passing assign type restrictions to in
      HB_OO_MSG_PROPERTY and HB_OO_MSG_CLASSPROPERTY in __clsAddMsg()
      It can be done by new option 7-th <xType> parameter.
    + added support for super class casting in __objGetIVars() and
      __objSetIVars(). Now this functions can be used to serialize
      all object instance variables also overloaded by other classes
      so they can be accessed only with super class casting or by
      nonvirtual messages. It means that above functions create fully
      functional serialization system and can be used as backed for
      HB_SERIALIZE() and HB_VALTOEXP() when objects are serialized.
      Such serialization consumes more time and needs more memory but
      objects can be deserialized by modified code which uses slightly
      different raw object representation. The original HB_SERIALIZE()/
      HB_VALTOEXP() format is very fast and compact but it needs exactly
      the same raw object representation in the program which serialized
      object and in the program which later desrialize it. It may create
      serious problems if programmer modify the code, i.e adding new
      instance variables or changing their order in the object class or
      or in one of its ancestors and then tries to restore some objects
      serialized by previous program version.
    * updated some comments and few typos in local names

  * harbour/src/rtl/valtoexp.prg
    * modified HB_VALTOEXP() to use be default __objGetIVars() and
      __objSetIVars() to serialize objects.
    + added 2-nd parameter <lRaw> to HB_VALTOEXP(). By default it's .F.
      Setting it to .T. forces all raw serialization format.
2013-02-05 22:04:55 +00:00
Viktor Szakats
ba6990fe06 2013-02-01 13:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    + added/cased recently added RTL functions

  * include/harbour.hbx
  * include/hbcpage.hbx
  * include/hblang.hbx
  * include/hbscalar.hbx
  * include/hbusrrdd.hbx
    * updated with latest generator
2013-02-01 12:40:28 +00:00
Przemyslaw Czerpak
5a1ec7b3a5 2013-02-01 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbwinuni.h
    + added HB_WINAPI_SYSTEM() macro

  * harbour/src/rtl/run.c
  * harbour/src/rtl/hbrunfun.c
    ! use MSCRTL system call in desktop MS-Windows builds of __RUN()
      and HB_RUN() functions.
      It restores Clipper compatible __RUN() behavior and now both
      functions work in the same way on all platforms except WinCE/Mobile
      which does not have shell system.
2013-01-31 23:26:33 +00:00
Przemyslaw Czerpak
9a5b5ec3a4 2013-01-31 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemEqual()

  * harbour/src/vm/hashes.c
    % use hb_itemEqual()

  * harbour/src/vm/classes.c
    ! updated some code to work with class and instance variables
      declared with SYNC attribute
    ! fixed __clsGetProperties() with .T. in 2-nd parameter to not
      return PERSISTENT variables twice
    * added new PRG functions:
         __objGetIVars( <oObject>, [<nScope>], [<lChanged>] )
               -> <aIVars> { { <cName>, <xVal> }, ... }

         __objSetIVars( <oObject> | <hClass> | <cClassName> | <sClassFunc>,
                        <aIVars> ) -> <oObject>

  * harbour/src/rtl/cdpapi.c
    ! fixed upper and lower strings validation encoded in UTF8.
      If both string contained errors at the same place then
      it was silently ignored.
    + added stderr message about wrong CPs when compiled with
      __HB_IGNORE_CP_ERRORS macro

  * harbour/src/codepage/cpua866.c
    ! fixed UA866 definition. CP866 does not contain cyrillic version
      of "I" and "i" letters and also "Ґ" and "ґ" so Ukrainian letters
      defined in l_ua.c cannot be used.
2013-01-31 18:49:16 +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
d1da687890 2013-01-28 20:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbhpdf/harupdf.ch
    + sync instruction comment for developers

  * contrib/xhb/xhberr.prg
    ! replaced very shoddy commented code dealing with memvars
      with clean code (though using internal calls)
    ! fixed screen dump for unicode/non-unicode

  * include/fileio.ch
    * replaced C-specific code in a Harbour header with
      non-future-proof but cross-compatible code. untested.

  * src/3rd/zlib/Makefile
    ! potential but untested fix for msvcarm targets
2013-01-28 19:21:37 +00:00
Przemyslaw Czerpak
eb438ad976 2013-01-28 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    + added new PRG function:
         __clsGetAncestors( <nClass> ) -> { <nSupper1>, <nSupper2>, ... }
    * generate RTE if someone tries to register scalar class with instance
      variables.
    * updated some comments

  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemGetLX()
      It's similar to hb_itemGetL() but returns HB_TRUE for
      some non logical items to mimic Cl*pper behavior.

  * harbour/src/rdd/workarea.c
  * harbour/src/rdd/dbf1.c
    ! use hb_itemGetLX() instead of hb_itemGetL() in DBEVAL(),
      COPY TO ..., APPEND FROM ..., SORT TO ... functions and
      commands - Cl*pper compatible behavior.

  * harbour/src/rdd/dbfntx/dbfntx1.c
    * minor indenting

  * harbour/include/fileio.ch
    + added HB_FA_ANY macro value - it's attribute mask for hb_fsFindFirst()
      which includes all directory entries regardless of their attributes.

  * harbour/contrib/hbct/files.c
    ! fixed FILEATTR() to accept by default directories, hidden and system
      files when called with file name in first parameter - it's standard
      CT3 behavior.
    ! limit attributes in mask used by FILE*() functions to standard DOS
      ones - without it existing code is not portable to * nixes.
2013-01-28 16:44:47 +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
Przemyslaw Czerpak
1cc8e1e88c 2013-01-10 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new internal C function:
         void hb_objCloneTo( PHB_ITEM pDest, PHB_ITEM pSource,
                             PHB_NESTED_CLONED pClonedList );
      it copies object or clone it if class overloaded clone operation.
    ; TODO: add support for user defined class clone operation

  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    * changed returned type of hb_itemCloneTo() to void

  * harbour/src/vm/itemapi.c
    * use hb_objCloneTo() in hb_itemClone*() functions.

  * harbour/src/vm/arrays.c
    * use hb_objCloneTo() in array/hash clone code.

  * harbour/src/vm/arrayshb.c
    ! fixed return values in AEVAL() and ACOPY() when array
      is passed by reference.

  * harbour/src/rtl/tclass.prg
  * harbour/src/vm/classes.c
    * declare :SUPER and :__SUPER messages as non virtual ones.
      Now ::SUPER and ::__SUPER messages executed in object method
      returns casting to 1-st super object of the class in which
      executed method was defined.

  * harbour/include/hbclass.ch
    * removed xtranslations for SUPER(): - this workaround for
      missing non virtual messages in some Clipper OOP implementations
      was breaking valid code which tried to use real :SUPER message
      and made SUPER reserved word, i.e. it was not possible to create
      code like:
         LOCAL super := ::parent2
         ? super:v1, super:v2
      Now this hack is not longer necessary and :SUPER is non virtual
      massage in Harbour.
      INCOMPATIBLE: If someone has some code like:
         SUPER():MSG()
         SUPER( PARENT ):MSG()
      then please change it to:
         ::SUPER:MSG()
         ::PARENT:MSG()

  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbmysql/tsqlbrw.prg
    ! fixed to use ::super() instead of super()

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
    + added GOCOLD() method - this method is necessary for WAs
      passed to HB_DBDETACH()

  * harbour/doc/xhb-diff.txt
    * small update

  * harbour/contrib/*/*.hbx
    * regenerated
2013-01-10 22:27:11 +00:00
Viktor Szakats
6b822b4900 2012-12-19 07:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/core.c
  * doc/en/garbage.txt
  * include/hbapi.h
  * include/hbapicdp.h
  * include/hbapierr.h
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbexprop.h
  * include/hbhash.h
  * include/hbmacro.h
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/common/hbhash.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/harbour.yyh
  * src/compiler/hbcmplib.c
  * src/compiler/hbcomp.c
  * src/compiler/hbdead.c
  * src/compiler/hbfix.c
  * src/compiler/hbgenerr.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/compiler/hbstripl.c
  * src/compiler/ppcomp.c
  * src/macro/macro.y
  * src/macro/macro.yyc
  * src/macro/macro.yyh
  * src/macro/macrolex.c
  * src/rdd/hsx/hsx.c
  * src/rdd/workarea.c
  * src/rtl/errapi.c
  * src/vm/garbage.c
  * src/vm/hashes.c
  * src/vm/hvm.c
  * src/vm/macro.c
    * HB_*_PTR pointer types renamed to HBP_*
    * left HB_MACRO_PTR, HB_ERROR_INFO_PTR, HB_HASH_TABLE_PTR,
      HB_GARBAGE_FUNC_PTR for compatibility, but they are deprecated.
    ; Now all Harbour specific pointers types have 'PHB_' prefix
2012-12-19 06:19:13 +00:00
Viktor Szakats
1ac1121aa7 2012-12-17 19:04 UTC+0100 Viktor Szakats (harbour syenar.net)
- doc/en/hb_api.txt
  - doc/en/hb_apier.txt
  - doc/en/hb_apifs.txt
  - doc/en/hb_apigt.txt
  - doc/en/hb_apiit.txt
  - doc/en/hb_apiln.txt
  - doc/en/hb_apird.txt
  - doc/en/hb_compa.txt
  - doc/en/hb_date.txt
  - doc/en/hb_macro.txt
  - doc/en/hb_vm.txt
  * doc/en/hb_set.txt
    - deleted 0.5MB worth of collection of very outdated 1:1 copies 
      of C declarations and their comments from .h headers, as they
      were 12 years ago.

  * include/hbapi.h
  * include/hbvmpub.h
  * src/vm/codebloc.c
    * HB_CODEBLOCK_PTR type renamed to PHB_CODEBLOCK. Old type
      remains for a while for compatibility.
    ; TODO: Remaining list of similar ones:
            public:
            HB_MACRO_PTR         PHB_MACRO
            HB_ERROR_HANDLER_PTR PHB_ERROR_HANDLER
            HB_ERROR_INFO_PTR    PHB_ERROR_INFO
            HB_HASH_ITEM_PTR     PHB_HASH_ITEM
            HB_HASH_TABLE_PTR    PHB_HASH_TABLE
            internal:
            HB_VOID_PTR          PHB_VOID
            HB_CBVAR_PTR         PHB_CBVAR
            HB_EXPR_PTR          PHB_EXPR
            HB_ENUMERATOR_PTR    PHB_ENUMERATOR
            HB_ELSEIF_PTR        PHB_ELSEIF
            HB_LOOPEXIT_PTR      PHB_LOOPEXIT
            HB_SWITCHCASE_PTR    PHB_SWITCHCASE
            HB_SWITCHCMD_PTR     PHB_SWITCHCMD
            HB_RTVAR_PTR         PHB_RTVAR
            HB_COMMON_PTR        PHB_COMMON
            HB_PCODE_INFO_PTR    PHB_PCODE_INFO
            HB_COMP_PTR          PHB_COMP
2012-12-17 18:11:10 +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
4961e3696b 2012-12-16 06:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexprb.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/genhrb.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/hbdbginf.c
  * src/compiler/hbdead.c
  * src/compiler/hbfix.c
  * src/compiler/hbgenerr.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/compiler/hbstripl.c
  * src/vm/memvars.c
    * renamed most remaining non-prefixed Harbour types
      See: 2012-12-16 00:17 UTC+0100
2012-12-16 05:31:26 +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
59eae7c33f 2012-12-16 00:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbcomp.h
  * include/hbcompdf.h
  * src/compiler/genc.c
  * src/compiler/genhrb.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/hbmain.c
    * few more type renames to have std Harbour prefix
2012-12-15 23:36:31 +00:00
Viktor Szakats
141a0269ed 2012-12-16 00:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbcomp.h
  * include/hbcompdf.h
  * src/compiler/genc.c
  * src/compiler/hbmain.c
  * src/compiler/ppcomp.c
    * renamed a non-prefixed Harbour type due to collision
      with bcc64 (as per xhb commit)
    ; TODO: Here is portion from my TODO backlog with a list of
            other remaining non-prefixed types to fix:
            FS_*                -> HB_FS_*
            FC_*                -> HB_FC_*
            FO_*                -> HB_FO_*
            FD_*                -> HB_FD_*
            F_ERROR             -> (-)
            VS_*                -> HB_VSCOMP_*
            VU_*                -> HB_VU_*
            VT_*                -> HB_VT_*
            FUN_*               -> HB_FUN_*
            *COMDECLARED        -> [P]HB_HDECLARED
            *COMCLASS           -> [P]HB_HCLASS
            *COMSYMBOL          -> [P]HB_HSYMBOL
            VAR, PVAR           -> [P]HB_HVAR
            _FUNC, PFUNCTION    -> [P]HB_HFUNC
            _FUNCALL, PFUNCALL  -> [P]HB_HFUNCALL
            _EXTERN, PEXTERN    -> [P]HB_HEXTERN
            AUTOOPEN, PAUTOOPEN -> [P]HB_HAUTOOPEN
            FUNCTIONS           -> HB_HFUNCTION_LIST
            INLINES             -> HB_HINLINE_LIST
            SYMBOLS             -> HB_HSYMBOL_LIST
2012-12-15 23:19:46 +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
55c95c34b4 2012-12-01 19:04 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    ! to prev
2012-12-01 18:05:19 +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
5bfad24ff1 2012-11-30 15:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
  + contrib/hbtest
  + contrib/hbtest/core.prg
  + contrib/hbtest/corec.c
  + contrib/hbtest/hbtest.ch
  + contrib/hbtest/hbtest.hbc
  + contrib/hbtest/hbtest.hbp
  + contrib/hbtest/hbtest.hbx
  + contrib/hbtest/tests
  + contrib/hbtest/tests/hbmk.hbm
  + contrib/hbtest/tests/test.prg
    + added hbtest functionality as contrib

  - src/rtl/hbtestc.c
  * include/harbour.hbx
  * src/rtl/Makefile
    % deleted function not use in core
2012-11-30 14:11:29 +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
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
ddcaf47aae 2012-11-27 00:15 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/hbct/tests/test.prg
  * contrib/hbct/doc/en/*.txt
    + replaced $TESTS$ in docs with regression test script
    ; NOTE: there are some failures

  * src/rtl/Makefile
  * include/harbour.hbx
  + src/rtl/hbtestc.c
    + added an internal function (which I didn't used yet after some 
      experimentations)

  * src/rtl/hbtest.prg
    * minor cleanup
2012-11-26 23:22:39 +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
Viktor Szakats
979d2b6bb8 2012-11-25 17:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * contrib/xhb/xhberr.prg
    ! minor casing fix
2012-11-25 16:37:13 +00:00
Viktor Szakats
9536bad91a 2012-11-23 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbwinuni.h
    + new HB_WINAPI_KERNEL32_DLL() macro to get kernel32.dll
      regardless of UNICODE or non-UNICODE mode

  * contrib/hbwin/wapi_winbase.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
    % use HB_WINAPI_KERNEL32_DLL() macro
    ! fixed a non-UNICODE bug that slipped in previous commit

  * src/rtl/direct.c
    * made it format well using uncrustify

  * src/vm/asort.c
  * src/vm/memvars.c
    * cleanups
2012-11-23 14:28:51 +00:00
Viktor Szakats
89e8018140 2012-11-22 19:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbwinuni.h
    + added HB_WINAPI_FUNCTION_NAME() macro to form a WinAPI
      function name as a string (for dynamic calls)
      Thanks to Mindaugas for the idea.

  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_rpc.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
  * src/rtl/fslink.c
    % eliminated few UNICODE build-time branches by using
      new HB_WINAPI_FUNCTION_NAME() macro
2012-11-22 18:11:50 +00:00
Viktor Szakats
385cc9f0fb 2012-11-22 12:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbvmpub.h
  * src/vm/hvm.c
  * src/vm/macro.c
  * src/vm/memvars.c
    % deleted synonym type HB_DYNS_PTR (change it to PHB_DYNS)
      INCOMPATIBLE
2012-11-22 11:50:33 +00:00
Viktor Szakats
e686d70a00 2012-11-22 12:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbapifs.h
    % deleted type HB_FNAME_PTR (change it to PHB_FNAME)
      INCOMPATIBLE

  * include/hbapi.h
    % deleted internal type HB_EXTREF_PTR (synonym of PHB_EXTREF)
2012-11-22 11:42:00 +00:00
Viktor Szakats
3dfa652ae9 2012-11-22 11:27 UTC+0100 Viktor Szakats (harbour syenar.net)
+ src/codepage/cp_gbk.c
  + src/codepage/gbk.c
  * src/codepage/Makefile
  * include/hbcpage.hbx
    + added GBK CP.
      GBK is an extension of the GB2312 character set for simplified Chinese
      characters, used in the People's Republic of China. GBK encoding support
      for Simplified Chinese, while fully contained BIG5. Microsoft implemented
      GBK in Windows 95 and Windows NT 3.51 as Code Page 936.
      Thanks to Wang Dongming for the two new source files.
      Please review/test it.

  * src/rtl/langcomp.prg
    ! use GBK CP instead of BIG5 for legacy CP "ZHGB"

  * extras/httpsrv/session.prg
    * cleanup
2012-11-22 10:38:16 +00:00
Viktor Szakats
543eb4f760 2012-11-21 17:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/hsx/hsx.c
  * src/rtl/gtxwc/gtxwc.c
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
    * modified macros to act like functions, whether
      mapped to noop or noop code. These code parts
      will now not confuse code formatters.
      The generated code is indentical (tested under 
      mingw, and to some extent on msvc and bcc)

  * include/hbtrace.h
    * minor
2012-11-21 17:05:30 +00:00
Viktor Szakats
edf37e7247 2012-11-21 15:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbtrace.h
    ! fixed empty HB_TRACE() definitions to be 'do {} while( 0 )'
      as suggested by Przemek.

  * contrib/hbsqlit3/core.c
  * contrib/hbwin/axcore.c
  * contrib/hbzebra/datamtrx.c
  * contrib/hbzebra/qrcode.c
  * contrib/rddads/ads1.c
  * contrib/rddads/adsfunc.c
    * deleted {} block where HB_TRACE() was the only
      call made from the the block. It's now unnecessary.

  * contrib/hbzebra/codabar.c
  * contrib/hbzebra/code11.c
  * contrib/hbzebra/code128.c
  * contrib/hbzebra/code39.c
  * contrib/hbzebra/code93.c
  * contrib/hbzebra/core.c
  * contrib/hbzebra/datamtrx.c
  * contrib/hbzebra/eanupc.c
  * contrib/hbzebra/itf.c
  * contrib/hbzebra/msi.c
  * contrib/hbzebra/pdf417.c
  * contrib/hbzebra/qrcode.c
    * deleted few more unnecessary {} from single statement
      blocks
2012-11-21 15:04:03 +00:00
Viktor Szakats
033d73d53c 2012-11-21 12:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    * made decision how to clean empty loop code
      (it's bar ';' char, indented in next line)

  * include/hbtrace.h
    * inactive HB_TRACE() macro will now translate to
      empty {} block, so there is no need to manually
      do that when used alone in an 'else' branch for example.
      Checkme.

  * contrib/hbwin/win_svc.c
    % deleted {} braces from around HB_TRACE() calls

  * utils/hbmk2/hbmk2.prg
    ! fixed hb_processOpen() results to be displayed at
      once to avoid cutting potential UTF-8 (or other multibyte)
      output from tools to be cut in the middle of character.

  * contrib/hbct/charone.c
  * contrib/hbct/charop.c
  * contrib/hbct/token1.c
  * contrib/hbct/token2.c
    * deleted {} ending comments

  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
    * deleted change tracking comments. 'blame' functionality
      and repo history should be enough
2012-11-21 11:41:03 +00:00
Viktor Szakats
fd4c468bcc 2012-11-20 18:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbexprb.c
    ! corrected indentation
2012-11-20 17:23:41 +00:00
Viktor Szakats
a07ef040e3 2012-11-20 17:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/tests/testsvc.prg
    + added some lines to test parameter passing

  * include/hbdefs.h
    * deprecated HB_TCHAR_*() macros with HB_LEGACY_LEVEL4
      Everyone pls move on to Str API calls and hbwinuni.h 
      macros.

  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbwmain.c
    * applied uncrustify fixes
2012-11-20 16:07:26 +00:00
Przemyslaw Czerpak
409c2acaa1 2012-11-20 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbdefs.h
  * harbour/src/common/hbwin.c
    + added new C function hb_wctomblen()

  * harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    + added new C functions hb_winmainArgVBuild() and hb_winmainArgVFree()
      These functions are available only in MS-Windows builds and they
      use GetCommandLine() and GetModuleFileName() to build argument list.
    * updated to operate on MS-Windows unicode buffers if possible.

  * harbour/src/vm/hvm.c
    * initialize MS-Windows application startup parameters in hb_vmInit()
    * free MS-Windows application startup parameters in hb_vmQuit()

  * harbour/include/hbwmain.c
    * do not build argument list HB_VM_STARTUP mode - leave this job to
      new functions

  * harbour/src/rtl/teditor.prg
  * harbour/src/rtl/memoedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling
      It also fixes key dropping in small typeahead buffers.

  * harbour/src/rtl/dbedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling

  * harbour/src/rtl/getsys.prg
  * harbour/src/rtl/tgetlist.prg
    ! fixed active loops (100% CPU usage)

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/achoice.prg
    % replaced Empty( NextKey() ) with NextKey() == 0

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/hbinet.c
    * uese hb_parni()/hb_retni() instead of hb_parnl()/hb_retnl() for int
      values

  * harbour/src/rtl/hbgtcore.c
    ! comment cleanup

  * harbour/contrib/hbwin/win_svc.c
    ! eliminated HB_TCHAR_* macros
2012-11-20 04:06:27 +00:00
Viktor Szakats
ab5ebeef3d 2012-11-17 13:52 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/hbct/doc/en/charonly.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * doc/en/hashes.txt
  * doc/en/misc.txt
    ! added missing '()' from the end of function names

  * include/harbour.hbx
    ! fixed casing of Dbf()

  * tests/fixcase.hb
    + added exceptions fixed manually last time

  * doc/en/rdddb.txt
  * doc/en/rddmisc.txt
  * tests/newrdd.prg
    * rerun fixcase.hb
2012-11-17 12:53:46 +00:00
Viktor Szakats
31135713b8 2012-11-16 16:06 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/tests/_dyndlgs.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/tests/_tbrowse.prg
  * contrib/gtwvg/tests/_utils.prg
  * contrib/gtwvg/tests/_wvtcls.prg
  * contrib/gtwvg/tests/_xbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbamf/issues.txt
  * contrib/hbamf/readme.txt
  * contrib/hbblink/hbblink.ch
  * contrib/hbct/ct.ch
  * contrib/hbct/ctcom.ch
  * contrib/hbct/ctrand.prg
  * contrib/hbct/cttime.prg
  * contrib/hbct/doc/en/addascii.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * contrib/hbct/doc/en/ctstr.txt
  * contrib/hbct/doc/en/dattime2.txt
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/doc/en/ftoc.txt
  * contrib/hbct/doc/en/misc1.txt
  * contrib/hbct/doc/en/trig.txt
  * contrib/hbct/fcopy.prg
  * contrib/hbct/getinfo.prg
  * contrib/hbct/getinput.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbct/keysave.prg
  * contrib/hbct/keysec.prg
  * contrib/hbct/keytime.prg
  * contrib/hbct/readme.txt
  * contrib/hbct/screen3.prg
  * contrib/hbct/scrmark.prg
  * contrib/hbct/showtime.prg
  * contrib/hbct/tempfile.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbfship/isdb.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgt/doc/en/hbgt.txt
  * contrib/hbgt/tests/test.prg
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hbhttpd/tests/carts.dbf
  * contrib/hbhttpd/tests/items.dbf
  * contrib/hbhttpd/tests/users.dbf
  * contrib/hbmisc/doc/en/dates2.txt
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmisc/udpds.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tmysql.prg
  * contrib/hbnetio/netiomt.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnf/adapter.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/default.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/ftmenuto.ch
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/linked.prg
  * contrib/hbnf/menuto.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/ontick.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/savesets.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbnf/video2.prg
  * contrib/hbnf/woy.prg
  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbpgsql/postgres.ch
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtpathy/tests/testtp.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv3.prg
  * contrib/hbwin/tests/olesrv4.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/win_tbmp.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/runshell.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/hbxpp/typefilx.prg
  * contrib/hbxpp/xppop.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/tests/datad.prg
  * contrib/rddsql/readme.txt
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/diskhb.prg
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hbcomprs.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhbver.prg
  * doc/cmpopt.txt
  * extras/gfspell/spell.ng
  * extras/gfspell/spell.prg
  * extras/gfspell/words.dbf
  * extras/gtwvw/docs/funclist.txt
  * extras/gtwvw/docs/whatsnew.txt
  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/gtwvw/wvt2wvw.ch
  * extras/guestbk/guestbk.prg
  * extras/hbdoc/tmplates.prg
  * extras/hbvpdf/core.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * extras/rddado/adordd.prg
  * include/set.ch
  * src/debug/debugger.prg
  * src/rdd/dbfuncs.prg
  * src/rdd/dbjoin.prg
  * src/rdd/dblist.prg
  * src/rdd/dbsort.prg
  * src/rdd/dbstrux.prg
  * src/rdd/dbstruxu.prg
  * src/rdd/dbtotal.prg
  * src/rdd/dbupdat.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/achoice.prg
  * src/rtl/adir.prg
  * src/rtl/alert.prg
  * src/rtl/altd.prg
  * src/rtl/browdb.prg
  * src/rtl/dbedit.prg
  * src/rtl/devoutp.prg
  * src/rtl/dircmd.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/input.prg
  * src/rtl/libname.prg
  * src/rtl/listbox.prg
  * src/rtl/memvarbl.prg
  * src/rtl/radiobhb.prg
  * src/rtl/readkey.prg
  * src/rtl/readvar.prg
  * src/rtl/setfunc.prg
  * src/rtl/setta.prg
  * src/rtl/tbrowse.prg
  * src/rtl/teditor.prg
  * src/rtl/text.prg
  * src/rtl/tget.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tobject.prg
  * src/rtl/typefile.prg
  * src/rtl/valtoexp.prg
  * src/rtl/wait.prg
  * src/vm/harbinit.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/adirtest.prg
  * tests/aliaslck.prg
  * tests/bldtest/bldtest.c
  * tests/clsnv.prg
  * tests/codebl.prg
  * tests/debugtst.prg
  * tests/devtest.prg
  * tests/disptest.prg
  * tests/gtcolors.prg
  * tests/gtkeys.prg
  * tests/gtwin.prg
  * tests/gtxfnt.prg
  * tests/inkeytst.prg
  * tests/linecont.prg
  * tests/mathtest.prg
  * tests/memvar.prg
  * tests/newrdd.prg
  * tests/output.prg
  * tests/readhrb.prg
  * tests/seconds.prg
  * tests/set_test.prg
  * tests/tb1.prg
  * tests/testdyn.prg
  * tests/testdyn1.prg
  * tests/testhrb.prg
  * tests/testhtml.prg
  * tests/testidle.prg
  * tests/testpre.prg
  * tests/testrdd2.prg
  * tests/testsha1.prg
  * tests/teststr.prg
  * tests/ticktime.prg
  * tests/transtst.prg
  * tests/tstcolor.prg
  * tests/tstdbi.prg
  * tests/tstmacro.prg
  * tests/uc16_gen.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exlog.prg
  * tests/utf8at.prg
  * tests/version.prg
  * tests/videotst.prg
  * tests/vidtest.prg
  * tests/wvtext.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * 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
    * run case fixer script on all non-C file
      except some certain files, which I routinely
      skip when formatting.
    * minor manual cleanups along the way
2012-11-16 15:23:20 +00:00
Przemyslaw Czerpak
710c40b8a7 2012-11-16 09:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    ! fixed to compile without UNICODE macro
    + added new C functions: hb_cmdargBaseProgName(), hb_cmdargPushArgs()
    * marked places which needs TCHAR conversions in MS-Windows builds

  * harbour/src/vm/hvm.c
    * use hb_cmdargPushArgs()

  * harbour/src/rtl/hbproces.c
    ! fixed to compile without UNICODE macro

  * harbour/src/rtl/gtxwc/gtxwc.c
    * modified code to set window title to always operate on UTF8 values
    * use hb_cmdargBaseProgName()

  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwgud.c
  * harbour/contrib/gtwvg/gtwvgd.c
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/extras/gtwvw/gtwvwd.c
    * use hb_cmdargBaseProgName()

  * harbour/contrib/hbodbc/odbc.c
    ! keep references to parent handles in sub-handles pointer structures
    ; please make real life tests if it works correctly
2012-11-16 08:39:35 +00:00
Viktor Szakats
fb3e0e9490 2012-11-14 04:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/achoice.prg
  * src/rtl/alert.prg
  * src/rtl/hbfilehi.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/hbini.prg
  * src/rtl/listbox.prg
  * src/rtl/memoedit.prg
  * src/rtl/memvarhb.prg
  * src/rtl/menuto.prg
  * src/rtl/objfunc.prg
  * src/rtl/profiler.prg
  * src/rtl/radiobtn.prg
  * src/rtl/tbrowse.prg
  * src/rtl/teditor.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tobject.prg
  * src/rtl/typefile.prg
    * use HB_DEFAULT() instead of 'IF ! HB_IS*()'

  * include/harbour.hbx
    ! fixed one casing being wrong

  * contrib/hbmisc/stringp.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * tests/debugtst.prg
    ! fixed above casing where it got wrongly formatted
2012-11-14 03:52:53 +00:00
Viktor Szakats
e8113d9075 2012-11-13 14:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
    * cleanups

  * include/hbzlib.ch
    ! missing 'also used in C code' comment
    * formatting
2012-11-13 13:28:58 +00:00
Przemyslaw Czerpak
06167bb04b 2012-11-12 16:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    ! fixed recently added error in macrocompiler mode
2012-11-12 15:35:50 +00:00
Przemyslaw Czerpak
767d9dfa1d 2012-11-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    * indenting

  * harbour/package/harbour.spec
    ! fixed ssl library detection

  * harbour/contrib/hbnetio/netiosrv.c
    ! fixed parameters numbers in NETIO_COMPRESS()

  * harbour/config/linux/libs.mk
  * harbour/config/bin.mk
    ! use pthread in linked library list if shared linking is enabled
    ! do not strip system libraries in shared mode - some systems
      (i.e. RH7.3) needs pthread to be given at link time to create
      correct MT programs and now harbour shared library is only in MT.
2012-11-12 14:15:42 +00:00
Przemyslaw Czerpak
079aa5c078 2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    + added compile time error for GETs with complex macros
2012-11-12 13:08:47 +00:00