Commit Graph

10770 Commits

Author SHA1 Message Date
Charlie Fenton 38d2d3a226 Eliminate "#ifdef USE_FILE_MAPPED_SHMEM" throughout
svn path=/trunk/boinc/; revision=13672
2007-09-26 12:20:33 +00:00
Charlie Fenton 55afa7332d Changes for V5 - V6 compatibility for clients & applications
svn path=/trunk/boinc/; revision=13671
2007-09-26 10:18:41 +00:00
Charlie Fenton e8a4acda63 V6 screensaver shows graphics for both V5 and V6 applications.
svn path=/trunk/boinc/; revision=13670
2007-09-26 10:17:43 +00:00
Charlie Fenton 2713f5662d Mac/Linux/UNIX: V6 apps uses shmget() to run with V5 clients
svn path=/trunk/boinc/; revision=13669
2007-09-26 10:17:11 +00:00
Charlie Fenton e751a514a5 Mac/Linux/UNIX: V6 client uses shmget() to run V5 apps, V6 apps uses shmget() to run with V5 clients
svn path=/trunk/boinc/; revision=13668
2007-09-26 10:16:42 +00:00
Charlie Fenton b2b3cdeff7 Mac/Linux/UNIX: V6 client uses shmget() to run V5 applications
svn path=/trunk/boinc/; revision=13667
2007-09-26 10:16:04 +00:00
Charlie Fenton 774091d490 Remove obsolete ss_logic.C,h from XCode project
svn path=/trunk/boinc/; revision=13666
2007-09-26 10:12:15 +00:00
David Anderson 0248d4e016 - stripcharts: fix typo that could cause disk to fill up!
(from Nicolas Maire)

svn path=/trunk/boinc/; revision=13660
2007-09-25 21:51:35 +00:00
David Anderson c260a46b0d - update_versions_v6 doesn't set min_core_version
svn path=/trunk/boinc/; revision=13653
2007-09-25 17:13:38 +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 f1f5930579 - client: removed everything related to screensaver
(deciding which app to use, implementing blanking interval, etc.)
    This logic is all now in the screensaver itself.
- GUI RPC: removed get/set screensaver mode RPCs
- API: added a "backwards_compatible_graphics" flag to BOINC_OPTIONS.
    V6 apps should set this.
    If set, the runtime library checks for graphics messages
    from the client, and launches/kills the graphics app (if any).
    The app will then work graphically with pre-V6 clients.
- removed some old files

svn path=/trunk/boinc/; revision=13651
2007-09-25 16:04:45 +00:00
David Anderson 227f9e6dd4 - use safe_strcpy() instead of strcpy() in a few places
in the client and db_dump
- scheduler: change REQ_FILE_PREFIX to use ../ instead of /tmp/
                 

svn path=/trunk/boinc/; revision=13646
2007-09-24 22:57:00 +00:00
David Anderson 513fa98c55 - user web: add links to BOINC-wide team sites
and www.boincteams.com from Team management page
- client: change error strings from, e.g.,
    "system chown" to "chown() failed"

svn path=/trunk/boinc/; revision=13644
2007-09-24 20:13:38 +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
Bruce Allen 76c3c6a46e Eliminate more logging noise from the scheduler (complaints
about unrecognized tags).

svn path=/trunk/boinc/; revision=13640
2007-09-24 06:54:01 +00:00
Bruce Allen c3eff600ff Eliminate some logging noise from the scheduler (complaints
about unrecognized tags).

