Commit Graph

152 Commits

Author SHA1 Message Date
Vitalii Koshura fd1e7a3ec0
[Manager] Fix connection to second local client instance
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-10-28 15:55:21 +01:00
Germano Massullo 4a5ecc5fbc disabled system tray icon for Linux builds 2019-03-12 13:11:04 +01:00
Vitalii Koshura ab3a4fa4c6
Revert "Merge branch 'master' of git://github.com/AenBleidd/boinc"
This reverts commit cacecc8b0b, reversing
changes made to 716ebdd9e1.
2018-07-01 11:01:33 +03:00
David Anderson d9ab1d5b54 Merge branch 'master' of https://github.com/BOINC/boinc 2018-06-28 22:46:24 -07:00
David Anderson cacecc8b0b Merge branch 'master' of git://github.com/AenBleidd/boinc 2018-06-04 10:50:30 -07:00
Jonathan Armstrong c98ee539e5 Code changes needed to add the wcg brand for the mac manager,screen saver,installer 2018-05-23 10:10:02 -05:00
Vitalii Koshura 4d8e11f5d4
Manager: Implement feature 'Do not show this message again' in 'Shut Down Connected Client' dialog.
This fixes #1193: "Shut Down Connected Client" dialog doesn't work right
New option 'DisplayShutdownConnectedClientDialog' added.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-16 00:30:47 +03:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
Charlie Fenton c314bf23dd MGR: Mac: begin replacing deprecated Mac APIs 2016-12-02 04:08:43 -08:00
Rom Walton 83486d2b0d MGR: Fix build break 2015-12-14 09:11:23 -05:00
Rom Walton 8ec4cd41cb MGR: Remove the need for the OnFatalException() exception handler, it interferes with our own exception handing technology. 2015-12-11 18:22:55 -05:00
Vitalii Koshura ce4ebde973 Fix issue #949: Add parameters 2015-10-14 02:28:36 +03:00
Vitalii Koshura 2fda7c4cd3 Fix issue #79: Add commandline option and option to preferences dialog. 2015-07-30 01:21:04 +03:00
Charlie Fenton e6607a6340 MGR: work around a Linux bug in wxWidgets which prevents bringing the main window forward on top of Event Log (or any modeless dialog.)
- On all platforms, preserve Z-order of main window and Event Log when hiding / showing or deactivating / activating Manager.
2015-01-16 03:22:10 -08:00
Rom Walton 77ad8427d2 MGR: Reset everybody's language selection back to the default OS UI locale, in the future use the ISO language code to determine which locale to use for the manager. 2014-06-18 11:14:29 -04:00
Charlie Fenton 52a2f1b921 MGR: Fix error in my commit a862fa5 2014-05-28 06:00:47 -07:00
Charlie Fenton a862fa58f4 MGR: Add comments about know bugs in wxCocoa 3.0.0. 2014-04-14 04:25:30 -07:00
Charlie Fenton 0f6813294a MGR: fix first display of windows after login on Mac when the user opens the Manager by a method other than by selecting "Open BOINC Manager" from the popup menu in the Dock or menu bar icon. 2014-03-14 03:53:12 -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
Rom Walton 5693eae24b MGR: Fix single instance detection so that it is compatible with Fast User Switching on Windows and Mac. We are now using wxSingleInstanceChecker which should be compatible on all platforms. 2014-03-06 14:47:00 -05:00
Rom Walton 508a739f23 MGR: Remove dead code 2014-03-06 12:28:07 -05:00
Charlie Fenton a3bccdb438 MGR: Get assert handler working on Macintosh to log output to the log file on release builds.
- Fix build break on Mac: wxUSE_DEBUGREPORT is defined as 1 even though wxDebugReport() is not available in wxCocoa built from wxCocoa.xcodeproj.
2014-03-06 04:53:19 -08:00
Rom Walton 1ea098fb3d MGR: Re-introduce the OnEndSession event handler. 2014-03-05 17:23:40 -05:00
Rom Walton cd7ac528a2 MGR: Hookup wxWidgets 3.0 diagnostics framework, redirect asserts to stderr.
MGR: Remove what are now over active asserts complaining about pConfig being NULL.  Apparently we knew already knew that pConfig could be NULL in certain circumstances and followed up with a check to return from the function if pConfig was NULL, that code was added in 2007.  The assert check wasn't really needed after that point.
2014-03-05 13:57:44 -05:00
Rom Walton 347b42b4c3 MGR: Remove obsolete code that should no longer be needed. 2014-03-05 11:46:16 -05:00
Charlie Fenton 0c20ed0487 MGR: Another round of improvements and simplification of Mac code for wxCocoa 3.0
- I found a better way to work around an issue with wxCocoa which prevented BOINC Manager from running if launched hidden (when launched automatically on user login) than the one I implemented in commit 082aff7.
 - This change allowed me to again call the original wxApp::CallOnInit().
 - The original wxApp::CallOnInit() fixed the clean up on logout or system shutdown, ensuring preferences file is written, so I could remove my nasty hack in commit 0aefd62.
