Commit Graph

10414 Commits

Author SHA1 Message Date
Rytis Slatkevičius 62ba94f0cf Fix #303 (was introduced in [12691])
svn path=/trunk/boinc/; revision=13052
2007-06-29 16:11:59 +00:00
David Anderson 5059102816 - client: code cleanup. Was looking for fopen()s without fclose(),
didn't find any.

client/
    cs_scheduler.C
    app_start.C
    time_stats.C

svn path=/trunk/boinc/; revision=13051
2007-06-29 15:45:15 +00:00
David Anderson 9f6fe805ad - API: set fraction_done to 1 in boinc_finish()
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=13050
2007-06-28 22:51:51 +00:00
Charlie Fenton b1d0451241 Back out my changes of 6/27/07; delete orphan shared memory segments at BOINC startup
svn path=/trunk/boinc/; revision=13048
2007-06-28 11:11:10 +00:00
Charlie Fenton d97454793c Delete orphan shared memory segments at BOINC startup
svn path=/trunk/boinc/; revision=13047
2007-06-28 11:10:01 +00:00
Charlie Fenton 390633ff7e Back out my shared memory changes of 27 June because it might prevent compound applications from attaching to the shared memory as needed
svn path=/trunk/boinc/; revision=13046
2007-06-28 11:09:07 +00:00
David Anderson e8f9807a81 - user web: host merge: consider CPUs compatible if both
are vendor "AuthenticAMD".

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13045
2007-06-28 03:46:06 +00:00
Rom Walton 4da66bfaa8 - DIAG: Visual Studio 2005 enforces parameter checking, and if
a parameter is wrong it just terminates the process with
        a 0xc000000d. This is a shot in the dark but I think it
        is a good guess as to what is happening right now.
        
    lib/
        diagnostics.C, .h
        diagnostics_win.C

svn path=/trunk/boinc/; revision=13042
2007-06-27 21:12:13 +00:00
Matt Lebofsky 2d688ca625 svn path=/trunk/boinc/; revision=13041 2007-06-27 20:44:56 +00:00
Matt Lebofsky 0c43d65dd9 svn path=/trunk/boinc/; revision=13040 2007-06-27 20:44:45 +00:00
David Anderson 823df51238 - client: allow up to a day (rather than work_buf_min()) to elapsed
between completing a result and reporting it.
- back end: added <httpd_user> config option:
    Web server user name (used by file deleter)
- back end: don't report unparsed XML in config.xml as an error

client/
    app.h
    work_fetch.C
lib/
    shmem.C
sched/
    file_deleter.C
    file_upload_handler.C
    sched_config.C,h
    show_shmem.C

svn path=/trunk/boinc/; revision=13039
2007-06-27 20:09:18 +00:00
David Anderson 6f94f032a4 - user web: host merge: don't require OS names to match exactly;
OK if both contain "Windows", "Linux", "SunOS" or "Darwin".

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13038
2007-06-27 18:14:25 +00:00
Rom Walton 45639a8019 Quick Updates
svn path=/trunk/boinc/; revision=13037
2007-06-27 16:34:20 +00:00
Rom Walton 8dc3ff37dc Quick Updates
svn path=/trunk/boinc/; revision=13036
2007-06-27 16:28:35 +00:00
David Anderson c9ac734ae9 - user web: host merge: skip disjoint-time check
if one of the hosts has zero credit

html/inc/
    host.inc

svn path=/trunk/boinc/; revision=13035
2007-06-27 16:12:25 +00:00
Charlie Fenton fdf8973685 CC: Mark shmem segment for eventual destruction on first msg from task (*nix only)
svn path=/trunk/boinc/; revision=13034
2007-06-27 10:29:31 +00:00
David Anderson 7ea662932c - add new stats site
- back end: use boinc_mkdir to get permissions right

html/inc/
    stats_sites.inc
lib/
    filesys.C
sched/
    db_dump.C
    db_purge.C
    feeder.C

svn path=/trunk/boinc/; revision=13033
2007-06-26 21:14:58 +00:00
Rom Walton 04fe999ab4 Quick Updates
svn path=/trunk/boinc/; revision=13032
2007-06-26 16:12:51 +00:00
David Anderson 2c63418b25 - manager and client: fixed bug where only one day-of-week
preference would be parsed.

	lib/
		prefs.C,h

svn path=/trunk/boinc/; revision=13031
2007-06-26 16:07:17 +00:00
Charlie Fenton 71def00ef7 "Fixed" one too many compares -- revert one incorrect change.
svn path=/trunk/boinc/; revision=13030
2007-06-26 04:15:21 +00:00
David Anderson 709f5747c5 svn path=/trunk/boinc/; revision=13029 2007-06-26 03:48:50 +00:00
Charlie Fenton 0b81d6654b More scheduler tweaks for shared memory
svn path=/trunk/boinc/; revision=13028
2007-06-26 03:43:06 +00:00
Charlie Fenton fa6bb28f68 Fix bug: reversed comparison of retry_shmem_time
svn path=/trunk/boinc/; revision=13027
2007-06-26 03:42:49 +00:00
Charlie Fenton 8c4b7e6bc6 clear retry_shmem_time when releasing shared memory
svn path=/trunk/boinc/; revision=13026
2007-06-26 03:42:23 +00:00
Charlie Fenton cf0ea58edc value of stress_shmem_debug log flag sets number of shared memory segments to make unavailable
svn path=/trunk/boinc/; revision=13025
2007-06-26 03:41:32 +00:00
Charlie Fenton 9eca89dbb3 CC: value of stress_shmem_debug log flag sets number of shared memory segments to make unavailable.
svn path=/trunk/boinc/; revision=13024
2007-06-26 03:36:49 +00:00
David Anderson fdbe1dbd2d - added hr_info.*
svn path=/trunk/boinc/; revision=13023
2007-06-25 23:56:03 +00:00
Matt Lebofsky fc34e4398b svn path=/trunk/boinc/; revision=13022 2007-06-25 22:46:22 +00:00
David Anderson cdc65cd283 - Manager: if a job is running EDF, show "high priority" in status
- compile fixes for Charlie's next-to-last checkin
    
    client/
        client_state.h
        cpu_sched.C
        sim.h
        sim_util.C
    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=13021