svn path=/trunk/boinc/; revision=13639
2007-09-23 21:38:47 +00:00
Rytis Slatkevičius 33f7f585bd HTML fix
svn path=/trunk/boinc/; revision=13638
2007-09-23 19:19:37 +00:00
Jens Seidler c9b61fcefa Localization: BOINC distributed websites and BOINC Manager language files updated: Russian(ru), Italian(it)
svn path=/trunk/boinc/; revision=13637
2007-09-23 12:00:03 +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 bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +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 d7b888b3fc Mac SCR: prevent double delete of RPC_CLIENT rpc on closing screensaver
svn path=/trunk/boinc/; revision=13622
2007-09-21 11:46:31 +00:00
Charlie Fenton 6f31369c09 MGR: Every 10 seconds, kill any running graphics apps whose associated worker tasks are no longer running; Mac SCR: prevent double delete of RPC_CLIENT rpc on closing screensaver
svn path=/trunk/boinc/; revision=13621
2007-09-21 11:46:22 +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 afa0babf5b Fix a typo
svn path=/trunk/boinc/; revision=13605
2007-09-20 11:21:35 +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 c014a95a27 svn path=/trunk/boinc/; revision=13602 2007-09-19 10:33:25 +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 1c3c99d733 Explain reason we prevent unauthorized users to access switcher directory
svn path=/trunk/boinc/; revision=13599
2007-09-18 13:35:48 +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
Rytis Slatkevičius 61ce18e6ca user web: fix invalid validate state reported to user.
svn path=/trunk/boinc/; revision=13597
2007-09-17 19:15:01 +00:00
Rom Walton 4ab9cb6b0c Quick Updates
svn path=/trunk/boinc/; revision=13596
2007-09-17 18:11:23 +00:00
David Anderson 6a334e5ab4 add logos
svn path=/trunk/boinc/; revision=13595
2007-09-17 16:19:58 +00:00
Bruce Allen 6b1aa1cdf2 - scheduler: added config option to control (turn off) some aspects
of file deletion. If you set file_deletion_strategy to 0 (default)
      then this turns off file deletion in the locality scheduler.
      Set file_deletion_strategy to 1 to get current behavior.  Other
      values are not defined.  I'll document this in the Wiki.

    sched/
        sched_config.h
        sched_config.C
        sched_locality.C

svn path=/trunk/boinc/; revision=13594
2007-09-17 15:58:36 +00:00
David Anderson 3204081982 - API: embed the string API_VERSION_N.N.N in libboinc.a
(for v6)
- client: performance tweak for CPU sched
- client: fix /proc/cpuinfo parsing for linux 2.6.23, powerPC
    fixes #410


svn path=/trunk/boinc/; revision=13593
2007-09-17 14:03:44 +00:00
David Anderson 49bf68fbbb - user web: make it possible to merge hosts with OS other
than win/mac/linux/solaris;
    when can't merge hosts, explain why better


svn path=/trunk/boinc/; revision=13592
2007-09-17 13:34:46 +00:00
Charlie Fenton 51d953f7de SCR: make second argument optional in get_random_graphics_app() and get_random_graphics_app()
svn path=/trunk/boinc/; revision=13590
2007-09-16 21:48:01 +00:00
Rytis Slatkevičius 22dbfd13e0 Fix #200
svn path=/trunk/boinc/; revision=13589
2007-09-16 11:25:43 +00:00
Rytis Slatkevičius 4186ee2073 Reverse changeset 13581 (it broke more than it fixed)
svn path=/trunk/boinc/; revision=13588
2007-09-14 10:02:19 +00:00
Charlie Fenton 8066ab1f97 SCR: Impelement new RPC::get_screensaver_tasks()
svn path=/trunk/boinc/; revision=13587
2007-09-14 01:45:00 +00:00
Rytis Slatkevičius dd97f02834 - User web: fix XSS vulnerability, web code update recommended
svn path=/trunk/boinc/; revision=13586
2007-09-13 09:46:36 +00:00
David Anderson 3838d16750 - client: restore <slot> element on GUI RPC result XML
(needed by BOINCSpy)
- client: CPU sched fix

svn path=/trunk/boinc/; revision=13584
2007-09-13 06:53:40 +00:00
David Anderson 61b93d6ea8 svn path=/trunk/boinc/; revision=13583 2007-09-12 18:53:37 +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
Rytis Slatkevičius b8c0ef8815 Work around for servers where PHP magic_quotes_gpc is disabled
svn path=/trunk/boinc/; revision=13581
2007-09-12 18:10:49 +00:00