Commit Graph

6655 Commits

Author SHA1 Message Date
David Anderson af183bc2db - client: in round-robin simulation, remove code that sets CPU shortfall
for projects with no active results.
        This is now wrong because there coproc apps might have pending results.
        Also remove nidle_cpus > 0 conditional that increments CPU shortfall;
        I think this is vestigial code.

svn path=/trunk/boinc/; revision=16646
2008-12-08 18:26:25 +00:00
David Anderson 86cfca0b44 - manager: clamp percentages at [0,100] in prefs dialog
fixes #794
- wrapper: if app checkpoints, write CPU time to checkpoint file
    fixes #792 (I hope)

svn path=/trunk/boinc/; revision=16645
2008-12-08 04:47:57 +00:00
David Anderson ea4e6f8f21 - client: tweak CPU scheduling policy. When there's a coproc job:
Windows: don't saturate CPUs
    Unix: saturate CPUs

svn path=/trunk/boinc/; revision=16644
2008-12-07 22:06:32 +00:00
David Anderson edf0ab1631 - client: app_info.xml's are parsed before p_fpops is known,
so avp->fpops is zero.
    Fix this by filling in zero avp->fpops later on.

svn path=/trunk/boinc/; revision=16633
2008-12-06 03:19:52 +00:00
Rom Walton eb6c893b30 - WININSTALL: Disable "Protected Application Execution" mode
by default.
    - WININSTALL: Turn off the check for Internet Explorer 5.x

    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CACreateClientAuthFile.cpp
        CARestoreSetupState.cpp
        CASaveSetupState.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=16631
2008-12-05 21:23:19 +00:00
Charlie Fenton 5acee2b23f MGR: restore code to erase and refresh entire Tasks panel when changing tabs but not when changing selections.
svn path=/trunk/boinc/; revision=16629
2008-12-05 01:44:38 +00:00
Charlie Fenton 01a18a5b1b MGR: restore code to erase and refresh entire Tasks panel when changing tabs or selections.
svn path=/trunk/boinc/; revision=16628
2008-12-05 01:13:16 +00:00
David Anderson 40630655f6 - client: fix last checkin
svn path=/trunk/boinc/; revision=16620
2008-12-04 17:54:56 +00:00
Charlie Fenton ba1efc6014 MGR: Restore m_bForceUpdateSelection logic because it is needed to prevent flicker.
svn path=/trunk/boinc/; revision=16618
2008-12-04 11:39:51 +00:00
Charlie Fenton 64f863e894 Restore UpdateSelection() call in CBOINCBaseView::OnListRender() to fix Suspend/Resume button text; set wxWidgets option "msw.staticbox.optimized-paint" to try another fix for Task Pane background erase glitch on Windows.
svn path=/trunk/boinc/; revision=16617
2008-12-04 10:53:27 +00:00
David Anderson 81adb3186f - client: parse checkpoint_elapsed_time from state file;
if missing, use checkpoint CPU time.
    - client: enforce CPU schedule: if we're running a coproc job,
        keep CPU utilization strictly less than NCPUS.

svn path=/trunk/boinc/; revision=16616
2008-12-04 03:51:14 +00:00
Charlie Fenton 6d18e79466 client: fix compiler warning.
svn path=/trunk/boinc/; revision=16615
2008-12-04 02:18:01 +00:00
David Anderson ea0146d154 - client: fix calculation of CPU shortfall;
don't fetch work from projects with zero CPU shortfall

svn path=/trunk/boinc/; revision=16613
2008-12-03 23:30:54 +00:00
David Anderson 79fb6e969e - Remove the notion of "CPU efficiency" from both client and server.
This wasn't being measured correctly for coproc/multithread apps,
    and its effect is now subsumed in DCF.

svn path=/trunk/boinc/; revision=16610
2008-12-03 19:50:06 +00:00
David Anderson e6a87070f3 - manager: in task properties, display elapsed time if available,
and replace "estimated CPU time remaining" with "estimated time remaining"

