Commit Graph

242 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
Charlie Fenton 9b07ed4fe4 Adjust comments
svn path=/trunk/boinc/; revision=16362
2008-10-30 09:33:48 +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 42e6166a9d Fix compiler warning
svn path=/trunk/boinc/; revision=16360
2008-10-30 02:09:17 +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
Rom Walton d877314c64 Add a call to diagnostics_finish() in BOINCGUIApp::OnExit().
svn path=/trunk/boinc/; revision=16213
2008-10-15 18:12:37 +00:00
Charlie Fenton bad7fed173 MGR: Fix updating task bar icon on disconnect from Client, fix a crash on exiting
svn path=/trunk/boinc/; revision=16212
2008-10-15 06:30:22 +00:00
Charlie Fenton 74848aed16 MGR: discard only Command, Timer and Mouse Moved events during RPC "Please Wait" dialog; no event processing during first RPC_WAIT_DLG_DELAY seconds of Demand RPC
svn path=/trunk/boinc/; revision=16209
2008-10-15 00:09:57 +00:00
Charlie Fenton 252347b952 MGR: Filter events during Please Wait dialog
svn path=/trunk/boinc/; revision=16198
2008-10-14 12:49:07 +00:00
Charlie Fenton 39f17fc77c MGR: Multiple fixes to Async GUI RPCs: Filter events during Please Wait dialog, hide Please Wait dialog when BOINC hidden, use try / catch blocks for all cached list data.
svn path=/trunk/boinc/; revision=16197
2008-10-14 12:35:48 +00:00
Charlie Fenton 655301bfda MGR: Multiple fixes to Async GUI RPCs, message polling, task bar tooltip updates
svn path=/trunk/boinc/; revision=16196
2008-10-14 03:28:34 +00:00
Charlie Fenton df7a1cdc42 Update comments
svn path=/trunk/boinc/; revision=15989
2008-09-11 23:14:36 +00:00
Charlie Fenton 6ef4515e62 MGR: Fix bugs when connection to client is lost or reestablished under async GUI RPCs
svn path=/trunk/boinc/; revision=15985
2008-09-11 12:26:15 +00:00
Charlie Fenton f3146210d7 MGR: async GUI RPCs: Create SafeMessageBox function to suspend periodic RPCs during modal dialogs
svn path=/trunk/boinc/; revision=15901
2008-08-20 16:07:06 +00:00
Charlie Fenton 1cf4b28528 MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk. Eliminate Grid views.
svn path=/trunk/boinc/; revision=15850
2008-08-15 07:13:00 +00:00
Rom Walton a2771e5d33 - CLIENT/MGR/TRAY: When installed on Vista and UAC is turned on
the user by default cannot create globally shared objects. This
        becomes a problem when protected application mode is turned off
        for keyboard and mouse detection.  Basically all of the components
        would start up and fail to create the shared memory segment
        and report the error through stderr which most people don't look
        at by default.
        
        The client is now the only component that is allowed to create the
        shared memory segment, if creating the global segment fails it'll
        create a local one instead. Both the tray and manager now just attach
        to the existing segment, first trying the global one then the local
        one.
        

    client/
        main.C
    clientgui/
        BOINCGUIApp.cpp, .h
    clientlib/win/
        boinc_dll.cpp
        IdleTracker.cpp
    clienttray/
        tray_win.cpp, .h
    win_build/
        boinc.sln
        boinctray.vcproj

svn path=/trunk/boinc/; revision=15767
2008-08-07 16:59:52 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Charlie Fenton 3237c4ae3e MGR: async GUI RPCs: All periodic RPCs for Simple View implemented.
svn path=/workspaces/charlief/; revision=15703
2008-07-29 13:06:28 +00:00
Charlie Fenton 0bc22ed690 MGR: Eliminate Grid Views. NOTE: The Grid View source files still should be removed from Windows project and makefiles for Linux, etc. and possibly from SVN trunk.
svn path=/workspaces/charlief/; revision=15689
2008-07-27 03:01:59 +00:00
Charlie Fenton f48643e837 MGR: async GUI RPCs: Get RPCs all working in separate thread; temporarily ignore timer events which would do RPCs while a previous RPC request is in progress.
svn path=/workspaces/charlief/; revision=15667
2008-07-24 10:18:31 +00:00
Charlie Fenton 29ddd3421b MGR: async GUI RPCs: All RPCs now go through separate thread, but still one at a time.
svn path=/workspaces/charlief/; revision=15663
2008-07-23 14:16:59 +00:00
Charlie Fenton 2e5107a4ec MGR: Code which tests for reboot required should be Windows-only
svn path=/trunk/boinc/; revision=15627
2008-07-17 10:00:43 +00:00
Rom Walton 8b35c1f4cc - MGR: Detect when a reboot is required for BOINC and display an error
dialog if it is required.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=15610
2008-07-16 16:55:46 +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
Eric J. Korpela 249407f505 - clientgui: renamed locale files from "BOINC Manager.*" to
"BOINC-Manager.*"
- Added Makefile to locale/client to install the BOINC Manager.po files
  into $(datadir)/locale (typically $(prefix)/share/locale)


