1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-27 05:11:30 +00:00
Commit graph

1904 commits

Author SHA1 Message Date
5367918fc1 Merge pull request #598 from lkwg82/master
Update README.md
2016-03-27 23:17:33 +02:00
Lars K.W. Gohlke
f0658a13a3 fixed images in Readme 2016-03-27 22:58:37 +02:00
9ed5859f40 Also include stdout in Syncthing crash exception. 2016-03-26 18:42:37 +01:00
Matthias Leonhardt
b9919adccd Added a IntentService to receive Broadcast-Intents to remotely control / configure the app.
MainActivity: Moved binding-functions to onPause() and onResume() so that the SyncThingService is only bound to the activity if the activity is active.

New class AppConfigReceiver:
Support start and stop of the SyncThingService
- restarting a running service again should not be an issue
- stop service only if "always run in background"-mode is disabled. Otherwise show a notification indicating this.

Instrumentation-tests:
- Added tests for AppConfigReceiver
- Extended MockContext to also consume stopService commands.
- testGetReadableTransferRate: Apparently the return-values have changed a bit. Adjusted the asserts to the current return-values.

SycthingService:
Added code for thread-safety in case the service still starting when it should be stopped. Then PollWebGuiAvailableTaskImpl is active and waits for the Synthing-API to become active. So that and onDestroy have to be synchronized.
Added a stopSelf() in PollWebGuiAvailableTaskImpl.onPostExecute() in case mStopScheduled was active.

Commented my change in the javadoc at onDestroy. Put a reference to that comment to .onPostExecution()
2016-03-25 21:13:51 +00:00
512629aefa Bumped version to 0.7.12 2016-03-24 12:58:25 +01:00
85bc301781 Fixed tests. 2016-03-24 12:57:27 +01:00
8a85edfac1 Imported translations. 2016-03-24 12:35:22 +01:00
34c4bbb193 Updated Syncthing to v0.12.21 2016-03-24 12:31:40 +01:00
a04a05b8e8 Added workaround for samsung 4.2 crash (fixes #591). 2016-03-22 12:16:35 +01:00
b690ccbdec Merge pull request #590 from Zillode/nocgo
Nocgo
2016-03-22 12:08:14 +01:00
Lode Hoste
edfa9c0a2a Disable amd64 build 2016-03-21 19:45:34 +01:00
Lode Hoste
479a75462c Set GOOS=linux instead of Android (due to upstream build issues) 2016-03-20 21:17:42 +01:00
Lode Hoste
fce35f1501 Build without cgo 2016-03-20 21:17:36 +01:00
02c93dee6e Don't reset scroll position when updating device/folder list (fixes #579). 2016-03-20 19:28:25 +01:00
deda1582df Removed unneeded compatibility functions, moved sorting into fragments. 2016-03-20 19:12:49 +01:00
494f98ee5c Use TimeUnit for update interval. 2016-03-20 18:03:12 +01:00
e7433fa392 Fix FolderFragment to show all devices. 2016-03-19 21:59:53 +01:00
e459cadeef Cleaned up SettingsActivity. 2016-03-19 21:57:00 +01:00
ab19944383 Change constants from repo/node to folder/device. 2016-03-19 21:53:35 +01:00
f9c8a7dc8c Show notification if new folders is shared to local device (fixes #295). 2016-03-19 21:50:26 +01:00
0891109c42 Don't duplicate devices in FoldersFragment (fixes #587). 2016-03-19 18:32:43 +01:00
1f9f359422 Added Google Play translations. 2016-03-17 16:48:25 +01:00
8b5484f3a2 Bumped version to 0.7.11 2016-03-16 22:37:31 +01:00
76f97bd75d Imported translations. 2016-03-16 22:34:35 +01:00
567e332651 Merge pull request #581 from syncthing/change-exit
Don't use Process#exit() to avoid exit code 9.
2016-03-16 22:01:26 +01:00
1a7f24411e Merge pull request #584 from DevFactory/release/general-code-quality-fix-1
General code quality fix-1
2016-03-15 23:08:27 +01:00
Faisal Hameed
aee0d616e5 Fixing squid:S2864 - Iterating entrySet insteadof keySet. 2016-03-15 21:19:01 +05:00
9d21902090 Merge pull request #582 from DevFactory/release/default-encoding-should-not-be-used-fix-1
Code quality fix - Classes and methods that rely on the default system encoding should not be used.
2016-03-15 15:15:50 +01:00
c3ceb94c38 Merge pull request #583 from DevFactory/release/useless-parenthesis-should-be-removed-fix-1
Code quality fix - Useless parentheses around expressions should be removed to prevent any misunderstanding.
2016-03-15 15:15:36 +01:00
Faisal Hameed
fc9c170bb1 Fixing squid:UselessParenthesesCheck -Removing useless parentheses. 2016-03-15 15:42:25 +05:00
Faisal Hameed
1d06411883 Fixing squid:S1943 - Default system encoding should not be used. 2016-03-15 08:18:47 +05:00
b9c76ff062 Shutdown syncthing before importing a config (fixes #570). 2016-03-12 19:46:36 +01:00
fc5827a1df Actually use PID to stop Syncthing. 2016-03-12 19:46:36 +01:00
91f9231501 Don't use Process#exit() to avoid exit code 9.
Process#exit() seems to cause syncthing to return exit code 9 all
the time. Using SIGINT instead always gives a clean exit (at least
on my Android 6 device).
2016-03-12 19:46:31 +01:00
963704778a Replaced deprecated xml attribute. 2016-03-11 22:32:23 +01:00
8cba94fed1 Improve error outout. 2016-03-11 22:24:04 +01:00
8fb1a314b5 Removed legacy code. 2016-03-11 21:39:25 +01:00
115a9b5727 Force crash if Syncthing exits with an error.
This should give us some useful info for all our native crashes.
2016-03-11 01:22:02 +01:00
602383f643 Bumped version to 0.7.10 2016-03-08 20:29:46 +01:00
683be86c05 Downgrade design support library (fixes #580).
Looks like Google fucked up the lib and is using a dependency
that's not available before 5.0
2016-03-08 20:29:14 +01:00
c175ad91c9 Bumped version to 0.7.9 2016-03-08 01:12:53 +01:00
9f3b97531a Updated unit tests. 2016-03-08 01:12:26 +01:00
78789730bd Removed unneeded file. 2016-03-08 00:53:58 +01:00
60d01aea89 Fixed infinite loop when changing folder settings. 2016-03-08 00:51:50 +01:00
52491e192d Updated dependencies. 2016-03-08 00:41:43 +01:00
23314677fa Imported translations. 2016-03-08 00:37:58 +01:00
210a1157c5 Updated syncthing to v0.12.20 2016-03-08 00:22:12 +01:00
90331bb7ab Immediately update GUI after config was changed (fixes #355). 2016-02-26 00:06:49 +01:00
5996e134c2 Updated Google Play translations. 2016-02-25 14:49:35 +01:00
192188fd4e Fixed comparison type. 2016-02-25 14:04:57 +01:00