Commit Graph

1535 Commits

Author SHA1 Message Date
David Anderson d0256a3802 - Manager compile fix
svn path=/trunk/boinc/; revision=14235
2007-11-17 00:36:53 +00:00
Charlie Fenton f5114ac1c5 Mac: Add 64-bit Intel support to Client and libraries.
svn path=/trunk/boinc/; revision=14225
2007-11-16 13:27:35 +00:00
Charlie Fenton db772ab82a MGR: Fix bug which showed Snooze task bar icon when it shouldn't.
svn path=/trunk/boinc/; revision=14224
2007-11-16 09:28:02 +00:00
Rom Walton 50f63c1fd4 - MGR: Shrink the external web link icon to 12x12 to avoid having the
grey border.
    - MGR: Use tooltips instead of balloons when displaying result completion
        status. (from David Barnard)
    
    clientgui/
        BOINCTaskBar.cpp, .h
        ProjectListCtrl.cpp
    clientgui/msw
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=14214
2007-11-15 15:59:59 +00:00
Rom Walton c11e5a5617 - MGR: Update project list web link image.
clientgui/res/
        externalweblink.xpm
    clientgui/res/templates
        externalweblink.gif

svn path=/trunk/boinc/; revision=14178
2007-11-13 17:27:01 +00:00
David Anderson 65700e7dc5 svn path=/trunk/boinc/; revision=14137 2007-11-11 20:18:27 +00:00
Charlie Fenton 9214583c37 Fix SG preferences "Do work only between" and "Connect only between"
svn path=/trunk/boinc/; revision=14133
2007-11-10 02:05:53 +00:00
Charlie Fenton 44a2cef148 Mgr SG: Fix SG preferences bug: set "custom" checkmark only if global_prefs_override.xml file exists.
svn path=/trunk/boinc/; revision=14121
2007-11-08 08:25:15 +00:00
Rom Walton b1db7ede89 - MGR: Change the layout of the Project List control.
- MGR: Clean up some comments in the task bar code since the comments
        no longer served a purpose.
        
    clientgui/res/
        externalweblink.xpm (Added)
    clientgui/res/templates/
        externalweblink.gif (Added)
    clientgui/
        BOINCGUI.pjd
        BOINCTaskBar.cpp
        ProjectInfoPage.cpp
        ProjectListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=14111
2007-11-07 18:08:21 +00:00
Charlie Fenton 50487a68c5 Mac: Better error-handling in sandbox setup code
svn path=/trunk/boinc/; revision=14105
2007-11-07 12:03:16 +00:00
Charlie Fenton 5a757f73f6 Mac: Better error-handling in sandbox setup code
svn path=/trunk/boinc/; revision=14103
2007-11-07 11:17:17 +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 526e9ce0dd Mac: Fix bugs when running under OS 10.5
svn path=/trunk/boinc/; revision=14002
2007-10-31 10:40:19 +00:00
Frank Thomas 5590154573 MGR: Fixed broken URLs in the Help menu. The URLs are only broken if the
Manager was built with the wxWidgets unicode variant.
        

