Commit Graph

11915 Commits

Author SHA1 Message Date
David Anderson 796a8ef835 - change EXIT_ABORTED_VIA_GUI to EXIT_ABORTED_BY_CLIENT
- change ERR_CHILD_FAILED TO EXIT_CHILD_FAILED
    (it's an exit code, not a function error code)
- client: reduce severity of benchmark error
- scheduler: compile fix

svn path=/trunk/boinc/; revision=15423
2008-06-18 16:43:05 +00:00
David Anderson bfa6747467 - web: shuffle code to eliminate redundancy
svn path=/trunk/boinc/; revision=15419
2008-06-17 17:38:02 +00:00
David Anderson 7678669df5 Small fix for MINGW32 build
svn path=/trunk/boinc/; revision=15411
2008-06-17 16:19:36 +00:00
David Anderson b8f17039b4 svn path=/trunk/boinc/; revision=15410 2008-06-17 16:15:39 +00:00
David Anderson d737c428ff - scheduler: if host.n_bwdown is zero, skip the bandwidth check;
the host hasn't been measured yet.

svn path=/trunk/boinc/; revision=15409
2008-06-17 16:09:27 +00:00
David Anderson ccc92976e9 - client: fix crashing bug when detach from project.
The problem: the variable ordered_scheduled_results
    has a list of pointers to RESULTs.
    These pointers become dangling when the project is detached.
    It's not sufficient to do schedule_cpus() because this returns
    immediately if # projects == 0.
    So clear the list directly.
    Rom: please port to 6.2

svn path=/trunk/boinc/; revision=15407
2008-06-16 16:52:17 +00:00
David Anderson b16fb12329 - manager: fix some strings ("comm" is not an OK abbrev.)
Also got rid of references to Yahoo.

svn path=/trunk/boinc/; revision=15406
2008-06-14 20:38:57 +00:00
David Anderson b0aadb0e4e svn path=/trunk/boinc/; revision=15399 2008-06-13 16:46:28 +00:00
David Anderson 956a5a2cc5 - web: fixed numerous bugs in team founder transfer mechanism
svn path=/trunk/boinc/; revision=15398
2008-06-13 16:40:51 +00:00
David Anderson 77c7ff3649 - client/API: add "computation_deadline" to APP_INIT_DATA.
This supports apps that can do variable amounts of computing;
    they can boinc_finish() if their deadline is near.
    Rom: please back-port.

svn path=/trunk/boinc/; revision=15395
2008-06-12 19:05:14 +00:00
David Anderson 3eaff2b345 - API/runtime system: remove "fraction done update period" stuff.
This was always 1 second, which is fine.


svn path=/trunk/boinc/; revision=15394
2008-06-12 18:35:19 +00:00
David Anderson a1db66c12b - web: handle magic quotes correctly in profile create/edit
svn path=/trunk/boinc/; revision=15392
2008-06-12 15:28:06 +00:00
David Anderson aaa60334be - web: add $prefix arg to sample project_header(), project_footer()
(fix links on profile-index pages)
- web: use cache-control "no-store" only for home.php.
    This makes it so that, e.g. if you scroll to the middle of a long page,
    follow a link, then click Back,
    you'll go back the original scroll position rather than top of page.

svn path=/trunk/boinc/; revision=15391
2008-06-12 04:50:10 +00:00
David Anderson d403a14e42 - web: cleaned up logic of string processing.
There are two aspects:
    1) undoing magic quotes (if it's being used).
        This must be done for all GET and POST string inputs.
        It is now done automatically by get_str() and post_str().
        The places that refer to $_GET and $_POST directly
        must do it themselves using undo_magic_quotes().
    2) Escaping user-supplied strings before using them in DB queries.
        This is done by process_user_text()
        (which should be renamed db_escape_string()).
        The new principle:
        call process_user_text() in the function that does the DB query
        (not at any higher level).


svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36:10 +00:00
David Anderson 0eb6091c0a - web fixes
svn path=/trunk/boinc/; revision=15388
2008-06-11 16:49:56 +00:00
David Anderson 0cee57e3de - added Free-DC CPID stats
svn path=/trunk/boinc/; revision=15387
2008-06-11 16:08:09 +00:00
Jens Seidler 67284f3209 Localization: BOINC homepage websites language files updated: Spanish(es), Polish(pl), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=15385
2008-06-11 05:27:38 +00:00
David Anderson ba752a17e7 - make_project: allow account creation initially.
Otherwise it's another nit-picky little step
    in the project "quick start" process.

svn path=/trunk/boinc/; revision=15382
2008-06-10 21:19:09 +00:00
David Anderson f0bd46e2c1 - web: change order of includes
svn path=/trunk/boinc/; revision=15381
2008-06-10 18:12:29 +00:00
Rom Walton c488476a71 svn path=/trunk/boinc/; revision=15379 2008-06-09 19:29:58 +00:00
Rom Walton 3069c40568 - DIAG: Fix 2 year old bug when projects are using a symstore.
init_data.xml was writing 'symstore' and the diagnostic
        code was looking for 'project_symstore'. Why did it take
        so long to find? Oh well, make it obvious if it ever
        happens again by dumping the symstore url in the crash
        report.
        
        Ugh...
        
    lib/
        diagnostics.C
        diagnostics_win.C

svn path=/trunk/boinc/; revision=15378
2008-06-09 19:28:35 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Rom Walton f0b97983b7 - Tag for 6.3.3 release, all platforms
boinc_core_release_6_3_3

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=15373
2008-06-06 17:03:21 +00:00
David Anderson f0cb602f42 - client (Win) look for CUDA as nvcuda.dll
svn path=/trunk/boinc/; revision=15372
2008-06-06 15:43:05 +00:00
David Anderson 304c1dc934 svn path=/trunk/boinc/; revision=15369 2008-06-05 22:37:55 +00:00
David Anderson cf6a5281b6 - web: moved some basic utility functions to a separate file
that doesn't need to include all sorts of crap

