Commit Graph

10029 Commits

Author SHA1 Message Date
Charlie Fenton dc40ffd6e2 MGR: The asserts were correct; fix minor errors in calling code
svn path=/trunk/boinc/; revision=24643
2011-11-22 00:40:07 +00:00
Charlie Fenton 33f511f490 MGR: Fix bad transparency in default project icon
svn path=/trunk/boinc/; revision=24642
2011-11-22 00:21:27 +00:00
Rom Walton 6d095d371e - MGR: Fix bad asserts.
clientgui/
        BOINCBitmapComboBox.cpp

svn path=/trunk/boinc/; revision=24641
2011-11-21 19:56:44 +00:00
Rom Walton 3cb2d4c928 - MGR: Prevent crash, check returned pointer of menu entry.
clientgui/
        sg_BoincSimpleFrame.cpp

svn path=/trunk/boinc/; revision=24640
2011-11-21 17:18:10 +00:00
Rom Walton 3e0fba14a7 - MGR: const fixes for platform bitmaps.
(From: Steffen Möller)
    - MGR: Add trace statements to help track down RemoveAt bug
    - MGR: Remove static var guard, may not be needed with the SetDlgOpen()
        routines blocking timer based updates.  If there is a buffer overrun
        hopefully it'll manifest itself in a detectable way.

    clientgui/res/
        linuxicon.xpm
        macosicon.xpm
        windowsicon.xpm
    clientgui/
        sg_BoincSimpleFrame.cpp
        sg_TaskPanel.cpp

svn path=/trunk/boinc/; revision=24638
2011-11-21 17:02:24 +00:00
Charlie Fenton 33b8393170 Fix omission in checkin_notes
svn path=/trunk/boinc/; revision=24637
2011-11-21 13:07:00 +00:00
Charlie Fenton ee7bdf7d4c MGR: Adjust red New Notices ring for new button shapes if on Mac OS 10.7
svn path=/trunk/boinc/; revision=24630
2011-11-21 10:05:35 +00:00
Charlie Fenton 696352774b MGR: In Simple View, draw Mac progress bar on white background for better visibility
svn path=/trunk/boinc/; revision=24629
2011-11-21 10:03:53 +00:00
Charlie Fenton 65992956b6 MGR: Hide slideshow subpanel if no slides for current task
svn path=/trunk/boinc/; revision=24626
2011-11-21 07:59:07 +00:00
David Anderson 517a49e607 - web: add [sup] BBCode tag for superscripts.
- web: show BBCode info in the same page, rather than target=new.
    On Firefox, this opens a new tab but doesn't switch to it,
    which makes it look like nothing happened.


svn path=/trunk/boinc/; revision=24622
2011-11-20 17:26:32 +00:00
David Anderson 5e671e4230 - client: on network_available() GUI RPC,
clear project-level upload and download backoffs,
    as well as RPC and individual xfer backoffs.
    This was an oversight.


svn path=/trunk/boinc/; revision=24621
2011-11-20 09:18:12 +00:00
Charlie Fenton b7962e25b0 MGR: Fix button font sizes in Simple View Projects panel
svn path=/trunk/boinc/; revision=24620
2011-11-19 12:23:39 +00:00
David Anderson f590ccc0af - storage simulator work
svn path=/trunk/boinc/; revision=24619
2011-11-19 00:29:55 +00:00
Charlie Fenton 031ec10629 Remove Mac Availability Macro and weak-link support from cl_boin.ch
svn path=/trunk/boinc/; revision=24618
2011-11-18 00:05:19 +00:00
Charlie Fenton fb27092cc7 Remove include of boinc_cl.h from parse.h; it is no longer needed
svn path=/trunk/boinc/; revision=24617
2011-11-17 12:19:24 +00:00
David Anderson de8b7e2041 - fix gpu_ratios.php
svn path=/trunk/boinc/; revision=24615
2011-11-16 20:09:06 +00:00
David Anderson 8877aa5183 - web: in GPU model list page,
look for plan classes containing "nvidia" as well as "cuda".


svn path=/trunk/boinc/; revision=24614
2011-11-16 19:47:40 +00:00
Charlie Fenton c20babd88c MGR: use wxBitmapComboBox insert() and append() calls without client data argument
svn path=/trunk/boinc/; revision=24611
2011-11-16 13:40:46 +00:00
Charlie Fenton d519ea0f5e MGR: use wxBitMapComboBox insert and append calls without client data argument
svn path=/trunk/boinc/; revision=24610
2011-11-16 13:38:46 +00:00
Charlie Fenton b7b8dc1b89 MGR: use wxBitMapComboBox insert and append calls without client data argument
svn path=/trunk/boinc/; revision=24609
2011-11-16 13:38:30 +00:00
David Anderson ae7681c026 - client: add some missing items to CONFIG::parse_options_client().
svn path=/trunk/boinc/; revision=24598
2011-11-15 07:50:02 +00:00
Charlie Fenton 519a5145cd Limit change of 9 November to only Debug builds for "-NSDocumentRevisionsDebugMode=YES" command line arg
svn path=/trunk/boinc/; revision=24597
2011-11-15 02:06:18 +00:00
Charlie Fenton eba8eb373e Mgr: In CSimpleTaskPanel, change Update() to UpdatePanel() to fix compiler warning
svn path=/trunk/boinc/; revision=24596
2011-11-15 00:48:49 +00:00
David Anderson 6e1414a07f - scheduler: increase buffer for global prefs from 8K to 64K
- lay the groundwork for changing it to std::string


svn path=/trunk/boinc/; revision=24595
2011-11-15 00:11:12 +00:00
David Anderson 9cf4fc76d0 - client: improve messages for the above
svn path=/trunk/boinc/; revision=24594
2011-11-14 23:45:08 +00:00
David Anderson a7e7da6bff - client: show error messages (as notices) when get an error
parsing cc_config.xml
- client: if an <exclude_cpu> element in cc_config.xml
    specifies a nonexistent app, show an error msg with
    a list of existing app names
- web: increase the default mem limit from 64MB to 256MB
    TODO: change user_hosts.php to show N at a time


svn path=/trunk/boinc/; revision=24593
2011-11-14 23:31:12 +00:00
Charlie Fenton 0c137a12c4 Mgr: Don't call Simple View specific periodic RPCs when BOINC is hidden or minimized
svn path=/trunk/boinc/; revision=24587
2011-11-14 09:35:37 +00:00
David Anderson 2ac9fe8566 - client/scheduler:
If the file "client_opaque.txt" exists on the client,
    include its contents in scheduler request messages.
    On the scheduler, parse this into SCHEDULER_REQUEST::client_opaque,
    where it can be used by the customizable scheduler functions.


