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