Only use -Wno-maybe-uninitialized on GCC >= 4.7.0
Ignore warnings from unused attributes
Export Satellite active and queued counts

The Satellite servers didn't expose how many threads were
running and how many were queued.

Reviewed By: @markw65

Differential Revision: D958689
import yaml extension

I'm putting this in the facebook directory since I don't want to add yaml as a depedancy for the OSS version. This isn't even in the public version of php.net it is in pear, but I want this to set the precident of how to import pear extensions (until @sgolemon makes us a better way). At least this way we get the unit tests.

Reviewed By: @sgolemon

Differential Revision: D942072
build resource part of zend importer

This started off as importing the enchant extension but since that library is horrible to work with, I'm not importing it. The resource stuff will be used by ftp and oauth. I can squash this into them or leave it out.

Reviewed By: @sgolemon

Differential Revision: D943019
add ftp library

This is a good one. It doesn't need an external library and found a ton of corner cases I screwed up. It also got my stream handling much more solid.

I had to wrap other streams as they came into the extension and then unwrap them on the way out

Reviewed By: @sgolemon

Differential Revision: D945250
make extension_loaded() true for all ext_zend

and add skipif to all tests

Reviewed By: @sgolemon

Differential Revision: D958951
Initialize addrlen before calling accept()

We were passing a garbage value to accept(), making it fail
intermittently.  (A big value will silently pass and could
corrupt memory).  Apparently the value got randomly smaller
with our switch to gcc 4.8.1

Reviewed By: @jdelong

Differential Revision: D960745
Some fixes for building stuff with clang

Not that much.

Reviewed By: @oyamauchi

Differential Revision: D954663
Fix misuse of InitFiniNode

You can't create these on the stack.

Reviewed By: @edwinsmith

Differential Revision: D960750
Remove backup_gc for now

It doesn't quite work, so maintaining it is not worthwhile.
We can fish it out of source control history if we want to use it as a
starting point for something later.

Reviewed By: @edwinsmith

Differential Revision: D959811
Remove direct StringData use in fb_compact_serialize

I want to make append() return a new StringData*, so removing
callsites that don't check for that.  StringBuffer should be better
here anyway.  Also fixes an exception safety bug.

Reviewed By: andrii

Differential Revision: D957816
Move function definitions out of ir.cpp

Minor cleanup; IRInstruction and SSATmp have dedicated headers,
so might as well organize the function bodies that way too.

Reviewed By: @jdelong

Differential Revision: D960927
Use correct expectf token.

Need to match more generically

Reviewed By: @ptarjan

Differential Revision: D960619
Revert "make simplexml xpath return original objects"

This reverts commit d44b74fec1c4c01114185cc84009bbb1562ca716.

Reviewed By: @jdelong

Differential Revision: D960763
Fix bug that omitted VerifyParamTypes on Xhp hints

This was only supposed to omit ?Xhp checks, but I messed it
up ....

Reviewed By: @markw65

Differential Revision: D957536
Fix compare() bug in TypeAnnotation::dataType()

Fix comparison logic in TypeAnnotation::dataType(), which was causing
the result of f_hash_algos() to be type-punned from KindOfArray to
KindOfObject.

Reviewed By: @markw65

Differential Revision: D961159
fix inlining warnings

Noticed these warnings when building on OSX.

Reviewed By: @jdelong

Differential Revision: D958997
Improve RecursiveIteratorIterator Zend compat

- Added methods and callbacks: beginChildren, beginIteration, callGetChildren, callHasChildren, endChildren, endIteration, getDepth, getMaxDepth, getSubIterator, nextElement, setMaxDepth.

Closes #1006

Reviewed By: @ptarjan

Differential Revision: D953349

Pulled By: @scannell
Replace Type::from(RuntimeType|DataType|DynLocation) with constructors

These have always bothered me. They only exist as historical
baggage from back before Type was a real class. I also took this
opportunity to convert everything in the jit to use KindOfAny instead
of KindOfInvalid/KindOfUnknown, mostly to clean up conversions from
DataType -> JIT::Type.

Reviewed By: @jdelong

Differential Revision: D960018
Differential Revision: D963452