Commit Graph

247 Commits

Author SHA1 Message Date
md_5
5088b0fb60 Downgrade guava version 2015-01-09 13:40:29 +11:00
md_5
c1b38b3e2e Update API versions. 2015-01-09 10:44:32 +11:00
md_5
4f1914a495 Push some code. 2015-01-09 10:43:04 +11:00
md_5
1762c76706 Allow standalone access transformer, fix a few bugs. 2014-10-01 12:10:07 +10:00
md_5
2c048232d3 Update some depend versions. 2014-09-13 20:33:12 +10:00
md-5
cfcc76a83a Merge pull request #19 from Kobata/access-merging
Don't overwrite existing AccessChange when adding duplicate.
2014-06-03 15:32:13 +10:00
Kobata
892ddc4707 Don't overwrite existing AccessChange when adding duplicate.
This made the call to merge completely pointless.
2014-06-02 21:04:28 -04:00
md-5
6c44af9079 Merge pull request #17 from Kobata/visibility-upgrade
Merging two AccessChanges should merge their visibility.
2014-06-02 11:22:19 +10:00
Kobata
f6522bb49c Merging two AccessChanges should merge their visibility.
Previously a merge would ignore visibility changes entirely, now
it merges them as in apply.
2014-06-01 21:12:36 -04:00
bloodshot
56e499fc02 Catch IllegalArgumentException with Java 8. Workaround for ASM 4.1
This further improves compatibility with Java 8 when using ASM 4.1

