1. 06 Sep, 2017 1 commit
  2. 17 Aug, 2017 1 commit
  3. 16 Aug, 2017 1 commit
  4. 28 Jun, 2017 1 commit
    • Guillaume Giraud's avatar
      [Android] Fix Djinni initialization crash in multi shared library case (#310) · b55ac101
      Guillaume Giraud authored
      Fix Djinni initialization crash in multi shared library case on Android (i.e. djinni_support_lib is a shared library used by other shared libraries).
      
      Replaced generic static_registration class with non-templatized helpers in JniClassInitializer, which simplifies the code and avoids the issues of multiple instantiations of the same static data.
      b55ac101
  5. 10 Jun, 2017 1 commit
  6. 18 May, 2017 1 commit
  7. 11 Apr, 2017 1 commit
  8. 07 Apr, 2017 3 commits
  9. 06 Apr, 2017 2 commits
  10. 05 Apr, 2017 1 commit
  11. 04 Apr, 2017 4 commits
  12. 03 Apr, 2017 2 commits
  13. 31 Mar, 2017 2 commits
  14. 16 Mar, 2017 1 commit
  15. 14 Mar, 2017 1 commit
  16. 10 Mar, 2017 1 commit
  17. 01 Feb, 2017 1 commit
  18. 22 Jan, 2017 1 commit
  19. 20 Jan, 2017 1 commit
  20. 19 Jan, 2017 1 commit
  21. 14 Jan, 2017 1 commit
  22. 12 Jan, 2017 2 commits
  23. 06 Jan, 2017 1 commit
  24. 04 Jan, 2017 1 commit
  25. 28 Dec, 2016 1 commit
  26. 23 Dec, 2016 4 commits
    • Andrew Twyman's avatar
      Add @autorelease pool in ObjC proxy destructors · 7f9bfef5
      Andrew Twyman authored
      This is fixing a memory leak found in Dropbox's iOS networking libraries. Some ObjC objects were being autoreleased into a pool which is never flushed (the top-level pool on a C++-owned thread. This was Djinni violating its contracts around language isolation. The root cause turned out to be the destructor of an ObjcProxy object. Since it's called directly from C++, and does all its work in destructors, it was manipulating ObjC objects without an @autoreleasepool.
      
      The fix is more complex than I'd like due to the need to arrange for destructors to run inside of an @autorelease block, which forces an awkward code structure. Furthermore, I can't use optional without knowing what namespace to look in to find nullopt, which isn't easily extractable from Djinni's current usage, so I had to write my own. I'd very much like to find a simpler fix, so suggested follow-on diffs are welcome.
      7f9bfef5
    • Andrew Twyman's avatar
      djinni_jni_main target · b33d05de
      Andrew Twyman authored
      Add a target for djinni_main.cpp, and use a new technique I discovered to make sure its JNI symbols are exposed by the shared-lib which contains it.
      b33d05de
    • Andrew Twyman's avatar
    • Andrew Twyman's avatar
      Update ObjC build files for Xcode 8.2 · ef936c4c
      Andrew Twyman authored
      ef936c4c
  27. 09 Dec, 2016 2 commits