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
Niccolò Piazzesi
58eae9eed5
Fix broken link to issue tab ( #364 )
2023-09-27 11:41:44 +02:00
Thomas Vochten
7429219cd2
Allow method from interfaces to be inlined if it is private and is being called from within the interface
2023-09-22 09:05:54 +02:00
Thomas Vochten
8bb7cc0c4b
Do not inline methods from interfaces
2023-09-21 05:37:20 +02:00
James Hamilton
9a7a97d1ca
Update ProGuardCORE version ( #359 )
v7.4.0-beta02
2023-09-01 17:03:40 +02:00
James Hamilton
57d4250464
Use internalShortClassName in KotlinMultiFileFacadeFixer
2023-07-07 15:58:50 +02:00
James Hamilton
943e349f47
Update ProGuardCORE version ( #343 )
2023-06-13 17:45:03 +02:00
Joren Hannes
8afa59e7ce
Keep methods that look like ClassValue's computeValue of Java 7
2023-06-08 15:26:37 +02:00
James Hamilton
14673bc36b
Fix link to manual
2023-04-07 08:40:07 +02:00
Ellen Spertus
2b56fc6ced
Make minor fixes to README.md ( #330 )
...
* Fix Windows command line
* Fix configuration link
2023-04-07 08:37:39 +02:00
James Hamilton
4cff876e44
Fix "NoClassDefFoundError: Failed resolution of: Lorg/apache/logging/log4j/LogManager #326 ( #328 )
...
* Remove log4j from injected classes
* Add release note
2023-03-30 13:00:41 +02:00
Emiel Matthys
1f8f548d36
Remove unused import in kotlin test
2023-03-24 16:45:21 +01:00
James Hamilton
09593afd21
Bump version to 7.3.3
2023-03-17 14:48:15 +01:00
James Hamilton
0dd91648be
Remove ClassPrinter debugging from ClassUsageMarkerTest
v7.3.2
2023-03-17 12:17:20 +01:00
James Hamilton
1b445599e0
Update manual
2023-03-17 11:35:45 +01:00
James Hamilton
aa1835fb93
Update ProGuardCORE ( #325 )
...
* Update ProGuardCORE
* Remove Java 20 from test list
2023-03-14 16:56:47 +00:00
James Hamilton
dda133e476
Add InstantiationClassMarkerTest ( #320 )
2023-03-02 13:28:39 +00:00
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