Commit Graph

603 Commits

Author SHA1 Message Date
David Anderson 86857a5452 - Scheduler: fix bugs in work assignment feature
svn path=/trunk/boinc/; revision=14810
2008-02-27 22:26:37 +00:00
David Anderson b6cc885abf - server: make the special substring for assigned WUs
into a #define's symbol (ASSIGNED_WU_STR)
- scheduler: when send client command to abort a WU,
    include a reason code in the scheduler log

svn path=/trunk/boinc/; revision=14798
2008-02-26 17:24:29 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
David Anderson 69cfcebef4 - file upload handler: the FCGI version wasn't handling signatures,
because the code to read keys in FCGI was commented out
    (and was in fact wrong).
    I fixed it and uncommented it.
- make_project and upgrade: copy lib/crypt_prog to project/bin/

svn path=/trunk/boinc/; revision=14693
2008-02-06 19:32:51 +00:00
David Anderson a1664cc070 - scheduler: simplified Carl's checkin (avoid virtual destructors)
- API: small tweak for standalone

svn path=/trunk/boinc/; revision=14679
2008-02-05 21:26:43 +00:00
David Anderson 94fdec8b70 - scheduler: send log messages to file, rather than httpd error log,
when using FCGI (from Carl Christensen)

svn path=/trunk/boinc/; revision=14678
2008-02-05 20:16:57 +00:00
David Anderson daac96c05f - create_work: added -opaque option (to specify workunit.opaque)
svn path=/trunk/boinc/; revision=14605
2008-01-21 14:02:22 +00:00
David Anderson 5104b76439 - XML fix in backend lib
svn path=/trunk/boinc/; revision=14482
2008-01-07 22:04:54 +00:00
David Anderson 757c41b1fa - web: add RSS feed for notifications
- make_project: disable community-related periodic tasks
    for newly-created projects

svn path=/trunk/boinc/; revision=14468
2008-01-04 22:59:21 +00:00
David Anderson 57f0bbc6e5 - make_project: prepend "./" to config.xml script names in case "." is not
in Apache's search path
- web: show UOTD text correctly
- web: memoize profile_screening() in attempt to fix out-of-memory error
    when building profile pages on S@h
- web: move gallery.inc into update_profile_pages and remove it

svn path=/trunk/boinc/; revision=14460
2008-01-03 17:24:28 +00:00
David Anderson dddd1fc501 - fixed bug in upgrade
svn path=/trunk/boinc/; revision=14451
2008-01-01 18:07:13 +00:00
David Anderson f183b6f47f - web: add general-purpose notification mechanism.
Users can choose whether to get 1 email per notification,
    a daily "digest" email, or no email.
    (All notifications are shown on the Account page).
    Currently used for:
    - Friend requests and confirmations
    - Posts to subscribed threads
    - Private messages

    NOTE: To implement the "daily digest" feature, projects must add
    a periodic task for html/ops/notify.php to config.xml
- web: have project_footer() generate links for
    Account Page and Message Boards as well as Home
    NOTE: projects that want this change
    will have to modify their own project.inc.

