Vitalii Koshura
44742026e2
Remove trailing whitespaces. Add CI script to verify in on every commit
...
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-05-05 20:08:17 +02:00
Charlie Fenton
0940154d4e
client: Fixes for new version check
...
* Allow restricting to specified OS versions (implemented for MacOS only so far)
* Show newest acceptable BOINC version even if not in ascending order in versions.inc and get_current_version.xml files
* Remove cached newer version number from client_state file if the build was removed from versions.inc (e.g., if a bug was found)
* Fix typos and add comments
2022-04-01 03:25:05 -07:00
davidpanderson
b26a2a9b20
client: the get_newer_version() GUI RPC (from the Manager) initiates
...
an RPC to the BOINC server to get new version info,
but it wasn't waiting for the RPC to finish.
Make it do so.
2022-03-30 01:54:03 -07:00
Dmitry Tsarevich
c09041eb7a
client: Use string.clear() instead of = '' to increase performance
2020-05-07 14:43:14 +03:00
Charlie Fenton
064d0e80fc
client: use #define DEFAULT_VERSION_CHECK_URL instead of NVC_CONFIG::get_default_version_check_url()
2018-08-02 20:23:41 -07:00
Charlie Fenton
8bab12f8f8
client: save a copy of nvc_config.client_version_check_url in client_state.xml file, eliminating need for installer to rename previous nvc_config.xml to old_nvc_config.xml.
...
newer_version_startup_check() compares gstate.client_version_check_url to nvc_config.client_version_check_url. If different, it clears gstate.newer_version and updates gstate.client_version_check_url.
2018-07-26 02:09:48 -07:00
Charlie Fenton
b1e629a5fb
Move network_test_url tag from cc_config.xml into new nvc_config.xml file, since WCG modifies this for their branded builds (along with new version check info) and it is probably never modified for standard (unbranded) BOINC
2018-07-18 19:10:30 -07:00
Charlie Fenton
fc02420dd4
To allow customized new version message to be translatable, allow only the branded name of BOINC to be customized in the message.
...
Emphasize this difference by changing NVC_CONFIG struct member new_version_text to new_version_name.
Fix a bug I introduced in release_brand.sh script.
2018-07-15 03:24:59 -07:00
Charlie Fenton
a03075c73c
If version check URL has changed, reset any past new version information
...
This may happen due to installing a build of BOINC with different branding than before
2018-07-15 02:20:50 -07:00
Charlie Fenton
4f09c1979b
Move client_version_check_url, client_download_url and client_new_version_text tags from cc_config.xml into new nvc_config.xml file.
...
If nvc_config.cml file is absent, use default values.
Branded installers can create or replace this file to customize these values.
Standard (unbranded) BOINC installers should either delete the file or create or replace it with one containing default values.
2018-07-14 04:59:06 -07:00
Kevin Reed
ecab12bd52
Client - Change some links and urls to use https instead of http
2017-11-15 17:23:53 -06:00
Vitalii Koshura
8e84ff30b7
client: Version check. Fix message about new version.
2017-01-24 02:13:06 +02:00
Vitalii Koshura
494739b112
client: Version check. Add force version check.
2017-01-24 02:09:53 +02:00
David Anderson
1e2fcb4b68
client/lib: change CONFIG to CC_CONFIG, config to cc_config.
...
Eliminates ambiguity of "config" global var, which is used in server code.
This confuses IDEs that are looking at all the code at once.
2014-05-08 00:51:18 -07:00
David Anderson
78f7610f6e
remove dependency of boinc_api.h on str_replace.h (and hence config.h)
...
Any files that use strlcpy() or strlcat() must directly include str_replace.h
2013-06-06 17:31:46 -07:00
David Anderson
1f0f8e247a
client: if <client_new_version_text> present, don't link to BOINC web site
2013-06-05 16:55:34 -07:00
David Anderson
846b8c7757
all components: change strcpy() to strlcpy() when possible.
...
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
David Anderson
6968dc5a72
client: fix build break
2013-05-20 12:56:31 -07:00
David Anderson
e12e1d0138
client: add <client_new_version_text> config option
...
Lets you customize the notice that's generated when a new client version is available
2013-05-20 10:28:19 -07:00
David Anderson
d319139186
- client: improve "new version available" notice
...
svn path=/trunk/boinc/; revision=25888
2012-07-23 22:29:40 +00:00
David Anderson
1383142b03
- client: use new XML parser pretty much everywhere
...
svn path=/trunk/boinc/; revision=23984
2011-08-11 06:17:33 +00:00
David Anderson
94e8c48220
- client: change --detach_phase_two (??) to --detach_console
...
- eliminate compiler warnings (e.g. shadowed vars)
in various places, mostly in client
svn path=/trunk/boinc/; revision=23710
2011-06-12 20:58:43 +00:00
David Anderson
9d0891dc16
svn path=/trunk/boinc/; revision=22550
2010-10-18 20:31:54 +00:00