Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP7 Support #48

Closed
wants to merge 75 commits into from
Closed

PHP7 Support #48

wants to merge 75 commits into from

Commits on May 3, 2015

  1. Configuration menu
    Copy the full SHA
    d3c7ca6 View commit details
    Browse the repository at this point in the history
  2. Update PS_SERIALIZER_ENCODE_FUNC returns a zend_string instead of pas…

    …sing in a char/int to mutate
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    bb36411 View commit details
    Browse the repository at this point in the history
  3. Update PS_SERIALIZER_DECODE_FUNC to use the new hash iteration API, p…

    …hp_session functions also expect smart_string instead of char* + int
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    39a9afd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a472e7 View commit details
    Browse the repository at this point in the history
  5. zend_uint -> uint32_t

    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    805e4a2 View commit details
    Browse the repository at this point in the history
  6. Update msgpack_serialize_zval. PHP_SET_CLASS_ATTRIBUTES now returns a…

    … zend_string instead of char* + len. IS_BOOL is not a distinct type anymore IS_TRUE/IS_FALSE instead
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    6f31cba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e75fe8a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    83f6ec0 View commit details
    Browse the repository at this point in the history
  9. Refactor msgpack_serialize_class to use new hash API and one level le…

    …ss of zval indirection
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    8793909 View commit details
    Browse the repository at this point in the history
  10. Refactor msgpack_unserialize_class to drop one level of zval deferenc…

    …e, and zend_string instead of char+int for zend_lookup_class
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    fbc4e8e View commit details
    Browse the repository at this point in the history
  11. Remove unused macros from msgpack_unpack.c, update msgpack_var_push a…

    …nd msgpack_unserialize_raw to have one level less of dereference
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    4f1e6e7 View commit details
    Browse the repository at this point in the history
  12. Update msgpack_unserialize_map_item to handle zend_string inputs and …

    …macro removal PHP 5 -> 7
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    8814fdd View commit details
    Browse the repository at this point in the history
  13. Replace MSGPACK_UNPACKER_OBJECT and MSGPACK_BASE_OBJECT macros with m…

    …sgpack_unpacker_fetch_object and msgpack_base_fetch_object
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    41800b5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    51f7642 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    01d6519 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8e8e23c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    67deff3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e5ec207 View commit details
    Browse the repository at this point in the history
  19. Update ZEND_FUNCTION declaration of msgpack_unserialize to use new ze…

    …nd_parse_parameters, which returns a zend_string instead of char+int
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    272eebd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c52e1a7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ff23828 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3137c5b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    19e32ed View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a765bd8 View commit details
    Browse the repository at this point in the history
  25. msgpack_unserialize_map_item was incorrectly ported, MSGPACK_WARNING …

    …was being fired when zend_symtable_update succeeded instead of failed
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    f1388a6 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    9d6d636 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    aaeee58 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    d9b6553 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b37104b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    f5b47f8 View commit details
    Browse the repository at this point in the history
  31. FIXME add temporary version of ALLOC_INIT_ZVAL to msgpack_unpack, unt…

    …il we I do a proper refactor of zval allocation for the MSGPACK_UNSERIALIZE_ALLOC_STACK and MSGPACK_UNSERIALIZE_ALLOC_VALUE macros
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    774659c View commit details
    Browse the repository at this point in the history
  32. msgpack_serialize_class expects a list of keys, not a map. Update msg…

    …pack_serialize_object so it passes an initalized zval to call_user_function_ex
    Sean-Der committed May 3, 2015
    Configuration menu
    Copy the full SHA
    487f76d View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    85f58f4 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2015

  1. Update var_push/stack_push to use a var_entries where data is a zval[…

    …] instead of *zval[], following the current pattern in ext/standard/var_unserializer.re
    Sean-Der committed May 4, 2015
    Configuration menu
    Copy the full SHA
    ea2d5be View commit details
    Browse the repository at this point in the history

Commits on May 5, 2015

  1. FIXME: Comment out the call_user_function_ex calls implemented via op…

    …codes, still need to migrate
    Sean-Der committed May 5, 2015
    Configuration menu
    Copy the full SHA
    76d5a8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4baa8e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2015

  1. Configuration menu
    Copy the full SHA
    4e19afa View commit details
    Browse the repository at this point in the history
  2. Update ZEND_METHOD(msgpack_unpacker, feed) to use a zend_string for z…

    …end_parse_parameters instead of val+len
    Sean-Der committed May 7, 2015
    Configuration menu
    Copy the full SHA
    51960ae View commit details
    Browse the repository at this point in the history
  3. When updating a class in msgpack_unserialize_map_item call zend_updat…

    …e_property to update a class instead of zend_symtable_update, which would cause undefined behavior
    Sean-Der committed May 7, 2015
    Configuration menu
    Copy the full SHA
    3e67e92 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2015

  1. Update msgpack_unserialize_map_item to properly handle adding element…

    …s to a map that is a reference
    Sean-Der committed May 9, 2015
    Configuration menu
    Copy the full SHA
    591b3b3 View commit details
    Browse the repository at this point in the history
  2. Update msgpack_var_add to return to the index of an already serialize…

    …d object as a zval instead of a ulong
    Sean-Der committed May 9, 2015
    Configuration menu
    Copy the full SHA
    0cd9aed View commit details
    Browse the repository at this point in the history

