Commit Graph

2905 Commits

Author SHA1 Message Date
Viktor Szakats
bc745c3b75 2012-10-07 22:49 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbhttpd/readme.txt
  * doc/dirstruc.txt
  * doc/xhb-diff.txt
  * include/hbapi.h
  * INSTALL
  * NEWS
  * src/common/hbver.c
  * src/main/harbour.c
  * src/pp/hbpp.c
  * src/rtl/version.c
  * src/vm/cmdarg.c
    * Avoiding the word "SVN" (use 'source repository',
      'repository' or 'repo' for short)
    * Added new names that don't refer to SVN:
      C level:
      - hb_verRevision()           (was: hb_verSvnID())
      - hb_verChangeLogID()        (was: hb_verSvnChangeLogID())
      - hb_verChangeLogLastEntry() (was: hb_verSvnLastEntry())
      .prg level:
      - HB_VER_REVID built-in macro (was: HB_VER_SVNID)
    ; Old functions/macros will be deleted after next major
      revision, start using the new names until then.
2012-10-07 20:54:02 +00:00
Przemyslaw Czerpak
d4f903942a 2012-10-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbstripl.c
    % eliminate repeated HB_P_LINE pcodes bound by unconditional jump
      This optimization is not enabled when debug mode (-b) is used.

  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    + added new compile time error: "Duplicate case value"
2012-10-07 12:41:26 +00:00
Viktor Szakats
6176bff43f 2012-10-04 02:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/dattime3.txt
  * contrib/hbfbird/readme.txt
  * contrib/hbnf/color2n.c
  * contrib/hbziparc/doc/en/hbziparc.txt
  * doc/en/idle.txt
  * doc/gtapi.txt
  * doc/howtosvn.txt
  * extras/httpsrv/uhttpd.prg
  * src/lang/es.c
  * tests/flink.prg
    * reviewed platform specific parts a minor corrections made.

  * include/hbcompdf.h
    % deleted HB_LANG_OBJ32 enum
2012-10-04 00:13:27 +00:00
Viktor Szakats
86a0b18c71 2012-10-04 01:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/hbdoctst.prg
    + added __hbdoc_DirLastModified( <cDir> ) -> <tLastModified>
      function that returns last modification timestamp for a
      given NF doc root directory. It returns empty date if the 
      directory doesn't exist or is empty.
      It can be used to decide whether to update .hbd files f.e. 
      in an hbmk2 plugin that builds .hbd files automatically.
2012-10-03 23:07:48 +00:00
Przemyslaw Czerpak
2f2cd60a56 2012-10-03 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapifs.h
  * harbour/src/rtl/filesys.c
    + added two new C functions:
         HB_BOOL hb_fsGetCWD( char * pszBuffer, HB_SIZE nSize );
         HB_BOOL hb_fsSetCWD( const char * pszDirName );
    * synced some parameters names with declarations in header

  * harbour/src/rtl/hbfilehi.prg
  * harbour/src/rtl/philes.c
    * rewritten HB_CWD() function in C
    ! fixed to HB_CWD() work with UNC path in MS-Windows and other
      systems using drive letters
    + added support for setting new working directory (and drive)
      by HB_CWD( <cNewWD> )
2012-10-03 09:16:06 +00:00
Viktor Szakats
450a2e891e 2012-10-01 22:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/box.ch
  * include/button.ch
    + added Unicode compatible macros for drawing strings

  * contrib/hbmisc/hbedit.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbmisc/twirler.prg
  * contrib/hbmisc/hbmisc.hbx
    * formatted using hbformat and manually
    * DEFAULT() made STATIC. It was colliding with xhb
      after latest changes. INCOMPATIBLE. Use HB_DEFAULT()
      instead.
    ! DEFAULT() fixed using != on strings
2012-10-01 20:24:50 +00:00
Viktor Szakats
fca19513ca 2012-10-01 19:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpbox.prg
    + added HB_UTF8TOSTRBOX( <cUTF8String> ) -> <cStringEncodedIn_GT_BOXCP>
      It's needed because HB_UTF8TOSTR() will convert to main CP,
      but box drawing CP can be setup differently with HB_GTI_BOXCP,
      that function call will take that into account.

  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/pickday.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/vertmenu.prg
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/testbrw.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
    ! fixed drawing chars to display properly regardless of HB_GTI_BOXCP
      setting.
    ! some related minor fixes

  * tests/tb1.prg
    ! fixed to compile and build using Clipper after recent 
      UTF8 compatibility updates (not tested though)

  ; TOFIX: Pad*() function handle 3rd parameter as binary string,
           so it doesn't work properly in UTF8 mode.
2012-10-01 17:15:48 +00:00
Viktor Szakats
f16b5cf107 2012-09-30 12:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/savebuff.prg
    + added few helper functions to work on savescreen buffers
      __XSaveGetChar( <cSaveScreen>, <nPos> ) -> <cChar>
      __XSaveGetColor( <cSaveScreen>, <nPos> ) -> <nColor>
      __XSaveGetAttr( <cSaveScreen>, <nPos> ) -> <nAttr>

  * contrib/hbnf/datecnfg.prg
    % minor optimization
    ! fixed to not use != on string

  * contrib/hbnf/dispmsg.prg
    % deleted unnecessary header

  * contrib/hbnf/ftround.prg
    * formatting

  * contrib/hbnf/popadder.prg
    ! fixed parts that directly manipulated savescreen buffers
    ! use HB_SHADOW() instead of locally rolled solutions that
      manipulates savescreen buffers

  * contrib/hbnf/tests/aredit.prg
  * contrib/hbnf/tests/calendar.prg
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/d2e.prg
  * contrib/hbnf/tests/dispmsg.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbnf/tests/popadder.prg
    ! fixed missing headers
2012-09-30 10:17:43 +00:00
Viktor Szakats
cc825da61a 2012-09-30 00:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/button.ch
    * changed file mime-type to UTF8
    + added UTF8 equivalent of CP437 encoded CHR() calls
      in comments.