svn path=/trunk/boinc/; revision=24586
2011-11-14 06:27:36 +00:00
Charlie Fenton ea0f4730aa Mac installer: There can now be multiple instances of the Manager running, so shut them all down
svn path=/trunk/boinc/; revision=24584
2011-11-12 01:32:25 +00:00
Rom Walton 45eff12205 - Tag for 6.13.12 release, all platforms
boinc_core_release_6_13_12

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24582
2011-11-11 17:39:59 +00:00
Rom Walton 5574fc28f0 - MGR: Update default skin to v4.
clientgui/res/templates/
        <various files>
    clientgui/skins/Default/
        background_image.png
        skin.xml
        workunit_running_image.png
        workunit_suspended_image.png
        workunit_waiting_image.png

svn path=/trunk/boinc/; revision=24581
2011-11-11 17:38:03 +00:00
David Anderson 0e823f6734 - client: check return value of FILE_REF when parse project file.
Fixes crashing bug.


svn path=/trunk/boinc/; revision=24579
2011-11-11 17:18:04 +00:00
Charlie Fenton 14cf8873b0 Mgr: If a slide show has only one slide, load it only once
svn path=/trunk/boinc/; revision=24578
2011-11-11 12:36:34 +00:00
Charlie Fenton 46157c721d Mgr: fix a bug deleting entries from Task Selection control introduced on 9 November
svn path=/trunk/boinc/; revision=24577
2011-11-11 11:40:57 +00:00
Charlie Fenton 248c9e8bc7 MGR & client: On Mac, to work around bug in XCode 4.2, ignore command line arg "-NSDocumentRevisionsDebugMode=YES"
svn path=/trunk/boinc/; revision=24575
2011-11-10 22:53:12 +00:00
Rom Walton 94dcb4a9ee - Tag for 6.13.11 release, all platforms
boinc_core_release_6_13_11

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24572
2011-11-10 18:07:19 +00:00
Rom Walton e732b9d2ef - client & lib: Update the OpenCL header to include calling conventions
and weak link information for Mac machines.

    lib/
        cl_boinc.h

svn path=/trunk/boinc/; revision=24570
2011-11-10 17:35:26 +00:00
Rom Walton 42b5a85731 - WINSCR: Attempt to gracefully shutdown a graphics application first
clientscr/
        screensaver.cpp

svn path=/trunk/boinc/; revision=24569
2011-11-10 17:00:51 +00:00
Charlie Fenton ae839a75f4 WINSCR: Fix compile error
svn path=/trunk/boinc/; revision=24568
2011-11-10 01:14:04 +00:00
David Anderson 56e5a2c089 - scheduler: compute result.report_deadline BEFORE passing it
as an arg to update_wu_on_send()


svn path=/trunk/boinc/; revision=24567
2011-11-09 23:50:09 +00:00
David Anderson dbdcfc9a07 - OpenCL API: check return value from clGetDeviceIDs()
svn path=/trunk/boinc/; revision=24566
2011-11-09 21:24:47 +00:00
David Anderson 083040ba63 - OpenCL API: fix logic error
svn path=/trunk/boinc/; revision=24565
2011-11-09 21:04:01 +00:00
Jeff Cobb 2e526a0956 server: more fixes to DB to handle unsigned result IDs
svn path=/trunk/boinc/; revision=24564
2011-11-09 20:24:48 +00:00
David Anderson 22a911516c - server: more fixes to DB to handle unsigned result IDs
svn path=/trunk/boinc/; revision=24563
2011-11-09 17:27:50 +00:00
Rom Walton f64ed84e36 - WINSCR: Sync up the timer IDs.
clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24561
2011-11-09 16:28:25 +00:00
Rom Walton b7be27cc2a - WINSCR: In the ResetProc message pump, change the call for CloseWindow()
to DestroyWindow().
       
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24560
2011-11-09 16:22:47 +00:00
Rom Walton 09428f0633 - WINSCR: Add a reference to SCRAPPERR_BOINCNOGRAPHICSAPPSEXECUTING
in the message lookup table.
       
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24559
2011-11-09 15:35:18 +00:00
Charlie Fenton cab33252a9 Mgr: add spaces to identical application names in Task Selection control to make each entry unique
svn path=/trunk/boinc/; revision=24556
2011-11-09 12:42:02 +00:00
David Anderson 7c201eba3f - DB: use %u when writing result IDs in SQL queries;
this is to support SETI@home, which ran out of result IDs
    and changed the DB field type to int unsigned.
    Note: eventually I'll make this change official
    and change the .h types as well.
- web: put <apps_selected> tags around <app_id> elements
    in project-specific prefs.


svn path=/trunk/boinc/; revision=24555
2011-11-09 07:41:49 +00:00
Rom Walton 7c88969aa9 - API: Remove exception trapping stuff from the
boinc_get_opencl_ids.
        
    api/
        boinc_opencl.cpp

svn path=/trunk/boinc/; revision=24552
2011-11-08 15:12:44 +00:00
Charlie Fenton 0a180ee3f8 Mac installer: fixes for OS 10.4 compatibility
svn path=/trunk/boinc/; revision=24551
2011-11-08 14:31:15 +00:00
Charlie Fenton 99bf7cd2ff Mgr: Fix Simple View layout to fit 3 decimal places for % done
svn path=/trunk/boinc/; revision=24550
2011-11-08 08:49:15 +00:00
David Anderson 5d29a21594 - client: on transient upload failure, don't do start_xfer()
within PERS_FILE_XFER::transient_failure();
		we're about to delete and free the FILE_XFER.
		The transfer will be restarted in the next poll.

svn path=/trunk/boinc/; revision=24549
2011-11-08 05:49:24 +00:00
Rom Walton d5fd7d85bd - MGR: Change default skin to the one Jacob Klein purposed.
clientgui/res/templates/
        <various files>
    clientgui/skins/Default/
        background_image.png
        skin.xml
        workunit_running_image.png
        workunit_suspended_image.png
        workunit_waiting_image.png

svn path=/trunk/boinc/; revision=24543
2011-11-07 20:34:22 +00:00
Rom Walton 1d4dc5a762 - client: reduce complexity, possibly get rid of a crash condition
on 64-bit Windows.
        
    client/
        cs_prefs.cpp

svn path=/trunk/boinc/; revision=24541
2011-11-07 19:39:15 +00:00
David Anderson 312c44415d - client: condition RR sim negative FLOPs message on rr_simulation.
svn path=/trunk/boinc/; revision=24540
2011-11-07 18:53:37 +00:00
David Anderson 08fbbe8dfe - manager: apparently WxWidget's combo box has problems (bugs)
if multiple items have the same string.
		So, in simple view task combo box:
		- show % done (unique in most cases)
		- remove version number
		- instead of showing plan class, show "NVIDIA GPU" or "ATI GPU"
		TODO: update the fraction done

