1. 22 Nov, 2018 1 commit
  2. 19 Jul, 2018 1 commit
  3. 18 Jul, 2018 3 commits
  4. 17 Jul, 2018 8 commits
    • John Firebaugh's avatar
      Fix run and run-assume-built scripts when CDPATH is set (#358) · 9d118948
      John Firebaugh authored
      When the CDPATH environment variable is set, the cd command prints the path of the directory to stdout. Redirect that output to /dev/null to avoid it being mistakenly included in the base_dir variable, which then causes cryptic errors.
      9d118948
    • Xianwen Chen's avatar
      Update generated source code · 28b6e911
      Xianwen Chen authored
      28b6e911
    • Chris Simmons's avatar
      Optionally generate interfaces in Java when possible (#288) · b4d8d0f1
      Chris Simmons authored
      * Merge mrdomino's Java interface change with a more recent version of the repo.
      
      * Make generating interfaces instead of abstract classes optional.
      
      * Allow generation of Java interfaces when the Djinni interface is a +c interface and when the Djinni interface includes constants.
      
      * Also omit "public" from constants in a Java interface.
      
      * Revert "Also omit "public" from constants in a Java interface."
      
      This reverts commit a4245b35d84150d9c2c51781780dc68318bf48a6.
      
      * Omit "public" from constants in a Java interface.
      
      * If Java interfaces were requested, generate them regardless of whether the interfaces include static methods.
      
      * Keep CppProxy private if not generating interfaces.
      
      * Change the java tests' target java version to 1.8.
      
      * Place static natic methods in an inner class.
      
      * Remove the StaticNative class and just use CppProxy.
      
      * Minor edits.
      
      * Don't use  --java-generate-interfaces in the yaml test, in order to exercise the code that runs when  --java-generate-interfaces isn't used.
      
      * Revert "Don't use  --java-generate-interfaces in the yaml test, in order to exercise the code that runs when  --java-generate-interfaces isn't used."
      
      This reverts commit cd86c27df026193fe497918eadd064e39076d606.
      
      * Build the example Android project with Java 8.
      b4d8d0f1
    • Jon McClung's avatar
      Check for Duplicate Output Paths (#381) · e1dd18e5
      Jon McClung authored
      * Check for Duplicate Output Paths
      
      This adds some simple logic to check whether files are set to overwrite each other. This is especially helpful for newcomers who are confused when the default settings cause this issue.
      
      * Simplified Implementation
      
      I realized that the existing codebase actually already does this for files created by the same generator. This change makes it apply to all generators, preventing cross-language overwriting.
      e1dd18e5
    • Jon McClung's avatar
      Provides Clang Compatibility (#378) · 7941eec4
      Jon McClung authored
      * Provides compatibility for clang
      
      Without this, clang will treat it as an error that `jniDefaultSetPendingFromCurrent` could potentially throw an uncaught exception.
      
      * Update djinni_support.cpp
      
      typo
      
      * Renamed function and added comment for rationale.
      
      * Whitespace for proper alignment
      
      * Check for Duplicate Output Paths
      
      This adds some simple logic to check whether files are set to overwrite each other. This is especially helpful for newcomers who are confused when the default settings cause this issue.
      
      * Revert "Check for Duplicate Output Paths"
      
      This reverts commit 06441f47e0e8685b48ac3a5ddcf743a6315433d2.
      7941eec4
    • Tesla Ice Zhang's avatar
      Improve IDEA plugin (#363) · 776207cf
      Tesla Ice Zhang authored
      * Added:
      
      + brace matcher
      + highlight for keywords
      
      * Revert license
      
      * Fix nullability bug
      
      * Update version
      776207cf
    • sheldonneuberger's avatar
      Rename destroy() to __destroy() (#365) · f29210d5
      sheldonneuberger authored
      * rename destroy to __destroy
      
      * update generated-src in test-suite
      
      * use _djinni_destroy
      
      * _djinni_private_destroy
      f29210d5
    • Xianwen Chen's avatar
      Separate `constant_enum` to `constant_enum.djinni (#385) · 2ab4b4e4
      Xianwen Chen authored
      Separate constant_enum to constant_enum.djinni, to exclude it from
      common.djinni, so that it wouldn’t be picked up by Python in
      python branch.
      
      Otherwise it causes failure in python branch since constant enum feature is
      not implemented for Python.
      2ab4b4e4
  5. 16 Jul, 2018 1 commit
  6. 01 May, 2018 1 commit
    • alancast's avatar
      Added support for constexpr for primitives in header files (#354) · a38f5ee8
      alancast authored
      * Got a basic version of constexpr in headers working
      
      * got enum values to work as well
      
      * can't do enums because interface headers forward declare so you can't set it there. So only primitives allowed
      
      * fixing const enums in obj-c, which apparently never worked to begin with
      a38f5ee8
  7. 02 Mar, 2018 1 commit
  8. 22 Feb, 2018 1 commit
    • Louis Wilson's avatar
      Follow naming convention for parameter names in method docstrings (#352) · 0001a3e8
      Louis Wilson authored
      * Update parameter names in documentation
      
      Because parameter names may not be written in the same format between
      C++, Objective-C, and Java, it is impossible to have doxygen- or
      javadoc-style @param annotations that match for all languages. This
      change simply looks for "@param <PARAMNAME>" in the docstring and
      rewrites it the same way as the sourcecode does.
      
      * Replace all occurrences of parameter name in docstring
      
      * Also update Java for static methods
      
      * Add multi-word parameter name to test suite
      
      And reference it from the docstring.
      
      * Revert "Add multi-word parameter name to test suite"
      
      This reverts commit 785a22690ff14261fc7c4843984d467784956a47.
      
      * Add multi-word parameter name to test suite
      
      And reference it from the docstring.
      0001a3e8
  9. 04 Jan, 2018 2 commits
    • Sebastian Schuberth's avatar
      Upgrade example build (#339) · 565425de
      Sebastian Schuberth authored
      * example: Guard against ndkDir being null at configuration time
      
      This is a follow-up to PR #329.
      
      * example: Upgrade to Android Gradle plugin 3.0.1
      
      Each version of the Android Gradle Plugin now has a default version of the
      build tools. The "compile" configuration was renamed to "implementation".
      
      * example: Upgrade to Gradle 4.4.1
      565425de
    • Xianwen Chen's avatar
      Separate `flags` to `enum_flags.djinni` (#346) · 86ba6b5d
      Xianwen Chen authored
      Separate `flags` to `enum_flags.djinni`, to exclude it from
      `common.djinni`, so that it wouldn’t be picked up by Python  in
      `python` branch.
      
      Otherwise it causes failure in `python` branch since flags feature is
      not implemented.
      86ba6b5d
  10. 03 Jan, 2018 1 commit
    • Yannick Heinrich's avatar
      Add a script to build static fat binary lib. (#341) · ddbe4d94
      Yannick Heinrich authored
      * Add a script to build static fat  binary lib.
      
      Based on the platform file provided by the
      [ios-cmake](https://github.com/leetal/ios-cmake) repository,
      the script generates a fat static library based on the architectures
      specified by the `BUILD_ARCHITECTURES` variable.
      
      * Update according to the discussion
      
      - Rename the name of the script
      - Clarify what does the script
      
      * Move the build script.
      
      * Move script to support lib directory
      ddbe4d94
  11. 11 Oct, 2017 1 commit
    • Sebastian Schuberth's avatar
      Upgrade the example to Gradle 4.2 and Android plugin 2.3.3 (#329) · e675e319
      Sebastian Schuberth authored
      * Upgrade the example to Gradle 4.2 and Android plugin 2.3.3
      
      Along with the necessary build system adjustments.
      
      * Move the NDK checks to Gradle execution phase
      
      Do not check for the NDK during Gradle configurion phase, otherwise a
      simple "gradle tasks" would fail if no NDK is configured. Do the checks
      later when the ndkBuild task is actually executed.
      e675e319
  12. 04 Oct, 2017 2 commits
  13. 28 Sep, 2017 1 commit
  14. 26 Sep, 2017 2 commits
  15. 06 Sep, 2017 1 commit
  16. 17 Aug, 2017 1 commit
  17. 16 Aug, 2017 1 commit
  18. 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
  19. 10 Jun, 2017 1 commit
  20. 18 May, 2017 1 commit
  21. 11 Apr, 2017 1 commit
  22. 07 Apr, 2017 3 commits
  23. 06 Apr, 2017 2 commits
  24. 05 Apr, 2017 1 commit
  25. 04 Apr, 2017 1 commit