Commit Graph

47 Commits

Author SHA1 Message Date
Charlie Fenton 286f96cc9a MGR: Save window dimensions and position on SIZE and MOVE events
svn path=/trunk/boinc/; revision=22694
2010-11-12 12:56:29 +00:00
Rom Walton 78cd46db66 - MGR: Fix the event log so that it doesn't store the event log's
size information when it is in a minimized state.
    - MGR: Fix the close dialog issue on wxGTK, apparently there is a
        hidden flag that governs the handling of the GTK callback
        function.  Fixes #962 (Thanks for the patch cli)

    clientgui/
        DlgAdvPreferencesBase.cpp
        DlgEventLog.cpp
        DlgItemProperties.cpp

svn path=/trunk/boinc/; revision=22635
2010-11-08 17:01:02 +00:00
Rom Walton 79cfbc6fd6 - MGR: Take two of the above.
clientgui/
        DlgEventLog.cpp
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=22499
2010-10-13 23:00:02 +00:00
Rom Walton b6d8290106 - MGR: Sanitize the event log output from the CC.
clientgui/
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=22498
2010-10-13 21:57:21 +00:00
Charlie Fenton dcf9ab2427 MGR: Adjust control positions and resize controls after a text change, using Layout() instead of Fit() or FitInside()
svn path=/trunk/boinc/; revision=22209
2010-08-12 08:17:02 +00:00
Charlie Fenton e754e70ad5 MGR: revert Rom's change #22191; calling Fit() after a text change redraws the dialog at its minimum size, making it impossible to resize the dialog.
svn path=/trunk/boinc/; revision=22207
2010-08-12 00:18:45 +00:00
Rom Walton 06733d863d - MGR: Adjust control positions and resize controls after a text change.
clientgui/
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=22191
2010-08-11 16:26:27 +00:00
Charlie Fenton efbaeb48a0 MGR: preserve message filtering by project if Event Log is closed and reopened, but not when selecting a different host or exiting Manager
svn path=/trunk/boinc/; revision=22185
2010-08-11 08:07:14 +00:00
Charlie Fenton f039bf4bd8 MGR: preserve message filtering by project if Event Log is closed and reopened, but not when selecting a different host or exiting Manager
svn path=/trunk/boinc/; revision=22184
2010-08-11 07:46:42 +00:00
Rom Walton 0205fbdc16 - MGR: Modeless top level windows should not have the context help
button in the upper right-hand corner of the dialog. Use the
        standard control there.
        
    clientgui/
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=22150
2010-08-05 22:56:59 +00:00
Rom Walton 7e8ca91dc5 - MGR: Enable the manager to be able to deal with any size notice.
clientgui/
        DlgEventLog.cpp
        MainDocument.cpp, .h
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22053
2010-07-23 22:57:54 +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
Charlie Fenton cff64db1d0 MGR: Bug fix: event log text was not dimmed if event log was opened after Client was disconnected
svn path=/trunk/boinc/; revision=21970
2010-07-16 09:48:17 +00:00
David Anderson 5a28b5672e - client: user-visible text (message body, notice title and description)
are now translatable,
    using the convention that any substring enclosed in _(" ... ")
    should be passed throughh wxGetTranslation() or the equivalent.
- client: when writing messages to stdout, strip out _(...)
- manager: translate strings from client
- scheduler: message tweaks

svn path=/trunk/boinc/; revision=21706
2010-06-08 18:56:53 +00:00
Charlie Fenton 4b46d1c114 MGR: more Event Log bug fixes: Copy Selected button when filtering by project; save window dimensions when exiting Manager; fix sizer problem on Mac
svn path=/trunk/boinc/; revision=21310
2010-04-28 09:23:18 +00:00
Rom Walton e71170bd23 - MGR: Handle the Event Log's size better, pass in the correct dialog
size to the dialog creation routines instead of setting the size
        after dialog initialization.  Avoids artifacts and things having
        to be tweaked later.
        
    clientgui/
        DlgEventLog.cpp, .h

