Commit Graph

10439 Commits

Author SHA1 Message Date
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
David Anderson 7b74befedc - client: when you read a file into a string with:
loop
            read a line X
            S += X
    it performs real bad if the file is large
    (allocation of std::string seems to stupid)
    So I changed this to
        find file size n
        read file into malloced buf size n
        S = buf
        free buf
- lib: moved functions to appropriate file
        
client/
    acct_setup.C
    cs_prefs.C
lib/
    parse.C,h
    str_util.C,h
    util.C,h

svn path=/trunk/boinc/; revision=12983
2007-06-22 18:53:55 +00:00
Jens Seidler f0500debd2 Localization: BOINC website and Manager language files updated: German(de), Czech(cs), Finish(fi)
svn path=/trunk/boinc/; revision=12982
2007-06-22 15:10:44 +00:00
Rytis Slatkevičius 8fe8acf2d9 User web: fix forum display when viewing unfiltered posts from blocked users
svn path=/trunk/boinc/; revision=12981
2007-06-22 13:19:56 +00:00
Charlie Fenton ad416918ff Sandbox: fix switcher call to kill to eliminate error message and to correctly send SIGKILL instead of SIGTERM.
svn path=/trunk/boinc/; revision=12979
2007-06-22 10:09:13 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
Janus B. Kristensen 7d302fb1ba Added the scraping mechanism for Bittorrent support (not all Bittorrent clients
actually support this, but those that do get an increased performance boost and
don't have to contact the more expensive announce.php nearly as often as those
that do not support it. Since it hasn't yet been decided which BT library we
will be using I just added scraping anyways.

svn path=/trunk/boinc/; revision=12977
2007-06-21 06:01:35 +00:00
Janus B. Kristensen e22da62164 Scraping mechanism for Bittorrent
svn path=/trunk/boinc/; revision=12976
2007-06-21 05:57:08 +00:00
Charlie Fenton 269e9c6568 Rerelease boinc_5.10.7_macOSX_universal.zip with corrected visible version numbers in installer and uninstaller
svn path=/trunk/boinc/; revision=12972
2007-06-21 01:01:04 +00:00
David Anderson 6b4e912b27 - random compile warning fixes
client/
    auto_update.C
    file_names.h
    scheduler_op.C
    time_stats.C
lib/
    util.C,h
tools/
    create_work.C
    updater.C

svn path=/trunk/boinc/; revision=12971
2007-06-20 23:16:30 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
David Anderson 6ad51e0452 - feeder: more code cleanup
sched/
    feeder.C


svn path=/trunk/boinc/; revision=12969
2007-06-20 20:23:07 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 55a060a003 - manager: v6 graphics fixes.
Works now, with a few problems

	clientgui/
		ViewWork.cpp
	lib/
		util.C

svn path=/trunk/boinc/; revision=12966
2007-06-20 03:35:16 +00:00
Rom Walton 6f825ae2a5 v6 graphics work.
svn path=/trunk/boinc/; revision=12965
2007-06-20 01:04:18 +00:00
David Anderson dd2064ab6c - manager: v6 graphics fixes. doesn't work yet
client/
		client_state.C
	lib/
		gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12963
2007-06-19 20:30:55 +00:00
Rom Walton 31de94bed1 - MGR: Misc v6 graphics fixes
clientgui/
        sg_ViewTabPage.cpp
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=12962
2007-06-19 17:33:48 +00:00
Rom Walton 02828826b9 Mark 5.10.7 as a recommended release.
svn path=/trunk/boinc/; revision=12961
2007-06-19 16:00:59 +00:00
David Anderson b7fad32d14 svn path=/trunk/boinc/; revision=12960 2007-06-19 15:46:53 +00:00
Rom Walton f1f81d6431 - Set version number to 5.11.0 to start off the 6.0 development cycle.
/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=12959
2007-06-19 14:47:33 +00:00
Charlie Fenton 64a52e7d6a svn path=/trunk/boinc/; revision=12958 2007-06-19 09:12:56 +00:00
Charlie Fenton 028d313be5 Mac: Fix visible copyright and version strings in installer and uninstaller.
svn path=/trunk/boinc/; revision=12957
2007-06-19 09:12:35 +00:00
Rom Walton 492dbda61b - MGR: Check initial function to launch v6graphics if it exists
in the slot directory.
        
        NOTE: Only implemented in the advanced view list controls
          for now.

    clientgui/
        Events.h
        ViewWork.cpp, .h

svn path=/trunk/boinc/; revision=12955
2007-06-18 11:46:01 +00:00
Rom Walton 059ae19fbb Quick Updates
svn path=/trunk/boinc/; revision=12954
2007-06-17 18:49:12 +00:00
Rom Walton 790549dbc0 Quick Updates
svn path=/trunk/boinc/; revision=12953
2007-06-17 17:06:59 +00:00
Rytis Slatkevičius f3fa4978cc Fix formatting; display team founder transfer time, not only date.
svn path=/trunk/boinc/; revision=12952
2007-06-17 15:34:43 +00:00