Commit Graph

103 Commits

Author SHA1 Message Date
David Anderson dd2d5bd63f - client: on startup, generate a message and notice
about new client version if needed

svn path=/trunk/boinc/; revision=22549
2010-10-18 20:31:27 +00:00
David Anderson ee343cea02 - client: small tweak to work fetch:
if project has crazy DCF, don't automatically request 1 sec;
    only request work if there's a shortfall.
- intermediate checkin for notices stuff

svn path=/trunk/boinc/; revision=20145
2010-01-12 21:53:40 +00:00
David Anderson 62156200f4 - client and GUI RPC: add some plumbing for notices
svn path=/trunk/boinc/; revision=19973
2009-12-18 21:52:08 +00:00
David Anderson b70229c093 - code shuffle: move client-specific GPU code to a separate file
svn path=/trunk/boinc/; revision=19794
2009-12-07 00:42:03 +00:00
David Anderson 4bd0e4a2de - client: sort out proxy_info mess.
Source of proxy info (descending priority)
    - GUI RPC (Manager or boinccmd)
        This and only this is saved in state file.
        If neither HTTP nor SOCKS server name present,
        this is viewed as not present
    - environment vars
    - cc_config.xml

    Show sources of proxy info in message log.
    If one is present but overridden, show a message to that effect.

    This fixes a bug where someone had a proxy info env var and
    forgot about it.
    They got an erroneous message saying no proxy was being used.

svn path=/trunk/boinc/; revision=19785
2009-12-05 00:51:05 +00:00
Eric J. Korpela 720fa9a3cb - libraries: Moved crypt.o out of libboinc and into libboinc_crypt.
Applications that need crypt.o will need to explicitly link
      libboinc_crypt.


svn path=/trunk/boinc/; revision=18595
2009-07-14 17:50:33 +00:00
David Anderson f9222339e9 - client: simplify enforce_schedule(), and maybe fix bugs.
New approach: take the "ordered_schedule_results" list,
    add running jobs that haven't finished their time slice,
    and order the result appropriately.
    Then run jobs in order until CPUs are filled.
    Simpler and clearer than the old way.


svn path=/trunk/boinc/; revision=17992
2009-05-04 19:55:59 +00:00
Eric J. Korpela 9a2868e715 -Made static linkage of BOINC libraries the default for client,
manager, and server components


svn path=/trunk/boinc/; revision=16928
2009-01-16 00:24:44 +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 2d1d47de15 - client: move round-robin simulation to its own file
- web: check for profile existence before trying to show it
- file deleter: add some debugging msgs

svn path=/trunk/boinc/; revision=16338
2008-10-28 21:59:25 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +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
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
Frank Thomas b46bda9d6f Added clean-local target to lib/Makefile.am to remove lib/boinccmd and
lib/boinccmd.unmodified on "make clean" and also added client/boinc.unmodified
and clientgui/boincmgr.unmodified to the respective clean-local targets.


svn path=/trunk/boinc/; revision=13772
2007-10-03 23:23:02 +00:00
David Anderson f1f5930579 - client: removed everything related to screensaver
(deciding which app to use, implementing blanking interval, etc.)
    This logic is all now in the screensaver itself.
- GUI RPC: removed get/set screensaver mode RPCs
- API: added a "backwards_compatible_graphics" flag to BOINC_OPTIONS.
    V6 apps should set this.
    If set, the runtime library checks for graphics messages
    from the client, and launches/kills the graphics app (if any).
    The app will then work graphically with pre-V6 clients.
- removed some old files

svn path=/trunk/boinc/; revision=13651
2007-09-25 16:04:45 +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 588a4ab398 - Unix: 'make install' copies certificate authority file
to client directory

client/
    Makefile.am

svn path=/trunk/boinc/; revision=12757
2007-05-28 16:27:21 +00:00
Walt Gribben ad78eb2db5 - Add cs_platform.C to Makefile.am
client/
        Makefile.am

