Commit Graph

173 Commits

Author SHA1 Message Date
RichardHaselgrove a8ff2556eb Manager: task list scrolling
Reduce the number of times the task list scrolls to the bottom under routine operations. Fixes #2147
2019-03-20 13:48:03 +00:00
Aaron Puchert b7cc65ae85 Use wxString instead of wxChar* where necessary
This eliminates compiler errors with wxUSE_STL=1. It's probably also a
cleaner way to pass strings around.
2016-04-12 23:21:08 +02:00
Charlie Fenton 4be9f5a171 MGR: Fix Coverity CID 39031 2015-10-20 03:19:53 -07:00
Charlie Fenton 4094edd180 MGR: Work around an apparent bug in wxWidgets 3.0 on Linux which drew blank lines at the top and failed to draw the bottom items. This could happen if the list was scrolled near the bottom and the user selected "Show active tasks." 2015-01-21 23:45:26 -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 9f5b0c1962 MGR: Immediately save changes to the registry when sort column or direction is changed, or when user changes which columns are hidden.
We can't immediately save changes to the registry when a user rearranges columns by dragging them, because MS Windows does not send a notification so wxWidgets can't generate an event.
2014-12-12 02:44:21 -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 3ee434e352 MGR: Fix an assert and correct a comment 2014-06-09 06:49:05 -07:00
Charlie Fenton 6246159dd5 MGR: Fix compiler warnings. 2014-06-05 04:15:19 -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 a275fc7a0b MGR: use instance variables instead of the static (class) variables in my recent commits. This is better practice and safer, though the code did work properly with the static variables because OnCacheHint() is called whenever you select a different tab. 2014-05-21 04:06:47 -07:00
Charlie Fenton 69327a4054 MGR: Further simplification and efficiency improvements for list selection, list deselection and updating task panels. 2014-05-21 02:58:14 -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
Charlie Fenton 0c88601eb5 MGR: Hide Project Web Pages task pane if multiple projects are selected using Shift-Click. 2014-05-20 19:44:43 -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 fa20d755e0 MGR: Improve keyboard navigation to provide better accessibility for users with limited motor coordination 2014-03-31 05:12:10 -07:00
Charlie Fenton 51af7d5631 MGR: bug fix: remove scroll bars from commands / web sites area of advanced view when not needed. 2014-03-21 04:27:28 -07:00
Rom Walton edcc9ce9d5 client & MGR: Remove byte order markers from UTF-8 encoded files. 2014-03-17 15:44:11 -04:00
Rom Walton 3dbe238996 client & manager: Convert several files to UTF-8 encoding. BOINCBaseView.cpp needed to be converted on a Windows machine to properly handle the original encoding. 2014-01-28 15:29:59 -05:00
Charlie Fenton 5314522ac1 Merge commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5' into charlief/wxwidgets30
# By David Anderson (617) and others
# Via Oliver Bock (56) and others
* commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5': (1943 commits)
  remote job submission: add C++ interface to estimate_batch function
  translation stuff
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 1563 of 2856 strings translated (190 fuzzy).
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (45 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2831 of 2859 strings translated (1 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  Commit from Pootle Demo by user admin.: 3158 of 3183 strings translated (2 fuzzy).
  client: Remove build environment changes that attempted to detect Android, it wasn't needed.
  client: fix Android OS detection
  client: only add the pthread libs if not linking for Android
  android: Bulk import of localization text
  android: Bulk import of localization text
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2817 of 2859 strings translated (4 fuzzy).
  Commit from Pootle Demo by user admin.: 2830 of 2859 strings translated (1 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (95 fuzzy).
  ...

Conflicts:
	checkin_notes
	clientgui/AsyncRPC.cpp
	clientgui/BOINCGUIApp.cpp
	clientgui/DlgEventLog.cpp
	clientgui/DlgEventLogListCtrl.cpp
	clientgui/DlgEventLogListCtrl.h
	clientgui/MainDocument.cpp
	clientgui/NoticeListCtrl.cpp
	clientgui/mac/MacBitmapComboBox.cpp
	clientgui/mac/SetVersion.cpp
	clientgui/mac/templates/SystemMenu-Info.plist
	clientgui/sg_BoincSimpleFrame.cpp
	mac_build/boinc.xcodeproj/project.pbxproj
	win_build/example_app_multi_thread.vcproj
	win_build/gr_boinc_ss.vcproj
	win_build/sleeper.vcproj
	win_build/uc2.vcproj
	win_build/uc2_graphics.vcproj
	win_build/vboxwrapper.vcproj
	win_build/wrapper.vcproj
2013-10-22 03:53:45 -07:00
Charlie Fenton d73e1c3261 MGR: Fix display of CBOINCListCtrl progress bars when using wxGenericListCtrl (on Mac) 2013-09-09 16:31:49 -07:00
David Anderson 3453ed7814 - manager: fix some compile warnings on Unix 2013-03-05 15:12:52 +01:00
Rom Walton 243dc79b52 wxWidgets 2.9/3.0 changes 2013-02-04 13:03:49 -05:00
David Anderson 6441ddf4d0 - manager: in tooltips for Project/Task buttons,
don't prepend "button name: ";
		add a tooltip for Home Page button.

svn path=/trunk/boinc/; revision=25163
2012-01-27 21:29:35 +00:00
Charlie Fenton 36ebfcd176 MGR: Fix sizes of task panes and buttons, elapsing button text if needed
svn path=/trunk/boinc/; revision=25147
2012-01-25 11:51:31 +00:00
David Anderson ed7dd449ed - Manager: in project web links, use "Home Page" instead of the
project name (which could be very long)

svn path=/trunk/boinc/; revision=25104
2012-01-19 03:49:37 +00:00
Rom Walton dba49cb953 - MGR: Derive from the correct base class to make the sizers work
properly.
        
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp

svn path=/trunk/boinc/; revision=25007
2012-01-06 23:37:40 +00:00
Rom Walton f208d2dba4 Quick Updates
svn path=/trunk/boinc/; revision=25002
2012-01-06 17:21:21 +00:00
Rom Walton 1287b95f73 - MGR: Remove sash window divider between the task panel and list panel
in the advanced view. Retain the ability to dynamically adjust the
        width of the task panel based on widest button.
    - LIB: Use parse string instead of copy contents for messages RPC.
    
    clientgui/
        BOINCBaseView.cpp, .h
        ViewNotices.cpp
        ViewResources.cpp
        ViewStatistics.cpp
    lib/
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=25001
2012-01-06 17:12:19 +00:00
Rom Walton c4a52ef4fa - MGR: Scale the task pane in the advanced view to encompass the largest button.
clientgui/
        BOINCBaseView.cpp, .h
        BOINCTaskCtrl.cpp
        stdwx.h
        ViewNotices.cpp
        ViewResources.cpp
        ViewStatistics.cpp

svn path=/trunk/boinc/; revision=24745
2011-12-06 19:01:03 +00:00
Rom Walton 1149ca4334 - MGR: Disable our color scheme is a non-white background is selected
for the current theme. My commit on 3 Mar 2010 wasn't good enough
        for High-Contrast themes.
        
    clientgui/
        BOINCBaseView.cpp
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=23137
2011-03-02 23:31:53 +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
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
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 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 00d0a6ccc7 MGR: Improve performance when reducing number of rows in lists (as when selecting "Show active tasks")
svn path=/trunk/boinc/; revision=20832
2010-03-11 01:14:07 +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 1e75c93b19 Quick Updates
svn path=/trunk/boinc/; revision=20790
2010-03-04 15:46:37 +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 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 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