Commit Graph

13 Commits

Author SHA1 Message Date
David Anderson 735e2b0448 - internal change: rename MSG_USER_ERROR to MSG_USER_ALERT
svn path=/trunk/boinc/; revision=20027
2009-12-23 18:02:40 +00:00
David Anderson 62ece8f222 - client: intermediate checkin for RSS/notice stuff.
It's coming along.

svn path=/trunk/boinc/; revision=20006
2009-12-22 03:56:24 +00:00
David Anderson 4bd0e4a2de - client: sort out proxy_info mess.
Source of proxy info (descending priority)
    - GUI RPC (Manager or boinccmd)
        This and only this is saved in state file.
        If neither HTTP nor SOCKS server name present,
        this is viewed as not present
    - environment vars
    - cc_config.xml

    Show sources of proxy info in message log.
    If one is present but overridden, show a message to that effect.

    This fixes a bug where someone had a proxy info env var and
    forgot about it.
    They got an erroneous message saying no proxy was being used.

svn path=/trunk/boinc/; revision=19785
2009-12-05 00:51:05 +00:00
Rom Walton ea0ab71e45 - client: autoproxy detection should happen at startup too.
- client: when autoproxy detection is in progress don't attempt to use
        old values
    - client: user defined proxies should take presidence over automatically
        detected ones.
    - lib: Re-implement the assignment operator for proxy_info, http_curl.cpp
        uses it to clone the proxy information for each http op.  See set_proxy();

    client/
        client_state.cpp
        http_curl.cpp
        net_stats.cpp
    lib/
        proxy_info.cpp, .h

svn path=/trunk/boinc/; revision=18971
2009-09-01 16:01:30 +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 8728c04983 - reverted changes to PROXY_INFO which broke various things
svn path=/trunk/boinc/; revision=18936
2009-08-28 17:14:37 +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
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 2c03cb2732 - client: if an HTTP op fails within 30 sec of client startup,
don't skip the reference site check.
    Instead, defer the reference site check until 30 secs after startup.
    Also, if during this interval (when the check has been requested
    but not started) return net status as LOOKUP_PENDING

svn path=/trunk/boinc/; revision=18760
2009-07-28 22:24:14 +00:00
Rom Walton c3dc333f26 - client: There was already a way to check if the reference site
check was in progress, I missed it through my first pass
        through the manager code while trying to debug the proxy problem
        get_cc_config returns NETWORK_STATUS_LOOKUP_PENDING which
        then causes the manager to call get_cc_status again.
        
    client/
        gui_rpc_server_ops.cpp
        net_stats.cpp, .h

svn path=/trunk/boinc/; revision=18743
2009-07-28 04:16:32 +00:00
David Anderson 0f0a29b5b7 - client: in get_project_config_poll() GUI RPC,
return ERR_IN_PROGRESS is the reference site check is in progress.
    This hopefully fixes a bug where:
    - the user is connected via a proxy
    - the manager is run for the first time, and an attach is tried
    - the get_project_config.php fetch fails because no proxy config
    - the manager gets the CC_STATUS before the ref site check has
        finished, so it thinks there's a network connection,
        and it doesn't ask the user for proxy info

svn path=/trunk/boinc/; revision=18712
2009-07-24 19:09:37 +00:00
David Anderson 20d9f92a65 - client: new config flags
<network_test_url>: where to go to see if network is up
    <client_version_check_url>: where to get list of client versions
    <client_download_url>: where to direct user to get new version
- manager: some different text for WCG version


svn path=/trunk/boinc/; revision=16208
2008-10-14 23:07:40 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00