Commit Graph

302 Commits

Author SHA1 Message Date
Charlie Fenton d73d785dd9 MGR: Eliminate unnecessary #ifdef
svn path=/trunk/boinc/; revision=22994
2011-02-04 00:13:48 +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 33ea737f0b - MGR(WIN): While it is a perfectly valid thing to use FindWindow() and
ShowWindow() on an application frame to restore an application from
        a minimized state or a hidden state on Windows(75% of the UI test 
        automation would fail at Microsoft without this ability), it appeartly
        isn't for other platforms.  wxWidgets is or appears to be tracking window
        state internally, which leads to problems when the OS restores the window
        and the rest of the framework doesn't know about that change in state.
        Certain window events were being ignored (like WM_CLOSE, menu selection
        events, etc.). So replace the previous mechinism for bringing an existing
        instance of the BOINC Manager to the foreground by creating a new global
        window message which is tracked by the system tray icon.  When the new
        global message is fired make sure the CBOINCGUIApp::SetActiveGUI() function
        is called to restore the window state which in turn updates all the internal
        framework data structures.
        
    clientgui/
        BOINCGUIApp.cpp
    clientgui/
        BOINCTaskBar.cpp, .h
    clientgui/msw/
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=22547
2010-10-18 19:21:46 +00:00
Charlie Fenton 70936974cf MGR: Don't require --multiple arg to launch a new instance if both --namehost and --password args are specified
svn path=/trunk/boinc/; revision=22520
2010-10-15 02:07:39 +00:00
Rom Walton 5f7f2a8bcd - MGR: Complete above changes for the Mac
clientgui/
        BOINCGUIApp.cpp, .h
        MainDocument.cpp

svn path=/trunk/boinc/; revision=22506
2010-10-14 19:37:13 +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
Rom Walton be8fe4877d - MGR: Make the new BOINC skin the default skin.
clientgui/
        BOINCGUIApp.cpp
        SkinManager.cpp, .h
    clientgui/skins/BOINC/graphic/
        <Various Files>
    clientgui/skins/BOINC/
        skin.xml
    clientgui/skins/People for a Smarter Planet/
        skin.xml
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=22415
2010-09-28 19:23:57 +00:00
Charlie Fenton 7c032fe498 MGR: Further refinements to Client shutdown logic on Manager Exit
svn path=/trunk/boinc/; revision=22287
2010-08-24 01:45:12 +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
Charlie Fenton b93f426966 MGR: Fix a bug that hid the Event Log when switching between Advanced and Simple Views
svn path=/trunk/boinc/; revision=22079
2010-07-30 07:30:11 +00:00
Charlie Fenton fe7ac49c42 MGR: if Event Log was open, show it _behind_ main window when "opening" Manager after it was hidden
svn path=/trunk/boinc/; revision=22055
2010-07-24 00:54:10 +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
Rom Walton 5e87d07598 - MGR: Don't update the notice tab text unless the unread notice
count has changed.
    - MGR: Don't update the last arrival time for the host unless
        it has changed from the last time it was saved.
    - MGR: Opps, forgot to move some code before commiting yesterday,
        don't update the last save arrival time unless the user
        clicks on the balloon.
    - MGR: Stop the simple GUI from blinking the messages button
        when the balloon is clicked.
        
    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp
        BOINCTaskBar.cpp
        MainDocument.cpp
        sg_BoincSimpleGUI.cpp
        sg_ProjectsComponent.h

svn path=/trunk/boinc/; revision=22051
2010-07-23 15:25:39 +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 028d26892e - MGR: Load up the new BOINC-Client catalog if it exists.
clientgui/
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=21898
2010-07-13 16:02:23 +00:00
Rom Walton 3be70942ad - MGR: Introduce the notion of a cached internet filesystem in the
manager, right now it stores everything in memory but will be extended
        in the future.
    - MGR: Clean up notice memory on shutdown

    clientgui/
        BOINCGUIApp.cpp
        BOINCInternetFSHandler.cpp, .h
        NoticeListCtrl.cpp, .h
        stdwx.h
        ViewNotices.cpp
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=21833
2010-06-28 18:05:31 +00:00
Charlie Fenton bfeafea68c MGR: If user selects Event Log from menu when Event Log window already open, just bring it to the front instead of opening another window
svn path=/trunk/boinc/; revision=20940
2010-03-18 10:41:25 +00:00
Charlie Fenton cbeaf845a7 MGR: If user selects Event Log from menu when Event Log window already open, just bring it to the front instead of opening another window
svn path=/trunk/boinc/; revision=20939
2010-03-18 09:34:33 +00:00
Rom Walton e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
Rom Walton 623a0da58b svn path=/trunk/boinc/; revision=20442 2010-02-05 19:59:47 +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
Rom Walton 057c51b5d3 - MGR: Enable task bar icon on Linux.
clientgui/
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=20440
2010-02-05 19:36:59 +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
Charlie Fenton 0607e1822a MGR: Make GetCurrentViewPage() indepenedent of tab positons; Always set Periodic RPC timer to 1 second if showing event log; Minor code cleanup from Rom
svn path=/trunk/boinc/; revision=20005
2009-12-22 01:22:11 +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 0126f3ca68 - MGR: More cleanup work
clientgui/
        BOINCGUIApp.cpp
        BOINCTaskBar.cpp
        sg_ViewTabPage.cpp
    clientgui/common/
        wxPieCtrl.cpp, .h

