Commit Graph

71 Commits

Author SHA1 Message Date
David Anderson 9b2998009f - client: add --start_delay cmdline option and <start_delay> config option.
Specifies an amount of time to delay starting apps
    (e.g. so that BOINC doesn't slow down boot process)

    Note: mechanisms that start BOINC at boot time
    need to figure out how to set this flag.

svn path=/trunk/boinc/; revision=14445
2007-12-27 21:40:20 +00:00
David Anderson f7c8bc5280 - client: fix bug that would falsely report DLL init errors
- client: don't crash when detach a project using anonymous platform
        (fixes #511)

svn path=/trunk/boinc/; revision=14348
2007-12-03 17:46:07 +00:00
David Anderson b3768ecc6f - client: removed -return_results_immediately cmdline option
(wasn't implemented anyway)
- client: added <report_results_immediately> configuration flag;
    causes results to be reported as soon as done.
    Needed for some WCG machines that are reformatted often.
    Should NOT be used in general, since it increases server load.

svn path=/trunk/boinc/; revision=14280
2007-11-21 19:57:40 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson 0904cce97a - win compile fixes
svn path=/trunk/boinc/; revision=13785
2007-10-05 17:00:11 +00:00
David Anderson d302a5e107 - client/manager/API: code cleanup to disentangle sandbox code from lib/.
- move client sandbox-specific code to a new file, sandbox.C
    - remove g_use_sandbox from util.C; move to MainDocument.cpp (manager)
        and sandbox.C (client)
    - don't declare check_security() in util.h; it's not in util.C
    - don't call remove_project_owned_file_or_dir() in
        boinc_delete_file_aux() or boinc_rmdir();
        rather, at the points in the client that delete
        dirs that are usually owned by boinc_projects,
        call remove_project_owned_file_or_dir() first,
        then clean_out_dir().
    - rename boinc_exec() to switcher_exec() and move it to sandbox.C

Note: this change was sparked by needing to remove a call to getgrnam()
from boinclib, to avoid requiring the same version of glibc
on both compile and target hosts

svn path=/trunk/boinc/; revision=13784
2007-10-05 16:47:07 +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 ac5b3b8455 - client: don't crash if use --detach_project option
(fixes #283)
- client: canonicalize URLs in all cmdlines
- db_update.php: don't prompt for DB name/host; get it from config file
    (fixes #356)

svn path=/trunk/boinc/; revision=13243
2007-07-31 03:25:59 +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 e39f7641b6 - fixed --help output of client and boinc_cmd
(from Frank Thomas)
    Fixes #222
    
lib/
    boinc_cmd.C
client/
    cs_cmdline.C

svn path=/trunk/boinc/; revision=12783
2007-05-30 14:40:59 +00:00
Charlie Fenton 6047425623 fix compile break
svn path=/trunk/boinc/; revision=12775
2007-05-30 09:50:54 +00:00
David Anderson 1e7e58875a - client: add cmdline options --exit_before_start and --exit_after_finish.
This cause the core client to exit immediately before or after
    running a job,
    letting you examine the contents of the slot directory.
- scheduler: changed max # of CPUs used in daily_result_quota
    limit from 4 to 8, and make it a compile-time parameter
- feeder/scheduler: make the number of work items in shared
    memory configurable (in config.xml).
    The element is <shmem_work_items>
- feeder: make the size of the work item query configurable
    (<feeder_query_size)
- feeder: remove code related to removing infeasible results
    from shared mem.
    This mechanism was never needed,
    and I think a timeout would accomplish the same effect.

client/
    app.C
    app_start.C
    client_state.C,h
    cs_cmdline.C
sched/
    feeder.C
    sched_array.C
    sched_config.C,h
    sched_send.C
    sched_shmem.C,h
    sched_util.C
    show_shmem.C

svn path=/trunk/boinc/; revision=12771
2007-05-29 21:45:01 +00:00
David Anderson 6b43ad0cbc *** empty log message ***
svn path=/trunk/boinc/; revision=12346
2007-04-11 18:05:26 +00:00
David Anderson 11869bc0be *** empty log message ***
svn path=/trunk/boinc/; revision=12333
2007-04-09 02:17:26 +00:00
David Anderson 74c120f8b3 *** empty log message ***
svn path=/trunk/boinc/; revision=12189
2007-03-05 18:34:30 +00:00
David Anderson 2b67a5e84e *** empty log message ***
svn path=/trunk/boinc/; revision=12185
2007-03-04 02:30:48 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson e66b1572ef *** empty log message ***
svn path=/trunk/boinc/; revision=12073
2007-02-12 23:53:16 +00:00
David Anderson a26b6a2215 *** empty log message ***
svn path=/trunk/boinc/; revision=11972
2007-01-25 23:39:06 +00:00
David Anderson 5ac8ba3150 *** empty log message ***
svn path=/trunk/boinc/; revision=11721
2006-12-26 00:37:25 +00:00
David Anderson b404379448 *** empty log message ***
svn path=/trunk/boinc/; revision=11658
2006-12-13 00:54:27 +00:00
David Anderson 688c78787c *** empty log message ***
svn path=/trunk/boinc/; revision=11554
2006-11-20 17:12:55 +00:00
David Anderson 6f6f62c955 *** empty log message ***
svn path=/trunk/boinc/; revision=11515
2006-11-10 17:55:22 +00:00
David Anderson b86bd36cf6 *** empty log message ***
svn path=/trunk/boinc/; revision=11082
2006-09-01 22:21:20 +00:00
David Anderson 7ce1144b73 *** empty log message ***
svn path=/trunk/boinc/; revision=11076
2006-09-01 21:06:30 +00:00
David Anderson d079ddd589 startup sequence
svn path=/trunk/boinc/; revision=11000
2006-08-24 20:33:46 +00:00
David Anderson 78e0c57adb *** empty log message ***
svn path=/trunk/boinc/; revision=10986
2006-08-23 16:43:14 +00:00
Charlie Fenton 6ecd5de4d9 *** empty log message ***
svn path=/trunk/boinc/; revision=10803
2006-08-01 12:36:19 +00:00
David Anderson 6e89135a0a -daemon option
svn path=/trunk/boinc/; revision=9239
2006-01-16 04:09:03 +00:00
David Anderson 9798e714c7 GUI RPC port specification
svn path=/trunk/boinc/; revision=9061
2005-12-13 08:04:57 +00:00
David Anderson 850587d93d code cleanup
svn path=/trunk/boinc/; revision=9039
2005-12-06 03:18:02 +00:00
David Anderson 00ccb0df61 -detach option for core client on Windows
svn path=/trunk/boinc/; revision=9016
2005-12-01 08:07:07 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 7c716dc8db attach project poll RPC
svn path=/trunk/boinc/; revision=7296
2005-08-13 03:19:22 +00:00
David Anderson 0d2a0ad9a3 *** empty log message ***
svn path=/trunk/boinc/; revision=6778
2005-07-23 08:10:39 +00:00
David Anderson 22935b4bb7 *** empty log message ***
svn path=/trunk/boinc/; revision=6393
2005-06-21 17:30:26 +00:00
David Anderson 289db963ab *** empty log message ***
svn path=/trunk/boinc/; revision=6325
2005-06-09 21:37:34 +00:00
David Anderson 7527620682 *** empty log message ***
svn path=/trunk/boinc/; revision=5899
2005-04-19 22:22:02 +00:00
David Anderson a4786e496b *** empty log message ***
svn path=/trunk/boinc/; revision=5869
2005-04-15 21:05:58 +00:00
David Anderson 383c6c699b *** empty log message ***
svn path=/trunk/boinc/; revision=5703
2005-03-23 06:26:19 +00:00
Rom Walton 625d39297f *** empty log message ***
svn path=/trunk/boinc/; revision=5583
2005-03-08 03:50:11 +00:00
Rom Walton e442d3ce7e *** empty log message ***
svn path=/trunk/boinc/; revision=5261
2005-02-01 00:54:06 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Rom Walton b4c6e76f23 *** empty log message ***
svn path=/trunk/boinc/; revision=5023
2005-01-07 20:47:40 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
Rom Walton 8c57c534da *** empty log message ***
svn path=/trunk/boinc/; revision=4532
2004-11-12 18:11:31 +00:00
David Anderson ed3659b9e2 *** empty log message ***
svn path=/trunk/boinc/; revision=4247
2004-09-26 04:16:52 +00:00
David Anderson 9135393541 *** empty log message ***
svn path=/trunk/boinc/; revision=3868
2004-07-13 18:35:47 +00:00