Commit Graph

3356 Commits

Author SHA1 Message Date
Alexander S.Kresin
f2e7aa6ee4 2000-09-20 10:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-09-20 06:37:02 +00:00
Ron Pinkas
d645d71997 2000-09-19 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Corrected JFL previous change, which commented a fix that solved problem with code like "@&Row,...".
       This fix will address both the #xtranslate @@ => ... as well as the previous needed fix.
2000-09-20 01:06:35 +00:00
Jean-Francois Lefebvre
97f459c7d3 2000-09-20 00:52 UTC+0200 JFL (mafact) <jfl@mafact.com> 2000-09-19 22:57:06 +00:00
Ron Pinkas
40dd3e7683 2000-09-19 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* config/dos/djgpp.cf
     + Added support for $(L_USR)
2000-09-19 17:37:54 +00:00
Ron Pinkas
9f6f0e2937 Recorded changes to GNU make to support harbour.sly 2000-09-19 17:33:03 +00:00
Ron Pinkas
a3c43d0a26 Modified to use harbour.sly rather than harbour.y when using SimpLex. 2000-09-19 17:27:51 +00:00
Ron Pinkas
df03398e17 Minor esthetics changes. 2000-09-19 15:40:07 +00:00
Ron Pinkas
d7a1cd7c31 Changed const to static for language definition variable declarations. 2000-09-19 15:14:54 +00:00
Ron Pinkas
eca55336b8 Corrected djgpp warning. 2000-09-19 05:36:54 +00:00
Ron Pinkas
a5e4deaa88 2000-09-18 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
   * source/compiler/harbour.sly
   * source/compiler/harbour.y
   * source/compiler/simplex.c
   * source/macro/macro.slx
     ! Corrected compiler warnings.
2000-09-18 16:36:54 +00:00
Ron Pinkas
ba6f7b3667 2000-09-17 23:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.l
     ! Corrected definition of _PROCREQ_()

   * tests/testdecl.prg
     - Removed 1 line of unspported syntax.

   * source/macro/macro.slx
   * source/compiler/harbour.slx
     % Greatly optimized, much simplified, smaller, and faster.
     ! Converted all "non conventional" macros to functions.

   * source/compiler/simplex.c
     % Greatly optimized, now as fast as Flex based lexer.
     ! Converted all "non conventional" macros to functions.
     + Added support for predefind match pattern, {WS} (White Space), in KEYWORDS and WORDS.

   + source/compiler/harbour.sly
     * Same as harbour.y, excluding un-needed support for reserved words used as identifiers.
     /* Harbour.slx works with either harbour.y or harbour.sly, but harbour.sly creates smaller harbour.exe. */

   * hb_slex.bc
     * Modified to use harbour.sly
2000-09-18 07:04:53 +00:00
David G. Holm
ad3acaea71 See ChangeLog entry 2000-09-15 17:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-09-15 21:52:46 +00:00
Brian Hays
2a695a6c37 2000-09-14 10:53 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-09-15 05:56:50 +00:00
David G. Holm
49ed06b316 See ChangeLog entry 2000-09-13 16:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-09-13 20:48:26 +00:00
David G. Holm
a4a8f47f11 See ChangeLog entry 2000-09-11 13:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-09-11 17:49:08 +00:00
Ron Pinkas
2b4b9484ef Removed mistyped $(C_USER) & $(L_USER) 2000-09-08 22:42:24 +00:00
Ron Pinkas
4a4e7b593b 2000-09-08 03:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* config/dos/djgpp.cf
     + Added support for $(C_USER) and $(L_USER) /* Could someone please verify, that this is the correct way. */

   * source/compiler/simplex.c
     + Added: #define SUSPEND_WORDS 8192, and minor support logic.

   * source/compiler/harbour.slx
     ! Removed 14 #defines, and 14 cases from hb_lex_CustomAction(), by taking advantage of SUSPEND_WORDS.

   * source/macro/macro.slx
     - Removed 1 unused variable.
2000-09-08 11:00:40 +00:00
Ron Pinkas
b1658bda6d 2000-09-07 00:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
   * source/compiler/harbour.c
     + Added: char hb_comp_cCastType

   * source/compiler/harbour.y
     ! Optimized AsType
     + Added: support for type casting like: Var := FunCal() AS ... and, return Var AS ...
     /* Todo: add support for Array[n] := ... AS ..., and oVar:Data := ... AS ... */

   * source/compiler/hbpcode.c
     + Added type casting support to:
       HB_P_POPLOCAL
       HB_P_POPLOCALNEAR
       HB_P_POPMEMVAR
       HB_P_POPSTATIC
       HB_P_RETVALUE

   * include/hbclass.ch
     + Added type casting to resolve Strong Type warnings:
       return s_oClass:Instance() AS CLASS _CLASS_NAME_
       local Self AS CLASS <ClassName> := QSelf() AS CLASS <ClassName>

   /* Note: Strong Type code, and Class code, should compile with upto -w4, without [invalid] Strong Type warnings. */
