Commit Graph

15428 Commits

Author SHA1 Message Date
Ron Pinkas
a73bcd3e07 2001-02-22 22:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     + Started support for interpreting prg files.
   * contrib/dot/rp_dot.ch
     + Added #command for stealing END

   /* PP can alreay "Run" simple prgs :-). It actually support most Clipper commands.
      It does *not* support LOCAL/STATIC/PRIVATE/PUBLIC, but any refference to a variable will create it as PRIVATE.
      It does not (yet) support creation of FUNCTIONs/PROCEDUREs but will execute any built-in, or linked, prodecure/function.
      It does not (yet) support WHILE and FOR loops.

      It can execute code like this:

      //------------------------------//
      CLS

      Alert( "Testinf PP as Interpreter... " )

      USE test
      IF ! File( "test" + IndexExt() )
   	INDEX on FIELD->First TO First
      ELSE
   	SET INDEX TO First
      ENDIF

      GO TOP

      cName := FIELD->First + FIELD->Last

      IF cName == FIELD->First + FIELD->Last
  	? "Ok"
      ELSE
  	? "Err"
      ENDIF

      DO CASE
         CASE cName == First // Not exact!
           ? "Err"

         CASE cName = First // But still equal
           ? "Ok"

         OTHERWISE
           ? "Err"
      ENDCASE

      REPLACE First WITH "From PP"

      ? FIELD->First
      //------------------------------//

      To have PP execute a PRG use: PP filename -R
    */
2001-02-23 06:40:04 +00:00
Ron Pinkas
da7de8dffd 2001-02-22 17:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     ! Fixed order of production in multi line result, where some of the resulting lines are re-processed
     + Added support for IF, ELSE, ELSEIF, ENDIF, DO CASE, CASE, OTHERWISE, ENDCASE
     ! Fixed cursor position in Dot prompt to simulate running program cursor position.

   * contrib/dot/rp_dot.ch
     ! Fixed literal coordinates to use MaxRow() and MaxCol()
     + Added #command CLS to only clean the work region.
     + Added #commands to "steal" handling of IF, ELSE, ELSEIF, ENDIF, DO CASE, CASE, OTHERWISE, ENDCASE
2001-02-23 01:17:19 +00:00
Alexander S.Kresin
c9422ce268 2001-02-22 15:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-22 12:53:30 +00:00
Ron Pinkas
f4be8f3f04 2001-02-22 01:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed NextName() to skip over .AND., .NOT. and .OR.

   * config/w32/mingw32.cf
     + Added rules to use script files for long command lines, but commented out because @scripts did not work.
2001-02-22 09:20:18 +00:00
Alexander S.Kresin
c209960967 2001-02-22 10:25 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-22 07:27:49 +00:00
Ron Pinkas
8a0b62fe33 2001-02-21 01:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Changed all extensions to lower case (.prg, .pp$, .cch ).
     * Changed Chr(13) + Chr(10) to CRLF which is #defined as HB_OsNewLine() if __HARBOUR__ is defined.
     * Changed literal size of buffer 16384 to PP_BUFFER_SIZE which is #defined as 16384

     /* Could Linux users please report results... */
2001-02-21 09:50:16 +00:00
Ron Pinkas
ca7ac83f5f 2001-02-20 22:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* utils/hbpp//hbpp.c
      - Removed unused variables and function warnned by djgpp
2001-02-21 06:24:44 +00:00
Ron Pinkas
56466ab338 2001-02-20 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* make_gnu.bat
     ! Fixed maker to make -r
     * Added %HARBOURDIR% and removed trailing slash from HB_BIN_INSTALL, HB_LIB_INSTALL and HB_INC_INSTALL

   * contrib/dot/pp.prg
     * Minor corrections to stringifys

   * utils/hbtest/hbtest.prg
     * Commented out RddSetDefault( "DBFCDX" )
2001-02-21 06:04:15 +00:00
Alexander S.Kresin
54370404ee 2001-02-20 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-20 10:09:48 +00:00
Horacio Dario Roldan Kasimatis
23bf514762 2001-02-20 01:50 GMT-3 Horacio Roldan <horacioroldan@usa.net <mailto:horacioroldan@usa.net>>
* harbour/source/vm/asort.c
* Fixed bug in optimization test that prevented sorting some arrays.
2001-02-20 05:00:32 +00:00
Alexander S.Kresin
91a897ba7e 2001-02-19 11:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-19 08:17:38 +00:00
Alexander S.Kresin
36ff7f3734 2001-02-19 10:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-19 07:17:25 +00:00
Luiz Rafael Culik
597a9e8296 *** empty log message *** 2001-02-17 18:11:54 +00:00
Brian Hays
470825af55 2001-02-16 23:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-17 07:26:49 +00:00
Alexander S.Kresin
cff90a3306 2001-02-16 11:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-16 08:27:07 +00:00
Brian Hays
ecf273fe9a 2001-02-15 11:10 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-15 19:06:20 +00:00
Alexander S.Kresin
6bbf46b9c9 2001-02-15 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-15 10:19:03 +00:00
Ron Pinkas
e77234a86c 2001-02-14 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed space removal within [] in strotrim() when not processing MP or RP.
2001-02-15 07:13:03 +00:00
Antonio Linares
c0cce72785 2001-02-14 12:45 GMT+1 2001-02-14 11:46:26 +00:00
Alexander S.Kresin
40695491c9 2001-02-14 12:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-14 09:40:53 +00:00
Ron Pinkas
ba9b0806fd 2001-02-13 17:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* harbour/source/rtl/idle.c
     * Changed Sleep(0) to Sleep(20) so that Harbour will properly release CPU on Win32.
