Commit Graph

12109 Commits

Author SHA1 Message Date
David Anderson 3dd69f52cd - client: improve error messages when can't copy files
- client: change CUDA detection on Linux and Mac.
    Look for libcuda.so in /usr/lib/nvidia and /usr/lib64/nvidia.
    If we find it, assume that libcudart is in the library path.

svn path=/trunk/boinc/; revision=15477
2008-06-26 03:50:03 +00:00
Charlie Fenton 2b12a255e8 MGR List View: after sort, refresh only moved rows, start adding multiple selection support
svn path=/workspaces/wxListCtrl/; revision=15476
2008-06-26 01:25:31 +00:00
Rom Walton ef6ac744bd Quick Updates
svn path=/trunk/boinc/; revision=15475
2008-06-25 19:38:55 +00:00
Rom Walton fc27eb0e50 Quick Updates
svn path=/trunk/boinc/; revision=15473
2008-06-25 19:15:55 +00:00
Rom Walton 1238d2d18b - MGR: If more than two active tasks are running then tell the
user how many active tasks are running instead of attempting
        to display the percent complete of each one.
    - MGR: If the computer name is the local host then skip displaying
        it in the tooltip.
        
    clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=15469
2008-06-25 18:11:28 +00:00
Rom Walton e3037aa5e2 - WINSETUP: Store and cleanup a set of flags to avoid repeatedly
migrating data back and forth.
    - WINSETUP: If the migration uninstall routine detects a newer
        version of BOINC being installed, skip the uninstall process.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas95.def
        boinccas95.vcproj
        CAMigrateBOINCData.cpp
        CAMigrateBOINCDataCleanup.cpp, .h (Added)
        CAMigrateBOINCDataVersion.cpp, .h (Added)
        CAValidateInstall.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=15466
2008-06-25 17:28:50 +00:00
Charlie Fenton 4b885b2601 Eliminate some unnecessary sorting.
svn path=/workspaces/wxListCtrl/; revision=15465
2008-06-25 14:45:03 +00:00
Charlie Fenton 6f9c7e70f9 Mgr List View Task tab: re-sort if data in sort column changes
svn path=/workspaces/wxListCtrl/; revision=15464
2008-06-25 13:53:52 +00:00
Charlie Fenton 494aa58eca Add full sorting to List View Tasks tab
svn path=/workspaces/wxListCtrl/; revision=15463
2008-06-25 13:12:39 +00:00
Charlie Fenton b5258056ac MGR List View: store Tasks data in native form; format data only to display; add array of sorted indexes; start adding column sorting.
svn path=/workspaces/wxListCtrl/; revision=15462
2008-06-25 10:38:16 +00:00
David Anderson 8062bc1bbd - web: insert() functions return ID
svn path=/trunk/boinc/; revision=15461
2008-06-24 22:20:40 +00:00
Charlie Fenton 48062cc0b5 MGR: Add contrasting background on alternate rows and progress bars to List Views
svn path=/workspaces/wxListCtrl/; revision=15460
2008-06-24 11:56:06 +00:00
Charlie Fenton deede01767 MGR: Add contrasting background on alternate rows and progress bars to List Views
svn path=/workspaces/wxListCtrl/; revision=15459
2008-06-24 11:47:34 +00:00
Charlie Fenton 4d13e411e8 MGR: Add contrasting background on alternate rows and progress bars to List Views
svn path=/workspaces/wxListCtrl/; revision=15458
2008-06-24 10:52:12 +00:00
Charlie Fenton 5c70f3d1e0 MGR: Fix build breaks on Mac.
svn path=/trunk/boinc/; revision=15456
2008-06-24 01:09:19 +00:00
Charlie Fenton c719556ae7 MGR: Fix build breaks on Mac.
svn path=/trunk/boinc/; revision=15455
2008-06-24 01:09:09 +00:00
David Anderson 6e731f0b7a - API, Unix: when boinc_finish(x) is called, exit with code x
even if signals happen in the atexit() handling
- API: don't print XML parse warnings for init_data.xml file

