cleanup ext_soap defines

Replaced with inline functions. Defining a global get_node macro is clowntown, and conflicts with parts of boost. These still need to be moved out of the HPHP namespace sometime, but this is an improvement.

Reviewed By: @ptarjan

Differential Revision: D1147196
Always assert when compile_file returns a null unit

We already depend on it being non-null, so failing to parse a file in an
unexpected way, such as a corrupt repo, will cause a segfault.

Reviewed By: @jdelong

Differential Revision: D1145395
HNI conversion helper script

Currently only matches functions.

Since signature mismatches in HNI natives just cause really weird
segfaults, and I keep missing the odd one, a way to make sure the
signatures match would be of use.

Closes #1636

Reviewed By: @jdelong

Differential Revision: D1147812

Pulled By: @scannell
Add pretty printing for FrameState

Useful for debugging, especially once we have inter-bytecode
control flow in the IR.

Reviewed By: @edwinsmith

Differential Revision: D1146746
Fix InstrInfo for Exit

The spec and the generated bytecode indicates that Exit
pushes a Null, but our InstrInfo has it pushing nothing.  This was
upsetting the method compiler when it tried to merge mismatched SP
offsets.

Reviewed By: @jdelong

Differential Revision: D1146904
fix ini_get_all() test assuming version number starts with 1

Incorrect test.

Reviewed By: @ptarjan

Differential Revision: D1148309
Test behavior of second arg to DateTime constructor

Received a bug report about this behavior; it's actually not a bug, but as it's very counter-intuitive, add an explicit test for it with an explanation.

Reviewed By: @ptarjan

Differential Revision: D1148154
light refactoring / cleanup.

[Framework tests] light refactoring / cleanup.

Closes #1649

Reviewed By: @ptarjan

Differential Revision: D1144909

Pulled By: @JoelMarcey
Force use of pthread_mutex_* for thread safety in libgd; de-tabify

Reviewed By: @ptarjan

Differential Revision: D1147533
Move Pair to the HH namespace

Reviewed By: @elgenie

Differential Revision: D1148413
collections: support in array_chunk() builtin

This is straight-forward ArrayIter-based iteration.

Reviewed By: @jdelong

Differential Revision: D1146375
Vector should use the tracked smart allocator

Convert Vector to use the tracked smart allocator

Reviewed By: @paroski

Differential Revision: D1148292
Add .norepo file for charset test for Travis

Add missing .norepo file

Reviewed By: @edwinsmith

Differential Revision: D1148742
Make user classes appear after builtins in get_declared_classes()

Used by phpunit.

Reviewed By: @ptarjan

Differential Revision: D1147707
change HTTPS to 'on'

This is what zend does and many frameworks assume it, so lets folly their lead.

Reviewed By: @alexmalyshev

Differential Revision: D1148181
fixup server variables

The original diff introducting these was wrong (compared to php-fpm)

* You shouldn't normalize the params, just copy them as is
* They should be available in `$_ENV` and `getenv` too
* They should overwrite anything else in the environment or server

Closes #1650

Reviewed By: @scannell

Differential Revision: D1146519
Fix OS X warning

Fix OS X warning on printf mismatch

Reviewed By: @alexmalyshev

Differential Revision: D1147516
Fix get_included_files order

Closes #1584
Closes #1389

Reviewed By: @ptarjan

Differential Revision: D1145826
Initial hhbbc support for inferring types of private static properties

This is going to give up a lot in member instruction cases
still, but it's able to get a few types already.

Reviewed By: @swtaarrs

Differential Revision: D1137136
Make use of hhbbc's static property types in the JIT

Add a RepoAuthType to each SProp, and use it in the JIT if
it's there.

This code was easiest to manipulate after removing the code sharing
between the FooS and FooG instructions.  I considered putting them
back together after that, but I think since it was easier to work with
without it and it wasn't sharing all that much, it's probably better
to leave it this way.  I'm cleaning up the FooG functions in a diff on
top of this for easier review.

Reviewed By: @bertmaher

Differential Revision: D1137138