Commit Graph

116 Commits

Author SHA1 Message Date
Charlie Fenton 66e61912c9 Mgr: Flush Manager settings to Windows Registry or user prefs when closing Options dialog 2013-04-30 05:18:19 -07:00
Charlie Fenton 0562a88619 Fix file permissions 2013-04-24 04:38:22 -07:00
Charlie Fenton d7633f5040 MGR: bug fix - save settings when Windows is shut down
Work around a bug in wxWidgets 2.8.x which fails to call OnExit() when Windows is shut down, causing any changes to Manager settings to be lost.
2013-04-24 04:33:07 -07:00
Charlie Fenton 2a2c4b0bdc Fix file permissions 2013-03-04 15:23:37 +01:00
Charlie Fenton 1561c35146 Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01:00
Charlie Fenton 45ec33f653 MGR: Revert my changes of 18 March to Mac Task Bar Icon; always call the same instance of CTaskBarIcon::SetIcon()
svn path=/trunk/boinc/; revision=25523
2012-03-31 12:34:43 +00:00
Charlie Fenton 49fda2e686 MGR: Fix a Mac-only bug which sometimes failed to show the snooze icon
svn path=/trunk/boinc/; revision=25443
2012-03-18 12:35:09 +00:00
Rom Walton 68ccd1e611 - MGR: Tweak the z-order of BOINC Manager owned windows a little bit.
Image a case where BOINC Manager and the BOINC Manager event log
        live side-by-side or only slightly overlapped, and the user wants
        to use a full screen/maximized window.  If the bring the BOINC
        manager window back into focus while that app is still running
        make sure the event log comes forward as well.  The event log
        should appear behind the main window in the case they are
        overlapped.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=25129
2012-01-23 19:30:51 +00:00
Rom Walton 687195e7f0 Quick Updates
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Charlie Fenton 9b39d53bbb MGR: Rework exit dialog and client shutdown logic for second Manager instance
svn path=/trunk/boinc/; revision=23676
2011-06-08 10:09:36 +00:00
Charlie Fenton bf9640859b MGR: Remove the old SimpleGUi from the projects
svn path=/trunk/boinc/; revision=23139
2011-03-03 11:55:16 +00:00
Charlie Fenton bf789a23db Add new Simple GUI
svn path=/trunk/boinc/; revision=22948
2011-01-27 14:36:49 +00:00
Rom Walton f204e817f6 - MGR: Check for a duplicate instance much earlier in the initialization
cycle, before any window or document creation.  Prevents rapid window
        creation and then destruction.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=22504
2010-10-14 18:16:24 +00:00
Rom Walton 8a79417f19 - Win/Linux: Implement the launch new manager functionality for Windows
and Linux.
        
    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp, .h
    lib/
        util.h

svn path=/trunk/boinc/; revision=22497
2010-10-13 21:02:42 +00:00
Charlie Fenton 0568d761e9 MGR: Add command-line argument --multiple or -m to allow running multiple instances of BOINC Manager; add "Launch another BOINC Manager" menu item to Advanced menu
svn path=/trunk/boinc/; revision=22451
2010-10-06 11:13:07 +00:00
Charlie Fenton 4f492fe41a MGR: if another instance of Manager is running show Select Computer dialog with extra text; exit Manager if user cancels
svn path=/trunk/boinc/; revision=22186
2010-08-11 12:18:07 +00:00
Charlie Fenton 8e5a2910bb MGR: Add command-line parameters for automatic connection to remote host; If currently connected host name is empty string, don't autorestart local client
svn path=/trunk/boinc/; revision=22161
2010-08-07 06:48:25 +00:00
Rom Walton d72472ce01 - MGR: Remove EVT_END_SESSION event handler for now. It was causing a
recursive call to itself on shutdown thereby halting the Windows
        shutdown procedure on Windows XP and older systems. It would
        eventually crash the process with a stack overflow error.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=22137
2010-08-05 16:42:55 +00:00
Rom Walton 0ab3ef3cee - MGR: Take another stab at the z-order problem when both the event log
and main window are open.
    - MGR: Don't replace control characters for regular messages.
    
    clientgui/
        BOINCGUIApp.cpp, .h
        DlgEventLog.cpp
        MainDocument.cpp, .h
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22054
2010-07-23 23:42:25 +00:00
Charlie Fenton 988d08d1cc MGR: Make Event Log Window persistent, hide it when closing main window
svn path=/trunk/boinc/; revision=22028
2010-07-22 10:59:26 +00:00
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