Commit Graph

12043 Commits

Author SHA1 Message Date
Rom Walton e3558ce478 - MGR: Fix small bug when displaying the active task count in the
taskbar.
        
    clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=15593
2008-07-11 16:07:42 +00:00
Charlie Fenton 6a40f89107 MGR: Small bug fix in new sortable Accessible Views
svn path=/trunk/boinc/; revision=15592
2008-07-11 08:16:38 +00:00
David Anderson d0ca745a0b - client, Linux: change CUDA probing.
libcudart{32,64}.so is bundled with client.
    client loads it and if successful calls the device-query functions.
- client, Linux: append the current directory
    (i.e., the BOINC data directory) to the LD_LIBRARY_PATH for apps.
    This goes after the project dir and the slot dir.
    This lets apps link to libcudartX.so.
    NOTE: this is not recommended; better to include it with your app.
- client: allow for multiple messages from coproc probing
- fixed indentation in cs_platforms.C


svn path=/trunk/boinc/; revision=15591
2008-07-10 21:57:18 +00:00
Rom Walton db5b92b4ae Quick Updates
svn path=/trunk/boinc/; revision=15590
2008-07-10 21:55:12 +00:00
Rom Walton dddeba4c77 - CC: Read the config file before setting the max file sizes.
client/
        main.C

svn path=/trunk/boinc/; revision=15588
2008-07-10 21:49:24 +00:00
Charlie Fenton e18b7c5c25 MGR: Change wxEVT_DRAW_BARGRAPH from 10000 to 12000 to avoid possible conflict with wxEVT_FRAME_ALERT
svn path=/trunk/boinc/; revision=15587
2008-07-10 09:45:16 +00:00
Rom Walton bf532fdbc1 - WINSETUP: Normalize the special paths checks.
win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp
        CAVerifyInstallDirectories.cpp

svn path=/trunk/boinc/; revision=15585
2008-07-09 16:44:14 +00:00
Rom Walton a065555ca5 - MGR: Fix the application name for both views.
(ANSI/Unicode compatible)(VS/GCC compatible)
    
    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=15584
2008-07-09 16:42:15 +00:00
Charlie Fenton c8a175ae3c Release Mac BOINC 6.2.12
svn path=/trunk/boinc/; revision=15583
2008-07-09 11:24:54 +00:00
Charlie Fenton 98ae7219a4 client: Fix build breaks on Mac due to removal of headers from cpp.h
svn path=/trunk/boinc/; revision=15582
2008-07-09 11:08:53 +00:00
Charlie Fenton 3efaa02ae1 MGR: better clean up when connection lost while filtering messages
svn path=/trunk/boinc/; revision=15578
2008-07-09 06:31:13 +00:00
Charlie Fenton a4a45a6201 MGR: Fix build breaks from previous changes.
svn path=/trunk/boinc/; revision=15577
2008-07-09 06:15:27 +00:00
Charlie Fenton 03af80db2b MGR: Fix build breaks from previous changes.
svn path=/trunk/boinc/; revision=15576
2008-07-09 06:15:17 +00:00
Rom Walton 0fd57fa3f6 - MGR: Fix the application name for both views.
NOTE: the data type 'char' should NOT be used within the various
        views. This is the classic example of how direct data access
        messes things up in projects with many developers. Use wxString
        with the PrintF method instead.

    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=15574
2008-07-09 03:46:34 +00:00
Eric J. Korpela cbde755a32 sparc-solaris: detect_platforms() now checks if it is possible to run 64-bit
apps.

svn path=/trunk/boinc/; revision=15573
2008-07-08 23:51:54 +00:00
Rom Walton 0dbb698403 Quick Updates
svn path=/trunk/boinc/; revision=15572
2008-07-08 23:16:11 +00:00
David Anderson f65d1927ae svn path=/trunk/boinc/; revision=15570 2008-07-08 21:13:27 +00:00
David Anderson f69a288ac0 - web: if stop_web file is present, don't allow any DB access
(I broke this a few days ago)
- client: improve message for file upload server errors

svn path=/trunk/boinc/; revision=15569
2008-07-08 21:07:33 +00:00
Eric J. Korpela 47ff3d9bd4 Fix for compilers that can't concatenate a normal character string
to a wide character string.  For example L"Hi "  "There" works in GCC
but not in some compilers because L"Hi " has a different type than
"There". This primarily shows up in SunStudio compilers.  The fix is
ugly, but it works.


svn path=/trunk/boinc/; revision=15568
2008-07-08 20:05:07 +00:00
Rom Walton f5af62882f - WINSETUP: Prevent certain special paths from being used for either
the install directory or the data directory. Prevent this from
        both the UI component of setup, and if the situation is detected
        from the migration custom action, skip migration.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAMigrateBOINCData.cpp
        CAVerifyInstallDirectories.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15567
