Commit Graph

145 Commits

Author SHA1 Message Date
Charlie Fenton 4dfd53f4e8 MGR: simplify my fix of bug which made it difficult to select items when certain columns are hidden 2015-10-22 02:34:03 -07:00
Charlie Fenton 40398cec31 MGR: fix a bug which made it difficult to select items when certain key fields are hidden (selection would always jump to item in top row) 2015-10-22 01:39:20 -07:00
David Anderson 26f92fcaf1 Manager: fix comma-separated display of >32 bit numbers
VS apparently requires "long long" to get 64 bits.

Also: convert various floats to double in the Manager.
BOINC shouldn't use floats anywhere.  Always use doubles.
2015-09-07 01:03:54 -07:00
David Anderson cb5160cb8a Manager: format time intervals as Dd HH:MM:SS
Combine redundant TimeFormat() functions
2015-08-26 23:30:50 -07:00
Charlie Fenton b1332ad67c MGR: Fix some crash bugs in the code to hide or rearrange columns which can occur when changing locale to a different language. 2015-05-01 03:20:05 -07:00
Charlie Fenton 54bbac5c4f MGR: Fix some crash bugs in the code to hide or rearrange columns which can occur when changing locale to a different language. 2015-04-30 03:39:59 -07:00
Charlie Fenton 9ec336e137 MGR: Remove temporary testing code. 2014-12-14 21:54:51 -08:00
Charlie Fenton a813abf863 MGR: Allow hiding some columns by default; add comments; remove unused code. 2014-12-14 21:47:37 -08:00
Charlie Fenton 2a378d027e MGR: Fix a mysterious bug which sometimes prevented list headers from being drawn when using generic wxListCtrl. 2014-12-12 05:07:54 -08:00
Charlie Fenton fc968249c3 MGR: Allow user to select which list columns to show or hide in Projects, Tasks and Transfers tabs.
- New dialog also allows restoring column configurations to defaults.
2014-12-11 06:18:47 -08:00
Charlie Fenton bdc530b0f6 MGR: Consolidate code to change column order. Add function to restore default column order. 2014-12-05 04:37:07 -08:00
Charlie Fenton 2679e13605 MGR: Allow user to change order of columns in Projects, Tasks and Transfers tabs (currently implemented by wxWidgets only for MS Windows.) 2014-12-04 06:01:15 -08:00
Charlie Fenton 1613aeaed6 MGR: Fix typo and comments 2014-06-24 20:15:49 -07:00
Charlie Fenton 36ab4dcae7 MGR: Fix typos in my commit 70639a7 for using EVT_LIST_CACHE_HINT instead of EVT_LIST_ITEM_SELECTED or EVT_LIST_ITEM_DESELECTED to immediately detect selection changes in generic wxListCtrl for updating task control panels. 2014-06-04 17:43:38 -07:00
Charlie Fenton a39f4f9a18 MGR: add #define USE_LIST_CACHE_HINT to determine which platforms should use on EVT_LIST_CACHE_HINT and which should use EVT_LEFT_DOWN to trigger checking for item selection / deselection in wxListCtrl. This makes it independent of USE_NATIVE_LISTCONTROL. This is an improvement on my commit 70639a7. 2014-05-28 01:52:33 -07:00
Charlie Fenton 70639a738a MGR: Continue fixing detection of list selection and list deselection; It turns out that triggering on EVT_LIST_CACHE_HINT works better on Windows (native wxListCtrl) but mouse click events work better on Mac (generic wxListCtrl.) We still need to determine which is better on Linux. 2014-05-21 20:13:34 -07:00
Charlie Fenton e6279e3ea8 MGR: Continue fixing detection of list selection and list deselection; deselecting by clicking on empty part of list control (below or on its right) does not generate any list events if the selected item has been scrolled out of view, so we must use mouse click events within the wxListCtrl. 2014-05-21 19:11:22 -07:00
Charlie Fenton 51c3b05839 MGR: Simplification and efficiency improvements for list selection, list deselection and updating task panels. 2014-05-21 02:39:34 -07:00
Rom Walton 1fa7573de0 MGR: Remove our list control zebra striping in favor of the wxWidgets version. It bases the background color on the selected theme. 2014-04-05 02:11:48 -04:00
Charlie Fenton 291fb3b74b MGR: Corrections to previous commit 56252e1 2013-11-05 01:37:57 -08:00
Charlie Fenton 56252e11a2 MGR: Immediately update preferences/registry on more changes:
- When Event Log is opened
  - When column widths are changed
