James Hamilton
dd4b8bde06
Update version to 7.6.0
v7.6
2024-10-02 17:42:30 +02:00
James Hamilton
b3deed8286
Update versions for version 7.6 ( #440 )
2024-09-27 14:43:19 +02:00
alonalbert
8903bfb23f
Separate Multiple Frames With a Newline ( #433 )
...
When an obfuscated frame resolves to multiple clear frames, separate them with a newline. Closes #432
2024-09-19 15:37:06 +02:00
Jelle De Coninck
03d7effdd2
Improve DictionaryNameFactory performance
2024-09-13 15:02:53 +02:00
James Hamilton
c2146ae315
Update ProGuardCORE version ( #429 )
2024-08-26 09:23:20 +02:00
James Hamilton
4e643b4f60
Update ProGuardCORE version ( #421 )
2024-07-18 12:48:54 +02:00
daphnis.chevreton
ee3deb69fa
Support a wider char range in class specifications
2024-07-02 10:48:14 +02:00
daphnis.chevreton
6075d17bee
Fix gradlew.bat newline chars
2024-07-02 10:48:10 +02:00
James Hamilton
3a9b11bb3c
Bump version to 7.5.1
2024-05-29 18:07:33 +02:00
James Hamilton
af475c65b4
Update usage.md ( #407 )
v7.5
2024-05-28 16:32:58 +02:00
James Hamilton
8d7ddf898c
Update foojay resolver plugin
2024-05-27 11:29:21 +02:00
Ellet
f5f2f06334
Add .kotlin from Kotlin 2.0.0 in .gitignore ( #406 )
2024-05-27 09:05:12 +02:00
James Hamilton
aa43b9dc21
Update versions for 7.5 ( #404 )
...
Updates ProGuardCORE + other required dependencies for Kotlin 2 + Java 22; including running tests with Java 22.
2024-05-23 14:01:48 +02:00
Jelle De Coninck
0d9ceb7451
fix lint violations in ConfigurationParserTest
2024-05-06 11:29:28 +02:00
Jelle De Coninck
1d28c11e36
Synchronize keep flags on getter/setter/backing field for kotlin properties
2024-05-06 11:12:38 +02:00
Jelle De Coninck
b85b2cb201
Bump version to 7.5.0-beta01 and add release note
2024-04-30 16:58:42 +02:00
Jelle De Coninck
0c95982828
integrate kotlin 2 support
...
Summary:
* Update PGC
* Change use of kotlinx.metadata to kotlin.metadata
* Remove unused `KotlinModuleRewriter` class
2024-04-30 16:58:26 +02:00
James Hamilton
38de2e42b2
Update releasenotes.md
2024-04-19 09:50:00 +02:00
James Hamilton
76b2921738
Update ProGuardCORE version ( #398 )
2024-04-15 17:11:19 +02:00
niccolo.piazzesi
7483ad32f4
Keep name of Kotlin companion classes when corresponding field is kept and resolve potential name collision in KotlinCompanionEqualizer
2024-03-15 12:46:53 +01:00
niccolo.piazzesi
20c99aa3e8
Parse -maximumremovedandroidloglevel
2024-03-07 10:44:31 +01:00
Bentaii
858bcd0eb5
Fix equals to prevent null values ( #388 )
...
Switch frame.getSourceFile().equals(String) around to test String against source file value instead of otherway around to prevent failures when the value is null.
2024-02-21 08:36:51 +01:00
Vincent Rossetto
1c421bf780
Keep Kotlin interface method when default implementation is used
2024-02-13 11:09:20 +01:00
James Hamilton
d4692c3835
Update version number in examples
v7.4.2
2024-01-31 18:05:50 +01:00
James Hamilton
712fd768ca
Add ability to skip to next option if parse error
...
Allows providing a function to handle the case of an unknown option.
```
public static void main(String[] args)
{
try
{
try (ConfigurationParser parser = new ConfigurationParser(new String[]{"-keep class * {}", "-unknownoption", "-whatisthisoption?"}, System.getProperties()))
{
parser.parse(new Configuration(), (option, location) -> {
System.out.println("Unknown option: " + option + " @ " + location);
});
}
catch (ParseException ex)
{
ex.printStackTrace();
}
}
catch (IOException ex)
{
ex.printStackTrace();
}
}
```
Output:
```
Unknown option: -unknownoption @ argument number 2
Unknown option: -whatisthisoption? @ argument number 3
```
2024-01-22 14:55:53 +01:00
James Hamilton
c35913c3f2
Add release note
2024-01-19 18:41:05 +01:00
Cristian Garcia
5a8d50090a
Replace project usages in ProGuardTask by injected Gradle services ( #380 )
...
fixes #254
2024-01-19 18:40:33 +01:00
James Hamilton
06c2d12f7a
Bump version number
2024-01-16 09:36:28 +01:00
Oberon Swings
a7265a3536
Conservatively mark wide parameter used if it can only be partially marked.
2024-01-08 08:19:01 +01:00
Ruben Pieters
7160a9e484
Fix nullability flag on named type arguments and reified flag on type parameters
2023-12-07 16:49:40 +01:00
Robin Lefever
12c9c3f23e
Fix MemberDescriptorSpecializer checking wrong processing flags
...
This diff also ensures the `IS_CLASS_AVAILABLE` processing flag is set on classes instead of its members.
This requires us to change usages of this flag in some other places as well.
2023-12-01 14:56:44 +01:00
daphnis.chevreton
a02100cb93
Fix potential access issues when backporting
...
Backporting nest host/members is not supported and can therefore introduce access issue.
Running the access fixer if `-allowaccessmodification` is set solves this issue by setting appropriate visibility.
2023-11-29 16:14:03 +01:00
Bengt Verscheure
38a0e498b9
Use system-specific line separators
2023-11-24 14:49:44 +01:00
James Hamilton
f6b82b1478
Update example versions to 7.4.1
v7.4.1
2023-11-22 11:22:08 +01:00
Bengt Verscheure
789777ded5
Add support for <clinit> in ConfigurationParser
2023-11-17 13:40:46 +01:00
Dimitrios Anyfantakis
e76e47953f
Close file handle in ConfigurationWriter
2023-11-03 12:28:07 +01:00
Fergal Whyte
836253f1da
Use system-specific line separators in ConfigurationWriterTest
2023-10-26 13:51:26 +02:00
Fergal Whyte
f92fc632b1
Parse alwaysinline and identifiernamestring rules
2023-10-25 17:50:40 +02:00
Fergal Whyte
f5f04cbec5
Fix printing of hash characters in ConfigurationWriter
2023-10-25 17:50:40 +02:00
Fergal Whyte
ce2c8a8b5d
Add ConfigurationWriterTest
2023-10-25 17:50:25 +02:00
Fergal Whyte
0032aa037c
Prevent NullPointerException when parsing annotations
2023-10-25 17:44:19 +02:00
Fergal Whyte
0070bc9e80
Fix incorrectly configured unit tests
2023-10-25 17:44:11 +02:00
Sebastian Ratz
6f3610bd7b
Fix inadvertent closing of System.out when printing configuration ( #366 )
...
Co-authored-by: Blend Hamiti <blend.hamiti@guardsquare.com >
2023-10-25 12:15:16 +02:00
James Hamilton
813616d095
Bump version number to 7.4.1
2023-10-25 11:07:22 +02:00
James Hamilton
04123e8f9b
Update version number in home.md
2023-10-18 12:01:03 +02:00
James Hamilton
7c153f8eec
Enable unit testing of Java 20 and 21
v7.4
2023-10-12 12:59:11 +02:00
James Hamilton
76cf000348
Update version inside examples
2023-10-12 12:50:05 +02:00
James Hamilton
549e2cde2c
Update version number in README
2023-10-12 11:34:29 +02:00
James Hamilton
f04ef27f66
Update version
2023-10-12 11:31:33 +02:00
James Hamilton
bfdfa02f8c
Support parsing of wildcard * when used as a field type or method return type in class specifications.
2023-10-11 18:10:05 +02:00