-
Notifications
You must be signed in to change notification settings - Fork 200
TrueTime 4.0 : Kotlin & coroutines #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
f3a0f45
Convert sample to kt + androidx
Jawnnypoo 6b77436
Convert rx class to kt
Jawnnypoo e28e515
Convert main library module to kt
Jawnnypoo 9837d29
Binary compatibility cleanup
Jawnnypoo 2e5b035
Java compat
Jawnnypoo b674f8e
Remove Collections references
Jawnnypoo cab1e02
Neat app icon
Jawnnypoo eee0134
Add way to view base implementation from Rx implementation
Jawnnypoo a560af3
chore: upgrade kotlin + gradle versions
kaushikgopal 12c0457
dep: add coroutines
kaushikgopal 59d2d9d
skip build config generation
kaushikgopal 43b3525
fix: update non Rx activity title
kaushikgopal 5a43240
add TrueTime2 interface
kaushikgopal 843f9cc
simplify Rx in TrueTimeRx
kaushikgopal d330482
wip: write out algorithm for coroutine implementation
kaushikgopal 28d0f47
wip: ntp algo with todo methods
kaushikgopal 7e9683c
reogranize sntip client package
kaushikgopal 9cf3f45
inject sntp client into TrueTime
kaushikgopal 90ad99a
implementation logic
kaushikgopal fcd3857
feat: flush out implementation for TrueTimeImpl
kaushikgopal 94b15cc
test figures for TrueTimeImpl
kaushikgopal de1045d
hack to test coroutines TT
kaushikgopal 26a3260
app example : initialize TrueTime2
kaushikgopal 2b8cd73
fix: revert TrueTime.kt -> .java
kaushikgopal dda83ef
ref: reorganize packages
kaushikgopal be815e1
--wip: sntp duplicate
kaushikgopal 38449d4
upgrade kotlin + coroutines gradle
kaushikgopal 43fab29
ref: move to legacy package
kaushikgopal 6d19a1b
feat: Sntp add devicetime api
kaushikgopal 6036da1
feat: TrueTime2 add more usable apis
kaushikgopal 13342c3
feat: cleanup sample app
kaushikgopal c60ccaa
feat: add repeat count parameter
kaushikgopal ef8c0fe
fix: add equals + hashcode for TruetimeResult
kaushikgopal 9243133
store and reuse ntpResult
kaushikgopal 053875c
ref: extract TimeKeeper logic
kaushikgopal 7e32a99
fix: cleanup SntpImpl
kaushikgopal 0c028a6
feat: add logger interface
kaushikgopal dd37470
fix: logging levels
kaushikgopal 61a307a
ref: remove TrueTime dependencies from Sntp
kaushikgopal e78471e
feat: add sync through coroutines
kaushikgopal 0a3c94c
ref: clean up api given sync present
kaushikgopal f1c9150
fix: truetime failure shouldn't crash
kaushikgopal c78f9eb
wip
kaushikgopal b18f9ea
package rename
kaushikgopal 742506c
api changes
kaushikgopal a33593f
wip: upgrade gradle plugin
kaushikgopal bedee05
refactor(sntp): move from logger to event listener
kaushikgopal 567af93
SntpImpl: move from logger → EventListener
kaushikgopal 04dcfa2
move from logging → event listener
kaushikgopal 2f0c346
ref: move TrueTimeParameters from data class → Builder pattern
kaushikgopal e5517b6
ref: remove initialize method; sync is the way to go
kaushikgopal a515b93
ref: event listener + sample app log listener
kaushikgopal 051b53e
fix app based on changes
kaushikgopal 7ec3ade
app tweaks
kaushikgopal 0900ee6
update README
kaushikgopal 6cd1516
update README
kaushikgopal 03e24b5
update REAME
kaushikgopal b0f16e6
update REAME
kaushikgopal 44b5772
update REAME
kaushikgopal fe1be4a
cleanup
kaushikgopal 51767b9
prepare for release
kaushikgopal 6b452d3
update jitpack instructions
kaushikgopal 80f0a4d
fix: compileSdkVersion to 33
kaushikgopal dd1207a
fix: compiler warning for resolveNtpHostToIPs
kaushikgopal bd113cd
fix: sample app using actual truetime
kaushikgopal abde7e2
ref: move from String → InetAddress object
kaushikgopal 8a0a04b
ref: change SNTP call to address vs ntphost
kaushikgopal 8c7dcf5
feat: keep device on when using TrueTime app
kaushikgopal 3a07875
feat: add feature to filter ipv6 addresses
kaushikgopal 0d13df9
feat: add strict mode flag
kaushikgopal 369e428
fix: sample app api
kaushikgopal 5b7d498
ref: improve TrueTime Parameters naming
kaushikgopal e1145a6
update gitignore
kaushikgopal b08dc3c
rename serverResponseDelayMax → InMillis
kaushikgopal 296ef71
improve docs
kaushikgopal f9174e7
use lifecyclescope in sample app
kaushikgopal aaadff8
fix glaring documentation bug on strictNtpMode
kaushikgopal 72e790d
dispose activity syncer
kaushikgopal fe2f761
upgrade gradle
kaushikgopal 4b115c8
reorder todos based on priority
kaushikgopal 1b44fed
upgrade kotlin 1.8.0 coroutines 1.6.4
kaushikgopal 3e581be
increase server response delay
kaushikgopal 024cac8
switching to time.apple for example
kaushikgopal d7a1490
truetime will one day be pure kotlin, so this is pointless
kaushikgopal c1a5d38
agp 8 warning
kaushikgopal 464d93d
target sdk 33 + move sample app out of instacart.library package
kaushikgopal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
truetime will one day be pure kotlin, so this is pointless
- Loading branch information
commit d7a1490ca04e88cbd8e358f9bdbde36fde00231b
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.