2000-09-07 07:31:31 +00:00
Ron Pinkas
c201844c39 2000-09-06 12:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.l
     + Added AS CHAR[ACTER] for compatibility with FW (FW can't use #translate AS CHAR => AS STRING, because FW also uses AS CHAR
       in DLL calls where AS CHAR referes to *native* char type).
     ! Correted AS ... to allow multiple space/tab, and support abbreviations.

   * source/compiler/simplex.c
     + Added KEYWORD_ACTION() and WORD_ACTION() macros.

   * source/macro/macro.slx
     ! Optimized numerous HB_*_ID to a single HB_IDENTIFIER.

   * source/compiler/harbour.slx
     + Added AS CHAR[ACTER] for compatibility with FW (FW can't use #translate AS CHAR => AS STRING, because FW also uses AS CHAR
       in DLL calls where AS CHAR referes to *native* char type.
     ! Optimized numerous HB_*_ID to a single HB_IDENTIFIER.

   * include/hbclass.ch
     * Changed _<AssignName> to <AssignName> in HB_MEMBER directives.
     + Added AS CLASS <ClassName> to LOCAL Self := QSelf()

   * tests/testdecl.prg
     + Added code to demonstrate missing support for class memeber RT type protection (AS ...)
2000-09-06 19:53:10 +00:00
Antonio Linares
256e8a92d1 *** empty log message *** 2000-09-06 04:17:08 +00:00
Antonio Linares
5b1cf5bd65 *** empty log message *** 2000-09-06 02:33:03 +00:00
Ron Pinkas
f40fe5235a 2000-09-05 15:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbclass.ch
     ! Changed AS STRING to AS String, AS NUMERIC to AS Numeric, AS OBJECT to AS Object to avoid collision with FW #defines in dll.ch.
2000-09-05 22:32:33 +00:00
David G. Holm
a04a4e61ae Correction to ChangeLog entry ChangeLog 2000-09-05 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com>
for the config/dos/bcc16.cf changes
2000-09-05 21:16:44 +00:00
David G. Holm
5d1d821a99 See ChangeLog entry 2000-09-05 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-09-05 21:12:07 +00:00
Bruno Cantero
afc9172d10 2000-09-05 21:30 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-05 19:44:25 +00:00
Bruno Cantero
5868934fbb 2000-09-05 14:47 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-05 13:47:20 +00:00
Ron Pinkas
11deab0acc 2000-09-02 13:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbclass.ch
     ! Changed @MEthod() to @MethodName() to avoid possible conflicts with #translate METHO()...
2000-09-02 20:12:41 +00:00
Ron Pinkas
488bdded7a 2000-09-02 12:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     + Added new kind of Result Marker - OMMIT, singinfied as <-Identifier->
       /* This allows for custom code based on existance of optional clause, when the value of the clause itself is not needed */

   * include/hbclass.ch
     * Took advantage of new Ommit Result Marker, changed [<.ctor.> AS CLASS _CLASS_NAME_] to [<-ctor-> AS CLASS _CLASS_NAME_]

   * source/compiler/harbour.y
     - Removed rules for DummyTrue, used in _HB_MEMBER (no longer needed)
2000-09-02 19:54:48 +00:00
Ron Pinkas
2d1a852803 2000-09-02 09:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
     * Synchronized with makefile.bc

   * include/hbclass.ch
     + Added: [AS <type>] optional clause to all Methods/Messages syntax.
     + Added directives to generate class declaration from same class creation code.

   * include/hbcomp.h
   * source/compiler/harbour.c
     + Added: char hb_comp_cDataListType;

   * source/compiler/harbour.l
     + Added support for new _HB_CLASS and _HB_MEMBER alternate class declaration syntax.

   * source/macro/macro.slx
     ! Moved .T., .Y., .F., and, .N. from self contained words to words.

   * source/compiler/harbour.slx
     ! Moved .T., .Y., .F., and, .N. from self contained words to words.
     + Added support for new _HB_CLASS and _HB_MEMBER alternate class declaration syntax.

   * source/compiler/harbour.y
     ! Improved definition of formal and optional paramter lists.
     + Added support for alternate class declaration syntax:
       _HB_CLASS ClassName
       _HB_MEMBER { [AS ...] Var1, VarN }
       _HB_MEMBER MethodName( [ [OPTIONAL] [@]FormalParam [AS ...] | @FunPointer() ] ) [ AS ... ]
       /* This syntax allows the class declaration to be on multiple seperated lines (needed to allow utilization of class creation code.)
          Tokens _HB_CLASS & _HB_MEMBER are not final, until some discussion with Ryszard. */

   * source/compiler/hbpcode.c
     * Completed classes strong type support for adaptive type variable.

   * source/rtl/tlabel.prg
   * source/rtl/treport.prg
     ! Corrected typos: AS {} -> INIT {} AS ARRAY, AS .T. -> INIT .T. AS LOGICAL etc..

   * tests/testdecl.prg
     * Changed to demonstrate class creation used as declaration.

   * utils/hbtest/hbtest.prg
     * Changed DBFNTX -> DBFCDX (was not working because DBFNTX is disabled.
2000-09-02 16:30:36 +00:00
Maurilio Longo
c046949408 2000-09-02 11:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-09-02 09:08:17 +00:00
Bruno Cantero
d801e352af 2000-09-02 10:19 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-02 08:25:12 +00:00
Bruno Cantero
42ac66d90d 2000-09-02 09:37 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-02 07:43:42 +00:00
Bruno Cantero
632bde4ab4 2000-09-02 07:56 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-02 05:55:30 +00:00
Bruno Cantero
5dd62675ed 2000-09-02 00:08 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-09-01 22:16:56 +00:00
Maurilio Longo
a8e2f460a7 2000-09-01 13:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-09-01 12:02:27 +00:00
Viktor Szakats
18aef90f4c 2000-08-30 00:19 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-30 22:23:44 +00:00
Viktor Szakats
c585f9e8dc 2000-08-28 22:50 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-30 22:06:29 +00:00
Bruno Cantero
11607ecc73 2000-08-30 10:48 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-08-30 09:00:37 +00:00
Bruno Cantero
8cb7ed34ce 2000-08-30 10:40 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-08-30 08:45:00 +00:00
Viktor Szakats
5b5c053530 2000-08-28 22:50 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-29 20:58:46 +00:00
Bruno Cantero
0473817fe2 CHANGELOG: 3000-08-29 22:00 GMT+1 Bruno Cantero <bruno@issnet.net> 2000-08-29 20:16:56 +00:00
Ron Pinkas
26c63dfa4e 2000-08-28 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.y
     - Removed 1 un-needed hb_comp_szDeclaredFun = NULL

   * source/compiler/hbpcode.c
     ! Completed declared parameter checking, for method applied to Adapted Type Variable.
2000-08-29 00:09:35 +00:00
Ron Pinkas
dfde3317a5 2000-08-28 15:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
     + Added: extern void hb_compDeclaredParameterAdd( char * szVarName, BYTE cValueType );

   * source/compiler/harbour.y
     ! Changed hb_compVariableAdd() to hb_compDeclaredParameterAdd() for Declaration Rules.

   * source/compiler/harbour.c
     ! Moved logic from hb_compVariableAdd() to new hb_compDeclaredParameterAdd() for "dummy" variables (Declaration Parameters).

   * source/compiler/hbpcode.c
     ! Minor corrections.
2000-08-28 22:10:20 +00:00
Brian Hays
cab11e9fd6 2000-08-28 12:03 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-08-28 19:11:58 +00:00
Ron Pinkas
da1d815d4d 2000-08-28 10:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
   * source/compiler/harbour.y
     + Added support for DECLARE FunName(...) AS CLASS ClassName
     + Added support for DECLARE FunName( ... @SomeFun() ... ) - Function Pointer declared parameter.

   * source/compiler/simplex.c
     * Corrected some compiler warnings.

   * source/compiler/harbour.slx
     * Reenabled support for ID_ON_HOLD.

   * include/hberror.h
     + Added: #define HB_COMP_WARN_RETURN_SUSPECT             28

   * source/compiler/hbgenerr.c
     + Added: "4Suspecious return type: \'%s\' expected: \'%s\'"

   * source/compiler/hbpcode.c
     + Completed support for Strong Typed variables as declared classes, as well as Adaptive Typed usage with declared classes.
     * Few other corrections and enhancements.

   * include/hbclass.ch
     + Added TClass declaration:
	DECLARE TClass ;
		New( cName AS STRING, OPTIONAL SuperParams ) AS CLASS TClass ;
		Create() AS OBJECT;
		Instance() AS OBJECT ;
		AddClsMthds( cName AS STRING, @Method(), nScope AS NUMERIC, n2 AS NUMERIC, n3 AS NUMERIC );
		AddMultiClsData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING );
		AddMultiData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING );
		AddMethod( cName AS STRING, @Method(), nScope AS NUMERIC );
		AddInLine( cName AS STRING, bBlock AS CODEBLOCK, nScope AS NUMERIC );
		AddVirtual( cName AS STRING )
     + Added declaration to s_oClass  AS CLASS TClass

   * tests/testdecl.prg
     * Minor refinement.
2000-08-28 17:55:49 +00:00
April White
232a5967d7 Changelog: 2000-08-27 20:10 UTC+0500 April White <awhite@user.rose.com>
* source/rtl/setkey.c
     * bug in setkey() - was not adding hotkey to internal list
2000-08-27 19:26:34 +00:00
Ron Pinkas
bbef5fccb3 Noted correction to simplex.c 2000-08-23 04:08:40 +00:00
Ron Pinkas
4e7bfbb146 Corrected Reset at <EOF> 2000-08-23 04:05:38 +00:00
Ron Pinkas
ce87f32df5 2000-08-22 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/simplex.c
   * source/compiler/harbour.slx
   * source/macro/macro.slx
     ! Removed un-needed calls to strlen().
2000-08-22 17:39:34 +00:00
Ron Pinkas
fb446913e1 Corrected typo 2000-08-21 22:52:03 +00:00