Commit Graph

19446 Commits

Author SHA1 Message Date
David Anderson 9fa75d5044 - client: tweak to the above: never ask for work if buffer > max.
This is needed to prevent projects that use next_rpc_delay
    from queuing unbounded work.


svn path=/trunk/boinc/; revision=26003
2012-08-10 18:49:22 +00:00
David Anderson ff1a391ced - client: when we're making a scheduler RPC
for a reason other than work fetch,
    and we're deciding whether to piggyback a work request,
    skip the checks for hysteresis (buffer < min)
    and for per-resource backoff time.
    These checks are there only to limit the rate of RPCs,
    which is not relevant since we're doing one any.

    This fixes a bug where a project w/ sporadic jobs specifies
    a next_rpc_delay to ensure regular polling from clients.
    When these polls occur they should request work regardless of backoff.


svn path=/trunk/boinc/; revision=26002
2012-08-10 18:29:00 +00:00
Eric J. Korpela d49976d6c6 svn path=/trunk/boinc/; revision=26001 2012-08-09 20:34:35 +00:00
Eric J. Korpela 9b9ec18d69 - Fixed typo
svn path=/trunk/boinc/; revision=26000
2012-08-09 16:23:38 +00:00
Eric J. Korpela 5c24fc50eb - Credit is more stable when pegged_avg() is used.
- When a normal and an approx result are compared the normal result now gets
  double weight in a pegged_avg() with any approx results. "Normal mode" GPU 
  results are frequently resulting in bad credit values for yet undetermined 
  reasons.  Since GPUs are so fast, there can be a lot of bad values in a 
  short time.  Including the prior average and another result even seems to
  prevent this in many case.
- Replaced many of the if { msg_log.printf } with msg_log.cond_printf()
- Accidentally changed some of the formatting when trying a new editor that
  apparently autoformats. Sorry for the extra diff lines.
- There's a problem with pfc calculation for hosts whose credit calculation
  fails the sanity check.  This has been a problem for a long time.  Because the
  result fails the sanity check, the host_app_version pfc is never updated.
  Because hav.pfc is never updated, the credit calculation continues to be
  wrong. To quote Quinn, it's like one of those viscious things. I hope to 
  fix that soon.

svn path=/trunk/boinc/; revision=25999
2012-08-09 03:02:51 +00:00
Eric J. Korpela 9df37a1b89 - Added conditional printf to the message log class, since most scheduler log
output seems to be conditional on config parameters such as
  config.debug_version_select.

svn path=/trunk/boinc/; revision=25998
2012-08-09 01:49:03 +00:00
Charlie Fenton 31c4aa49c5 MGR: Fix build break
svn path=/trunk/boinc/; revision=25997
2012-08-09 00:56:10 +00:00
David Anderson d085bc4ee6 - Client/manager: there was a bug because some code was writing
"cpu" in XML, and other code was looking for "CPU".
    To fix this and prevent similar problems,
    processor type names are now encapsulated in proc_type_name_xml().
    Code should use this rather than having hard-wired names.
    Redefine: GPU_TYPE_* as macros that call proc_type_name_xml().


svn path=/trunk/boinc/; revision=25996
2012-08-08 23:09:43 +00:00
David Anderson 7335c036fc - server: volunteer storage bug fixes.
Note to self: jerasure's decoder program loops or crashs
        if there are no missing chunks.

svn path=/trunk/boinc/; revision=25995
2012-08-08 21:37:51 +00:00
Eric J. Korpela 04c485b8da svn path=/trunk/boinc/; revision=25994 2012-08-08 20:20:52 +00:00
Charlie Fenton 0c30ba9784 WIN: Remove reference to deleted tgalib.cpp file
svn path=/trunk/boinc/; revision=25993
2012-08-08 01:20:51 +00:00
David Anderson 2dd5276300 - client: parse <network_wifi_only> in prefs
- server: compile fix


