Commit Graph

187 Commits

Author SHA1 Message Date
David Anderson 417b26c7b4 compile fix in apps/upper_case.cpp 2013-07-05 20:45:33 -07:00
David Anderson 8e2524f55f Unix build: Makefile changes for "make install", from Steffen Moeller
"make install" followed by make_project should now work
2013-05-20 15:19:13 -07:00
David Anderson 54078e92c4 - fixes of various (non-critical) fd and memory leaks.
Fixes #1188.  From Julien.
- fix bugs in setting scheduler output buffer size
- code formatting


svn path=/trunk/boinc/; revision=25750
2012-06-10 05:38:34 +00:00
David Anderson 94e8c48220 - client: change --detach_phase_two (??) to --detach_console
- eliminate compiler warnings (e.g. shadowed vars)
    in various places, mostly in client


svn path=/trunk/boinc/; revision=23710
2011-06-12 20:58:43 +00:00
David Anderson 1637c19e08 - API and sample apps: pass buf length arg to boinc_msg_prefix()
and use snprintf() to avoid overrun.
    Can't see why this could ever happen.
    Attempt to fix crash in E@h apps.

svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00
David Anderson b9cdeb73fa - sample apps: compile fixes
svn path=/trunk/boinc/; revision=21774
2010-06-18 20:02:35 +00:00
David Anderson 09b92f0841 - user web: allow zero resource share
- client: allow zero resource share


svn path=/trunk/boinc/; revision=20315
2010-01-29 15:50:47 +00:00
David Anderson 65d52137ec - server: Tools that should run by hand are installed under $(bindir).
Daemons that are managed by 'start' go to $(libexecdir)/sched.
    The (F)CGI stuff goes to $(libexecdir)/cgi-bin.
    Finally, example applications go under $(libexecdir)/examples.

svn path=/trunk/boinc/; revision=18378
2009-06-11 16:11:45 +00:00
David Anderson e592800784 - try to fix debian build
svn path=/trunk/boinc/; revision=17254
2009-02-12 23:12:22 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
David Anderson 043eba642a rename test
svn path=/trunk/boinc/; revision=16068
2008-09-26 18:10:10 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
David Anderson 16b1305db7 - server code: at some point I made a global var "SCHED_CONFIG config",
mostly so that the parse function could assume
    that everything was initially zero.
    However, various back-end functions pass around SCHED_CONFIG&
    as an argument (also named "config").
    This creates a shadow, which is always bad.
    Worse is the possibility that some projects have back-end programs
    that have a SCHED_CONFIG variable that's automatic,
    and therefore isn't zero initially,
    and therefore isn't parsing correctly.

    To fix this, I changed the 2 vectors in SCHED_CONFIG into pointers,
    and have the parse routine zero the structure.
    I was tempted to remove the SCHED_CONFIG& args to back-end functions,
    but this would have broken some projects' code.
    I did, however, change the name from config to config_loc
    to avoid shadowing.

    Also fixed various other compiler warnings.

svn path=/trunk/boinc/; revision=15541
2008-07-02 17:24:53 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Reinhard Prix ebcbbb657e fixed internal library dependencies in Makefile.am's
svn path=/trunk/boinc/; revision=14918
2008-03-15 03:26:14 +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 25a92389b1 - updated svn ignore properties; deleted some .cvsignore files
svn path=/trunk/boinc/; revision=13813
2007-10-09 18:00:06 +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 c38c8fc4df - sample app: adapt the one from boinc_samples
svn path=/trunk/boinc/; revision=13199
2007-07-20 18:47:52 +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 f78b851b64 *** empty log message ***
svn path=/trunk/boinc/; revision=10221
2006-05-30 17:02:46 +00:00
David Anderson d7fe3364ab *** empty log message ***
svn path=/trunk/boinc/; revision=10215
2006-05-29 16:37:56 +00:00
David Anderson bd245ca055 next RPC delay
svn path=/trunk/boinc/; revision=10186
2006-05-23 06:46:19 +00:00
David Anderson 7c6619c122 *** empty log message ***
svn path=/trunk/boinc/; revision=10167
2006-05-21 21:11:28 +00:00
David Anderson e592ab4aaa Unix priority bug
svn path=/trunk/boinc/; revision=9906
2006-04-14 17:55:02 +00:00
David Anderson 6fc28bd79f *** empty log message ***
svn path=/trunk/boinc/; revision=9813
2006-04-07 21:35:49 +00:00
David Anderson 42804c135b bump version# of upper_case
svn path=/trunk/boinc/; revision=9227
2006-01-13 21:02:36 +00:00
David Anderson 9db902b8d9 upper case CPU usage
svn path=/trunk/boinc/; revision=9204
2006-01-09 23:03:15 +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 11b10cb0a3 printf-free signal handler in API
svn path=/trunk/boinc/; revision=6991
2005-08-02 22:48:42 +00:00
David Anderson 40a2b37783 *** empty log message ***
svn path=/trunk/boinc/; revision=6696
2005-07-20 10:16:44 +00:00
Bruce Allen a4d190418f Compile fix for upper_case (was broken under gcc/Linux)
svn path=/trunk/boinc/; revision=5991
2005-04-30 12:05:39 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
David Anderson e18a297017 *** empty log message ***
svn path=/trunk/boinc/; revision=5625
2005-03-10 22:05:42 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22: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
Bruce Allen 02e1ab9770 Make boinc_time_to_checkpoint() return int not bool, for compability
with C API.

svn path=/trunk/boinc/; revision=4921
2004-12-22 15:02:03 +00:00
David Anderson fc8c69048f *** empty log message ***
svn path=/trunk/boinc/; revision=4795
2004-12-08 20:55:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

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

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
Bruce Allen 7c5faae35b Cleaned up .cvsignore files
svn path=/trunk/boinc/; revision=4608
2004-11-19 16:27:06 +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 b531e42fa9 *** empty log message ***
svn path=/trunk/boinc/; revision=4325
2004-10-13 22:52:37 +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 a1cf7ff401 *** empty log message ***
svn path=/trunk/boinc/; revision=3965
2004-08-03 09:50:24 +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