Commit Graph

95 Commits

Author SHA1 Message Date
Rom Walton 90d3e024e6 - MGR: Enable task bar icon on Linux. (Improvements)
clientgui/
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=20441
2010-02-05 19:50:42 +00:00
Charlie Fenton 0d7eac49f8 MGR: Restore my previous fixes to Event Log for the new orphan dialog implementation to integrate properly with async RPC logic; if Event Log is open, close it in CBOINCBaseFrame::OnExit() so Manager can shut down properly
svn path=/trunk/boinc/; revision=20023
2009-12-23 05:23:48 +00:00
Charlie Fenton 318da33c63 MGR: Fix bugs in my Close Window logic, rename CloseEventLog() to OnEventLogClose()
svn path=/trunk/boinc/; revision=20022
2009-12-23 01:09:56 +00:00
Rom Walton 426b3240a2 - MGR: Move the event log initialization and clean-up to the application
class, it is not owned by any frame, it is modeless.
        
        NOTE: Need to consult with Charlie about how best to register modeless
          dialogs for RPC updates. They are not owned by a frame and should
          be capable of being displayed or view from any frame.  i.e.
          SwitchActiveGUI() should not have any effect on them.
    - MGR: Display a window title with the async waiting dialog.
          
    clientgui/
        AdvancedFrame.cpp, .h
        AsyncRPC.cpp
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp, .h
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=20014
2009-12-22 20:15:55 +00:00
Rom Walton 2b5630c9b7 - MGR: Add a test notification menu item to the taskbar
- MGR: When a notification is clicked open up the GUI
        and switch to the notification tab in the advanced
        view.
    - MGR: Reorder tabs
    - MGR: Review messages tab
    - MGR: cleanup code in various places
    
    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp, .h
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp, .h
        DlgEventLog.cpp, .h (Added)
        Events.h
        MainDocument.cpp, .h
        ViewNews.cpp, .h (Deleted)
        ViewNotifications.cpp, .h (Added)
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=19976
2009-12-18 22:44:10 +00:00
Rom Walton 329303b323 - Remove need for boinc.dll from the client.
client/
        hostinfo_win.cpp
        main.cpp
    clientctrl/
        boincsvcctrl.cpp
    clientgui/
        BOINCClientManager.cpp
        BOINCGUIApp.cpp
        BOINCGUIApp.h
        stdwx.h
    clienttray/
        tray_win.cpp
        tray_win.h
    lib/
        boinc_win.h
        daemonmgt.cpp (Deleted)
        daemonmgt.h (Added)
        daemonmgt_win.cpp (Added)
        idlemon.h (Added)
        idlemon_win.cpp (Added)
        idlemon_win.h (Deleted)
    win_build/
        boinc.sln
        boinc_dll.vcproj
        boincmgr.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=19576
2009-11-13 21:23:15 +00:00
Charlie Fenton 1829b18cf1 MGR: on Linux, accept 2 optional args: -clientdir or -e and -datadir or -d, use when launching client
svn path=/trunk/boinc/; revision=18919
2009-08-26 11:53:51 +00:00
Charlie Fenton 25b79f7c5c MGR: on Linux, accept 2 optional args: -clientdir or -e and -datadir or -d, use when launching client
svn path=/trunk/boinc/; revision=18917
2009-08-26 07:47:49 +00:00
Rom Walton df5c485a30 - MGR: Be sure to launch the default screensaver in test mode
when the manager is starting up, otherwise the default
        screensaver might lock up waiting on user input to approve
        firewall updates to the rule set.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=18721
