Commit Graph

281 Commits

Author SHA1 Message Date
Alexander S.Kresin
24539cfa36 2001-04-26 22:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-04-26 18:14:52 +00:00
Martin Vogel
2222baa871 *** empty log message *** 2001-04-26 11:56:50 +00:00
Brian Hays
d6d95c9c5b 2001-04-26 01:15 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-26 08:12:48 +00:00
Alexander S.Kresin
99aa934ff6 2001-04-20 19:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-04-20 15:03:37 +00:00
Martin Vogel
b828880be3 *** empty log message *** 2001-04-20 14:37:45 +00:00
Martin Vogel
d0ebf10b16 *** empty log message *** 2001-04-20 14:35:41 +00:00
Martin Vogel
71dca700b4 *** empty log message *** 2001-04-20 08:55:10 +00:00
Brian Hays
ea6b49c5da 2001-04-19 01:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-19 08:25:16 +00:00
Martin Vogel
f0cf1b5502 ---------------------------------------------------------------------- 2001-04-18 20:35:43 +00:00
Martin Vogel
42b632707d *** empty log message *** 2001-04-18 13:57:58 +00:00
Martin Vogel
e7d9b9aff4 ---------------------------------------------------------------------- 2001-04-17 20:12:01 +00:00
Martin Vogel
816d0a9a50 ---------------------------------------------------------------------- 2001-04-17 16:48:48 +00:00
Martin Vogel
d6b722a525 ---------------------------------------------------------------------- 2001-04-17 16:00:52 +00:00
Brian Hays
e37935c8fe 2001-04-12 10:56 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-13 05:52:38 +00:00
David G. Holm
0e07837322 See ChangeLog entry 2001-04-12 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 18:56:30 +00:00
David G. Holm
5cc3068f99 See ChangeLog entry 2001-04-12 14:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-12 18:24:41 +00:00
Brian Hays
70519acca5 2001-04-09 12:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-09 19:27:12 +00:00
Ron Pinkas
a34ad40efb Minor corrections as per -W3 Warnings 2001-04-08 23:31:42 +00:00
Brian Hays
f4a6e32259 2001-04-04 01:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-04-04 08:19:24 +00:00
David G. Holm
4ac8e4362a See ChangeLog entry 2001-04-03 21:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-04-04 01:05:08 +00:00
Brian Hays
35bb9fbab3 2001-03-28 00:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-03-28 07:59:54 +00:00
Brian Hays
589d47cd81 2001-03-23 00:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-03-23 09:05:53 +00:00
Brian Hays
7a55c6d6c6 2001-03-23 00:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-03-23 08:52:20 +00:00
Brian Hays
fcb9fc42dc 2001-03-23 00:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-03-23 08:47:32 +00:00
Ron Pinkas
f85461b1c1 2001-03-22 13:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/runjava/runjava.c
     + Added support for Argument Errors

   * source/rtl/len.c
   * source/rtl/minmax.c
   * source/rtl/run.c
   * source/vm/arrayshb.c
   * source/vm/memvars.c
     * Corrected to always use hb_paramError() when calling hb_errRT_BASE*()
2001-03-22 21:06:53 +00:00
Brian Hays
a11bf4ae71 2001-02-17 15:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-03-17 23:46:03 +00:00
Alexander S.Kresin
0d51a788ed 2001-03-17 21:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-03-17 19:03:06 +00:00
David G. Holm
ff763a9ef8 Added CVS ID and public domain notice 2001-03-16 16:34:31 +00:00
David G. Holm
a19a8c4bab See ChangeLog entry 2001-03-15 17:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-03-15 22:00:45 +00:00
Ron Pinkas
0902fc885d 2001-03-13 03:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.txt
     * Updated status of newly added support.
2001-03-13 11:49:39 +00:00
Ron Pinkas
01eb30bfc5 2001-03-13 03:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
   * contrib/dot/rp_run.ch
      + Added support for initializers for PRVATE, PUBLIC, LOCAL, STATIC
      + Added support for Declared Parameters and PARAMETRS.
      + Added support for STATIC Procedures & Functions (will not be seen by modules called by DO <filename>.prg and vice-versa.
      + Added support for INIT and EXIT procedures.
2001-03-13 11:40:38 +00:00
Ron Pinkas
43769b0051 2001-03-07 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Corrcted typos oError -> oErr
2001-03-08 00:21:34 +00:00
Ron Pinkas
ee9f53f2c5 2001-03-04 16:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Completed management of Variable Scoping.
     * Modified rest of Error Handlers to check type of :Args (Harbour bug).

   * contrib/dot/test.prg
     + Added test of private value after function call
2001-03-05 00:53:42 +00:00
Ron Pinkas
83d21ef953 2001-03-02 22:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     ! Fixed handling of [Smart] Stringify of a period terminated macro.
2001-03-03 06:58:01 +00:00
Ron Pinkas
6398e0ec7f 2001-02-28 22:15 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Improved managment of variable scoping.

   /* Appears to work correctly when compiled with Clipper, but is incorrect under Harbour, because
      __MXRelease() is not releasing memvars as it should. */
2001-03-01 06:21:58 +00:00
Ron Pinkas
8b47c80e4c Minor corrections 2001-02-26 12:01:15 +00:00
Ron Pinkas
f7474e1cf6 2001-02-26 03:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     + Added support for UDFs, PRIVATEs, PUBLICs, LOCALs, and STATICs

   + contrib/dot/rp_run.ch
     * Command Header for PP Interpreter Mode.

   * contrib/dot/test.prg
     * Sample prg runable by PP.

   * contrib/dot/pp.txt
     * Updated documentation.
2001-02-26 11:42:39 +00:00
Ron Pinkas
fb32fd6f2f 2001-02-24 13:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Minor optimization.

   + contrib/dot/pp.txt
2001-02-25 21:25:10 +00:00
Ron Pinkas
3ceb194fed 2001-02-24 19:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     + Added CompileNestedBlocks() #ifdef __CLIPPER__, because Clipper's Macro Compiler can *not* compile nested blocks.

     /* Clipper macro compiler can't compile literal blocks which contain nested blocks. This is needed by #commands like:
        INDEX ON ... TO ...
        Now PP will pre-compile such nested blocks. This makes PP fully functional when compiled with Clipper too :-) */

   * harbour/source/rdd/dbfcdx1.c
     ! Moved few declarations above the HB_TRACE() lien, to fix compilation errors.
2001-02-25 03:59:52 +00:00
Ron Pinkas
41405ddc55 2001-02-23 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     + Added support for DO <>.prg

   * contrib/dot/rp_dot.ch
      + Added #command DO <>.prg (no support for WITH yet)
2001-02-23 16:32:35 +00:00
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
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
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
Brian Hays
470825af55 2001-02-16 23:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-02-17 07:26:49 +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
Brian Hays
706918a336 2000-01-22 18:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-01-23 01:58:40 +00:00
Ron Pinkas
99c5bb3d1f 2001-01-22 00:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
   * source/pp/ppcore.c
     ! Fixed processing of & with stringify.
2001-01-22 08:53:35 +00:00
Ron Pinkas
700d53687c 2001-01-09 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Fixed bug with #include and INCLUDE Env Var processing.
     % Removed some unused vars.
2001-01-09 18:00:40 +00:00
Ron Pinkas
003c498444 2001-01-08 12:35 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Added support for leading and traing WS before/after #.
     * Extra logic for [...] within # directives in ProcessFile()
     * Fixed logic of // and && terminating at EOF.
2001-01-08 20:41:32 +00:00