Commit Graph

203 Commits

Author SHA1 Message Date
David Anderson 6b74075469 - Manager/client: add the ability to specify a port
in the manager's "select host" dialog.
    Lets you connect over an SSH tunnel.
    From Der Meister.

svn path=/trunk/boinc/; revision=14681
2008-02-06 00:10:31 +00:00
Charlie Fenton 3d896bdeb7 MGR: Set disconnected state when appropriate even when minimized
svn path=/trunk/boinc/; revision=14672
2008-02-05 11:57:01 +00:00
Rom Walton 58e4094892 - MGR: Change the CC startup logic so that more informative error
messages.
        
      Policy Change: When installed as a service or daemon, the service
        or daemon manager should start BOINC, not the BOINC Manager.
        (Windows Only for right now, should eventually be applied
         to all platforms)
    - LIB: Undue my previous change that launched graphics apps as
        an idle process.
    - LIB: Take care of some warnings.
        
    clientgui/
        BOINCBaseFrame.cpp, .h
        BOINCClientManager.cpp, .h (Added)
        BOINCGUIApp.cpp, .h
        MainDocument.cpp, .h
    lib/
        util.C

svn path=/trunk/boinc/; revision=14647
2008-01-30 06:09:34 +00:00
Charlie Fenton 60c56c9e0a MGR: Delete web site buttons when disconnected; this was causing crashes when a user connected to a different computer
svn path=/trunk/boinc/; revision=14634
2008-01-29 14:28:56 +00:00
Charlie Fenton 26f823ad99 If Client connection lost, don't clear message window; show messages grayed out instead
svn path=/trunk/boinc/; revision=14564
2008-01-16 07:20:58 +00:00
Rom Walton 7804befe1b - MGR: Inform the user that they'll need to be added to the boinc_users
group if access to gui_rpc_auth.cfg is denied.
    - Tag for 6.1.6 release, all platforms
      boinc_core_release_6_1_6

    clientgui/
        BOINCBaseFrame.cpp, .h
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=14533
2008-01-11 17:56:21 +00:00
Rom Walton 923ab443c0 - MGR: Remove extra call to SetWorkingDirectory() since it
is causing authentication errors.

    clientgui/
        BOINCGUIApp.cpp
        MainDocument.cpp

