Isira Seneviratne
e4ab059e39
Simplify some operations in ClientStatus and ProjectDetailsFragment using Eclipse Collections.
...
Also return Collections.emptyList() instead of null to prevent NPEs.
2020-04-07 15:19:11 +05:30
Isira Seneviratne
62b933d172
Simplify some operations in EventLogActivity using Eclipse Collections.
...
Also change ArrayList parameter types to List.
2020-04-07 15:15:24 +05:30
Isira Seneviratne
327c0eed0d
Simplify some operations in TasksFragment using Eclipse Collections.
...
Also change ArrayList parameter types to List.
2020-04-07 15:15:24 +05:30
Isira Seneviratne
3eda3c20c3
Simplify some operations in ProjectsFragment using Eclipse Collections.
...
Also change ArrayList parameter types to List.
2020-04-07 15:15:22 +05:30
Isira Seneviratne
a4284c8a40
Simplify some operations in PrefsFragment using Eclipse Collections.
...
Also change ArrayList parameter types to List and combine some duplicate switch-case branches.
2020-04-07 15:03:30 +05:30
Isira Seneviratne
7e007a344c
Simplify some operations in NavDrawerListAdapter using Eclipse Collections.
2020-04-07 15:03:30 +05:30
Isira Seneviratne
99bf46425c
Simplify some operations in ClientInterfaceImplementation using Eclipse Collections.
...
Also remove some unused methods and remove unnecessary null check.
2020-04-07 15:03:29 +05:30
Isira Seneviratne
c53d0ddd26
Add Eclipse Collections library.
2020-04-07 15:03:29 +05:30
Vitalii Koshura
9978fd6992
Merge pull request #3567 from Isira-Seneviratne/Enable_code_shrinking_and_update_Android_plugin
...
Enable code shrinking and update Android Gradle plugin.
2020-04-07 10:34:31 +02:00
Kevin Reed
a05f16a43b
Merge pull request #3553 from BOINC/dpa_user_count
...
web: fix warning when user has no projects yet
2020-04-06 16:04:31 -05:00
Kevin Reed
dfe1a9c273
Merge pull request #3534 from AenBleidd/fix_codecov
...
[Codecov] Fix uploading CodeCov reports
2020-04-06 15:48:27 -05:00
Vitalii Koshura
c93401f9a8
Merge pull request #3574 from BOINC/knr_update_wcg_tou
...
Update WCG Readme file for branded Mac Installer
2020-04-06 22:43:14 +02:00
Kevin Reed
3c06186464
Merge pull request #3505 from smoe/patch-3
...
be explicit how sched_scheduler was meant to be set
2020-04-06 15:42:13 -05:00
Kevin Reed
435cc10ff5
Merge pull request #3468 from AenBleidd/vko_dpa_db_comm
...
web: if fail to connect to DB, say so rather than "project stopped".
2020-04-06 15:41:19 -05:00
Kevin Reed
e7b6da8b15
Update WCG Readme file for branded Mac Installer
2020-04-06 15:28:12 -05:00
Vitalii Koshura
ae61780acb
Merge pull request #3568 from Isira-Seneviratne/feature/Convert_data_classes_to_Kotlin
...
Convert remaining RPC data classes to Kotlin.
2020-04-06 10:44:33 +02:00
Isira Seneviratne
bcc5857d5a
Convert DeviceStatusData to Kotlin.
2020-04-06 14:02:34 +05:30
Vitalii Koshura
795b0b6e58
Merge pull request #3554 from Isira-Seneviratne/feature/Rewrite_MessagesParser
...
Rewrite MessagesParser to extend BaseParser.
2020-04-06 10:14:37 +02:00
Isira Seneviratne
28ee7a1dcf
Remove Lombok dependency, as it is no longer needed.
2020-04-06 05:08:10 +05:30
Isira Seneviratne
1883f1f2ac
Update Android Gradle plugin to 3.6.2.
2020-04-06 04:47:55 +05:30
Isira Seneviratne
955f0eb6d8
Enable code and resource shrinking for release builds and code shrinking for debug builds.
2020-04-06 04:47:55 +05:30
Isira Seneviratne
fee804ae63
Add another test for MessagesParser.
2020-04-06 04:46:34 +05:30
Isira Seneviratne
c6cc6cfa71
Remove nullable properties from PrefsListItemWrapper classes.
2020-04-06 04:25:01 +05:30
Isira Seneviratne
51aa4ea708
Update copyright date of Project.kt.
2020-04-06 04:25:00 +05:30
Isira Seneviratne
553ea5ba9d
Rename TimePreferences.kt to TimePreferencesClasses.kt for clarity.
2020-04-06 04:25:00 +05:30
Isira Seneviratne
fc121f29b0
Move SelectionDialogOption to 'adapter' package and convert it to Kotlin.
...
Also combine duplicate switch-case blocks in PrefsFragment.
2020-04-06 04:24:59 +05:30
Isira Seneviratne
7090091937
Move AccountOut to AccountIn.kt and rename it to AccountClasses.kt for clarity.
2020-04-06 04:24:59 +05:30
Isira Seneviratne
073bcaed3f
Convert AccountIn to Kotlin.
2020-04-06 04:24:48 +05:30
Isira Seneviratne
caa43f0051
Convert ImageWrapper to Kotlin.
2020-04-06 04:21:16 +05:30
Isira Seneviratne
077619c7dc
Convert Result and ResultTest to Kotlin.
2020-04-06 04:21:09 +05:30
Isira Seneviratne
f712647b0b
Update MessagesParser tests.
2020-04-06 04:11:09 +05:30
Isira Seneviratne
af787715e3
Override the BaseParser methods in MessagesParser.
2020-04-06 04:11:09 +05:30
Isira Seneviratne
7a4ce06676
Move message tag to RPCCommonTags.
2020-04-06 04:11:08 +05:30
Vitalii Koshura
e5b5aeb021
Merge pull request #3558 from Isira-Seneviratne/feature/Use_writeBoolean_and_readBoolean_on_API_29+
...
Use writeBoolean() and readBoolean() in Parcelable implementations on Android Q and later.
2020-04-05 22:49:27 +02:00
Vitalii Koshura
61753d664d
Merge pull request #3557 from Isira-Seneviratne/Use_primitive_booleans_in_Logging
...
Convert the boolean wrapper variables in Logging to primitives.
2020-04-05 22:42:10 +02:00
Vitalii Koshura
38965d26dd
Merge pull request #3555 from smoe/patch-4
...
network.cpp: getaddrinfo error msg: "\n" added
2020-04-05 22:34:58 +02:00
Isira Seneviratne
dc2dcf0486
Add calls to writeBoolean() and readBoolean() in AcctMgrInfo.
2020-04-05 11:03:57 +05:30
Isira Seneviratne
e09d829fd1
Add calls to writeBoolean() and readBoolean() in Transfer.
2020-04-05 11:00:19 +05:30
Isira Seneviratne
e40ebc6968
Add calls to writeBoolean() and readBoolean() in Result.
2020-04-05 10:58:37 +05:30
Isira Seneviratne
0e950abdd3
Add calls to writeBoolean() and readBoolean() in ProjectConfig.
2020-04-05 10:53:46 +05:30
Isira Seneviratne
2906ddeca0
Add calls to writeBoolean() and readBoolean() in Project.
...
Also change the order in which some values are written to and read from a Parcel.
2020-04-05 10:50:20 +05:30
Isira Seneviratne
cbce258b04
Add calls to writeBoolean() and readBoolean() in Notice.
2020-04-05 10:49:46 +05:30
Isira Seneviratne
079f016c1a
Add calls to writeBoolean() and readBoolean() in GlobalPreferences.
2020-04-05 10:49:46 +05:30
Isira Seneviratne
513ad18cfc
Add calls to writeBoolean() and readBoolean() in AccountIn.
2020-04-05 10:32:12 +05:30
Isira Seneviratne
0ae1c49e88
Convert the boolean wrapper variables in Logging to primitives.
2020-04-05 05:49:36 +05:30
Steffen Möller
48dd9302c6
network.cpp: getaddrinfo error msg: "\n" added
...
Today, it looks like
```
04-Apr-2020 00:33:45 [TN-Grid Platform] Project requested delay of 121 seconds
04-Apr-2020 03:13:20 getaddrinfo(OpenWrt): Name does not resolve04-Apr-2020 03:13:22 [TN-Grid Platform] Project requested delay of 121 seconds
04-Apr-2020 04:36:43 getaddrinfo(OpenWrt): Name does not resolve04-Apr-2020 04:36:45 [TN-Grid Platform] Project requested delay of 121 seconds
04-Apr-2020 06:14:09 getaddrinfo(OpenWrt): Name does not resolve04-Apr-2020 06:14:11 [TN-Grid Platform] Project requested delay of 121 seconds
04-Apr-2020 07:36:18 getaddrinfo(OpenWrt): Name does not resolve04-Apr-2020 07:36:20 [TN-Grid Platform] Project requested delay of 121 seconds
```
which connects two messages that are unrelated - the first being caused by the host or its name server and the second by the project server.
2020-04-04 20:18:21 +02:00
David Anderson
a775719037
web: fix warning when user has no projects yet
2020-04-03 11:32:06 -07:00
Vitalii Koshura
e90b4780ce
Merge pull request #3552 from Isira-Seneviratne/feature/Convert_parsers_to_Kotlin
...
Convert RPC parsers to Kotlin.
2020-04-03 16:21:41 +02:00
Isira Seneviratne
884bb14484
Replace nullable Project variable with lateinit one in ProjectsParser.
2020-04-03 19:20:08 +05:30
Isira Seneviratne
8b5d3bc7ed
Remove comment from MessageCountParser.
2020-04-03 19:10:21 +05:30