2007-06-25 19:05:29 +00:00
Charlie Fenton 7f3d1004dd Fix build break for Windows & OS2
svn path=/trunk/boinc/; revision=13020
2007-06-25 14:26:47 +00:00
Charlie Fenton 2924232b50 Mac: Fix bugs in XCode script phases which create visible copyright and version strings in installer and uninstaller.
svn path=/trunk/boinc/; revision=13018
2007-06-25 13:50:04 +00:00
Charlie Fenton b5a1463ed4 Add one more check when shared memory is full.
svn path=/trunk/boinc/; revision=13017
2007-06-25 13:33:53 +00:00
Charlie Fenton 34a9090705 Rerun scheduler once when we find we are out of shared memory to find best task already attached to shared memory
svn path=/trunk/boinc/; revision=13016
2007-06-25 12:47:42 +00:00
Charlie Fenton 7bb1b1a0d4 CC: Add logic to scheduler, etc. for systems which limit the number of shared memory segments per process and / or system-wide.
svn path=/trunk/boinc/; revision=13015
2007-06-25 11:46:15 +00:00
Rom Walton 8a0d5fa6c6 Quick Updates
svn path=/trunk/boinc/; revision=13010
2007-06-24 22:00:59 +00:00
Charlie Fenton 47d6fe23f3 Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog; Modify XCode project not to copy header files into Manager bundle
svn path=/trunk/boinc/; revision=13009
2007-06-24 10:56:50 +00:00
Charlie Fenton 53696115f6 Mac: Modify XCode project not to copy header files into Manager bundle
svn path=/trunk/boinc/; revision=13008
2007-06-24 10:56:28 +00:00
Charlie Fenton ad9df1c691 Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog
svn path=/trunk/boinc/; revision=13007
2007-06-24 10:56:11 +00:00
Charlie Fenton dbfb00570e Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog.
svn path=/trunk/boinc/; revision=13001
2007-06-24 09:24:52 +00:00
Charlie Fenton b77756c7c0 Release Mac BOINC 5.10.8 (retry)
svn path=/trunk/boinc/; revision=12999
2007-06-24 01:10:39 +00:00
Charlie Fenton bde252ec94 Back out possibly bad changes
svn path=/trunk/boinc/; revision=12998
2007-06-24 01:07:24 +00:00
Charlie Fenton a1d86a130b Release Mac BOINC 5.10.8
svn path=/trunk/boinc/; revision=12997
2007-06-24 01:04:45 +00:00
Rom Walton 9a7f4fa1c8 Quick Updates
svn path=/trunk/boinc/; revision=12995
2007-06-23 16:42:20 +00:00
Charlie Fenton c2c8ba9313 Sandbox: fix build break.
svn path=/trunk/boinc/; revision=12991
2007-06-23 08:42:16 +00:00
Charlie Fenton 7671a20f37 Mac: if (log_flags.state_debug) print debugging info when rename of client_state_next.xml to client_state.xml fails.
svn path=/trunk/boinc/; revision=12990
2007-06-23 08:42:02 +00:00
Charlie Fenton e3759e4bc8 Mac: if (log_flags.state_debug) print debugging info when rename of client_state_next.xml to client_state.xml fails. Sandbox: fix build break.
svn path=/trunk/boinc/; revision=12989
2007-06-23 08:41:46 +00:00
David Anderson a97556bdfd - feeder: added a new enumerator of DB_WORK_ITEM that,
on successive calls, scans through ALL the sendable
    jobs satisfying the select clause
    (it does this by ID order, so there's no order clause)
    This is used for HR, so that if a job has been committed
    to an HR class, we eventually get it.

    With extremely minimal testing, the new HR stuff seems to work.

db/
    boinc_db.C,h
sched/
    feeder.C
    sample_work_generator.C
    server_types.C

svn path=/trunk/boinc/; revision=12988
2007-06-22 23:48:37 +00:00
David Anderson 0a19dddf18 - client: read only first 63KB of stderr.txt
- user web: default work_buf_min_days is 0, not ""

html/inc/
    prefs.inc
client/
    app_control.C

svn path=/trunk/boinc/; revision=12987
2007-06-22 22:18:28 +00:00
David Anderson bf8d4cc73c - client: fix two XML parsing bugs:
1) XML_PARSER::parse_int() and parse_double() wouldn't parse
			<foo></foo>, and in fact would consume the </foo>,
			so that the resulting skip_unexpected()
			would skip the entire rest of the document.

			This was exercised because my checking of 17 Apr
			set the default for work_buf_min_days as "" rather than 0.

		2) XML_PARSER::scan_tag() was removing spaces,
			so <venue name="home"> parsed as venuename="home"
			This actually didn't do any damage.

	lib/
		parse.C
		prefs.C

svn path=/trunk/boinc/; revision=12986
2007-06-22 21:19:19 +00:00
David Anderson e1a0c552e2 - compile fixes for Win
client/
		acct_setup.C
		cs_prefs.C
		cs_trickle.C
	lib/
		filesys.C
		str_util.C,h
		util.C,h
	tools/
		updater.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12985
2007-06-22 20:17:08 +00:00