Commit Graph

46 Commits

Author SHA1 Message Date
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
355d9d7e57 Fix pasting soft ap configuration 2020-06-13 01:29:11 +08:00
Mygod
9e820e888f Use invoke operators 2020-05-30 21:01:22 -04:00
Mygod
d17cd0bab3 Correctly handle callSuper for Proxy 2020-05-31 07:40:25 +08:00
Mygod
e8fb62a0b3 Move MAC utils to MacAddressCompat 2020-05-30 02:39:33 -04:00
Mygod
2298f7858f Prevent DialogFragment.show crash 2020-01-23 09:29:51 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
95ddd5c2d5 2nd attempt to fix double unregistering receivers 2019-09-19 11:33:50 +08:00
Mygod
4aece2204a Revert "Ensure receiver unregistered synchronously in onDestroy"
This reverts commit e55aa17399.
2019-08-19 23:49:09 +08:00
Mygod
a1a0649e17 v2.5.3 2019-08-02 13:52:18 +08:00
Mygod
e55aa17399 Ensure receiver unregistered synchronously in onDestroy 2019-07-31 10:03:27 +08:00
Mygod
b4121b7d66 Add tether timeout monitor for Android 9+ 2019-07-18 19:08:34 +08:00
Mygod
0cb28477e4 Android Q beta 4 support 2019-06-10 21:34:37 +08:00
Mygod
6b951519fe Merge branch 'v3' into q-beta 2019-04-04 19:37:27 +08:00
Mygod
411f98c36f Copy/paste for Wi-Fi configurations 2019-04-04 18:06:18 +08:00
Mygod
1145b0f23b Support editing native Wi-Fi AP configurations
Support for repeater channel on Android 5 has been dropped because I am lazy.
2019-04-04 18:06:18 +08:00
Mygod
400d4e67a3 Merge branch 'master' into q-beta 2019-04-04 11:09:47 +08:00
Mygod
f97afdf8ae Prevent recreating monitor MenuItem 2019-04-03 16:32:55 +08:00
Mygod
3a7a400ee8 Update parseNumericAddress on Android Q 2019-03-20 11:53:08 +08:00
Mygod
7b48dd30e4 Fix a build version 2019-03-15 23:31:47 +08:00
Mygod
aedba90196 Lift double routing detection out of Routing 2019-03-09 01:46:01 -05:00
Mygod
317e2121c2 Refine error messages in general 2019-02-23 23:00:14 +08:00
Mygod
5954029a7c Catch more exceptions for startActivity 2019-02-22 12:10:22 +08:00
Mygod
cbc65f989c Support monitoring tethered interface
This would be useful to be used in together with Instant Tethering + Turn off hotspot automatically.

Refine #26, #53.
2019-02-06 01:27:21 +08:00
Mygod
1dd8a9dcb6 Remove unused method 2019-02-01 20:14:33 +08:00
Mygod
73d29cba20 Revert "Refrain from using reflection to parse numerical address"
This reverts commit 72851d4417.

See also: https://issuetracker.google.com/issues/123456213
2019-01-27 16:07:38 +08:00
Mygod
4918dfc856 Suppress links for bogon IPs
ipinfo.io does not tell a lot of information about bogon IP addresses, so let us just not show any links at all.
2019-01-26 21:57:58 +08:00
Mygod
d4208affbb Implement MAC lookup (#68)
* Implement MAC lookup

* Refine error processing

* Use long to store MAC consistently

* Link back to macvendors.co

* Undo some havoc

* Do not show mac spans for TV

* Show MAC and IP in a consistent order

* Add IP spans by ipinfo.io

* Add SpanFormatter

* Fix IPv6 ipinfo.io link

* Refine SpanFormatter

* Fix pressing the link
2019-01-26 21:20:40 +08:00
Mygod
72851d4417 Refrain from using reflection to parse numerical address 2019-01-26 01:35:59 +08:00
Mygod
074252ad1c Deprecate thread helper 2019-01-26 01:34:41 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
e85d792218 Refine IpNeighbour parsing 2018-10-04 16:34:40 +08:00
Mygod
8e3567954e Remove unused imports 2018-10-02 23:49:46 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00
Mygod
af20a084cb Use Android KTX 2018-07-15 20:58:39 +08:00
Mygod
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
2e912bf767 Implement displaying tethering errors 2018-07-13 00:53:06 +08:00
Mygod
814f42311b Update support lib to 28.0.0-alpha3 2018-06-10 22:28:09 +08:00
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
f6d98d0e88 Add back auto complete interface names from 0.1.0 2018-06-02 07:38:03 +08:00
Mygod
8aa7d6d8c7 Huge refactor for better maintainability 2018-06-01 20:21:05 +08:00
Mygod
efa387fd7a Fix onServiceDisconnected not called 2018-05-09 18:10:22 -07:00
Mygod
a5fa9d8801 Separate NoisySu.kt 2018-05-09 15:59:17 -07:00
Mygod
90c1951645 Move Utils.kt 2018-05-09 15:57:41 -07:00