Commit Graph

153 Commits

Author SHA1 Message Date
David Anderson 4ae68c40ac - manager: move Preferences and Options to Task menu.
Give them more descriptive names.
		Clean up mnemonics

svn path=/trunk/boinc/; revision=20321
2010-01-30 22:55:19 +00:00
Charlie Fenton 505d099812 MGR: Fix tools menu when using account manager and switching Simple to Advanced View; update XCode project for ViewNotifications* -> ViewNotices*
svn path=/trunk/boinc/; revision=20147
2010-01-13 09:30:21 +00:00
David Anderson 92fe442f51 - manager: "Notifications" => "Notices". Consistent terminology.
svn path=/trunk/boinc/; revision=20142
2010-01-12 18:57:38 +00:00
Charlie Fenton 08fe0f9736 MGR: When Event Log is open, do get_messages RPC once per second but do view-specific periodic RPCs at their normal View refresh rate
svn path=/trunk/boinc/; revision=20112
2010-01-09 07:03:47 +00:00
Charlie Fenton 8b3e60d8e6 MGR: When Event Log is open, do get_messages RPC once per second but do view-specific periodic RPCs at their normal View refresh rate
svn path=/trunk/boinc/; revision=20111
2010-01-09 02:52:48 +00:00
Charlie Fenton f8e7683427 MGR: Separate refresh of Event Log from refresh of tabs; Update Notices tab only when data changed; Clean up some async RPC logic
svn path=/trunk/boinc/; revision=20110
2010-01-09 01:42:46 +00:00
Charlie Fenton 3aa9a57072 MGR: Rebuild menus after connecting to client to show GPU activity items if needed
svn path=/trunk/boinc/; revision=20082
2010-01-06 12:41:26 +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
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
Charlie Fenton ac1e3d1115 MGR: Begin fixing new Event Log to integrate properly with async RPC logic
svn path=/trunk/boinc/; revision=19995
2009-12-20 01:48:48 +00:00
Charlie Fenton ecab158f5d MGR: Bug fixes to new Event Log
svn path=/trunk/boinc/; revision=19994
2009-12-20 01:17:06 +00:00
Charlie Fenton 21312dedcf MGR: Begin fixing new Event Log to integrate properly with async RPC logic
svn path=/trunk/boinc/; revision=19993
2009-12-20 00:49:55 +00:00
Rom Walton 9ee7ed8063 - MGR: Convert the event log to a modeless dialog.
clientgui/
        AdvancedFrame.cpp, .h
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=19988
2009-12-19 17:10:33 +00:00
Rom Walton 791040689d - MGR: Remove some old wxWidgets 2.4 cruft for dealing with Hyperlinks.
wxWidgets now natively supports them.
        
    clientgui/
        AccountInfoPage.cpp, .h
        AccountManagerInfoPage.cpp
        AdvancedFrame.cpp
        BOINCBaseFrame.cpp, .h
        BOINCGUI.cst (deleted)
        BOINCGUI.pjd (deleted)
        BOINCTaskBar.cpp
        BOINCWizards.h
        DlgAbout.cpp, .h
        DlgAdvPreferences.cpp
        DlgEventLog.cpp
        hyperlink.cpp, .h (deleted)
        ProjectInfoPage.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp
        sg_StatImageLoader.cpp
        stdwx.h
        ViewProjects.cpp
        ViewWork.cpp
        WelcomePage.cpp
        WizardAttachProject.cpp
    win_build/
        boinc_ss.vcproj
        boincmgr.vcproj
        libboinc_staticcrt.vcproj

svn path=/trunk/boinc/; revision=19982
2009-12-19 05:16:41 +00:00
Rom Walton 899241cd1e - MGR: content that was formally in the messages tab can now be
found in the Event Log, check the advanced menu.
        
    clientgui/
        AdvancedFrame.cpp, .h
        DlgEventLog.cpp, .h
        DlgEventLogListCtrl.cpp, .h (Added)
        Events.h
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=19978
2009-12-19 00:49:51 +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
David Anderson 2e793ee0b3 - manager: bug fixes
svn path=/trunk/boinc/; revision=19870
2009-12-12 07:11:50 +00:00
David Anderson 640d3d780d - manager: add GPU always/auto/never menu items
svn path=/trunk/boinc/; revision=19866
2009-12-11 23:24:17 +00:00
Charlie Fenton 6599b9a92b MGR: Don't localize keyboard shortcut for Close Window
svn path=/trunk/boinc/; revision=19717
2009-11-26 10:45:29 +00:00
Charlie Fenton 9f4d6a14b1 MGR: Implement Mac accessibility for Statistics and Disk tabs
svn path=/trunk/boinc/; revision=19706
2009-11-25 12:43:22 +00:00
Rom Walton 4f132e4c36 - MGR: Use mixed case keyboard accelerators instead of all caps, the
wxGetTranslation function is case sensitive even though the
        rest of the menu code does not care about case.
        
    clientgui/
        AdvancedFrame.cpp
        sg_BoincSimpleGUI.cpp