svn path=/trunk/boinc/; revision=24539
2011-11-07 17:56:44 +00:00
Charlie Fenton b0f667561e Mgr: Bug fix
svn path=/trunk/boinc/; revision=24538
2011-11-07 10:57:06 +00:00
David Anderson 98ba6807ab svn path=/trunk/boinc/; revision=24537 2011-11-07 05:12:02 +00:00
David Anderson 5b04b249db - check in trickle crash fix
svn path=/trunk/boinc/; revision=24536
2011-11-07 03:46:03 +00:00
David Anderson ae04b50a71 - client: don't crash if trickle up exceeds 64KB
(this bug was introduced Sept 20)
- scheduler: truncate long trickle-ups to 256KB; don't crash


svn path=/trunk/boinc/; revision=24535
2011-11-06 06:25:48 +00:00
David Anderson 6d906cf523 - scheduler: fix bug in HR code (from Kevin)
svn path=/trunk/boinc/; revision=24534
2011-11-06 04:53:03 +00:00
Charlie Fenton 3e63882b05 Mac: remove -Wno-format-security compiler flag (no longer needed)
svn path=/trunk/boinc/; revision=24532
2011-11-04 20:38:19 +00:00
David Anderson c317f4b721 - client: attempt to fix bug reported by John McLeod,
where the client crashes after giving up (90 day timeout) on an upload.
    I'm guessing this was caused by [24391],
    which changed the order in the poll loop from
        garbage_collect
        file_xfers->poll
        pers_file_xfers->poll
        handle_pers_file_xfers
    to
        garbage_collect
        handle_pers_file_xfers
        file_xfers->poll
        pers_file_xfers->poll
    I don't understand why this would have caused a crash,
    but so be it.
    I restored the original order, but with handle_pers_file_xfers
    not inside the if (!network_suspended).
- client renamed handle_pers_file_xfers() to
    create_and_delete_pers_file_xfers()
- client simulator: show simulator CPU time


svn path=/trunk/boinc/; revision=24531
2011-11-04 20:25:30 +00:00
David Anderson fb568462c6 - client: fix compile warning
svn path=/trunk/boinc/; revision=24527
2011-11-04 17:02:36 +00:00
Charlie Fenton c830ed59c3 client: fix errors in (currently unused) get_max_cpu_temperature() code for Macintosh
svn path=/trunk/boinc/; revision=24526
2011-11-04 11:30:57 +00:00
Charlie Fenton b36f19bee1 Mac: add -Wno-format-security compiler flag to suppress warning that format string is not a string literal
svn path=/trunk/boinc/; revision=24525
2011-11-04 09:27:54 +00:00
Charlie Fenton bdf5cf405d client: Fix compile error
svn path=/trunk/boinc/; revision=24524
2011-11-04 09:27:01 +00:00
David Anderson 07e54fc86b - client: fix work fetch bug.
If we're contacting a project to report results,
    only piggyback work requests for resources for which
    that project is the highest priority that may have work.
- client: compute result.not_started more efficiently

TODO: continue efficiency work.  There's still some quadratic stuff


svn path=/trunk/boinc/; revision=24523
2011-11-04 08:15:04 +00:00
David Anderson 15b5e6e6a7 - client: show GPU exclusions at startup
(need to do this after reading the state file,
		since GPU exclusions refer to projects).
	- client: fix bug that added garbage <coproc> element
		to <app_version> in state file when using GPU exclusions


svn path=/trunk/boinc/; revision=24522
2011-11-03 22:27:20 +00:00
David Anderson c9302ae532 - wrapper: handle Windows .bat files as main programs
svn path=/trunk/boinc/; revision=24519
2011-11-03 19:36:28 +00:00
David Anderson ad2f3771da - client: fix bugs when writing/parsing cc_config.xml via GUI RPCs
(e.g. when editing it via the Manager).
    Include only the GPUs that were specified in the original cc_config.xml,
    not those detected by the client.
- client: fix bug that failed to require authorization for
    GUI RPCs that are supposed to be authorized
- client: report parse errors in acct_mgr_url.xml and acct_mgr_login.xml
- fix compile warnings
- user web: in sample project_specific_prefs.inc,
    get app names from the DB instead of listing them in the PHP code.


svn path=/trunk/boinc/; revision=24518
2011-11-03 19:19:36 +00:00
Charlie Fenton 8385953b0e Mac installer: update ReadMe files for BOINC 6.13.x
svn path=/trunk/boinc/; revision=24517
2011-11-03 08:58:54 +00:00
Charlie Fenton e03cfb90cd Mac installer: update ReadMe file for BOINC 6.13.x
svn path=/trunk/boinc/; revision=24516
2011-11-03 08:31:10 +00:00
Charlie Fenton b10b199099 api: Restore list checkin of 31 October 2011
svn path=/trunk/boinc/; revision=24515
2011-11-03 08:28:55 +00:00
David Anderson d53b89fe6f - feeder: fix logic error in the way app_version.pfc_scale is updated
(from Kevin Reed)


svn path=/trunk/boinc/; revision=24514
2011-11-03 07:08:52 +00:00
David Anderson 497c08b5c2 - scheduler: in update_wu_on_send(), always try to update
the hr_class and app_version_id fields,
    with the where clause that they be either zero or the target value.
    This handles the cases where
    1) because of the failure of a results, the transitioner set
        the field back to zero;
    2) another scheduler set the field to the target value


svn path=/trunk/boinc/; revision=24513
2011-11-03 06:46:05 +00:00
David Anderson 690e18bbe3 - server: plan class names containing 'nvidia' or 'cuda'
are assumed to be for NVIDIA GPU apps;
    plan class names containing 'ati' are assumed to be for AMD GPU apps.
    Clauses for 'nvidia' were missing in a couple of places.


svn path=/trunk/boinc/; revision=24512
2011-11-03 05:26:19 +00:00
David Anderson 010b11406b - API: fix bug in boinc_get_opencl_ids()
- add simulator for distributed storage (not finished)


svn path=/trunk/boinc/; revision=24511
2011-11-03 03:29:07 +00:00
Rom Walton 687195e7f0 Quick Updates
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
Rom Walton 48d1a2de5d - Tag for 6.13.10 release, all platforms
boinc_core_release_6_13_10

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24505
2011-10-27 16:01:51 +00:00
Charlie Fenton e1b6c0c4c7 Mac installer: Update release script to create projects/virtualbox/ directory
svn path=/trunk/boinc/; revision=24504
2011-10-27 11:50:31 +00:00
David Anderson 743d687c05 - scheduler: bug fix from Kevin
svn path=/trunk/boinc/; revision=24503
2011-10-27 03:55:18 +00:00
David Anderson d2e5ed17cf - client: smoothed working-set size wasn't being computed correctly.
It was always just the most recent size.


