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