svn path=/trunk/boinc/; revision=15368
2008-06-05 22:35:03 +00:00
David Anderson fc3f542161 rename
svn path=/trunk/boinc/; revision=15367
2008-06-05 22:06:31 +00:00
David Anderson d5ec5a3e11 rename single_job_setup
svn path=/trunk/boinc/; revision=15366
2008-06-05 22:04:16 +00:00
David Anderson db996dedc9 - manager: fix messages: "shut down" is 2 wds etc.
svn path=/trunk/boinc/; revision=15365
2008-06-05 21:09:47 +00:00
David Anderson d764eb5873 - web: clean up stuff related to stripslashes():
1) it's not correct to apply stripslashes() to all form input.
        That should be done only if magic quotes is on.
        I fixed this by adding a function undo_magic_quotes()
        that does the right thing.
    2) There's no reason to strip backslashes from user-supplied text
        (forum titles and bodies, private messages, passwords etc.)
        I'm not sure why this was being done.
        It prevented messages from containing backslashes.

svn path=/trunk/boinc/; revision=15364
2008-06-05 20:32:21 +00:00
David Anderson 3054a5f6b3 - validator/assimilator: fix bug in 2 June checkin
(xml_doc_in wasn't included in DB query)

svn path=/trunk/boinc/; revision=15363
2008-06-05 18:36:31 +00:00
David Anderson 348f90574c - web: fixed a couple of references to "global $logged_in_user".
It's $g_logged_in_user.

svn path=/trunk/boinc/; revision=15362
2008-06-05 04:35:21 +00:00
Charlie Fenton 4fb05c642c Fix a comment.
svn path=/trunk/boinc/; revision=15361
2008-06-05 02:13:43 +00:00
Charlie Fenton 6d725cf589 MGR: Fix help menus in Simple GUI (not applicable on Windows)
svn path=/trunk/boinc/; revision=15359
2008-06-05 02:07:44 +00:00
David Anderson 47d29e2b76 - make_project: when it's done it prints out a bunch of instructions.
These are more than 24 lines, so in the VMWare BOINC VM
    they scroll off the window and are lost.
    Instead, write them to a file (project/project.readme).
    Also, only write the message about example app if -test_app

svn path=/trunk/boinc/; revision=15358
2008-06-04 23:27:01 +00:00
David Anderson 0e03df254b - Back end: add adaptive validation feature
(DB update required)
- Fixed typo in Eric's 5/28 checkin

svn path=/trunk/boinc/; revision=15357
2008-06-04 23:04:12 +00:00
David Anderson 5bb78f7a1c fix typo in schema.sql
svn path=/trunk/boinc/; revision=15356
2008-06-04 22:43:13 +00:00
David Anderson 41dae10b35 svn path=/trunk/boinc/; revision=15354 2008-06-03 17:58:53 +00:00
Jens Seidler 91992c16f0 BOINC homepage language files updated: Catalan(ca)
svn path=/trunk/boinc/; revision=15353
2008-06-03 05:27:56 +00:00
Jens Seidler 8e7f33eceb BOINC Manager, distributed web site and homepage language files updated: Chinese simplified(zh_CN), Dutch(nl), Czech(cs)
svn path=/trunk/boinc/; revision=15352
2008-06-03 05:26:30 +00:00
David Anderson f0fc96196f - validator/assimilator: get_output_file_info()
was looking at the wrong XML field

svn path=/trunk/boinc/; revision=15350
2008-06-02 20:06:54 +00:00
David Anderson 1506b42d17 svn path=/trunk/boinc/; revision=15349 2008-06-02 17:24:04 +00:00
David Anderson edc63eabbb svn path=/trunk/boinc/; revision=15348 2008-06-02 16:08:42 +00:00
David Anderson 4eea5bd714 - Add cross-project certificate
svn path=/trunk/boinc/; revision=15347
2008-06-02 15:59:20 +00:00
David Anderson 96eabc043b - server: added -simulation option to feeder, validator, and assimilator
(for use in server simulator)

svn path=/trunk/boinc/; revision=15344
2008-06-01 03:43:47 +00:00
Eric J. Korpela 3a452276ae Fixed handling of display of results for credit granted or claimed when results
are cancelled.


svn path=/trunk/boinc/; revision=15343
2008-05-31 17:15:56 +00:00
David Anderson c9d38091e7 - validator/assimilator: parse <file_ref>s rather than <file_info>s;
the latter is where the <optional/> flag is.

svn path=/trunk/boinc/; revision=15337
2008-05-30 03:29:31 +00:00
David Anderson 97239eb35c - Redo the above so that get_output_file_path() is unchanged;
add new functions get_output_file_info();
- change get_output_file_path() to look at the result's
    xml_doc_in rather than its xml_doc_out;
    this is the one that will have <optional/>
- fix crashing bug in the above

svn path=/trunk/boinc/; revision=15334
2008-05-29 21:54:18 +00:00
Charlie Fenton c99fa4ed5b MGR: eliminate spurious --graphics argument when showing V6 graphics
svn path=/trunk/boinc/; revision=15333
2008-05-29 21:51:53 +00:00
David Anderson ebfb1e8e3b - Validator framework: change get_output_file_path()
to return a struct FILE_INFO (including "optional")
    instead of just the filename.
    This lets you avoid erroring out if optional file is missing.
- Sample bitwise validator: support > 1 output file correctly

svn path=/trunk/boinc/; revision=15332
2008-05-29 20:11:43 +00:00