Connor Tumbleson
3fdc06a46f
fix: skip files if cleaned to empty filename ( #3166 )
2023-07-18 07:26:30 -04:00
sv99
48b71b34b1
refactor: Replace to nio & apply CS inspection skips ( #3055 )
2023-05-13 06:12:22 -04:00
Connor Tumbleson
67a936f1c7
build: include bleeding edge smali from source via jitpack ( #2941 )
...
* build: include smali from source
* refactor: adjust build.gradle for repositories
2022-11-24 06:15:41 -05:00
Connor Tumbleson
35ce8fc061
Issue 2943 - Support raw disassembly w/ AndResGuard ( #2944 )
...
* fix: allow copying r/R if in raw mode
* test: assert raw files disassembled from AndResGuard
2022-11-20 08:08:45 -05:00
Goooler
c3e8be3e8a
Reformat & Rearrange
2021-08-27 01:32:40 +08:00
Goooler
94ed86db28
Code cleanups
2021-08-27 01:16:46 +08:00
Goooler
e25c3636ff
Update docs & licenses to use https
2021-08-26 07:40:32 -04:00
Matteo Baccan
b3741409f5
Code smell reduction ( #2554 )
...
* Correct use of <> diamond operator
* Correct modifiers order
* Private constructor for utility class
* Correct use of diamond operator
* Corrected naming convention
* Correct modifier order
* Use not synchronized class
* Introduced try/resource in stream copy
* Removed unused private field
* Code reformat
Reformat of IOUtils.copy from to stream
* Add a space
Improved code formatting
* Code reformat
Only a new space
* Code reformat
Removed extra spaces
2021-04-14 06:31:32 -04:00
Connor Tumbleson
3d3dd07cf2
fix: remove unused exceptions
2021-03-28 17:10:01 -04:00
Connor Tumbleson
447ba50332
refactor: drop author tags and support javadocs
2021-03-07 15:06:45 -05:00
Connor Tumbleson
98aa7acb22
fix: skip files that violate safe filepath
2020-12-11 07:10:05 -05:00
Giacomo Ferretti
4c3f1f335a
refactor: 'compile' it's deprecated
...
`compile` it's deprecated since Gradle 6.0 and been discouraged since Gradle 3.4.
We should use `implementation` and `api` instead because `compile` will be removed in Gradle 7.0.
https://docs.gradle.org/6.5.1/userguide/upgrading_version_5.html#deprecations
2020-08-14 07:56:52 -04:00
Connor Tumbleson
3f831c8221
refactor: copyright year should be year started, not current year
2020-04-11 06:33:05 -04:00
Frieder Bluemle
81ca785e02
Fix file header comment format
2020-02-29 17:37:46 -08:00
Connor Tumbleson
47854ec757
fix: experimental fix to prevent path traversal with copied folders
2019-07-18 07:42:34 -04:00
Connor Tumbleson
25a1cb02ef
fix: License 2019 update
2019-07-13 12:19:41 -04:00
Connor Tumbleson
d068c3e481
feat: new "copyToDir" where inFilename/outFilename differs
2019-04-26 11:14:08 -04:00
Connor Tumbleson
b7d33cb623
style: update license headers that are missing 2018
2018-08-23 16:14:24 -04:00
Alexei Khlebnikov
76bf6ff0c8
dir: add methods getSize() and getCompressedSize()
2018-07-19 18:12:07 +02:00
Connor Tumbleson
6b9fb5bb51
fix: don't normalize sectional, entire string after cleaned
2018-04-05 16:46:36 -04:00
Connor Tumbleson
07afbdb52b
fix: normalize path to fix building .apk on Windows
...
- fixes #1741
2018-04-05 16:24:58 -04:00
Connor Tumbleson
8de1354007
aapt2: ZipUtils class to replicate the building of final zip
2018-02-22 11:22:40 -05:00
Connor Tumbleson
9fc1ede991
License 2018 update
2018-02-16 08:26:53 -05:00
Connor Tumbleson
dc2db53dec
dir: remove unused file
2018-02-16 08:21:21 -05:00
Connor Tumbleson
dd7b397ae5
Remove redundant check
2017-09-19 14:40:25 -04:00
Connor Tumbleson
a0ae7eaea8
Skip any file attempting to use relative paths
...
- fixes #1589
2017-09-03 18:12:57 -04:00
Connor Tumbleson
1597c12472
changed all license files
2017-07-05 12:05:52 -04:00
Marvin Killing
693f592b13
Ignore file entries containing '..' in the APK file to fix #1498
...
Zip/APK files can legally contain entries that point to the parent directory of the one in which the .zip is located.
Usually, unzip implementations ignore them by default, and we‘ll do the same.
2017-05-09 22:17:45 +02:00
Connor Tumbleson
e2f77aac18
Pass exception back to user
...
- check object is not null before closing
- refs #1160
2017-05-05 07:46:56 -04:00
Marc Miltenberger
66c1b46865
Closing Framework and APK after use
...
This commit should fix https://github.com/iBotPeaches/Apktool/issues/1160
2017-05-02 08:21:09 +02:00
Connor Tumbleson
78a7724725
manually replace %20 w/ space
2016-12-25 08:47:20 -05:00
Connor Tumbleson
3ba82b08e3
leverage paths for default FileDirectory constructor
2016-12-25 08:22:31 -05:00
Connor Tumbleson
891d0d39e0
Refactor ExtFile to brut.j.dir
...
- move to using Paths when possible
- adapt calls to FileDirectory to leverage Paths
2016-12-25 07:57:41 -05:00
Andrew Grieve
392420c909
Adds doNotCompress list to apktool.yml
...
This is the list of files (resources, assets, etc) that are stored in
the .apk uncompressed.
For apps that use AssetFileDescriptor.openFd(), the adding compression
will break the call.
Maintains support for the resourcesAreCompressed key, but no longer
records it when decompiling (it instead records resources.arsc in the
doNotCompress list).
2015-08-14 11:52:33 -04:00
Connor Tumbleson
2f7ae8c001
[meta] Repo Cleanup
...
- Moved all license files to root
- Moved NOTICE to CONTRIBUTORS.md
- cleaned up .gitignore
- removed redundant gitignores
2015-03-14 08:02:57 -05:00
Connor Tumbleson
81e6af093b
Removes general access bit hack
...
- fixed in aosp: android_libcore/commit/25681be69e19a834b00cfbf54cd99ac13f12b9ff
- reverts 42f69fd745
- reverts 47a5eac0b0
- fixes googlecode issue 744
2015-01-21 07:12:26 -06:00
Connor Tumbleson
a7d8ca9086
cs fixes, remove unused imports
2014-10-29 16:18:47 -05:00
Connor Tumbleson
9031c22365
[skip] update all copyrights to 2014
2014-10-23 18:14:48 -05:00
Connor Tumbleson
aba540885e
Gradle Refresh
...
- move common functions to functions.gradle
- use dependency aliases whenever possible
- update to gradle 2.1
- cleanup build.gradle files with proper spacing
- remove duplicated blocks
- compile incrementally (java)
Gradle Refresh v2
- alphabetical order dependencies
- added jdk8 to build tests
- moved script to file for travis
Gradle Refresh v2a
- fix travis
- remove pointless logging
jdk8 isn't ready for travis
2014-10-23 17:43:37 -05:00
chrisch1974
1fd8a0c361
DirUtil: fixed exception when decompiling with -r and no res folder exists in the apk
2014-05-25 11:44:55 -05:00
Connor Tumbleson
42f69fd745
fixes #439
...
Extends ZipFile using apache commons compress ZipFile, to have finer control over the header allowing some parts to be ignored,
ex: the general access bit
2013-04-06 12:50:42 -05:00
Connor Tumbleson
6744b2469c
gradle redo (moved each to their own project for organization)
2013-01-16 16:06:32 -06:00
Connor Tumbleson
60c806f2e2
Moving all REPOs into one
2012-09-19 20:19:12 -05:00