svn path=/trunk/boinc/; revision=14447
2007-12-30 22:02:16 +00:00
David Anderson 40f594b07c - upgrade script: fix it, and add --web_only option (fixes #527)
- web: replace "Result" by "Task" a couple of places

svn path=/trunk/boinc/; revision=14446
2007-12-28 05:23:52 +00:00
David Anderson 11dac5e80c - make_project: add --web_only option.
This lets you create a project for Bossa or Bolt
    without compiling the C++ stuff, which is not used by Bossa or Bolt.
- DB schema: change type= to engine= to avoid MySQL warning messages

svn path=/trunk/boinc/; revision=14437
2007-12-21 23:39:25 +00:00
David Anderson b42c68e5dd - API: switch back to structure where the worker thread
calls getrusage() in a signal handler to find its CPU time.
    Apparently there are some kernels and/or thread libraries
    where getrusage() does NOT return the total CPU time of
    all threads in the process,
    so in these cases calling it from the timer thread doesn't work.
    
    This was originally changed because of concerns that
    calling getrusage() in a signal handler was dangerous;
    we'll see if any problems re-emerge.

    The alternative of reading /proc/PID/stats doesn't seem viable;
    format may not be standardized.

svn path=/trunk/boinc/; revision=14433
2007-12-21 19:23:22 +00:00
Eric J. Korpela fea4674524 Fix sql bug in vote_monitor
svn path=/trunk/boinc/; revision=13949
2007-10-24 20:14:20 +00:00
Eric J. Korpela 706b283b19 Added ability for forum moderators to vote for banishment of a poster
New db tables banishment_vote and banishment_votes
Daemon script vote_monitor for timing the votes
New configuration option <moderators_vote_to_ban/>



svn path=/trunk/boinc/; revision=13917
2007-10-19 20:01:36 +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
David Anderson 383b21dd5a - update_versions now generates <api_version> for all app versions
- user web: don't XML-escape team names in DB
- deleted obsolete files
- calloc() return check, fixes #277

svn path=/trunk/boinc/; revision=13817
2007-10-09 22:58:49 +00:00
David Anderson d50a183dcb - remove "updater" from tools/ Makefile
svn path=/trunk/boinc/; revision=13815
2007-10-09 18:29:51 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Charlie Fenton f0aff10b8e Fix updater build on Windows after sandbox reorganization
svn path=/trunk/boinc/; revision=13810
2007-10-09 13:28:00 +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 c260a46b0d - update_versions_v6 doesn't set min_core_version
svn path=/trunk/boinc/; revision=13653
2007-09-25 17: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
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
David Anderson 7594e57b05 - update_versions: don't accept a multi-file application
unless there's a main program with same name as dir
    (previously it was treating the first executable file found
    as the main program, with occasionally disastrous consequences).

svn path=/trunk/boinc/; revision=13201
2007-07-20 20:19:35 +00:00
David Anderson e1a0c552e2 - compile fixes for Win
client/
		acct_setup.C
		cs_prefs.C
		cs_trickle.C
	lib/
		filesys.C
		str_util.C,h
		util.C,h
	tools/
		updater.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12985
2007-06-22 20:17:08 +00:00
David Anderson 6b4e912b27 - random compile warning fixes
client/
    auto_update.C
    file_names.h
    scheduler_op.C
    time_stats.C
lib/
    util.C,h
tools/
    create_work.C
    updater.C

svn path=/trunk/boinc/; revision=12971
2007-06-20 23:16:30 +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 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 58b39390b1 - Python tools:
- removed "add" (long deprecated)
    - version.py is needed only in test/;
        remove references to it in boinc_path_config.py,
        and don't copy it to project/bin

py/Boinc/
    boinc_path_config.py.in
    setup_project.py
tools/
    add (removed)

svn path=/trunk/boinc/; revision=12658
2007-05-11 22:24:14 +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
David Anderson 5184dedb1e David 26 Apr 2007
- core client: set config settings to default values before
        parsing cc_config.xml.
        Otherwise, if you have a lot of log flags set,
        and tell the client to reread a config file that
        doesn't specify ANY log flags,
        you'll end up with all the flags still set.
        (from Sebastian Masch)
    - make_project: add cmdline args for update_stats in initial config

    tools/
        make_project
    client/
        log_flags.C,h

svn path=/trunk/boinc/; revision=12490
2007-04-26 21:57:42 +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 bd06f5ae09 David 25 Apr 2007
- fixes #126 - generate cronjob file in make_project

    tools/
        make_project

svn path=/trunk/boinc/; revision=12480
2007-04-25 20:38:01 +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
David Anderson b686f89d85 David 20 Apr 2007
- make_project: add periodic tasks to default config.xml:
        dp_dump, update_uotd, update_forum_activities, update_stats,
        update_profile_pages
    - backend_lib.C: refuse to create a job for which some necessary
        parameter (rsc_fpops_est, rsc_fpops_bound, etc.) is missing
    - Unix build: don't include std_fixes.h in config.h.
        std_fixes.h is (I think) deprecated
    - sched_util: default sched log level is MSG_NORMAL
    - client: add ".txt" to job log filename
    - compile fixes

    configure.ac
    api/
        reduce_main.C
    client/
        file_names.C
    lib/
        str_util.h
    sched/
        sample_work_generator.C
        sched_msgs.h
    tools/
        backend_lib.C

svn path=/trunk/boinc/; revision=12430
2007-04-20 17:14:08 +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 11869bc0be *** empty log message ***
svn path=/trunk/boinc/; revision=12333
2007-04-09 02:17:26 +00:00
David Anderson 75a2b2c55b *** empty log message ***
svn path=/trunk/boinc/; revision=12322
2007-04-05 17:02:01 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson f7d648e350 *** empty log message ***
svn path=/trunk/boinc/; revision=12075
2007-02-13 21:41:07 +00:00
David Anderson ff91c8450f *** empty log message ***
svn path=/trunk/boinc/; revision=12004
2007-01-30 18:19:30 +00:00
Reinhard Prix d377d47a6e make dir_hier_move and dir_hier_path output a help-string
svn path=/trunk/boinc/; revision=11857
2007-01-14 23:04:27 +00:00
David Anderson 46695c2155 *** empty log message ***
svn path=/trunk/boinc/; revision=11683
2006-12-14 20:44:39 +00:00
David Anderson 86ad19ce5f *** empty log message ***
svn path=/trunk/boinc/; revision=11672
2006-12-14 00:42:43 +00:00
David Anderson 36517491f2 *** empty log message ***
svn path=/trunk/boinc/; revision=11669
2006-12-13 18:48:12 +00:00
David Anderson 899db9e8d3 *** empty log message ***
svn path=/trunk/boinc/; revision=11668
2006-12-13 16:04:50 +00:00
David Anderson 6e3925cefc *** empty log message ***
svn path=/trunk/boinc/; revision=11524
2006-11-14 17:30:59 +00:00
David Anderson 0cb8434d75 *** empty log message ***
svn path=/trunk/boinc/; revision=11466
2006-11-03 21:42:49 +00:00
David Anderson 083000ad62 *** empty log message ***
svn path=/trunk/boinc/; revision=11315
2006-10-19 18:42:31 +00:00
David Anderson cb583ae458 *** empty log message ***
svn path=/trunk/boinc/; revision=11116
2006-09-06 17:18:51 +00:00
Bruce Allen 66485155f1 On-line scheduler logs (readable by project participants): increase the
efficiency of the script that produces these log files by eliminating
un-necessary grepping of cgi.log.0

svn path=/trunk/boinc/; revision=10691
2006-07-20 10:54:40 +00:00
David Anderson 51c8c62fa3 *** empty log message ***
svn path=/trunk/boinc/; revision=10348
2006-06-14 20:17:35 +00:00
David Anderson f78b851b64 *** empty log message ***
svn path=/trunk/boinc/; revision=10221
2006-05-30 17:02:46 +00:00
David Anderson 805c004eb2 *** empty log message ***
svn path=/trunk/boinc/; revision=10129
2006-05-15 00:27:15 +00:00
David Anderson 5617df5f47 *** empty log message ***
svn path=/trunk/boinc/; revision=10118
2006-05-09 18:25:15 +00:00
David Anderson a9ebba7ca1 *** empty log message ***
svn path=/trunk/boinc/; revision=10057
2006-04-28 18:31:32 +00:00
David Anderson 22853c9ab6 command line in template
svn path=/trunk/boinc/; revision=10053
2006-04-28 16:59:53 +00:00
David Anderson 706078dad8 dir_hier_path
svn path=/trunk/boinc/; revision=9794
2006-04-04 20:03:59 +00:00
David Anderson 208f47e4e8 make_project
svn path=/trunk/boinc/; revision=9721
2006-03-24 06:54:49 +00:00
David Anderson 710be691c3 LTD calculation
svn path=/trunk/boinc/; revision=9397
2006-02-02 23:59:47 +00:00
David Anderson f471b89bf9 propagate batch to result
svn path=/trunk/boinc/; revision=9318
2006-01-26 00:19:05 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Bruce Allen 7eae628fc8 Compile fix
svn path=/trunk/boinc/; revision=9130
2005-12-23 04:12:24 +00:00
David Anderson 53919051a9 -command_line arg to create_work
svn path=/trunk/boinc/; revision=9112
2005-12-21 21:46:22 +00:00
Bruce Allen c88787d169 Make update_versions touch ../reread_db to force the
feeder to notice new app versions.

svn path=/trunk/boinc/; revision=9104
2005-12-20 22:36:31 +00:00
Bruce Allen d40a80fde4 To address some concerns about security, strip USER # from the
online scheduler logs.  The only info that appears in these
online logs is then the HOSTID.  If the user has chosen to hide
their hosts, then there is no way to figure out which user a
given hostid belongs to.

Note that this is exactly the same as the current approach of
displaying the results by hostid, but hiding the identity of the
user who owns a given host.

Also, increase default time for retaining logs to two weeks.

svn path=/trunk/boinc/; revision=9082
2005-12-17 15:51:18 +00:00
David Anderson 86855fc26d *** empty log message ***
svn path=/trunk/boinc/; revision=9068
2005-12-14 23:43:50 +00:00
Bruce Allen c5ed94a649 Fix to script that cleans 'user-visible' scheduler logs, to prevent
it from inadvertently leaving old files hanging around.

svn path=/trunk/boinc/; revision=9067
2005-12-14 23:25:25 +00:00
Bruce Allen 6d7199af08 Added a script that maintains a set of sanatized scheduler logs
for users, helpers, and admins to view on the web.
A second script removes these log files if more than one week
      old.
The logs are 'sanatized' by removing IP addresses and authenticators.
These scripts should be controlled by using the standard start/stop
      scripts.  To do this, make entries in config.xml.  The files both
      contain comments at the top detailing how to do this.

svn path=/trunk/boinc/; revision=9049
2005-12-07 04:19:17 +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 72ad81d930 command_line arg to create_work()
svn path=/trunk/boinc/; revision=8773
2005-10-29 20:16:07 +00:00
David Anderson 270c583dcf app version in window title
svn path=/trunk/boinc/; revision=8663
2005-10-12 18:40:53 +00:00
Reinhard Prix df4bc39cad removed spurious dependencies in tool to avoid pointless re-linking
svn path=/trunk/boinc/; revision=8346
2005-09-30 00:19:42 +00:00
Jeff Cobb 5218ad9bdf Jeff - pull out old hier dir/url hash function
svn path=/trunk/boinc/; revision=8163
2005-09-23 21:09:00 +00:00
David Anderson 63d3310d8b *** empty log message ***
svn path=/trunk/boinc/; revision=7001
2005-08-03 06:04:07 +00:00
David Anderson 511429769c *** empty log message ***
svn path=/trunk/boinc/; revision=6712
2005-07-21 08:24:09 +00:00
Bruce Allen f221e6bd89 If we've created new results for a file, remove filename from the
'working_set_removal' list.

svn path=/trunk/boinc/; revision=6459
2005-06-27 17:06:29 +00:00
Bruce Allen 042bfde576 when using locality scheduler, have transitioner or backend
lib advertise data file when new result is created.
code organization: create new lib function boinc_touch_file()
      from code that was in locality scheduler module.

svn path=/trunk/boinc/; revision=6456
2005-06-27 16:31:49 +00:00
David Anderson 28cc1fb011 *** empty log message ***
svn path=/trunk/boinc/; revision=6343
2005-06-14 20:31:15 +00:00
David Anderson 7eaac3296c *** empty log message ***
svn path=/trunk/boinc/; revision=5634
2005-03-11 23:13:27 +00:00
David Anderson 494ee90567 *** empty log message ***
svn path=/trunk/boinc/; revision=5548
2005-03-01 21:00:06 +00:00
David Anderson 308a6abe8d *** empty log message ***
svn path=/trunk/boinc/; revision=5460
2005-02-17 20:35:41 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Bruce Allen 87d0753b1a Add CVS-id RCS tags to files.
svn path=/trunk/boinc/; revision=5398
2005-02-11 04:46:01 +00:00
Eric J. Korpela c05d6d23a0 Because FCGI doesn't support fscanf() and fgetc(), the FILE pointers need to be
wrapped in a call to FCGI_ToFILE().  In the case where FCGI isn't being used
FCGI_ToFILE(x) is defined to (x).

svn path=/trunk/boinc/; revision=5387
2005-02-10 19:39:37 +00:00
David Anderson 36ed6019c2 *** empty log message ***
svn path=/trunk/boinc/; revision=5380
2005-02-09 23:49:46 +00:00
David Anderson 5a2a60ad91 *** empty log message ***
svn path=/trunk/boinc/; revision=5367
2005-02-08 22:07:40 +00:00
Bruce Allen 21e1990508 Made the caching of md5 info for source files a configuration option in
config.xml.  Use the boolean tag <cache_md5_info> to enable it.
This prevents the work generation library from having to go back and
continuously regenerate the md5 sums of your input data files.  Note
that reading these from disk can be expensive if you have many such files
that are large and that you re-use. See check-in notes from 30/31 Dec 2004
for some details.

svn path=/trunk/boinc/; revision=5281
2005-02-02 21:57:11 +00:00
David Anderson 09d0878732 *** empty log message ***
svn path=/trunk/boinc/; revision=5244
2005-01-29 23:29:54 +00:00
David Anderson e342603db0 *** empty log message ***
svn path=/trunk/boinc/; revision=5231
2005-01-28 01:07:16 +00:00
David Anderson e1c65eb341 *** empty log message ***
svn path=/trunk/boinc/; revision=5228
2005-01-27 23:09:19 +00:00
David Anderson 24a1bb1abf *** empty log message ***
svn path=/trunk/boinc/; revision=5227
2005-01-27 22:29:06 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Karl Chen 8d3e716729 added support for make_project --db_user --db_passwd
svn path=/trunk/boinc/; revision=5127
2005-01-17 00:21:19 +00:00
David Anderson 205d90a11d *** empty log message ***
svn path=/trunk/boinc/; revision=5040
2005-01-09 08:44:41 +00:00
David Anderson 4e294d1e5a *** empty log message ***
svn path=/trunk/boinc/; revision=5030
2005-01-08 07:44:22 +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
David Anderson 2a337abeb0 *** empty log message ***
svn path=/trunk/boinc/; revision=4976
2005-01-02 08:01:27 +00:00
David Anderson 66950e2822 replace bad filename hashing function
svn path=/trunk/boinc/; revision=4975
2005-01-02 07:44:40 +00:00
Bruce Allen 5ce5d79c0f Some improvements on the md5-info caching. If the 'data' file is
more recent than the 'md5info', then ignore md5info.  If md5info
has *exactly* the right format (no extra or missing characters) then
remove it in this case (only).  Don't write an md5info file if
another file is found with the same name.  Thus if someone has two
data files called X and X.md5, unless X.md5 has the exact correct
syntax for an md5-info cache file, it won't be removed or used.
Still disabled by default.  Use -DBOINC_CACHE_MD5 to enable it.

svn path=/trunk/boinc/; revision=4973
2004-12-31 15:39:05 +00:00
Bruce Allen e009537167 When creating large numbers of WU which have large input files,
the cost of computing the md5 sums becomes expensive.  Inserted
a simple caching mechanism into the utility function
process_wu_template().  For a given filename FILENAME, this looks
for a file called FILENAME.md5, which contains the md5sum and
length.  If the file exists, these values are used.  If not, such
a file is created.  Since (I think) David is planning to have a
database for files, this mechanism will eventually be obsolete.
Right now it disabled by default.  Use -DBOINC_CACHE_MD5 to
enable it.

svn path=/trunk/boinc/; revision=4965
2004-12-30 04:16:00 +00:00
David Anderson 6f66c759c8 *** empty log message ***
svn path=/trunk/boinc/; revision=4947
2004-12-27 22:49:25 +00:00
David Anderson 072d84e238 *** empty log message ***
svn path=/trunk/boinc/; revision=4937
2004-12-26 02:55:31 +00:00
David Anderson 164c643695 *** empty log message ***
svn path=/trunk/boinc/; revision=4788
2004-12-08 07:03:43 +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
David Anderson 20eb2f30b2 *** empty log message ***
svn path=/trunk/boinc/; revision=4785
2004-12-08 00:14:52 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 9492a0106f *** empty log message ***
svn path=/trunk/boinc/; revision=4685
2004-11-30 07:17:05 +00:00
David Anderson d3ea793175 *** empty log message ***
svn path=/trunk/boinc/; revision=4648
2004-11-24 19:17:50 +00:00
David Anderson f246536c6b *** empty log message ***
svn path=/trunk/boinc/; revision=4645
2004-11-24 07:17:46 +00:00
David Anderson 319328e169 *** empty log message ***
svn path=/trunk/boinc/; revision=4620
2004-11-22 19:17:13 +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
Bruce Allen 7c5faae35b Cleaned up .cvsignore files
svn path=/trunk/boinc/; revision=4608
2004-11-19 16:27:06 +00:00
Karl Chen 501c05623b *** empty log message ***
svn path=/trunk/boinc/; revision=4478
2004-11-02 22:33:41 +00:00
David Anderson e4215d8f72 *** empty log message ***
svn path=/trunk/boinc/; revision=4458
2004-10-29 18:18:53 +00:00
Eric J. Korpela 483ceaca0b *** empty log message ***
svn path=/trunk/boinc/; revision=4456
2004-10-29 04:42:37 +00:00
David Anderson 57be0ccde2 *** empty log message ***
svn path=/trunk/boinc/; revision=4339
2004-10-18 01:54:28 +00:00
David Anderson 22f1a1093a *** empty log message ***
svn path=/trunk/boinc/; revision=4285
2004-10-01 23:46:22 +00:00
David Anderson 41a92be355 *** empty log message ***
svn path=/trunk/boinc/; revision=4271
2004-09-30 20:32:16 +00:00
David Anderson 6e94de0a6c *** empty log message ***
svn path=/trunk/boinc/; revision=4240
2004-09-24 21:28:12 +00:00
Lana Alber 154b132c24 *** empty log message ***
svn path=/trunk/boinc/; revision=4211
2004-09-20 23:03:47 +00:00
David Anderson f7c026df21 *** empty log message ***
svn path=/trunk/boinc/; revision=4201
2004-09-14 22:24:58 +00:00
David Anderson e3f186a330 *** empty log message ***
svn path=/trunk/boinc/; revision=4164
2004-09-07 20:56:08 +00:00
David Anderson 036cfa8a1d *** empty log message ***
svn path=/trunk/boinc/; revision=4120
2004-08-27 22:31:02 +00:00
Lana Alber 94942e8110 Task# 1071. installation script - better default daemons. My first completed TASK
svn path=/trunk/boinc/; revision=4119
2004-08-26 18:02:37 +00:00
Lana Alber 35958d6c8f Changed windows_intelx86 to windows-intelx86. My first check IN.
svn path=/trunk/boinc/; revision=4096
2004-08-23 22:44:18 +00:00
Karl Chen 89a7ffe43f *** empty log message ***
svn path=/trunk/boinc/; revision=4075
2004-08-18 21:53:19 +00:00
David Anderson 6cc2defa20 *** empty log message ***
svn path=/trunk/boinc/; revision=4072
2004-08-17 10:46:37 +00:00
David Anderson 6a92c0ea93 *** empty log message ***
svn path=/trunk/boinc/; revision=4056
2004-08-12 15:06:35 +00:00
Karl Chen 9a1f870da7 *** empty log message ***
svn path=/trunk/boinc/; revision=4037
2004-08-11 08:12:52 +00:00
Daniel Hsu 86780fbd7d *** empty log message ***
svn path=/trunk/boinc/; revision=4013
2004-08-06 19:50:39 +00:00
Daniel Hsu 726918c79b *** empty log message ***
svn path=/trunk/boinc/; revision=4012
2004-08-06 18:58:50 +00:00
David Anderson 156930d204 *** empty log message ***
svn path=/trunk/boinc/; revision=4003
2004-08-06 11:42:41 +00:00
David Anderson 240dcb0dfc *** empty log message ***
svn path=/trunk/boinc/; revision=3985
2004-08-05 11:35:09 +00:00
Karl Chen 0423d6c4d3 *** empty log message ***
svn path=/trunk/boinc/; revision=3947
2004-07-23 20:48:49 +00:00
David Anderson 11fda1b929 *** empty log message ***
svn path=/trunk/boinc/; revision=3923
2004-07-21 21:50:25 +00:00
Karl Chen 9b33d15117 *** empty log message ***
svn path=/trunk/boinc/; revision=3918
2004-07-21 20:42:48 +00:00
David Anderson 9134c0df11 version change
svn path=/trunk/boinc/; revision=3915
2004-07-21 06:47:55 +00:00
David Anderson b937c3a84b *** empty log message ***
svn path=/trunk/boinc/; revision=3902
2004-07-19 23:05:44 +00:00
David Anderson 9135393541 *** empty log message ***
svn path=/trunk/boinc/; revision=3868
2004-07-13 18:35:47 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
Karl Chen bc8fce1808 *** empty log message ***
svn path=/trunk/boinc/; revision=3856
2004-07-13 10:36:18 +00:00
David Anderson e4357486f6 version 4.00
svn path=/trunk/boinc/; revision=3849
2004-07-12 16:40:22 +00:00
David Anderson 9a7d418eb7 *** empty log message ***
svn path=/trunk/boinc/; revision=3845
2004-07-10 07:27:00 +00:00
Jeff Cobb 07870d11d5 *** empty log message ***
svn path=/trunk/boinc/; revision=3838
2004-07-10 00:12:06 +00:00
Karl Chen 3dd2f3390c *** empty log message ***
svn path=/trunk/boinc/; revision=3821
2004-07-09 14:11:17 +00:00
Daniel Hsu 9783b59d91 ""
svn path=/trunk/boinc/; revision=3816
2004-07-08 21:37:52 +00:00
David Anderson d82d04506f *** empty log message ***
svn path=/trunk/boinc/; revision=3761
2004-07-02 22:48:33 +00:00
David Anderson 1f85b52a12 *** empty log message ***
svn path=/trunk/boinc/; revision=3754
2004-07-02 19:45:33 +00:00
David Anderson e0ddccfb44 *** empty log message ***
svn path=/trunk/boinc/; revision=3753
2004-07-02 19:17:53 +00:00
Rom Walton 9d1c3f1a55 Client spamming server hotfix
svn path=/trunk/boinc/; revision=3750
2004-07-02 17:53:31 +00:00
Karl Chen 922f2414ff *** empty log message ***
svn path=/trunk/boinc/; revision=3715
2004-06-29 08:51:54 +00:00
Karl Chen 72040aed7c *** empty log message ***
svn path=/trunk/boinc/; revision=3709
2004-06-28 08:27:17 +00:00
David Anderson c0d5e317a0 bug fix
svn path=/trunk/boinc/; revision=3708
2004-06-28 04:52:02 +00:00
Karl Chen 32318835f6 *** empty log message ***
svn path=/trunk/boinc/; revision=3695
2004-06-24 12:22:30 +00:00
Karl Chen abe11e77ca *** empty log message ***
svn path=/trunk/boinc/; revision=3694
2004-06-24 12:13:42 +00:00
David Anderson 48cc4778f0 version 3.15
svn path=/trunk/boinc/; revision=3665
2004-06-18 19:53:46 +00:00
Karl Chen 235bdb4277 *** empty log message ***
svn path=/trunk/boinc/; revision=3662
2004-06-18 09:05:15 +00:00
Rom Walton 09709bff77 *** empty log message ***
svn path=/trunk/boinc/; revision=3580
2004-06-15 19:26:01 +00:00
Rom Walton c2c50ff948 *** empty log message ***
svn path=/trunk/boinc/; revision=3574
2004-06-15 06:13:42 +00:00
David Anderson 4df39e85e4 *** empty log message ***
svn path=/trunk/boinc/; revision=3543
2004-06-12 04:45:36 +00:00
David Anderson f54b9c5a36 *** empty log message ***
svn path=/trunk/boinc/; revision=3512
2004-06-08 20:52:03 +00:00
David Anderson be8eed5917 *** empty log message ***
svn path=/trunk/boinc/; revision=3511
2004-06-08 20:28:26 +00:00
Karl Chen cd449de7a7 *** empty log message ***
svn path=/trunk/boinc/; revision=3483
2004-05-31 17:57:18 +00:00
Karl Chen e6aecfc118 *** empty log message ***
svn path=/trunk/boinc/; revision=3481
2004-05-31 17:31:11 +00:00
Karl Chen 3d0b4fde9c *** empty log message ***
svn path=/trunk/boinc/; revision=3480
2004-05-31 17:29:31 +00:00
Karl Chen a0153e5f06 *** empty log message ***
svn path=/trunk/boinc/; revision=3479
2004-05-31 17:22:51 +00:00
David Anderson bddf113975 boinc_core_release_3_07
svn path=/trunk/boinc/; revision=3447
2004-05-25 20:31:23 +00:00
David Anderson 1c20c0505d *** empty log message ***
svn path=/trunk/boinc/; revision=3443
2004-05-25 19:20:45 +00:00
David Anderson 6011e98b5d *** empty log message ***
svn path=/trunk/boinc/; revision=3434
2004-05-24 20:32:51 +00:00
David Anderson 0aae6f36f1 boinc_core_release_3_05
svn path=/trunk/boinc/; revision=3396
2004-05-19 00:52:36 +00:00
David Anderson 0fd5a7fe48 *** empty log message ***
svn path=/trunk/boinc/; revision=3384
2004-05-14 23:27:52 +00:00
David Anderson 267d4b5370 *** empty log message ***
svn path=/trunk/boinc/; revision=3383
2004-05-14 23:08:33 +00:00
David Anderson 61099a071a *** empty log message ***
svn path=/trunk/boinc/; revision=3382
2004-05-14 22:58:58 +00:00
Karl Chen 89856689aa *** empty log message ***
svn path=/trunk/boinc/; revision=3380
2004-05-14 06:49:11 +00:00
David Anderson d2f8addc5a *** empty log message ***
svn path=/trunk/boinc/; revision=3377
2004-05-13 18:18:22 +00:00
David Anderson 9c8fb41c4d *** empty log message ***
svn path=/trunk/boinc/; revision=3341
2004-05-05 17:48:39 +00:00
David Anderson 7e749941e5 *** empty log message ***
svn path=/trunk/boinc/; revision=3310
2004-04-30 23:18:56 +00:00
David Anderson ad6f5ae47f *** empty log message ***
svn path=/trunk/boinc/; revision=3260
2004-04-14 18:46:33 +00:00
David Anderson c06295936c *** empty log message ***
svn path=/trunk/boinc/; revision=3259
2004-04-14 17:34:55 +00:00
David Anderson 4639df4318 *** empty log message ***
svn path=/trunk/boinc/; revision=3258
2004-04-13 23:55:05 +00:00
Karl Chen 5a91f646c8 *** empty log message ***
svn path=/trunk/boinc/; revision=3204
2004-04-01 23:31:58 +00:00
Karl Chen 458cb19548 *** empty log message ***
svn path=/trunk/boinc/; revision=3203
2004-04-01 23:26:33 +00:00
David Anderson d15a9b27cf *** empty log message ***
svn path=/trunk/boinc/; revision=3188
2004-03-29 22:57:43 +00:00
Rom Walton 5877596736 *** empty log message ***
svn path=/trunk/boinc/; revision=3177
2004-03-26 21:12:04 +00:00
Rom Walton 41c6abffde *** empty log message ***
svn path=/trunk/boinc/; revision=3176
2004-03-26 20:58:17 +00:00
Kevin Dalley 6f6a4f203f *** empty log message ***
svn path=/trunk/boinc/; revision=3093
2004-03-17 09:55:51 +00:00
David Anderson f80a5f1a12 *** empty log message ***
svn path=/trunk/boinc/; revision=3083
2004-03-17 01:26:44 +00:00
Karl Chen 03541647b4 *** empty log message ***
svn path=/trunk/boinc/; revision=3081
2004-03-16 00:43:05 +00:00
David Anderson 8939bb0a07 *** empty log message ***
svn path=/trunk/boinc/; revision=2990
2004-02-15 19:22:01 +00:00
David Anderson 76aa070555 *** empty log message ***
svn path=/trunk/boinc/; revision=2989
2004-02-15 18:34:10 +00:00
Karl Chen a214be1f6a *** empty log message ***
svn path=/trunk/boinc/; revision=2951
2004-02-04 01:11:12 +00:00
David Anderson 86b1ed228d *** empty log message ***
svn path=/trunk/boinc/; revision=2949
2004-02-03 22:11:55 +00:00
David Anderson ec3566c9ed version 2.18
svn path=/trunk/boinc/; revision=2900
2004-01-16 21:48:48 +00:00
Karl Chen 7519dc516c *** empty log message ***
svn path=/trunk/boinc/; revision=2889
2004-01-15 23:53:13 +00:00
Karl Chen 21452b544e *** empty log message ***
svn path=/trunk/boinc/; revision=2875
2004-01-13 07:44:05 +00:00
Karl Chen 6dfdab054d *** empty log message ***
svn path=/trunk/boinc/; revision=2874
2004-01-13 07:43:53 +00:00
Karl Chen cc90a6e773 *** empty log message ***
svn path=/trunk/boinc/; revision=2873
2004-01-13 07:42:30 +00:00
Karl Chen 022bcc6141 *** empty log message ***
svn path=/trunk/boinc/; revision=2870
2004-01-13 07:08:46 +00:00
Karl Chen cd8e9396a7 xadd stuff
svn path=/trunk/boinc/; revision=2867
2004-01-13 06:51:19 +00:00
David Anderson d3b4ab4212 *** empty log message ***
svn path=/trunk/boinc/; revision=2852
2004-01-06 18:38:39 +00:00
David Anderson 6d44e9ccc1 *** empty log message ***
svn path=/trunk/boinc/; revision=2844
2004-01-04 06:48:40 +00:00
David Anderson fe6a504d70 *** empty log message ***
svn path=/trunk/boinc/; revision=2781
2003-12-11 19:15:14 +00:00
David Anderson 8bb76936a1 *** empty log message ***
svn path=/trunk/boinc/; revision=2753
2003-12-07 18:58:08 +00:00
Gary Gibson ef78a90d6a new version 2.13
svn path=/trunk/boinc/; revision=2746
2003-12-04 22:11:20 +00:00
Karl Chen be893d6aea *** empty log message ***
svn path=/trunk/boinc/; revision=2722
2003-11-30 08:49:15 +00:00
Gary Gibson 3a3d4b21eb new version
svn path=/trunk/boinc/; revision=2696
2003-11-26 02:16:32 +00:00
David Anderson 032644aaaf *** empty log message ***
svn path=/trunk/boinc/; revision=2659
2003-11-11 20:49:07 +00:00
Karl Chen 204f4a224e *** empty log message ***
svn path=/trunk/boinc/; revision=2622
2003-11-03 04:41:13 +00:00
Karl Chen c02a370294 *** empty log message ***
svn path=/trunk/boinc/; revision=2608
2003-10-30 01:14:34 +00:00
Karl Chen 4616204e7c *** empty log message ***
svn path=/trunk/boinc/; revision=2595
2003-10-28 04:55:31 +00:00
Karl Chen f03e0872e0 *** empty log message ***
svn path=/trunk/boinc/; revision=2591
2003-10-28 00:55:33 +00:00
Karl Chen 8c212693b4 *** empty log message ***
svn path=/trunk/boinc/; revision=2590
2003-10-28 00:54:30 +00:00
Karl Chen 5417e32760 *** empty log message ***
svn path=/trunk/boinc/; revision=2589
2003-10-28 00:54:03 +00:00
Karl Chen 65c7736c52 *** empty log message ***
svn path=/trunk/boinc/; revision=2586
2003-10-28 00:41:03 +00:00
Karl Chen f6ed5280e4 *** empty log message ***
svn path=/trunk/boinc/; revision=2575
2003-10-27 06:30:14 +00:00
Karl Chen fa6ee0edd7 *** empty log message ***
svn path=/trunk/boinc/; revision=2574
2003-10-26 07:50:05 +00:00
Karl Chen 9bd5dab955 *** empty log message ***
svn path=/trunk/boinc/; revision=2573
2003-10-26 07:47:33 +00:00
Karl Chen 6c7117bff3 *** empty log message ***
svn path=/trunk/boinc/; revision=2572
2003-10-26 07:44:14 +00:00
Karl Chen 1cb6cba92f *** empty log message ***
svn path=/trunk/boinc/; revision=2571
2003-10-26 07:37:45 +00:00
Karl Chen e8a2bdfd61 *** empty log message ***
svn path=/trunk/boinc/; revision=2570
2003-10-26 07:35:09 +00:00
Karl Chen a50e6a0c5e *** empty log message ***
svn path=/trunk/boinc/; revision=2569
2003-10-26 07:32:42 +00:00
Karl Chen 20cd2db106 *** empty log message ***
svn path=/trunk/boinc/; revision=2568
2003-10-26 07:29:03 +00:00
Karl Chen 3b189fb47b *** empty log message ***
svn path=/trunk/boinc/; revision=2566
2003-10-26 06:43:47 +00:00
David Anderson 04c00075d8 *** empty log message ***
svn path=/trunk/boinc/; revision=2557
2003-10-24 20:13:50 +00:00
Karl Chen 7c51703d28 *** empty log message ***
svn path=/trunk/boinc/; revision=2536
2003-10-22 05:00:37 +00:00
David Anderson 5d5ea4398f *** empty log message ***
svn path=/trunk/boinc/; revision=2499
2003-10-17 17:22:49 +00:00
Karl Chen 4749dca86e *** empty log message ***
svn path=/trunk/boinc/; revision=2496
2003-10-17 09:04:13 +00:00
David Anderson a06fa48bf4 *** empty log message ***
svn path=/trunk/boinc/; revision=2491
2003-10-16 19:03:49 +00:00
Karl Chen 0e170eb17d *** empty log message ***
svn path=/trunk/boinc/; revision=2486
2003-10-15 09:15:50 +00:00
Karl Chen e4d3f63780 *** empty log message ***
svn path=/trunk/boinc/; revision=2476
2003-10-15 08:47:13 +00:00
Karl Chen 2f09f54530 *** empty log message ***
svn path=/trunk/boinc/; revision=2418
2003-10-06 23:44:18 +00:00
Karl Chen aad6bc8bf6 *** empty log message ***
svn path=/trunk/boinc/; revision=2417
2003-10-06 23:42:43 +00:00
Karl Chen 078c2d0522 *** empty log message ***
svn path=/trunk/boinc/; revision=2405
2003-10-03 08:53:47 +00:00
Karl Chen 87d6362cf8 *** empty log message ***
svn path=/trunk/boinc/; revision=2404
2003-10-03 08:33:18 +00:00
Karl Chen 5453f279e4 xml writing and parsing
svn path=/trunk/boinc/; revision=2401
2003-10-03 06:46:22 +00:00
Karl Chen d2ed1c768f make_project, upgrade, other tools
svn path=/trunk/boinc/; revision=2399
2003-10-03 05:53:28 +00:00
Eric J. Korpela 20ab958bc9 *** empty log message ***
svn path=/trunk/boinc/; revision=2387
2003-10-01 18:19:29 +00:00
David Anderson fa8713feb4 don't retry if file not found
svn path=/trunk/boinc/; revision=2380
2003-09-30 18:09:58 +00:00
Karl Chen a1639b3dce *** empty log message ***
svn path=/trunk/boinc/; revision=2375
2003-09-28 09:27:35 +00:00
Karl Chen a2655aa910 *** empty log message ***
svn path=/trunk/boinc/; revision=2374
2003-09-28 09:26:23 +00:00
Karl Chen 856593ce4e *** empty log message ***
svn path=/trunk/boinc/; revision=2373
2003-09-28 09:22:33 +00:00
David Anderson d3dfa5771b *** empty log message ***
svn path=/trunk/boinc/; revision=2370
2003-09-27 23:20:40 +00:00
Eric J. Korpela ccc3d6fde8 *** empty log message ***
svn path=/trunk/boinc/; revision=2354
2003-09-24 18:49:27 +00:00
Karl Chen f40d30ad41 *** empty log message ***
svn path=/trunk/boinc/; revision=2339
2003-09-19 07:54:11 +00:00
Eric J. Korpela e6a02ad49b Added const qualifiers to create_work and process_result_template_upload_only
prototypes.

svn path=/trunk/boinc/; revision=2332
2003-09-16 21:50:03 +00:00
David Anderson 29d24d7a57 *** empty log message ***
svn path=/trunk/boinc/; revision=2327
2003-09-12 19:59:15 +00:00