Commit Graph

11104 Commits

Author SHA1 Message Date
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
Charlie Fenton f32e42e1bb Update sandbox security documentation
svn path=/trunk/boinc/; revision=13839
2007-10-12 05:11:04 +00:00
Charlie Fenton a1da761346 Tweaks to screensaver
svn path=/trunk/boinc/; revision=13838
2007-10-12 05:10:52 +00:00
Charlie Fenton c4d01fe471 Tweaks to screensaver, update sandbox security documentation
svn path=/trunk/boinc/; revision=13837
2007-10-12 05:10:27 +00:00
Charlie Fenton 274c217422 Fix typo in comment.
svn path=/trunk/boinc/; revision=13836
2007-10-11 21:55:42 +00:00
Eric J. Korpela a5532cd0d8 Require non-zero credit to create profile. David will modify to be
configuration option


svn path=/trunk/boinc/; revision=13835
2007-10-11 15:28:12 +00:00
Frank Thomas 6d341df856 Remove the symlinks status and stop on "make clean".
svn path=/trunk/boinc/; revision=13834
2007-10-11 13:24:22 +00:00
Charlie Fenton 1d70f435af Remove obsolete screensaver comments
svn path=/trunk/boinc/; revision=13833
2007-10-11 11:19:04 +00:00
Charlie Fenton 0469e91fc1 Fix typos in comments
svn path=/trunk/boinc/; revision=13832
2007-10-11 11:18:43 +00:00
Charlie Fenton bce07112ee Fix comments.
svn path=/trunk/boinc/; revision=13831
2007-10-11 11:18:28 +00:00
Charlie Fenton eb9cfe6b20 V6 GFX: Fix bugs in graphics compatibility with V5 applications
svn path=/trunk/boinc/; revision=13830
2007-10-11 11:02:48 +00:00
Charlie Fenton 3fe9503f96 Mac: Remove obsolete files gui_titles.C,h from XCode project.
svn path=/trunk/boinc/; revision=13829
2007-10-11 01:42:07 +00:00
Charlie Fenton 3d4f4c1780 Mac V5 GFX API: In setMacPList(), if resource already exists, don't call getPathToThisApp() because it leaves a zombie process.
svn path=/trunk/boinc/; revision=13828
2007-10-11 01:41:33 +00:00
Charlie Fenton 14b3bc63f3 Mac: Remove obsolete files gui_titles.C,h from XCode project. Mac V5 GFX API: In setMacPList(), if resource already exists, don't call getPathToThisApp() because it leaves a zombie process.
svn path=/trunk/boinc/; revision=13827
2007-10-11 01:41:06 +00:00
Janus B. Kristensen 67d7560097 - Ipbans table for Bittorrent
- Fixed an issue with magic quotes in the tracker

svn path=/trunk/boinc/; revision=13826
2007-10-10 21:13:48 +00:00
Janus B. Kristensen 05f6bc678f Due to magic quotes check the IDs and hashes are now always 20 bytes
svn path=/trunk/boinc/; revision=13825
2007-10-10 21:06:10 +00:00
Janus B. Kristensen d6d1b2bf73 Added check for magic quotes
svn path=/trunk/boinc/; revision=13824
2007-10-10 21:04:20 +00:00
Rom Walton 69d6146da9 New Setup Checkpoint
svn path=/trunk/boinc/; revision=13823
2007-10-10 16:47:20 +00:00
David Anderson 708e5cd161 svn path=/trunk/boinc/; revision=13822 2007-10-10 15:58:43 +00:00
David Anderson fde3a60e13 - client/lib: compile fixes for OpenBSD
svn path=/trunk/boinc/; revision=13821
2007-10-10 15:57:59 +00:00
Rom Walton d501a9e505 Update translation catalog
svn path=/trunk/boinc/; revision=13820
2007-10-10 14:31:59 +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
Janus B. Kristensen f08a68f9ee The ipbans table has a list of banned IPs, keep in mind, though that this resets when the MySQL server is restarted, so a single user may not be banned forever (people on non-static IPs shouldn't be able to punish the person getting that IP next anyways)
svn path=/trunk/boinc/; revision=13818
2007-10-10 07:57:23 +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
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
Charlie Fenton 1d4a1ad147 Code cleanup
svn path=/trunk/boinc/; revision=13812
2007-10-09 13:54:26 +00:00