svn path=/trunk/boinc/; revision=24500
2011-10-26 23:23:01 +00:00
David Anderson 47e5627c6e - web: fix typo that failed to show ATI GPUs in top-GPU page
svn path=/trunk/boinc/; revision=24499
2011-10-26 22:11:37 +00:00
David Anderson 2371bd641a - scheduler: typo in a SQL query
svn path=/trunk/boinc/; revision=24498
2011-10-26 22:05:50 +00:00
David Anderson dd1b4df668 - client: fix typo in project parse code
svn path=/trunk/boinc/; revision=24497
2011-10-26 21:45:17 +00:00
David Anderson 5d76e13277 - scheduler: tweaks to last night's checkin.
In the inner loop of scan_work_array() there are two WORKUNITs:
    - the one that's part of wu_result (in the shared-mem array)
    - a temp copy.
        quick_check() may modify this in host-specific ways
        (e.g., adjusting rsc_fpops_est or delay_bound).
        This is the one we pass to add_result_to_reply().
    When we reread hr_class and app_version_id from the DB,
    update both structs.


svn path=/trunk/boinc/; revision=24493
2011-10-26 16:51:10 +00:00
Charlie Fenton d6de371c1c Mac: Update build instructions for client and libraries
svn path=/trunk/boinc/; revision=24489
2011-10-26 12:13:00 +00:00
Charlie Fenton 3008b0b82b Mac XCode project: If OS 10.5 SDK available, build BOINC to run on OS 10.4+; else build BOINC to run only on OS 10.6+
svn path=/trunk/boinc/; revision=24485
2011-10-26 09:56:20 +00:00
David Anderson 4b826b52a0 - scheduler: fix bug in the "homogeneous app version" (HAV) feature
(reported by Kevin Reed).
    The problem: cache inconsistency.
    If there are 2 results for the same WU in shared mem,
    and 2 scheduler instances get them around the same time,
    they can send them with different app versions.
    We already fixed this problem for HR by
    1) rereading the relevant WU fields while deciding
        whether to send the result
    2) doing a "careful update" of the WU field using a where clause
        to make sure it wasn't modified in the (short) interval
        since rereading it.
    I fixed the HAV problem in the same way,
    and merged the two mechanisms to combine the DB queries.

    Also:
    - The rereads are done in slow_check() (see below).
    - The careful updates are done in update_wu_on_send(),
        and this is called *before* doing careful updates on result fields.
        That way, if the WU updates fail, we don't have orphaned results.
    - already_sent_to_different_platform_careful() (sic)
        no longer does DB stuff, so it's merged with
        already_send_to_different_hr_class() (better name)

    NOTE: slow_check() is used in array scheduling only.
        Score-based scheduling uses other code,
        in which this bug is not yet fixed.
        Locality scheduling doesn't support HR or HAV at all.
        This should be unified.


svn path=/trunk/boinc/; revision=24484
2011-10-26 07:15:22 +00:00
David Anderson 6297bdbc77 - web: typo in forum RSS from Daniel L G; fixes #1147
- client: message tweak


svn path=/trunk/boinc/; revision=24483
2011-10-25 17:22:18 +00:00
Rom Walton 1f71240c98 - Tag for 6.13.9 release, all platforms
boinc_core_release_6_13_9

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24481
2011-10-25 15:33:59 +00:00
Charlie Fenton 0549e0ed8e MGR: Allow skin to specify the (simulated) opacity of Simple View task and project panels
svn path=/trunk/boinc/; revision=24480
2011-10-25 12:37:39 +00:00
Charlie Fenton d948cd3382 MGR: Allow skin to specify the (simulated) opacity of Simple View task and project panels
svn path=/trunk/boinc/; revision=24479
2011-10-25 12:11:26 +00:00
Charlie Fenton a0939b8e4b MGR: Sort Simple View task selection control alphabetically, working around clientData bug in wxBitmapComboBox::Insert()
svn path=/trunk/boinc/; revision=24476
2011-10-25 11:19:42 +00:00
David Anderson 77e3c4d06c - API: compile fixes for MinGW. From Oliver Bock.
svn path=/trunk/boinc/; revision=24474
2011-10-24 23:38:19 +00:00
Rom Walton 14e3bd7565 - MGR Skins: Fix numerious issues related to bad entries in the Skin XML
file.

    clientgui/
        SkinManager.cpp
    clientgui/skins/GridRepublic/
        skin.xml
    clientgui/skins/Progress Thru Processors/
        skin.xml

svn path=/trunk/boinc/; revision=24470
2011-10-24 18:06:14 +00:00
David Anderson 7b28215032 - client: reimplement the round-robin simulator to
reduce its runtime from O(N^2) to O(N),
    where N is the number of runnable jobs
    (which can be in the thousands).
    This will make the client emulator run a lot faster,
    and will reduce the client CPU overhead a bit.
