Commit Graph

169 Commits

Author SHA1 Message Date
Charlie Fenton b8bbf607ad MGR: Take into account that there may be gaps in the sequence numbers because some notices may have been deleted
svn path=/trunk/boinc/; revision=21777
2010-06-18 22:39:12 +00:00
Charlie Fenton 9230822e94 MGR: save last notice which has been read in persistent storage by saving its arrival time
svn path=/trunk/boinc/; revision=21771
2010-06-18 13:23:22 +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 fa1cf386b4 MGR: If get_results RPC takes x seconds, do it no more often than once every (x*10) seconds
svn path=/trunk/boinc/; revision=21606
2010-05-24 10:06:07 +00:00
David Anderson 36f5d35dfd - manager: in transfers tab, show reason why transfer is suspended
- manager: WTF?? master URL, not name, identifies projects.
- manager: got rid of a bunch of unused functions

svn path=/trunk/boinc/; revision=21449
2010-05-10 22:34:25 +00:00
David Anderson 06cb521bbe - manager: improve "suspended" messages for tasks and transfers
- manager: code reorg.  ViewTransfers and DlgItemProperties
		both had a long member function to generate a string describing a task.
		One of these was out of date.
		Replaced these with a single non-member function.
	- manager: fixed sizer problem in attach wizard that caused missing word
	- client: minor code reorg

svn path=/trunk/boinc/; revision=21412
2010-05-07 16:14:54 +00:00
Charlie Fenton f811b9bccd MGR: Show # unread notices in Notices tab title, improve notification for unread notices, link to reminder frequency slider
svn path=/trunk/boinc/; revision=21042
2010-04-01 11:09:33 +00:00
Charlie Fenton e82d761e23 MGR: Call get_notices RPC once per minute when Notices tab is not open so we can notify the user when new notices become available
svn path=/trunk/boinc/; revision=21024
2010-03-30 00:06:43 +00:00
David Anderson 86582342a8 - GUI RPC: in the structures used in the C++ interface to GUI RPC,
change various std::string to char[n], to improve performance.

NOTE: std::string should ONLY be used in cases where there is
no a priori limit on string length.
If there's a limit (e.g. because the string originates in
a fixed-size database field) always use char[n].

