Initial branch creation


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1407 549f2c98-2231-0410-b618-a09cd5e121c0
Ensure that the arguments to R_NewHashedEnv are protected from GC, for
compatibility with CR.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1415 549f2c98-2231-0410-b618-a09cd5e121c0
Explicitly cast '-1' to the correct unsigned type.  Otherwise comparisons of
the form:
   if (foo == -1)
automatically fail where foo is unsigned.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1416 549f2c98-2231-0410-b618-a09cd5e121c0
Fix incorrect size parameter to memset.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1417 549f2c98-2231-0410-b618-a09cd5e121c0
Fix buffer overflow bug in shellsort (seperately fixed in R 3.0.2)


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1418 549f2c98-2231-0410-b618-a09cd5e121c0
Make the memory bank handle zero byte allocations correctly when NO_CELLPOOLS
is defined.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1419 549f2c98-2231-0410-b618-a09cd5e121c0
Fix bug where any objects remaining on the protect stack at process shutdown
time would have their reference counts modified after the objects were freed.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1420 549f2c98-2231-0410-b618-a09cd5e121c0
Respect the user's settings for CXX, CFLAGS, CPPFLAGS, LDFLAGS and CXXFLAGS.



git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1422 549f2c98-2231-0410-b618-a09cd5e121c0
Force the compiler to generate a non-inline version of Rf_eval().


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1423 549f2c98-2231-0410-b618-a09cd5e121c0
Fixed copy-paste error in comment.

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1424 549f2c98-2231-0410-b618-a09cd5e121c0
Remove unnecessary #include statements from headers.

Hopefully this will decrease the number of targets that need to be rebuilt
whenever a header is changed.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1425 549f2c98-2231-0410-b618-a09cd5e121c0
Refactor duplicated code into a separate function.  No functionality changes.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1426 549f2c98-2231-0410-b618-a09cd5e121c0
Temporarily rename Frame::Binding::value() to unforcedValue()

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1427 549f2c98-2231-0410-b618-a09cd5e121c0
Added Frame::Binding::copyToFrame function and eliminated some calls to unforcedValue()

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1428 549f2c98-2231-0410-b618-a09cd5e121c0
Replace function Frame::Binding::copyToFrame with Frame::importBinding for improved code clarity

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1429 549f2c98-2231-0410-b618-a09cd5e121c0
Minor API cleanup.
Frame::Binding::forcedValue() returns just the object.  To get both the object
and whether it required forcing, use forcedValue2().  Currently only one call
site requires it.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1430 549f2c98-2231-0410-b618-a09cd5e121c0
Replace calls to Frame::Binding::unforcedValue with Frame::Binding::forcedValue
in situations where the value is not allowed to be a promise.


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1431 549f2c98-2231-0410-b618-a09cd5e121c0
Convert more code that copies bindings to use importBinding() instead.
Also remove unnecessary overload of importBinding().


git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1432 549f2c98-2231-0410-b618-a09cd5e121c0
Another use of importBinding

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1433 549f2c98-2231-0410-b618-a09cd5e121c0
Fix compile error

git-svn-id: http://projects.cs.kent.ac.uk/projects/cxxr/svn/branches/kmillar/trunk@1434 549f2c98-2231-0410-b618-a09cd5e121c0