Commit Graph

1746 Commits

Author SHA1 Message Date
Rom Walton 2697e32399 Quick Updates
svn path=/trunk/boinc/; revision=13994
2007-10-30 15:02:53 +00:00
Rom Walton 3ea5c7651c Quick Updates
svn path=/trunk/boinc/; revision=13989
2007-10-29 19:35:48 +00:00
David Anderson dc4ca1e5cd - user web: changes to use new DB framework and eliminate PHP warnings
svn path=/trunk/boinc/; revision=13981
2007-10-28 15:03:14 +00:00
Charlie Fenton 8da306d4d8 Release BOINC Mac 5.10.27
svn path=/trunk/boinc/; revision=13957
2007-10-24 23:56:11 +00:00
Rom Walton 930c8ad9c7 Quick Updates
svn path=/trunk/boinc/; revision=13952
2007-10-24 20:54:11 +00:00
David Anderson 618a5c1651 - assimilator: there was a bug in the situation where:
1) a WU is marked as ready for assimilation and has no errors;
    2) it has no canonical result
    In this case, the assimilate handler gets called anyway,
    typically with the canonical result of the previous WU as arg.
    Note: this situation doesn't arise normally;
    it might happen if some results are deleted accidentally.
    The fix: 
    - identify this situation, and set the WU.error_mask to a new code
        (WU_ERROR_NO_CANONICAL_RESULT)
    - zero out the "canonical_result" variable passed to the handler,
        so even if the handler fails to check wu.error_mask,
        at least it won't assimilate the same result twice.
    Thanks to Hendrik Verhoek for finding this bug.
- DB schema: team table type is MyISAM, not InnoDB

svn path=/trunk/boinc/; revision=13938
2007-10-23 17:11:56 +00:00
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