Commit Graph

73 Commits

Author SHA1 Message Date
David Anderson d439244f3f - fixes for gcc 4.3
svn path=/trunk/boinc/; revision=15020
2008-04-06 03:15:36 +00:00
Eric J. Korpela 51e24737bd - Build fixes for non-Win32, non-Linux, non-MacOS systems.
- configure script:
        - Added checks for functions strdup(), strdupa(),
            daemon(), stat64(), strcasestr()
        - Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
            invalid CFLAGS and LIBS flags.
        - Fixed incorrect order of pthread flag checking on solaris.
    - New files: lib/unix_util.[Ch].  Currently contains implementation of
        daemon() for systems that lack it.
    - Access to binary files in /proc was failing on some systems when compiled
        with 64 bit file access.  Rearranged headers and defines to force 32bit
        file access in hostinfo_unix.C
    - all_tty_idle() didn't work as advertised on any system as far as I can
        tell.  I rewrote it to check ttys that are not named /dev/tty[1-9].
        The old implementation was modifying a statically allocated read-only
        string, (and crashing on some systems) anyway.
    - added implementation of non-standard function strcasestr() to str_util.C
    - added #define of MAP_FILE to shmem.C, because it is missing from most
        unix systems, (and is unnecessary on linux anyway).
    - other minor bug fixes.


svn path=/trunk/boinc/; revision=14996
2008-04-01 21:44:12 +00:00
David Anderson 1069770a7f - compile fixes for gcc 4.3 (from Frank Thomas)
Fixes #514

svn path=/trunk/boinc/; revision=14436
2007-12-21 21:09:40 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson 2af893b0f2 - user web: code cleanup related to team creation.
Make a single function that creates teams
    and cleanses arguments.
- API: don't include config.h in parse.h.
    This file is included from apps
    (indirectly, via graphics_api.h)
    so it shouldn't assume that config.h exists

svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +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 ef80e8576f - Added program sched/sched_driver.C.
This generates a sequence of scheduler requests,
    with host info taken from a file,
    that you can feed into the scheduler (cgi --batch)
    to simulate things like homogeneous redundancy
- Added args to XML_PARSER::skip_unexpected() to you can say
    whether to write messages to stderr for unparsed stuff.
    This is set to true if log_flags.unparsed_xml is set (client)
    or if debug_level is 3 (server)
- removed references to $(LIBRSA) in Makefile.am's

client/
    Makefile.am
    acct_mgr.C
    gui_rpc_server_ops.C
    log_flags.C
lib/
    Makefile.am
    app_ipc.C
    gui_rpc_client_ops.C
    parse.C,h
    prefs.C
sched/
    Makefile.am
    sched_config.C
    sched_driver.C

svn path=/trunk/boinc/; revision=13090
2007-07-03 21:55:50 +00:00
David Anderson 7b74befedc - client: when you read a file into a string with:
loop
            read a line X
            S += X
    it performs real bad if the file is large
    (allocation of std::string seems to stupid)
    So I changed this to
        find file size n
        read file into malloced buf size n
        S = buf
        free buf
- lib: moved functions to appropriate file
        
client/
    acct_setup.C
    cs_prefs.C
lib/
    parse.C,h
    str_util.C,h
    util.C,h

svn path=/trunk/boinc/; revision=12983
2007-06-22 18:53:55 +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 52c2fe8b33 - change new XML parser to handle XML comments (<!-- ... -->)
client/
		log_flags.C
	lib/
		parse.C,h