2012-09-29 22:42:26 +00:00
Viktor Szakats
daf086733d 2012-09-28 18:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/box.ch
  * src/rtl/browse.prg
  * src/rtl/radiogrp.prg
  * src/rtl/checkbox.prg
  * src/rtl/dbedit.prg
  * src/rtl/listbox.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tmenuitm.prg
    * changed file mime-type to UTF8
    + added UTF8 equivalent of CP437 encoded CHR() calls
      in comments.
    + use box.ch in radiogrp instead of locally defining 
      the same strings
2012-09-28 16:22:54 +00:00
Przemyslaw Czerpak
952115af23 2012-09-26 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
  * harbour/include/hbapicdp.h
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/vm/fm.c
  * harbour/src/rtl/hbgtcore.c
  * harbour/src/rtl/hbsockhb.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbwin/win_misc.c
    * pacified some warnings
2012-09-26 00:45:00 +00:00
Przemyslaw Czerpak
f5072c9fb9 2012-09-19 04:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/src/compiler/hbusage.c
  * harbour/src/compiler/harbour.yyc
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/ppcomp.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/cmdcheck.c
  * harbour/doc/cmpopt.txt
  * harbour/doc/xhb-diff.txt
    + added new harbour compiler switch:
         -kd => accept macros with declared symbols
      This switch allows to use declared symbols like LOCALs, STATICs
      and FIELDs in macros and macrocodeblocks (every evaluated).
    ; Please do not confuse different things. Above modification
      does not mean to that such variables are visible for macro
      compiler. It only allows to write code like:
         cbVar := {|| &cLocal + cPrivate }
      or:
         cbVar := {|| &cLocalPref.func&cPriv1( cPriv2 ) }
      or:
         ? &cLocalPref.func&cPriv1( cPriv2 )
      etc.
      If possible then for macrocodeblocks Harbour compiler tries to
      generate early eval code in which macros are expanded when codeblock
      is created. Otherwise macros are expanded each time codeblocks are
      evaluated.
      For more information look at harbour/doc/xhb-diff.txt section:
         MACROS WITH DECLARED SYMBOLS
2012-09-19 02:06:42 +00:00
Viktor Szakats
bf8305fe00 2012-09-14 09:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/global.mk
  * include/hbsetup.h
  * INSTALL
  * utils/hbmk2/hbmk2.prg
    + added bits (docs, version autodetect, etc) for MS Visual Studio 2012
2012-09-14 07:55:58 +00:00
Przemyslaw Czerpak
62f1c44f96 2012-09-13 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbbffnc.c
  * harbour/include/harbour.hbx
    + added new functions for BlowFish encryption using CFB (cipher feedback)
      mode instead of ECB (electronic codebook) mode with ANSI X.923 padding:
         hb_blowfishEncrypt_CFB( <cBfKey>, <cText> [, <cInitSeed> ] )
                  -> <cCipher> | NIL
            return string encrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters)
         hb_blowfishDecrypt_CFB( <cBfKey>, <cCipher> [, <cInitSeed> ] )
                  -> <cText> | NIL
            return string decrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters),

  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbmd5enc.c
  * harbour/include/harbour.hbx
    + added new functions for MD5 encryption/decryption
      using CFB (cipher feedback) mode:
         hb_MD5Encrypt( <cText>, <cPasswd> ) -> <cCipher>
         hb_MD5Decrypt( <cCipher>, <cPasswd> ] ) -> <cText>
2012-09-13 14:02:52 +00:00
Przemyslaw Czerpak
64e33bd884 2012-09-13 10:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbpcode.h
    ! force PCODEs enumeration from zero - some compilers may
      use different value what can cause problems with casting to bytes

  * harbour/contrib/xhb/regexrpl.prg
    ! fixed hb_regexReplace() - hack for older HB_REGEXALL() code
      could cause RTE
2012-09-13 08:06:40 +00:00
Przemyslaw Czerpak
c03dbf4af9 2012-09-12 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbmacro.h
  * harbour/src/vm/macro.c
    % added static function hb_macroClear() and cleand hb_macroDelete() code
    - removed not longer necessary HB_MACRO_DEALLOCATE macro

  * harbour/src/rdd/hsx/hsx.c
    * use hb_vmDestroyBlockOrMacro()

  * harbour/src/vm/hvm.c
    * allow to execute hb_vmThreadState() by threads without HVM stack

  * harbour/src/3rd/zlib/gzlib.c
  * harbour/src/3rd/zlib/zlib.dif
    * updated for Digital Mars builds builds

  * harbour/src/rtl/gtwvt/gtwvt.c
    * pacified warning
2012-09-12 09:51:24 +00:00
Przemyslaw Czerpak
745aa1eac2 2012-09-03 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/chruni.c
  * harbour/include/harbour.hbx
    + added new functions to operate on unicode and binary strings.
      They work like hb_At() but are CP independent.
         hb_UAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
         hb_BAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
2012-09-03 09:57:48 +00:00
Przemyslaw Czerpak
6fb4bbcdde 2012-08-30 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbinit.h
    * added HB_INIT_SYMBOLS_COUNT macro
2012-08-30 13:31:05 +00:00
Przemyslaw Czerpak
99273ec1f6 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added yet another protection against buffer overflow
    % eliminated redundant code

  * harbour/include/hbvmpub.h
  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/genc.c
    + added new warning message:
         STATIC Function '????' defined but never used
      It's enabled by -w2 and higher.
      The idea was inspired by recent modification in xHarbour but
      implementation is completely different. BTW I cannot even make
      this warning working in xHarbour.

  * harbour/src/rtl/cdpdet.prg
    ! disabled static functions which are unused in different builds

  * harbour/src/debug/debugger.prg
    ! removed unused function StripUntil()

  * harbour/utils/hbmk2/hbmk2.prg
    ! compile hbmk_COMP_Setup() and FindInSamePath() static functions
      only for platforms were they are used
    ! commented out unused static functions: ArrayJoinNoClone(),
      AAddNewAtTop(), DepTreeToList()
    ! commented out unused static functions:
         rtlnk_libtrans(), rtlnk_filetrans()
      Looks that this functionality is not longer supported.
      TOFIX: re-enable it or remove this code and document that automatic
             translation for libraries and files defined in Clipper .lank
             files is not longer supported~.

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbide/hbqreportsmanager.prg
  * harbour/contrib/hbide/actions.prg
  * harbour/contrib/hbide/console.prg
  * harbour/contrib/hbide/themes.prg
  * harbour/contrib/hbide/editor.prg
  * harbour/contrib/hbxbp/browse.prg
  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbsms/sms.prg
  * harbour/contrib/xhb/hterrsys.prg
    ! commented out unused static functions - please review the code

  ; Warning: I tested only Linux builds. Please check other builds and
             disable unused static functions in the rest of code.