2001-02-14 01:43:43 +00:00
Alexander S.Kresin
dc683727a2 2001-02-13 15:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-13 12:50:36 +00:00
Antonio Linares
f274ddd6bd 2001-02-13 12:21 GMT+1 2001-02-13 11:22:54 +00:00
Ignacio Ortiz de Zuniga
9d457277b7 2001-02-13 11:30 GMT+1 2001-02-13 10:32:42 +00:00
Alexander S.Kresin
ef11c1ee89 2001-02-13 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-13 10:19:25 +00:00
Antonio Linares
f15b6b6b2e 2001-02-12 21:58 GMT+1 2001-02-12 21:00:53 +00:00
Antonio Linares
794da23d79 2001-02-12 13:32 GMT+1 2001-02-12 12:34:12 +00:00
Antonio Linares
6ce1e4b6f5 2001-02-12 09:24 GMT+1 2001-02-12 08:29:39 +00:00
Alexander S.Kresin
a8b1b0d28e 2001-02-11 18:22 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-11 15:26:12 +00:00
Antonio Linares
05e85691bc 2001-02-10 08:43 GMT+1 2001-02-10 07:44:25 +00:00
Maurilio Longo
93ea3d7623 2001-02-09 23:46 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/tbrowse.prg
     ! fixed ::Moved() method which was calling ::Dehilite() even if TBrowse was already
     unstable causing wrong painting of current row
2001-02-09 22:48:35 +00:00
Ron Pinkas
024ccdf51b 2001-02-09 11:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
* harbour/source/debug/debugger.prg
     ! Fixesd ValType( &cColor ) to Type( cColor )
   * hb_slex.bc
     * Synched with makefile.bc
2001-02-09 19:29:17 +00:00
David G. Holm
ae2273c194 See ChangeLog entry 2001-02-08 12:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-09 17:18:27 +00:00
Antonio Linares
3f8ea5f78c 2001-02-09 17:01 GMT+1 2001-02-09 16:01:52 +00:00
Antonio Linares
e3fac9a883 2001-02-09 16:44 GMT+1 2001-02-09 15:45:41 +00:00
Maurilio Longo
3323e18156 2001-02-09 14:44 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/debug/tbrwtext.prg
     + fixed coloring
   * source/debug/debugger.prg
     * changed call to oBrwText:New() to pass a correct color string
2001-02-09 13:46:54 +00:00
Alexander S.Kresin
7d4e86ceba 2001-02-09 12:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-09 09:10:52 +00:00
Maurilio Longo
08077305f4 2001-02-09 09:15 GMT+1 Maurilio Longo <maurilio.longo@libero.it> 2001-02-09 08:14:14 +00:00
Antonio Linares
41c26d5515 2001-02-09 07:56 GMT+1 2001-02-09 06:57:01 +00:00
Alexander S.Kresin
c267d72a02 2001-02-09 09:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-09 06:04:10 +00:00
Antonio Linares
7331cee5ef 2001-02-09 05:33 GMT+1 2001-02-09 04:43:50 +00:00
Alexander S.Kresin
f2d00a1112 2001-02-08 20:57 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-08 18:00:03 +00:00
Ignacio Ortiz de Zuniga
3b2c5f2272 *** empty log message *** 2001-02-08 16:32:10 +00:00
Antonio Linares
31e5c0167e 2001-02-08 16:04 GMT+1 2001-02-08 15:06:01 +00:00
Maurilio Longo
0439e3a876 2001-02-08 14:55 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/debug/debugger.prg
     * changed OSShell() method to use COMSPEC environment variable
2001-02-08 13:58:52 +00:00
Antonio Linares
b66251ab47 2001-02-08 11:30 GMT+1 2001-02-08 10:31:11 +00:00
David G. Holm
1bb4adb6a4 See ChangeLog entry 2001-02-07 17:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-07 22:16:51 +00:00
Antonio Linares
6d6e40ddc7 2001-02-07 18:25 GMT+1 2001-02-07 17:28:01 +00:00
Antonio Linares
5d6c22cd35 2001-02-07 18:21 GMT+1 2001-02-07 17:25:43 +00:00
Alexander S.Kresin
498c481e34 2001-02-07 13:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-07 10:42:04 +00:00