Commit Graph

10931 Commits

Author SHA1 Message Date
Frank Thomas a122425261 MGR: Check on account creation if wxGetUserName() returned an empty string and
if it did assign the output of wxGetUserId() to ai->user_name instead.
(fixes #440)


svn path=/trunk/boinc/; revision=13940
2007-10-24 07:53:29 +00:00
Charlie Fenton c9718fb0b9 Mac client: Add 64-bit support for OS 10.5 (new platform x86_64-apple-darwin)
svn path=/trunk/boinc/; revision=13939
2007-10-24 00:44:42 +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
Rom Walton f77ad4b0aa - client: read_file_string was modified sometime ago to support tail
functionality, we really do want only the last 63KB of stderr
        for science applications.
    
    client/
        app_control.C

svn path=/trunk/boinc/; revision=13935
2007-10-23 14:50:02 +00:00
David Anderson 1e2a6c29b8 - client: remove unparsed XML error for <active_task_state>
- client: remove spurious error if include <alt_platform> in cc_config.xml

svn path=/trunk/boinc/; revision=13934
2007-10-22 23:56:10 +00:00
David Anderson 5e5a063ef5 - GUI RPC: fix format of <auth2> request
- GUI RPC: don't enable network on bad request

svn path=/trunk/boinc/; revision=13933
2007-10-22 23:41:12 +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
David Anderson 7c32018889 - API: fixes for SETI@home
svn path=/trunk/boinc/; revision=13930
2007-10-22 23:12:42 +00:00
Rom Walton 148fc8e0b0 Quick Updates
svn path=/trunk/boinc/; revision=13929
2007-10-22 21:35:28 +00:00
Rytis Slatkevičius 4b28e7c183 User web: add HTML DOCTYPE (4.01 Transitional) to all pages, make some HTML validity changes.
svn path=/trunk/boinc/; revision=13928
2007-10-22 19:36:01 +00:00
David Anderson 615e108441 - API: fix bug introduced in 13696 causing no graphics on Linux
svn path=/trunk/boinc/; revision=13922
2007-10-22 03:15:51 +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
Rytis Slatkevičius c6824891d7 Get rid of PHP notice (undefined index)
svn path=/trunk/boinc/; revision=13920
2007-10-21 13:10:13 +00:00
Reinhard Prix 4089ad11ca fixed handling of curl-libs to avoid erroneous trunction of compiler-flags
containing '-l', such as '-funroll-loops'. These are not really supposed to be contained in 
"curl-config --libs", but apparently this happens at least in Gentoo, as reported here:
http://bugs.gentoo.org/show_bug.cgi?id=139621.
I have applied the patch supplied by Darragh Bailey (of 2006-07-07).
This should fix Gentoo Bugzilla Bug 139621.

svn path=/trunk/boinc/; revision=13919
2007-10-21 07:41:45 +00:00
David Anderson e8c2a2927a - client: cc_config.xml can contain one or more <alt_platform> elements
specifying additional alternate platforms.

svn path=/trunk/boinc/; revision=13918
2007-10-20 16:10:57 +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
Rom Walton 068ac0cb37 Quick Updates
svn path=/trunk/boinc/; revision=13914
2007-10-19 15:54:43 +00:00
Rom Walton 16b1887613 - TRAY: Remove the icon resource from boinctray.exe
clienttray/
        boinc_tray.h
        boinc_tray.rc
        tray_win.cpp

svn path=/trunk/boinc/; revision=13912
2007-10-19 02:55:31 +00:00
Charlie Fenton 7c4d159591 Fix double daylight savings time adjustment on UNIX/Linux
svn path=/trunk/boinc/; revision=13910
2007-10-18 23:31:55 +00:00
David Anderson f5dff1892c svn path=/trunk/boinc/; revision=13909 2007-10-18 22:18:20 +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
Rom Walton 0b98b0f0cd - Add the Global prefix to the shared memory segment that
is used to track keyboard and mouse activity for any
        machine that is Windows 2000 or better.
    
    clientlib/win/
        IdleTracker.cpp

svn path=/trunk/boinc/; revision=13907
2007-10-18 18:53:56 +00:00
David Anderson ecee1b4968 - client(win) fix time-zone code
svn path=/trunk/boinc/; revision=13904
2007-10-18 15:15:22 +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
Charlie Fenton 23802ae381 Fix compiler warning
svn path=/trunk/boinc/; revision=13896
2007-10-18 08:18:22 +00:00
Rom Walton 2806eb14b2 Quick Updates
svn path=/trunk/boinc/; revision=13895
2007-10-18 03:33:11 +00:00
David Anderson e77278e00f - client: improve log messages
svn path=/trunk/boinc/; revision=13887
2007-10-17 23:30:05 +00:00
Charlie Fenton 2ed89c4c65 API, Unix: call getrusage() from inside boinc_worker_thread_cpu_time() and make worker_thread_ru a local stack variable to avoid potential problems with thread preemption.
svn path=/trunk/boinc/; revision=13880
2007-10-17 19:53:51 +00:00
Rytis Slatkevičius c70f01b64d Fix unclosed HTML tag
svn path=/trunk/boinc/; revision=13877
2007-10-17 16:35:22 +00:00
Frank Thomas 19db1ebe51 Added note to sched/fcgi*.h that the file LICENSE.TERMS, on which is referred
to in these files, is not included in the BOINC sources but is available
online.

svn path=/trunk/boinc/; revision=13876
2007-10-17 09:14:33 +00:00
Charlie Fenton feff75b249 Update for curl 7.17.0
svn path=/trunk/boinc/; revision=13873
2007-10-17 07:03:15 +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
Charlie Fenton 2e97eae2f5 Mac: Update for curl_7.17.0.
svn path=/trunk/boinc/; revision=13868
2007-10-17 06:02:21 +00:00
Charlie Fenton 278b6931ec Mac: Update for curl_7.17.0.
svn path=/trunk/boinc/; revision=13867
2007-10-17 05:59:37 +00:00
Jens Seidler 4a012f8c2c Localization: BOINC distributed websites and BOINC Manager language files: Russian(ru), Durch(nl)
svn path=/trunk/boinc/; revision=13866
2007-10-17 05:44:52 +00:00
Rom Walton 95770ed06c Quick Updates
svn path=/trunk/boinc/; revision=13865
2007-10-17 04:20:51 +00:00
Charlie Fenton 50c2ab3847 Win V6 SCR compatibility: save, restore gfx window size & position.
svn path=/trunk/boinc/; revision=13856
2007-10-17 00:53:15 +00:00
David Anderson b079d40cb9 - API, Unix: call getrusage() from the timer thread,
not the worker signal handler.
    There's no reason to call it from the signal handler -
    it returns the CPU for the entire process, not the calling thread.
    And it may be asynch-signal-handler-unsafe.
- API: comment out checks for bad CPU times.
    I don't think this is needed now, and in some cases it's wrong
    (multi-threaded apps can accumulate CPU faster than real time)
- API, Unix: in boinc_calling_thread_cpu_time(), don't retry getrusage().
- Bossa: switch to better class structure (suggested by Nicolas Alvarez).
    Haven't switched to mysqli yet, but will later.
    Also various other Bossa fixes

svn path=/trunk/boinc/; revision=13855
2007-10-16 23:02:13 +00:00
Rom Walton 92509b6d4b - TRAY: Introduce BOINC Tray for Windows. It's primary goal is
to keep the CC up to date with when the last time the user
        has used the computer. It has no UI. It is just meant to
        be launhced at startup and let run in the background.
        
    clienttray/
        boinc_tray.h (Added)
        boinc_tray.rc (Added)
        tray_win.cpp, .h (Added)

svn path=/trunk/boinc/; revision=13854
2007-10-16 20:53:10 +00:00
Rom Walton 425c5c8b62 - DEP: Update libCurl to 7.17.0
curl/include/curl/
        <All Files>
    curl/mswin/
        <All Files>

svn path=/trunk/boinc/; revision=13853
2007-10-16 20:15:42 +00:00
David Anderson 1c6277a3d2 svn path=/trunk/boinc/; revision=13852 2007-10-16 17:15:57 +00:00
David Anderson ad2fe67886 - Initial checkin of Bossa code.
This isn't part of BOINC and eventually
    it should go in a different repository,
    but for now I'm putting it here.

svn path=/trunk/boinc/; revision=13851
2007-10-16 17:12:48 +00:00
Bruce Allen 00dbc6db34 Ops pages. In the course of a four-hour repair of the E@H database, where a sysadmin accidentally set outcome=6 in the entire result table, I noticed some inconsistencies in the summary result tables, for example that they did not properly incorporate outcome==7 (client detached) or client_state==6 (aborted). I have fixed this.
svn path=/trunk/boinc/; revision=13850
2007-10-15 23:04:55 +00:00
David Anderson a3f61b544f - client: fix bug where delay request from project is ignored
if no results are returned.
    Also, made the "Deferred" messages conditional on sched_op_debug
    Fixes #430 (from Rattledagger)

svn path=/trunk/boinc/; revision=13849
2007-10-15 22:08:24 +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
Jens Seidler 5d05f0c2ff Localization: BOINC distributed websites and BOINC Manager language updated: Chinese Simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=13846
2007-10-12 21:24:37 +00:00
David Anderson 028544e184 - API: get rid of getrusage_mutex to synchronize calls to getrusage()
and access to worker_thread_ru.
    This was being used in the worker signal handler,
    which is bad because pthread_mutex_lock() can allocate memory.
    I don't think this matters; at worst we might get
    CPU times off by < 1 sec.

svn path=/trunk/boinc/; revision=13844
2007-10-12 19:28:30 +00:00
Rytis Slatkevičius 717898ae03 Fix a lot of PHP notices that show up when error reporting E_NOTICE is enabled
svn path=/trunk/boinc/; revision=13843
2007-10-12 17:58: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 8396e06fc0 Mac V5 GFX API: Fix old zombie process bug (I hope). getPathToThisApp() should call pclose(), not fclose().
svn path=/trunk/boinc/; revision=13840
2007-10-12 06:22:58 +00:00