svn path=/trunk/boinc/; revision=19482
2009-11-05 18:36:37 +00:00
David Anderson 0fdd1ef4c8 - MGR: fixed some strings, removed trailing \n's
svn path=/trunk/boinc/; revision=19440
2009-11-01 00:34:12 +00:00
Rom Walton c0c4d0f58f - MGR: Change the shortcut key for switching to the simple view.
clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=19369
2009-10-23 16:49:33 +00:00
Rom Walton f65976979f Quick Updates
svn path=/trunk/boinc/; revision=19365
2009-10-22 19:44:20 +00:00
Rom Walton 4506c61ac2 - MGR: Fix initial first connection problem on startup. I'm not sure why
it was only happening at startup, there might have been a few crashes
        because of this issue as well.  The basic problem is that wxWidgets
        had an exception handler around the initial frame creation and when
        the first GUI RPC was issues to detect whether or not we were atached
        to an account manager during menu creation the GUI thread would go
        about doing idle processing while waiting for the GUI RPC thread to
        initialize.  During this time the frame pointer is NULL and was getting
        dereferenced which would halt window construction and stay there until
        some other event was fired.
    - MGR: Initial dose of code cleanup and shuffling.  Order the menu functions
        in the order in which they are displayed in the menu.

    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp
        BOINCBaseView.cpp
        Events.h
        ProjectListCtrl.cpp
        sg_BoincSimpleGUI.cpp, .h
        sg_ProjectsComponent.cpp, .h
        WizardAttachProject.cpp

svn path=/trunk/boinc/; revision=19300
2009-10-14 17:11:57 +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 cc2c807c34 MGR: hide main window after auto AM sync only if we showed it; add PTP signing key with UNIX line endings.
svn path=/trunk/boinc/; revision=18411
2009-06-14 10:27:22 +00:00
Charlie Fenton c7970d19ef MGR: Finish merging "Attach to account manager" functionality into "Attach to project" wizard
svn path=/trunk/boinc/; revision=18112
2009-05-15 08:21:04 +00:00
Charlie Fenton b6c4e01b80 MGR: Put keyboard shortcuts CTRL+SHIFT+S and CTRL+SHIFT+A in View Menu so their functionality is not hidden
svn path=/trunk/boinc/; revision=17846
2009-04-18 11:52:48 +00:00
Charlie Fenton 3e9bd55a81 Mac MGR: Add keyboard shortcuts command-shift-S, command-shift-A to switch views
svn path=/trunk/boinc/; revision=17826
2009-04-16 00:30:42 +00:00
Charlie Fenton 00bc9294a2 Mac: MGR: add standard Preferences item under BOINC menu; add -lresolv to XCode linker flags for screensaver
svn path=/trunk/boinc/; revision=17716
2009-04-01 11:14:16 +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 3bb5c03d3f MGR: Simplify the fixes for saving and restoring window sizes and other settings
svn path=/trunk/boinc/; revision=17591
2009-03-12 08:08:49 +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
Rom Walton cb2a28fd52 - MGR: Set the window size through the window creation routine
instead of calling SetSize() after the fact.  It removes
        all the flicker out of the Advanced GUI.
    - MGR: Consolidate all the window position restore functionality
        for both the Simple GUI and Advanced GUI in BOINCGUIApp.cpp
        instead of having duplicate copies in each view.
    - MGR: Have the Advanced GUI remember position across restarts.
    - MGR: Create new window events that will save and restore
        window state for both GUIs.  This avoids multiple UI
        updates.  Each time you would change window size from within
        a OnShow or OnSize event it would spawn an update of its own.
        Sometimes certain controls would ignore the event because
        it believed it was already processing the event.
        
    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp, .h
        BOINCGUIApp.cpp
        sg_BoincSimpleGUI.cpp, .h
        ViewStatistics.cpp
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=17564
2009-03-09 18:02:37 +00:00
Rom Walton 745e90b935 Add more tracing statements. Verify destructors are being called.
svn path=/trunk/boinc/; revision=17562
2009-03-09 05:00:58 +00:00
Rom Walton 2152c5b19d - MGR: Don't hide the main window after attaching to an account manager
if we don't support the system tray on that platform. refs #844
        
    clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=17545
2009-03-06 23:03:47 +00:00
Charlie Fenton c4e6364909 MGR: On Mac, revert to auto-save frequency of 5 minutes because the more frequent saves have no positive effect on the Mac.
svn path=/trunk/boinc/; revision=17522
2009-03-06 05:29:28 +00:00
Rom Walton db36729f90 - MGR: Saving and Restoring window diminisions is not a Mac only
operation when starting up or shutting down the client. Increase
        the frequency of the auto-save state timer from 5 minutes to
        5 seconds.  Fixes #69, Fixes #735, Fixes #790, 
    - MGR: Lengthen the connected to client status field. Fixes #632
    - MGR: Properly update the connected to client status field
        even after a change to the simple view. Fixes #688
        
    clientgui/
        AdvancedFrame.cpp
        sg_BoincSimpleGUI.cpp, .h

svn path=/trunk/boinc/; revision=17516
2009-03-05 23:10:24 +00:00
Rom Walton cd49bbc260 - MGR: Remove remaining UI thread calls to setlocale which could
confuse the parsing system or vise versa.
        
    clientgui/
        AdvancedFrame.cpp
        DlgItemProperties.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17215
2009-02-11 22:52:40 +00:00
Rom Walton 22873e216e - MGR: Don't convert strings to ANSI juts to have to reconvert them
back to Unicode.  Fix several help link issues.
        
    clientgui/
        AdvancedFrame.cpp
        DlgAdvPreferences.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp

svn path=/trunk/boinc/; revision=16915
2009-01-15 18:57:44 +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 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
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
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
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 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
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