svn path=/trunk/boinc/; revision=25991
2012-08-07 22:49:40 +00:00
Rom Walton 813409168b - WINSCR: Fix problem with the screensaver needlessly cycling in
preview mode.  Ugh.

svn path=/trunk/boinc/; revision=25990
2012-08-07 21:43:30 +00:00
Rom Walton fd631016cb - API: Remove ttfont.cpp from Makefile.am. Apps should include it
in there Makefile as needed.

svn path=/trunk/boinc/; revision=25989
2012-08-07 18:11:38 +00:00
Rom Walton 8a5053e670 - MGR: Enforce the 0..10 day limit on the connect interval for the
advanced preferences dialog.  At some point we should rename
        it.

    clientgui/
        DlgAdvPreferences.cpp

svn path=/trunk/boinc/; revision=25988
2012-08-07 17:21:58 +00:00
David Anderson 26d702789c - client: fix error in runtime estimation for active tasks
svn path=/trunk/boinc/; revision=25987
2012-08-06 23:25:31 +00:00
Rom Walton abc3c85ce8 - WIN: Don't include the newer DBGHELP symbols in MinGW64.
(From Oliver Bock)
        
    lib/
        stackwalker_imports.h

svn path=/trunk/boinc/; revision=25986
2012-08-06 15:39:37 +00:00
David Anderson 13b6aefbd7 - scheduler: fix message typo
svn path=/trunk/boinc/; revision=25985
2012-08-05 01:40:19 +00:00
Eric J. Korpela 89695dd531 - Added check of header <sys/sem.h> and associated macro HAVE_SYS_SEM_H
svn path=/trunk/boinc/; revision=25984
2012-08-04 19:04:35 +00:00
David Anderson e20c9a42b7 - client: other Android stuff, from Joachim
svn path=/trunk/boinc/; revision=25983
2012-08-04 00:56:08 +00:00
David Anderson 22f93cf009 - Client: initial checkin for Android version. From Joachim Fritzsch.
svn path=/trunk/boinc/; revision=25982
2012-08-04 00:27:32 +00:00
Charlie Fenton 0dc55b4634 Mac: Update build instructions and build script
svn path=/trunk/boinc/; revision=25980
2012-08-03 22:20:28 +00:00
Charlie Fenton ea7f93f484 Mac: Update build instructions and build script
svn path=/trunk/boinc/; revision=25978
2012-08-03 22:08:27 +00:00
Charlie Fenton 74452bfbd0 API: remove references to removed files bmplib.h and tgalib.h
svn path=/trunk/boinc/; revision=25977
2012-08-03 22:07:04 +00:00
David Anderson 2b2e7c5cf9 - API: remove support for BMP and TGA image files;
the code to parse these had no license info.
    Only JPEG is supported now.


svn path=/trunk/boinc/; revision=25976
2012-08-03 21:56:42 +00:00
Rom Walton 1799dd2620 - WIN: Make the example graphics application build again.
- WIN: Get rid of the linker warnings for both the default screensaver and
        the example graphics application

svn path=/trunk/boinc/; revision=25975
2012-08-03 21:12:49 +00:00
David Anderson 1189951953 - volunteer storage. Seems to be working, at least in simulation
svn path=/trunk/boinc/; revision=25974
2012-08-03 16:41:00 +00:00
Rom Walton e613459377 - VBOX: Do not perform the hardware virtualization check when the
guest VM is 64-bit.  64-bit guest vms require hardware virtualization
        and should fail without it.
    - VBOX: Implement the <copy_to_shared/> directive in the vbox_job.xml file.
        if <copy_to_shared>init_data.xml</copy_to_shared> is set, the wrapper will
        copy the init_data.xml file to the shared directory before the VM is launched.

