Commit Graph

1890 Commits

Author SHA1 Message Date
Charlie Fenton 6e0218de66 Release Mac BOINC 5.10.26
svn path=/trunk/boinc/; revision=13932
2007-10-22 23:29:17 +00:00
Rom Walton 148fc8e0b0 Quick Updates
svn path=/trunk/boinc/; revision=13929
2007-10-22 21:35:28 +00:00
David Anderson 1239291e44 - client: add <active_task_state> to <active_task> elements in state file.
These are needed by some 3rd-party software that uses
    the state file instead of GUI RPCs


svn path=/trunk/boinc/; revision=13921
2007-10-21 20:54:24 +00:00
Rom Walton 068ac0cb37 Quick Updates
svn path=/trunk/boinc/; revision=13914
2007-10-19 15:54:43 +00:00
David Anderson 094eb0095e - Bossa:
JSON-encode stuff
    use text instead of varchar(255) a couple of places
    create Bossa class for utility functions

svn path=/trunk/boinc/; revision=13908
2007-10-18 21:43:25 +00:00
Charlie Fenton ef0de723fc Release BOINC Mac 5.10.24
svn path=/trunk/boinc/; revision=13903
2007-10-18 09:02:54 +00:00
Rom Walton 2806eb14b2 Quick Updates
svn path=/trunk/boinc/; revision=13895
2007-10-18 03:33:11 +00:00
Charlie Fenton f945351d86 Release Mac version 5.10.23
svn path=/trunk/boinc/; revision=13872
2007-10-17 06:30:16 +00:00
Rom Walton 95770ed06c Quick Updates
svn path=/trunk/boinc/; revision=13865
2007-10-17 04:20:51 +00:00
David Anderson 452ae11337 - API: handle wacky values in worker_thread_ru:
- check for infinity/NaN
    - check for CPU time decreasing
    - check for CPU time increasing faster than real time
    ... and deal with each of these in a hopefully reasonable way

svn path=/trunk/boinc/; revision=13847
2007-10-12 23:12:50 +00:00
Frank Thomas 3516beb281 - Created doc/Makefile.am so that SUBDIRS in the toplevel Makefile.am only
contains direct subdirectories, otherwise automake < 1.9 fails. Thanks to
  Bernd Machenschalk for the hint.
- Made manpages in doc/Makefile a conditional subdirectory, see "7.2.2
  Conditional subdirectories with AM_CONDITIONAL" in the automake manual.
- Made manpage creation dependent on the AM_CONDITIONALs ENABLE_CLIENT,
  BUILD_CLIENTGUI and ENABLE_SERVER to create only those manpages whose
  binaries are going to be compiled.

svn path=/trunk/boinc/; revision=13842
2007-10-12 14:31:59 +00:00
Charlie Fenton f32e42e1bb Update sandbox security documentation
svn path=/trunk/boinc/; revision=13839
2007-10-12 05:11:04 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas b664b1a930 Added manpages in DocBook/XML source format and integrated them in the
autotools build process. They are compiled into troff format using
docbook2x-man if it is available on the build system.

For more information, see these posts to the boinc_dev mailing list:
http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-September/008907.html
http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008930.html


svn path=/trunk/boinc/; revision=13787
2007-10-07 10:14:58 +00:00
David Anderson bb5f54d31f - feeder/scheduler: fix bug where APP.homogeneous_redundancy
is defined as a bool instead of int
    (see its only nonzero value is 1, so the "coarse" HR type is ignored).

svn path=/trunk/boinc/; revision=13786
2007-10-05 22:32:47 +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 0f1461695c svn path=/trunk/boinc/; revision=13776 2007-10-04 17:51:23 +00:00
Rom Walton 92d813ecb4 Quick Updates
svn path=/trunk/boinc/; revision=13751
2007-10-02 16:40:45 +00:00
Charlie Fenton 8dc93dd1be Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13741
2007-10-02 10:34:48 +00:00
Charlie Fenton 6945780a32 Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13740
2007-10-02 10:33:30 +00:00
Charlie Fenton 34cb7c9988 Release Mac version 5.10.21
svn path=/trunk/boinc/; revision=13738
2007-10-02 10:24:56 +00:00
Rom Walton b3c989b743 Quick Updates
svn path=/trunk/boinc/; revision=13733
2007-10-02 05:13:00 +00:00
David Anderson 2272891035 - user web: add "team search" page, which does a multi-criteria
search (keywords, country, type).
    Have the new-user scenario route the user through this page.
    Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
    and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
    Just take them to their user page.

svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
David Anderson a1590ff580 - scheduler: <max_wus_in_progress> option wasn't working,
because the reply.req structure was getting zeroed
    AFTER nresults_on_host was being set.


