Commit Graph

10 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
50f3d82d7d 2009-10-14 01:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/cmdcheck.c
    * minor formatting

  * harbour/src/compiler/complex.c
    % disabled lexer when -sm is used with -m switch.
      In Harbour compiler lexer is only simple translator between PP and
      grammar parser tokens so the overhead is rather small anyhow it
      eliminates executing some unnecessary code.
      If -sm switch is used then we need lexer to detect files included by
      statements like:
         DO <file> [WITH ... ]
         _procReq_( <file> )
         _procReq_( <file> + <ext> )
      -m switch disable including such files so we can fully eliminate
      lexer and preprocess PP tokens directly in a loop.
      Now the cost of -sm switch is reduced to the PP cost plus some
      minor static overhead.
2009-10-13 23:04:05 +00:00
Przemyslaw Czerpak
bc8ff36826 2009-10-14 00:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/complex.c
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    % disable grammar parser when -sm switch is used
2009-10-13 22:16:30 +00:00
Przemyslaw Czerpak
1007cfa311 2009-10-13 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    * do not set TAB after last dependencies list generated by -sm
      switch
2009-10-13 14:47:49 +00:00
Przemyslaw Czerpak
4522500293 2009-10-13 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcompdf.h
  * harbour/src/pp/ppcore.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/cmdcheck.c
  * harbour/src/compiler/ppcomp.c
  * harbour/src/compiler/hbusage.c
  * harbour/doc/man/harbour.1
    + added support for new compiler switch -sm which can be used to
      generate dependencies list.
    * modified HB_COMPILEBUF() function to return dependencies list
      instead of .HRB file body when -sm switch is used. Files in
      single module are separated by spaces and modules are separated
      by TABs (chr(9))
      To reduce overhead I suggest to use in programs like hbmk2
      together with -sm also -kj switch - it disables some time
      consuming optimizations in compiler code.
2009-10-13 13:17:15 +00:00
Francesco Saverio Giudice
0cc5bbb822 2009-10-13 00:21 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/src/rtl/hbini.prg
     * Changed hb_IniString() function name to hb_IniReadStr()
     + Added hb_IniWriteStr() that returns a string from an Ini hash
        hb_iniWriteStr( hIni, cCommentBegin, cCommentEnd, lAutoMain )
         -> cData | NIL
        ! Fixed a previous error in logic in case of hIni with missing MAIN section
  * harbour/include/hbextern.ch
     - Removed hb_IniString() declaration
     + Added hb_IniReadStr() and hb_IniWriteStr() external declarations
  * harbour/tests/parseini.prg
     + Added samples of hb_IniReadStr() and hb_IniWriteStr() functions
2009-10-12 22:22:37 +00:00
Francesco Saverio Giudice
d78216683c 2009-10-12 22:28 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/src/rtl/hbini.prg
    * Splitted hb_IniRdLow() internal function into two functions:
       hb_IniFileLow( cFileSpec ) -> cData
       hb_IniStringLow( hIni, cData, lKeyCaseSens, cSplitters, lAutoMain ) -> hIni
    + Added new hb_IniString() funtion
       hb_IniString( cData, lKeyCaseSens, cSplitters, lAutoMain ) -> hIni
       that reads directly from a string.
       So hb_IniRead() read from a file, hb_IniString() read from memory string.
2009-10-12 20:34:07 +00:00
Przemyslaw Czerpak
5dc55239ba 2009-10-12 00:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/debian/copyright
  * harbour/debian/rules
  * harbour/src/common/hbtrace.c
  * harbour/src/rdd/usrrdd/rdds/logrdd.prg
  * harbour/tests/cpinfo.prg
  * harbour/doc/gtapi.txt
  * harbour/doc/en-EN/string.txt
  * harbour/doc/en-EN/license.txt
  * harbour/doc/en-EN/compiler.txt
  * harbour/doc/en-EN/terminal.txt
  * harbour/doc/en-EN/dbstrux.txt
  * harbour/doc/en-EN/idle.txt
  * harbour/doc/en-EN/garbage.txt
  * harbour/doc/en-EN/browse.txt
  * harbour/doc/en-EN/lang.txt
  * harbour/doc/en-EN/misc.txt
  * harbour/doc/windll.txt
  * harbour/doc/whatsnew.txt
  * harbour/COPYING
    * finished some missed source/ -> src/ translations
2009-10-11 22:35:16 +00:00
Przemyslaw Czerpak
71536976d4 2009-10-11 20:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    ! fixed bad typo in last commit
2009-10-11 18:49:55 +00:00
Przemyslaw Czerpak
a33106ec02 2009-10-11 19:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
  * harbour/src/rtl/is.c
    * moved hb_charIs*() functions to cdpapi.c file for easier updating
      in the future
    % optimized memory allocation for new codepages

  * harbour/contrib/hbct/pos1.c
    * use hb_charIs*() functions instead of accessing HB_CODEPAGE
      structure members
2009-10-11 17:55:14 +00:00
Viktor Szakats
1b080a03f9 2009-10-09 16:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- source
  + src
  * src/Makefile
  * src/dynlib/mt/Makefile
  * src/dynlib/Makefile
  * INSTALL
  * Makefile
  * ChangeLog
  * harbour.spec
  * mpkg_tgz.sh
    * Renamed 'source' dir to 'src' to move closer to other FOSS 
      projects. It's also easier to type, plus it has the side 
      effect that some cmdlines will be shorter in the 
      build process.
2009-10-09 14:54:14 +00:00