Graham
905fab91ca
Load glTexImage3D with glXGetProcAddressARB
...
It isn't part of OpenGL 1.1, so we need to make this change for
compatibility with Windows.
5 years ago
Graham
2908ebe07c
Add *.iml to .gitignore
5 years ago
Graham
b77e93ebd0
Exclude OpenGL extension headers from formatting
5 years ago
Graham
0b24cf3bcf
Share jawt library between profiles
5 years ago
Graham
53c97a8725
Add OpenGL extension headers
...
Copied from https://github.com/KhronosGroup/{OpenGL,EGL}-Registry .
Windows doesn't supply these headers.
5 years ago
Graham
66f9429fe4
Add linker configuration for building gl-natives on Windows
5 years ago
Graham
ab00f333c6
Link jawt as a lib instead of a sysLib
...
This prevents us from needing to specify -L manually.
5 years ago
Graham
5e7a4d70cd
Move UNIX-specific flags to the unix profile
5 years ago
Graham
c9d29a71d8
Use const pointers where possible
5 years ago
Graham
c03570a9a3
Pass -Wall, -Wextra and -pedantic options to the compiler
5 years ago
Graham
9fd335d87b
Add bindings for complex gl* functions
5 years ago
Graham
d470132945
Add bindings for simple gl* functions
5 years ago
Graham
fb60dd361b
Add gl* stubs to jaggl.c
5 years ago
Graham
60f3303ab5
Add initial GLX context management
5 years ago
Graham
328645377a
Add hs_err_pid*.log to .gitignore
5 years ago
Graham
f292bdf33e
Add jagmisc skeleton
5 years ago
Graham
6127d26b5a
Remove impsort execution
...
It slows the build down considerably. I'm keeping the configuration so
it can still be run manually.
5 years ago
Graham
364a07e980
Set gl-natives and misc-natives type to nar
5 years ago
Graham
e114d176af
Exclude misc-natives from non-Windows platforms
5 years ago
Graham
3e2192236f
Add jaggl_dri implementation
5 years ago
Graham
d0cc1b5029
Add code style config for C files
5 years ago
Graham
d77de89ea1
Add JNI header files generated from jaggl and jagmisc
...
A long-term goal is to write clean room implementations of these
libraries, for several reasons:
* The original libraries are missing, so we currently have to do a fair
amount of awkward bytecode patching in the loader to use JOGL
instead.
* The original libraries were not compiled for 64-bit Linux. We might
also want to compile for new architectures (e.g. ARM or RISC-V) or
additional operating systems (e.g. the BSDs).
* I'm worried that over time the libraries will bit rot and might
eventually stop working with modern JREs - it's already been about 10
years since they were originally compiled!
I'm not too concerned about putting this in the main open-source
repository: I think it's generally believed that interfaces are not
copyrightable, and we're only copying the interface for
interoperability purposes. The native code will be original.
Furthermore, most of the jaggl interface is just a copy of the OpenGL
interface, so it's unlikely that Jagex could claim they hold the
copyright on it anyway.
5 years ago
Graham
cc1a1adde7
Add seperate jar for the jaggl DRI classes
5 years ago
Graham
65e7efde23
Add TODO
5 years ago
Graham
0b6966c6f8
Move signed classes in a single pass
5 years ago
Graham
12293bb3b1
Refactor package structure of the asm module
5 years ago
Graham
0c8d0f9cc3
Add initial support for whole program analysis in transformers
5 years ago
Graham
15ccc70c37
Add new remap package
5 years ago
Graham
406feb72f0
Move classpath package to the asm module
...
This is in preparation for Transformers taking an entire ClassPath
instead of a single Library at a time, which is in turn required for
dummy argument removal (a whole program analysis).
5 years ago
Graham
cf650af5fa
Add OriginalArg annotation
...
The dummy argument removal code is going to fiddle with the argument
lists (and so could manual refactoring).
5 years ago
Graham
3978ee9ea0
Allow Transformers to throw AnalyzerException
5 years ago
Graham
b27763a699
Move field/method exclusions to the TypedRemapper
5 years ago
Graham
df4afccccc
Move inherited field/method set code to ClassPath
5 years ago
Graham
751ae183c1
Add IntInterpreter and IntValue
...
I'm planning to use these to remove dummies.
5 years ago
Graham
2cde631fca
Add BitShiftTransformer
5 years ago
Graham
82d359ad4d
Add FieldOrderTransformer
5 years ago
Graham
b37feb0535
Add .editorconfig file
5 years ago
Graham
c04986cedb
Add XML code style matching Maven's convention for POMs
5 years ago
Graham
8a3a9102cb
Use multiModuleProjectDirectory instead of executionRootDir
...
executionRootDir was always a bit of a hack.
5 years ago
Graham
48f8c68500
Format code
5 years ago
Graham
36995c46ef
Add initial IntelliJ IDEA code style configuration
5 years ago
Graham
09001025ba
Update dependencies
5 years ago
Graham
22b9904241
Fix minimum Maven version
5 years ago
Graham
db0c4bead2
Remove formatter-maven-plugin
...
I don't think it'll be able to match my preferred IDEA style. I might
replace it with a custom Maven plugin which invokes the IDEA
command-line formatter.
5 years ago
Graham
1bf39200c5
Use jaggl instead of jogl in the deobfuscator
5 years ago
Graham
fe3e02550b
Rename (and flip) isMutable to isDependency
5 years ago
Graham
40caf973ab
Log warning if an unobfuscated name is remapped
5 years ago
Graham
6fde1a4bca
Add Original{Class,Name} annotations even if the name was unchanged
...
I think they will still be useful, as we might refactor the names in the
deobfuscated code in the future.
5 years ago
Graham
f26695a0c1
Remap Class.forName() calls in ClassNamePrefixer
5 years ago
Graham
3b35a39084
Make ClassForNameTransformer compatible with SimpleRemapper
...
SimpleRemapper returns null if a class should not be renamed.
5 years ago