svn path=/trunk/boinc/; revision=12894
2007-06-11 21:30:26 +00:00
David Anderson b4087e0e1b svn path=/trunk/boinc/; revision=12850 2007-06-08 07:55:27 +00:00
David Anderson 7767ca1eb8 *** empty log message ***
svn path=/trunk/boinc/; revision=11492
2006-11-07 17:40:55 +00:00
David Anderson 431da99db5 *** empty log message ***
svn path=/trunk/boinc/; revision=11464
2006-11-03 19:24:21 +00:00
David Anderson 0331e2d4c7 *** empty log message ***
svn path=/trunk/boinc/; revision=11148
2006-09-12 18:18:15 +00:00
David Anderson b79cbdace1 *** empty log message ***
svn path=/trunk/boinc/; revision=11133
2006-09-10 03:40:36 +00:00
David Anderson 5fea7f0226 *** empty log message ***
svn path=/trunk/boinc/; revision=10976
2006-08-23 03:34:30 +00:00
David Anderson 121043ac9f *** empty log message ***
svn path=/trunk/boinc/; revision=10973
2006-08-22 21:52:44 +00:00
David Anderson 5af4702c1d *** empty log message ***
svn path=/trunk/boinc/; revision=10957
2006-08-21 22:25:21 +00:00
David Anderson 033cab5e44 *** empty log message ***
svn path=/trunk/boinc/; revision=10195
2006-05-25 05:22:10 +00:00
David Anderson 496d791574 minor
svn path=/trunk/boinc/; revision=9997
2006-04-21 00:02:04 +00:00
David Anderson 0332660456 solaris fix
svn path=/trunk/boinc/; revision=9970
2006-04-19 21:09:23 +00:00
David Anderson 37fba2eb72 *** empty log message ***
svn path=/trunk/boinc/; revision=9955
2006-04-18 18:21:12 +00:00
David Anderson 81c0e74f8c inline parse functions
svn path=/trunk/boinc/; revision=9954
2006-04-18 17:55:14 +00:00
David Anderson 6dfea20db2 url_escape speedup
svn path=/trunk/boinc/; revision=9938
2006-04-17 22:41:29 +00:00
David Anderson da3e0cd427 better XML parsing
svn path=/trunk/boinc/; revision=9592
2006-03-02 22:51:41 +00:00
Eric J. Korpela 6e30e66599 Added #ifdefs and explicit inclusion of "boinc_win.h" to files to help those
trying to compile under windows with alternate compilers.

svn path=/trunk/boinc/; revision=9077
2005-12-16 03:35:15 +00:00
David Anderson d3876a2c6c bool XML notation
svn path=/trunk/boinc/; revision=7285
2005-08-12 18:31:47 +00:00
David Anderson 3ad888e260 new account setup support
svn path=/trunk/boinc/; revision=7194
2005-08-05 22:00:19 +00:00
David Anderson 3828904a84 *** empty log message ***
svn path=/trunk/boinc/; revision=6270
2005-05-31 21:59:29 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Rom Walton 369fe9f965 *** empty log message ***
svn path=/trunk/boinc/; revision=4554
2004-11-14 08:29:32 +00:00
David Anderson 900042214d *** empty log message ***
svn path=/trunk/boinc/; revision=4251
2004-09-27 19:44:40 +00:00
David Anderson 161fb2868f *** empty log message ***
svn path=/trunk/boinc/; revision=4189
2004-09-13 18:05:54 +00:00
David Anderson ecf08e05cd *** empty log message ***
svn path=/trunk/boinc/; revision=3880
2004-07-15 18:54:17 +00:00
Eric J. Korpela 7cd5c7911a *** empty log message ***
svn path=/trunk/boinc/; revision=3725
2004-06-30 18:17:21 +00:00
Rom Walton 746dc9a5a1 *** empty log message ***
svn path=/trunk/boinc/; revision=3546
2004-06-12 18:44:53 +00:00
Rom Walton e1196c0b28 *** empty log message ***
svn path=/trunk/boinc/; revision=3523
2004-06-10 07:49:50 +00:00
David Anderson b13e9aa1bc *** empty log message ***
svn path=/trunk/boinc/; revision=3194
2004-03-31 06:07:17 +00:00
Rom Walton 06c039bb56 *** empty log message ***
svn path=/trunk/boinc/; revision=3034
2004-03-06 09:45:25 +00:00
Rom Walton 200a3e2674 *** empty log message ***
svn path=/trunk/boinc/; revision=3031
2004-03-05 04:37:53 +00:00
Rom Walton 475c5ed811 *** empty log message ***
svn path=/trunk/boinc/; revision=3029
2004-03-04 11:41:43 +00:00
David Anderson 667bb1cbed *** empty log message ***
svn path=/trunk/boinc/; revision=2934
2004-02-02 19:44:47 +00:00
David Anderson f05ed0cdd7 *** empty log message ***
svn path=/trunk/boinc/; revision=2921
2004-01-22 17:57:41 +00:00
David Anderson 1fbcf2af0e *** empty log message ***
svn path=/trunk/boinc/; revision=2881
2004-01-15 20:56:32 +00:00
David Anderson e5b59c356b *** empty log message ***
svn path=/trunk/boinc/; revision=2878
2004-01-15 01:09:45 +00:00
Karl Chen 022bcc6141 *** empty log message ***
svn path=/trunk/boinc/; revision=2870
2004-01-13 07:08:46 +00:00
David Anderson f68b897b8e *** empty log message ***
svn path=/trunk/boinc/; revision=2865
2004-01-10 06:40:46 +00:00
Karl Chen 2602108bb3 *** empty log message ***
svn path=/trunk/boinc/; revision=2816
2003-12-20 06:07:11 +00:00
Karl Chen 6140729a12 *** empty log message ***
svn path=/trunk/boinc/; revision=2815
2003-12-20 06:07:10 +00:00