Commit Graph

10831 Commits

Author SHA1 Message Date
David Anderson 0904cce97a - win compile fixes
svn path=/trunk/boinc/; revision=13785
2007-10-05 17:00:11 +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
Charlie Fenton 28073fd644 V6 SCR: Merge code for Mac and Windows screensavers
svn path=/trunk/boinc/; revision=13783
2007-10-05 15:01:03 +00:00
Charlie Fenton b957b7532a svn path=/trunk/boinc/; revision=13782 2007-10-05 13:28:39 +00:00
Charlie Fenton 0a19f38786 V6 SCR: Merge code for Mac and Windows screensavers, adding full functionality for Windows SS.
svn path=/trunk/boinc/; revision=13781
2007-10-05 13:28:11 +00:00
Charlie Fenton 932aec2158 V6 SCR: Merge code for Mac and Windows screensavers, adding full functionality for Windows SS.
svn path=/trunk/boinc/; revision=13780
2007-10-05 13:27:54 +00:00
Charlie Fenton 153502e60a CC: Fix crash bug: set app_client_shm.shm = NULL after calling detach_shmem_mmap.
svn path=/trunk/boinc/; revision=13779
2007-10-05 10:38:01 +00:00
Charlie Fenton 03b5c3e3b0 API V6 GFX: Initialize boinc_max_fps = 30.
svn path=/trunk/boinc/; revision=13778
2007-10-04 21:58:56 +00:00
David Anderson 64db0fa655 - scheduler: bug fix in HR code:
in wu_is_infeasible(), check whether host type is unknown
    before seeing if WU is already committed  to different type

svn path=/trunk/boinc/; revision=13777
2007-10-04 21:55:37 +00:00
David Anderson 0f1461695c svn path=/trunk/boinc/; revision=13776 2007-10-04 17:51:23 +00:00
David Anderson be90d43d2a svn path=/trunk/boinc/; revision=13775 2007-10-04 17:32:48 +00:00
David Anderson 066f01dc26 - Terminology in user web and client:
"task" instead of "result";
    "computer" instead of "host";
    "scheduler request" instead of "scheduler RPC"
    "access to Internet" instead of "access to reference web site"

svn path=/trunk/boinc/; revision=13774
2007-10-04 17:30:28 +00:00
Charlie Fenton d30f08baba Win SCR: fix bug in compatibility code for V5 applications
svn path=/trunk/boinc/; revision=13773
2007-10-04 06:10:46 +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
Eric J. Korpela e57c9d233e - MacOS: Changes to allow command line builds on MacOS 10.3
- New preprocessor symbol DARWIN_10_3 is defined in config.h when 
      configure script detects MacOS 10.3
    - Added explicit include of config.h in some files in lib/mac


svn path=/trunk/boinc/; revision=13771
2007-10-03 21:31:20 +00:00
Eric J. Korpela 8403c6f570 Fixed build on systems without <malloc.h>
svn path=/trunk/boinc/; revision=13768
2007-10-03 16:19:45 +00:00
Rytis Slatkevičius f6e3a359aa Fix #236:
Private messages: allow interaction with multiple messages from the inbox, add new related translation strings.

svn path=/trunk/boinc/; revision=13761
2007-10-03 10:03:49 +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 a05c03f101 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=13759
2007-10-03 07:00:34 +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
Eric J. Korpela 4bcfcb67a9 Added HPUX platforms to boinc_platform.m4
svn path=/trunk/boinc/; revision=13757
2007-10-03 01:29:37 +00:00
David Anderson 5496a6abe8 - client: if dont_contact_ref_site option is set,
contact a random project master URL rather than Google
    to trigger personal firewall alert on version change