2013-11-04 18:11:36 -08:00
David Anderson ead91c6f38 Manager: in Transfers tab, Size refers to total size 2013-08-09 21:08:23 -07:00
David Anderson 3229e3d900 Manager: use "task" rather than "result" in text 2013-05-15 11:18:40 -07:00
David Anderson 3453ed7814 - manager: fix some compile warnings on Unix 2013-03-05 15:12:52 +01:00
David Anderson 8296968cbb - client: changes to the client file model to support distributed storage,
as described here: http://boinc.berkeley.edu/trac/wiki/ClientDataModel
        Compatibility:
            clients that upgrade to this version should see nothing unusual.
            Clients that downgrade from this version to a previous version
            should see all projects reset
            (i.e. tasks disappear and then get re-downloaded).
    - manager: always show whether a file transfer is upload or download
    - client: don't scale work requests by resource share

svn path=/trunk/boinc/; revision=23862
2011-07-20 19:12:10 +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
David Anderson e53fdf854b - manager: if user clicks Retry in Transfer tab while network is suspended,
show an alert.
	- manager: in transfers tab, show it if transfers are suspended
		because network is suspended
	- manager: in tasks tab, if a task is downloading or uploading
		and network is suspended, show it

svn path=/trunk/boinc/; revision=21346
2010-05-01 05:28:59 +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
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 25d96f2e37 Mac MGR: Add accessibility support for disabled users to BOINCListCtrl
svn path=/trunk/boinc/; revision=19388
2009-10-29 11:13:48 +00:00
David Anderson 705f824da5 compile fixes
svn path=/trunk/boinc/; revision=18790
2009-07-31 23:52:47 +00:00
David Anderson 786f61cfbe - file upload handler: don't treat zero-length file as an error!
(This bug has been there since 28 Oct 2004)
- GUI RPC and manager: include project backoff in FILE_TRANSFER,
    so that manager gets up-to-date value


svn path=/trunk/boinc/; revision=18786
2009-07-31 19:46:47 +00:00
David Anderson 0d807fd254 svn path=/trunk/boinc/; revision=18753 2009-07-28 18:20:29 +00:00
David Anderson f422ce79de svn path=/trunk/boinc/; revision=18663 2009-07-22 22:33:36 +00:00
David Anderson 26114920fe - client: define "too many uploads" (for work fetch) as
2 * max(ncpus, ngpus);
    show this in the state displayed by <work_fetch_debug>
- manager: show project-wide backoff in transfers tab

svn path=/trunk/boinc/; revision=18662
2009-07-22 22:00:51 +00:00
Rom Walton c6b4bcdbee - MGR: Turn GetViewName into the unlocalized version of the view
name, so the configuration group name is consistant across
        all languages and does not cause conversion issues on
        different platforms where the configuration information
        is treated differently when compiled Unicode vs. ANSI.
        
    clientgui/
        ViewMessages.cpp
        ViewNews.cpp
        ViewProjects.cpp
        ViewResources.cpp
        ViewStatistics.cpp
        ViewTransfers.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17955
2009-05-01 01:32:26 +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 0e401b7f8d MGR: Update Tasks panel only when necessary, trying again to fix redraw glitch on Windows; fix Mac Messages tab not getting deselection events due to wxWidgets bug.
svn path=/trunk/boinc/; revision=16587
2008-12-01 09:44:01 +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 33559ae292 MGR: Sort compare functions return false if values are equal
svn path=/trunk/boinc/; revision=16308
2008-10-24 11:24:39 +00:00
Charlie Fenton 160ab76aac MGR: More thorough validity checking to prevent crashes
svn path=/trunk/boinc/; revision=16247
2008-10-21 23:30:59 +00:00
Charlie Fenton 39f17fc77c MGR: Multiple fixes to Async GUI RPCs: Filter events during Please Wait dialog, hide Please Wait dialog when BOINC hidden, use try / catch blocks for all cached list data.
svn path=/trunk/boinc/; revision=16197
2008-10-14 12:35:48 +00:00
Charlie Fenton ea339fbe66 Add comments
svn path=/trunk/boinc/; revision=16139
2008-10-06 12:01:27 +00:00
Charlie Fenton 8691a1b8e4 MGR: Erase selection highlight color, gray stripes under progress bars; Async GUI RPCs: remove spurious assert
svn path=/trunk/boinc/; revision=16137
2008-10-06 11:33:28 +00:00
Charlie Fenton 5a4ee76c46 MGR: Do not force focus changes because t interferes with disability access (reverse changes of 9/12, 9/13)
svn path=/trunk/boinc/; revision=16006
2008-09-16 23:50:34 +00:00
Charlie Fenton 505e66938a Restore focus to ListCtrl button clicks and each refresh to maintain selection highlighting on Windows.
svn path=/trunk/boinc/; revision=15994
2008-09-13 00:27:13 +00:00
Charlie Fenton d2ecadb95a MGR: Draw only those progress bars which are actually needed, further reducing flicker and improving efficiency
svn path=/trunk/boinc/; revision=15981
2008-09-09 10:09:54 +00:00
Charlie Fenton c8cbeaf5f7 MGR: Make formatting of List Views more efficient; fix progress bars in transfers tab
svn path=/trunk/boinc/; revision=15976
2008-09-08 09:11:56 +00:00