2014-03-03 04:36:47 -08:00
Charlie Fenton 0aefd62468 MGR: On Mac, clean up properly on logout or system shutdown to ensure preferences file is written 2014-03-01 07:13:00 -08:00
Charlie Fenton 082aff7f16 MGR: Work around an issue with wxCocoa which prevented BOINC Manager from running if launched hidden (when launched automatically on user login) 2014-02-25 07:47:21 -08:00
Rom Walton 0533f82d4a MGR: Fix how we pass the ISO language code to the CC.
Using mb_str() can be problematic if you do not reuse the pointer right away, if the wxString is used in any other way between when you extract the pointer to the data and the data itself the reference is freed and the pointer can end up pointing to something else entirely.
2014-02-18 00:36:03 -05:00
David Anderson 8f7e94ec5d Client and Manager: make notices translatable
- Add a GUI RPC ("set_language") that lets the Manager communicate
  the user's selected language code to the client at startup.
- The client stores the language code in the client state file
- The client appends a "lang=X" GET argument to the URLs from
  which notices are fetched.
- The next steps (not done) are 1) to change the get_notices.php
  script to parse the argument and do translation, and
  2) extend our Pootle system to allow volunteer translation
  of notices by all projects.
2013-12-03 10:47:56 -08:00
Rom Walton 7a4d5fafee MGR: Store the ISO language ID for future use.
Usage: wxString strLang = wxGetApp().GetISOLanguageID();
2013-12-01 15:15:43 -05:00
Charlie Fenton 82d7c575a1 MGR: Rewrite Notices (Advanced and Simple Views) to use wxWebView (in progress) 2013-11-11 06:36:30 -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 49f6704a1e MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa) 2013-08-23 05:43:53 -07:00
Charlie Fenton 3eb24b1ee1 MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa) 2013-08-23 05:02:06 -07:00
Charlie Fenton 66e61912c9 Mgr: Flush Manager settings to Windows Registry or user prefs when closing Options dialog 2013-04-30 05:18:19 -07:00
Charlie Fenton 0562a88619 Fix file permissions 2013-04-24 04:38:22 -07:00
Charlie Fenton d7633f5040 MGR: bug fix - save settings when Windows is shut down
Work around a bug in wxWidgets 2.8.x which fails to call OnExit() when Windows is shut down, causing any changes to Manager settings to be lost.
2013-04-24 04:33:07 -07:00
Charlie Fenton 2a2c4b0bdc Fix file permissions 2013-03-04 15:23:37 +01:00
Charlie Fenton 1561c35146 Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01: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 49fda2e686 MGR: Fix a Mac-only bug which sometimes failed to show the snooze icon
svn path=/trunk/boinc/; revision=25443
2012-03-18 12:35:09 +00:00
Rom Walton 68ccd1e611 - MGR: Tweak the z-order of BOINC Manager owned windows a little bit.
Image a case where BOINC Manager and the BOINC Manager event log
        live side-by-side or only slightly overlapped, and the user wants
        to use a full screen/maximized window.  If the bring the BOINC
        manager window back into focus while that app is still running
        make sure the event log comes forward as well.  The event log
        should appear behind the main window in the case they are
        overlapped.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=25129
2012-01-23 19:30:51 +00:00
Rom Walton 687195e7f0 Quick Updates
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Charlie Fenton 9b39d53bbb MGR: Rework exit dialog and client shutdown logic for second Manager instance
svn path=/trunk/boinc/; revision=23676
2011-06-08 10:09:36 +00:00
Charlie Fenton bf9640859b MGR: Remove the old SimpleGUi from the projects
svn path=/trunk/boinc/; revision=23139
2011-03-03 11:55:16 +00:00
Charlie Fenton bf789a23db Add new Simple GUI
svn path=/trunk/boinc/; revision=22948
2011-01-27 14:36:49 +00:00
Rom Walton f204e817f6 - MGR: Check for a duplicate instance much earlier in the initialization
cycle, before any window or document creation.  Prevents rapid window
        creation and then destruction.
        
    clientgui/
        BOINCGUIApp.cpp, .h

svn path=/trunk/boinc/; revision=22504
2010-10-14 18:16:24 +00:00