NX
  1. NX

nx

Public

Commits

AuthorCommitMessageCommit DateIssues
Landon FullerLandon Fuller
8633d36ccf2MMerge branch 'release/1.0'
Landon FullerLandon Fuller
2e825556e90MMerge branch 'feature/SNX-4-publish-1.0.1-to-maven-central' into release/1.0SNX-4
Landon FullerLandon Fuller
40142ec3b2fSetting version to 1.1-SNAPSHOT
Landon FullerLandon Fuller
2ad1ae6648cSetting version to 1.0.1
Landon FullerLandon Fuller
67e04f6916cUpdate instructions for use with Maven Central. Issue: SNX-4SNX-4
Landon FullerLandon Fuller
bc4325d1d31Update release settings for Maven Central. See also https://issues.sonatype.org/browse/OSSRH-11912 Issue: SNX-42 JIRA Issues
Landon FullerLandon Fuller
aa85caff8d2Update to sbt 0.13.6 Among other improvements, this also defaults to HTTPS-based fetching of Maven Central dependencies. Issue: SNX-4SNX-4
Landon FullerLandon Fuller
1db603a51a1MMerge branch 'release/1.0' Conflicts: build.sbt
Landon FullerLandon Fuller
fd3e8cb7a71Setting version to 1.1-SNAPSHOT
Landon FullerLandon Fuller
fbdf6731bb1Setting version to 1.0.1
Landon FullerLandon Fuller
cef1de7fd57MMerge branch 'release/1.0' into feature/SNX-3-publish-scala-2.11-releaseSNX-3
Landon FullerLandon Fuller
2e8cb1d3c9aUpdate the README to point at the upcoming 1.0.1 release. Issue: SNX-3SNX-3
Landon FullerLandon Fuller
8cff6b4f38fTarget 2.11 by default and migrate away from compiler/macro APIs deprecated in 2.11. To continue supporting 2.10, this commit also adds 2.11 API compatibility shims to the MacroCompat class. Issue: SNX-3SNX-3
Landon FullerLandon Fuller
0979e07175dUpdate for 2.11-RC1 / 2.10.4 Issue: SNX-2SNX-2
Landon FullerLandon Fuller
cfdfd74e67aSetting version to 1.1-SNAPSHOT Issue: SNX-1SNX-1
Landon FullerLandon Fuller
9794f8d8358Setting version to 1.0 Issue: SNX-1SNX-1
Landon FullerLandon Fuller
08a8ad553d4Setting version to 1.0
Landon FullerLandon Fuller
c633dd9642aExpand the usage guide. This adds coverage for: - try+catch - non-static extractors and pattern matching - @throws application - @UncheckedExceptions Issue: SNX-1SNX-1
Landon FullerLandon Fuller
7c516410419Update release version number. Issue: SNX-1SNX-1
Landon FullerLandon Fuller
829b3d5a8ecFix a small typo.
Landon FullerLandon Fuller
c5dcb7333a3Add a README file.
Landon FullerLandon Fuller
736b68d0927Add a publishing target.
Landon FullerLandon Fuller
01445bb3b81Integrate sbt-release plugin
Landon FullerLandon Fuller
d0bb572b74cDrop Try() macro. Without inference of the return type (and even then), this seems to be more trouble than it's worth.
Landon FullerLandon Fuller
84be1f47bd5Fix scaladoc link.
Landon FullerLandon Fuller
cabbb8ba97cChange macro name back to assertNonThrows.
Landon FullerLandon Fuller
ed5210f06a2Fix documentation link
Landon FullerLandon Fuller
b56fa121ddfDrop unused import.
Landon FullerLandon Fuller
ab32d9fceb1Fix stale import statement.
Landon FullerLandon Fuller
023709b1800Fix 2.11 build.
Landon FullerLandon Fuller
4f682fc98c1Move ValidationResult to the 'internal' package.
Landon FullerLandon Fuller
c01403c748dFix broken comment link.
Landon FullerLandon Fuller
295d6dbda49Unify the two macro objects.
Landon FullerLandon Fuller
1c6c758b89aRename 'Macro' to 'Macros'.
Landon FullerLandon Fuller
50f31bb8522Rename 'NX' to the more descriptive 'Validator' and move it to the internal package.
Landon FullerLandon Fuller
2958440113aLift all the NX macros out into the 'nx' package, and provide non-ambigious names.
Landon FullerLandon Fuller
91479a4a837Ensure that the macros use the same checked exception strategy as is configured for the compiler.
Landon FullerLandon Fuller
6dced415728Fix broken documentation links to Java's AssertionError.
Landon FullerLandon Fuller
664cb7a9f2dClean up the Try unit tests.
Landon FullerLandon Fuller
417362e7c60Lift NX to coop.plausible.nx (instead of coop.plausible.scala.nx)
Landon FullerLandon Fuller
0a831d7d8e5Implement assertNonThrow() utility method.
Landon FullerLandon Fuller
50fe7be7e8dRefine the Try() API.
Landon FullerLandon Fuller
b14b9370fd7Clean up the Try() API invariants.
Landon FullerLandon Fuller
1e98b7f1d4aAdd an experimental Try macro; provides a short-hand mechanism for mapping exceptions to Either instances.
Landon FullerLandon Fuller
ca48ca6454fAdd support for disabling checking entirely.
Landon FullerLandon Fuller
c7d083eb069Mark the validation classes as package private; the macros that return validation results are also nx package-private.
Landon FullerLandon Fuller
990b04eecd1Simplify the macro API and drop the redundant 'unhandled' macro.
Landon FullerLandon Fuller
6b73eccfb08Use a stack when pushing/popping propagation points. This resolves issues related to tree nodes seeing uncaught throwables in peer nodes.
Landon FullerLandon Fuller
22f0b8a9001Special case val/var initializers.
Landon FullerLandon Fuller
a65434d3380Add a test for unchecked exception contravariant widening of overridden methods. Even if unchecked, @throws changes the method signature; implementors should be warned of the widening of the signature caused by declaring a runtime @throws. We might need to reconsider this, eg, by vending a new annotation that allows for selective enforcement.