svn path=/trunk/boinc/; revision=13984
2007-10-29 12:41:16 +00:00
Charlie Fenton d0032ae0d8 Mac: Update XCode project build rules: DWARF symbols, use gcc 4 compiler more, Client, Manager, installer require OS 10.3.9.
svn path=/trunk/boinc/; revision=13966
2007-10-26 10:01:28 +00:00
Frank Thomas a122425261 MGR: Check on account creation if wxGetUserName() returned an empty string and
if it did assign the output of wxGetUserId() to ai->user_name instead.
(fixes #440)


svn path=/trunk/boinc/; revision=13940
2007-10-24 07:53:29 +00:00
Charlie Fenton c9718fb0b9 Mac client: Add 64-bit support for OS 10.5 (new platform x86_64-apple-darwin)
svn path=/trunk/boinc/; revision=13939
2007-10-24 00:44:42 +00:00
Charlie Fenton f32e42e1bb Update sandbox security documentation
svn path=/trunk/boinc/; revision=13839
2007-10-12 05:11:04 +00:00
Charlie Fenton 0469e91fc1 Fix typos in comments
svn path=/trunk/boinc/; revision=13832
2007-10-11 11:18:43 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +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
Rom Walton 962eb54a3d - MGR: User errors are supposed to be red, not internal errors.
clientgui/
        ViewMessages.cpp, .h

svn path=/trunk/boinc/; revision=13795
2007-10-08 18:58:35 +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
Frank Thomas b46bda9d6f Added clean-local target to lib/Makefile.am to remove lib/boinccmd and
lib/boinccmd.unmodified on "make clean" and also added client/boinc.unmodified
and clientgui/boincmgr.unmodified to the respective clean-local targets.


svn path=/trunk/boinc/; revision=13772
2007-10-03 23:23:02 +00:00
Charlie Fenton 84f0f41961 Mac SCR: Create a new tiny utility gfx_switcher for use by screensaver to safely launch and kill gfx apps with user, group boinc_project
svn path=/trunk/boinc/; revision=13760
2007-10-03 07:07:25 +00:00
Charlie Fenton 8c61fc38b6 Mac SCR: Create a new tiny utility gfx_switcher for use by screensaver to safely launch and kill gfx apps with user, group boinc_project
svn path=/trunk/boinc/; revision=13758
2007-10-03 06:16:58 +00:00
Kevin Reed 5bc8553a3a - Screen Saver (merge from 5.10): Add additional information about the work
running when no graphics are available.  Increased the size to the box 
            displaying the message to accommodate larger image sizes.  Add code to 
            center images if less then the allowed max size of 450x166
    - Screen Saver (merge from 5.10):  If graphics are not available, then rotate
            through the currently running results (it will change every 10 seconds) 
            for display so that all are presented
    - Manager (merge from 5.10): During an auto-attach initiated by a project_init.xml file, Mozilla 
            based browsers are checking cookies in the domain  (ex: worldcommunitygrid.org) 
            for a project while IE cookies were only being checked for the full project 
            dns (www.worldcommunitygrid.org).  IE has been changed so that it will also 
            check the domain.  This mechanism is generic and can be used by any project or 
            account manager.
    - Manager (merge from 5.10): During an auto-attach initiated by a project_init.xml file, 
            the code to check for the Setup cookie within an IE browser would fail and cause 
            the attach to project dialogue to close with no warning in the event that there 
            is a cookie set for the project but there is not a Setup cookie.
    - WCG files:  Updated image, icon and installer files for WCG

svn path=/trunk/boinc/; revision=13755
2007-10-02 21:44:14 +00:00
Charlie Fenton bb41946dd8 Sandbox: Fix a security hole so that switcher sets real user ID, saved set_user-ID, real group ID and saved set_group-ID
svn path=/trunk/boinc/; revision=13734
2007-10-02 09:31:20 +00:00
David Anderson be7ad65989 - Compile fixes for Win
svn path=/trunk/boinc/; revision=13652
2007-09-25 16:39:30 +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
Charlie Fenton 457efa155f Mac SCR: Put a copy of switcher utility inside screensaver's bundle to launch graphics applications as user and group "nobody".
svn path=/trunk/boinc/; revision=13601
2007-09-19 09:41:23 +00:00
Charlie Fenton 7fd15f2b5f Mac MGR: Launch the graphics application using switcher to fix a potential security risk
svn path=/trunk/boinc/; revision=13598
2007-09-18 12:18:42 +00:00
David Anderson 9253114f0c - Manager: clean up text in system tray balloon
- Client: use dd-MMM-yyyy format for dates;
		mm/dd/yyyy is ambiguous and mixed-endian

svn path=/trunk/boinc/; revision=13582
2007-09-12 18:52:46 +00:00
Charlie Fenton f2ea5d5fd9 MGR: Fix #388: Snooze menu item is disabled and not checked if user selects RUN_MODE_NEVER
svn path=/trunk/boinc/; revision=13541
2007-09-05 02:55:29 +00:00
David Anderson dabba949a4 - client: when a job finishes, read last (not first) 63KB of stderr
- client: parse <cpid_time> in scheduler reply;
        add cpid_time field to PROJECT.
        This defaults to the user_create_time.
        In deciding which CPID to send in a scheduler request,
        use the one with oldest cpid_time (not user_create_time).
        This is the client half of fixing a bug that causes
        CPID to flip/flop between to values in a certain case.

svn path=/trunk/boinc/; revision=13531
2007-09-03 23:00:22 +00:00
Charlie Fenton e0424f3365 Mac MGR: if BOINC is running as a service / daemon, connect to BOINC Client before creating menubar icon menu to work around unresponsive icon bug
svn path=/trunk/boinc/; revision=13523
2007-09-03 01:16:11 +00:00
Charlie Fenton 424795ca7f Back out previous change - I found a better solution
svn path=/trunk/boinc/; revision=13522
2007-09-03 01:15:42 +00:00
Charlie Fenton ed7a08ef3e Mac MGR: if BOINC is running as a service / daemon, delay setting up menubar icon menu to work around problem of unknown cause
svn path=/trunk/boinc/; revision=13512
2007-09-02 14:01:18 +00:00
Charlie Fenton b6f79ec6da Mac screensaver: replace image in screensaver control panel with new logo, move to common clientscr/res/ directory
svn path=/trunk/boinc/; revision=13503
2007-09-01 07:54:14 +00:00
Charlie Fenton f818d84983 MGR: Add V6 GFX support to grid view.
svn path=/trunk/boinc/; revision=13496
2007-08-29 23:38:37 +00:00