8d38c093b4
2006-11-17 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.l * harbour/source/macro/macro.l * harbour/source/macro/macro.slx * harbour/source/compiler/harbour.slx * changed parameters in function: hb_compStrToNum() now the string size is passed explicitly so it can work with strings which does not have trailing ASCII NUL character.
Przemyslaw Czerpak
2006-11-17 12:29:24 +00:00
c448973306
2006-11-15 14:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + added void * pLex; member to HB_MACRO structure - it will be necessary for MT safe macro parser
Przemyslaw Czerpak
2006-11-15 13:21:20 +00:00
b560fd5a77
2006-11-14 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO * removed to resolved problems from TODO/TOFIX list
Przemyslaw Czerpak
2006-11-14 12:51:34 +00:00
87538f21cd
2006-11-13 20:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! fixed the problem reported by Enrico in code like: IF ["] $ var Unfortuantelly this fix also breaks some valid expressions like: x := a[ f("]") ] $ "test" x := a[ f( "'" ) ] $ "test" what is also Clipper compatible anyhow I think that in the future we may want to break Clipper compatibility and allow compilation of such code.
Przemyslaw Czerpak
2006-11-13 19:49:57 +00:00
d99b93ad14
2006-11-13 03:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + pass GTK paths to GCC in hb* scripts when -xbgtk switch is used
Przemyslaw Czerpak
2006-11-13 02:40:33 +00:00
16f0722343
2006-11-12 09:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Fixed pptable.c dependencies
Marek Paliwoda
2006-11-12 08:29:27 +00:00
a6415eebc4
2006-11-10 17:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/rddads.h + added #define WIN32 when HB_OS_WIN_32 is set to not force -DWIN32 compiler switch
Przemyslaw Czerpak
2006-11-10 16:40:40 +00:00
c2b4a94705
2006-11-10 02:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbpp.h * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * restored support for old hb_inLine() syntax + added support for hb_inLine() to new PP. It can be enabled by -kI compiler switch. It's disabled by default. The new hb_inLine{} syntax is: [ <exp> ] hb_inLine [ ( [<params,...>] ) ] { [ <c_code> ] } [ <exp> ] <c_code> can contain new line characters. Nested hb_inLine{} in <params,...> is not supported. If you think it's important I can add it in few lines. This version does not break any valid Clipper syntax, hb_inLine is not reserved word and hb_inLine can be repeated many times in the same line. F.e. this code can be properly preprocessed and compied if you disable in compiler old hb_inLine() syntax and enable the new one by -kcI Harbour compiler switch:
Przemyslaw Czerpak
2006-11-10 01:12:49 +00:00
89e25d1371
2006-11-09 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackReturnItem()
Marek Paliwoda
2006-11-09 20:59:33 +00:00
39791e2096
2006-11-09 14:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/utils/hbpp/hbpptable.c + harbour/utils/hbpp/hbpptbl.c * harbour/utils/hbpp/Makefile * harbour/common.mak * Renamed hbpptable.c->hbpptbl.c to follow 8.3 naming convention
Marek Paliwoda
2006-11-09 12:54:57 +00:00
aba0cbd9e4
2006-11-09 09:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/ChaneLog * Fixed last ChangeLog entry
Marek Paliwoda
2006-11-09 08:46:42 +00:00
66695f622d
2006-11-09 09:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Adapted to the new Preprocessor utility ppgen.exe * Cleaned hbpp.exe dependecies due to recent changes * harbour/makefile.vc * harbour/common.mak * Cleaned hbpp.exe dependecies due to recent changes * harbour/include/hbapi.h * Added HB_EXPORT to hb_gcAlloc() * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackSelfItem() * harbour/source/vm/fm.c * Added dipslaying contents of unreleased blocks at program exit, together with logging unreleased memory blocks report to fm.log file. Borrowed from xharbour.
Marek Paliwoda
2006-11-09 08:38:54 +00:00
ef48cb6d96
2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed type checking for "string" type. It should be translate to character not symbol item type.
Przemyslaw Czerpak
2006-11-08 16:19:59 +00:00
421371a395
2006-11-08 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * cleaned two warnings generated by old GCC versions
Przemyslaw Czerpak
2006-11-08 12:39:15 +00:00
0f410dc77b
2006-11-03 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Updated comment section about environment variables used by makefile * harbour/makefile.vc * Updated comment section about environment variables used by makefile * Cleaned compilation under Visual C++ 8.0 (VS2005 compiler), including 64 bit platforms. To properly compile under Visual C++ 8.0 you have set a new environment variable HB_VISUALC_VER to 80 before running make_vc.bat.
Marek Paliwoda
2006-11-03 21:01:47 +00:00
0fae2fdd2c
2006-10-07 04:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added validation for class data names. As additional preprocessor rule to not use <!marker!>
Przemyslaw Czerpak
2006-10-07 02:35:52 +00:00
57b1473404
2006-10-05 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * Temporary disabled optimization with references to object variables until we will not have extended reference items in our HVM. It can be enabled by compiling with HB_USE_OBJMSG_REF
Przemyslaw Czerpak
2006-10-04 23:39:52 +00:00
d854c9f5e0
2006-10-04 09:02 UTC+0100
Antonio Linares
2006-10-04 07:10:04 +00:00
101385e3c5
main.c has to be used instead of mainstd.c or mainwin.c
Antonio Linares
2006-10-04 06:59:32 +00:00
e47d291938
2006-10-04 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * most of the rules rewritten ! fixed some wrong rules and general cleanup + added additional code validation ! fixed compilation of more then one class in single file. Now it's even possible to declare all classes at beginning of single file and then implementing their methods in any order ! fixed using static classes and classes ! fixed compilation without <ClassName>_ prefix in method names + added support for HB_CLS_NO_DECORATION macro which disable adding <ClassName>_ prefix to method names - this macro is set by default when HB_SHORTNAMES is set. + added support for declared parameters validation - it can be disabled with HB_CLS_NO_PARAMS_ERR and I had to disable it by default due to problems with our preprocessor. Ryszard seems that our PP has serious problems with decoding directives when there is no space between symbol and some other non symbol character. I had to add some workarounds and even introduce buggy rules to make it working. Please look at it. You can remove #define HB_CLS_NO_PARAMS_ERR from hbclass.ch and try to rebuild Harbour core code to see the problem.
Przemyslaw Czerpak
2006-10-04 00:33:00 +00:00
bb8804e7ac
2006-09-29 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * allow to access object variables using assign messages without parameter. I do not want to add symmetric behavior for access messages though it's technically possible but such things should be controlled by programmer because access messages can have less restricted scoping then assign ones (READONLY) so I'll add new rule for it in hbclass.ch
Przemyslaw Czerpak
2006-09-29 20:51:46 +00:00
73900f8855
2006-09-29 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * synced with Brian fixes in xHarbour
Przemyslaw Czerpak
2006-09-29 19:03:39 +00:00
b0b8b008b1
2006-09-29 11:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * tests/Makefile + added omacro.prg and varparam.prg * ChangeLog * fixed date in previous commit
Ryszard Glab
2006-09-29 09:47:07 +00:00
64509ea871
+ added support for passing methods as macro eg: o:&send() o:&send.end() o:&(expr)() o:&var++ o:&var := 0 o:&(expr)++ WITH OBJECT obj ++:&var :&var += :&(var2+"oo") END
Ryszard Glab
2006-09-29 08:59:17 +00:00
e0e9dc2808
2006-09-28 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/common.ch - removed ISSYMBOL() * harbour/source/rtl/tclass.prg * use valtype() instead of IS*() * some minor modifications
Przemyslaw Czerpak
2006-09-28 21:59:09 +00:00
a9c4bf5568
2006-09-28 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * updated some not enabled by default rules to use function pointers instead of function names which I forgot to update in previous commit
Przemyslaw Czerpak
2006-09-28 12:42:47 +00:00
9aaaadbc6f
2006-09-28 00:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * check for rpmbuild also when BUGGY_RPM is set
Przemyslaw Czerpak
2006-09-27 22:39:06 +00:00
5ba81a153a
2006-09-26 17:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * source/compiler/harbour.y *added support for passing the reference to object's variable e.g. foo( @obj:var )
Ryszard Glab
2006-09-26 14:43:20 +00:00
8ef38acb75
2006-09-23 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * minor modification in function order to group together the ones which can operate on reference counters + added additional stop condition in hb_itemUnRef() - we will have to make some modifications for the code which execute hb_itemUnRef() to resolve some possible conflicts with operators overloading and compiler optimizations
Przemyslaw Czerpak
2006-09-23 12:39:22 +00:00
1202be4471
2006-09-22 23:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hbvm.h * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c * harbour/source/vm/hvm.c ! fixed bug in real codeblock scoping which was exploited by dictionary resizing * changed ACCESS messages to ASSIGN ones when object item reference is created for proper READONLY scope checking. The reference to object variable can be created only when caller has sufficient ASSIGN privileges. + added FRIEND CLASS and FRIEND FUNCTION support. It's enough to add class definition: FRIEND CLASS <classFunc1> [, <classFuncN> ] and/or: FRIEND FUNCTION <FuncName1> [, <FuncNameN> ] and all methods of given class or given function will be able to access private variables. Warning!!! Friends cannot access overloaded non virtual methods. This feature is available _ONLY_ for real class members. + added MODULE FRIENDLY to class definition. It causes that all other functions and classes defined in the same .prg module will have friend privileges. In such way works xHarbour and there is now way to disable this "feature" what is IMHO bug. In Harbour programmer has to explicitly enable it (until he will not change / add new preprocessor rule and set it as default ;-)). Syntax: CREATE CLASS .... MODULE FRIENDLY ... END CLASS
Przemyslaw Czerpak
2006-09-22 21:02:17 +00:00
4661d6885a
2006-09-21 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c % minor optimization in hb_itemParam() ! fixed enumerator variable clearing in hb_itemCopy()
Przemyslaw Czerpak
2006-09-21 10:09:34 +00:00
efacf25481
2006-09-21 09:52 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/common/expropt2.c ! Fixed leak introduced in previous commit.
Viktor Szakats
2006-09-21 07:56:44 +00:00
3ef6c5f724
2006-09-20 23:17 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c % Compile-time optimization added for expressions below: SToD(""), SToD(), HB_SToD(<cDate>), HB_SToD(""), HB_SToD() ! Tabs converted to spaces.
Viktor Szakats
2006-09-20 21:26:13 +00:00
4aeac1e509
2006-09-20 14:15 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbpcode.h + added new pcode HB_P_VFRAME
Ryszard Glab
2006-09-20 12:28:58 +00:00
f63bc1dc8c
2006-09-19 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * harbour/source/vm/hvm.c + added support to compiler for sending messages with multi parameters resolved by macro operator: s:="1,2,3"; o:msg(&s) It works just like for functions and it also needs XBASE extension support enabled during compilation, -kx switch in compiler, it's enabled by default.
Przemyslaw Czerpak
2006-09-19 16:40:42 +00:00
18f74581d1
2006-09-19 11:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapicls.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/arrays.c * harbour/source/vm/classes.c * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added three new PCODEs: HB_P_MACROSEND - to use for: s:=1,2,3"; o:=send(&s) HB_P_PUSHOVARREF - to create references to object variables: @o:var HB_P_ARRAYPUSHREF - to create references to array items, it can be used in some optimization, f.e.: a[ <exp1> ] += <exp2> or directly by: func( @a[ <exp> ] ) if we add passing array elements by reference Implemented in HVM and PCODE generation, the compiler has to be modified yet to use them. * changed last parameter in hb_codeblockGetRef() - I'd like to have all variables in hb_struRefer structure in one place: hb_itemUnRefOnce() for easier modifications in the future. * replaced in hb_struRefer 'itemsbase' with 'array'. + added hb_arrayGetItemRef() to create references to array elements. Such reference updates array reference counters. * changed STATICs passed by reference to use new array item references. ! block destructor execution after classy releasing on HVM exit
Przemyslaw Czerpak
2006-09-19 09:59:42 +00:00
dc9ebdf37c
2006-09-17 02:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added hb_clsRealMethodName() function which I'm using in some test code
Przemyslaw Czerpak
2006-09-18 00:01:53 +00:00
a09dc85fbe
2006-09-17 18:52 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/tests/testrpt.prg ! Fixed fatal typo.
Viktor Szakats
2006-09-17 16:58:39 +00:00
24159987a2
2006-09-17 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/include/hbvm.h * xharbour/source/vm/hvm.c + added hb_vmPushDynSym( PHB_DYNS ) It should allow most applications to not use [P]HB_SYMB at all. Removing PHB_SYMB from 3-rd party .c code may allow us to add freeing unused symbol tables from HVM in the future.
Przemyslaw Czerpak
2006-09-17 16:54:04 +00:00
ff658ccfec
2006-09-16 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with recent Brian fixes in xHarbour
Przemyslaw Czerpak
2006-09-16 21:24:06 +00:00
fe3786511e
2006-09-15 21:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c * harbour/source/vm/classes.c ! fixed multiple use of supercasted object I broke in last commit * removed some unused code and moved some scoping checking to class creation code
Przemyslaw Czerpak
2006-09-15 19:14:32 +00:00
f22f040335
2006-09-15 13:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c + added hb_vmRequestReenter() and hb_vmRequestRestore() + added executing destructors when some exception is active I forgot about it in previous commit.
Przemyslaw Czerpak
2006-09-15 11:28:48 +00:00
27ccee95a1
2006-09-14 15:23 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/tests/testlbl.prg ! use lower name in report name to work properly on case sensitive file systems
Viktor Szakats
2006-09-14 13:24:26 +00:00
bb15806923
2006-09-13 20:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added __enumStop() message for "FOR EACH" overloading It's guarantied that it will be sent to base item if it is an object with such message when FOR EACH ... NEXT will finish its job even if it will be interrupted by EXIT or RETURN to allow base object clear resources allocated for FOR EACH enumerator. The BREAK exception is not supported now. This is sth what I'd like to discuss soon when I'll add destructors. Please think now if we should allow to execute destructors and other cleanup user code when we are returning to nearest expection trap (BEGIN SEQUENCE / [ RECOVER /] END) cleaning the HVM stack.
Przemyslaw Czerpak
2006-09-13 18:37:42 +00:00
0e68f162e7
2006-09-13 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c ! fixed number of compiled functions shown in compilation status ! added workaround for GPF in empty #pragma begindump/enddump statement
Przemyslaw Czerpak
2006-09-13 12:02:57 +00:00
77d31074e8
2006-09-13 03:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * keep class shared data in separate array + added __CLS_CNTSHRDATA( hClass ) -> nSharedDatas % some minor optimizations
Przemyslaw Czerpak
2006-09-13 01:12:18 +00:00
43d20b8eb6
2006-09-10 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/codebloc.c * harbour/source/vm/arrays.c * moved static base offset from hb_struBlock structure to HB_CODEBLOCK structure + added hclass member to hb_struBlock - it will be used in the future for checking codeblock scope in classy so we will real scope checking also for messages sent from codeblocks. - removed supercast and superoffset members from hb_struArray structure.
Przemyslaw Czerpak
2006-09-10 11:16:43 +00:00
076082265a
2006-09-05 15:51 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/include/hbset.h * harbour/include/set.ch * harbour/source/pp/pptable.c * harbour/source/rtl/set.c + Added Set( _SET_DEFEXTENSIONS, <logical: .T./.F.> ) Default value is .T. (CA-Cl*pper compatible). If set to .F., Harbour runtime/RDD code will never attempt to add a default extension to the filename arguments. Commands/functions where this setting makes a difference are: - SET ALTERNATE TO / Set( _SET_ALTFILE_, ... ) - SET PRINTER TO / Set( _SET_PRINTFILE_, ... ) - Set( _SET_EXTRAFILE, ... ) - SAVE TO / __mvSave() - RESTORE FROM / __mvRestore() - LABEL FORM - REPORT FORM - COPY TO ... DELIMITED - COPY TO ... SDF - LIST / __dbList() - USE / dbUseArea() - dbCreate() - SET INDEX TO / ordListAdd() (not yet implemented) - __HRBLOAD(), __HRBRUN() ; Notes: - From now on, it possible to create/load files using the above functions/commands which have no extension. This might be desirable in a few platform and/or situations. For example on Win32, it's possible to directly print to a shared Windows printer queue, using these commands: lOldValue := Set( _SET_DEFEXTENSIONS, .F. ) SET PRINTER TO \\myserver\myprinter Set( _SET_DEFEXTENSIONS, lOldValue ) Or, it is possible to open a dbf file which has no extension: dbUseArea(.T., NIL, "dbf_filename_with_no_extension", "w_DATA", .F., .F.) - Compiler is (of course) not affected by this setting. - Preprocessor (PP) lib flavour is not affected by this setting. - Support is not full in the RDD code yet.
Viktor Szakats
2006-09-08 12:47:27 +00:00
2a268eef9e
2006-09-07 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! always initialize all members in RDD structures to avoid GPF when some RDD will try to access uninitialized data
Przemyslaw Czerpak
2006-09-06 23:55:31 +00:00
95732edd48
2006-09-06 14:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * modified hb_itemClear() to be reentrant safe - the new version can be also better optimized by C compiler so should be also faster
Przemyslaw Czerpak
2006-09-06 12:50:46 +00:00
2c45c34bb4
2006-09-05 12:44 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/debug/debugger.prg ! Fixed and made multiplatform the filename extension handling parts.
Viktor Szakats
2006-09-05 10:51:43 +00:00
22b6c06fce
2006-09-04 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO + added simpler example for memory leak in macro compiler: ? type("user input")
Przemyslaw Czerpak
2006-09-04 17:45:53 +00:00
f4fac06d3f
2006-09-04 18:10 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg ! Made the logic multiplatform where it's decided whether to add a default extension to the loaded filename. C:\PATH.A\MYFILE didn't get the default extension while C:\PATH\MYFILE did.
Viktor Szakats
2006-09-04 16:23:47 +00:00
a55606d726
2006-09-04 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c ! fixed bug in wrong integer negating, f.e.: proc main(); local i:=0; i-=-32768; ? i; return ! fixed PCODE generated for +=, -=, /=, *= expressions when right side of expression is undefined variable - it's possible that it will be field and we will have RT error. It fixes tt4.prg example form TODO file.
Przemyslaw Czerpak
2006-09-04 09:40:43 +00:00
7e6acbd5ff
2006-09-04 09:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.016 ! added ChangeLog.016 and updated number - mistake in my previous commit
Przemyslaw Czerpak
2006-09-04 07:44:04 +00:00
30d4efb954
2006-09-03 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * harbour/tests/overload.prg + added support for overloading [] in assignment operation
Przemyslaw Czerpak
2006-09-03 17:01:55 +00:00
dc736274c7
+ harbour/source/codepage/uckam.c + added missing in my previous commit file
Przemyslaw Czerpak
2006-09-01 19:27:28 +00:00
f07d1b6ce5
2006-09-01 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/msgcs852.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msgcswin.c * typo fixed (Vojtech Obrdlik <vobrdlik centrum.cz>) * harbour/include/hbapicdp.h * harbour/source/codepage/Makefile + harbour/source/codepage/cpcs852.c + harbour/source/codepage/cpcsiso.c + harbour/source/codepage/cpcskam.c + harbour/source/codepage/cpcswin.c + harbour/source/codepage/uckam.c * harbour/doc/en/lang.txt * harbour/common.mak + added czech codepage support (Vojtech Obrdlik <vobrdlik centrum.cz>) Vojtech many thanks. We will have to fix our CDP code to work well with characters with the same wight - now sorting with such codepages does not work correctly, f.e. in CSISO: CHR(65)+CHR(204) > CHR(65)+CHR(201) but: CHR(65)+CHR(201) >= CHR(65)+CHR(204) as you can see comparison depends on string order: s1 > s2 but not s2 < s1 It means that such codepages cannot be used in any sorting systems like indexes until we will not fix internal CPD logic. Alexander can you look at it? If not then please inform me and I'll work on it in some spare time.
Przemyslaw Czerpak
2006-09-01 08:27:40 +00:00
2b8e68f5ea
2006-08-31 21:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Changed console output of "install" rule to inst_$(CC_DIRNAME).log
Marek Paliwoda
2006-08-31 19:43:14 +00:00
1d39228e0b
2006-08-29 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added Class(y) compatible scoping - please test and report any possible problems
Przemyslaw Czerpak
2006-08-29 08:27:38 +00:00
5f696874dc
2006-08-28 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed __SENDER() function to work with non-inline methods ! respect super casting in ClassName(), ClassH(), ClassSel() methods % some optimizations
Przemyslaw Czerpak
2006-08-28 10:42:28 +00:00
61b4f5ac8e
2006-08-27 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed bug in super casting introduced in my last commit
Przemyslaw Czerpak
2006-08-27 18:55:41 +00:00
8bef490815
2006-08-19 01:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * moved HB_STACK_STATE declaration from hbstack.h to hbapi.h it's covered by _HB_API_INTERNAL_ macro so it should not effect 3-rd party code * modified hb_struSymbol structure: LONG stackbase replaced by: PHB_STACK_STATE stackstate this modification allows to keepadditional information bound with function call stack accessible from different HVM modules. Now it's used by memvars code to keep/update PRIVATE variables stack pointers. I plan to store in HB_STACK_STATE structure information additional information for classes code like super casting or instance variables offsets in new OOP model I'm working on. It can be also used by debugger code to retrieve some informations about executed functions without active updating by main HVM loop. + added hb_memvarsClear() - cleanly clears all PRIVATE and PUBLIC variables + added hb_memvarUpdatePrivatesBase() - updates PRIVATE stack base offset so PRIVATE variables created in current function/procedure will not be removed when it returns - removed hb_memvarsRelease() and hb_memvarValueNew()
Przemyslaw Czerpak
2006-08-18 23:12:38 +00:00
68cb7f510b
2006-08-17 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/include/hbapi.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbdefs.h * harbour/include/hbrdddbf.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/source/common/expropt1.c * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.c * harbour/source/compiler/hbident.c * harbour/source/pp/ppcore.c * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rtl/hardcr.c * harbour/source/rtl/inkey.c * harbour/source/rtl/isprint.c * harbour/source/rtl/math.c * harbour/source/rtl/mtran.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/vm/estack.c * harbour/source/vm/extend.c * harbour/source/vm/runner.c * harbour/utils/hbver/hbverfix.c * general code cleanup, public functions declared in header files, local changed to static, added mising void for functions without parameters, etc. We still have some public functions which are not used by core code and not declared in header files, like: hb_memvarValueBaseAddress(), hb_memvarGetVarHandle(), hb_memvarGetValueByHandle(), hb_clsCreate(), hb_clsAdd(), hb_clsAssociate(), hb_hashTableDel(), hb_hashTableSize(), I haven't touched them yet though we will have to keep in mind that we should make sth with them.
Przemyslaw Czerpak
2006-08-17 11:05:09 +00:00