2012-08-27 20:00:45 +00:00
Przemyslaw Czerpak
ded42b8090 2012-08-24 15:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbdefs.h
    ! typo defien -> define
2012-08-24 13:05:01 +00:00
Przemyslaw Czerpak
1af506b1d4 2012-08-24 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new C function:
         PHB_ITEM hb_objGetVarPtr( PHB_ITEM pObject, PHB_DYNS pVarMsg );
      it returns pointer to object instance variable

  * harbour/src/rtl/tclass.prg
    * cleand parameter name

  * harbour/contrib/hbmisc/spd.c
    * removed unnecessary comment for older version which didn't use
      hb_snprintf()
    * formatting

  * harbour/contrib/hbmxml/3rd/minixml/config.h
    % use hb_snprintf() and hb_vsnprintf() instead of local emulation
      based on CRTL sprintf()

  * harbour/include/hbdefs.h
    + added HB_PF64 definition - it's printf format for HB_[UI]64 type

  * harbour/src/3rd/tiff/print.c
  * harbour/src/3rd/tiff/tiffconf.h
    ! use HB_PF64 instead of PFLL

  * harbour/src/3rd/tiff/tiffconf.h
    + added TIFF_FILE_HANDLE definition

  * harbour/src/3rd/tiff/tiffio.h
    ! use TIFF_FILE_HANDLE

  * harbour/src/3rd/tiff/dirread.c
    ! fixed typo in TIFF_UINT32_MAX definition

  * harbour/src/3rd/tiff/Makefile
    ! enabled fcntl.h in *unix builds

  * harbour/src/3rd/tiff/tiff.dif
    * updated
2012-08-24 12:11:59 +00:00
Przemyslaw Czerpak
3e5d6da1bd 2012-08-20 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbgtinfo.ch
    + added new hb_gtInfo() action: HB_GTI_UNITRANS
      It allows to set translation table for UNICODE characters

  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/src/rtl/gtwvt/gtwvt.h
    + added support for HB_GTI_UNITRANS - due to limited support
      for unicode vlaues in MS-Windows raster fonts it's necessary
      for some custom fonts.

  * harbour/src/rtl/tpersist.prg
    + implemented 2-nd parameter <lIgnoreErrors> in ::LoadFromFile()
      and ::LoadFromText() methods

  * harbour/src/rtl/cdpapi.c
    * indenting
2012-08-20 09:17:42 +00:00
Przemyslaw Czerpak
3ac75bd18e 2012-08-14 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/valtype.c
    * modified HB_ISEVALITEM() to use HB_IS_EVALITEM() macro

  * harbour/src/pp/ppcore.c
    ! fixed typo in .ppt file handle - many thanks to Teo Fonrouge
      for the information about the problem.

  * harbour/include/hbthread.h
  * harbour/src/vm/thread.c
    + added new C function:
         HB_THREAD_NO hb_threadNO( void )
      it returns unique thread number

  * harbour/src/vm/classes.c
    * cleaned static function names

  * harbour/src/rdd/dbffpt/dbffpt1.c
    * use RDDINFO() method instead of direct access to RDD TSD data

  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
    * changed initialization method - now RDD TSD data is initialized
      by each thread which access it. It resolves the problem with
      memo type in NSX and NTX RDDs - it was SMT/DBT in main thread
      but in child threads default FPT driver was used.

  * harbour/tests/speedtst.prg
    ! fixed xHarbour compilation - it was broken by HB_EOL()
2012-08-14 10:44:42 +00:00
Viktor Szakats
cd70ebcecb 2012-07-24 15:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/be.c
  * src/lang/bg.c
  * src/lang/ca.c
  * src/lang/cs.c
  * src/lang/de.c
  * src/lang/el.c
  * src/lang/en_tpl.c
  * src/lang/eo.c
  * src/lang/es.c
  * src/lang/eu.c
  * src/lang/fr.c
  * src/lang/gl.c
  * src/lang/he.c
  * src/lang/hr.c
  * src/lang/hu.c
  * src/lang/id.c
  * src/lang/is.c
  * src/lang/it.c
  * src/lang/ko.c
  * src/lang/lt.c
  * src/lang/nl.c
  * src/lang/pl.c
  * src/lang/pt.c
  * src/lang/ro.c
  * src/lang/ru.c
  * src/lang/sk.c
  * src/lang/sl.c
  * src/lang/sr_cyr.c
  * src/lang/sr_lat.c
  * src/lang/sv.c
  * src/lang/tr.c
  * src/lang/uk.c
  * src/lang/zh_sim.c
  * src/lang/zh_tra.c
  * src/rtl/langcomp.prg
  * src/rtl/langlgcy.prg
    * renamed UTF8 language modules internally. The new
      names are the two letter ISO language code in
      lowercase. With postfixes where required. For
      dialects and variants, it's now possible to use
      "LLDD", "LLDD_VVV" or "LL_VVV" formats, too.
      See the current list in
         doc/en/lang.txt
    ! Ukrainian had an "UE" prefix before, now it got
      corrected to "UK", which is it's official ISO code.
    + HB_LANGSELECT() now accepts second parameter: <cCodepage>
      to specify the CP into which the translations should
      be converted. This parameter works for legacy lang module
      IDs, too. The default is hb_cdpSelect() (or legacy CP
      for legacy language module IDs).
    + extended the way compatibility is preserved. The
      problem is with legacy language modules with a two
      character ID only (ie. without CP specification),
      this is the list:
         CA, DE, EL, EO, ES, EU, FR, GL, IT, PT, RO, SV
      If these language IDs are passed in UPPERCASE as above,
      they will be handled in compatibility mode and legacy
      default CP selected.
      Compatibility code is marked with HB_LEGACY_LEVEL5, which
      means it will stay in next two stable releases.
      To depart from compatibility (recommended), use the new
      lowercase flavor: hb_langSelect( "pl" ), hb_langSelect( "pt" ),
      hb_langSelect( "sr_cyr" ), or use standard language
      IDs: hb_langSelect( "hu-HU" )
      Or simply use this code:
      ---
         #include "hbextlng.ch"
         hb_langSelect( hb_UserLang() [, <CP> ] ) /* if <CP> is not specified, hb_cdpSelect() will be used */
      ---
