Przemyslaw Czerpak
72eca3d3e9
2007-09-18 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
...
* harbour/include/hbapicls.h
* harbour/source/vm/hvm.c
+ added hb_clsDoInit() function to initialize classy .prg functions
* harbour/source/compiler/complex.c
* allow to use NIL as class name
* harbour/source/compiler/harbour.yyc
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyh
% optimize automatically var[0] declaration and generate the same
PCODE as for var:={}
* harbour/source/rtl/tscalar.prg
+ added HASH, POINTER and SYMBOL scalar classes
* changed NIL class to not use any instance variables
* harbour/source/vm/classes.c
+ added support for scalar classes. Now at startup classy code looks
for hb<TYPENAME> functions and try to execute them to register
scalar classes. It's Class(y) compatible behavior and only the prefix
of scalar ceases class function is different: 'CSY' in class(y) and
'HB' in Harbour, f.e.: hbNumeric()
If you prefer xHarbour like not automatic scalar class registration
with some PP commands:
ASSOCIATE CLASS <ClassName> WITH TYPE
ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL|
NUMERIC|POINTER|SYMBOL
ENABLE CLASS TYPE ALL
ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL|
NUMERIC|POINTER|SYMBOL
EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL|
NUMERIC|POINTER|SYMBOL WITH METHOD <SomeFunc>
Then I can replace current code with it. If not then we should
divide scalar cases definitions into separated files to allow
easier overloading. I'm interesting in your opinions.
2007-09-17 22:45:30 +00:00
..
2006-02-04 16:16:48 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-08-09 00:25:44 +00:00
2007-03-04 13:11:36 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-09-05 22:45:02 +00:00
2007-08-09 00:10:37 +00:00
2007-08-09 00:10:37 +00:00
2007-09-02 15:28:05 +00:00
2007-02-27 11:03:59 +00:00
2007-08-30 01:56:03 +00:00
2007-09-11 21:36:00 +00:00
2001-05-15 13:02:07 +00:00
2007-04-14 10:41:54 +00:00
2007-04-13 01:06:01 +00:00
2007-08-30 01:56:03 +00:00
2007-02-27 11:03:59 +00:00
2007-08-27 15:35:41 +00:00
2007-08-27 15:35:41 +00:00
2007-08-30 01:56:03 +00:00
2007-08-20 13:50:18 +00:00
2007-04-14 10:41:54 +00:00
2007-09-15 11:54:39 +00:00
2007-08-14 13:22:30 +00:00
2007-09-13 02:43:57 +00:00
2007-02-27 11:03:59 +00:00
2007-09-10 10:01:50 +00:00
2007-08-30 01:56:03 +00:00
2007-08-30 01:56:03 +00:00
2007-08-30 01:56:03 +00:00
2007-02-27 11:03:59 +00:00
2007-02-13 19:59:41 +00:00
2007-08-30 01:56:03 +00:00
2007-06-28 14:15:37 +00:00
2006-07-26 23:23:42 +00:00
2007-08-30 01:56:03 +00:00
2003-02-18 21:02:54 +00:00
2007-08-30 01:56:03 +00:00
2007-08-31 01:25:14 +00:00
2007-05-18 20:45:15 +00:00
2004-02-21 07:18:28 +00:00
2007-09-05 14:50:23 +00:00
2007-09-05 14:50:23 +00:00
2006-09-01 08:27:40 +00:00
2007-09-10 10:01:50 +00:00
2007-04-18 22:15:17 +00:00
2007-08-20 21:55:18 +00:00
2006-12-08 05:03:58 +00:00
2007-09-15 11:54:39 +00:00
2001-05-15 13:02:07 +00:00
2007-09-05 22:45:02 +00:00
2007-08-31 01:20:52 +00:00
2007-09-05 22:45:02 +00:00
2007-08-30 01:56:03 +00:00
2002-10-19 20:16:59 +00:00
2007-08-20 13:25:07 +00:00
2007-05-18 20:45:15 +00:00
2007-09-05 14:50:23 +00:00
2007-08-30 01:56:03 +00:00
2007-09-13 02:43:57 +00:00
2007-09-17 16:42:43 +00:00
2006-02-04 16:16:48 +00:00
2007-07-19 18:50:32 +00:00
2006-02-04 16:16:48 +00:00
2007-09-02 15:28:05 +00:00
2006-06-22 14:55:19 +00:00
2007-07-15 07:20:25 +00:00
2007-08-09 00:10:37 +00:00
2006-02-04 16:16:48 +00:00
2007-07-19 02:15:22 +00:00
2007-09-17 11:27:09 +00:00
2006-02-21 22:23:29 +00:00
2006-08-17 11:05:09 +00:00
2007-03-31 10:42:19 +00:00
2007-07-02 15:16:58 +00:00
2007-03-31 10:42:19 +00:00
2007-05-28 07:52:08 +00:00
2007-09-12 11:57:57 +00:00
2007-09-02 15:28:05 +00:00
2007-09-02 15:28:05 +00:00
2007-09-10 22:41:17 +00:00
2007-03-31 10:42:19 +00:00
2007-05-06 09:43:26 +00:00
2007-08-28 01:15:31 +00:00
2007-05-31 13:12:34 +00:00
2007-09-10 20:12:29 +00:00
2007-05-06 18:35:11 +00:00
2007-08-31 01:20:52 +00:00
2007-04-14 10:41:54 +00:00
2007-06-23 09:13:50 +00:00
2007-08-30 01:56:03 +00:00
2007-09-02 15:28:05 +00:00
2007-08-30 01:56:03 +00:00
2007-07-18 19:30:40 +00:00
2007-03-22 12:28:14 +00:00
2001-05-15 13:02:07 +00:00
2007-09-16 10:54:46 +00:00
2007-09-17 10:28:19 +00:00
2007-08-30 01:56:03 +00:00
2006-02-04 16:16:48 +00:00
2007-09-15 11:54:39 +00:00
2004-02-21 06:38:03 +00:00
2006-08-18 23:12:38 +00:00
2007-09-17 11:27:09 +00:00
2007-09-13 02:43:57 +00:00
2007-02-27 11:03:59 +00:00
2007-05-19 13:41:20 +00:00
2007-02-27 11:03:59 +00:00
2007-08-30 01:56:03 +00:00
2006-02-04 16:16:48 +00:00
2006-08-17 11:05:09 +00:00
2006-08-17 11:05:09 +00:00
2007-05-29 08:32:47 +00:00
2006-09-10 11:16:43 +00:00
2007-04-18 22:15:17 +00:00
2007-08-30 01:56:03 +00:00
2006-02-04 16:16:48 +00:00
2007-04-18 22:15:17 +00:00
2006-04-07 12:57:59 +00:00
2006-04-07 12:57:59 +00:00
2006-04-07 12:57:59 +00:00
2001-12-15 11:22:29 +00:00
2007-09-15 11:54:39 +00:00
2007-05-18 20:45:15 +00:00
2007-08-31 01:20:52 +00:00
2007-05-18 20:45:15 +00:00
2007-09-15 11:54:39 +00:00
2007-09-15 11:54:39 +00:00
2007-09-13 02:43:57 +00:00
2007-09-15 11:54:39 +00:00
2001-04-12 18:56:30 +00:00
2007-09-12 06:31:13 +00:00
2007-08-30 01:56:03 +00:00
2007-02-27 11:03:59 +00:00
2007-07-18 19:30:40 +00:00
2007-02-27 11:03:59 +00:00
2007-08-30 01:56:03 +00:00
2007-08-31 01:20:52 +00:00
2006-02-04 16:16:48 +00:00
2007-08-31 01:20:52 +00:00
2007-09-13 02:43:57 +00:00
2007-09-05 14:50:23 +00:00
2007-09-06 11:40:24 +00:00
2007-04-23 21:41:40 +00:00
2001-04-12 18:56:30 +00:00
2007-08-31 01:20:52 +00:00
2007-08-31 01:20:52 +00:00
2001-06-20 16:39:02 +00:00
2006-02-04 16:16:48 +00:00
2007-04-14 10:41:54 +00:00
2007-04-18 22:15:17 +00:00
2004-10-11 20:44:30 +00:00
2007-02-27 11:03:59 +00:00
2005-10-12 00:30:49 +00:00
2006-06-15 23:48:56 +00:00
2007-06-23 09:13:50 +00:00
2006-03-09 15:22:16 +00:00
2007-05-31 13:12:34 +00:00
2007-02-27 11:03:59 +00:00
2006-12-15 15:54:28 +00:00
2006-06-15 23:48:56 +00:00
2002-01-30 08:25:54 +00:00
2007-08-31 01:20:52 +00:00
2007-09-17 10:28:19 +00:00
2007-09-13 02:43:57 +00:00
2007-09-17 16:42:43 +00:00
2007-09-17 16:42:43 +00:00
2007-06-13 22:06:19 +00:00
2007-09-17 10:28:19 +00:00
2001-06-15 17:59:21 +00:00
2007-09-13 02:43:57 +00:00
2007-04-24 08:38:50 +00:00
2007-09-13 09:00:40 +00:00
2007-09-07 02:00:07 +00:00
2007-09-07 02:00:07 +00:00
2007-09-17 11:27:09 +00:00
2007-04-17 18:01:15 +00:00
2001-04-12 07:45:31 +00:00
2007-09-13 02:43:57 +00:00
2007-08-31 01:20:52 +00:00
2007-08-31 01:20:52 +00:00
2007-09-07 02:00:07 +00:00
2007-08-31 01:20:52 +00:00
2007-09-17 22:45:30 +00:00
2007-09-15 11:54:39 +00:00
2007-09-13 02:43:57 +00:00
2007-02-27 11:03:59 +00:00
2007-09-15 11:54:39 +00:00
2007-02-27 11:03:59 +00:00
2007-09-12 06:31:13 +00:00
2006-12-04 18:22:29 +00:00
2007-03-22 12:28:14 +00:00
2007-08-30 01:56:03 +00:00
2001-06-14 21:20:43 +00:00
2007-02-27 11:03:59 +00:00
2007-08-31 01:20:52 +00:00
2006-12-04 18:22:29 +00:00