svn path=/trunk/boinc/; revision=13712
2007-09-28 18:27:02 +00:00
David Anderson aadcc979cd - client: first pass at fixing a fundamental design flaw:
there's a single GUI_HTTP object,
    and it works only if used sequentially,
    i.e. an op is started only after the previous one ends.
    This breaks if a GUI RPC triggerse and op while
    a project-list fetch (initiated by the client itself) is in progress.
    Or if two managers are connected at the same time,
    and both do HTTP ops.
    The solution: have a separate GUI_HTTP object for each GUI_RPC_CONN,
    and an additional one for use by the client itself.

svn path=/trunk/boinc/; revision=13692
2007-09-27 21:03:15 +00:00
David Anderson 843277ffce removed a lot of doc files
svn path=/trunk/boinc/; revision=13687
2007-09-27 17:23:21 +00:00
David Anderson 0a48da269d - API: initialize backwards_compatible_graphics to true.
NOTE: as of this checkin, applications built with the API
code in the trunk are assumed to do V6-type graphics.
If your app doesn't, then you must set
backwards_compatible_graphics to false
(and use boinc_init_graphics_options())


svn path=/trunk/boinc/; revision=13675
2007-09-26 17:06:50 +00:00
David Anderson 0248d4e016 - stripcharts: fix typo that could cause disk to fill up!
(from Nicolas Maire)

svn path=/trunk/boinc/; revision=13660
2007-09-25 21:51:35 +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 513fa98c55 - user web: add links to BOINC-wide team sites
and www.boincteams.com from Team management page
- client: change error strings from, e.g.,
    "system chown" to "chown() failed"

svn path=/trunk/boinc/; revision=13644
2007-09-24 20:13:38 +00:00
David Anderson bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +00:00
Charlie Fenton 1c3c99d733 Explain reason we prevent unauthorized users to access switcher directory
svn path=/trunk/boinc/; revision=13599
2007-09-18 13:35:48 +00:00
David Anderson 6a334e5ab4 add logos
svn path=/trunk/boinc/; revision=13595
2007-09-17 16:19:58 +00:00
David Anderson 3204081982 - API: embed the string API_VERSION_N.N.N in libboinc.a
(for v6)
- client: performance tweak for CPU sched
- client: fix /proc/cpuinfo parsing for linux 2.6.23, powerPC
    fixes #410


svn path=/trunk/boinc/; revision=13593
2007-09-17 14:03:44 +00:00
David Anderson b92f1b81ce - client: CPU scheduler: if a project has 2 jobs with same deadline,
give preference to jobs already started


svn path=/trunk/boinc/; revision=13575
2007-09-12 12:13:33 +00:00
Bruce Allen c295a0a4b6 typo fix
svn path=/trunk/boinc/; revision=13561
2007-09-10 13:54:17 +00:00
Bruce Allen 03dfc4b93e (obsolete doc files) fix typo in upload.php
svn path=/trunk/boinc/; revision=13560
2007-09-10 13:49:32 +00:00
David Anderson 0505c15ec8 - boinc_cmd: improve output of --help
- scheduler: remove giant log output when use <workload_sim>
- db_purge: fix crash if nothing logged

