Rom Walton
2cc9a0b6c4
client: Cleanup low hanging fruit with regards to cleaning up sprintf.
...
Use snprintf instead.
2016-02-18 00:59:13 -05:00
Rom Walton
56da6b11fb
client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use.
...
Use safe_strcpy and safe_strcat when dealing with non-pointer data types.
2016-02-15 21:53:07 -05:00
Rom Walton
0bd6fa7c8a
LIB: Remove string type conversion naming conflict with the ATL framework.
2014-11-18 16:35:47 -05:00
Eric J Korpela
31d9b7527c
Fixed somebody's typo.
2014-05-08 14:06:06 -07:00
Rom Walton
afb6dcc6f3
MGR & Client: Massive code clean-up. Remove as much of the LoadLibrary/GetProcAddress stuff as we can under VS 2012.
2014-03-06 18:27:54 -05:00
David Anderson
d3a199b3d3
win compile fix
2013-11-11 10:45:19 -08:00
David Anderson
0fc0f80c30
Fix win compile warnings. Let's shoot for zero warnings, OK?
2013-11-11 10:42:03 -08:00
Rom Walton
2cd108af7e
client: Initialize diagnostics framework for the power management and proxy detection threads on Windows
2013-10-03 20:15:20 -04:00
David Anderson
7b8bc56da3
Win build fixes
2013-06-06 18:22:51 -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
c141e7bdc9
- client (Win): don't call msg_printf() from sysmon thread.
...
Instead, put msg into a buffer and let main thread print it.
This may fix crashes on system suspend/resume.
2013-03-05 13:42:01 +01:00
Rom Walton
fc1cfc00e8
- client: Re-introduce the WM_QUERYSESSIONEND window message handler to
...
the power management window proc, it was removed during one of the Win9x
code scrubs. When we see it, inform the client it is time to shutdown.
client/
sysmon_win.cpp
svn path=/trunk/boinc/; revision=25882
2012-07-18 15:17:30 +00:00
David Anderson
ce215299e6
- client (Win) add some bulletproofing in case Windows sends us a
...
"suspending" event but not a resume event.
svn path=/trunk/boinc/; revision=23786
2011-07-01 00:25:11 +00:00
David Anderson
2177a6bd95
- server: restore fpops/intops_cumulative to RESULT
...
(structure, not table) for AQUA
- client, Windows: when wake up from hibernation,
get the time before printing log msg
svn path=/trunk/boinc/; revision=23784
2011-06-29 23:00:39 +00:00
David Anderson
d3d4c93b87
- client: on hibernate, don't wait for apps to exit
...
(NCI apps never will)
svn path=/trunk/boinc/; revision=23570
2011-05-21 06:34:54 +00:00
David Anderson
863950ecc1
- client: show error messages from account managers correctly
...
- client/manager: if a job is missing a GPU, show details
- client: win compile fix
svn path=/trunk/boinc/; revision=23430
2011-04-24 19:56:28 +00:00
David Anderson
17c2dd9ae6
- client: don't use the Snooze mechanism to handle
...
OS-requested suspension
(especially with a 1-hour snooze period).
Instead, handle them directly.
svn path=/trunk/boinc/; revision=23420
2011-04-23 19:02:17 +00:00
David Anderson
6784283211
- user web: fix bugs in server status page
...
- fix some indentation
svn path=/trunk/boinc/; revision=22890
2011-01-06 23:09:13 +00:00
Rom Walton
4793196725
- client: Fix autoproxy detection so that it doesn't break platforms that
...
currently do not support proxy detection.
client/
net_stats.cpp
sysmon_win.cpp
lib/
proxy_info.cpp, .h
svn path=/trunk/boinc/; revision=22110
2010-08-03 16:57:18 +00:00
Rom Walton
a70b54953d
- client: Kick off an auto proxy detection pass on any http error, only
...
attempt a follow-up reference site check if the proxy server name
changes. This may mean that'll it will be the second or third connection
attempt before the CC starts using the new proxy information.
client/
net_stats.cpp
sysmon_win.cpp
svn path=/trunk/boinc/; revision=22081
2010-07-30 20:51:08 +00:00
Rom Walton
2179576c93
- WINSETUP: Update validate install procedure to account for the
...
removal of boinc.dll and addition of boinclog.exe.
- MGR: Move auto-proxy detection code into its own thread.
client/
main.cpp
sysmon_win.cpp
win_build/installerv2/
BOINC.ism
BOINCx64.ism
win_build/installerv2/redist/Windows/src/boinccas/
CAValidateInstall.cpp
win_build/installerv2/redist/Windows/Win32/
boinccas.dll
boinccas95.dll
win_build/installerv2/redist/Windows/x64/
boinccas.dll
boinccas95.dll
svn path=/trunk/boinc/; revision=22009
2010-07-19 22:09:45 +00:00
David Anderson
7db608660f
- client: standardize debug messages.
...
Messages enabled by <foo_debug> are prefixed by "[foo]"
svn path=/trunk/boinc/; revision=21335
2010-04-29 20:32:51 +00:00
Rom Walton
e14e1cad34
- Remove BOINC_RCSID tags from source files, we are doing branching and tagging
...
properly.
<Various Files>
svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
David Anderson
a13800e285
win compile fixes
...
svn path=/trunk/boinc/; revision=19786
2009-12-05 01:02:46 +00:00
David Anderson
609872edf7
- client: the checkin of 15 Oct related to multi-thread apps
...
didn't work due to a typo.
- client: if <ncpus> is present in cc_config.xml,
we're supposed to act as if there were that many physical CPUs.
In particular, we need to set host_info.p_ncpus to that value,
since that's what is reported in scheduler requests.
svn path=/trunk/boinc/; revision=19522
2009-11-09 19:51:31 +00:00
David Anderson
177fae6e08
- client: parse HTTP_PROXY strings of the form
...
http://username:passwd@host.dom.dom:port/file
(we weren't parsing the username and password before).
- client: fix the feature that lets you exclude a list of hosts
from going through the proxy.
svn path=/trunk/boinc/; revision=19513
2009-11-07 06:00:08 +00:00
David Anderson
0e282a4aa6
Win compile fixes
...
svn path=/trunk/boinc/; revision=19481
2009-11-05 18:11:20 +00:00
Rom Walton
fe4a8fabb2
- client: If an administrator has deployed proxy settings at runtime or
...
during a VPN connection allow the client to read the new proxy
configuration from the registry.
client/
sysmon_win.cpp
svn path=/trunk/boinc/; revision=19370
2009-10-23 16:52:50 +00:00
Rom Walton
5cb7accbfa
Quick Updates
...
svn path=/trunk/boinc/; revision=19222
2009-09-30 18:18:42 +00:00
Rom Walton
5824c3cad8
- client: Apparently it is valid for the autoproxy to return
...
successful API completeion but a null proxy list. Check
for the null instead of crashing.
client/
sysmon_win.cpp
svn path=/trunk/boinc/; revision=19221
2009-09-30 18:13:03 +00:00
David Anderson
2e702db323
- client/API: add autosetup proxy info to init_data.xml
...
svn path=/trunk/boinc/; revision=19090
2009-09-18 16:30:25 +00:00
David Anderson
7c6adea563
- client: fix crashing bug in proxy autodetect
...
svn path=/trunk/boinc/; revision=18997
2009-09-03 04:20:09 +00:00
David Anderson
607119dcbf
- fixes to proxy autodetect
...
svn path=/trunk/boinc/; revision=18941
2009-08-28 21:25:13 +00:00
David Anderson
16c2d5addc
compile fixes
...
svn path=/trunk/boinc/; revision=18937
2009-08-28 18:01:51 +00:00
Rom Walton
1888efa536
- client: Attempt to prevent a crash via a C++ exception by checking
...
for a -1 index before attempting erase the rest of the proxy
list.
client/
sysmon_win.cpp
svn path=/trunk/boinc/; revision=18893
2009-08-21 18:52:35 +00:00
Rom Walton
16156838c5
- client: Second pass through the automatic proxy detection code.
...
During the first pass we learned that the whole process of
proxy detection on Win XP machines could take a few seconds
even with no proxies to be detected, now the proxy detection
code is executed in the same thread that is monitoring for
power change events.
client/
cs_cmdline.cpp
http_curl.cpp
http_curl.h
http_curl_win.h
net_stats.cpp
sysmon_win.cpp, .h
lib/
parse.cpp, .h
proxy_info.cpp, .h
svn path=/trunk/boinc/; revision=18819
2009-08-07 18:16:21 +00:00
David Anderson
b4d29b9c6d
- minor code cleanup
...
svn path=/trunk/boinc/; revision=18805
2009-08-03 21:46:16 +00:00
Rom Walton
b932711a80
- client: refactor the CC startup process, move majority of the
...
windows code into sysmon_win.cpp, .h
client/
client_state.cpp, .h
cpp.h
http_curl.cpp
main.cpp, .h
net_stats.cpp
sysmon_win.cpp, .h
svn path=/trunk/boinc/; revision=18803
2009-08-03 20:55:00 +00:00
David Anderson
abf34520e6
Begin refactor process for Windows auto proxy detection
...
svn path=/trunk/boinc/; revision=18798
2009-08-02 03:35:45 +00:00