svn path=/trunk/boinc/; revision=16604
2008-12-03 17:50:44 +00:00
David Anderson 89548f04da - client: compute duration_correction_factor based on elapsed time, not CPU time
(otherwise it doesn't work for coproc or multi-proc apps)
    - client: in estimate of job completion time,
        weight the estimate based on fraction done more heavily
        (quadratic rather than linear)

svn path=/trunk/boinc/; revision=16603
2008-12-02 22:19:39 +00:00
David Anderson 122f61996a - client: estimate time to completion based on elapsed time, not CPU time
(improves estimates for coproc apps)

svn path=/trunk/boinc/; revision=16600
2008-12-02 17:48:29 +00:00
David Anderson 84f1193a9d - client: use FLOPs, rather than CPU time,
as the basis for estimating job completion times.
    This should improve estimates for GPU apps,
    and prevent the DCF from getting messed up.

svn path=/trunk/boinc/; revision=16598
2008-12-02 03:58:32 +00:00
Charlie Fenton a12f67047f MGR: Add style wxFULL_REPAINT_ON_RESIZE to Task Pane, remove previous attempts to fix its backgorund erase; remove obsolete m_bForceUpdateSelection logic.
svn path=/trunk/boinc/; revision=16597
2008-12-02 01:24:32 +00:00
David Anderson e3fd56f5e8 - client: work-fetch tweak: don't increment overall CPU shortfall
if any jobs pending in simulation

svn path=/trunk/boinc/; revision=16595
2008-12-01 22:06:24 +00:00
Charlie Fenton 0e401b7f8d MGR: Update Tasks panel only when necessary, trying again to fix redraw glitch on Windows; fix Mac Messages tab not getting deselection events due to wxWidgets bug.
svn path=/trunk/boinc/; revision=16587
2008-12-01 09:44:01 +00:00
David Anderson 659becc98c - get_project_config.php: if config.xml has min client version,
get client version from HTTP user agent string and enforce.
- update translations script: fix apparent typos

svn path=/trunk/boinc/; revision=16586
2008-11-28 19:03:05 +00:00
Charlie Fenton 12d73b5c3a MGR: Erase and refresh entire Tasks panel when changing selections to try to fix another instance of cosmetic bug reported by David on Windows
svn path=/trunk/boinc/; revision=16585
2008-11-28 09:25:29 +00:00
Rom Walton 7eb975be04 - MGR: fix exit dialog so that both the Mac and Linux clients don't
display the 'close core client...' checkbox.
        
    clientgui/
        BOINCGUIApp.cpp
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16582
2008-11-27 15:50:15 +00:00
David Anderson 8b1e46ad06 - web: fix scripting attack vulnerability
svn path=/trunk/boinc/; revision=16579
2008-11-27 03:16:33 +00:00
David Anderson f8ed8163d2 - server: sleep intervals are integers
svn path=/trunk/boinc/; revision=16577
2008-11-26 20:37:11 +00:00
David Anderson 07bd768e9d - server: add -sleep_interval args to file_deleter and transitioner
(from Nicolas; fixes #783)


svn path=/trunk/boinc/; revision=16576
2008-11-26 19:09:27 +00:00
Charlie Fenton b5d88d4e8c client: Fix error from changeset 14415 which caused Mac client to call daemon() if it was passed -daemon argument, causing problems using launchd with KeepAlive option; fixes #782.
svn path=/trunk/boinc/; revision=16565
2008-11-26 13:43:10 +00:00
David Anderson 149b2c6794 - server: if "terms_of_use.txt" exists in project dir,
send it in get_project_config.php;
    6.4 clients will display a dialog to accept terms of use during attach.

svn path=/trunk/boinc/; revision=16563
2008-11-26 03:28:48 +00:00
Rom Walton a08f50c6f1 - MGR: Make the Terms of Use text control read-only
clientgui/
        TermsOfUsePage.cpp,

svn path=/trunk/boinc/; revision=16562
2008-11-26 01:54:48 +00:00
Rom Walton 08a41ed986 - MGR: Remove the Account Key page from the Wizard.
- MGR: Add a Terms of Use page to the Wizard.
    
    clientgui/
        AccountInfoPage.cpp
        AccountKeyPage.cpp, .h (removed)
        AccountManagerPropertiesPage.cpp, .h
        BOINCWizards.h
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp, .h
        ProxyPage.cpp
        TermsOfUsePage .cpp, .h (added)
        WizardAccountManager.cpp, .h
        WizardAttachProject.cpp, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=16560
2008-11-25 22:58:14 +00:00
David Anderson 372dd820ad - client, Win: 32-bit client running on a 64-bit machine
should report winx64 as primary platform


svn path=/trunk/boinc/; revision=16559
2008-11-25 19:04:27 +00:00
Rom Walton 433bd0bd3e - MGR: Make the error message processing work for the
get_project_config rpc, use the same scheme as
        the ACCOUNT_OUT structure.  I missed the Account
        Manager scenario in the first checkin.
        
    clientgui/
        AccountManagerPropertiesPage.cpp, .h

svn path=/trunk/boinc/; revision=16558
2008-11-25 17:48:55 +00:00
Rom Walton 269e8db2e7 - MGR: Make the error message processing work for the
get_project_config rpc, use the same scheme as
        the ACCOUNT_OUT structure.
    
    clientgui/
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=16557
2008-11-25 17:34:29 +00:00
David Anderson c9fe262b62 - web: fix remaining Bossa name conflicts
svn path=/trunk/boinc/; revision=16554
2008-11-24 23:58:49 +00:00
David Anderson ed924f90a1 - upgrade script: don't stop/start project if --web_only
svn path=/trunk/boinc/; revision=16553
2008-11-24 23:16:40 +00:00
David Anderson fbd50f4ec4 - client: if an exclusive app is running, suspend network
as well as processing

svn path=/trunk/boinc/; revision=16552
2008-11-24 21:27:43 +00:00
David Anderson 79ed766ea8 - GUI RPC: add optional terms_of_use field to project config.
If present, the manager will display this text in a yes/no dialog
    before attachment continues.

svn path=/trunk/boinc/; revision=16549
2008-11-24 21:23:53 +00:00
Rom Walton bb5742004e - DIAG: On Windows move the symbol store directory under the
BOINC data directory structure.  Depending on the version
        of Windows, sometimes the temp directory was being set
        to the system temp directory which is not setup for
        everyone to use.  It is just best to use out data
        directory structure.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=16548
2008-11-24 21:19:42 +00:00
David Anderson c8c0e06d2e - web: rename Bossa functions to avoid name conflict
- web: bug fix in example core for app selection

svn path=/trunk/boinc/; revision=16546
2008-11-24 20:27:18 +00:00
David Anderson 57639bdaae - client: in round-robin simulation, only increment CPU shortfall
(per-project or overall) if there are no pending tasks.
        This is needed when there are coproc (i.e. CUDA) jobs;
        CPUs may be idle because pending jobs are waiting for active jobs
        to release coprocs.
        In this situation the CPU idleness should not be counted as shortfall;
        otherwise (if there are only coproc jobs) there will always be a shortfall,
        and the client will fetch infinite work.

svn path=/trunk/boinc/; revision=16545
2008-11-24 18:57:04 +00:00
Eric J. Korpela 7b95ea5a27 Fixed missing "#if defined(__WXMSW__) || defined(__WXMAC__)"
around CBOINCGUIApp::DeleteTaskBarIcon() 


svn path=/trunk/boinc/; revision=16544
2008-11-24 17:25:16 +00:00
David Anderson c24ffc30fe - manager: tweak strings in Options dialog
svn path=/trunk/boinc/; revision=16539
2008-11-20 20:04:39 +00:00
David Anderson 9ea3663f83 - client: use BELOW_NORMAL_PRIORITY_CLASS instead of 0;
remove specious message

svn path=/trunk/boinc/; revision=16536
2008-11-19 20:20:04 +00:00
David Anderson b5cece0928 - back-end programs: set MySQL option to reconnect to server
if the connection goes away
    (which it apparently does if idle for a while)

svn path=/trunk/boinc/; revision=16532
2008-11-19 00:16:07 +00:00
David Anderson 9967112f60 - client: if bind fails, print port#
- web: don't randomize order of profiles
    (fixes checkin of 28 Oct)

svn path=/trunk/boinc/; revision=16520
2008-11-18 17:33:13 +00:00
Charlie Fenton b39c613916 Correct typo in date of latest changes
svn path=/trunk/boinc/; revision=16519
2008-11-18 13:33:11 +00:00
Charlie Fenton 21f2d88e34 MGR: Async RPCs: use wxCondition with timeout to block main thread while waiting for Demand RPC to finish; set m_pTaskBarIcon and m_pMacSystemMenu to NULL when deleted.
svn path=/trunk/boinc/; revision=16518
2008-11-18 13:28:35 +00:00
Rom Walton 0d27df1f82 boinc_core_release_6_5_0
/
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16510
2008-11-17 17:16:02 +00:00
Rom Walton 50a70c8c80 - CLI: Fix a build break when creating new stable branches.
client/
        client_state.cpp

svn path=/trunk/boinc/; revision=16508
2008-11-17 16:39:20 +00:00
Charlie Fenton c219928655 MGR: Async RPCs: Use wxCondition to block RPC thread when it is idle instead of creating and a new RPC thread for each RPC
svn path=/trunk/boinc/; revision=16497
2008-11-15 13:21:08 +00:00
David Anderson 98d6931d63 - client (Unix): if app uses < 1 CPU, run at nice 10 (not 0)
- client: suppress specious error message

svn path=/trunk/boinc/; revision=16496
2008-11-14 22:08:50 +00:00
Rom Walton d716be6117 - Tag for 6.3.23 release, all platforms
boinc_core_release_6_3_23

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16489
2008-11-13 20:58:36 +00:00
Rom Walton 0f09ec557f - SVCCTRL: Introduce a new binary that is used to start and stop
the BOINC service, if it is installed as a service.
        
        NOTE: If UAC is turned on in Windows Vista then even an
          administrator cannot start/stop a service without elevating
          their priviliages.  The new application includes the
          requiresAdmin tag in its manifest file to cause the UAC
          dialog to be displayed when it is launched.

    clientctrl/
        boincsvcctrl.cpp, .h
        boincsvcctrl.rc
        boincsvcctrl.xml
    win_build/
        boinc.sln
        boincsvcctrl.vcproj

svn path=/trunk/boinc/; revision=16488
2008-11-13 18:30:08 +00:00
David Anderson ea4f9d7bd1 - web: fix team join bug
?? Why does omitting the "$" from a PHP variable
    cause PHP to emit a blank page?  How about an error memssage?

svn path=/trunk/boinc/; revision=16486
2008-11-13 03:48:03 +00:00
Charlie Fenton dbb41700b6 MGR: Erase and refresh entire Tasks panel when selecting a new tab to try to fix cosmetic bug reported by David on Windows
svn path=/trunk/boinc/; revision=16484
2008-11-12 09:30:22 +00:00
David Anderson f3b0995cf4 - example_app: don't build the graphics app by default.
Fixes #771


svn path=/trunk/boinc/; revision=16482
2008-11-12 00:11:41 +00:00
David Anderson 0248c3552a - upgrade: run "upgrade_db.php" correctly when "." not in search path
Fixes #769;  from Nicolas


svn path=/trunk/boinc/; revision=16481
2008-11-11 23:45:55 +00:00
David Anderson a65166f31c - web: don't show misleading message if forum rating disabled
fixes #768; from Nicolas


svn path=/trunk/boinc/; revision=16480
2008-11-11 23:43:56 +00:00
David Anderson a3b6ddf6ff - API: free project prefs before parsing init file
svn path=/trunk/boinc/; revision=16479
2008-11-11 23:39:00 +00:00
David Anderson fd8470af2a - client: don't fclose() time_stats_log if it's NULL
Fixes #772


svn path=/trunk/boinc/; revision=16478
2008-11-11 23:07:36 +00:00
Charlie Fenton 3fa5b9f844 note check in to boinc_core_release_6_3_22 tag
svn path=/trunk/boinc/; revision=16475
2008-11-11 04:34:42 +00:00
Charlie Fenton ade07204fb MGR: Remove Exit() from RPC thread to possibly fix occasional crash on Windows; KillRPCThread() tries to end thread gracefully on Windows before killing it
svn path=/trunk/boinc/; revision=16474
2008-11-11 04:23:28 +00:00
Charlie Fenton 2b597c5429 MGR: Provide a way to re-enable the Exit Dialog on non-Windows systems, too
svn path=/trunk/boinc/; revision=16473
2008-11-11 03:20:15 +00:00
Charlie Fenton 06360a505d MGR: Fix build break on Mac
svn path=/trunk/boinc/; revision=16472
2008-11-11 02:58:05 +00:00
Rom Walton ab85e4977e - Tag for 6.3.22 release, all platforms
boinc_core_release_6_3_22

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16463
2008-11-10 19:52:02 +00:00
Rom Walton f0da3b7c50 - MGR: Provide a way to re-enable the Exit Dialog.
clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.h
        DlgOptions.cpp, .h

svn path=/trunk/boinc/; revision=16462
2008-11-10 19:44:54 +00:00
Rom Walton a70125cf10 - MGR: Move the old exit message from the SkinManager file to
the new Exit dialog.
    - MGR: Consolidate the new exit message to one line. Sun Studio
        doesn't concat the seperate strings together during compilation
        like the other compilers to when building for Unicode.
        
    clientgui/
        SkinManager.cpp
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16450
2008-11-10 16:25:37 +00:00
David Anderson a95c2acb39 - accelerate dup_element_contents()
- manager: truncate task progress bar (display) at 100%

svn path=/trunk/boinc/; revision=16449
2008-11-08 04:25:02 +00:00
David Anderson 57a7c21db9 manager: fix verbose text
svn path=/trunk/boinc/; revision=16448
2008-11-07 23:05:35 +00:00
Charlie Fenton c9358f3401 MGR: On Mac, restore using original exit dialog text from skin file or use old default if none in skin file
svn path=/trunk/boinc/; revision=16446
2008-11-07 10:03:41 +00:00
David Anderson ae826ef2eb - API: remove debugging printf from trickly down code
- API: use non-verbose option to zip
- scheduler: if multiple_client_per_host is set,
    don't mark results as over if get repeat CPID

svn path=/trunk/boinc/; revision=16445
2008-11-07 04:13:08 +00:00
Charlie Fenton 5e78b8498b MGR: Filter wxEVT_TASKBAR_MOVE events only on Windows
svn path=/trunk/boinc/; revision=16437
2008-11-06 03:15:12 +00:00
Charlie Fenton 9ae54f7001 Mac: Add new source files mac_address.cpp,.h to XCode project; MGR: Fix compiler warnings on non-Windows builds
svn path=/trunk/boinc/; revision=16436
2008-11-06 00:08:44 +00:00
Rom Walton 0a19a338b4 - MGR: Only tweak the BOINC was started by us variable on
Windows.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16434
2008-11-05 22:03:45 +00:00
David Anderson 5ac0aee6ce - client: add OS name into the hash for host CPID
(for multi-OS hosts)
- scheduler: use sqrt(x) instead of x in stop-checking
    for single redundancy.

svn path=/trunk/boinc/; revision=16433
2008-11-05 20:27:04 +00:00
David Anderson 5141a6eabe David 5 Nov 2008
- client: make host CPID a function of:
        MAC addresses + hostname + IP addr
        This means that a given host will generally always get the same CPID.
        Helpful e.g. on grids where the client gets installed repeatedly.
        From Artyom Sharov.

    client/
        hostinfo_network.cpp
    lib/
        hostinfo.cpp
        mac_address.cpp,h
    win_build/
        boinc_cli_curl.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=16432
2008-11-05 20:11:45 +00:00
Rom Walton 7f4223eb67 - MGR: Revise text one more time.
From: Kevin Reed
        
    clientgui/
        BOINCGUIApp.cpp
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16429
2008-11-05 19:53:32 +00:00
Rom Walton 6686ac46ba - MGR: revise exit dialog text, use the names in the skin file.
clientgui/
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16428
2008-11-05 18:33:30 +00:00
Rom Walton ade7eb5d1f - MGR: Tweak the shutdown logic so that it can still shutdown the
BOINC service even though it didn't start it.
    - MGR: It BOINC Manager starts the BOINC deamon on the mac don't bother
        trying to shut it down. (reverting to previous behaviour)
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.cpp, .h
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16427
2008-11-05 16:07:12 +00:00
Charlie Fenton d71da14718 MGR: Fix crash bug on non_Windows systems in Options dialog
svn path=/trunk/boinc/; revision=16426
2008-11-05 12:46:08 +00:00
Charlie Fenton 1b39497910 Fix small typo
svn path=/trunk/boinc/; revision=16425
2008-11-05 12:30:27 +00:00
Charlie Fenton f4d737738d MGR: Async RPCs: fix memory leaks, gentler KillRPCThread(); Mac only: remove checkbox asking whether to shutdown CC
svn path=/trunk/boinc/; revision=16424
2008-11-05 12:14:53 +00:00
Charlie Fenton 5a86e7529e MGR: Async RPCs: RPC thread is now a joinable thread which does one RPC and exits. Main thread creates a new RPC thread for each RPC request.
svn path=/trunk/boinc/; revision=16423
2008-11-05 06:03:13 +00:00
Charlie Fenton 90a0ebe69d Fix comments and delays (had confused milliseconds, microseconds and nanoseconds)
svn path=/trunk/boinc/; revision=16422
2008-11-05 00:36:15 +00:00
Rom Walton 16c94c36f7 - MGR: properly save the 'DisplayShutdownClientDialog' setting.
clientgui/
        BOINCGUIApp.cpp
     

svn path=/trunk/boinc/; revision=16421
2008-11-04 22:16:16 +00:00
Rom Walton c7e950e9e3 - MGR: Give the option to shutdown the CC even if the manager
didn't launch it.  This only applies to when the manager
        and client are on the same machine.
        
    clientgui/
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=16420
2008-11-04 21:42:58 +00:00
David Anderson 970dc25474 - fix makefile typo
- fix scheduler error (can't end with \n)


svn path=/trunk/boinc/; revision=16419
2008-11-04 20:44:44 +00:00
Rom Walton 24951090cc - MGR: Add DlgExitMessage.cpp to Makefile.am.
clientgui/
        Makefile.am

svn path=/trunk/boinc/; revision=16417
2008-11-04 19:50:35 +00:00
Rom Walton 6368853862 Quick Updates
svn path=/trunk/boinc/; revision=16416
2008-11-04 17:21:06 +00:00
Rom Walton 4012a4d8ae - MGR: Don't display the 'Run BOINC at startup checkbox for
any platform other than Windows.  It has no effect on Mac
        since the Mac doesn't automatically start BOINC Manager
        with any command line arguments.
        
    clientgui/
        DlgOptions.cpp

svn path=/trunk/boinc/; revision=16415
2008-11-04 17:20:09 +00:00
Rom Walton 7652d57839 - MGR: Bug fixes for the new Exit dialog.
clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.h
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=16414
2008-11-04 16:51:31 +00:00
Rom Walton 6c18a58144 - MGR: Text cleanup
clientgui
        DlgExitMessage.cpp
        DlgGenericMessage.cpp

svn path=/trunk/boinc/; revision=16413
2008-11-04 15:54:28 +00:00
Charlie Fenton 9c8c8d444f MGR: RPC thread: wait for connection with 1 ms delays initially, pause RPC thread after creation on non-Windows systems
svn path=/trunk/boinc/; revision=16412
2008-11-04 13:59:30 +00:00
Charlie Fenton 775bcc7315 MGR: On non-Mac and Non-Windows systems, have RPC thread call nanosleep() for 1 microsecond instead of wxThread::Yield(), which may not work on some Linux systems
svn path=/trunk/boinc/; revision=16409
2008-11-04 11:40:33 +00:00
Charlie Fenton 518ea8aabb Mac: Add new source files DlgExitMessage.cpp,.h to XCode project
svn path=/trunk/boinc/; revision=16408
2008-11-04 11:14:20 +00:00
Charlie Fenton 901033ce5c MGR: Fix Simple_GUI help button URL
svn path=/trunk/boinc/; revision=16407
2008-11-04 11:12:56 +00:00
Rom Walton 59d0152c9b - MGR: Provide a way to enable/disable launching from the BOINC Manager
at startup from within the BOINC Manager itself.
    - MGR: Add a command line argument which specifies that the Manager was
        launched by the OS.
    - SCR: Remove the code that checks for the BOINC Manager shortcuts.

    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp, .h
        DlgOptions.cpp, .h
        boinc_ss.h
        boinc_ss.rc
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=16406
2008-11-04 09:33:03 +00:00
Rom Walton 050150beb2 - MGR: Create an Exit dialog for the Manager.
- MGR: Allow the manager to shutdown the CC even when it was installed as
        a daemon.
    - MGR: Code cleanup.

    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp
        BOINCClientManager.cpp
        BOINCGUIApp.cpp, .h
        DlgExitMessage.cpp, .h (Added)
        SkinManager.cpp
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=16405
2008-11-04 08:08:16 +00:00
Charlie Fenton e2d5800ba6 MGR: RPC thread restore Yield(); paus thread immediately on wxEVT_RPC_FINISHED event; reduce CPU usage while not connected to a client.
svn path=/trunk/boinc/; revision=16401
2008-11-04 02:36:24 +00:00
David Anderson 77803431ea - client: preemptability ordering was messed up
svn path=/trunk/boinc/; revision=16400
2008-11-04 01:00:43 +00:00
David Anderson d8c923271b - web: smooth things out a bit for confused users:
- add a "forgot email address?" link
    - change text to say that the authenticator method can be used
        in case of forgotten email OR forgotten password
    - if bad password on login, show them the login form again
        (with email field populated)
        instead of a harsh failure message
    - if bad email on login, show login form again instead of harsh message
    - update authenticator method instructions
        with new BOINC data directory paths

svn path=/trunk/boinc/; revision=16399
2008-11-04 00:15:51 +00:00
Rom Walton 63c123fdc5 - MGR: Use Sleep instead of Yield for the async thread loop. On Posix
systems all Yield translates to is sched_yield but only if
        HAVE_SCHED_YIELD is defined in the wxWidget config file.  If it isn't
        defined it becomes a null op. The async thread doesn't really need
        millisecond response times.  Have it check every 100 milliseconds
        for an RPC to process.
        
    clientgui/
        AsyncRPC.cpp

svn path=/trunk/boinc/; revision=16398
2008-11-04 00:00:59 +00:00
David Anderson ae95ae0527 - file_deleter: add -input_files_only and -output_files_only options.
If you store input and output files on different servers,
    you can run 2 file_deleters, each one on the same machine
    as the files it's going to be deleting.
- file_deleter: add -help option and usage()

client/
    cpu_sched.cpp
    sched/
        file_deleter.cpp

svn path=/trunk/boinc/; revision=16397
2008-11-03 22:56:16 +00:00
David Anderson 5b59556a43 - client: fix bug that caused occasional assert in pop_heap()
for the preemptable_task_list.
        The problem was that the ordering predicate (more_preemptable())
        could change on the fly, making the heap inconsistent.
        Instead, we create a vector, sort it by increasing preemptability,
        then pop off the end.

svn path=/trunk/boinc/; revision=16395
2008-11-03 19:29:04 +00:00
Charlie Fenton deaeae4eda client: fix compiler warning indicating real error in RR simulation
svn path=/trunk/boinc/; revision=16391
2008-11-03 10:19:25 +00:00
David Anderson 1de55a2842 - web: free result in count(). Fixes #763
svn path=/trunk/boinc/; revision=16389
2008-11-02 20:15:06 +00:00
David Anderson 0ded726fe7 - client: fix a long-standing error: if prefs say leave X GB free,
and BOINC is using Y GB, and there are Z GB free,
        the limit on BOINC is Y + Z - X (not Z - X).

svn path=/trunk/boinc/; revision=16388
2008-11-02 20:09:59 +00:00
David Anderson 15b58e582d - client, scheduler: there were a few places where we had 1e9
instead of 1 gig (2^20)


svn path=/trunk/boinc/; revision=16387
2008-11-01 23:13:55 +00:00
David Anderson 719921bfaf - client: fix the updating of CPU time left in RR simulation;
don't print msgs about non-CPU-intensive projects.

svn path=/trunk/boinc/; revision=16386
2008-11-01 21:10:08 +00:00
Charlie Fenton 600a391739 Mac SCR: eliminate unused argument, add comments
svn path=/trunk/boinc/; revision=16385
2008-11-01 09:05:23 +00:00
Charlie Fenton 046146317e client: fix compiler warning
svn path=/trunk/boinc/; revision=16383
2008-11-01 00:14:20 +00:00
Rom Walton f958a8a7e8 - MGR: Fix up the OnHelp features of the BOINC Manager so they
all point to manager_links.php.
        
    clientgui/
        DlgAdvPreferences.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp

svn path=/trunk/boinc/; revision=16380
2008-10-31 22:00:23 +00:00
Rom Walton b6fe8b6c23 - MGR: Move the wxWidget version information to the about box.
printf and Unicode strings don't play well with one another.
        
    clientgui/
        BOINCGUIApp.cpp
        DlgAbout.cpp

svn path=/trunk/boinc/; revision=16377
2008-10-31 21:15:23 +00:00
Rom Walton 00cdb4bb4f - Tag for 6.3.21 release, all platforms
boinc_core_release_6_3_21

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16374
2008-10-31 17:01:32 +00:00
Charlie Fenton 59cd706f8c Mac SCR: fix some real and potential crash bugs
svn path=/trunk/boinc/; revision=16372
2008-10-31 13:44:52 +00:00
Charlie Fenton b66f4ddc34 Clarify that turning off async DNS is for Windows only
svn path=/trunk/boinc/; revision=16371
2008-10-31 06:50:30 +00:00
David Anderson 9987f9d245 - client: revise round-robin simulation to take variable avg_ncpus into account
svn path=/trunk/boinc/; revision=16366
2008-10-30 21:07:35 +00:00
Rom Walton 1fab292555 - Rebuild libcurl x86 and x64 (turn off async DNS)
curl/
        <Various Files>

svn path=/trunk/boinc/; revision=16364
2008-10-30 19:24:18 +00:00
David Anderson 685ea38041 - web: change style sheet so tables are bordered only if class is "bordered"
- web: fix error if translation string missing


svn path=/trunk/boinc/; revision=16363
2008-10-30 18:27:22 +00:00
Charlie Fenton 5a78a07094 - MGR: Fix show / hide on Mac broken by previous changes
svn path=/trunk/boinc/; revision=16361
2008-10-30 09:14:33 +00:00
Charlie Fenton 98b30841a8 Fixes to Rom's refactoring of Manager code
svn path=/trunk/boinc/; revision=16359
2008-10-30 01:55:11 +00:00
Rom Walton 1f1cc48a4c - client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
    - MGR: Have the BaseFrame call a function to determine if the
        selection list should be saved instead of traversing
        the application pointer.  Each view just overrides the function
        returning a true/false value.  We don't have to worry about null
        pointers and the like.
    - MGR: BOINCGUIApp should never need to know how either the views
        work or the document.  Move the code that determines which
        RPCs should be fired into each of the views.  Have the document
        look for it there.
    - MGR: Reduce duplicate code for hiding and showing an application
    - MGR: Move some Windows and Mac specific code into functions
        and streamline the application startup and shutdown rountines.
    - MGR: Move the event processing that was in BOINCGUIApp into the
        BaseFrame.
    - MGR: General cleanup.
    - MGR: Doxygen comments.
    - MGR: Cleanup some warnings.

    client/
        rr_sim.cpp
    clientgui/
        AdvancedFrame.cpp, .h
        AsyncRPC.cpp, .h
        BOINCBaseFrame.cpp, .h
        BOINCBaseView.cpp, .h
        BOINCClientManager.cpp
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        MainDocument.cpp, .h
        sg_BoincSimpleGUI.cpp, .h
        ViewProjects.cpp, .h
        ViewTransfers.cpp, .h
        ViewWork.cpp, .h
        WelcomePage.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/
        sim.vcproj

svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
David Anderson 51c993542e - client: cleaned up CPU scheduler logic somewhat
svn path=/trunk/boinc/; revision=16356
2008-10-29 22:13:04 +00:00
David Anderson 44d2ab532b - client: the preemptability order was wrong
svn path=/trunk/boinc/; revision=16355
2008-10-29 18:21:45 +00:00
David Anderson 9dd952302e - client: /proc/N/stat has () around the command name. Remove these.
svn path=/trunk/boinc/; revision=16354
2008-10-29 16:05:26 +00:00
Charlie Fenton b4d0ec65ea MGR: Always sort after a row is added or deleted.
svn path=/trunk/boinc/; revision=16352
2008-10-29 10:24:45 +00:00
Charlie Fenton 90c515c729 Tag for 6.3.20 release, all platforms boinc_core_release_6_3_20
svn path=/trunk/boinc/; revision=16349
2008-10-29 08:05:59 +00:00
Charlie Fenton c883995ab1 Mac: Add new files rr_sim.cpp,.h to XCode project.
svn path=/trunk/boinc/; revision=16348
2008-10-29 08:05:04 +00:00
Charlie Fenton 20d9ee39e5 MGR: Fix bug introduced yesterday
svn path=/trunk/boinc/; revision=16347
2008-10-29 07:58:05 +00:00
David Anderson 2d1d47de15 - client: move round-robin simulation to its own file
- web: check for profile existence before trying to show it
- file deleter: add some debugging msgs

svn path=/trunk/boinc/; revision=16338
2008-10-28 21:59:25 +00:00
Charlie Fenton c521f35792 MGR: When removing a row from sorted lists, refresh all rows to ensure proper display update
svn path=/trunk/boinc/; revision=16337
2008-10-28 21:00:23 +00:00
Charlie Fenton 7d78707787 MGR: When removing a row from sorted lists, refresh all rows to ensure proper display update
svn path=/trunk/boinc/; revision=16336
2008-10-28 20:49:56 +00:00
Rom Walton 0d16f571ef - Tag for 6.3.19 release, all platforms
boinc_core_release_6_3_19

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16331
2008-10-28 16:20:08 +00:00
David Anderson c0c4bfdae7 - web: make the ordering of profiles in "browse profiles with pictures"
deterministic


svn path=/trunk/boinc/; revision=16330
2008-10-28 16:03:53 +00:00
Rom Walton 2265da06ed - SCR: Fix the screensaver logo.
clientscr/
        boinc_ss.rc

svn path=/trunk/boinc/; revision=16329
2008-10-28 15:51:04 +00:00
David Anderson 5518259dd0 - client: accept --insecure flag even if not compiled with -DSANDBOX
- manager: pass --insecure flab only if compiled with -DSANDBOX
        (from Nicolas; fixes #762)

svn path=/trunk/boinc/; revision=16328
2008-10-28 02:21:26 +00:00
Charlie Fenton af96f99c65 MGR: If simple_gui_only flag is set in cc_config.xml, trigger call of CSimpleFrame::OnConnect()
svn path=/trunk/boinc/; revision=16327
2008-10-28 00:02:28 +00:00
David Anderson d9aef115bc - client: fix crash when sched_op_debug is enabled
svn path=/trunk/boinc/; revision=16326
2008-10-27 23:21:33 +00:00
David Anderson be4cd9bb79 - scheduler: notify user if we're not sending work
because we don't have any (matchmaker only).
- back end programs: for programs that do enumerations,
    check for error returns and exit
    (otherwise we'll get stuck forever if DB fails)

NOTE: In the course of researching this I came across a bug
in the transitioner: if there's a WU with more than 1000 results,
the enumeration will always return ERR_DB_NOT_FOUND,
and the transitioner won't ever do anything again.
Fixing this is a little tricky, so I'm not going to do it right now.


svn path=/trunk/boinc/; revision=16324
2008-10-27 21:23:07 +00:00
David Anderson eae866f743 - client: for CPU throttling, don't suspend apps that
are non-CPU-intensive or that use < 1 CPU (e.g., CUDA)
	- client: get rid of spurious "internal error,
		expected process to be executing" msg
	- diag: don't check heap on every alloc
	- fix a few compile warnings

svn path=/trunk/boinc/; revision=16323
2008-10-27 20:17:22 +00:00
Rom Walton ecaca11f1c - Tag for 6.3.18 release, all platforms
boinc_core_release_6_3_18

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16320
2008-10-27 15:07:06 +00:00
David Anderson a726775e94 - client: ignore max_cpus if max_ncpus_pct is nonzero
svn path=/trunk/boinc/; revision=16318
2008-10-25 15:21:28 +00:00
Charlie Fenton 33559ae292 MGR: Sort compare functions return false if values are equal
svn path=/trunk/boinc/; revision=16308
2008-10-24 11:24:39 +00:00
David Anderson 47086dbbad - client: --help: show all options, and alphabetize them
svn path=/trunk/boinc/; revision=16307
2008-10-23 21:56:08 +00:00
Rom Walton 80c248fc38 - Tag for 6.3.17 release, all platforms
boinc_core_release_6_3_17

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16304
2008-10-23 20:31:52 +00:00
David Anderson 013c8cb948 - client: fix prefs parsing
svn path=/trunk/boinc/; revision=16298
2008-10-23 18:45:47 +00:00
David Anderson fc7724cccb - oops, Rom already made the change
svn path=/trunk/boinc/; revision=16297
2008-10-23 16:23:56 +00:00
David Anderson e58473a1e2 - client: tweak to set_ncpus()
svn path=/trunk/boinc/; revision=16296
2008-10-23 16:23:16 +00:00
Rom Walton 9d973c50e1 - Tag for 6.3.16 release, all platforms
boinc_core_release_6_3_16

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=16294
2008-10-23 15:39:02 +00:00