Commit Graph

163 Commits

Author SHA1 Message Date
Charlie Fenton c439b67973 Temporarily enable Dark Mode code on Linux 2023-06-16 07:32:22 -07:00
Charlie Fenton 02c8887c13 Continue implementng Dark Mode support 2023-06-15 07:01:20 -07:00
Charlie Fenton e2a130f648 Continue implementng Dark Mode support 2023-06-14 06:22:20 -07:00
Brian Nixon 802fef9c64 Merge branch 'master' into manager_language_list 2023-05-26 00:21:24 +01:00
Vitalii Koshura 44742026e2
Remove trailing whitespaces. Add CI script to verify in on every commit
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-05-05 20:08:17 +02:00
Brian Nixon e0ffbf106d Add "(Automatic Detection)" as a language option
New config option "BOINC Manager/UseDefaultLocale" (Boolean)

Also remove the logic that tried to match regional locale variations to
translation base languages, because it had the unacceptable side-effect
of losing region-specific locale settings like date formats.
2023-04-03 11:34:02 +01:00
Brian Nixon 6c05513ba5 Add descriptions of new struct fields 2023-03-31 20:54:25 +01:00
Brian Nixon 9c9a9b1fca Show native language names, and only those with available translations 2023-03-31 16:54:43 +01:00
Trevor Burnham 141b8e7566 Rename vars: menu bar extra -> menu bar icon 2021-12-09 22:08:14 -05:00
Trevor Burnham 8565e319b4 Reverse how menu bar extra visibility option is stored 2021-12-09 22:04:11 -05:00
TrevorBurnham 4b212e939f Add option to hide menu bar icon (macOS-only) 2021-11-24 12:23:39 -05:00
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