vszakats/harbour-core — pull request #2 by vszakats (2013-04-18 13:12:52+00:00)
Title: update with main repo

* .gitignore
! removed executable file permission

* package/mpkg_src.sh
! added executable file permission

* contrib/hbct/screen2.c
% use STR API for parameters instead of using local conversions

* contrib/hbct/token1.c
% small simplification

* contrib/hbnetio/netiosrv.c
+ respect timeout parameter also in send operation

* contrib/make.hb
! moved project name normalization and directory verification to
AddProject() function. It fixes HB_BUILD_ADDONS envvar functionality.

* doc/xhb-diff.txt
+ added new paragraph: DECLARATION AND INITIALIZATION OF VARIABLES

* src/rtl/hbcom.c
* added 3-rd parameter to TIOCEXCL and TIOCNXCL ioctl() codes
to pacify valgrind warnings

* include/hbexpra.c
! fixed compilation with HB_USE_ENUM_FUNCTIONS macro

* include/hbapicls.h
* include/hbcompdf.h
* include/hbexpra.c
* src/compiler/harbour.y
* src/vm/classes.c
+ added support for :__enumIsFirst() iterator message. It's opposite
to recently added :__enumIsLast()
+ added support for overloading :__enumIsFirst() and :__enumIsLast()
functionality in custom FOR EACH implementations

* include/hbcompdf.h
* include/hbexpra.c
* src/compiler/harbour.y
+ added support for reverting :__enumIsFirst() and :__enumIsLast()
messages in descendant FOR EACH loops. It's disabled now by 2 #if 0
but I think it should be discussed. Should we keep it enable it?
The answer is not trivial when FOR EACH is used to iterate some
objects. In general such names are confusing.

* src/compiler/harbour.yyc
* src/compiler/harbour.yyh
* regenerated using bison 2.5

* tests/foreach.prg
+ added :__enumIsFirst() to test code

* tests/foreach2.prg
! typo in comment