svn path=/trunk/boinc/; revision=19961
2009-12-18 00:04:06 +00:00
Charlie Fenton 1ed1ed95f2 Mac MGR: don't show exit confirmation dialog if shutting down or restarting system
svn path=/trunk/boinc/; revision=19646
2009-11-19 10:13:24 +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 53af8c7a2b Mac MGR: allow localiztion of permissions error alerts
svn path=/trunk/boinc/; revision=19434
2009-10-31 08:39:00 +00:00
Charlie Fenton eb3e99107b Mac MGR: allow localiztion of permissions error alerts
svn path=/trunk/boinc/; revision=19432
2009-10-31 07:45:44 +00:00
Charlie Fenton 35437d9340 Mac MGR: Clarify alert when running as a non-admin user which is not a member of group boinc_master
svn path=/trunk/boinc/; revision=19429
2009-10-31 00:35:38 +00:00
Charlie Fenton 0eeb16abaf Mgr: skip exit confirmation dialog if user pressed emergency Exit button on AsyncRPCDlg
svn path=/trunk/boinc/; revision=19046
2009-09-11 20:38:05 +00:00
Charlie Fenton d34c522d74 Mac Sandbox: Security fixes for Mac OS 10.6 Snow Leopard
svn path=/trunk/boinc/; revision=18978
2009-09-02 02:11:03 +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
Rom Walton 0e57669b18 - MGR: My first attempt to handle the project list control was turning
into a mess and becoming very complicated, as my former mentor used
        to say "if you are having to try too hard, you are doing it wrong."
        
        Reimplement the project list control as a wxHtmlListBox which handles
        keyboard navigation correctly and allows us to have variable height
        list items.  Another perk is the ability to detect when different
        HTML elements are clicked on which might be useful for anonymous
        attach at some point in time in the future.
        
    clientgui/
        AccountManagerInfoPage.cpp
        AdvancedFrame.cpp
        BOINCGUIApp.cpp
        BOINCWizards.h
        ProjectInfoPage.cpp
        ProjectListCtrl.cpp, .h
        stdwx.h

svn path=/trunk/boinc/; revision=18509
2009-06-30 02:05:46 +00:00
Charlie Fenton 08c302746c Mac Sandbox: check_security() writes path of bad file to stderr for some error codes
svn path=/trunk/boinc/; revision=18392
2009-06-12 11:12:47 +00:00
Charlie Fenton 60dda371fa MGR: Fix bug which prevented skin change from being saved if exiting Manager while in Simple View
svn path=/trunk/boinc/; revision=18135
2009-05-16 07:26:11 +00:00
Rom Walton 08268e1efb - WINBUILD: More project file fixes
- WINBUILD: Create a new configuration for building the Unicode
        version of the BOINC Manager.
        
    win_build
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinc_ss.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        boincsvcctrl.vcproj
        boinctray.vcproj
        libboinc.vcproj
        libboinc_staticcrt.vcproj
        sim.vcproj
        ss_app.vcproj
        updater.vcproj

svn path=/trunk/boinc/; revision=17858
2009-04-22 21:09:17 +00:00
Charlie Fenton a402e3f19a MGR: Remove erroneous call of locale in main thread; set locale only on a per-thread basis
svn path=/trunk/boinc/; revision=17661
2009-03-26 01:22:35 +00:00
Rom Walton 0e151ee5df - MGR: Add the basic infrastructure for the up and comming news tab in
the advanced frame.
        
    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp
        Events.h
        stdwx.h
        ViewNews.cpp, .h (Added)
        ViewResources.cpp
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=17596
2009-03-13 19:53:32 +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 7775b7d1d6 MGR: Simplify the fixes for saving and restoring window sizes and other settings
svn path=/trunk/boinc/; revision=17590
2009-03-12 08:02:33 +00:00