svn path=/trunk/boinc/; revision=14381
2007-12-12 19:33:30 +00:00
David Anderson a3a162d43d - client: fix bug where account settings (e.g. don't get new work)
weren't being updated from account managers.
    This was because BAM! wasn't returning the <authenticator>
    in accounts already described in the request message.
    (This violates the protocol, but it's reasonable so what the heck).
    The client was ignoring all <account> records without an authenticator.
    Solution: allow <account> records without an authenticator.
- Manager: fix crash after the Manager kills a graphics app
    for a no-longer-running result.
    Changed loop logic to go forwards instead of backwards.

svn path=/trunk/boinc/; revision=14013
2007-10-31 23:22:24 +00:00
Charlie Fenton 0469e91fc1 Fix typos in comments
svn path=/trunk/boinc/; revision=13832
2007-10-11 11:18:43 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Charlie Fenton 3158d103ab client/manager/API: Finish & fix bugs in code cleanup to disentangle sandbox code from lib/.
svn path=/trunk/boinc/; revision=13798
2007-10-09 00:34:38 +00:00
David Anderson d302a5e107 - client/manager/API: code cleanup to disentangle sandbox code from lib/.
- move client sandbox-specific code to a new file, sandbox.C
    - remove g_use_sandbox from util.C; move to MainDocument.cpp (manager)
        and sandbox.C (client)
    - don't declare check_security() in util.h; it's not in util.C
    - don't call remove_project_owned_file_or_dir() in
        boinc_delete_file_aux() or boinc_rmdir();
        rather, at the points in the client that delete
        dirs that are usually owned by boinc_projects,
        call remove_project_owned_file_or_dir() first,
        then clean_out_dir().
    - rename boinc_exec() to switcher_exec() and move it to sandbox.C

Note: this change was sparked by needing to remove a call to getgrnam()
from boinclib, to avoid requiring the same version of glibc
on both compile and target hosts

svn path=/trunk/boinc/; revision=13784
2007-10-05 16:47:07 +00:00
David Anderson d8c6e5a17f - client: clean up (old undergrad-written) code related to pers file xfer.
The main goal is to fix a bug where,
        if a file is deleted from a project's download server,
        a client will keep trying to download it for 2 weeks.
        A download "file not found" is a permanent error, not transient.
        (fixes #383)
        In general, revised and renamed things to clarify the
        distinction between permanent and transient errors.
        Old functions:
            handle_xfer_failure(), try_next_url(), xfer_failed(), retry_or_backoff()
        New functions:
            permanent_failure(), transient_failure()
    - manager: compile fix for win (don't include sys/wait.h)

svn path=/trunk/boinc/; revision=13641
2007-09-24 18:32:55 +00:00
Charlie Fenton e7fba03746 Fix uninitialized instance variable
svn path=/trunk/boinc/; revision=13636
2007-09-22 04:35:30 +00:00
Charlie Fenton 8bd55b67a9 MGR V6 GFX: If no graphics apps are running, CMainDocument::OnPoll() doesn't call CachedResultsStatusUpdate()
svn path=/trunk/boinc/; revision=13635
2007-09-22 04:22:23 +00:00
Charlie Fenton c9a529f8d2 MGR: Fix build problems, crash on Linux.
svn path=/trunk/boinc/; revision=13634
2007-09-22 00:22:42 +00:00
David Anderson 135c38a7e3 - client: get_proxy_settings GUI RPC requires authentication
svn path=/trunk/boinc/; revision=13623
2007-09-21 15:07:15 +00:00
Charlie Fenton 0b8b6d922f MGR: Every 10 seconds, kill any running graphics apps whose associated worker tasks are no longer running
svn path=/trunk/boinc/; revision=13620
2007-09-21 11:45:57 +00:00
Charlie Fenton 683a8bad08 Fix bug in routine to kill any graphics apps whose tasks are no longer running
svn path=/trunk/boinc/; revision=13607
2007-09-20 13:35:47 +00:00
Charlie Fenton 0ee4c5e74c Add a routine to kill any graphics apps whose tasks are no longer running, but don't call it yet
svn path=/trunk/boinc/; revision=13606
2007-09-20 12:14:03 +00:00
Charlie Fenton 70cfba942d MGR: Keep a list of currently running gfx apps; launch only one instance of gfx app per task; kill all gfx apps on exiting Manager.
svn path=/trunk/boinc/; revision=13604
2007-09-20 11:10:59 +00:00
Charlie Fenton 2a48ccb9e6 Consolidate common Show Graphics functionality into CMainDocument::WorkShowGraphics(); implement V6 graphics in SimpleGui
svn path=/trunk/boinc/; revision=13603
2007-09-20 00:32:16 +00:00
Rom Walton d5abeb9761 - MGR: Workaround a crash issue by only dealing with the frame
pointer if the manager is told to quit by the cc.
        
    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=13126
2007-07-09 19:18:13 +00:00
David Anderson ee8462c20f - client: fix bug that broke <os_random_only> option
- client and Manager: attempts to fix problems
		if <guirpc_debug> is set

	client/
		gui_rpc_server_ops.C
	clientgui/
		MainDocument.cpp
	lib/
		gui_rpc_client_ops.C
		md5_file.C

svn path=/trunk/boinc/; revision=13083
2007-07-02 20:45:16 +00:00
Rom Walton b4e68e82c9 Quick Updates
svn path=/trunk/boinc/; revision=12946
2007-06-16 20:43:02 +00:00
Rom Walton 9d5b0fbfd1 - WINSETUP: Remove the VBS Script custom action and put back
the shortcut to BOINC Manager.
        
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism

    - MGR: Revert back out the change to cache the host type
        (local/remote). Somehow it was messing up controlling
        remote machines.

    clientgui/
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=12943
2007-06-16 17:54:32 +00:00
Charlie Fenton a7c85df940 Sandbox: clean up authentication logic for privileged operations (attach, detach, reset, etc.), fixing bugs. Mac Sandbox: free authorization after authenticating.
svn path=/trunk/boinc/; revision=12917
2007-06-13 08:30:26 +00:00
Rom Walton 239406c6fa - MGR: Only detect if the host name is local once per connection.
clientgui/
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=12911
2007-06-12 20:29:58 +00:00
Rom Walton f5f354910c - MGR: Get rid of an exit(0) call since it is evil in Windows
programs.

    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=12793
2007-05-31 18:16:40 +00:00
Rom Walton 73230372e7 svn path=/trunk/boinc/; revision=12669 2007-05-15 16:38:06 +00:00
Rom Walton 616bde6793 - MGR: Increase the connection timeout to one minute to account
for slow machines during boot-up.
        
    clientgui/
        MainDocument.cpp

svn path=/trunk/boinc/; revision=12668
2007-05-15 16:36:40 +00:00
Rom Walton 93fc7ff404 - fixes #5: Include the version number of the client next to it's
name, so people can see if they need to upgrade a remote client.
    - fixes #149: Change the parsing function for the
        CBOINCGridCellProgressRenderer so that we don't have to update
        the docs or screenshots. Display the progress bar as a resource
        share fraction.

    clientgui/
        AdvancedFrame.cpp
        BOINCGridCtrl.cpp
        MainDocument.cpp, .h
        ViewProjectsGrid.cpp

svn path=/trunk/boinc/; revision=12541
2007-05-03 16:17:54 +00:00
Rom Walton 16d5fa497c *** empty log message ***
svn path=/trunk/boinc/; revision=11999
2007-01-30 15:50:16 +00:00
David Anderson 07f49fd5bf *** empty log message ***
svn path=/trunk/boinc/; revision=11998
2007-01-29 23:23:26 +00:00
Rom Walton 2cde48af31 *** empty log message ***
svn path=/trunk/boinc/; revision=11941
2007-01-23 21:14:08 +00:00
Rom Walton 721fb8b0e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11913
2007-01-19 23:45:19 +00:00
David Anderson 3afa01c6cf *** empty log message ***
svn path=/trunk/boinc/; revision=11802
2007-01-08 17:29:02 +00:00
David Anderson 17c8f8aae1 *** empty log message ***
svn path=/trunk/boinc/; revision=11797
2007-01-07 16:15:04 +00:00
David Anderson 5ac8ba3150 *** empty log message ***
svn path=/trunk/boinc/; revision=11721
2006-12-26 00:37:25 +00:00
Rom Walton 931efa9e6c *** empty log message ***
svn path=/trunk/boinc/; revision=11713
2006-12-21 17:05:58 +00:00
David Anderson 4bdfe86df2 *** empty log message ***
svn path=/trunk/boinc/; revision=11682
2006-12-14 18:56:00 +00:00
David Anderson b404379448 *** empty log message ***
svn path=/trunk/boinc/; revision=11658
2006-12-13 00:54:27 +00:00
David Anderson e38cf716d1 *** empty log message ***
svn path=/trunk/boinc/; revision=11600
2006-11-29 17:03:26 +00:00
Rom Walton 178a16c6c9 *** empty log message ***
svn path=/trunk/boinc/; revision=11563
2006-11-22 09:51:59 +00:00
Rom Walton 2b080cc41f *** empty log message ***
svn path=/trunk/boinc/; revision=11529
2006-11-15 12:01:46 +00:00
David Anderson ec979321db *** empty log message ***
svn path=/trunk/boinc/; revision=11516
2006-11-10 18:21:05 +00:00
Rom Walton 6756c75ad5 *** empty log message ***
svn path=/trunk/boinc/; revision=11493
2006-11-07 20:29:20 +00:00
David Anderson ba1a92c41f *** empty log message ***
svn path=/trunk/boinc/; revision=11462
2006-11-03 18:00:15 +00:00
David Anderson b12a0b786c *** empty log message ***
svn path=/trunk/boinc/; revision=11461
2006-11-03 17:08:49 +00:00
Charlie Fenton dd87ace068 *** empty log message ***
svn path=/trunk/boinc/; revision=11066
2006-09-01 08:39:25 +00:00