Commit Graph

39 Commits

Author SHA1 Message Date
Charlie Fenton 7b931b5232 Mgr: Display a message and "Retry now" button if some images or other items within notices failed to load from the Internet; if network activity is suspended, say so in the message 2013-03-04 17:24:17 +01:00
Charlie Fenton d95bf6945a Mgr: Clear our internal Internet cache when selecting a different computer; when removing entries from hash table, delete data to avoid memory leaks 2013-03-04 17:24:17 +01:00
Charlie Fenton b37c720661 Mgr: Display "Fetching notices..." instead of "There are no notices" while getting notices. Display "There are no notices" only if we have actually determined there are no notices 2013-03-04 17:19:40 +01:00
Charlie Fenton d90d77a9c0 Mgr: More robust way to display "No notices" message 2013-03-04 17:19:39 +01:00
Charlie Fenton 8749a08804 Mgr: Fix delay displaying notices 2013-03-04 17:19:39 +01:00
Charlie Fenton 2d78d37328 Fix corrupted line endings 2013-03-04 15:23:37 +01:00
Charlie Fenton fdaaddb76a Mgr: Fix some rare issues on Windows (including a possible memory leak) when switching to a client on a different computer after trying to display notices without an Internet connection 2013-03-04 15:23:37 +01:00
David Anderson 81ca21c828 - manager: show notice create time rather than arrival time
- client: don't show "need network" notice if we don't need it

svn path=/trunk/boinc/; revision=23133
2011-03-02 18:53:18 +00:00
Rom Walton e05d9ff77c - MGR: Properly handle the case where the only notice in the manager
is the 'no notice' notice and then we transition to a single notice
        from another source.

    clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=23132
2011-03-02 18:47:24 +00:00
David Anderson a7c51c6340 - client and manager: fix notice titles
- code cleanup: please use standard coding conventions

svn path=/trunk/boinc/; revision=22607
2010-10-29 18:58:26 +00:00
Rom Walton 8f58adc057 - MGR: Add missing keyboard shortcut for the Event Log
- MGR: Add missing ellipses for the new instance of BOINC Manager and
        Event Log.
    - MGR: Display a simple message when saying that there are no notices
        to be displayed when the client reports there are zero notices.

    clientgui/
        AdvancedFrame.cpp
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22558
2010-10-19 19:28:29 +00:00
Charlie Fenton 945470d3ba - MGR: Allow Notices tab to scroll smoothly, disallow selection of items in Notices tab
svn path=/trunk/boinc/; revision=22242
2010-08-15 14:17:01 +00:00
Charlie Fenton ac21aca5fa MGR: clear notices display when selecting a different host to force display of new host's notices
svn path=/trunk/boinc/; revision=22105
2010-08-03 09:17:39 +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 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
David Anderson 6b8a569d6d - client/scheduler: fix a group of bugs related to the new mechanism
where the client tells the scheduler which app versions
    its queued jobs use
    (this is needed, e.g., to enforce per-app or per-resource job limits).
    In this mechanism, the client sends an array of <app_version>s,
    and each <other_result> includes an index into this array.

    - The wrong index was being sent (client).
    - If an <app_version> had a non-existent app name
        (e.g. because that app had been deprecated)
        it wasn't getting put in the array, invalidating array indices
        Furthermore, an erroneous message was being sent to the user

        Fix: if parse error for <app_version>,
        put it in the array anyway, but with cav.app = NULL,
        meaning that it's a place-holder.
        Send a message to user only if anon platform.

- manager: increase notice buffers to 64K

svn path=/trunk/boinc/; revision=22052
2010-07-23 17:43:20 +00:00
Rom Walton e30a71b8e3 - MGR: Add some padding to each notice.
clientgui/
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22043
2010-07-22 22:00:15 +00:00
David Anderson ef044d6841 - client/manager: add the ability to associate URLs with
client-generated notices.
    Use this as appropriate: e.g., for errors about cc_config.xml syntax,
    direct user to the web page describing this syntax.

svn path=/trunk/boinc/; revision=22024
2010-07-21 19:04:46 +00:00
David Anderson a33d6a6f8b - client: don't do two RSS fetches at once
- manager: WxWidget's HTML renderer doesn't seem to like \n's.
		For example, if you try to render
			foo
			<img src=...>
			blah
		all it shows is foo.
		Work around this by replacing \n's with <br>

