Commit Graph

127 Commits

Author SHA1 Message Date
Charlie Fenton de0f30a840 Mac MGR: Add accessibility support for disabled users to BOINCListCtrl
svn path=/trunk/boinc/; revision=19389
2009-10-29 11:23:15 +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
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
Charlie Fenton f989eba75a MGR: Bug fixes for Linux
svn path=/trunk/boinc/; revision=18925
2009-08-27 01:46:20 +00:00
Charlie Fenton d2441ed274 MGR: call UpdateSelection() from OnListRender() instead of from RestoreSelections(). Fixes #837.
svn path=/trunk/boinc/; revision=17078
2009-01-30 07:03:42 +00:00
Charlie Fenton 2e90dfe915 Remove override of GetSelectedItemCount(); call DeleteItem() rather than SetItemCount() to reduce # of rows
svn path=/trunk/boinc/; revision=17006
2009-01-24 00:05:53 +00:00
Charlie Fenton b39cb9a217 MGR: Work around bug in generic list control GetSelectedItemCount(); remove redundant UpdateSelection() call
svn path=/trunk/boinc/; revision=16996
2009-01-23 07:39:38 +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 01a18a5b1b MGR: restore code to erase and refresh entire Tasks panel when changing tabs or selections.
svn path=/trunk/boinc/; revision=16628
2008-12-05 01:13:16 +00:00
Charlie Fenton ba1efc6014 MGR: Restore m_bForceUpdateSelection logic because it is needed to prevent flicker.
svn path=/trunk/boinc/; revision=16618
2008-12-04 11:39:51 +00:00
Charlie Fenton 64f863e894 Restore UpdateSelection() call in CBOINCBaseView::OnListRender() to fix Suspend/Resume button text; set wxWidgets option "msw.staticbox.optimized-paint" to try another fix for Task Pane background erase glitch on Windows.
svn path=/trunk/boinc/; revision=16617
2008-12-04 10:53:27 +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 12d73b5c3a MGR: Erase and refresh entire Tasks panel when changing selections to try to fix another instance of cosmetic bug reported by David on Windows
svn path=/trunk/boinc/; revision=16585
2008-11-28 09:25:29 +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 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 b4d0ec65ea MGR: Always sort after a row is added or deleted.
svn path=/trunk/boinc/; revision=16352
2008-10-29 10:24:45 +00:00
Charlie Fenton 20d9ee39e5 MGR: Fix bug introduced yesterday
svn path=/trunk/boinc/; revision=16347
2008-10-29 07:58:05 +00:00
Charlie Fenton c521f35792 MGR: When removing a row from sorted lists, refresh all rows to ensure proper display update
svn path=/trunk/boinc/; revision=16337
2008-10-28 21:00:23 +00:00
Charlie Fenton 7d78707787 MGR: When removing a row from sorted lists, refresh all rows to ensure proper display update
svn path=/trunk/boinc/; revision=16336
2008-10-28 20:49:56 +00:00
David Anderson eae866f743 - client: for CPU throttling, don't suspend apps that
are non-CPU-intensive or that use < 1 CPU (e.g., CUDA)
	- client: get rid of spurious "internal error,
		expected process to be executing" msg
	- diag: don't check heap on every alloc
	- fix a few compile warnings

svn path=/trunk/boinc/; revision=16323
2008-10-27 20:17:22 +00:00
Charlie Fenton 2277846114 MGR: To reduce flicker, redraw only changed cells in List Control on non-Mac systems
svn path=/trunk/boinc/; revision=16185
2008-10-10 08:47:02 +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 8c97c33dca MGR: Simplify Messages display logic; fix possible memory leaks; fix button tooltip.
svn path=/trunk/boinc/; revision=15998
2008-09-14 12:39:19 +00:00
Charlie Fenton a6090f0960 MGR: Restore focus to ListCtrl after each refresh only when application is active
svn path=/trunk/boinc/; revision=15996
2008-09-13 11:17:09 +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 9412fb959e MGR: undo previous change: we must call Update Selection on every list refresh to properly update Suspend/Resume buttons.
svn path=/trunk/boinc/; revision=15993
2008-09-12 23:58:30 +00:00
Charlie Fenton 480339d0e2 Fix Windows compiler warnings
svn path=/trunk/boinc/; revision=15991
2008-09-12 12:27:17 +00:00
Charlie Fenton 2c6c3f6ce0 MGR: Reduce flicker when restoring selections and updating buttons only when selections changed; disable Show Graphics if task Waiting to Run
svn path=/trunk/boinc/; revision=15990
2008-09-12 12:09:15 +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 79fa10e8a7 MGR: Use item attributes to create gray backgroound stripes to eliminate remaining flicker on Windows
svn path=/trunk/boinc/; revision=15978
2008-09-08 12:39:41 +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
Charlie Fenton 3b906496be Fix compiler warning
svn path=/trunk/boinc/; revision=15971
2008-09-05 10:03:13 +00:00
Charlie Fenton e299faedf2 MGR: Eliminate flicker in list controls due to Freeze() / Thaw() calls
svn path=/trunk/boinc/; revision=15970
2008-09-05 09:49:42 +00:00
Charlie Fenton 37b3e3724f MGR: Save and restore selected items by key values when refreshing
svn path=/trunk/boinc/; revision=15966
2008-09-04 22:53:29 +00:00
Charlie Fenton 790d405af8 MGR: Save and restore selected items by key values when refreshing
svn path=/trunk/boinc/; revision=15964
2008-09-04 14:07:29 +00:00
Charlie Fenton 104a4be78d MGR: Save and restore selected items by key values when refreshing.
svn path=/trunk/boinc/; revision=15959
2008-09-04 13:00:24 +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
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 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 6a40f89107 MGR: Small bug fix in new sortable Accessible Views
svn path=/trunk/boinc/; revision=15592
2008-07-11 08:16:38 +00:00
Charlie Fenton af866dd801 MGR: Use std::stable_sort to stop rows with equal values in the sort column changing places randomly
svn path=/trunk/boinc/; revision=15561
2008-07-08 15:13:34 +00:00
Charlie Fenton ad724c3f50 MGR List View: fix deselect detection, add all features to Transfers tab, fix bugs, clean up code
svn path=/workspaces/wxListCtrl/; revision=15504
2008-06-27 10:05:47 +00:00
Charlie Fenton 51842fb4d6 Work around wxListCtrl item deselection bug
svn path=/workspaces/wxListCtrl/; revision=15502
2008-06-27 04:34:47 +00:00
Charlie Fenton b3a123e841 MGR List View: multiple selections for Tasks tab, all features in Projects tab, save/restore sort settings
svn path=/workspaces/wxListCtrl/; revision=15479
2008-06-26 11:49:43 +00:00
Charlie Fenton 2b12a255e8 MGR List View: after sort, refresh only moved rows, start adding multiple selection support
svn path=/workspaces/wxListCtrl/; revision=15476
2008-06-26 01:25:31 +00:00
Charlie Fenton 4b885b2601 Eliminate some unnecessary sorting.
svn path=/workspaces/wxListCtrl/; revision=15465
2008-06-25 14:45:03 +00:00