More info here md-5/SpecialSource@710ccc6439
2014-05-24 11:50:41 +10:00
md_5
1ce1d91291 Turn RemapperPreprocessor into RemapperProcessor and provide support for calling one before remap and one after remap. 2013-11-30 09:31:23 +11:00
md-5
4615bf5727 Merge pull request #14 from LexManos/master
Fix remapping of inner classes with mappings.
2013-11-24 21:01:51 -08:00
Lex Manos
4df5b1e4f4 Fix remapping of inner classes with mappings. 2013-11-24 21:00:21 -08:00
md_5
1addd1baeb [maven-release-plugin] prepare for next development iteration 2013-11-25 09:28:07 +11:00
md_5
751777628b [maven-release-plugin] prepare release SpecialSource-1.6.1 2013-11-25 09:27:58 +11:00
md_5
be5c377aa0 Go to 1.6.1 2013-11-25 09:26:58 +11:00
md_5
794423af51 Just subclass remapper 2013-11-23 12:06:12 +11:00
md_5
dbd82ece16 [maven-release-plugin] prepare for next development iteration 2013-11-22 16:15:51 +11:00
md_5
be3f4adf0a [maven-release-plugin] prepare release SpecialSource-1.6 2013-11-22 16:15:43 +11:00
md-5
5e181c84bf Merge pull request #11 from Lrns123/master
Access-related bugfixes.
2013-09-05 14:17:35 -07:00
Lourens Elzinga
07de585d25 Fixed remapping quirks due to RemappingClassAdapter calling map functions with invalid access parameter. 2013-09-05 19:32:41 +02:00
Lourens Elzinga
27f1758824 Fix for handling unknown access in inheritance lookup. 2013-09-05 19:25:54 +02:00
md_5
7ce1726d55 License headers 2013-08-08 17:13:34 +10:00
md_5
396d0fdbd1 Add back byte[] method 2013-08-08 17:12:58 +10:00
md_5
bedfedb611 Shorten Repository -> Repo 2013-08-08 17:05:18 +10:00
md_5
92834a6b60 Start rework of class resolution into a series of class repositories. 2013-08-08 17:01:56 +10:00
md_5
59ba388764 Work on class access, maybe it works now. 2013-08-06 19:03:10 +10:00
md-5
f851efcd8a Merge pull request #10 from AbrarSyed/patch-1
Update AccessMap.java
2013-08-05 02:24:51 -07:00
Abrar Syed
bde29cde0a Update AccessMap.java 2013-08-05 04:07:06 -05:00
md_5
419983727d Use reverse lookups to finally close issue #3 2013-08-05 16:53:58 +10:00
md_5
ca6cdcc8cc Revert "Merge pull request #9 from AbrarSyed/patch-1"
This reverts commit b83f20f9a9, reversing
changes made to 3aa51660af.
2013-08-05 16:41:12 +10:00
md_5
e7b7d101da Add field access checking. Still convinced this will map the declarations correctly but not the invocations. 2013-08-05 16:39:04 +10:00
md-5
b83f20f9a9 Merge pull request #9 from AbrarSyed/patch-1
Update AccessMap.java
2013-08-04 21:39:58 -07:00
md_5
3aa51660af Fix issue #3 - private and static inheritance 2013-08-05 14:38:18 +10:00
Abrar Syed
c52563e09a Update AccessMap.java 2013-08-01 08:25:54 -05:00
md_5
8d4cabb8d0 Update to use asm-debug-all so we can get line numbers and generic sigs. 2013-07-15 09:45:16 +10:00
md_5
11d057e669 Allow comments anywhere in the line 2013-07-03 11:52:19 +10:00
md_5
6d9552101f Revert "Close issue #3 - static and private inheritance"
This reverts commit 33d8d24d7e.
2013-07-03 11:25:06 +10:00
md_5
33d8d24d7e Close issue #3 - static and private inheritance 2013-07-01 10:39:19 +10:00
md_5
9a0c971c5d Don't verify jars. 2013-06-28 14:11:15 +10:00
Agaricus
a6c2f8ca6b Remove moveClassPackage debug message 2013-06-12 21:14:34 -07:00
md_5
76d73e3c84 Update license headers 2013-06-11 10:49:15 +10:00
md_5
b2ba97e963 protected -> excluded 2013-06-11 10:47:37 +10:00
LexManos
22fdad8e26 Finish up protected packages. Maps now respect protected packages in method invocations and signatures. New argument -p, --ignored-packages to specify protected 2013-06-11 10:46:00 +10:00
Agaricus
09dae7df76 Add package ignore 2013-06-09 18:41:50 -07:00
Agaricus
6640b89354 Add full support for remapping packages with PK: in .srg
- Includes support for the default package, '.'
- Checks package mappings _after_ class mappings
2013-05-30 20:53:55 -07:00
Agaricus
8f87de55e4 Exclude resources from generated API jar 2013-05-18 18:47:22 -07:00
Agaricus
4e703ef09e Add API generation option to JarRemapper
JarRemapper can now be configured to "generate an API", as part of
the remapping process. The output classes will only have the symbol names
(remapped, of course), but no executable code. Useful for projects to
build against this generated API.
2013-05-18 13:23:20 -07:00
Agaricus
78494b5ff1 Add support for remapping class name prefixes
Adds support for interpreting "CL: xxx/* yyy/*" in .srg for remapping
all class names beginning with xxx/ to yyy/. Previously this functionality
was only programmatically accessible when SpecialSource was used as a
library, but now you can use it from .srg mappings as well.

May be replaced with "PK: xxx yyy" support in .srg files later,
but needs to be first thoroughly tested for full compatibility,
to ensure identical semantics as in MCP (e.g. remapping ".").

Adding CL: /* class name prefix remapping for now, separate from PK:,
which simply remaps class names matching the given prefix substring.
2013-05-17 21:48:57 -07:00
Agaricus
0cf7f47ce7 Implement class reflection remapping for Class.forName("")
Remaps constant literals passed to Class.forName(""), similar to
the existing class.getDeclaredField("") remapping in RemapperPreprocessor.
Both reflection remappings use the jarMapping, if one is passed in.
Adds new APIs to enable/disable the respective reflection remaps.
2013-05-10 19:56:17 -07:00