Graham
a1d1c74987
Enable strict JSR-305 mode
5 years ago
Graham
ccbbf873af
Switch from Maven to Gradle
5 years ago
Graham
785ce2d9ca
Use require() in PlatformDetectionTransformer
5 years ago
Graham
8df0907118
Replace IllegalStateException with error() in BitMaskTransformer
5 years ago
Graham
248cad99e3
Improve safety of IFEQ/IFNE check in OpaquePredicateTransformer
5 years ago
Graham
c4e08242aa
Fix handling of opaque predicate embedded in flow obstructor initializer
5 years ago
Graham
323d23b6d4
Remove spelling inspection
...
It produces far too many false positives.
5 years ago
Graham
abf803f017
Replace contains() calls with the in operator
...
These are artifacts of the Java port.
5 years ago
Graham
701b162dec
Remove redundant public modifier
5 years ago
Graham
de826927aa
Update dependencies
5 years ago
Graham
64abe46971
Replace forEach calls with for loops
...
These are artifacts of the Java port.
5 years ago
Graham
4314aededd
Simplify hasSideEffects() calls in AddSubTransformer
5 years ago
Graham
784b14b66b
Improve safety of ForLoopConditionTransformer
...
Desetude noticed that there are some cases where this transformation is
unsafe - for example: `i > i++`. Skipping the transform if _either_ side
of the comparison has a side effect, rather than _both_ sides, makes it
safe.
5 years ago
Graham
b611854dbc
Document client parameters
5 years ago
Graham
a4cd83fff0
Fix typo in the Portuguese translation of 'loading textures'
5 years ago
Graham
37abac9e48
Disable ASCII_STRING_CHARACTERS option
...
Our patched copy of Fernflower no longer produces char literals in
inappropriate places (e.g. bit shifts). This removes the requirement for
this option, allowing non-English string literals to read nicely.
5 years ago
Graham
f1ed531077
Update Fernflower
5 years ago
Graham
ab75a2f0c9
Add IdentityTransformer
5 years ago
Graham
8f3591670b
Use elvis operator in readJar()
5 years ago
Graham
2e1db9f0b1
Don't swap for loop conditions where both sides have a side effect
5 years ago
Desetude
d8c3f4e31c
Flip > and >= in for loop conditions to < and <= respectively
...
Signed-off-by: Graham <gpe@openrs2.dev>
5 years ago
Graham
cac3191a4a
Update dependencies
5 years ago
Graham
d575c25ebd
Switch license to GPLv3 or later
...
I've been thinking about this for a while. On the one hand, using the
"or later" clause means we have to place some trust in the Free Software
Foundation. On the other hand, being able to adopt newer versions of the
license without having to contact all contributors is useful for
compatibility (e.g. Apache 2 and GPLv3).
I recently noticed that Section 14 states that new versions of the
license will be "similar in spirit" to the current version. I think this
reduces the amount of trust we need to place in the FSF, as I'd hope
that if a future license did diverge too much from the original spirit
that a court might not consider it valid.
Furthermore, if the FSF went totally crazy, there are many bigger and
more important projects who would experience the same problem.
5 years ago
Graham
dedb502df4
Add Developer Certificate of Origin to the README
5 years ago
Graham
e5e6caf3d0
Update dependencies
5 years ago
Graham
29e55df5a4
Use live variable analysis in DummyLocalTransformer
...
This allows us to catch a few extra locals, which in turn allows us to remove a
few more dummy arguments.
5 years ago
Graham
400a10f8d2
Add live variable analysis
5 years ago
Graham
f0eabb0619
Add generic data flow analysis framework
5 years ago
Graham
fee7cf82cd
Add Analyzer for creating control flow graphs
5 years ago
Graham
e3df684f4f
Inline JSRs
...
This is required for some later analyses to work correctly.
5 years ago
Graham
d5683932c2
Remove jni/gl formatter scopes
...
The native library replacements have been moved to a different
repository.
5 years ago
Graham
f833285fa6
Rename in/out to input/output to avoid use of backticks
5 years ago
Graham
06de9d1449
Replace if/throw with check() in the Rsa object
5 years ago
Graham
89b274077f
Use infix union operator
5 years ago
Graham
b82518ec0b
Remove comments from Kotlin new method templates
5 years ago
Graham
40702d9c35
Reduce Manifest duplication
5 years ago
Graham
11ef4b0227
Sign loaders
5 years ago
Graham
33955e76c7
Add DeterministicJarOutputStream.repack() function
...
I'm going to use this to make jarsigner's output deterministic.
5 years ago
Graham
b8af6c0c90
Write public RSA key to disk
...
I think it's useful even though we don't read it.
5 years ago
Graham
d9762d65bc
Fix Kotlin inspections
5 years ago
Graham
8f991ad772
Add scope for excluding non-free code
5 years ago
Graham
4ff64c95e5
Rename compress<x>Resources to compress<x>Natives
5 years ago
Graham
575632413a
Add missing private modifier
5 years ago
Graham
1d0bcfd88f
Add PublicKeyTransformer to Bundler
5 years ago
Graham
97a11ba765
Inject RSAPrivateCrtKeyParameters in PublicKeyTransformer
5 years ago
Graham
65f0cc0f6e
Add GameServer skeleton
5 years ago
Graham
84b384156f
Add RsaKeyProvider
5 years ago
Graham
0bb0d1a5b6
Return RSAPrivateCrtKeyParameters from readPrivateKey
5 years ago
Graham
c8af2288c6
Format RsaTest
5 years ago
Graham
e82f575695
Update jar/pack200/js5 resources in ResourceTransformer
5 years ago