svn path=/trunk/boinc/; revision=15299
2008-05-28 00:58:53 +00:00
Charlie Fenton 38c5fa8108 Mac: Show (make visible) Manager if displaying sandbox errror dialog
svn path=/trunk/boinc/; revision=14975
2008-03-28 11:18:35 +00:00
Charlie Fenton 0c4b110db8 Mac Sandbox: Fix bug setting permissions for symlinks, Show Manager if displaying sandbox error dialog.
svn path=/trunk/boinc/; revision=14974
2008-03-28 10:11:15 +00:00
Charlie Fenton 2fcbfbe982 MGR: Fix a few bugs in the new CC startup logic; if configured to run client as a daemon on the Mac, then start / restart it as a daemon when necessary. Add new source files to XCode project.
svn path=/trunk/boinc/; revision=14648
2008-01-30 12:30:20 +00:00
Rom Walton 58e4094892 - MGR: Change the CC startup logic so that more informative error
messages.
        
      Policy Change: When installed as a service or daemon, the service
        or daemon manager should start BOINC, not the BOINC Manager.
        (Windows Only for right now, should eventually be applied
         to all platforms)
    - LIB: Undue my previous change that launched graphics apps as
        an idle process.
    - LIB: Take care of some warnings.
        
    clientgui/
        BOINCBaseFrame.cpp, .h
        BOINCClientManager.cpp, .h (Added)
        BOINCGUIApp.cpp, .h
        MainDocument.cpp, .h
    lib/
        util.C

svn path=/trunk/boinc/; revision=14647
2008-01-30 06:09:34 +00:00
Rom Walton 8636ddd5ec Quick Updates
svn path=/trunk/boinc/; revision=14620
2008-01-24 15:18:14 +00:00
Frank Thomas 648f9ed100 Compilation fix for the unicode variant of wxWidgets.
svn path=/trunk/boinc/; revision=14541
2008-01-12 10:48:22 +00:00
Charlie Fenton 7a20f7c085 Mac MGR: if using Mac OS X's launchd mechanism to run Client as a daemon, allow time for daemon to launch
svn path=/trunk/boinc/; revision=14488
2008-01-08 07:27:33 +00:00
Rom Walton e87a0a980e - Empty strings cause CreateProcess to fail on parameter checks.
clientgui/
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=14483
2008-01-07 22:08:17 +00:00
Charlie Fenton ca782798ed Mac: Use generic wxListCtrl to fix bug in wx2.8.7 RefreshItem()
svn path=/trunk/boinc/; revision=14420
2007-12-20 02:05:18 +00:00
Charlie Fenton e681bfe362 MGR: Fix bug determining whether Client is already running
svn path=/trunk/boinc/; revision=14383
2007-12-14 08:28:32 +00:00
Rom Walton 8a441431ca - WINSETUP: Fix a couple permission problems when protected
mode isn't defined.
    - WINSETUP: Streamline the CC startup procedure when
        the manager launches the CC.

    clientgui/
        BOINCGUIApp.cpp
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCGroups.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=14382
2007-12-14 04:57:30 +00:00
Rom Walton 923ab443c0 - MGR: Remove extra call to SetWorkingDirectory() since it
is causing authentication errors.

    clientgui/
        BOINCGUIApp.cpp
        MainDocument.cpp

svn path=/trunk/boinc/; revision=14381
2007-12-12 19:33:30 +00:00
Rom Walton 2dd4074601 svn path=/trunk/boinc/; revision=14376 2007-12-12 15:13:14 +00:00
Rom Walton 6b2c7f38a2 - MGR: Add the ability for the manager to know the difference
between the executable directory and the data directory.
        (Windows Only)
    - TRAY: Update the tray code to what was used in 5.10.x
    - WINSETUP: Update for BOINCTray.exe
    
    clientgui/
        BOINCGUIApp.cpp, .h
        SkinManager.cpp
    clienttray/
        tray_win.cpp, .h
    win_build/
        boinc.sln
        boinctray.vcproj
    win_build/installerv2/
        BOINC.ism

svn path=/trunk/boinc/; revision=14335
2007-11-30 18:52:41 +00:00
Rom Walton af9e7833cd - MGR: Change the current working directory on startup to the DATADIR. (Windows Only)
clientgui/
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=14334
2007-11-30 16:40:02 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00