mirror of https://github.com/BOINC/boinc.git
fb16e55293
The client shows what kind of operating system it has detected in startup log message and elsewhere. This is confusing and not helping in troubleshooting when people expect these messages to describe the client itself. Change the messages to use client's build platform instead. Startup log message, output of --version and user agent string should be safe to change without breaking anything. The client still uses OS platform in various places but changing these would break stuff: - Scheduler request XML. Scheduler expects scheduler_request.platform_name to be OS primary platform. - client_state.xml. Client writes OS primary platform and alt platforms separately to client_state.xml. The client reads primary platform only to see if it has changed. The client doesn't read alt platforms but some other program might and depends on the platforms being as they are now. Not changing this means the client won't be able to detect when its own platform has changed. OS platform changes are still detected. - get_state GUI RPC. The client writes primary platform to client_state.platform_name and all platforms, including primary, to client_state.platform. BOINC Manager only reads client_state.platform. As such, client_state.platform_name could be changed to client's build platform but some 3rd party manager might depend on it being OS primary platform. - time_stats_log. The client writes platform info there. Unclear who uses that information. Closes #2386. |
||
---|---|---|
.. | ||
templates | ||
BOINCGUIApp.mm | ||
CE_ss_logo.tiff | ||
MacAccessiblity.h | ||
MacAccessiblity.mm | ||
MacBitmapComboBox.cpp | ||
MacBitmapComboBox.h | ||
MacGUI.pch | ||
MacNotification.mm | ||
Mac_GUI.cpp | ||
ProgThruProc.tiff | ||
SecurityUtility.cpp | ||
SetVersion.cpp | ||
SetupSecurity.cpp | ||
SetupSecurity.h | ||
browser_safari.mm | ||
config.h | ||
gridrepublic.tiff |