2012-07-24 13:06:39 +00:00
Viktor Szakats
8d5a0a13d1 2012-07-24 01:43 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/lang/msgzhsim.c
  - src/lang/msgko.c
  - src/lang/msgzhgb.c
  * include/hblang.hbx
  * src/lang/msgzhutf.c
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  * src/rtl/langlgcy.prg
    - deleted language module KO (Korean) using CP949, which
      CP is not supported by Harbour. INCOMPATIBLE.
    + readded Chinese Traditional language module, along with
      legacy language modul "ZHGB". Notice however that the
      CP it now uses is BIG5, not the otherwise unsupported
      by Harbour, CP936. INCOMPATIBLE.
    ; Migration of legacy language modules is now finished.
2012-07-23 23:46:52 +00:00
Viktor Szakats
1f05758f92 2012-07-23 22:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hblang.hbx
  * src/lang/Makefile
  + src/lang/msgsrlat.c
  * src/lang/msgsrutf.c
  * src/rtl/langcomp.prg
    + added Serbian (latin) language module
    ! fixed SR852 and SRISO legacy lang modules to use latin
      Serbian

    ; NOTE: I'd like to ask everyone to test language files
            after these changes. There may be typos,
            conversion errors or the original version I did
            the conversion from might not have been the best
            translation from the multiple ones available.
2012-07-23 20:05:12 +00:00
Viktor Szakats
2e3ef27707 2012-07-23 21:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hblang.hbx
  * src/rtl/Makefile
  * src/rtl/langcomp.prg
  + src/rtl/langlgcy.prg
    + added emulation for 'REQUEST HB_LANG_<id>' legacy code.
      protected with HB_LEGACY_LEVEL5, though until then
      probably some more shuffling will be needed to simplify
      usage (f.e. remapping UTF-8 language modules to 'LL'
      codes as opposed to 'LLUTF' codes used ATM)
    % only pull all codepages and base language modules required
      for dynamic language modules when user app REQUESTs and
      HB_LANG_<id>s.
    ; TOFIX: HB_LANGMESSAGE() often returns garbage when using 
             it from hbrun or other dynamic apps. Changing 
             hb_retc_const() to hb_retc() didn't seem to fix it.
    ; NOTE: All users are encouraged to use UTF-8 base language
            modules and request all CP components manually, then
            create their own dynamic language modules, f.e.:
            ---
            REQUEST HB_CODEPAGE_PT850
            REQUEST HB_CODEPAGE_UTF8
            REQUEST HB_LANG_PTUTF
            hb_langNew( "PT", "PT850", "PTUTF", "UTF8" )
            hb_langSelect( "PT" )
            ---

  * src/lang/msghuutf.c
    ! reconverted from a better legacy CP version, fixing
      some missing accented chars and translations
2012-07-23 19:49:22 +00:00
Viktor Szakats
0741eef44d 2012-07-23 15:16 UTC+0200 Viktor Szakats (harbour syenar.net)
+ src/codepage/cphe862.c
  + src/codepage/cphewin.c
  - src/lang/msghe862.c
  - src/lang/msghewin.c
  - src/lang/msgsr852.c
  - src/lang/msgsriso.c
  - src/lang/msguados.c
  * ChangeLog
  * include/hbcpage.hbx
  * include/hblang.hbx
  * src/codepage/Makefile
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    + added HE862 and HEWIN codepage modules. Only to for 
      CP conversion, so they do not feature a collation table 
      yet. Please add it.
    + using HE862 and HWIN to dynamically create Hebrew language 
      modules for legacy CPs from UTF-8 one.
    + mapped SR852 and SRISO lang modules to CPs, and deleted
      old modules
    + mapped USDOS lang module to CP and deleted old module
2012-07-23 13:22:23 +00:00
Viktor Szakats
27022db829 2012-07-23 13:42 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msghucwi.c
  * doc/en/lang.txt
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    - deleted support for HUCWI which used a long-time 
      dead CP. If you use it, it's probably time to switch
      to something more recent, or submit a patch for a 
      CWI CP in Harbour (or implement your translation 
      locally).
2012-07-23 11:46:00 +00:00
Viktor Szakats
a5a8f78864 2012-07-23 13:28 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msgzhb5.c
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
    % deleted ZHB5 language module, which is now converted 
      dynamically from UTF8 version
