Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Worthy of first commit * Add actual generator * Tweak pubspec.yaml for bette PANA score * move ejson project into ejson folder * Rudimentary generator inplace * Custom decoding tests * Fix realm generator tests * Update pubspec repo ref * wip * Add copyright headers * Fix multi parameter ctor bug. More tests * Add bad input test, and cheat a bit for dynamic tests * A few compile tests in place * Split in multiple project and move to melos * Basic source error reporting * add qa script to melos.yaml (combines format:check, analyze, and test) * testCompile supports skip * Enable melos qa on github actions * Use utc in test * Add LICENSE file + repo link in pubspecs * More melos magic * Make ejson package public * Add internal dep * Use >- over | to work around windows line ending issue * Force \n in DartFormatter due to windows line ending issue * Drop qa:static scripts (qa:full calls qa) * Fix bug in testCompile * format and check coverage * Use ejson in realm * Lint rules (WIP) * Report lints as errors instead of infos * Use links for LICENSE file * Link READMEs * Expand melos:qa to include test:lints and analyze:deps * Fix tests after rebase * Support ObjectId and Uuid out-of-the-box * Update analyzer dependency for ejson * Update lint related deps * Fix lints and tests * Run builder runner * Fix realm generator tests * Flatten package structure * Avoid path deps in public packages and remove publish_to: * Add melos support * Add lints package on bootstrap Ensure lints is added to all packages during bootstrap, if missing * Simplify CI a bit with melos * Update root .gitignore * build_native.dart (wip) * Split bootstrap pre-hook into separate setup script (for speed when setup not needed) * Align SDK requirement (handled by melos bootstrap) * melos bootstrap needed This is because some packages are not published yet * fixup: bad rebase * Reorder steps * missing deps in example * Cleanup .gitignore hierarchy * Align analysis_options.yaml files with symlinks * realm/example is a flutter project * Remove last remnants of toplevel ejson folder * Tweak melos.yaml * TMP: workaround * Coverage (wip) * Use combine_coverage package instead of lcov * Only report on lib folder * Prune coverage a bit * Don't run tests twice * Skip redundant step * Update checkout action to v4 * Update upload-artifact action to v4 * Update download-artifact action to v4 * Update dorny/test-reporter action to v1.8.0 * Skip redundant step * Update actions/setup-java action to v4 * Update gradle/gradle-build-action action to v3 * Don't use random github action to install ninja-build. It is not maintained * Update futureware-tech/simulator-action action to v3 * Update geekyeggo/delete-artifact action to v4 * Fix symlink blunder * Tighten analysis rules * add upgrade script to melos.yaml * bump custom_lint_builder * tweak publish-release.yml * Update format and lint:format to not touch generated files (workaround for dart-lang/dart_style#864) * Implicit casts made explicit, as mandated by stricter analysis_options.yaml * melos run format * tweak melos.yaml * Fix lints and increase coverage * switch to melos coverage:groom * strong-mode has been superceeded by strict * enable custom_lint tools * Add example to package ejson * Fix missing quotes on int and double values in canonical mode * Relax Array type from LIst to Iterable * Update a ejson_lint/example README.md * Fix missing quotes on DateTime in canonical mode * Fix ejson_generator tests * Only install ninja on linux builds * Tweak a test * Force a new native build.. * Tweak condition for Ninja (android- & linux-) * Fix linux.. and simplify * Upgrade realm-core to v14.0.1 * testing hypothesis * Rework install command * Drop ejson_serialization_setup.g.dart (for now) * Support Uint8List * Get rid of to<T> extension (use fromJson<T> instead) * Update ejson codecs * Fix "generator" tests * Fix realm_value_test.dart * Convert coverage, despite test failure * More encoding tests * Fix blunder regarding canonical vs. relaxed * Don't forget windows *sigh* * Split test and coverage handling * Small formatting error * Use super.<x> syntax * Drop some imports * Don't use _ prefix on already local stuff * DateTime codec use local time in relaxed mode, but millisecondSinceEpoch (utc) in canonical mode * export ejson.dart from realm.dart to avoid extra import in user code * export ejson_annotation.dart from ejson.dart to avoid extra import in user code * Update copyright * Remove redundant "library;" * Remove the now unnecesary imports * Remove deprecated exports * Add unsynced to CSpell * Don't use ejson_generator for realm objects, but have realm_generator create the codec pair * Update .expected files * Drop dep on ejson_annotation and ejson_generator * Rerun generator (.g.dart files no longer generated) * format * Absolute symlinks should be relative * Upgrade simulator to iPhone SE (3rd generation) * Update example with to/From-EJson * Update CHANGELOG * Dart doc updates * Missing headers * Missing headers .. unrelated to ejson * Implement PR feedback (part 1) * Refactor int.toEJson to take an optional forcedFormat argument, and otherwise infer format from size of value * Add toEJsonString and fromEJsonString<T> convinience functions * Missing tests for Uint8List aka binary with subtype '00' * Fix Uint8List decoding bug * Generate registerX function * Refactor realm_generator EJSON support a bit * fix realm example * Update CONTRIBUTING.md * No need to build realm_dart for maccatalyst by default, as flutter doesn't currentlys * More work on build.dart * Update build:native script to use tool/build.dart * A bit of gold plating.. * .. and some bugfixes * Important to drain both stdout and stderr
- Loading branch information