Commits on May 10, 2015

  1. Update msgpack_unserialize_map_item to unmangle the property key set …

    …by zend_mangle_propery_name, since we now use zend_update_property instead of zend_symtable_update
    Sean-Der committed May 10, 2015
    Configuration menu
    Copy the full SHA
    12c8a02 View commit details
    Browse the repository at this point in the history
  2. Update msgpack_var_access to use a zval** instead of a zval*** when f…

    …etching a value, fixing the caller
    Sean-Der committed May 10, 2015
    Configuration menu
    Copy the full SHA
    70557c8 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2015

  1. Configuration menu
    Copy the full SHA
    5306649 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    414f72b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2015

  1. MSGPACK_UNPACK_CONTINUE returned from template_execute means we shoul…

    …d return false, fixes test 018
    Sean-Der committed May 12, 2015
    Configuration menu
    Copy the full SHA
    94d6f04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60a3044 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    308e918 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2015

  1. Configuration menu
    Copy the full SHA
    b265cd9 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2015

  1. Fix memory leak, don't make pointless dupe of zval string when updati…

    …ng a map with a string key
    Sean-Der committed May 15, 2015
    Configuration menu
    Copy the full SHA
    a40f0e7 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2015

  1. Configuration menu
    Copy the full SHA
    1185dba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93ec0c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    351c29c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2247ba1 View commit details
    Browse the repository at this point in the history
  5. In msgpack_serialize_object allocate strings later, to make error han…

    …dling and freeing cleaner
    Sean-Der committed May 16, 2015
    Configuration menu
    Copy the full SHA
    210da3d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    45d832a View commit details
    Browse the repository at this point in the history
  7. PS_SERIALIZER_ENCODE_FUNC would pass an null zval * as return_value t…

    …o msgpack_unserialize_var_destroy causing a segfault
    Sean-Der committed May 16, 2015
    Configuration menu
    Copy the full SHA
    f1b108a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2015

  1. Configuration menu
    Copy the full SHA
    caa80cb View commit details
    Browse the repository at this point in the history

Commits on May 18, 2015

  1. Configuration menu
    Copy the full SHA
    3a75af1 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2015

  1. Configuration menu
    Copy the full SHA
    676e6bd View commit details
    Browse the repository at this point in the history
  2. msgpack_unserialize_class now properly handles references, before it …

    …would object_init_ex and squash the zval ref
    Sean-Der committed May 20, 2015
    Configuration menu
    Copy the full SHA
    6fbc26a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88217d0 View commit details
    Browse the repository at this point in the history
  4. Remove MSGPACK_METHOD1 macro which created the necessary opcodes to c…

    …all a method on an object, use call_user_function_ex instead
    Sean-Der committed May 20, 2015
    Configuration menu
    Copy the full SHA
    f53f484 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2015

  1. Configuration menu
    Copy the full SHA
    b1a2abc View commit details
    Browse the repository at this point in the history
  2. Z_LVAL_P on a boolean is no longer valid, msgpack->setOption incorrec…

    …tly set php_only using Z_LVAL_P causing it to always be true
    Sean-Der committed May 22, 2015
    Configuration menu
    Copy the full SHA
    3fb45c3 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2015

  1. Began converting msgpack_convert.c from using symtable_update to upda…

    …te properties to proper zend_object handlers
    Sean-Der committed May 26, 2015
    Configuration menu
    Copy the full SHA
    3572938 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db405c4 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2015

  1. Configuration menu
    Copy the full SHA
    3866934 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2015

  1. Configuration menu
    Copy the full SHA
    fd19e23 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2015

  1. Configuration menu
    Copy the full SHA
    edcaeda View commit details
    Browse the repository at this point in the history

Commits on May 30, 2015

  1. Fix unpacking code, we can't just reuse the stack anymore since the z…

    …val's are still used by non_dtor members
    Sean-Der committed May 30, 2015
    Configuration menu
    Copy the full SHA
    c51a499 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2015

  1. Configuration menu
    Copy the full SHA
    0ecf768 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2015

  1. Configuration menu
    Copy the full SHA
    138072b View commit details
    Browse the repository at this point in the history
  2. Update msgpack_convert_template tests to assert we can create create …

    …invalid objects (non-string and 0 length keys)
    Sean-Der committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    94ad5fd View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2015

  1. Configuration menu
    Copy the full SHA
    7bdfe4b View commit details
    Browse the repository at this point in the history