- 19 Jul, 2018 1 commit
-
-
Xianwen Chen authored
This reverts commit 0ee3da6c.
-
- 18 Jul, 2018 3 commits
-
-
Bruno Coelho authored
* Implement comments support, tests and readme documentation * improve code comments and documents comments parser when the two types of comments are one after the other * improve tests
-
Bruno Coelho authored
-
Xianwen Chen authored
-
- 17 Jul, 2018 8 commits
-
-
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.
-
Xianwen Chen authored
-
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.
-
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.
-
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.
-
Tesla Ice Zhang authored
* Added: + brace matcher + highlight for keywords * Revert license * Fix nullability bug * Update version
-
sheldonneuberger authored
* rename destroy to __destroy * update generated-src in test-suite * use _djinni_destroy * _djinni_private_destroy
-
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.
-
- 16 Jul, 2018 1 commit
-
-
John Firebaugh authored
-
- 01 May, 2018 1 commit
-
-
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
-
- 02 Mar, 2018 1 commit
-
-
Yannick Heinrich authored
* Generate an XCode like bridging header. Generates also the version number and name variable. * Add new generated headers. * Changes naming accorging to comments. * Update generated variable names.
-
- 22 Feb, 2018 1 commit
-
-
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.
-
- 04 Jan, 2018 2 commits
-
-
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
-
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.
-
- 03 Jan, 2018 1 commit
-
-
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
-
- 11 Oct, 2017 1 commit
-
-
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.
-
- 04 Oct, 2017 2 commits
-
-
Bruno Coelho authored
-
Yannick Heinrich authored
-
- 28 Sep, 2017 1 commit
-
-
Alex Choi authored
-
- 26 Sep, 2017 2 commits
-
-
Xianwen Chen authored
Fix CFStringEncoding/NSStringEncoding confusion
-
Andrew Twyman authored
-
- 06 Sep, 2017 1 commit
-
-
Josh Gustafson authored
-
- 17 Aug, 2017 1 commit
-
-
Alex Choi authored
-
- 16 Aug, 2017 1 commit
-
-
Simon Warta authored
-
- 28 Jun, 2017 1 commit
-
-
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.
-
- 10 Jun, 2017 1 commit
-
-
Andrew Twyman authored
C++ fixes for compiler issues
-
- 18 May, 2017 1 commit
-
-
Andrew Twyman authored
-
- 11 Apr, 2017 1 commit
-
-
Michael Jarrett authored
-
- 07 Apr, 2017 3 commits
-
-
Michael Jarrett authored
-
Andrew Twyman authored
Generate bridging header for Swift
-
Andrew Twyman authored
CMake to build djinni support library
-
- 06 Apr, 2017 2 commits
-
-
Michael Jarrett authored
-
Michael Jarrett authored
- Adding global namespace scope to DJINNI_ASSERT to prevent conflict with local namespaces. - Add <memory> include to reference shared_ptr. - Use temporary variable in djinni_support.hpp to avoid compiler segfault.
-
- 05 Apr, 2017 1 commit
-
-
Bruno Coelho authored
-
- 04 Apr, 2017 2 commits
-
-
Bruno Coelho authored
-
Bruno Coelho authored
-