2008-07-08 17:51:19 +00:00
Rytis Slatkevičius f9a7648ec4 user web: fix forum preferences saving (empty signatures were not allowed).
svn path=/trunk/boinc/; revision=15566
2008-07-08 17:42:52 +00:00
Eric J. Korpela 4d3dd2cdab Fixes for problems with unicode build.
svn path=/trunk/boinc/; revision=15562
2008-07-08 16:24:13 +00:00
Charlie Fenton af866dd801 MGR: Use std::stable_sort to stop rows with equal values in the sort column changing places randomly
svn path=/trunk/boinc/; revision=15561
2008-07-08 15:13:34 +00:00
Charlie Fenton 75bd883fcb MGR: cancel single-project message filtering if we lose connection or select a different host
svn path=/trunk/boinc/; revision=15560
2008-07-08 13:13:20 +00:00
Charlie Fenton 2d193f918f MGR: Add "Show only this project" button to messages tab
svn path=/trunk/boinc/; revision=15559
2008-07-08 12:47:05 +00:00
Eric J. Korpela 6006949316 Fixed typo in Makefile.am
svn path=/trunk/boinc/; revision=15555
2008-07-07 20:11:04 +00:00
David Anderson a054467f9b - web: include "reason" field in emails for thread moderation
svn path=/trunk/boinc/; revision=15553
2008-07-06 22:30:10 +00:00
David Anderson 520142d475 - web: check profile text with Akismet if enabled
- web: in get_logged_in_user(), check for bad user agent types
    (a bit of spam-resistance)

svn path=/trunk/boinc/; revision=15552
2008-07-04 20:06:31 +00:00
David Anderson 234234569b - Improvements to single-job submission:
1) the assimilator creates a job_summary_WUID file saying
        - what host did the job
        - error status if any
        - info about missing output files
    2) all output files are now optional.
    3) the assimilator deletes temp files (templates, job dir file)

svn path=/trunk/boinc/; revision=15551
2008-07-04 19:41:58 +00:00
David Anderson a5a7332b6e svn path=/trunk/boinc/; revision=15549 2008-07-03 20:17:51 +00:00
David Anderson aaaa00ee44 - API: read heartbeat messages only if options.check_heartbest is set.
Otherwise, in compound apps we'll have both monitor and worker
    reading the messages; this is a race condition
    and will lead to spurious "no heartbeat" exits.

svn path=/trunk/boinc/; revision=15548
2008-07-03 19:40:49 +00:00
David Anderson e9fe83cf8b - boinc_submit: add --jobs and --abort options
svn path=/trunk/boinc/; revision=15547
2008-07-03 18:41:13 +00:00
Rom Walton 288c0df997 - WINSETUP: Change the custom action descriptions for those custom
actions that deal with user rights and privileges and user
        accounts.
    - WINSETUP: Add some basic benchmarking code for user rights and
        privileges

    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CAGrantBOINCAdminsRights.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAGrantBOINCProjectsRights.cpp
        CAGrantBOINCUsersRights.cpp
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=15546
2008-07-03 18:37:20 +00:00
David Anderson 9299d34c20 svn path=/trunk/boinc/; revision=15545 2008-07-03 18:08:28 +00:00
David Anderson c478b9f9e0 - client and server: the client includes global_prefs.xml
in scheduler request messages, without checking its contents.
    One user had apparently edited global_prefs.xml with an XML editor;
    it had an <?xml tag at the start,
    and had been collapsed into a single line with no newlines,
    and no newline at the end.
    This caused all scheduler requests from that client to get
    "Incomplete request" responses.

    The long-term fix is for the client to verify global_prefs.xml,
    and for the scheduler to parse it with XML_PARSER.
    As a short-term fix, I made these changes:
    - If the scheduler reads a line that's too long, it ignores it.
    - The scheduler ignores <?xml

svn path=/trunk/boinc/; revision=15543
2008-07-02 23:19:44 +00:00
David Anderson 540513fc7e - typo in make_project
svn path=/trunk/boinc/; revision=15542
2008-07-02 21:59:40 +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
Charlie Fenton 0d105ea386 clean up checkin_notes
svn path=/trunk/boinc/; revision=15540
2008-07-02 11:48:01 +00:00
Charlie Fenton 84bb864d83 MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15539
2008-07-02 10:57:27 +00:00
Charlie Fenton a01a3f4568 MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15538
2008-07-02 10:03:15 +00:00
Charlie Fenton 2950cc0ece MGR: New tasks and projects properties displays from Frank Weiler
svn path=/trunk/boinc/; revision=15537
2008-07-02 10:03:01 +00:00
David Anderson 72639010cd - create_work: couldn't connect to database because it had
an automatic var SCHED_CONFIG (hence nonzero)
- make_project: include xadd in list of instructions
- boinc_submit: fix bugs in --stdin

svn path=/trunk/boinc/; revision=15536
2008-07-01 23:40:46 +00:00
David Anderson c74f8d9a17 svn path=/trunk/boinc/; revision=15534 2008-07-01 22:16:49 +00:00
David Anderson 87c57e4444 svn path=/trunk/boinc/; revision=15533 2008-07-01 22:15:55 +00:00
David Anderson 2d6d4110ea - web: don't check for the stop_web file in BoincDb::get().
That forces that file to include a bunch of unnecessary stuff.
    Do the check at a higher level.

svn path=/trunk/boinc/; revision=15532
2008-07-01 22:11:28 +00:00
Eric J. Korpela 6e802a386d svn path=/trunk/boinc/; revision=15531 2008-07-01 21:30:27 +00:00
Eric J. Korpela 0124e04750 Fixes ticket #537. Forces use of small files in zlib.h and when /proc
filesystem is used on solaris.

svn path=/trunk/boinc/; revision=15530
2008-07-01 21:27:25 +00:00
David Anderson 7f1e1c5ed9 svn path=/trunk/boinc/; revision=15529 2008-07-01 21:08:23 +00:00
David Anderson cc1dbce215 svn path=/trunk/boinc/; revision=15528 2008-07-01 21:06:14 +00:00
David Anderson 012ffd3614 - bolt stuff
svn path=/trunk/boinc/; revision=15527
2008-07-01 20:33:39 +00:00