svn path=/trunk/boinc/; revision=21194
2010-04-16 19:07:02 +00:00
Charlie Fenton e7c28dfc3a MGR: Switch background color for the list view stripes back to the original color (240, 240, 240)
svn path=/trunk/boinc/; revision=20968
2010-03-19 21:10:16 +00:00
Charlie Fenton 7e6fd1a4b2 Mgr: use system text colors in lists; remove erroneous line of code which set the background stripes to almost black
svn path=/trunk/boinc/; revision=20869
2010-03-12 04:28:15 +00:00
Charlie Fenton 7cac117d5b MGR: change gray color for list stripes to (247, 247, 247) from (240, 240, 240)
svn path=/trunk/boinc/; revision=20867
2010-03-12 02:44:02 +00:00
Charlie Fenton db6fef98b1 MGR: use alternating gray and white background stripes in all lists; change gray color to (230, 230, 230)
svn path=/trunk/boinc/; revision=20865
2010-03-12 01:20:24 +00:00
Charlie Fenton 5a08d16602 MGR: Allow compile-time choice of either rules or alternating gray and white background stripes in lists
svn path=/trunk/boinc/; revision=20799
2010-03-05 07:04:58 +00:00
Rom Walton cdf46f31bc Quick Updates
svn path=/trunk/boinc/; revision=20791
2010-03-04 15:48:18 +00:00
Charlie Fenton 5f62c184c0 MGR: in Event Log: enable, disable buttons immediately when selecting or deselecting items; fix Mac-only drawing bug when window is inactive.
svn path=/trunk/boinc/; revision=20789
2010-03-04 12:06:18 +00:00
Charlie Fenton 46e2905e95 MGR:Don't alternate gray and white backgrounds in lists; use wxLC_HRULES flag instead.
svn path=/trunk/boinc/; revision=20787
2010-03-04 10:35:02 +00:00
Rom Walton 84554063f1 - MGR: Use theme colors when setting up the color scheme for list items.
The previous use of gray just happened to be the same color as the
        deselected but highlighted list item which caused the 'gray'
        backgrounded items to display a white background after Windows
        inverted the color for highlighting. By using theme colors we avoid
        having to worry about such things.
        
    clientgui/
        BOINCBaseView.cpp
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=20780
2010-03-03 18:46:21 +00:00
Charlie Fenton bf7b3e552b MGR: Fix more Event Log bugs
svn path=/trunk/boinc/; revision=20767
2010-03-02 13:09:06 +00:00
Charlie Fenton a40f1516a7 MGR: Add to Event Log filtering by project, gray & white alternating backgrounds, dimming when connection lost
svn path=/trunk/boinc/; revision=20741
2010-02-26 12:32:38 +00:00
Rom Walton 01a48f14ad - MGR: Fix icons for dialogs that display them.
clientgui/
        DlgEventLog.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp

svn path=/trunk/boinc/; revision=20601
2010-02-16 22:18:01 +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
Rom Walton c1e5990bd8 Quick Updates
svn path=/trunk/boinc/; revision=20069
2010-01-04 19:09:41 +00:00
David Anderson 735e2b0448 - internal change: rename MSG_USER_ERROR to MSG_USER_ALERT
svn path=/trunk/boinc/; revision=20027
2009-12-23 18:02:40 +00:00
Charlie Fenton 3239f120cf MGR: Fix save and restore of Event Log column widths
svn path=/trunk/boinc/; revision=20025
2009-12-23 11:01:48 +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 0c1d69f057 - MGR: Reenable the refresh timer local to CDlgEventLog, but do not
issue an RPC, determine the size by asking the vector.
        
    clientgui/
        DlgEventLog.cpp, .h


svn path=/trunk/boinc/; revision=20018
2009-12-22 22:12:05 +00:00
Rom Walton 5863f88922 - MGR: Make sure the correct constructor is called, otherwise nothing
happens.
        
    clientgui/
        DlgEventLog.cpp, .h

svn path=/trunk/boinc/; revision=20017
2009-12-22 20:27:43 +00:00
Rom Walton e72fe8cb0a Quick Updates
svn path=/trunk/boinc/; revision=20015
2009-12-22 20:18:41 +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 918a7e5d26 - MGR: Use Destroy() instead of deleting the this pointer to cleanup
the dialog.

    clientgui/
        DlgEventLog.cpp, .h

svn path=/trunk/boinc/; revision=20012
2009-12-22 17:35:27 +00:00
Rom Walton 3210912d76 - MGR: Treat the Event Log dialog as an orphan dialog. This allows
the main manager window to move to the top of the z-order even
        while the dialog is up.
        
    clientgui/
        DlgEventLog.cpp, .h

svn path=/trunk/boinc/; revision=20010
2009-12-22 17:05:13 +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
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