Added auto yes to apt-get install in configure_ubuntu_12.04.sh
Revert "Drop "de-const" cast hack from API migration"

This reverts commit 2678af0f83d35530c4285295419ea5ebcb79113d.

Reviewed By: @bertmaher

Differential Revision: D1038880
Don't interp one {Class,Interface,Trait}Exists as much

Reviewed By: @swtaarrs

Differential Revision: D1038082
Don't punt on Clone; call ObjectData::clone from TC

Reviewed By: @swtaarrs

Differential Revision: D1038227
do normalizeNS in GetNamedEntity

Lets see if we can put this up to `GetNamedEntity`. It is a LOT cleaner this way and fixes the bug in the attached class.

I still need the helper as constants don't have `NamedEntities`.

Reviewed By: @markw65

Differential Revision: D1032816
Dump IR after ref-count optimization when validation fails

Just that.

Reviewed By: aravind

Differential Revision: D1038415
Reflection Zend compatibility fix for Relfection::getStaticProperties

getStaticProperties returns an array with propName => value and not a propName => propInfo

Reviewed By: @ptarjan

Differential Revision: D1033668
collections: teach implode() about collections

very straight-forward, since ##isContainer##,
 ##getContainerSize##, and ##ArrayIter## are already collection
 friendly.

Reviewed By: @paroski

Differential Revision: D1031865
Support (gpr,gpr)=>xmm movs in shuffle2

If you turn off Precoloring without turning off XMM support,
stuff breaks due to not copying Cell values coming back from
calls, from (eax,edx) to whatever full xmm register was assigned.

Reviewed By: @ottoni

Differential Revision: D1037919
Framework Script Refactoring #1

No change in functionality. Just some refactoring. Putting methods in classes. Common forking and bucketing method. Etc.

Next up:

Timeout bug
Alphebetize expect file
More refactoring

Reviewed By: @ptarjan

Differential Revision: D1039348
Fix a bug when lookupClsMethodHelper needs to fatal

It forgot to propagate the exception.

Reviewed By: @bertmaher

Differential Revision: D1039332
Avoid VerifyParamType on specialized object types, when possible

This can kick in if you inline a function, passing an
argument that came directly from AllocObj, but isn't measurable on the
site.

Reviewed By: @bertmaher

Differential Revision: D1038352
Fix (Hopefully) the timeout/deadlock issue...

Some tests would deadlock, even with the specified timeout. So I added some more stream_select statements before appropriate fgets calls.

Reviewed By: @ptarjan

Differential Revision: D1039419
Clean up object/resource destruction

More changes to avoid mulitiple copies of destruct
sequences, to make it easier to modify the incRef/decRef
code.

No intentional changes to behavior/performance

Reviewed By: @jdelong

Differential Revision: D1038763
Refcount validator fix

Check countness of current SSATmp, not the original SSATmp for
refcount validation. Passthrough instructions like CheckType<Int>
can cause the countness to change.

Reviewed By: @ottoni

Differential Revision: D1038437
make preg_replace work with /e

Remove a lot of the HPHPc hacks and do real eval. I could have re-used the escaping but the code was a bit cleaner like this

Reviewed By: @markw65

Differential Revision: D1015443
Use type aliases instead of inheritance in smart-containers.h

Because it's the right thing to do. We overrode the default
constructor for hash_map so I left that alone for now.

Reviewed By: @jdelong

Differential Revision: D1035287
Add TypedResults for MySQL extension

Introduced MySQL TypedResults runtime parameter, which allows
switching from HHVM behavior of returning also ints and doubles from
MySQL results to Zend behavior of returning only strings and nulls.

Closes #1237
Closes #1238

Reviewed By: @ptarjan

Differential Revision: D1038046

Pulled By: @scannell
Fix a bug in my previous fix of SetL/BindL logic

Silly me, I thought that box() does sort of the opposite of unbox(). To
wit, I thought it would box Cells and pass through already-boxed stuff.
Turns out it assert-fails on already-boxed stuff.

Reviewed By: @swtaarrs

Differential Revision: D1038748
Delete unused option ThreadingJit

It was dead

Reviewed By: @markw65

Differential Revision: D1039955