2009-07-25 05:35:27 +00:00
Charlie Fenton debbaa64c9 MGR: Handle EVT_END_SESSION event to call SaveState() on Windows logout or shutdown
svn path=/trunk/boinc/; revision=17592
2009-03-12 09:25:31 +00:00
Charlie Fenton f39adfedb0 MGR: suspend periodic RPCs only when displaying SafeMessageBox()
svn path=/trunk/boinc/; revision=17568
2009-03-10 02:16:34 +00:00
Charlie Fenton 10344b1617 MGR: Show Skin Manager error message only if Manager launched with command-line arg -c or --checkSkins
svn path=/trunk/boinc/; revision=17080
2009-01-30 09:25:35 +00:00
Charlie Fenton be2b680f1d client: fix boinc_copy (again); Mac Mgr: fix bugs showing Mgr when minimized to Dock; fix XCode project for moved src file.
svn path=/trunk/boinc/; revision=16929
2009-01-16 06:41:52 +00:00
Charlie Fenton 1a5c93ff19 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=16517
2008-11-18 13:28:26 +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
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 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
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
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
Rom Walton 5e9056ae0e Doxygen Test
svn path=/trunk/boinc/; revision=16074
2008-09-27 03:21:09 +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 0d8bddd953 MGR: async GUI RPCs: Bug fixes.
svn path=/workspaces/charlief/; revision=15709
2008-07-30 13:08:15 +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
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
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 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
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
Charlie Fenton 1bf67eddda Mac: Determine size of BOINC Manager bundle in core client if it was launched by Manager rather than in the Manager itself, to get correct information when controlling a remote computer.
svn path=/trunk/boinc/; revision=12651
2007-05-11 07:05:29 +00:00
Charlie Fenton b8a306c696 Mac: include size of BOINC Manager bundle in BOINC total disk usage displayed in Disk Usage pane Pie Chart.
svn path=/trunk/boinc/; revision=12634
2007-05-10 10:51:58 +00:00
Rom Walton 6904f5acc6 - fixes #4 - BOINC Manager should be able to find it's
localization files.
      
      BOINCMgr will now check in the absolute path in which
      it was installed as well as the relative path from where
      it was executed from.
      

    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=12602
2007-05-07 20:50:08 +00:00
Rom Walton 14901efcfd Rom 26 Apr 2007
- fixes #10 - Remove dependency on ATL framework for 
      boinc.dll on Windows
      
      With this checkin, the BOINC client should now be able
      to be built with Visual Studio Express.
      
    clientgui/
        BOINCGUIApp.cpp, .h
    clientlib/win/
        boinc_dll.cpp, .h
        boinc_dll.rc
        boincclient.rgs (deleted)
        boincsens.rgs (deleted)
        BOINCSENSSink.cpp, .h (deleted)
        IdleTracker.cpp
        NetworkTracker.cpp, .h (deleted)
        SENSLogonSubscriptions.h (deleted)
        SENSNetworkSubscriptions.h (deleted)
        SENSOnNowSubscriptions.h (deleted)
        SENSSubscriptions.h (deleted)
        stdafx.h
        

svn path=/trunk/boinc/; revision=12482
2007-04-26 16:48:09 +00:00
Rom Walton 721fb8b0e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11913
2007-01-19 23:45:19 +00:00
Rom Walton 178a16c6c9 *** empty log message ***
svn path=/trunk/boinc/; revision=11563
2006-11-22 09:51:59 +00:00
Charlie Fenton 8f00208567 *** empty log message ***
svn path=/trunk/boinc/; revision=11459
2006-11-03 15:18:19 +00:00
Charlie Fenton 6629e9a22c *** empty log message ***
svn path=/trunk/boinc/; revision=11397
2006-10-30 05:49:58 +00:00
Charlie Fenton 596f7343cb *** empty log message ***
svn path=/trunk/boinc/; revision=11396
2006-10-30 04:07:41 +00:00
Rom Walton d5a0931c1f *** empty log message ***
svn path=/trunk/boinc/; revision=11395
2006-10-30 03:41:32 +00:00
Rom Walton 1f5c498aad *** empty log message ***
svn path=/trunk/boinc/; revision=11353
2006-10-25 14:09:47 +00:00
Rom Walton 89f9e8eaf7 *** empty log message ***
svn path=/trunk/boinc/; revision=11325
2006-10-20 15:00:14 +00:00
Walt Gribben 7b933cccc1 *** empty log message ***
svn path=/trunk/boinc/; revision=10897
2006-08-12 00:31:55 +00:00
Charlie Fenton 6ecd5de4d9 *** empty log message ***
svn path=/trunk/boinc/; revision=10803
2006-08-01 12:36:19 +00:00