Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-08 | Bindings: Merge bugfixes and updates | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-11-07 | Bindings: Move to a separate package | Samuel Holland | |
These are really app-independent reusable classes. Moving them to a separate package helps avoid polluting the main app package, and makes them easier to upgrade. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | Centralize/unify validation of configurations | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigActivity: Invert isSplitLayout→isSingleLayout for clarity | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ObservableSortedMap: Document interface | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | Remove state debugging messages | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigEditFragment: Copy public key on click | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | Peer: Add a field for the optional pre-shared key | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigActivity: Fix condition for inserting back stack entries | Samuel Holland | |
Fixes saved editor state on rotation (removing and recreating the editor discarded changes). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigActivity: Save editor state across fragment instances | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | AddActivity: Update for ConfigEditFragment changes | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigEditFragment: Save and restore editor state properly | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigActivity: Avoid unnecessary executePendingTransactions | Samuel Holland | |
Nothing later tries to find the list using findFragmentById(). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-24 | ConfigListFragment: Avoid unnecessary findViewById | Samuel Holland | |
The generated ViewDataBinding has fields for each view with an id. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | ConfigActivity: Log state transitions | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | Config/Interface/Peer: Make Parcelable | Samuel Holland | |
This allows saving the editor state across restarts. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | Config/Interface/Peer: Fix some missed change notifications | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | VpnService: Fix some edge cases in ConfigUpdater | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | Config/Interface: Allow copyFrom() to work on null | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-23 | BaseConfigActivity: Remember editing state | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-22 | QuickTileService: Update the tile once on service init | Samuel Holland | |
This makes the tile show the correct info when it is first added. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-22 | Add an adapter for binding an ObservableList to a LinearLayout | Samuel Holland | |
EditTexts do not work in ListViews. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-22 | Use data binding to provide EditText input filters | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-22 | ConfigAddActivity: Rename to AddActivity | Samuel Holland | |
Not everything needs to start with Config Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-21 | ConfigActivity: Fix fragment state when leaving/entering app | Samuel Holland | |
Do this by making the fragment transition functions idempotent. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-19 | Peer: Associate with a Config | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-19 | Minor cleanups | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-18 | ObservableAdapters: notify on map/list being set | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | MapAdapter: Stable IDs are based on value, not key | Samuel Holland | |
This fixes list selection to survive renaming configurations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ConfigListFragment: Restore the non-FAB add menu | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | QuickTileService: Implement and update from VpnService | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | BaseConfigActivity: Make use of inner class's this | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | VpnService: Use a string to remember the primary config | Samuel Holland | |
This allows simplifies the code a bit. Also, a few other minor changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ConfigEditFragment: Add extremely basic validation | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | Interface: Rework private key handling | Samuel Holland | |
This works much better with a data-bound UI -- no confusing erasing of the text box, and no crashes, either! Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | VpnService: Remove extraneous call to super() | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ObservableArrayMapAdapter: Remove | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | Convert to using the ObservableTreeMap and its adapter | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ObservableMapAdapter: Based on an observable TreeMap | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | VpnService: Remember and optionally restore enabled configs | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | SettingsActivity: Implement primary config setting | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigListPreference: ListPreference for configs | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | BindingAdapters: Create an adapter for textStyle | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | VpnService: Remember and maintain the primary config | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: add an isPrimary property | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Inline PlaceholderFragment into the layout | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: Make it Comparable | Samuel Holland | |
This will be used for future sorting. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Adjust when the back arrow is shown | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigListFragment: Implement config selection and removal | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: Rename function to make databinding happy | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |