Commit Graph

206 Commits

Author SHA1 Message Date
Vitalii Koshura e250455631
Manager: Remove unused variables
From PVS Studio:
V808
'strBuffer' object of 'wxString' type was created but was not utilized.
'strValue' object of 'wxString' type was created but was not utilized.
'strName' object of 'wxString' type was created but was not utilized.
'strURL' object of 'wxString' type was created but was not utilized.
'strTeamName' object of 'wxString' type was created but was not utilized.
'strDialogMessage' object of 'wxString' type was created but was not utilized.
'strOldLanguageCode' object of 'wxString' type was created but was not utilized.
'strHiddenColumns' object of 'wxString' type was created but was not utilized.
'strConnectedCompter' object of 'wxString' type was created but was not utilized.
'strEmpty' object of 'wxString' type was created but was not utilized.
'value_w' object of 'basic_string' type was created but was not utilized.
'pct_done_str' object of 'wxString' type was created but was not utilized.
'bmpPrev' object of 'wxBitmap' type was created but was not utilized.
https://www.viva64.com/en/w/V808/print

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-30 08:58:55 +03:00
Charlie Fenton 044441c1ad MGR: Mac: continue replacing deprecated Mac APIs 2017-02-25 04:56:36 -08:00
Charlie Fenton a5ab520d18 MGR: Fix bugs in commits 289005d and e1eb20f (set check mark on Snooze GPU menu item and disable it when CPU is snoozed.) The earlier commits also set the check mark when CPU was set to Suspend indefinitely. This new commit also disables the Snooze GPU menu item in some additional cases when appropriate. 2015-11-02 01:42:26 -08:00
Vitalii Koshura 289005d7fc Fix issue #1423 2015-11-01 17:14:07 +02:00
Vitalii Koshura 47b888ea69 Fix issue #1419 2015-10-28 02:17:12 +02:00
Charlie Fenton 7dea1b7b16 MGR: Fix Mac-only bug since BOINC 7.3.0 which prevented showing exit confirmation dialog when selecting quit from menubar icon menu (task bar menu.) This bug was introduced when task bar icon handling was changed for wxWidgets 3.0. 2015-06-10 00:38:31 -07:00
Charlie Fenton c64adb6e30 MGR: If not connected to client, disable snooze menu items in task bar icon menu 2015-04-07 22:48:59 -07:00
Charlie Fenton 836e491d96 MGR: Fix a problem where OS X's software firewall can cause RPC authorization to fail. 2014-10-02 03:04:39 -07:00
Charlie Fenton 7824d57af3 MGR: Fix bugs in launching hidden on Mac OS 10.6 and more simplification of Mac code for wxCocoa 3.0 2014-03-13 06:39:00 -07:00
Charlie Fenton 3df677b6bc MGR: Further improvements and simplification of Mac code for wxCocoa 3.0 2014-02-26 06:47:39 -08:00
Charlie Fenton b7b9e0acd3 MGR: Improvements to comments 2014-02-25 07:48:30 -08:00
Rom Walton 062839a431 MGR: wxSystemOptions::GetMetric doesn't appear to be implemented on the Mac, so hard code the desired icon size to 16x16 for the menu bar. 2014-02-19 10:19:24 -05:00
Rom Walton da3ac5c72a MGR: If the desired icon size is missing use the next higher or lower one that is available. 2014-02-14 16:18:18 -05:00
Rom Walton 95a45dee5a client & manager: Update icons for all client-side components. 2014-02-14 16:05:42 -05:00
Charlie Fenton a3c96339bb MGR: Fix taskbar icon menu on Windows 2013-11-05 05:47:27 -08: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 8f3a16b5f2 MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa)
- Code cleanup
- Correct behavior when automatically running Project or Account Manager Wizard
2013-08-27 22:38:00 -07:00
Charlie Fenton a9474c0440 MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa)
- Avoid bouncing Dock icon when hiding Manager
- Avoid "ghost" image when closing or hiding windows
2013-08-26 18:28:04 -07:00
Charlie Fenton 3eb24b1ee1 MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa) 2013-08-23 05:02:06 -07:00
David Anderson c5842ab728 Manager: show "paused" icon if computing is suspended for any reason 2013-08-09 23:23:32 -07:00
Rom Walton e97ff91cd8 - MGR: Fix references to the taskbar events which are now included
in the stock wxWidget library
    - MGR: Fix the logging class which changed for the new wxWidgets.
    - MGR: Add missing references winspool.lib in the linker.