2012-07-23 11:29:41 +00:00
Viktor Szakats
d1427779b2 2012-07-23 13:14 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/msgbe866.c
  - src/lang/msgbewin.c
  - src/lang/msgbg866.c
  - src/lang/msgbgiso.c
  - src/lang/msgbgmik.c
  - src/lang/msgbgwin.c
  - src/lang/msgca.c
  - src/lang/msgcs852.c
  - src/lang/msgcsiso.c
  - src/lang/msgcskam.c
  - src/lang/msgcswin.c
  - src/lang/msgde.c
  - src/lang/msgdewin.c
  - src/lang/msgel.c
  - src/lang/msgelwin.c
  - src/lang/msgeo.c
  - src/lang/msges.c
  - src/lang/msgeswin.c
  - src/lang/msgeu.c
  - src/lang/msgfr.c
  - src/lang/msggl.c
  - src/lang/msghr646.c
  - src/lang/msghr852.c
  - src/lang/msghriso.c
  - src/lang/msghrwin.c
  - src/lang/msghu852.c
  - src/lang/msghuiso.c
  - src/lang/msghuwin.c
  - src/lang/msgid.c
  - src/lang/msgis850.c
  - src/lang/msgit.c
  - src/lang/msgltwin.c
  - src/lang/msgnl.c
  - src/lang/msgpl852.c
  - src/lang/msgpliso.c
  - src/lang/msgplmaz.c
  - src/lang/msgplwin.c
  - src/lang/msgpt.c
  - src/lang/msgptiso.c
  - src/lang/msgro.c
  - src/lang/msgru866.c
  - src/lang/msgrukoi.c
  - src/lang/msgruwin.c
  - src/lang/msgsk852.c
  - src/lang/msgskiso.c
  - src/lang/msgskkam.c
  - src/lang/msgskwin.c
  - src/lang/msgsl646.c
  - src/lang/msgsl852.c
  - src/lang/msgsliso.c
  - src/lang/msgslwin.c
  - src/lang/msgsrwin.c
  - src/lang/msgsv.c
  - src/lang/msgsvwin.c
  - src/lang/msgtr857.c
  - src/lang/msgtrwin.c
  - src/lang/msgua866.c
  - src/lang/msguakoi.c
  - src/lang/msguawin.c
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  * include/hblang.hbx
    - deletes legacy codepages now implemented in HB_LANGSELECT()
      compatibility layer dynamically
    + readded support for UEKOI8 and RUKOI8 CPs. Now this can
      be done cheaply
    ; Legacy languages left because of missing CPs:
        HE862, HEWIN, HUCWI, KO, SR852, SRISO, UADOS, ZHB5, ZHGB

  * include/harbour.hbx
    + added __HB_LANGSELECT() internal function (do not use it)

  * src/lang/msg_tpl.c
    + updated to UTF-8
2012-07-23 11:16:13 +00:00
Viktor Szakats
b17c638a7a 2012-07-23 11:35 UTC+0200 Viktor Szakats (vszakats syenar.net)
* include/hblang.hbx
    + added new UTF language modules
    ! synced UEKOI8 and RUKOI8 with lang module changes
2012-07-23 09:35:59 +00:00
Viktor Szakats
763a7432f7 2012-07-22 20:08 UTC+0200 Viktor Szakats (vszakats syenar.net)
* include/hbapigt.h
  * tests/db_brows.prg
    ! fixes to prev
2012-07-22 18:09:11 +00:00
Viktor Szakats
675cbcb5d6 2012-07-22 19:31 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbgt/doc/en/hbgt.txt
  * doc/en/gtslang.txt
  * extras/gfspell/spell.prg
  * tests/mousetst.prg
  * tests/testdbf.prg
  * tests/testrdd2.prg
  * contrib/hbmisc/numtxthu.prg
  * contrib/hbqt/tests/wvtqt.prg
  * contrib/hbxbp/tests/wvtqt.prg
  * include/hbapigt.h
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/tb1.prg
  * tests/testbrw.prg
  * tests/wcecon.prg
    ! fixing high 8-bit chars (using various methods)
      (finished)
    ; NOTE: Some sources have been converted to UTF-8,
      so from now on make sure to use an UTF-8 enabled
      editor and use only UTF-8 chars when typing
      non-ASCII (7-bit) characters.