svn path=/trunk/boinc/; revision=13556
2007-09-08 21:34:20 +00:00
Rom Walton 13b65a463a Quick Updates
svn path=/trunk/boinc/; revision=13529
2007-09-03 12:35:07 +00:00
David Anderson 00e3ddad69 - client: zero out xfer_speed in HTTP_OP constructor
(may fix problem w/ #INF bandwidth display)

svn path=/trunk/boinc/; revision=13517
2007-09-02 19:39:21 +00:00
Rom Walton c2257ad3ae Quick Updates
svn path=/trunk/boinc/; revision=13449
2007-08-24 03:26:24 +00:00
Charlie Fenton b41f821f15 Release Mac BOINC 5.10.20
svn path=/trunk/boinc/; revision=13447
2007-08-23 22:25:25 +00:00
Charlie Fenton 1a5efe81a3 Release BOINC 5.10.19 for Mac and Windows
svn path=/trunk/boinc/; revision=13439
2007-08-22 08:41:23 +00:00
David Anderson c99833a7c9 - scheduler: don't show resource share in msgs in cases where
it's not used.
- db_purge: add "no_archive" option

svn path=/trunk/boinc/; revision=13430
2007-08-21 20:07:50 +00:00
Charlie Fenton 539aa0f1e8 Release Mac version 5.10.18
svn path=/trunk/boinc/; revision=13316
2007-08-14 10:47:43 +00:00
David Anderson 2cd158a358 - client: timezone reflects daylight savings time (Win)
from David Barnard; fixes #334
- GUI RPC: add <success/> replies for ops that don't return anything
- GUI RPC: check args for project_attach
- GUI RPC: return error (not blank) if no prefs override file
- add error string for ERR_TOO_MANY_EXITS

svn path=/trunk/boinc/; revision=13293
2007-08-10 16:02:09 +00:00
Rom Walton 24f3a7d3a1 Quick Updates
svn path=/trunk/boinc/; revision=13276
2007-08-09 03:44:00 +00:00
Charlie Fenton c664bd6b7d Release Mac BOINC 5.10.17
svn path=/trunk/boinc/; revision=13247
2007-07-31 04:16:33 +00:00
Rom Walton 14933d01f6 Quick Updates
svn path=/trunk/boinc/; revision=13240
2007-07-30 16:38:30 +00:00
Rom Walton f01f2f2cdb Quick Updates
svn path=/trunk/boinc/; revision=13236
2007-07-28 05:00:37 +00:00
Charlie Fenton bd51a1f9f2 Release Mac BOINC 5.10.16
svn path=/trunk/boinc/; revision=13234
2007-07-27 23:12:03 +00:00
David Anderson 14bc500cab - user web: added mechanism for recording team membership changes.
These are stored in a new DB table, "team_delta".
    The team founder can view the history in HTML or XML
    (links on Management Functions page)

svn path=/trunk/boinc/; revision=13231
2007-07-27 18:30:10 +00:00
Rom Walton 593457f733 Quick Updates
svn path=/trunk/boinc/; revision=13227
2007-07-27 04:50:46 +00:00
David Anderson 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
Charlie Fenton 08dceed5ad withdraw BOINC Mac 5.10.14 due to serious bug
svn path=/trunk/boinc/; revision=13222
2007-07-26 08:36:12 +00:00
Charlie Fenton aa949ba461 withdraw BOINC Mac 5.10.14 due to serious bug
svn path=/trunk/boinc/; revision=13221
2007-07-26 08:34:24 +00:00
Charlie Fenton f1b7b6f33f Release Mac BOINC 5.10.14 to alpha
svn path=/trunk/boinc/; revision=13219
2007-07-26 00:13:35 +00:00
David Anderson 3990e817e3 - add support for "BOINC teams" (to be explained later)
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +00:00
Rom Walton 5b7095b97e Quick Updates
svn path=/trunk/boinc/; revision=13217
2007-07-25 15:50:52 +00:00
David Anderson ef247eed41 - user web: moved functions to send specific messages out of email.inc
- user web: code cleanup involving team founder transfer,
    and improved the text of some messages

svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
David Anderson aefd2d4c88 - client: add mechanism to abort results if they get > 100
"premature exits" (exit(0) without finish file) between checkpoints


svn path=/trunk/boinc/; revision=13207
2007-07-20 23:42:20 +00:00
David Anderson c38c8fc4df - sample app: adapt the one from boinc_samples
svn path=/trunk/boinc/; revision=13199
2007-07-20 18:47:52 +00:00
Rom Walton 207d6ced68 Quick Updates
svn path=/trunk/boinc/; revision=13197
2007-07-20 16:16:08 +00:00
David Anderson 391ea79384 - back out my last change
svn path=/trunk/boinc/; revision=13185
2007-07-18 23:26:49 +00:00
David Anderson 2d74b133a1 - scheduler: move startup checks (stop_sched, shmem) inside FCGI loop.
Hopefully this will make it feasible to run scheduler
    even when project is down.
- lib: fix cygwin build error

svn path=/trunk/boinc/; revision=13172
2007-07-17 20:34:37 +00:00
David Anderson 79adf59f98 - client: if can't write state file, don't immediately exit,
but don't do anything other than handle GUI RPCs.
    After 50 secs, print an "about to exit" message.
    After 60 seconds, exit

svn path=/trunk/boinc/; revision=13162
2007-07-16 20:30:21 +00:00
David Anderson 6285969149 - client: if CA bundle file isn't in BOINC directory,
don't tell Curl to look for it there.
        It might be in the default place where Curl looks.

svn path=/trunk/boinc/; revision=13150
2007-07-13 17:25:47 +00:00
David Anderson a574d16ccd - client simulator: add --line_limit option;
splits up HTML output into multiple fixed-size files

svn path=/trunk/boinc/; revision=13147
2007-07-12 18:38:53 +00:00
David Anderson 4760e6d960 - client simulator: added '--work_fetch_old' option.
If set, the simulator uses an approximation of the old
    work fetch policy, where the client tries to maintain
    an amount of work for each project equal to
    the buffer size times its relative resource share

svn path=/trunk/boinc/; revision=13144
2007-07-11 20:13:53 +00:00
David Anderson bda30b3065 - added a stats site
- added return value for copy_stream()

svn path=/trunk/boinc/; revision=13133
2007-07-10 23:42:05 +00:00
David Anderson b9d7ecdc1a - client: run_if_user_active pref applies to both
network transfers and CPU usage.
    (Note: maybe we should have a separate pref for this).

svn path=/trunk/boinc/; revision=13131
2007-07-10 17:49:51 +00:00
David Anderson d07916ca51 - client: change order so that backoff because of no work
happens before server-requested backoff (eliminate double messages)

svn path=/trunk/boinc/; revision=13114
2007-07-06 21:58:32 +00:00
David Anderson 26a1c63b20 - feeder: add debugging feature:
if you send it a USR1 signal, it writes a summary
    of the shmem contents and HR state to the log file

svn path=/trunk/boinc/; revision=13107
2007-07-05 23:06:18 +00:00
Rom Walton 36a85ccc2a Quick Updates
svn path=/trunk/boinc/; revision=13105
2007-07-05 15:10:30 +00:00
David Anderson 0bbe224c21 - scheduler: the "max_wus_in_progress" option only worked if
"resend_lost_results" option was used also
    (because the count of in-progress results was
    based from the DB query used by resend_lost_results).

    Fix: initialize the count of in-progress results to
    the list provided in the scheduler request.
- scheduler: add "--mark_jobs_done" flag; if set, all jobs
    sent are marked as done, and their WUs enabled for transition.
    This is used for simulation purposes,
    in conjunction with sched_driver.
- scheduler: if --batch option is set, don't check RPC seqnos
    (for simulation purposes)

svn path=/trunk/boinc/; revision=13101
2007-07-05 04:18:48 +00:00
David Anderson 7c7fbf250d - client: add <simple_gui_only> config flag
- GUI RPC: add disallow_attach and simple_gui_only flags
    to CC_STATUS structure

client/
    gui_rpc_server_ops.C
    log_flags.C,h
html/inc/
    stats_sites.inc
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=13084
2007-07-02 20:55:21 +00:00
Rom Walton 99bab6362c Quick Updates
svn path=/trunk/boinc/; revision=13081
2007-07-02 19:29:16 +00:00
Rom Walton 582aacec2d Quick Updates
svn path=/trunk/boinc/; revision=13070
2007-07-02 13:49:16 +00:00
Charlie Fenton 271f302468 Release Mac BOINC 5.10.10
svn path=/trunk/boinc/; revision=13058
2007-06-30 06:04:57 +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
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
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 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
Rom Walton 8a0d5fa6c6 Quick Updates
svn path=/trunk/boinc/; revision=13010
2007-06-24 22:00:59 +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
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 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
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 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
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
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
Charlie Fenton 0bca6eb680 Release BOINC Mac 5.10.7
svn path=/trunk/boinc/; revision=12949
2007-06-17 01:22:31 +00:00
Rom Walton b4e68e82c9 Quick Updates
svn path=/trunk/boinc/; revision=12946
2007-06-16 20:43:02 +00:00
David Anderson fcab43c4da - scheduler: support per-app HR type, specified in the DB;
this supercedes the global HR type specified in config.xml
- API: eliminate small memory leak
    (if reread app init file, free malloc'd project prefs from last time)
- file upload handler: parse <md5_cksum> to avoid error msg

lib/
    app_ipc.C
sched/
    file_upload_handler.C
    sched_array.C
    sched_hr.C,h
    sched_send.C,h

svn path=/trunk/boinc/; revision=12936
2007-06-14 18:02:00 +00:00
Charlie Fenton bdb04c4e72 Release Mac BOINC 5.10.6
svn path=/trunk/boinc/; revision=12933
2007-06-14 00:43:39 +00:00
Rom Walton 5995761104 Quick Updates
svn path=/trunk/boinc/; revision=12932
2007-06-13 21:22:56 +00:00
David Anderson 46f999f0ba - Added project.xml entry for Playstation 3 / Linux
- Server status page: if the scheduler isn't running,
    it's almost certainly because "stop_sched" is present,
    not because Apache isn't running.
    Get rid of the use of "sched_pid".
    
tools/
    project.xml
html/ops/
    sample_server_status.php

svn path=/trunk/boinc/; revision=12931
2007-06-13 21:16:27 +00:00
David Anderson 53c7492299 - parse_str(): remove unnecessary checks
- client: allow app_info.xml to have multiple versions

lib/
    parse.C
client/
    client_state.C
    scheduler_op.C

svn path=/trunk/boinc/; revision=12930
2007-06-13 19:54:24 +00:00
David Anderson 05226427dd - API: set timer thread stack size to 16KB
- Scheduler: for no_amd_k6 option, check CPU vendor as well as model

sched/
    handle_request.C
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=12929
2007-06-13 19:09:46 +00:00
Rom Walton be77b7f3d3 Quick Updates
svn path=/trunk/boinc/; revision=12924
2007-06-13 13:46:14 +00:00
David Anderson f8af50e685 - client: fetch all-projects list at startup if it doesn't exist
- client: if result in statefile is labeled with unsupported platform,
    set its platform to primary
    (this completes the fix of 11 June, hopefully fixes #262)

client/
    client_state.C
    cs_statefile.C

svn path=/trunk/boinc/; revision=12907
2007-06-12 16:15:53 +00:00
Charlie Fenton 45d69751f1 Release Mac BOINC 5.10.5
svn path=/trunk/boinc/; revision=12903
2007-06-12 10:25:35 +00:00
Rom Walton 17d8136e5c Quick Updates
svn path=/trunk/boinc/; revision=12900
2007-06-12 03:47:08 +00:00
David Anderson e8d8a28e63 - client: enforce_schedule(): if try to preempt a
process that's not running, at least mark it as preempted.
    (this should never happen in principle)
- API: compile fix for Mac

api/
    graphics2_unix.C
client/
    cpu_sched.C

svn path=/trunk/boinc/; revision=12895
2007-06-11 21:56:56 +00:00
Charlie Fenton bd9fe90e75 Release Mac BOINC 5.10.4
svn path=/trunk/boinc/; revision=12880
2007-06-10 09:17:59 +00:00
Rom Walton 9340500f45 Quick Updates
svn path=/trunk/boinc/; revision=12879
2007-06-09 23:55:46 +00:00
Charlie Fenton 7e4240f179 Release Mac BOINC 5.10.3
svn path=/trunk/boinc/; revision=12872
2007-06-09 11:48:56 +00:00
Rom Walton 8e1b87f097 Quick Updates
svn path=/trunk/boinc/; revision=12863
2007-06-08 23:36:34 +00:00
Charlie Fenton 910436c1e7 svn path=/trunk/boinc/; revision=12858 2007-06-08 12:00:47 +00:00
Charlie Fenton 9fe5af2c17 Release BOINC Mac 5.10.2
svn path=/trunk/boinc/; revision=12829
2007-06-06 01:08:47 +00:00
Charlie Fenton aadfd852ad Release Mac BOINC 5.10.2
svn path=/trunk/boinc/; revision=12828
2007-06-06 01:05:37 +00:00
Rom Walton 7abcdcba97 Quick Updates
svn path=/trunk/boinc/; revision=12826
2007-06-05 21:32:59 +00:00
Charlie Fenton b4f116bbd1 Release Mac BOINC 5.10.1
svn path=/trunk/boinc/; revision=12822
2007-06-05 08:43:03 +00:00
Rom Walton 11a7c39d90 svn path=/trunk/boinc/; revision=12821 2007-06-05 03:57:34 +00:00
David Anderson 601403d9aa - Client (Unix) show process exit codes as negative numbers also
(e.g., to show BOINC error codes correctly)
- get_project_config.php: add an element that lists the
    platforms supported by this project
    (i.e. for which there's a non-deprecated app version)
    Cache this info in a file (cache/platform_list.xml)
    so that it will be available even when the project's DB is down.
- Rename sample_get_project_config.php to get_project_config.php;
    a project should no longer need its own version of this file.
    Change setup_project accordingly.

client/
    app_control.C
html/user/
    get_project_config.php (new)
    sample_get_project_config.php (removed)
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12814
2007-06-04 20:32:47 +00:00
David Anderson 610d4cfa77 - client: allow suspension of non-CPU-intensive project or app
(undoes checkin of 25 Jan 2005; I don't remember why we
    made that change.  Next time put in checkin notes!)
- client: Linux: show error msg if can't open /proc/cpuinfo
    or /proc/meminfo; set memory size of 1 GB in latter case.
    Remove duplicate code that read /proc/meminfo
- 'start' script; handle <disabled>0</disable> in tasks and daemon
    elements of config.xml (can't handle <disable/>, however).
    
client/
    gui_rpc_server_ops.C
    hostinfo_unix.C
sched/
    feeder.C
    start

svn path=/trunk/boinc/; revision=12807
2007-06-03 19:37:45 +00:00
Rom Walton acf10435c9 Quick Updates
svn path=/trunk/boinc/; revision=12801
2007-06-01 17:50:10 +00:00
David Anderson 2fa5db2775 - scheduler: move HR check to wu_is_infeasible()
In principle, a project can now use both
    locality scheduling and homogeneous redundancy.
- scheduler: do HR check before deadline check,
    since the latter is slower.
- scheduler: wu_is_infeasible() doesn't return a bitmap.
    Change its return values to sequential numbers.
- scheduler: ignore <accelerator> and <p_capabilities> tags

sched/
    sched_send.C,h
    sched_array.C
    sched_locality.C
    server_types.C

svn path=/trunk/boinc/; revision=12791
2007-05-31 18:14:45 +00:00
Charlie Fenton 7b8173fa24 svn path=/trunk/boinc/; revision=12780 2007-05-30 10:01:34 +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
Rom Walton e11e1e8477 release to test
svn path=/trunk/boinc/; revision=12770
2007-05-29 19:18:22 +00:00
Rytis Slatkevičius 38d32bba97 Attempt to fix Bulgarian link in BOINC front page
svn path=/trunk/boinc/; revision=12741
2007-05-24 09:32:09 +00:00
Charlie Fenton 06c5aef46f Release Mac 5.9.12
svn path=/trunk/boinc/; revision=12740
2007-05-24 01:14:16 +00:00
Rom Walton 076505fd1c svn path=/trunk/boinc/; revision=12730 2007-05-23 16:53:08 +00:00
David Anderson fe68a746fd - scheduler: fix FCGI compile
- API: add files for version 6 graphics

api/
    Makefile.am
    graphics2.C (new)
    graphics2_unix.C (new)
    graphics2_win.C (new)
sched/
    Makefile.am

svn path=/trunk/boinc/; revision=12714
2007-05-22 20:12:45 +00:00
David Anderson 087aa84915 - scheduler: fix bug that caused crash in anonymous platform case;
don't send result platform or version num if anon platform.
- back end: parse server status-related config elements
    (wwww_host etc.) to avoid XML warnings

sched/
    sched_config.C
    sched_send.C
    server_types.C

svn path=/trunk/boinc/; revision=12701
2007-05-21 14:49:00 +00:00
Rom Walton 7f65b62bba svn path=/trunk/boinc/; revision=12693 2007-05-18 18:01:42 +00:00
Rom Walton 83ca42bb8f update versions
svn path=/trunk/boinc/; revision=12692
2007-05-18 16:54:39 +00:00
Charlie Fenton b5d7063015 Release Mac 5.9.11
svn path=/trunk/boinc/; revision=12684
2007-05-18 02:34:28 +00:00
Rom Walton 4dabd396d7 release x64 version for Linux
svn path=/trunk/boinc/; revision=12683
2007-05-17 17:39:31 +00:00
Rom Walton 35a04e3eee svn path=/trunk/boinc/; revision=12679 2007-05-16 16:11:30 +00:00
David Anderson d1f6a8ea0d added sim_form.php
svn path=/trunk/boinc/; revision=12672
2007-05-15 20:47:42 +00:00
David Anderson f7e650191a - client: change Win program launch to suppress hourglass cursor
- client simulator: add --cpu_sched_rr_only and --dual_dcf options

client/
    app.h
    app_start.C
    client_types.C,h
    cpu_sched.C
    cs_scheduler.C
    sim.C,h
    work_fetch.C

svn path=/trunk/boinc/; revision=12671
2007-05-15 20:29:26 +00:00
David Anderson 91a5a79c59 - boinc_cmd: add --network_available and --get_cc_status options
lib/
    boinc_cmd.C

svn path=/trunk/boinc/; revision=12642
2007-05-11 00:42:13 +00:00
David Anderson a3c22a1bf7 - client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
- client: with anonymous platform, don't link app version twice

client/
    client_types.h
    client_state.C
    cs_apps.C
    cs_files.C
    cs_prefs.C
    cs_scheduler.C
    cs_statefile.C
    sim_util.C
html/
    uotd.inc
sched/
    edf_sim.h
    server_types.h

svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
David Anderson 0357fbf1f2 added addon_item.php
svn path=/trunk/boinc/; revision=12630
2007-05-09 15:51:21 +00:00
Charlie Fenton fb348ff6df Mac: Release version 5.9.10
svn path=/trunk/boinc/; revision=12618
2007-05-09 06:36:57 +00:00
David Anderson c08eddf7fe - GUI RPC: add new element d_boinc to DISK_USAGE;
tells how much disk space BOINC is using
        (not including projects).
    - added project.max_infeasible_count to client simulator

    client/
        gui_rpc_server_ops.C
        sim.C,h
        sim_util.C
    clientgui/
        ViewResources.cpp
    lib/
        filesys.C
        bui_rpc_client.h
        bui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12615
2007-05-08 23:12:40 +00:00
Rom Walton 021450296e svn path=/trunk/boinc/; revision=12613 2007-05-08 15:33:41 +00:00
Rom Walton ad12c3362d svn path=/trunk/boinc/; revision=12596 2007-05-07 16:03:08 +00:00
Charlie Fenton a8ec967510 Bump version to 5.9.9 for release with multi-platform fix.
svn path=/trunk/boinc/; revision=12584
2007-05-07 09:40:07 +00:00
David Anderson 7207c6ef39 - make_project: create <log_dir> element in config.xml
(so that show_logs.php will work).
        Fixes #170
        
    py/Boinc/
        setup_project.py

svn path=/trunk/boinc/; revision=12582
2007-05-07 02:10:31 +00:00
Rom Walton fa43fc291e svn path=/trunk/boinc/; revision=12573 2007-05-05 21:13:01 +00:00
Charlie Fenton 659b23f37d Bump version to 5.9.8 for release with multi-platform fix.
svn path=/trunk/boinc/; revision=12570
2007-05-05 10:45:34 +00:00
Charlie Fenton 9f4a0fa222 svn path=/trunk/boinc/; revision=12567 2007-05-05 01:32:57 +00:00
David Anderson dd797bc843 - API: if using graphics, set worker thread stack size limit to max
(from Rosetta@home)
    
    api/
        graphics_impl.C

svn path=/trunk/boinc/; revision=12562
2007-05-04 20:06:00 +00:00
Rom Walton 775e7cd67a svn path=/trunk/boinc/; revision=12559 2007-05-04 18:48:05 +00:00
David Anderson 7619242655 - Core client: small changes to make the client simulator act reasonably.
- change > to >= for check for running beyond sched period
        - adjust debts before calculating anticipated debt
    
    client/
        client_types.h
        cpu_sched.C
        sim.C

svn path=/trunk/boinc/; revision=12546
2007-05-03 21:22:24 +00:00
Charlie Fenton 2fcdb66b53 svn path=/trunk/boinc/; revision=12530 2007-05-02 10:34:10 +00:00
Walt Gribben bc19d4e406 Release Linux 5.9.5 version
svn path=/trunk/boinc/; revision=12522
2007-05-02 01:16:55 +00:00
David Anderson c72634456d - make_project and upgrade now write a file 'local.revision'
in the project home directory.
        It contains the output of /usr/bin/svnversion,
        i.e. the code revision from which the server software was built.
    - Web files that create directories now give them g+rwx permissions

    html/inc/
        cache.inc
        translation.inc
    sched/
        edf_sim.C
    tools/
        make_project
        upgrade

svn path=/trunk/boinc/; revision=12521
2007-05-01 21:21:13 +00:00
Charlie Fenton 0e5324a9cf Release Mac 5.9.5
svn path=/trunk/boinc/; revision=12518
2007-05-01 01:33:06 +00:00
Charlie Fenton 08faee00ab svn path=/trunk/boinc/; revision=12517 2007-05-01 01:19:09 +00:00
David Anderson 2e7b82b631 - scheduler: added (correct this time!) support for
<alt_platform> tags in scheduler requests.
    - file_deleter: add check for -dont_delete_batches 

    sched/
        file_deleter.C
        handle_request.C
        sched_array.C,h
        sched_locality.C,h
        sched_resend.C,h
        sched_send.C,h
        server_types.h

svn path=/trunk/boinc/; revision=12512
2007-04-30 21:19:24 +00:00
Rom Walton 9b8a9d8173 Update Setup packages and versions.inc
svn path=/trunk/boinc/; revision=12510
2007-04-30 18:21:49 +00:00
David Anderson e4f26ad2c4 - UOTD code: don't generate a static page; add uotd.php
html/
        ops/
            update_uotd.php
        inc/
            uotd.inc
        user/
            uotd.php (new)

svn path=/trunk/boinc/; revision=12505
2007-04-30 15:29:14 +00:00
David Anderson 6a5ea54a11 svn path=/trunk/boinc/; revision=12504 2007-04-30 03:32:59 +00:00
David Anderson f0959b8214 svn path=/trunk/boinc/; revision=12503 2007-04-30 03:31:52 +00:00
David Anderson 05f75ce42c svn path=/trunk/boinc/; revision=12502 2007-04-30 02:48:02 +00:00
David Anderson e4bd252008 wrapper picture
svn path=/trunk/boinc/; revision=12496
2007-04-28 19:15:00 +00:00
Charlie Fenton 813f341008 svn path=/trunk/boinc/; revision=12495 2007-04-27 23:12:34 +00:00
David Anderson f42e2ee623 - Major rewrite of email-sending programs.
Instead of editing their source (ugh!)
        you can now use command-line args to get testing functionality.
        
    html/ops/
        remind.php
        mass_email_script.php

svn path=/trunk/boinc/; revision=12494
2007-04-27 23:05:48 +00:00
David Anderson 3c9f9102e6 David 27 Apr 2007
- bug in language_select.php made 'auto' not work,
        i.e. its impossible to return to browser settings
        after doing a cookie-based language choice
    - translation.inc and language_select.php were using $HTTP_SERVER_VARS,
        which appears to be deprecated in PHP 5.
        Use $_SERVER instead.
    - made strings at top of web site translatable

    html/
        inc/
            translation.inc
        user/
            language_select.php
    languages/translations/
        en.po

svn path=/trunk/boinc/; revision=12493
2007-04-27 16:27:12 +00:00
Charlie Fenton 97dc721d62 svn path=/trunk/boinc/; revision=12492 2007-04-27 11:47:46 +00:00
Charlie Fenton c7bfec5118 svn path=/trunk/boinc/; revision=12491 2007-04-27 11:24:07 +00:00
David Anderson b5b155e557 David 26 Apr 2007
- server: fix bug that causes PHP scripts not to run from Cron
        Fixes #129.  From Christian Beer.

    html/ops/
        update_profile_pages.php
    tools/
        run_in_ops

svn path=/trunk/boinc/; revision=12488
2007-04-26 20:24:47 +00:00
David Anderson 4cb19153f0 delete dev_flow.odg
svn path=/trunk/boinc/; revision=12479
2007-04-25 20:36:26 +00:00
David Anderson 5502169153 svn path=/trunk/boinc/; revision=12476 2007-04-25 19:10:10 +00:00
David Anderson 8a6c71b47a Update binary image.
svn path=/trunk/boinc/; revision=12473
2007-04-25 16:49:26 +00:00
Rom Walton 7005ef3d08 Convert to binary.
svn path=/trunk/boinc/; revision=12472
2007-04-25 16:44:49 +00:00
David Anderson 5b02dcc24a Update binary image.
svn path=/trunk/boinc/; revision=12471
2007-04-25 16:35:06 +00:00
Rom Walton 052be4f0e8 Convert to binary.
svn path=/trunk/boinc/; revision=12470
2007-04-25 16:28:36 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
Walt Gribben ffeb6811a0 New Linux Development Release
svn path=/trunk/boinc/; revision=12460
2007-04-24 02:10:24 +00:00
Rom Walton 86ca5333be Fix Linux download issues.
svn path=/trunk/boinc/; revision=12455
2007-04-23 22:17:55 +00:00
David Anderson fe32380dcf David 23 Apr 2007
- make_project: remove --no_test_app option, add --test_app option
    - make_project: initial config in all cases has
        one_result_per_user_per_wu = 0
    - sample_assimilator: make it able to handle > 1 output file
    - boinc_cmd: make --help output more readable
    - User web: fix some undefined vars in translation.inc
        Rytis: let's try to fix PHP runtime warnings
    - DB: add default values for app table (avoid MySQL warnings)

    db/
        schema.sql
    html/
        inc/
            translation.inc
            uotd.inc
        ops/
            update_forum_activities.php
    lib/
        str_util.C
        boinc_cmd.C
    py/Boinc/
        setup_project.py
    sched/
        sample_work_generator.C
        sample_assimilator.C
    tools/
        make_project
        uc_wu, uc_result (new)

svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
Rom Walton 6dac970e5b Update version list.
svn path=/trunk/boinc/; revision=12432
2007-04-20 18:47:55 +00:00
David Anderson 1880a50cc5 David 19 Apr 2007
- Change things so that make_project installs a test application
        (uppercase) and the daemons to go along with it
        (sample_work_generator, sample_bitwise_validator, sample_assimilator).
        This is mostly working, not completely.

    apps
        upper_case.C
    html/ops/
        mass_email_script.php
    py/Boinc/
        setup_project.py
    sched/
        sched_config.C,h
        sample_work_generator.C
    tools/
        make_project
        project.xml
        Makefile.am

svn path=/trunk/boinc/; revision=12422
2007-04-19 22:11:25 +00:00
David Anderson 1ea3bb781e David 18 Apr 2007
- bug fixes for sample work generator

    sched/
        sched_config.C,h
        sample_work_generator.C


svn path=/trunk/boinc/; revision=12417
2007-04-19 03:12:13 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson 985a39c99f svn path=/trunk/boinc/; revision=12409 2007-04-17 23:08:24 +00:00
David Anderson 3f915e647f svn path=/trunk/boinc/; revision=12407 2007-04-17 22:24:53 +00:00
David Anderson f3f11e7b81 svn path=/trunk/boinc/; revision=12403 2007-04-17 18:55:20 +00:00
David Anderson 564504eff6 svn path=/trunk/boinc/; revision=12402 2007-04-17 17:12:44 +00:00
David Anderson 66071c9de1 svn path=/trunk/boinc/; revision=12373 2007-04-16 22:22:15 +00:00
David Anderson 8f8b9cc4b7 svn path=/trunk/boinc/; revision=12372 2007-04-16 22:01:52 +00:00
David Anderson bc98f0e90c *** empty log message ***
svn path=/trunk/boinc/; revision=12367
2007-04-13 22:55:18 +00:00
David Anderson e6f9499b02 *** empty log message ***
svn path=/trunk/boinc/; revision=12361
2007-04-13 04:22:20 +00:00
David Anderson 49afbfe4e3 *** empty log message ***
svn path=/trunk/boinc/; revision=12348
2007-04-11 22:46:42 +00:00
David Anderson 6b43ad0cbc *** empty log message ***
svn path=/trunk/boinc/; revision=12346
2007-04-11 18:05:26 +00:00
David Anderson da318cafbf *** empty log message ***
svn path=/trunk/boinc/; revision=12328
2007-04-06 19:47:37 +00:00
David Anderson 633d5a6bef *** empty log message ***
svn path=/trunk/boinc/; revision=12325
2007-04-06 00:37:07 +00:00
David Anderson 1411e4c003 *** empty log message ***
svn path=/trunk/boinc/; revision=12324
2007-04-05 23:15:20 +00:00