svn path=/trunk/boinc/; revision=12534
2007-05-02 23:08:46 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
Rom Walton 62bb0d9543 *** empty log message ***
svn path=/trunk/boinc/; revision=12050
2007-02-07 17:28:11 +00:00
David Anderson 6a10211584 *** empty log message ***
svn path=/trunk/boinc/; revision=11960
2007-01-24 22:55:00 +00:00
Reinhard Prix 4023443393 add explicit build-rule for client/switcher [required to fix 'make tags']
svn path=/trunk/boinc/; revision=11862
2007-01-15 20:15:33 +00:00
David Anderson 41eb40b051 *** empty log message ***
svn path=/trunk/boinc/; revision=11643
2006-12-11 23:42:54 +00:00
David Anderson 9a1d91d4c9 *** empty log message ***
svn path=/trunk/boinc/; revision=10543
2006-06-28 17:46:37 +00:00
David Anderson df69518594 switcher
svn path=/trunk/boinc/; revision=10253
2006-06-05 04:30:16 +00:00
David Anderson de1113c71a code reorg
svn path=/trunk/boinc/; revision=9421
2006-02-08 21:05:51 +00:00
David Anderson 12d1beac6b *** empty log message ***
svn path=/trunk/boinc/; revision=9102
2005-12-20 07:03:42 +00:00
Reinhard Prix 138224449a make sure that only benchmark-sources have hardcoded -O3 applied to them.
svn path=/trunk/boinc/; revision=8339
2005-09-29 23:35:59 +00:00
Rom Walton 08dc36cc74 *** empty log message ***
svn path=/trunk/boinc/; revision=7699
2005-08-31 23:20:51 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
David Anderson 66fbe0cfbe *** empty log message ***
svn path=/trunk/boinc/; revision=7360
2005-08-16 20:48:21 +00:00
Bruce Allen bfd9fb22eb Foundation library names should be capitalized. Apparently
this matters on some filesystems.

svn path=/trunk/boinc/; revision=7321
2005-08-14 17:04:45 +00:00
Bruce Allen c149edae2d compile fixes for Mac OSX. The autoconf/automake framework
now works again to build client and clientgui.

svn path=/trunk/boinc/; revision=7316
2005-08-13 22:17:35 +00:00
David Anderson 295b3a1d3f compile fixes for Unix
svn path=/trunk/boinc/; revision=7200
2005-08-06 18:12:35 +00:00
Eric J. Korpela eb80cee874 Added stripping of executable.
svn path=/trunk/boinc/; revision=6997
2005-08-03 00:29:37 +00:00
David Anderson 975e70f250 split GUI RPC code
svn path=/trunk/boinc/; revision=6881
2005-07-31 23:33:12 +00:00
David Anderson 5eac73217c *** empty log message ***
svn path=/trunk/boinc/; revision=5822
2005-04-11 07:06:52 +00:00
Rom Walton 975f298574 *** empty log message ***
svn path=/trunk/boinc/; revision=5346
2005-02-08 00:01:50 +00:00
David Anderson 53125a84a2 *** empty log message ***
svn path=/trunk/boinc/; revision=5216
2005-01-27 00:58:16 +00:00
Bruce Allen 9abcdd1ac3 From Reinhard Prix. At Rom's request, this builds the
Linux client using static rather than
dynamic linking to the gcc C++ lib.  Note that modifying
this to do the same whenever gcc is used (not just under
Linux) might be desirable. Also modifying the clientgui
build in the same way might also be desirable.

svn path=/trunk/boinc/; revision=5148
2005-01-20 10:21:26 +00:00
Bruce Allen 927a11ce93 Fixed broken build (and removed non-functional broken fix). API
subdirs must be built first, before client.

svn path=/trunk/boinc/; revision=4803
2004-12-09 10:23:56 +00:00
David Anderson f4ef0f5126 *** empty log message ***
svn path=/trunk/boinc/; revision=4801
2004-12-09 01:07:01 +00:00
David Anderson fc8c69048f *** empty log message ***
svn path=/trunk/boinc/; revision=4795
2004-12-08 20:55:53 +00:00
David Anderson 8f67c0708a *** empty log message ***
svn path=/trunk/boinc/; revision=4769
2004-12-06 22:13:42 +00:00
Karl Chen 4c3e7fde1e *** empty log message ***
svn path=/trunk/boinc/; revision=4672
2004-11-27 09:57:38 +00:00
Karl Chen ae7f3bfe1a *** empty log message ***
svn path=/trunk/boinc/; revision=4669
2004-11-27 09:43:05 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
under Mac OSX. Also make dist now works (make distcheck still
     broken).  Karl, since you were the last
     person to fix up this mess, how about taking a look??

svn path=/trunk/boinc/; revision=4665
2004-11-26 17:45:13 +00:00
David Anderson 7f6088d35b *** empty log message ***
svn path=/trunk/boinc/; revision=4489
2004-11-04 19:30:51 +00:00
Eric J. Korpela 483ceaca0b *** empty log message ***
svn path=/trunk/boinc/; revision=4456
2004-10-29 04:42:37 +00:00