2012-07-22 17:39:24 +00:00
Viktor Szakats
f6c08520e4 2012-07-21 18:31 UTC+0200 Viktor Szakats (vszakats syenar.net)
+ tests/stripeol.hb
    + added script to strip spaces at EOL

  * contrib/gtalleg/tests/test.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/tests/wvgxbp.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/hbamf/tests/tstendin.prg
  * contrib/hbbz2/tests/test.prg
  * contrib/hbcairo/tests/fancytxt.prg
  * contrib/hbcairo/tests/table.prg
  * contrib/hbct/ctrand.prg
  * contrib/hbct/doc/en/addascii.txt
  * contrib/hbct/doc/en/atadjust.txt
  * contrib/hbct/doc/en/count.txt
  * contrib/hbct/doc/en/ct.txt
  * contrib/hbct/doc/en/ctc.txt
  * contrib/hbct/doc/en/ctmath.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * contrib/hbct/doc/en/ctpad.txt
  * contrib/hbct/doc/en/ctstr.txt
  * contrib/hbct/doc/en/datetime.txt
  * contrib/hbct/doc/en/dattime2.txt
  * contrib/hbct/doc/en/exponent.txt
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/doc/en/ftoc.txt
  * contrib/hbct/doc/en/justify.txt
  * contrib/hbct/doc/en/keyset.txt
  * contrib/hbct/doc/en/misc1.txt
  * contrib/hbct/doc/en/num1.txt
  * contrib/hbct/doc/en/numat.txt
  * contrib/hbct/doc/en/numconv.txt
  * contrib/hbct/doc/en/pos1.txt
  * contrib/hbct/doc/en/pos2.txt
  * contrib/hbct/doc/en/posdiff.txt
  * contrib/hbct/doc/en/print.txt
  * contrib/hbct/doc/en/range.txt
  * contrib/hbct/doc/en/relation.txt
  * contrib/hbct/doc/en/remove.txt
  * contrib/hbct/doc/en/replace.txt
  * contrib/hbct/doc/en/screen1.txt
  * contrib/hbct/doc/en/strdiff.txt
  * contrib/hbct/doc/en/strswap.txt
  * contrib/hbct/doc/en/token1.txt
  * contrib/hbct/doc/en/token2.txt
  * contrib/hbct/doc/en/trig.txt
  * contrib/hbct/doc/en/video.txt
  * contrib/hbct/doc/en/wordtoch.txt
  * contrib/hbct/getinfo.prg
  * contrib/hbfimage/tests/fitest.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbide/idetags.prg
  * contrib/hblzf/tests/test2.prg
  * contrib/hbmisc/doc/en/ht_conv.txt
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmisc/fileread.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/doc/en/aading.txt
  * contrib/hbnf/doc/en/aavg.txt
  * contrib/hbnf/doc/en/acctadj.txt
  * contrib/hbnf/doc/en/acctmnth.txt
  * contrib/hbnf/doc/en/acctqtr.txt
  * contrib/hbnf/doc/en/acctweek.txt
  * contrib/hbnf/doc/en/acctyear.txt
  * contrib/hbnf/doc/en/adessort.txt
  * contrib/hbnf/doc/en/aemaxlen.txt
  * contrib/hbnf/doc/en/aeminlen.txt
  * contrib/hbnf/doc/en/amedian.txt
  * contrib/hbnf/doc/en/anomatch.txt
  * contrib/hbnf/doc/en/any2any.txt
  * contrib/hbnf/doc/en/aredit.txt
  * contrib/hbnf/doc/en/asum.txt
  * contrib/hbnf/doc/en/at2.txt
  * contrib/hbnf/doc/en/bitclr.txt
  * contrib/hbnf/doc/en/bitset.txt
  * contrib/hbnf/doc/en/blink.txt
  * contrib/hbnf/doc/en/byt2bit.txt
  * contrib/hbnf/doc/en/byt2hex.txt
  * contrib/hbnf/doc/en/byteand.txt
  * contrib/hbnf/doc/en/byteneg.txt
  * contrib/hbnf/doc/en/bytenot.txt
  * contrib/hbnf/doc/en/bytexor.txt
  * contrib/hbnf/doc/en/calendar.txt
  * contrib/hbnf/doc/en/chdir.txt
  * contrib/hbnf/doc/en/cntryset.txt
  * contrib/hbnf/doc/en/color2n.txt
  * contrib/hbnf/doc/en/d2e.txt
  * contrib/hbnf/doc/en/datecnfg.txt
  * contrib/hbnf/doc/en/dayofyr.txt
  * contrib/hbnf/doc/en/daytobow.txt
  * contrib/hbnf/doc/en/dfile.txt
  * contrib/hbnf/doc/en/diskfunc.txt
  * contrib/hbnf/doc/en/dispc.txt
  * contrib/hbnf/doc/en/dispmsg.txt
  * contrib/hbnf/doc/en/dosver.txt
  * contrib/hbnf/doc/en/e2d.txt
  * contrib/hbnf/doc/en/easter.txt
  * contrib/hbnf/doc/en/elapsed.txt
  * contrib/hbnf/doc/en/findith.txt
  * contrib/hbnf/doc/en/floptst.txt
  * contrib/hbnf/doc/en/ftattr.txt
  * contrib/hbnf/doc/en/ftidle.txt
  * contrib/hbnf/doc/en/ftisprn.txt
  * contrib/hbnf/doc/en/ftround.txt
  * contrib/hbnf/doc/en/fttext.txt
  * contrib/hbnf/doc/en/gcd.txt
  * contrib/hbnf/doc/en/getenvrn.txt
  * contrib/hbnf/doc/en/hex2dec.txt
  * contrib/hbnf/doc/en/iamidle.txt
  * contrib/hbnf/doc/en/isbit.txt
  * contrib/hbnf/doc/en/isbiton.txt
  * contrib/hbnf/doc/en/isshare.txt
  * contrib/hbnf/doc/en/kspeed.txt
  * contrib/hbnf/doc/en/linked.txt
  * contrib/hbnf/doc/en/madd.txt
  * contrib/hbnf/doc/en/menutonf.txt
  * contrib/hbnf/doc/en/metaph.txt
  * contrib/hbnf/doc/en/miltime.txt
  * contrib/hbnf/doc/en/month.txt
  * contrib/hbnf/doc/en/netpv.txt
  * contrib/hbnf/doc/en/nooccur.txt
  * contrib/hbnf/doc/en/ntow.txt
  * contrib/hbnf/doc/en/nwlstat.txt
  * contrib/hbnf/doc/en/nwsem.txt
  * contrib/hbnf/doc/en/nwuid.txt
  * contrib/hbnf/doc/en/ontick.txt
  * contrib/hbnf/doc/en/origin.txt
  * contrib/hbnf/doc/en/page.txt
  * contrib/hbnf/doc/en/pchr.txt
  * contrib/hbnf/doc/en/peek.txt
  * contrib/hbnf/doc/en/pending.txt
  * contrib/hbnf/doc/en/poke.txt
  * contrib/hbnf/doc/en/popadder.txt
  * contrib/hbnf/doc/en/proper.txt
  * contrib/hbnf/doc/en/prtesc.txt
  * contrib/hbnf/doc/en/putkey.txt
  * contrib/hbnf/doc/en/qtr.txt
  * contrib/hbnf/doc/en/rand1.txt
  * contrib/hbnf/doc/en/savearr.txt
  * contrib/hbnf/doc/en/scregion.txt
  * contrib/hbnf/doc/en/setdate.txt
  * contrib/hbnf/doc/en/setkeys.txt
  * contrib/hbnf/doc/en/setlastk.txt
  * contrib/hbnf/doc/en/settime.txt
  * contrib/hbnf/doc/en/sinkey.txt
  * contrib/hbnf/doc/en/sleep.txt
  * contrib/hbnf/doc/en/sqzn.txt
  * contrib/hbnf/doc/en/sysmem.txt
  * contrib/hbnf/doc/en/tbwhile.txt
  * contrib/hbnf/doc/en/tempfile.txt
  * contrib/hbnf/doc/en/vertmenu.txt
  * contrib/hbnf/doc/en/vidcur.txt
  * contrib/hbnf/doc/en/vidmode.txt
  * contrib/hbnf/doc/en/wda.txt
  * contrib/hbnf/doc/en/week.txt
  * contrib/hbnf/doc/en/workdays.txt
  * contrib/hbnf/doc/en/woy.txt
  * contrib/hbnf/doc/en/xbox.txt
  * contrib/hbnf/doc/en/year.txt
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/pending.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/workdays.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/hbqt/tests/browqt.prg
  * contrib/hbqt/tests/dbfbrowserclass.prg
  * contrib/hbqt/tests/testbrow.prg
  * contrib/hbsqlit3/tests/blob.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/sprintf.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbmt.prg
  * doc/cmpopt.txt
  * doc/en/dbstrux.txt
  * examples/hbapollo/array.prg
  * examples/hbvpdf/hbvpdf.prg
  * examples/hbvpdf/hbvpdft.prg
  * examples/hbxlsxml/xlsxml_s.prg
  * examples/hbxlsxml/xlsxml_y.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/modules/cookie.prg
  * examples/httpsrv/modules/info.prg
  * examples/httpsrv/modules/showcounter.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/httpsrv/modules/testajax.prg
  * examples/httpsrv/session.prg
  * examples/httpsrv/uhttpd.prg
  * include/hbclass.ch
  * include/hbtrace.ch
  * src/debug/dbgtinp.prg
  * src/debug/debugger.prg
  * src/debug/tbrwtext.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/valtoexp.prg
    * formatting, fixed indentation, cleanups, deleting system specific information,
      optimizing out platform dependent code, using hb_ntos()
