Commit Graph

152 Commits

Author SHA1 Message Date
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
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