2013-03-06 16:14:16 +01:00
David Anderson 994f4d6b4c - Manager: fix case where the client has only an Intel GPU,
and the manager was acting as if it had no GPUs.
2013-03-05 13:39:42 +01:00
Rom Walton 2dd82881de - client/server: fix build breaks I introduced last night with a variable
rename.
2013-03-04 15:30:03 +01:00
Charlie Fenton ce87ec9848 OpenCL: First pass at adding support for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01:00
Rom Walton 243dc79b52 wxWidgets 2.9/3.0 changes 2013-02-04 13:03:49 -05:00
Charlie Fenton 45ec33f653 MGR: Revert my changes of 18 March to Mac Task Bar Icon; always call the same instance of CTaskBarIcon::SetIcon()
svn path=/trunk/boinc/; revision=25523
2012-03-31 12:34:43 +00:00
Charlie Fenton d8bff2cb64 MGR: Fix a Mac-only bug which showed Event Log if About BOINC is selected from task bar menu when BOINC is hidden
svn path=/trunk/boinc/; revision=25281
2012-02-17 13:59:57 +00:00
Charlie Fenton 960f27cb2b MGR: Disable new "Resume" items in system tray menu if modal dialog is open
svn path=/trunk/boinc/; revision=25164
2012-01-27 22:39:20 +00:00
Charlie Fenton 4120c8d505 MGR: If CPU or GPU is suspended from Activity Menu, change "Snooze" to "Resume" in system tray menu; client: always remember previous CPU and GPU activity settings
svn path=/trunk/boinc/; revision=25160
2012-01-27 13:02:35 +00:00
Charlie Fenton 3e0055cbe0 Mac: Refine big fix for menubar icon menu not working after changing skin
svn path=/trunk/boinc/; revision=23819
2011-07-08 08:26:11 +00:00
Charlie Fenton a9b7f9e02a MGR: Rename CC_STATE::have_cuda to CC_STATE::have_nvidia; ProjectInfo page tests values appropriate for connected client version
svn path=/trunk/boinc/; revision=23764
2011-06-22 11:24:23 +00:00
Charlie Fenton 136336f0e8 MGR: Revert Rom's manager changes of 20 June related to GUI RPC changes, for compatibility with older Clients
svn path=/trunk/boinc/; revision=23763
2011-06-21 23:31:15 +00:00
Rom Walton 53bc917999 - MGR: Fix build breaks related to GUI RPC changes.
clientgui/
        AdvancedFrame.cpp
        AsyncRPC.cpp
        BOINCTaskBar.cpp
        DlgItemProperties.cpp
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=23756
2011-06-20 20:35:25 +00:00
Rom Walton b9c959ed1d - MGR: Remove unneeded asserts.
clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=23362
2011-04-11 19:51:10 +00:00
Rom Walton ec6fa49dac - MGR: Handle the 'always' option by only popping a new balloon if the
unread notice count differs from the last time we popped a
        balloon.
        
    clientgui/
        BOINCTaskBar.cpp, .h

svn path=/trunk/boinc/; revision=23174
2011-03-07 16:06:26 +00:00
Rom Walton ae0df7ce83 Quick Updates
svn path=/trunk/boinc/; revision=23172
2011-03-07 15:30:38 +00:00
Rom Walton 8db6389fc0 svn path=/trunk/boinc/; revision=23171 2011-03-07 15:19:39 +00:00
Charlie Fenton 1e94042af6 MGR: reduce duration of notifications on Mac from 15 to 5 seconds
svn path=/trunk/boinc/; revision=23165
2011-03-04 02:15:32 +00:00
Rom Walton 0bf519dea3 - MGR: Change the reminder frequency interval to hours and adjust the min/max
values to 0/24.  Default value is now 6 hours between notification reminders.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCDialupManager.cpp
        BOINCTaskBar.cpp
        DlgOptions.cpp