2012-07-21 16:48:00 +00:00
Viktor Szakats
6382cdb0dd 2012-07-20 14:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/clipdefs.h
  * include/extend.api
  * include/hbapi.h
  * include/hbdefs.h
    * deprecated HB_LEGACY_TYPES_ON build-time option. Use native
      Harbour types instead. (deprecated using HB_LEGACY_LEVEL4)
    + added HB_PARAMNO Harbour type to denote parameter number.
    ; TOFIX: Use HB_PARAMNO instead of HB_BYTE, HB_USHORT, int, HB_ULONG

  * src/rtl/version.c
    * deprecated HB_BUILDDATE(). use HB_VERSION( HB_VERSION_BUILD_DATE_STR ) instead
    * deprecated HB_PCODEVER(). use HB_VERSION( HB_VERSION_PCODE_VER_STR ) instead
    ; both deprecated using HB_LEGACY_LEVEL4
2012-07-20 12:07:37 +00:00
Viktor Szakats
100eb2bd16 2012-07-20 07:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/filestat.c
    * uncrustified

  * contrib/gtalleg/gtalleg.c
  * contrib/hbct/atadjust.c
  * contrib/xhb/hbxml.c
  * include/hbexpra.c
  * src/rtl/gtxwc/gtxwc.c
    * minor formatting
2012-07-20 05:33:55 +00:00
Viktor Szakats
31adc89c13 2012-07-20 07:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/gfspell/spellc.c
    * uncrustified

  * contrib/xhb/hbxml.c
    * some formatting

  * contrib/hbct/atadjust.c
  * contrib/hbct/atnum.c
  * contrib/hbct/atrepl.c
  * contrib/hbct/charone.c
  * contrib/hbct/charonly.c
  * contrib/hbct/charop.c
  * contrib/hbct/charswap.c
  * contrib/hbct/count.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/justify.c
  * contrib/hbct/numat.c
  * contrib/hbct/pos1.c
  * contrib/hbct/token1.c
  * contrib/hbgd/gdwrp.c
  * contrib/rddads/adsx.c
  * examples/hbapollo/get.c
  * examples/hbapollo/put.c
  * include/hbdefs.h
  * include/hbstack.h
  * src/rdd/dbffpt/dbffpt1.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtstd/gtstd.c
    * minor formatting errors (whitespace)
2012-07-20 05:24:17 +00:00
Viktor Szakats
2991d747b0 2012-07-16 16:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbide/projectpropertiesex.ui
    ! HBMK2 -> hbmk2 to be consistent with everywhere else

  * contrib/hbqt/hbmk2_qt.hb
    ! fixed misleading RTE subsystem

  * include/hbver.ch
    + added HB_VERSION_MAX_ to denote the highest valid
      paramater. Please note that the valid values start
      at 0
2012-07-16 14:23:08 +00:00
Przemyslaw Czerpak
e97461df65 2012-06-20 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbclass.ch
    + added support for
         DESTRUCTOR FUNCTION <FuncName>[()]
      in class declaration. It allows to define as object
      destructors external functions, i.e. defined in C
2012-06-20 13:17:57 +00:00
Przemyslaw Czerpak
340fc44e05 2012-06-20 13:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/valtype.c
  * harbour/include/harbour.hbx
    + added new PRG function HB_ISEVALITEM()
      It returns true if item can be evaluated by EVAL() function,
      i.e. for codeblocks and function symbols.
      In the future it can be extended to accept objects with :EVAL()
      methods.
2012-06-20 11:02:39 +00:00
Przemyslaw Czerpak
faf0b92f31 2012-06-18 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/dbinfo.ch
  * harbour/src/rdd/dbf1.c
    + added new dbFieldInfo() actions:
         DBS_COUNTER - get/set autoincrement field counter
         DBS_STEP    - get/set autoincrement field step
    * reset autoincrement and row version fields in ZAP operation
2012-06-18 15:34:06 +00:00
Viktor Szakats
e244eedb87 2012-06-16 16:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/hbamfobj.prg
    * made it more friendly with grep when finding undocumented functions
      by removing #translate.

  * src/vm/hvm.c
    ! added HB_STACK_TLS_PRELOAD

  * include/harbour.hbx
    ! added __ITEMSETREF(), __VMITEMID()

  * src/rtl/valtoexp.prg
    * hb_setItemRef() -> __itemSetRef(). Please tell if it's meant to
      be a user-accessible, public core API

  * utils/hbmk2/hbmk2.prg
    ! fixed to ignore HB_INSTALL_PREFIX variable in runner mode.
      This points to invalid places while running as part of GNU
      Make and prevents autodetection.
      TODO: Recheck if it now works without embedded headers.
      TODO: Obsolete HB_INSTALL_PREFIX also in hbmk2 mode.
2012-06-16 14:53:27 +00:00
Przemyslaw Czerpak
5271369df1 2012-06-16 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
    ! fixed hb_arrayToParams() used in array index context
      ( var[ hb_arrayToParams() ] ) unintentionally disabled by
      2010-11-08 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

  * harbour/src/vm/hvm.c
    + added __vmItemId() function.

  * harbour/src/rtl/valtoexp.prg
    + added support for array, object and hash references to hb_valToExp().
      Now this function works correctly also for items with cyclic
      references.