svn path=/trunk/boinc/; revision=15454
2008-06-23 19:51:07 +00:00
Rom Walton d1cff66f64 - MGR: Change from using balloons to tooltips. Fixes #9.
Thanks David Barnard.
      
    clientgui/
        BOINCTaskBar.cpp
    clientgui/msw/
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=15452
2008-06-23 18:47:51 +00:00
Rom Walton ab7d5902c8 - MGR: Fix the Alt-Tab icon on Windows XP. Fixes# 586.
Thanks Der Meister.
      
    clientgui/
        AdvancedFrame.cpp, .h
        BOINCGUIApp.cpp
        sg_BoincSimpleGUI.cpp, .h
        SkinManager.cpp, .h
    clientgui/res/
        boinc32.xpm
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=15450
2008-06-23 17:54:44 +00:00
David Anderson 8a99ca794a - API: compile fix
svn path=/trunk/boinc/; revision=15447
2008-06-23 15:36:51 +00:00
David Anderson 48675cea31 - client: print msgs if can't find CUDA libs
svn path=/trunk/boinc/; revision=15446
2008-06-23 02:41:34 +00:00
David Anderson e88e698106 - scheduler: change message if bad auth (fixes #685)
svn path=/trunk/boinc/; revision=15445
2008-06-22 19:14:53 +00:00
David Anderson 5a3d1fc0a5 - client (Win): if we're not in protected mode,
don't create shmem segs in global name space.
    Hopefully this will fix a bug
    (on Vista, UAC off, non-protected install)
    where apps fail to attach to shmem.

svn path=/trunk/boinc/; revision=15444
2008-06-20 21:33:02 +00:00
David Anderson bf55f0838d - client (Win): if running as service, and service is suspended/resumed,
restore previous run state rather than going to auto.
- client: improve startup messages (non-system user??)

svn path=/trunk/boinc/; revision=15442
2008-06-20 16:21:55 +00:00
Charlie Fenton 279d613910 Release Mac BOINC 6.2.8
svn path=/trunk/boinc/; revision=15441
2008-06-20 09:39:22 +00:00
Rom Walton 4ab377d36a Quick Updates
svn path=/trunk/boinc/; revision=15440
2008-06-20 05:02:16 +00:00
Rom Walton e12793172a Bug Fixes and binary updates
svn path=/trunk/boinc/; revision=15439
2008-06-19 22:32:01 +00:00
David Anderson 4210ccff4c - diagnostics library: in signal handler, use _exit() instead of exit();
an atexit() function might have been what caused the signal

svn path=/trunk/boinc/; revision=15437
2008-06-19 20:56:36 +00:00
Rom Walton ea6328235b - WINSETUP: Suppress the reboot prompt and just reboot, since we
have already informed the user it is needed on the conformation
        screen
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.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=15436
2008-06-19 18:39:58 +00:00
Rom Walton 273f9fa0ae - WINSETUP: Properties that are changed during the execution phase
of setup do NOT bubble back up to the UI phase of setup when
        completed. Create some custom actions that store those properties
        in the registry and then read them back after we are back in the
        UI phase. Without them we cannot control what text is displayed
        in the setup completion dialog.
        
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.cpp
        boinccas95.def
        boinccas95.vcproj
        CARestoreExecutionState.cpp, .h (Added)
        CASaveExecutionState.cpp, .h (Added)
    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=15435
2008-06-19 18:02:28 +00:00
David Anderson e65c5f562e svn path=/trunk/boinc/; revision=15434 2008-06-19 03:58:19 +00:00
David Anderson 13319d65f8 - If a hidden post is deleted, don't decrement its thread's post count;
it was already decremented when the post was hidden
- Added a function to forum_repair.php to fix inconsistencies
    due to the above bug

svn path=/trunk/boinc/; revision=15433
2008-06-19 03:44:27 +00:00
David Anderson 98875fe047 Changed deliberate segfault into an assert+return so segfault won't occur
in release code.


svn path=/trunk/boinc/; revision=15432
2008-06-19 01:13:51 +00:00
David Anderson 8611ca27aa - web: in team remove-user form, link names and show IDs
svn path=/trunk/boinc/; revision=15428
2008-06-18 19:52:20 +00:00
Rom Walton 6c9b4626ae - WINSETUP: Validate that the installed executables are
the ones we are expecting.
    - WINSETUP: Do not allow the data directory and install
        directory to be the same directory.
    - WINSETUP: Reduce the amount of time allocated to
        shutdown the BOINC Manager from 30 secs to 5 secs
        before killing it. Otherwise the user thinks the
        install process is hung.
    - WINSETUP: Change text for describing the protected
        mode install
    - WINSETUP: Add text describing the reason for a reboot
    - WINSETUP: Add text describing the need to run a repair
        in the case where a third party BOINC CC was installed
        or a private drop of the CC was used.
        
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas.vcproj
        boinccas95.def
        boinccas95.vcproj
        CAShutdownBOINCManager.cpp
        CAValidateInstall.cpp, .h (added)
        CAVerifyInstallDirectories.cpp, .h (added)
    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=15425
2008-06-18 17:17:04 +00:00
David Anderson 796a8ef835 - change EXIT_ABORTED_VIA_GUI to EXIT_ABORTED_BY_CLIENT
- change ERR_CHILD_FAILED TO EXIT_CHILD_FAILED
    (it's an exit code, not a function error code)
- client: reduce severity of benchmark error
- scheduler: compile fix

svn path=/trunk/boinc/; revision=15423
2008-06-18 16:43:05 +00:00
David Anderson bfa6747467 - web: shuffle code to eliminate redundancy
svn path=/trunk/boinc/; revision=15419
2008-06-17 17:38:02 +00:00
David Anderson 7678669df5 Small fix for MINGW32 build
svn path=/trunk/boinc/; revision=15411
2008-06-17 16:19:36 +00:00
David Anderson b8f17039b4 svn path=/trunk/boinc/; revision=15410 2008-06-17 16:15:39 +00:00
David Anderson d737c428ff - scheduler: if host.n_bwdown is zero, skip the bandwidth check;
the host hasn't been measured yet.

svn path=/trunk/boinc/; revision=15409
2008-06-17 16:09:27 +00:00
David Anderson ccc92976e9 - client: fix crashing bug when detach from project.
The problem: the variable ordered_scheduled_results
    has a list of pointers to RESULTs.
    These pointers become dangling when the project is detached.
    It's not sufficient to do schedule_cpus() because this returns
    immediately if # projects == 0.
    So clear the list directly.
    Rom: please port to 6.2

svn path=/trunk/boinc/; revision=15407
2008-06-16 16:52:17 +00:00
David Anderson b16fb12329 - manager: fix some strings ("comm" is not an OK abbrev.)
Also got rid of references to Yahoo.

svn path=/trunk/boinc/; revision=15406
2008-06-14 20:38:57 +00:00
David Anderson b0aadb0e4e svn path=/trunk/boinc/; revision=15399 2008-06-13 16:46:28 +00:00
David Anderson 956a5a2cc5 - web: fixed numerous bugs in team founder transfer mechanism
svn path=/trunk/boinc/; revision=15398
2008-06-13 16:40:51 +00:00
David Anderson 77c7ff3649 - client/API: add "computation_deadline" to APP_INIT_DATA.
This supports apps that can do variable amounts of computing;
    they can boinc_finish() if their deadline is near.
    Rom: please back-port.

svn path=/trunk/boinc/; revision=15395
2008-06-12 19:05:14 +00:00
David Anderson 3eaff2b345 - API/runtime system: remove "fraction done update period" stuff.
This was always 1 second, which is fine.


svn path=/trunk/boinc/; revision=15394
2008-06-12 18:35:19 +00:00
David Anderson a1db66c12b - web: handle magic quotes correctly in profile create/edit
svn path=/trunk/boinc/; revision=15392
2008-06-12 15:28:06 +00:00
David Anderson aaa60334be - web: add $prefix arg to sample project_header(), project_footer()
(fix links on profile-index pages)
- web: use cache-control "no-store" only for home.php.
    This makes it so that, e.g. if you scroll to the middle of a long page,
    follow a link, then click Back,
    you'll go back the original scroll position rather than top of page.

svn path=/trunk/boinc/; revision=15391
2008-06-12 04:50:10 +00:00
David Anderson d403a14e42 - web: cleaned up logic of string processing.
There are two aspects:
    1) undoing magic quotes (if it's being used).
        This must be done for all GET and POST string inputs.
        It is now done automatically by get_str() and post_str().
        The places that refer to $_GET and $_POST directly
        must do it themselves using undo_magic_quotes().
    2) Escaping user-supplied strings before using them in DB queries.
        This is done by process_user_text()
        (which should be renamed db_escape_string()).
        The new principle:
        call process_user_text() in the function that does the DB query
        (not at any higher level).


svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36:10 +00:00
David Anderson 0eb6091c0a - web fixes
svn path=/trunk/boinc/; revision=15388
2008-06-11 16:49:56 +00:00