- switcher: compile fix for Linux (strlcpy doesn't exist,
    and I didn't want to bring in libboinc.a)

svn path=/trunk/boinc/; revision=13756
2007-10-02 23:29:28 +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
David Anderson 8a423e83cb - client: fix bug where failure to get project list would result
in an empty project list file.
 - client: if failed to get project list file, retry in an hour, not immediately


svn path=/trunk/boinc/; revision=13753
2007-10-02 18:43:12 +00:00
Rom Walton 92d813ecb4 Quick Updates
svn path=/trunk/boinc/; revision=13751
2007-10-02 16:40:45 +00:00
David Anderson 38ba2854a0 svn path=/trunk/boinc/; revision=13750 2007-10-02 16:26:39 +00:00
David Anderson cefb2ee5aa - user web: team search tweaks
svn path=/trunk/boinc/; revision=13749
2007-10-02 15:32:28 +00:00
David Anderson d53595f047 - user web: team search tweaks
svn path=/trunk/boinc/; revision=13748
2007-10-02 15:12:45 +00:00
David Anderson 0c1dcbfe86 - user web: tweaks to team search
svn path=/trunk/boinc/; revision=13747
2007-10-02 15:07:43 +00:00
Charlie Fenton 8dc93dd1be Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13741
2007-10-02 10:34:48 +00:00
Charlie Fenton 6945780a32 Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13740
2007-10-02 10:33:30 +00:00
Charlie Fenton fd8f4c8959 Remove unused variables
svn path=/trunk/boinc/; revision=13739
2007-10-02 10:28:42 +00:00
Charlie Fenton 34cb7c9988 Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13738
2007-10-02 10:24:56 +00:00
Charlie Fenton 4a9066d6b9 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=13735
2007-10-02 09:32:20 +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
Rom Walton b3c989b743 Quick Updates
svn path=/trunk/boinc/; revision=13733
2007-10-02 05:13:00 +00:00
David Anderson 0b8d9a950b svn path=/trunk/boinc/; revision=13732 2007-10-02 03:31:43 +00:00
David Anderson 2272891035 - user web: add "team search" page, which does a multi-criteria
search (keywords, country, type).
    Have the new-user scenario route the user through this page.
    Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
    and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
    Just take them to their user page.

svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
Rytis Slatkevičius bd858b38fd Include "category" in moderation emails
svn path=/trunk/boinc/; revision=13718
2007-09-30 11:17:11 +00:00
Rytis Slatkevičius 793c459f67 Fix forum preview once again
svn path=/trunk/boinc/; revision=13717
2007-09-29 18:40:46 +00:00
Rytis Slatkevičius 870924eb13 Fix #424 (backslash problem)
svn path=/trunk/boinc/; revision=13716
2007-09-29 15:47:12 +00:00
Rytis Slatkevičius f2cccbd4cf Preview functionality for the forums
svn path=/trunk/boinc/; revision=13715
2007-09-29 12:53:16 +00:00
Charlie Fenton 07d83c89b7 graphics API: Write changed window size only after it has stopped changing
svn path=/trunk/boinc/; revision=13714
2007-09-29 01:30:32 +00:00
Charlie Fenton 71255d3194 graphics API: Write changed window size only after it has stopped changing.
svn path=/trunk/boinc/; revision=13713
2007-09-29 01:20:42 +00:00
David Anderson a1590ff580 - scheduler: <max_wus_in_progress> option wasn't working,
because the reply.req structure was getting zeroed
    AFTER nresults_on_host was being set.


svn path=/trunk/boinc/; revision=13712
2007-09-28 18:27:02 +00:00
Charlie Fenton 89842eca33 svn path=/trunk/boinc/; revision=13700 2007-09-28 11:41:25 +00:00
Charlie Fenton 1eddd9925c svn path=/trunk/boinc/; revision=13699 2007-09-28 11:32:46 +00:00
Charlie Fenton d568c3c260 Restore gfx window size & pos when relaunching. Mac: let gfx app icons appear in Dock.
svn path=/trunk/boinc/; revision=13698
2007-09-28 11:32:05 +00:00
David Anderson ab09ba8834 - graphics API: redo the code for backwards compatibility with V5 so that
at most one regular and one full-screen graphics window can be open,
    and a "hide" message kills the full-screen window if one exists,
    else a regular window.
    Keep track of the PIDs separately for regular and full-screen.
    Also, don't send a "hide" ack if we don't do graphics.

svn path=/trunk/boinc/; revision=13697
2007-09-28 04:23:34 +00:00
Charlie Fenton e680c9a9a1 Mac V6 GFX: add setMacPList() call
svn path=/trunk/boinc/; revision=13696
2007-09-28 02:06:30 +00:00