2012-06-16 10:42:43 +00:00
Przemyslaw Czerpak
cda71d8c53 2012-06-14 00:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbset.h
  * harbour/src/vm/set.c
    % removed HB_SET_OSCODEPAGE
    % replaced HB_SET_DBCODEPAGE with hb_set_dbcp
    * generate RTE when wrong parameter type (not string or NIL) is
      passed to HB_SET_LANGUAGE, HB_SET_CODEPAGE, HB_SET_OSCODEPAGE,
      HB_SET_DBCODEPAGE

  * harbour/src/rtl/langapi.c
    * generate RTE 1303 when not existing lang module name is passed to
      hb_langSelectID() C function. It affects on all upper level
      code using this function. NULL is accepted as valid parameter.

  * harbour/src/rtl/cdpapi.c
    * generate RTE 1302 when not existing codepage name is passed to
      hb_cdpFindExt() C function. It affects on all upper level
      code using this function. NULL is accepted as valid parameter.
      If programmer does not want to generate RTE when wrong codepage
      name is passed then he should use hb_cdpFind() instead.

  * harbour/src/rtl/cdpapihb.c
    * use hb_cdpFindExt() instead if hb_cdpFind() in HB_CDPUNIID()
      function.

  * harbour/src/rtl/cdpapihb.c
  * harbour/contrib/hbexpat/internal.c
    ! use hb_parc() instead of hb_parcx() to get codepage name
      from optional parameter.

  * harbour/utils/hbmk2/Makefile
    ! fixed build process, now hbmk2 need HB_LIBS_MT_RDD

  * harbour/src/rtl/tpersist.prg
    % optimized decoding code which could be two slow with UTF8EX or
      similar CPs.
2012-06-13 22:55:29 +00:00
Przemyslaw Czerpak
8789944a3d 2012-06-11 17:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbct/misc1.c
    % optimized XTOC()

  * harbour/doc/xhb-diff.txt
    * added some additional description to the section
      OOP AND CLASS OBJECT/CLASS MESSAGES

  * harbour/doc/Makefile
    * added xhb-diff.txt

  * harbour/include/hbapi.h
  * harbour/src/vm/arrays.c
    + added new C function hb_arrayFromId()

  * harbour/contrib/hbqt/qtcore/hbqt_bind.cpp
    * use hb_arrayFromId() instead of local hb_arrayCreateClone()
      with hb_arrayPushBase() inside
    * do not use hbvmint.h
    ! fixed few bugs in this code. I haven't analyzed this code deeply
      and how it's used so I cannot say it's correct. I only fixed few
      completly wrong places which caused HVM stack corruption, internal
      GC item list corruption or were completly dummy calls.
2012-06-11 15:18:06 +00:00
Viktor Szakats
924db6f7ed 2012-06-11 15:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/vm/dynsym.c
    + added HB_ISFUNCTION( <cName> ) -> <lExists>
      uses Przemek's code from hbfship/ISFUNCTION() with minor
      adaptation for VM.
      Use it instead of __DYNSISFUN() and TYPE( <cName> ) == "UI".

  * include/harbour.hbx
    * formatted HB_IS*() functions used for type checking

  * contrib/hbfship/isfunc.c
    % converted ISFUNCTION() to wrapper for HB_ISFUNCTION()

  * contrib/hbide/ideplugins.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbxpp/xppop.prg
  * contrib/xhb/xhbcomp.prg
  * contrib/xhb/xhberr.prg
  * examples/hbdoc/hbdoc.prg
    % Using HB_ISFUNCTION() instead of __DYNSISFUN() and TYPE( <cName> ) == "UI"
2012-06-11 13:32:11 +00:00
Viktor Szakats
851b8d63d2 2012-06-10 17:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapi.h
    ! minor correction to compatibility macro definition
2012-06-10 15:20:32 +00:00
Viktor Szakats
256803e47a 2012-06-09 21:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpdet.prg
  + src/rtl/cdpdetc.c
    + moved terminal and OS detection logic from hbmk2 to RTL
      with changes necessary to fit into core. New functions are:
        hb_cdpOS() -> <cCP | NIL>
        hb_cdpTerm() -> <cCP | NIL>
      it means these functions can be used in any apps now.
      Example:
        hb_SetTermCP( hb_cdpTerm() )
        Set( _SET_OSCODEPAGE, hb_cdpOS() )

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/Makefile
  - utils/hbmk2/hbmk2c.c
  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
    * using hb_cdpOS() and hb_cdpTerm() to automatically
      configure OS and terminal CP
2012-06-09 19:20:20 +00:00
Viktor Szakats
c0fff41758 2012-06-08 01:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
  * contrib/hbgd/gdbar.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/tests/wvtqt.prg
  * contrib/hbsqlit3/tests/hdbctest.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/testax.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhbcls.ch
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbole.prg
  * contrib/xhb/xhbtedit.prg
  * doc/codebloc.txt
  * doc/en/command.txt
  * doc/en/objfunc.txt
  * include/hbpers.ch
  * include/std.ch
  * src/common/expropt1.c
  * src/compiler/hbmain.c
  * src/debug/dbghelp.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtobj.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/dbfntx/dbfntx0.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/browdb.prg
  * src/rtl/browse.prg
  * src/rtl/dirscan.prg
  * src/rtl/errsys.prg
  * src/rtl/hbini.prg
  * src/rtl/listbox.prg
  * src/rtl/tclass.prg
  * src/rtl/tlabel.prg
  * src/rtl/tobject.prg
  * src/rtl/treport.prg
  * utils/hbtest/rt_mt.prg
    * some formatting (almost only whitespace)

  * contrib/xhb/dirrec.prg
  * src/rtl/dirscan.prg
    ! use directry.ch constants

  * contrib/hbqt/tests/draggable.prg
    ! hbformat and manual formats/cleanups

  * src/vm/maindllp/dllext.c
    ! fixed typo in recent addition
2012-06-07 23:18:44 +00:00