Eric
443abecffd
Update Chinese strings
...
Closes #181
2022-01-15 10:55:03 +01:00
emanuele-f
05982c52cf
Add missign escapes
2022-01-15 00:59:18 +01:00
emanuele-f
0b0aa455e7
Add missing Italian strings
2022-01-15 00:55:17 +01:00
emanuele-f
9c5692b886
Update Italian strings
...
Use sentence-style caps and remove periods at the end of sentences
2022-01-14 23:45:52 +01:00
Allan Nordhøy
b690eaa79d
Added translation using Weblate (Norwegian Bokmål)
...
Translation: PCAPdroid/App
Translate-URL: https://hosted.weblate.org/projects/pcapdroid/app/nb_NO/
2022-01-14 23:08:36 +01:00
emanuele-f
fcd5f34355
Improve app strings
...
- Remove ending periods and exclamation marks (Material guidelines)
- Improve some apps strings (credits: @comradekingu)
- Improve labels of external projects
Closes #174
2022-01-14 19:52:10 +01:00
emanuele-f
25a1385f37
Use sentence-style caps
...
To follow the official Material guidelines: https://material.io/archive/guidelines/style/writing.html#writing-capitalization-punctuation
2022-01-14 19:09:30 +01:00
Emanuele Faranda
fa271ab10f
Update README.md
2022-01-14 17:38:00 +00:00
Emanuele Faranda
72a91cdbf5
Update README.md
2022-01-14 17:36:33 +00:00
Allan Nordhøy
7016b0e932
Weblate mentioned in README ( #173 )
2022-01-14 17:31:56 +00:00
emanuele-f
cebeb37a38
Fix CaptureCtrl crash on Android 11/12
...
The CaptureCtrl is only started when the PCAPdroid control API is
invoked. The crash occurred because getInsetsController was called
before setContentView.
Fixes #179
2022-01-14 12:51:19 +01:00
emanuele-f
e7bc6ba8d1
Fix tests execution
2022-01-11 00:27:00 +01:00
emanuele-f
bd2f85f876
Detect build type to customize error reporting
...
The error reporting dialog now shows the build type. The dialog is now
shown only on unsupported builds.
Closes #177
2022-01-10 23:23:47 +01:00
emanuele-f
ce3637004e
Fix symbols missing in the debug build
2022-01-09 14:26:20 +01:00
emanuele-f
1df06a0875
Update ru translation from Weblate (credits: @NEK-RA)
2022-01-09 11:26:14 +01:00
emanuele-f
4127cb9c9b
Bump version to 1.4.5
2022-01-06 12:50:47 +01:00
sr093906
f8cd287966
Update String for zh-rCN ( #171 )
2022-01-06 09:49:01 +01:00
emanuele-f
840787a9ba
Fix crash with root when inet interface goes down
2022-01-05 18:58:12 +01:00
emanuele-f
9dc0e1ec83
Add redeem string
2022-01-05 17:01:38 +01:00
emanuele-f
1e26f5787d
App icon is now adaptive
...
This fixes icon scaling with white background on some devices
2022-01-05 12:32:19 +01:00
sr093906
99d8b2d75e
Update Strings for zh-rCN ( #169 )
2022-01-04 09:41:57 +01:00
emanuele-f
f60b3e79e6
Update it translation
2022-01-04 01:29:53 +01:00
emanuele-f
6952e05618
Changes for the billing activity
2022-01-04 01:19:06 +01:00
emanuele-f
6775756c59
Merge branch 'master' into dev
2022-01-03 15:20:52 +01:00
emanuele-f
b776df6c85
Update geolocation databases
2022-01-03 15:12:22 +01:00
emanuele-f
d35364dc69
Remove unnecessary app icon drawables copies
...
This reduces the memory usage when the app is in foreground
2022-01-03 00:32:54 +01:00
emanuele-f
12e4975e66
Workaround for crash in RecyclerView dispatchLayout
...
In some rare cases the RecyclerView dispatchLayout crashes with an IndexOutOfBoundsException. This seems a bug in the androidx library. The provided workaround should fix it.
2022-01-02 22:26:06 +01:00
emanuele-f
52af258a02
Fix bad ordering of pending updates
...
Swapping two pending updates with new connections could cause a crash
due to non incremental connection IDs. Also fix crash in case of full
queue.
2022-01-02 22:25:34 +01:00
emanuele-f
b08da2686f
Improve connections rollover notice layout
2022-01-02 12:08:47 +01:00
emanuele-f
1ba0d8008f
Improve fragments consistency while swiping
...
While swiping in the viewpager, the fragments onResume may haven't been
called yet. This commit initializes the status fragment before onResume and
also fixes the "No Connections" shown just briefly after the connections
fragment is shown
2022-01-02 11:36:34 +01:00
emanuele-f
72d157d873
Add test command to debug workflow
2021-12-25 12:51:14 +01:00
emanuele-f
ca25ca97fb
Add missing synchronization in some methods
2021-12-25 12:44:17 +01:00
emanuele-f
148bfbf617
Add tests for the ConnectionsAdapter
2021-12-25 11:26:37 +01:00
emanuele-f
0c016e30e4
Improve Connections bound checks
2021-12-21 10:43:34 +01:00
emanuele-f
b8276e5233
Fix long click on chatty connections
...
The RecyclerView animator cancels the touch events whenever a view is
updated, which is a problem when trying to long click an active
connection to show its contextual menu.
2021-12-20 18:38:51 +01:00
emanuele-f
3fc333647b
Fix whitelisted connections being blocked
...
The whitelist logic is now moved to the native side
2021-12-20 17:14:32 +01:00
emanuele-f
49361d05a2
Rework blocklist loading
...
The new ListDescriptor class now encapsulates the lists
2021-12-20 12:37:32 +01:00
emanuele-f
6846630406
Use memory-wise Android collections
...
These collections perform generally worse than the Java counterparts but
occupy less memory. The extra computational overhead is mainly visible
for large collections.
- SparseArray/SparseIntArray replaces HashMap
- ArraySet replaces HashSet
2021-12-15 12:26:27 +01:00
emanuele-f
0b4af72205
Fix invalid snaplen with SLL2
...
This caused full size packets to be truncated when capturing from "all
the interfaces"
2021-12-15 10:44:35 +01:00
emanuele-f
e841cb6a52
Fix Cmake version warning
2021-12-14 22:50:26 +01:00
emanuele-f
43d9279467
Improve seen interfaces logic
2021-12-14 22:40:23 +01:00
emanuele-f
9140e0b236
Add ability to filter by interface in root mode
...
When the capture interface is set to "All Interfaces", it is now
possible to filter connections by interface. The interface is also shown
into the connection details.
Closes #163
2021-12-14 22:33:24 +01:00
emanuele-f
63a5826e80
Improve navigation on Android TV
2021-12-14 16:36:51 +01:00
emanuele-f
ef53b36f7a
Make wifi hardware not mandatory
...
Fixes #152
2021-12-14 15:30:50 +01:00
emanuele-f
a9b90d5ff2
Fix deprecation/warning messages
...
Closes #151
2021-12-14 15:13:16 +01:00
emanuele-f
0d377f757e
Remove the DNS server from the Stats if private
...
If the private DNS is used, remove the it from the Stats activity to
avoid reporting wrong information.
Closes #160
2021-12-14 12:26:57 +01:00
emanuele-f
22ecb7eddb
Remove scrolling in the destination/host fields
...
Fixes #162
2021-12-14 12:10:34 +01:00
emanuele-f
a924ee5073
Remove symlinks and update dbip to 2021_12
2021-12-14 11:42:55 +01:00
emanuele-f
fd9f8a4cbd
Add Windows build workflow
2021-12-14 10:15:14 +01:00
emanuele-f
e270ee8670
Use memory-mapped file for geolocation lookups
...
This saves ~14 MB of RAM usage due to the loading of mmdb files
2021-12-13 19:41:17 +01:00