- API: change boinc_get_opencl_ids() so that it returns
    a BOINC error code (< -100) if the app_init.xml is
    missing or bad (i.e. we're running standalone),
    and an OpenCL error code (> -100) if an OpenCL call failed.


svn path=/trunk/boinc/; revision=24469
2011-10-24 17:53:09 +00:00
Charlie Fenton 968d96f8b6 Mac installer: Fix a very old bug
svn path=/trunk/boinc/; revision=24467
2011-10-24 09:16:02 +00:00
David Anderson 6c0bae7fb2 - web: forum RSS shouldn't filter sticky threads.
Not sure why that was in there.

svn path=/trunk/boinc/; revision=24466
2011-10-24 04:24:44 +00:00
Charlie Fenton c071ecf61b MGR: Reverted the above change because wxBitmapComboBox loses existing items' clientData
svn path=/trunk/boinc/; revision=24465
2011-10-23 14:27:25 +00:00
Charlie Fenton 8bf129df29 MGR: Sort Simple View task selection control alphabetically
svn path=/trunk/boinc/; revision=24464
2011-10-23 11:47:03 +00:00
Charlie Fenton 3373bc801a MGR: Bug fix: if currently selected task in Simple View deleted, change selection
svn path=/trunk/boinc/; revision=24463
2011-10-22 11:12:30 +00:00
Charlie Fenton e5153566d4 MGR: Fix project name font on Mac
svn path=/trunk/boinc/; revision=24462
2011-10-22 07:40:43 +00:00
Charlie Fenton 068e8823bb MGR: Fix crash bug
svn path=/trunk/boinc/; revision=24459
2011-10-22 01:00:50 +00:00
David Anderson 8e689c7434 - update_versions: touch trigger file so that feeder rereads DB
svn path=/trunk/boinc/; revision=24458
2011-10-21 20:14:54 +00:00
Rom Walton 9292a792e9 Quick Updates
svn path=/trunk/boinc/; revision=24457
2011-10-21 20:00:41 +00:00
David Anderson b99390e8dd - fix NVIDIA peak FLOPS
svn path=/trunk/boinc/; revision=24454
2011-10-21 18:08:45 +00:00
Rom Walton eefa682b82 - MGR: Scale background skin so that it now fits in the new simple gui
NOTE: We are in the process of trying to get new artwork so that we
          can handle the localization issues better.
        
    clientgui/skins/Default/
        background_image.png

svn path=/trunk/boinc/; revision=24453
2011-10-21 17:52:53 +00:00
David Anderson da55db138a - scheduler: fix calculation of ATI peak FLOPS;
older clients don't report have_cal.


svn path=/trunk/boinc/; revision=24452
2011-10-21 17:44:18 +00:00
Rom Walton 9e26e3dac9 - MGR: Make sure the dot is red if the project has been suspended for
the given task.
        
    clientgui/
        sg_TaskPanel.cpp

svn path=/trunk/boinc/; revision=24451
2011-10-21 17:28:56 +00:00
Rom Walton 53f0d92ab5 - MGR: Make the simple gui rounded edges seem smoother by increasing the
radius.
    - MGR: Fix project name font in the tasks area, normal size.  Increase
        it's weight to BOLD.
        
    clientgui/
        sg_PanelBase.cpp
        sg_TaskPanel.cpp

svn path=/trunk/boinc/; revision=24450
2011-10-21 17:11:08 +00:00
Rom Walton dbbd2a3ff9 - VBOX: Don't redirect VirtualBox to a different directory structure for
the root configuration file when the client is NOT in sandbox mode.
        Doing so could cause confusion if the volunteer uses VirtualBox for
        any of their own work.  If BOINC started up first it would have appeared
        that their own VM's no longer existed.
        
    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24449
2011-10-21 16:34:45 +00:00
Charlie Fenton bcbea6fdcf Adjust preference dialog titles, improve Simple View and Simple Preferences
svn path=/trunk/boinc/; revision=24448
2011-10-21 12:17:10 +00:00
David Anderson 53af2ae778 - client/API: pass bool using_sandbox in APP_INIT_DATA;
says whether the client is using account-based sandboxing.
    Needed by vboxwrapper.
- web: don't show authenticator in Your Account page.
    The problem with authenticators is that if a bad guys gets yours,
    they can log in to your account even if you change your password.
    Eventually we should not use them at all
    (i.e. in cookies and sent to client).
- make_project: copy python stuff (e.g. bin/start) for web-only projects;
    generate appropriate project.readme file for web-only projects.


svn path=/trunk/boinc/; revision=24447
2011-10-21 06:58:35 +00:00
Charlie Fenton 2ae280cabf MGR: Move skin file to correct place, set background image's background color to black
svn path=/trunk/boinc/; revision=24446
2011-10-20 22:55:43 +00:00
Charlie Fenton 45ecc3e4c4 MGR: Force update of Task Selection List on reskin interface
svn path=/trunk/boinc/; revision=24442
2011-10-20 12:16:48 +00:00
Charlie Fenton de5104f504 MGR: Replace colored dot GIF files with new PNG files with anti-aliasing in alpha channel; generate new XPM files
svn path=/trunk/boinc/; revision=24441
2011-10-20 12:14:57 +00:00
David Anderson ddc859c0b3 - client simulator: bug fix
svn path=/trunk/boinc/; revision=24437
2011-10-19 17:45:10 +00:00
Rom Walton b5f1ea9c09 - MGR: Fix dot images
clientgui/res/skins/default/graphic/
        workunit_running_image.xpm
        workunit_suspended_image.xpm
        workunit_waiting_image.xpm
    clientgui/res/templates/
        dotgreen.gif
        dotred.gif
        dotyellow.gif

svn path=/trunk/boinc/; revision=24436
2011-10-19 16:41:33 +00:00
Charlie Fenton a9257a0f36 MGR: Simple View bug fix
svn path=/trunk/boinc/; revision=24434
2011-10-19 10:29:58 +00:00
Charlie Fenton 9dfa7f2ad3 MGR: Replace backup images RedDot16.xpm, YellowDot16.xpm and GreenDot16.xpm with XPM files created from Rom's new GIF files
svn path=/trunk/boinc/; revision=24433
2011-10-19 09:28:05 +00:00
David Anderson 68b3fe6b19 - client: fix crashing bug when there's a cycle in the process graph.
I had fixed this in one place but not another.
- client: don't memset(0,) a PROCINFO; use clear() instead


svn path=/trunk/boinc/; revision=24431
2011-10-19 07:49:23 +00:00
David Anderson 4d7d415b6d - client: fix bug that caused extra "<" to get written at
end of global_prefs_override.xml and cc_config.xml
    when they are modified via GUI RPCs


svn path=/trunk/boinc/; revision=24430
2011-10-19 07:27:52 +00:00
David Anderson b95ac02c5b - client: change the way project priorities are computed,
so that they do what they're supposed to
    (i.e. enforce resource shares)
- client: change log flag <debt_debug> to <priority_debug>
- client simulator: update REC even with large delta-t.
- client simulator: handle "no new work" apps correctly


svn path=/trunk/boinc/; revision=24429
2011-10-19 06:37:03 +00:00
Charlie Fenton a80d483e72 Mac: Update Mac build scripts, XCode project and source files to allow automated builds under OS 10.7 Lion and XCode 4.2
svn path=/trunk/boinc/; revision=24416
2011-10-18 13:53:37 +00:00
Rom Walton 0319bc4dfe - MGR: More simple GUI text changes
- MHR: Reduce clutter in log file
    
    clientgui/
        sg_BoincSimpleFrame.cpp
        sg_ProjectPanel.cpp, .h

svn path=/trunk/boinc/; revision=24415
2011-10-18 13:47:36 +00:00
Charlie Fenton 785a0b49c2 Mac: Update Mac build scripts, XCode project and source files to allow automated builds under OS 10.7 Lion and XCode 4.2
svn path=/trunk/boinc/; revision=24414
2011-10-18 12:42:53 +00:00
David Anderson 3410abef6f - backend API: added function cancel_jobs(minid, maxid)
for canceling jobs
- added program cancel_jobs for canceling jobs
- DB interface: it's not an error if update_fields_noid()
    affects != 1 rows


svn path=/trunk/boinc/; revision=24413
2011-10-18 07:15:04 +00:00
Rom Walton de72c0b4b9 - MGR: Make the Default skin loadable from the file system.
- MGR: Change the in-memory defaults for the skin to be a light-gray
        background.
    - MGR: Change the dots used in the simple gui.
    - MGR: Make the dots used in the simple gui skinable.
    - MGR: Change the 'Project Web Sites' button text to 'Project Web Pages'.
    - MGR: Add a basic 'Default' skin to be included by the various
        installers
    - MGR: Remove a bunch of files that are not used by the default skin
        anymore.

    clientgui/res/skins/default/graphic/
        <various files>
    clientgui/res/templates/
        dotgreen.gif
        dotred.gif
        dotyellow.gif
    clientgui/
        sg_DlgPreferences.cpp
        sg_ProjectPanel.cpp
        sg_TaskPanel.cpp, .h
        SkinManager.cpp, .h
    clientgui/skins/Default/
        background_image.png
    clientgui/skins/Default/
        skin.xml

svn path=/trunk/boinc/; revision=24412
2011-10-18 04:58:05 +00:00
David Anderson 54311606e3 - client: associate a PROJECT with HTTP_OP where applicable,
so that if you use <http_debug> and filter by project
    you don't see other projects' HTTP stuff
- client simulator: cc_config.xml is part of the scenario;
    log flags are part of the simulation


svn path=/trunk/boinc/; revision=24410
2011-10-18 04:23:03 +00:00
David Anderson 1d38837788 - client: call xp.skip_unexpected() if get unexpected tag,
to avoid showing multiple error messages
- client simulator: bug fixes and tweaks


svn path=/trunk/boinc/; revision=24408
2011-10-17 20:46:06 +00:00
David Anderson 7e41a84c16 - add boinc_opencl.h to set of installed headers
- emulator tweaks

svn path=/trunk/boinc/; revision=24407
2011-10-17 17:02:05 +00:00
David Anderson c22f8f41b9 - client simulator: make the output more graphical
svn path=/trunk/boinc/; revision=24406
2011-10-17 06:13:51 +00:00
David Anderson 836e8aacf7 - scheduler: in cuda_check(), ati_check() and opencl_check()
(in sched_customize.cpp)
    the flops_scale argument is intended to express the
    GPU efficiency (actual/peak).
    Pass appropriate values.


svn path=/trunk/boinc/; revision=24405
2011-10-16 06:04:13 +00:00
David Anderson 0a89805a70 - client: bug fix for the above
svn path=/trunk/boinc/; revision=24404
2011-10-16 01:29:57 +00:00
David Anderson f8e7662e1f - client: improvements to job scheduling and work fetch policies.
- Job scheduling: the baseline policy is to schedule based on "project priority",
            which is how much processing P should receive based on resource share
            minus how much it actually has received recently.
            This policy tends to run jobs from the same project together,
            so we modified it by adding a priority adjustment as jobs are scheduled.
            The idea is that if 2 projects have about the same priority
            they should split the processors.

            The problem: the adjustment was too large on hosts that are on
            only a small fraction of the time,
            thus tending to run 1 job from each project, regardless of priority.

            Solution: make an adjustment that reflects the host's actual throughput.
            See adjust_rec_sched() for details.

        - Work fetch: similar situation.
            We were making an adjustment based on how much work the project currently has queued,
            but the adjustment drowned out the project priority,
            so we'd tend to always get work from the project that has least work queued.
            Solution: make a smaller adjustment (-.3 ... .3)

    - client: in message announcing app start, show the plan class

    - client: don't show "unrecognized XML" messages for account files.
        It's typically project-specific prefs that the client doesn't know about.

svn path=/trunk/boinc/; revision=24403
2011-10-15 20:28:26 +00:00
David Anderson 1bacc6c5cb - client: show OpenCL version correctly on Win
svn path=/trunk/boinc/; revision=24402
2011-10-14 20:44:00 +00:00
Rom Walton 2f305eee43 - MGR: Persist Simple GUI notification dialog size and position
information.
    - MGR: Remove context menu help buttons from dialog.
    
    clientgui/
        sg_DlgMessages.cpp

svn path=/trunk/boinc/; revision=24401
2011-10-14 19:35:27 +00:00
Rom Walton cf9930ed7d - MGR: Remove the triangle in the lower right-hand corner of the
default project image for the simple GUI

    clientgui/res/skins/default/graphic/
        project_image.xpm

svn path=/trunk/boinc/; revision=24399
2011-10-14 19:15:47 +00:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Rom Walton f93c8d4c65 - MGR: Remove code that blocks the switch to simple view when an
accessibility aid is running.
        
    clientgui/
        BOINCGUIApp.cpp
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=24397
2011-10-14 05:03:48 +00:00
David Anderson d2d6a49287 - manager: don't show slot number in simple view task list
svn path=/trunk/boinc/; revision=24396
2011-10-14 02:24:02 +00:00
Rom Walton e17828b52a - MGR: Support both the old and new libnotify at runtime on Linux
clientgui/gtk/
        taskbarex.cpp

svn path=/trunk/boinc/; revision=24393
2011-10-13 21:46:50 +00:00
David Anderson 37c71fd18c - web: fix bug in user search when enter empty name prefix
svn path=/trunk/boinc/; revision=24392
2011-10-13 19:21:25 +00:00
David Anderson 921b5c50df - client: create and destroy PERS_FILE_XFERs even if network suspended.
This will show pending uploads in the Transfers tab.
- file_upload_handler: fix message to client when can't acquire lock
- client: parse <alt_platform> in state file correctly


svn path=/trunk/boinc/; revision=24391
2011-10-13 19:05:18 +00:00
David Anderson 7c471bf1b3 - client: fix bug where network suspend got ignored when
OS suspends (e.g. sleep or hibernate)

svn path=/trunk/boinc/; revision=24390
2011-10-13 18:36:33 +00:00
Rom Walton bfea72054e - WINSCR: Move the reset display call to the end of the full screensaver
section.  We do not need to perform a display reset in the various
        test modes.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=24389
2011-10-13 14:41:24 +00:00
Charlie Fenton cb45cec08c atiopencl sample: call boinc_get_opencl_ids() if not stand-alone; improve error messages
svn path=/trunk/boinc/; revision=24387
2011-10-13 10:25:09 +00:00
Charlie Fenton e6aaa11b27 client: fix honoring of cc_config ignore GPU options
svn path=/trunk/boinc/; revision=24386
2011-10-13 00:12:15 +00:00
David Anderson b1456cfc0b - scheduler: fix a bug that would choose app versions erroneously.
The problem: the choice of app version was based on
    the "projected FLOPS" return by estimate_flops(av).
    If usage stats exist for the host / app version,
    this returns a number X such that
    WU.rsc_fpops_est/X approximates the runtime of a job
    using the given app version..
    (If WU.rsc_fpops_est is way off, this will be correspondingly way off
    from the actual FLOPS the app version will get.)
    However, if there are no usage stats,
    it return an estimate based on host hardware speed,
    which might be 100X less.
    Hence, in some cases a new app version would never get used.

    Solution: choose app versions based on the values
    returned by the app plan functions.
    Use estimate_flops() AFTER choosing the version.
- scheduler: improve the accuracy of FLOPS estimation for GPU apps.
    The "flops_scale" argument to coproc_perf
    (which expresses the difference between peak GPU FLOPS
    and actual FLOPS) should be used to scale GPU FLOPS
    prior to calling coproc_perf(),
    rather than scaling the estimate returned by coproc_perf().
- show_shmem: show have_X_apps flags


svn path=/trunk/boinc/; revision=24385
2011-10-12 23:59:38 +00:00
Rom Walton b1879cb764 - Tag for 6.13.8 release, all platforms
boinc_core_release_6_13_8

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24383
2011-10-12 06:37:14 +00:00
Charlie Fenton af369205a0 client: fix NVIDIA driver version and CUDA version display for Mac
svn path=/trunk/boinc/; revision=24381
2011-10-12 00:21:04 +00:00
Rom Walton b7f4b13342 - vbox: Move the destination of the VBOX_USER_HOME environment variable to
<boinc_data_dir>/projects/virtualbox so that the virtualbox configuration
        can remain consistent across one or more projects.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24380
2011-10-11 20:01:32 +00:00
David Anderson 0793e66ff7 - client and user web: show NVIDIA driver version and CUDA version
as, e.g., 275.33 instead of 27533


svn path=/trunk/boinc/; revision=24378
2011-10-11 18:57:49 +00:00
David Anderson cb3cdae1a5 - client/server: add a new result state RESULT_UPLOAD_FAILED
for when the job completed successfully but
    one or more output files had permanent upload failures.
    Show this state in web interfaces.
- sample_work_generator: check return value of count_unsent_results(),
    so that we don't generate infinite work if there's a DB problem
- web: RSS feed shows news items from last 90 days, rather than 14


svn path=/trunk/boinc/; revision=24377
2011-10-11 17:41:10 +00:00
Rom Walton 7de6b8a378 - Tag for 6.13.7 release, all platforms
boinc_core_release_6_13_7

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=24375
2011-10-11 15:07:58 +00:00
Charlie Fenton 2b1a5beb9e Mac installer: start boinc users & groups at ID 501, find human users via Directory Services, use LoginItemAPI.c
svn path=/trunk/boinc/; revision=24374
2011-10-11 13:10:02 +00:00
Charlie Fenton 37837fc394 code optimization
svn path=/trunk/boinc/; revision=24373
2011-10-11 00:35:52 +00:00
Rom Walton 3f180b0278 Quick Updates
svn path=/trunk/boinc/; revision=24364
2011-10-10 14:22:28 +00:00
Rom Walton edbbf54a92 - client: Fix crashing bug in OpenCL detection on Windows.
- lib: Fix crashing bug for debug builds of the BOINC client
    
    client/
        coproc_detect.cpp
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24363
2011-10-10 14:21:08 +00:00
Charlie Fenton 33bebdc50a code cleanup
svn path=/trunk/boinc/; revision=24360
2011-10-10 07:09:24 +00:00
David Anderson f17f816041 - client: fix bugs in acct manager attach/detach
svn path=/trunk/boinc/; revision=24358
2011-10-09 06:01:30 +00:00
David Anderson 1f2accb000 - API: don't crash if send trickle msg running standalone.
From Christian Ries.


svn path=/trunk/boinc/; revision=24357
2011-10-08 16:33:31 +00:00
Charlie Fenton 88128c901d client: Fill in peak flops for each OpenCL GPU before compare
svn path=/trunk/boinc/; revision=24356
2011-10-08 09:44:08 +00:00
David Anderson e00b080b5e - scheduler: fix crashing bug when using HR. From Kevin Reed.
svn path=/trunk/boinc/; revision=24355
2011-10-08 08:16:24 +00:00
David Anderson dd3b628748 - client: compare OpenCL-only devices the same as other devices
- code cleanup


svn path=/trunk/boinc/; revision=24354
2011-10-08 06:33:39 +00:00
David Anderson 279c3a2b37 - scheduler: problem: in the daily quota mechanism,
the boundary between days is 00:00 in server local time.
    This creates a spike of jobs being dispatched
    (and files being downloaded) after that time.

    Solution: distribute the boundary uniformly,
    using a random number determined by the host ID.
    (Make sure to save/restore the seed around this,
    so we don't destroy the randomness of other things)


svn path=/trunk/boinc/; revision=24353
2011-10-08 05:17:44 +00:00
Charlie Fenton 3645b573a9 client: Compare openCL-only devices by estimated peak flops
svn path=/trunk/boinc/; revision=24351
2011-10-08 01:20:44 +00:00
Charlie Fenton 973d113569 client: improve code which writes OpenCL descriptions
svn path=/trunk/boinc/; revision=24350
2011-10-08 00:03:50 +00:00
David Anderson dc7e407532 - client/scheduler: the code for estimating peak FLOPS of ATI GPUs
(from Crunch3r) has a multiplier of 2.5 for cores/processor.
    This is possibly because give a double-precision estimate.
    But actually we want single-precision.  Change it to 5. See
    http://golubev.com/about_cpu_and_gpu_2_en.htm


svn path=/trunk/boinc/; revision=24349
2011-10-07 21:59:07 +00:00
David Anderson 57c04979b3 - client: don't do scheduler-requested RPCs if
- project is set to No New Work, and
    - project has no jobs on the client


svn path=/trunk/boinc/; revision=24348
2011-10-07 21:20:42 +00:00
David Anderson 0e225d889d - client (Mac): there was no error check of the creation
of a memory-mapped file used for communication with an app.
     Add a check, and don't start the job if it fails.


svn path=/trunk/boinc/; revision=24347
2011-10-07 20:05:54 +00:00
David Anderson c6327eeb73 - client and scheduler: estimate peak FLOPS for GPUs that
are detected by OpenCL but not by native APIs (CUDA/CAL).
    This is limited by the fact that OpenCL doesn't give
    us the necessary hardware info
    (ATI; wavefrontSize; NVIDIA: compute capability).
    We use the minimum values for these,
    so in most cases we'll be underestimating the peak FLOPS.


svn path=/trunk/boinc/; revision=24346
2011-10-07 19:47:35 +00:00
David Anderson 6da80764fc - scheduler add app_plan() support for plan classes
opencl_nvidia_101 and opencl_ati_101


svn path=/trunk/boinc/; revision=24345
2011-10-07 19:23:37 +00:00
David Anderson 3acc4fa77d - client/server: change field names in OPENCL_DEVICE_PROP
to match those in the clGetDeviceInfo() calls.
    Principles:
    - if there's already a name for something, use it.
    - follow case conventions


svn path=/trunk/boinc/; revision=24344
2011-10-07 18:11:52 +00:00
Charlie Fenton be38cab062 client: write descriptions of OpenCL devices to stdout; work around a bug where OpenCL reports global RAM of ATI GPUs incorrectly
svn path=/trunk/boinc/; revision=24343
2011-10-07 12:05:19 +00:00
David Anderson 56492aaeac - client: fix bug in writing daily xfer history file
svn path=/trunk/boinc/; revision=24341
2011-10-06 17:39:13 +00:00
David Anderson 115ca46730 - GUI RPC: add get_daily_xfer_history() RPC for getting
the daily records of #bytes uploaded and downloaded


svn path=/trunk/boinc/; revision=24340
2011-10-06 17:23:16 +00:00
David Anderson 6911932d84 - client: problem: suppose a project has 2 data servers,
and one of them is down.
    If several downloads from the broken one fail,
    we go into "project-level backoff"
    and don't start downloads from either server.
    (Same applies to uploads).

    Solution: make project-level backoff apply only to
    transfers that have already failed at least once


svn path=/trunk/boinc/; revision=24339
2011-10-06 06:13:33 +00:00
David Anderson ae3d5a85dd - scheduler: fix bug that caused scheduler to not send GPU jobs
svn path=/trunk/boinc/; revision=24338
2011-10-06 02:56:30 +00:00
David Anderson 0990d99fdb - client: free vectors in NOTICES, RSS_FEEDS, and DAILY_XFER_HISTORY
in free_mem() (for mem leak checking)


svn path=/trunk/boinc/; revision=24337
2011-10-06 01:14:21 +00:00
David Anderson c7e505dc81 - client: fix memory leak when reading stderr of completed job.
This caused 128KB + size of stderr loss for each job.
- client: print error message if reading stderr fails
    (e.g. because of malloc failure)


svn path=/trunk/boinc/; revision=24336
2011-10-05 22:16:02 +00:00
Rom Walton f304e50691 - Lib: Re-enable boinc lib mem snapshots for BOINC based applications (boinc,
boincmgr, boinc.scr) on Windows.
        
    lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=24335
2011-10-05 21:45:35 +00:00
David Anderson 0224ea7bb2 - client: fix a memory leak; would lose ~120 bytes each time a job is started
svn path=/trunk/boinc/; revision=24333
2011-10-05 19:20:53 +00:00
David Anderson 228f56b464 - client: in the function that sorts jobs by arrival time,
don't use name as a tiebreaker.
    The will typically group jobs of the same application,
    and (it is believed that) things run faster when
    applications are mixed.
- scheduler: bug: if a client gets host-specific prefs
    (e.g. from an account manager)
    it will send only the working prefs to the scheduler.
    The scheduler then always sends back the DB prefs,
    overwriting the host-specific prefs.
    Fix: note the mod time in the working prefs,
    and only send the DB prefs if they're more recent.


svn path=/trunk/boinc/; revision=24332
2011-10-05 04:12:16 +00:00
Rom Walton 0671d2ed97 - WINSCR: Before shutting down the screensaver, quickly reinitialize the OpenGL device
on the primary display.  Some of the issues being reported with the screensaver
        is a left over ghost image of the OpenGL display before the graphics application
        was terminated because keyboard/mouse activity was detected.

    clientscr/
        screensaver_win.cpp
    win_build/
        boinc_os_ss.vcproj

svn path=/trunk/boinc/; revision=24331
2011-10-04 18:39:02 +00:00
David Anderson 80a6db29d6 - client: win compile fixes
svn path=/trunk/boinc/; revision=24330
2011-10-04 18:19:57 +00:00
David Anderson abbdd5c71a - client: don't show "(device N)" if there's only 1 device
svn path=/trunk/boinc/; revision=24329
2011-10-04 18:11:47 +00:00
David Anderson 1e4f187cb5 - client: don't generate notice if lookup of host
in remote_hosts.cfg fails.

svn path=/trunk/boinc/; revision=24328
2011-10-04 17:14:17 +00:00
David Anderson c84ede6156 - scheduler: record VirtualBox version # in the host table
svn path=/trunk/boinc/; revision=24327
2011-10-04 03:33:04 +00:00
David Anderson c2cdaacf89 - scheduler: fix bugs that broke work fetch for anonymous platform;
don't send irrelevant messages to anon platform clients


svn path=/trunk/boinc/; revision=24326
2011-10-03 23:43:53 +00:00
David Anderson 57fc54ae53 - lib: move XML parse test program to its own file.
Note: XML_PARSER::parse_str() doesn't currently work right
    for something like <foo><a>xx</a></foo>.
    It should return "<a>xx</a>".
    TODO.


svn path=/trunk/boinc/; revision=24325
2011-10-03 21:43:34 +00:00
David Anderson 36fc4b7bb3 - web: fix error in profile listings.
From Uwe Becker.


svn path=/trunk/boinc/; revision=24324
2011-10-03 17:11:45 +00:00
Charlie Fenton ebdb8094f1 client: Fix compiler warnings
svn path=/trunk/boinc/; revision=24318
2011-10-03 07:54:22 +00:00
David Anderson 5c0d5d371e - client: compute project scheduling priority more efficiently
- client: if an app version can't be used because the GPUs it needs
    are all excluded, mark it and all its results as "coproc missing"
    so that they won't be looked at in scheduling logic.


svn path=/trunk/boinc/; revision=24317
2011-10-03 06:18:58 +00:00
David Anderson 090050c0ca - client: fix bug that could cause GPU idleness
in the presence of GPU exclusions.
    The problem was in the job-selection phase,
    which picks enough jobs to use all devices.
    It was ignoring GPU exclusions, so for example on
    a 2 GPU system it could pick 2 jobs from a project
    for which 1 GPU is excluded,
    and as a result 1 GPU would be idle.

    Solution: during job selection,
    keep track of GPU usage on a per-instance basis.
    Select a job only if it can run on a non-excluded GPU.

- client: in computing ncprocs_excluded (which is used in
    work fetch policy) don't count exclusions of non-existent devices


svn path=/trunk/boinc/; revision=24316
2011-10-03 03:29:58 +00:00
David Anderson d8a5fe6074 - team import script: don't exit if fail to create user.
The failure may be because the email is banned
	(as happened w/ SETI@home)


svn path=/trunk/boinc/; revision=24315
2011-10-02 06:59:00 +00:00
David Anderson 56d83a91b5 - client: specify the project in "Some tasks need more memory
than allowed by your preferences" messages


svn path=/trunk/boinc/; revision=24314
2011-10-01 18:02:49 +00:00