Commit Graph

454 Commits

Author SHA1 Message Date
James Hamilton
bab3379536 Remove manual mentions of WTK plugin (#322)
The WTK plugin no longer exists.
2023-03-02 13:23:44 +00:00
tvoc-gs
764d35e4d5 Update manual (#321)
* Update manual

* Delete  and

---------

Co-authored-by: James Hamilton <james.hamilton@guardsquare.com>
2023-03-02 13:20:42 +00:00
tvoc-gs
745a681b32 Fix off-by-one error (#319) 2023-02-28 14:54:26 +00:00
Robin
12516ba710 Class merging only when optimizing aggressively 2023-02-03 09:08:45 +01:00
Robin
98309c9fbf Refactor ConfigurationChecker 2023-01-27 12:09:31 +01:00
James Hamilton
ad82f08b10 Bump version to 7.3.2 2023-01-16 09:50:26 +01:00
James Hamilton
f006f5810d Add Kotlin 1.8 to release notes v7.3.1 2023-01-13 12:45:24 +01:00
James Hamilton
dbdb423364 Add simple Kotlin example application 2023-01-13 12:44:36 +01:00
James Hamilton
fbda5d5156 Update tests to use KotlinMetadataVerifier
New Pass that replaces the old KotlinMetadataAsserter
2023-01-09 17:48:00 +01:00
James Hamilton
81561a0f2e Update ProGuardCORE version 2023-01-09 17:36:41 +01:00
Jelle De Coninck
8a7e846ec7 Fix string comparison in MappingPrinter and LineNumberLinearizer 2023-01-07 13:53:58 +01:00
James Hamilton
b9cf51b119 Update manual 2022-12-20 12:47:19 +01:00
James Hamilton
9b8f80229a Set the IS_CLASS_AVAILABLE processing flag 2022-12-14 17:23:52 +01:00
James Hamilton
1cbd6f7a68 Remove unused ExpectedStackTypeFinder 2022-12-14 17:23:52 +01:00
Thomas Vochten
3445fa02d6 Add -optimizeaggressively configuration option 2022-12-09 12:13:35 +01:00
Jelle De Coninck
4c6103eb2e Decrement uninitialized object count in MethodInliner when <init> is a LibraryMethod 2022-12-09 12:13:35 +01:00
James Hamilton
47e080f526 Update kotest dependencies 2022-12-09 12:13:35 +01:00
daphnis.chevreton
84ac82eb51 Fix linter issues 2022-11-24 15:25:10 +01:00
Ruben Pieters
2909a2ca7b Document supported/unsupported cases in TypeArgumentFinder. Fix incorrect invoke/getfield/getstatic case. 2022-11-24 15:24:58 +01:00
James Hamilton
bd98123633 Move release note to 7.3.1 2022-11-24 15:24:20 +01:00
James Hamilton
c4a5a89194 Update ProGuardCORE dependency 2022-11-17 11:07:12 +01:00
James Hamilton
3226de6d0c Expand imports in LambdaExpressionConverter 2022-11-17 11:07:07 +01:00
James Hamilton
20e3103518 Update ProGuard version in examples 2022-11-17 11:07:00 +01:00
James Hamilton
9c6eb91d01 Replace local constants with ProGuardCORE constants 2022-11-17 11:06:54 +01:00
James Hamilton
731ffd812d Conservatively keep annotation class constructor parameter names 2022-11-17 11:06:47 +01:00
James Hamilton
72f0ef13db Ensure that Kotlin parameters are kept when using -keepparameternames 2022-11-17 11:05:09 +01:00
Nadeesh T V
64c7322624 Add classintegrity asserter for enum entries 2022-11-16 15:58:41 +01:00
Jef Versavel
73cfa53192 Leave Unknown source during retrace 2022-11-16 15:58:37 +01:00
James Hamilton
34bc089656 Update version on manual homepage 2022-11-16 15:22:40 +01:00
James Hamilton
441574cc77 Bump version to 7.3.1 2022-11-15 18:18:24 +01:00
James Hamilton
1f74286f37 Merge branch 'beta' 2022-11-15 18:13:22 +01:00
James Hamilton
803b011589 Update GSON comments v7.3.0 2022-11-15 17:42:58 +01:00
James Hamilton
da479698e9 Update unsupported Kotlin version message 2022-11-15 17:42:50 +01:00
James Hamilton
33610e5ab0 Bump version to 7.3.0 2022-11-15 13:57:14 +01:00
daphnis.chevreton
ec3ce071bf Synchronise Kotlin companion and instance field before fixing name conflicts 2022-11-10 14:59:57 +01:00
James Hamilton
902a7f19c3 Update GSON comments 2022-11-09 13:50:34 +01:00
James Hamilton
ff74c14eba Update unsupported Kotlin version message 2022-11-09 13:47:56 +01:00
James Hamilton
7473a042cc Update GSON warning message (#293) 2022-11-09 13:45:01 +01:00
James Hamilton
cf99b22895 Update dependency versions (#287) 2022-10-21 18:27:22 +02:00
Toon Willemot
fe293dc318 Outlines the text in paragraphs of the manual 2022-10-21 18:26:45 +02:00
Robin
d32c159524 Update % wildcard meaning in ProGuard Class Specifications section of the manual 2022-10-21 18:26:30 +02:00
James Hamilton
f75147dfc3 Replace ProGuard Assembler dependency (#286)
It's now published to Maven Central. It's not needed directly but for the test fixtures which now has a transitive dependency on the Maven Central artefact.
2022-10-21 18:26:14 +02:00
James Hamilton
fe45cdfd5d Update release notes 2022-10-21 18:17:23 +02:00
Toon Willemot
bd63f2423f Automatically process Kotlin metadata when keeping the annotation
Add dontprocesskotlinmetadata configuration option.
2022-10-21 17:49:35 +02:00
Toon Willemot
cf5d492b00 Automatically process Kotlin metadata when keeping the annotation
Add dontprocesskotlinmetadata configuration option.
2022-10-20 17:28:21 +02:00
Robin
03c8b9f491 Update % wildcard meaning in ProGuard Class Specifications section of the manual 2022-10-20 17:13:48 +02:00
Toon Willemot
aca2004823 Outlines the text in paragraphs of the manual 2022-10-20 17:13:41 +02:00
James Hamilton
aa1936cc5f Mark context receiver parameters as used
To avoid the context receiver list becoming out of sync due to parameter shrinking, we now mark parameters at the same indices as context receivers as used.

This is a temporary solution and should be replaced with a solution that properly takes into account context receivers during optimization, so that e.g. unused context receivers can be removed.

~This diff adds support to the `MethodDescriptorShrinker` for shrinking the list of context receivers of a method.~

~There are some cases we cannot handle:~

~* properties where there is both a getter + setter~
~* functions with default parameters (in JVM land, a `$default` companion method)~
~* where the referencedMethod is null~

~Since we optimize each method independently, we can't be sure that the parameter lists are in sync when there are multiple JVM methods attached to a Kotlin entity like when there is a getter and setter together.~
2022-10-20 17:13:08 +02:00
James Hamilton
4ab73b2429 Update dependency versions (#287) 2022-10-14 17:01:47 +02:00
James Hamilton
8f491a9a56 Replace ProGuard Assembler dependency (#286)
It's now published to Maven Central. It's not needed directly but for the test fixtures which now has a transitive dependency on the Maven Central artefact.
2022-10-13 18:53:22 +02:00