Graham
82e2c1f01a
Disable CAOpenGLLayer asynchronous mode
...
canDrawInCGLContext is called far more often than blit, so it seems like a
waste of effort.
5 years ago
Graham
a2edbb8781
Create NSOpenGLContext synchronously
...
This is consistent with all other code that runs on the main UI thread, and
slightly easier to reason about.
5 years ago
Graham
d7be5f667e
Add list of known macOS bugs to the gl-natives README
5 years ago
Graham
913057b61d
Fix JagGLLayer frame in resizable mode
5 years ago
Graham
7711f24bd2
Define WIN32_LEAN_AND_MEAN on Windows
5 years ago
Graham
e096d031df
Ignore jlong to pointer cast warnings on 32-bit Windows
5 years ago
Graham
d68fa93c66
Rename parameter to lpParameter for consistency
5 years ago
Graham
2806bd301d
Use EXIT_{SUCCESS,FAILURE} constants
5 years ago
Graham
57012072a3
Remove unnecessary jaggl locks
...
We only need to lock GLX calls, not standard OpenGL calls. This should
improve the performance of the jaggl bindings on UNIX systems.
5 years ago
Graham
bd005106a2
Add initial jagmisc replacement
5 years ago
Graham
3be031e6b1
Strip trailing whitespace from README.md
5 years ago
Graham
d34b1e7e72
Combine analyze and getFrames
5 years ago
Graham
28369f1d75
Add UnusedArgTransformer
5 years ago
Graham
d20e3997b4
Split transformMethod into {pre,post}TransformMethod
5 years ago
Graham
145ed6b1ee
Add classPath and library arguments to all Transformer methods
5 years ago
Graham
46ab5111e6
Add isMethodImmutable method to TypedRemapper
...
I'm going to use this in a new Transformer.
5 years ago
Graham
b7347b2632
Move ArgRef to the top level
...
I'm going to use it in another Transformer.
5 years ago
Graham
bb2f72c4f0
Add ConstSourceInterpreter
...
It is akin to SourceInterpreter, but more efficient as it only tracks
the sources of integer constants and it doesn't track sources through
copy instructions.
5 years ago
Graham
71d1b8d435
Update Guava
5 years ago
Graham
7c63254440
Document why our ChoosePixelFormat usage is correct
5 years ago
Graham
f426f16d72
Simplify DummyLocalTransformer
...
The obfuscated client only contains dummy locals of type int.
5 years ago
Graham
5e46c058cd
Improve structuring of if/else chains ending in a throw or return
5 years ago
Graham
261cc87125
Add CachePathTransformer
5 years ago
Graham
4788f8314e
Clear ClassPath cache after remapping
5 years ago
Graham
6e750b008f
Replace hard-coded 2 with GZIP_HEADER.length
5 years ago
Graham
23a85fd820
Add method for deleting MethodNode arguments
5 years ago
Graham
44ddde296f
Update JUnit test templates to fit OpenRS2's conventions
5 years ago
Graham
557f2fb504
Move remapping into a RemapTransformer
...
This allows us to run the remapping immediately between
OriginalNameTransformer and DummyArgTransformer.
5 years ago
Graham
46f908bdb0
Replace ClassForNameTransformer
...
This commit stops ClassForNameTransformer from extending Transformer and
renames it. I think this makes sense, as we don't use it like a normal
Transformer.
5 years ago
Graham
b97294457a
Make ClassNamePrefixer more similar to TypedRemapper
5 years ago
Graham
1319295d77
Separate remapping from the write{Pack,Jar} methods
...
This is a prerequisite for removing dummy arguments - before the methods
are remapped, removing an argument might cause the method to conflict
with another method with the same name and descriptor as the replacement
descriptor.
5 years ago
Graham
c6d184c5c5
Convert OriginalNameTransformer to a standard Transformer
5 years ago
Graham
318f906ab5
Make DummyLocalTransformer type-sensitive
...
This catches a few more dummy locals than the previous code.
5 years ago
Graham
7b3ec975d9
Inline constants in DummyArgTransformer
...
This is a prerequisite for us to be able to remove the constant
arguments.
5 years ago
Graham
1216812c8a
Add InsnNodeUtils.toString() method
...
Useful for debugging.
5 years ago
Graham
4cfb9d9f69
Remove dummy branch expressions instead of inserting POPs
...
This prevents Fernflower from inserting dummy boolean variables.
5 years ago
Graham
3242356c80
Remove unused throws declarations
5 years ago
Graham
ccea2f0f8e
Rename DummyTransformer to DummyArgTransformer
5 years ago
Graham
7747fe457a
Remove dummy local variables
5 years ago
Graham
4ad8606b97
License deob-annotations under the LGPL
...
Like the *-natives modules, it needs to be legal to link this code with
the proprietary client code.
5 years ago
Graham
550e201577
Fix typo ('the version 3.0' -> 'version 3.0')
5 years ago
Graham
1b77c5e454
Change GPL v3 -> v3.0
...
This is just to clarify that the intention is that only the original v3
license is acceptable.
5 years ago
Graham
f1c6f074a1
Add virtual instruction support to hasSideEffects() and StackMetadata
5 years ago
Graham
8c1f2c7b2f
Add hasSideEffects() function to InsnNodeUtils
5 years ago
Graham
176b109688
Add StackMetadata
...
I'm not yet sure if I'm going to need to use this, but I want to get it
in the repository so I have a copy of it for the future (this is already
the second time I've written something similar to it!)
5 years ago
Graham
5d2fd11128
Add jacoco-maven-plugin
5 years ago
Graham
9f49902962
Use ImmutableList in the Deobfuscator class
5 years ago
Graham
e894c331bc
Disable package-private inspection
5 years ago
Graham
ef9e61de33
Add StringUtilsTest
5 years ago
Graham
d2460c68ba
Update TODO in jaggl.c
5 years ago