svn path=/trunk/boinc/; revision=23141
2011-03-03 16:32:35 +00:00
Rom Walton 33ea737f0b - MGR(WIN): While it is a perfectly valid thing to use FindWindow() and
ShowWindow() on an application frame to restore an application from
        a minimized state or a hidden state on Windows(75% of the UI test 
        automation would fail at Microsoft without this ability), it appeartly
        isn't for other platforms.  wxWidgets is or appears to be tracking window
        state internally, which leads to problems when the OS restores the window
        and the rest of the framework doesn't know about that change in state.
        Certain window events were being ignored (like WM_CLOSE, menu selection
        events, etc.). So replace the previous mechinism for bringing an existing
        instance of the BOINC Manager to the foreground by creating a new global
        window message which is tracked by the system tray icon.  When the new
        global message is fired make sure the CBOINCGUIApp::SetActiveGUI() function
        is called to restore the window state which in turn updates all the internal
        framework data structures.
        
    clientgui/
        BOINCGUIApp.cpp
    clientgui/
        BOINCTaskBar.cpp, .h
    clientgui/msw/
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=22547
2010-10-18 19:21:46 +00:00
David Anderson 746f62ff1a - GUI RPC: remove unneeded isIPV6 flag, factor out sizeof() logic
svn path=/trunk/boinc/; revision=22472
2010-10-07 17:41:34 +00:00
Rom Walton 66190aa0fc - MGR: Display the default action in the system tray menu in bold again.
- MGR: If connected to the localhost, don't display the computer name
        in the window title.
    - MGR: Change the exit menu item text to be a little more specific about
        what is being shutdown.  Use the same scheme as the exit text in the
        status bar so that it'll automatically be localized.
    - SCR: Remove some old Win9x code.
    
    clientgui/
        AdvancedFrame.cpp
        BOINCTaskBar.cpp
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=22402
2010-09-23 18:35:06 +00:00
Charlie Fenton c5b21b054f MGR: Fix a bug which shut down local client even though Manager didn't launch it when Manager was connected to a remote host
svn path=/trunk/boinc/; revision=22152
2010-08-06 04:12:52 +00:00
Rom Walton d72472ce01 - MGR: Remove EVT_END_SESSION event handler for now. It was causing a
recursive call to itself on shutdown thereby halting the Windows
        shutdown procedure on Windows XP and older systems. It would
        eventually crash the process with a stack overflow error.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=22137
2010-08-05 16:42:55 +00:00
Rom Walton 5e87d07598 - MGR: Don't update the notice tab text unless the unread notice
count has changed.
    - MGR: Don't update the last arrival time for the host unless
        it has changed from the last time it was saved.
    - MGR: Opps, forgot to move some code before commiting yesterday,
        don't update the last save arrival time unless the user
        clicks on the balloon.
    - MGR: Stop the simple GUI from blinking the messages button
        when the balloon is clicked.
        
    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp
        BOINCTaskBar.cpp
        MainDocument.cpp
        sg_BoincSimpleGUI.cpp
        sg_ProjectsComponent.h

svn path=/trunk/boinc/; revision=22051
2010-07-23 15:25:39 +00:00
David Anderson c0776ea188 - user web: put RSS item titles in CDATA
- sched: get rid of unused config items
- manager: msg tweak

svn path=/trunk/boinc/; revision=22045
2010-07-22 22:57:15 +00:00
Rom Walton 371c53ec3a - MGR: If the simple GUI received a notification event,
display the messages dialog.
    - MGR: The simple GUI wasn't restoring state properly
        thereby causing the reminder frequency to be set to
        zero and preventing any reminders from being displayed.
    - MGR: Rework the notices code so the document doesn't
        make any assumtions about the UI.
    - MGR: Fix a bug in the Linux notification window code.
        Synchronize event behavior with Windows.

    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp, .h
        MainDocument.cpp, .h
        sg_BoincSimpleGUI.cpp, .h
        sg_DlgMessages.cpp
        sg_ProjectsComponent.cpp, .h
        ViewNotices.cpp
    clientgui/gtk/
        taskbarex.cpp

svn path=/trunk/boinc/; revision=22040
2010-07-22 20:55:39 +00:00
Charlie Fenton 988d08d1cc MGR: Make Event Log Window persistent, hide it when closing main window
svn path=/trunk/boinc/; revision=22028
2010-07-22 10:59:26 +00:00
David Anderson 0f2dca6e88 svn path=/trunk/boinc/; revision=21517 2010-05-14 03:19:31 +00:00
David Anderson 122e52f4ba - fix sys tray strings
svn path=/trunk/boinc/; revision=21482
2010-05-12 18:23:03 +00:00