svn path=/trunk/boinc/; revision=25973
2012-08-03 16:24:12 +00:00
Charlie Fenton 21cd3d3ffd Sample Graphics app: Switch from *.txf fonts to TrueType font
svn path=/trunk/boinc/; revision=25972
2012-08-03 12:11:27 +00:00
Charlie Fenton 2157e5b89a Sample Graphics app: Switch from *.txf fonts to TrueType fonts
svn path=/trunk/boinc/; revision=25969
2012-08-03 08:59:32 +00:00
Charlie Fenton 15e46e7113 Sample Graphics app: Switch from *.txf fonts to TrueType fonts
svn path=/trunk/boinc/; revision=25968
2012-08-03 08:58:50 +00:00
Rom Walton 095c5565ac Fix unresolved symbol build breaks
svn path=/trunk/boinc/; revision=25965
2012-08-03 02:16:39 +00:00
Charlie Fenton 857324f5f9 Fix mixed line endings
svn path=/trunk/boinc/; revision=25963
2012-08-03 02:02:05 +00:00
Rom Walton 832386c4e0 - SS: Update project files to use FreeType and FTGL on Windows.
api/
        ttfont.cpp, .h
    clientscr/
        ss_app.cpp
    win_build/
        boinc_ss.vcproj
        libgraphics2.vcproj

svn path=/trunk/boinc/; revision=25962
2012-08-03 01:18:20 +00:00
Eric J. Korpela 513744f7c8 - Fixed a bug that caused FCGI compiles to fail due to redefinition of
__attribute__ on LINUX GCC compiles.


svn path=/trunk/boinc/; revision=25960
2012-08-03 00:49:07 +00:00
Eric J. Korpela d7b7609059 - Altered randomization factor in version selection to remove slower versions
from distributions more rapidly.


svn path=/trunk/boinc/; revision=25958
2012-08-02 23:18:51 +00:00
David Anderson c4b337d276 - scheduler: compile fixes for FCGI
svn path=/trunk/boinc/; revision=25955
2012-08-02 16:17:10 +00:00
Eric J. Korpela 29d5781a34 - Modified credit granting for "appox credit" result to weight results by
proximity to the average estimate.  This reduces the number of results that
  are granted extremely low credit when a new app_version is released and (I
  hope) improves work/duration estimates by speeding up the convergence of app
  versions stats.  I may try using this in lieu of low_average for normal
  result, but haven't yet.


svn path=/trunk/boinc/; revision=25953
2012-08-02 15:45:13 +00:00
Charlie Fenton 55cf688abe Mac: Update scripts for building branded installers to allow building with Xcode 4.3 under OS 10.7.x Lion
svn path=/trunk/boinc/; revision=25951
2012-08-02 11:20:22 +00:00
Charlie Fenton 79a201ce33 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25945
2012-08-02 07:21:03 +00:00
Charlie Fenton a49e933d7e API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25944
2012-08-02 07:19:11 +00:00
Charlie Fenton e51d8e804f API, SCR: Switch from *.txf fonts to TrueType fonts in graphics applications, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25943
2012-08-02 07:15:18 +00:00
Charlie Fenton a29d362d9b API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25942
2012-08-02 07:14:06 +00:00
Charlie Fenton 8624cfb5e9 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25941
2012-08-02 07:00:45 +00:00
Charlie Fenton 0a3bf2c1f4 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25940
2012-08-02 06:59:49 +00:00
Charlie Fenton 6acb88ca81 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues
svn path=/trunk/boinc/; revision=25939
2012-08-02 06:53:11 +00:00
David Anderson da7e40f142 - use <cmath> instead of <math.h>. Seems to be needed on Debian.
svn path=/trunk/boinc/; revision=25938
2012-08-01 21:21:38 +00:00
David Anderson 2e71ade9c5 Win compile fixes
svn path=/trunk/boinc/; revision=25937
2012-08-01 21:02:54 +00:00
David Anderson 405f567c81 - code cleanup: in foo.cpp, include foo.h first
svn path=/trunk/boinc/; revision=25933
2012-08-01 20:04:05 +00:00
David Anderson 5f62bc9860 svn path=/trunk/boinc/; revision=25932 2012-08-01 18:29:12 +00:00