1. 07 Apr, 2017 2 commits
  2. 05 Apr, 2017 1 commit
  3. 04 Apr, 2017 4 commits
  4. 03 Apr, 2017 2 commits
  5. 31 Mar, 2017 2 commits
  6. 16 Mar, 2017 1 commit
  7. 14 Mar, 2017 1 commit
  8. 10 Mar, 2017 1 commit
  9. 01 Feb, 2017 1 commit
  10. 22 Jan, 2017 1 commit
  11. 20 Jan, 2017 1 commit
  12. 19 Jan, 2017 1 commit
  13. 14 Jan, 2017 1 commit
  14. 12 Jan, 2017 2 commits
  15. 06 Jan, 2017 1 commit
  16. 04 Jan, 2017 1 commit
  17. 28 Dec, 2016 1 commit
  18. 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
  19. 09 Dec, 2016 5 commits
  20. 12 Nov, 2016 1 commit
  21. 10 Nov, 2016 1 commit
  22. 05 Nov, 2016 5 commits