svn path=/trunk/boinc/; revision=22017
2010-07-20 23:13:26 +00:00
Charlie Fenton 8f0632f5c0 MGR: Add a comment
svn path=/trunk/boinc/; revision=21890
2010-07-10 08:02:00 +00:00
Charlie Fenton 994f17933d MGR: More code cleanup, optimization and bug fixes
svn path=/trunk/boinc/; revision=21889
2010-07-10 07:38:44 +00:00
Charlie Fenton 922a232a7f MGR: Fix ProjectListCtrl accessibility code bug, clean up Mac accessibility code
svn path=/trunk/boinc/; revision=21886
2010-07-09 10:18:48 +00:00
Charlie Fenton 0951733a49 MGR: Fix bugs in accessibility code for Notices tab
svn path=/trunk/boinc/; revision=21880
2010-07-08 11:55:43 +00:00
Rom Walton 7320190522 - MGR: Fix Linux build break.
clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21869
2010-07-06 19:26:53 +00:00
Charlie Fenton d9299e0154 MGR: after GUI RPC sets NOTICES::complete, only NoticeListCtrl clears it; fix compile warning
svn path=/trunk/boinc/; revision=21855
2010-06-30 23:42:34 +00:00
Rom Walton 21d1d5375a - MGR: Fix a bug in the notices code. Refresh the UI if the complete notices
list has been downloaded regardless of whether or not the item counts are
        the same.
        
    clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21850
2010-06-30 20:12:24 +00:00
Rom Walton e9455a2d27 - MGR: Rework the notices view to simplify the rendering logic even at the
cost of repeated string conversions (it doesn't appear to mess with
        the messages tab performance too much). Inspired by Charlie.

    clientgui/
        NoticeListCtrl.cpp, .h
        ViewNotices.cpp

svn path=/trunk/boinc/; revision=21847
2010-06-30 18:52:20 +00:00
Charlie Fenton 632b64c8ca MGR: logic changes & fixes to Notices display for new NOTICES::complete flag
svn path=/trunk/boinc/; revision=21845
2010-06-30 09:38:43 +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
Rom Walton dbc2cff924 - MGR: Delete expired entries from the notices control
- MGR: Remove sort code.  Entries in the pDoc notices
        structure is already sorted.
        
    clientgui/
        NoticeListCtrl.cpp, .h
        ViewNotices.cpp

svn path=/trunk/boinc/; revision=21828
2010-06-28 02:41:34 +00:00
Rom Walton e1f992fce2 - MGR: Sort notices by dtime()
clientgui/
        ViewNotices.cpp
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21825
2010-06-25 23:34:38 +00:00
Rom Walton 89fbfae2b8 - MGR: Bug fixes to previous commit.
clientgui/
        ViewNotices.cpp
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21811
2010-06-25 15:53:28 +00:00
Rom Walton 744e4d8ca0 Quick Updates
svn path=/trunk/boinc/; revision=21810
2010-06-25 15:44:04 +00:00
Rom Walton 1d670374fd - MGR: Handle sorting the notices control a different way.
clientgui/
        ViewNotices.cpp
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21809
2010-06-25 15:30:20 +00:00
Charlie Fenton 76370f6ae8 MGR: Fix order of items displayed in Notices tab correctly this time
svn path=/trunk/boinc/; revision=21803
2010-06-24 20:55:14 +00:00
Charlie Fenton 1056dbf9e0 MGR: Fix order of items displayed by NoticeListCtrl (newest first); update Mac accessibility for new NoticeListCtrl
svn path=/trunk/boinc/; revision=21799
2010-06-23 23:31:05 +00:00
Rom Walton ebc76b315c - MGR: Hook up new NoticeListCtrl.
TODO: pre-stage the download of images instead of relying
        on wxWidgets to do it out of band.  It gets stuck in a
        recursive loop and eventually blows up if it has to go
        out to the Internet to find image files it has already
        downloaded once after selecting the item.  I presume it
        decides it needs to re-download the image becuase the
        background color for the whole line changes.
        
    clientgui/
        NoticeListCtrl.cpp, .h
        ProjectListCtrl.cpp
    clientgui/
        ViewNotices.cpp, .h

svn path=/trunk/boinc/; revision=21796
2010-06-23 21:44:31 +00:00
Rom Walton e64ae493d0 - MGR: Commit the new Notice List Control.
TODO: Hook it up to the view.
        
    clientgui/
        Events.h
        NoticeListCtrl.cpp, .h
        ViewNotices.cpp
    win_build/
        boincmgr.vcproj
        

svn path=/trunk/boinc/; revision=21793
2010-06-23 16:59:35 +00:00
Rom Walton 9cb3e6ffc7 - client & lib: bring header inclusion up-to-date for the CC to begin
hunting down a memory leak.
        
    client/
        <Various Files>
    lib/
        <Various Files>

svn path=/trunk/boinc/; revision=21457
2010-05-11 19:10:29 +00:00