svn path=/trunk/boinc/; revision=20877
2010-03-12 17:47:17 +00:00
Charlie Fenton 39b576f7e3 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=20116
2010-01-09 08:06:58 +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
Rom Walton 014569af1f - MGR: Implement Notice RPC infrastructure.
clientgui/
        AsyncRPC.cpp, .h
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=20066
2010-01-04 18:09:29 +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 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
David Anderson 2ff21d2a21 - client/manager: finish "snooze GPU" button
svn path=/trunk/boinc/; revision=19854
2009-12-11 00:08:28 +00:00
Charlie Fenton f989eba75a MGR: Bug fixes for Linux
svn path=/trunk/boinc/; revision=18925
2009-08-27 01:46:20 +00:00
Charlie Fenton b46586d7a9 MGR: Test changes to avoid non-stop RPC Wait dialog when client is heavily loaded
svn path=/trunk/boinc/; revision=18822
2009-08-08 03:32:05 +00:00
Charlie Fenton 1c5cfe55d7 MGR: Implement "Show active tasks / Show all tasks" button
svn path=/trunk/boinc/; revision=18816
2009-08-07 08:33:31 +00:00
Charlie Fenton ddc3d4eb0b MGR: In Async RPC logic, use posix mutexes and condition instead of wxMutex and wxCondition, as this appears to fix an intermittent hang in wxCondition::Wait()
svn path=/trunk/boinc/; revision=18333
2009-06-08 22:44:03 +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
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
Charlie Fenton c219928655 MGR: Async RPCs: Use wxCondition to block RPC thread when it is idle instead of creating and a new RPC thread for each RPC
svn path=/trunk/boinc/; revision=16497
2008-11-15 13:21:08 +00:00
Charlie Fenton 5a86e7529e MGR: Async RPCs: RPC thread is now a joinable thread which does one RPC and exits. Main thread creates a new RPC thread for each RPC request.
svn path=/trunk/boinc/; revision=16423
2008-11-05 06:03:13 +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
Charlie Fenton d7c9746f5c MGR: async GUI RPCs: eliminate redundant RPC calls in SimpleGUI.
svn path=/trunk/boinc/; revision=16094
2008-09-30 09:36:07 +00:00
Charlie Fenton 7a9468edbb Mgr: Fix 2 async GUI RPCs, also hoping to fix memory leak.
svn path=/trunk/boinc/; revision=16091
2008-09-30 01:12:49 +00:00
Charlie Fenton 3e05e93278 MGR: Simplify Async GUI RPC refresh event logic; prevent a possible case of undesirable recursion.
svn path=/trunk/boinc/; revision=16040
2008-09-23 00:16:43 +00:00
Charlie Fenton 9758c47ffe Mgr: ignore timer events during RPC Wait dialog to prevent unintended recursion and crashes
svn path=/trunk/boinc/; revision=16024
2008-09-19 06:50:25 +00:00
Charlie Fenton 700bec2560 MGR: Fix updates of Statistics tab when pressng buttons or connecting to a different host under async GUI RPCs
svn path=/trunk/boinc/; revision=15969
2008-09-05 07:08:05 +00:00
Charlie Fenton 0d64e99e6d MGR: Fix updates of Statistics tab when pressng buttons or connecting to a different host under async GUI RPCs
svn path=/trunk/boinc/; revision=15968
2008-09-05 04:12:01 +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
Charlie Fenton 99de98c8be MGR: async GUI RPCs: Code cleanup
svn path=/workspaces/charlief/; revision=15848
2008-08-15 02:27:30 +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 9bde2e1b44 MGR: async GUI RPCs: Suspend RPC thread when not in use.
svn path=/workspaces/charlief/; revision=15720
2008-07-31 01:35:17 +00:00
Charlie Fenton bb40f6ac44 MGR: async GUI RPCs: under SimpleGUI, call acct_mgr_info RPC every 10 minutes. Merge client changes from SVN trunk.
svn path=/workspaces/charlief/; revision=15718
2008-07-31 00:18:43 +00:00
Charlie Fenton d34bc2a810 MGR: async GUI RPCs: Bug fixes.
svn path=/workspaces/charlief/; revision=15708
2008-07-30 12:49:10 +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
Charlie Fenton 19c81a4ef5 MGR: async GUI RPCs: All periodic RPCs for Advanced View implemented.
svn path=/workspaces/charlief/; revision=15695
2008-07-28 13:09:02 +00:00
Charlie Fenton 0bc22ed690 MGR: Eliminate Grid Views. NOTE: The Grid View source files still should be removed from Windows project and makefiles for Linux, etc. and possibly from SVN trunk.
svn path=/workspaces/charlief/; revision=15689
2008-07-27 03:01:59 +00:00
Charlie Fenton 1830e05ad4 MGR: async GUI RPCs: disallow events while processing demand RPCs, wait 1250ms before Please Wait dialog.
svn path=/workspaces/charlief/; revision=15686
2008-07-27 01:06:01 +00:00
Charlie Fenton 16b7432bbe MGR: async GUI RPCs: Implement first Periodic RPCs called from a timer event for CachedStateUpdate(), ForceCacheUpdate(), GetCoreClientStatus().
svn path=/workspaces/charlief/; revision=15672
2008-07-25 11:44:21 +00:00
Charlie Fenton f48643e837 MGR: async GUI RPCs: Get RPCs all working in separate thread; temporarily ignore timer events which would do RPCs while a previous RPC request is in progress.
svn path=/workspaces/charlief/; revision=15667
2008-07-24 10:18:31 +00:00
Charlie Fenton 29ddd3421b MGR: async GUI RPCs: All RPCs now go through separate thread, but still one at a time.
svn path=/workspaces/charlief/; revision=15663
2008-07-23 14:16:59 +00:00
Charlie Fenton 4a12ba89e7 More fixes, Linux make files.
svn path=/workspaces/charlief/; revision=15653
2008-07-22 13:26:52 +00:00
Charlie Fenton 7456b19e88 MGR: async GUI RPCs: Fix RPC cancel, etc. for Windows.
svn path=/workspaces/charlief/; revision=15641
2008-07-21 11:14:44 +00:00
Charlie Fenton e5bf6451e9 MGR: async GUI RPCs: close socket, kill RPC thread if user cancels.
svn path=/workspaces/charlief/; revision=15636
2008-07-19 12:12:26 +00:00