Commit Graph

3286 Commits

Author SHA1 Message Date
Rom Walton 9b2a93a8fb MGR: Fix which icon is displayed in the system tray when BOINC is running. ICO files need to be created for the suspended and disconnected states. XPM files will look bad in high DPI environments. 2014-01-13 13:55:16 -05:00
Charlie Fenton df78a0189d MGR: Message tweak:. 2014-01-12 01:18:25 -08:00
Charlie Fenton 8d621a1803 MGR: Fix tiny font problem in Statistics tab when monitor dpi is set to 125% of normal on MS Windows 2014-01-11 02:32:22 -08:00
Charlie Fenton 44f21899d1 MGR: In Advanced Preferences dialog, many fields were not being validated; I added code to validate them.
Note: If you add any new textedit fields to this dialog, you must add code to check them in CDlgAdvPreferences::ValidateInput().  Apparently this has not always been done in the past.
2014-01-10 03:43:59 -08:00
Charlie Fenton 9608ab1645 MGR: Small efficiency improvement in Simple View, 2014-01-09 04:49:30 -08:00
Charlie Fenton 2dea4866c8 MGR: In Simple View, avoid unnecessary horizontal scroll bar in Project Description text when switching from Advanced View. 2014-01-09 04:27:07 -08:00
Charlie Fenton 7496667272 MGR: Simple View fixes:
* Avoid unnecessary horizontal scroll bar in Project Description text for enlarged fonts in Windows 7.
* Align Task Selection control with its label on Macintosh.
2014-01-09 02:50:40 -08:00
Charlie Fenton f299d13209 Mac: delete long-unused code which static code checker cppcheck flagged as possible errors. 2014-01-09 01:08:48 -08:00
Charlie Fenton 24fb792e27 MGR: In Simple View fix Project Description text for enlarged fonts in Windows 7:
* Avoid unnecessary horizontal scroll bar if a line ends with two space characters.
 * Word wrap name of institution if necessary to fit in window.
2014-01-08 04:14:47 -08:00
Rom Walton 67a0bca083 MGR: Remove outdated comments 2014-01-07 11:46:33 -05:00
Rom Walton 352cdabe3f MGR: Update the native BOINC icons on Windows. VS2010 now supports compressed PNG icon images. 2014-01-06 17:06:29 -05:00
Rom Walton af4731be28 MGR: Fix native icon problem on Windows when high DPI is used. RC file was changed between vs2005 and vs2010 and resources can be described by string instead of just ID. 2014-01-06 16:56:48 -05:00
Rom Walton a89604e46d MGR: Attempt to work around icon display problem on high DPI notebook. 2014-01-06 15:38:46 -05:00
Charlie Fenton ddc87b110f MGR: Play default notification sound when displaying new Mac user notifications. 2013-12-17 03:48:34 -08:00
Charlie Fenton 7102749707 MGR: Fix copyright date. 2013-12-16 03:25:56 -08:00
Charlie Fenton 9e60373e57 Mac: Strictly enforce API compatibility with OS 10.5 when building BOINC Manager. 2013-12-16 03:19:48 -08:00
Charlie Fenton fa29afb340 MGR: On OS 10.8 and later, use new Mac user notifications to notify user when new notices are available.
- Mac user notifications are similar balloons on Windows.
 - open BOINC Manager Notices tab if user clicks on notification.
2013-12-16 03:14:07 -08:00
Rom Walton 10ef78ab1e Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2013-12-10 17:12:56 -05:00
Rom Walton 4fa5e2fb13 MGR: Fix build break when building on Linux with wxGTK. 2013-12-10 17:12:44 -05:00
Charlie Fenton 5c9e012d5b MGR: Prevent zero-size window in a rare situation where registry values have accidentally been set to zero 2013-12-10 02:48:49 -08:00
Charlie Fenton 8d00384109 MGR: update make file for Linux 2013-12-07 15:19:36 -08:00
Charlie Fenton 4dd1ecea84 MGR: Fix drawing of Task Control on Windows 2013-12-04 05:24:16 -08:00
Charlie Fenton 05ec1e04a6 MGR: work around a problem sizing the URL TextEdit field in the Attach Wizard Project Info page when a larger default font size is selected on Windows.
I don’t understand why this “fixes” it and I suspect there is a better solution.
2013-12-04 02:43:17 -08: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 9e2c4954f1 locale: Revert Slovak to last known good localization, somehow it got mixed up with Russian. 2013-12-03 10:59:16 -05:00
Rom Walton 890825b20a MGR: Fix GR/PTP/CE skins for last round of edits. 2013-12-02 10:42:27 -05:00
Rom Walton 98954ac572 MGR: Bug fix to my previous commit, initialize string after we initialize the wxLocale object with the proper locale information. 2013-12-02 10:01:44 -05: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 c7fd0a3687 MGR: Work around a wxCocoa bug(?) in wxDateTime::Format() 2013-11-21 05:30:10 -08:00
Charlie Fenton 24363a7e09 MGR: Fix assert 2013-11-21 05:28:40 -08:00
Charlie Fenton 43579ef1a2 Mac: For newer Apple LLVM Compiler, fix warnings about hiding overloaded virtual functions
- Remove obsolete source files
2013-11-20 03:37:35 -08:00
Charlie Fenton 525e3e7459 Fix compiler warnings 2013-11-18 17:21:13 -08:00
Rom Walton 25f20ad4a0 MGR: Change the VirtualBox icon color pallet so there are no artifacts around the image after conversion. 2013-11-18 12:40:49 -05:00
Rom Walton fed45a446a MGR: Add a VirtualBox icon to the list of supported platforms for any given project that uses VirtualBox. 2013-11-18 12:30:01 -05:00
Charlie Fenton 0341a5d0a0 Mac installer: Make checks for OS X version consistent 2013-11-18 00:56:44 -08:00
David Anderson dfe1e5eb5d Manager: string tweaks
- Let's use "web site" instead of "website"
2013-11-17 12:29:11 -08:00
Rom Walton 0256ee32cb MGR: Only display an error dialog in the AccountInfo page if the sanity checks actually fail. 2013-11-15 17:05:12 -05:00
Charlie Fenton 7c70f89b80 Mac: Fixes to allow minor OS versions > 9 and major OS versions > 10 2013-11-15 05:02:04 -08:00
Charlie Fenton 35ec78c966 Merge commit '2e680b75418848dfde91f2cc7a81614be65b29ce' into charlief/wxwidgets30 2013-11-15 00:23:05 -08:00
Charlie Fenton 542fe18ad0 MGR: Fix compiler warning (deprecated API) 2013-11-12 04:03:06 -08:00
Charlie Fenton 03e039357b MGR: Fix compile break on Mac 2013-11-12 03:45:39 -08:00
Charlie Fenton 4ed5476f25 MGR: Fixes for wxWebView-based notices:
- Fix protocol-relative URLs under MS Windows
 - Put dividers between notices, but not before first or after last
2013-11-12 03:23:26 -08:00
Charlie Fenton 18e1c72561 MGR: Fix “more…” links in wxWebView-based Notices 2013-11-11 07:35:31 -08: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 a3c96339bb MGR: Fix taskbar icon menu on Windows 2013-11-05 05:47:27 -08:00
Charlie Fenton 4192a32ddd MGR: reverse previous commit; it had undesirable side effects 2013-11-05 04:34:28 -08:00
Charlie Fenton bc4903476d MGR: eliminate flicker in CBOINCListCtrl on Windows 2013-11-05 04:14:51 -08:00
Charlie Fenton 3362551142 MGR: Allow enabling wxLogTrace on Mac 2013-11-05 03:40:16 -08:00
Charlie Fenton 21104845d9 MGR: fix assert due to bad wxFlexGridSizer 2013-11-05 02:53:27 -08:00
Charlie Fenton 5a6f09fe5c MGR: Corrections to previous commit 2eb84cb 2013-11-05 02:13:21 -08:00
Charlie Fenton 291fb3b74b MGR: Corrections to previous commit 56252e1 2013-11-05 01:37:57 -08:00
Charlie Fenton 2eb84cb204 MGR: Immediately update preferences/registry on more changes:
- When Event Log is opened
- When column widths are changed
2013-11-05 00:56:47 -08:00
Charlie Fenton 56252e11a2 MGR: Immediately update preferences/registry on more changes:
- When Event Log is opened
  - When column widths are changed
2013-11-04 18:11:36 -08:00
Rom Walton c2503a9214 MGR: Fix URLs and app name for Charity Engine
WINBUILD: Fix back button issue and shortcut description
2013-10-29 01:39:44 -04:00
Charlie Fenton 411a5cc33d MGR: tweak comments in Mac accessibility code 2013-10-25 01:33:03 -07:00
Rom Walton 50249e67f1 MGR: Bug fix for previous commit 2013-10-24 13:25:47 -04:00
Rom Walton 7551e0f831 MGR: Add an Android icon to the list of supported platforms for a project that supports Android in the attach wizard. 2013-10-24 13:09:54 -04:00
Charlie Fenton 06dff8df7b MMGR: Implement accessibility on Mac for Statistics and Disk (Resources) tabs
- CPaintStatistics class
 - wxPieCtrl class
 - Remove obsolete accessibility code
2013-10-24 05:49:59 -07:00
Charlie Fenton 056a1f853e MGR: convert HTML "&lt;" to "<" in Simple View Task Panel project description (needed for ABC@home) 2013-10-24 01:28:41 -07:00
Charlie Fenton d823657a6e MGR: convert HTML "&lt;" to "<" in Simple View Task Panel project description (needed for ABC@home) 2013-10-24 01:26:30 -07:00
Charlie Fenton ec07ab2a20 MGR: Fixes to new AccountManagerInfoPage logic 2013-10-24 01:22:09 -07:00
Charlie Fenton 6789927649 MGR: convert HTML "&lt;" to "<" in project description (needed for ABC@home) 2013-10-23 04:50:40 -07:00
Charlie Fenton 6fc68e94ae MGR: Use only native controls in AccountManagerInfoPage so it is accessible.
- The custom CProjectListCtrl was difficult to make accessible under wxCocoa
- The descriptions were only in the tooltips and so were not accessible to screen readers, etc.
- Using wxListBox greatly simplifies the code
2013-10-23 04:49:43 -07:00
Charlie Fenton a3e8fc49bc MGR: convert HTML "&lt;" to "<" in project description (needed for ABC@home) 2013-10-23 04:36:33 -07:00
Charlie Fenton 77a2815285 MGR: remove Mac-specific code no longer needed for wxCocoa 3.0 2013-10-23 00:49:52 -07:00
Charlie Fenton c5aa09037c MGR: Fix wxWidgets assert 2013-10-23 00:48:51 -07:00
Charlie Fenton 070973e1fb MGR: cosmetic fix to display of Mac progress bar in Simple View for wxCocoa 3.0 2013-10-22 04:52:35 -07:00
Charlie Fenton d8fdda9f91 MGR: Fix errors from previous merge of master into into charlief/wxwidgets30 branch 2013-10-22 03:56:48 -07: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 1fcb58e34e MGR: Mac updates for wxWidgets 3.0.0-rc1 (wxCocoa)
- API _() or wxGetTranslation() cannot be used for static or global strings; it never worked and it causes a crash under wxWidgets 3.0.0-rc2
2013-10-22 00:36:18 -07:00
David Anderson 0c8e30d0e9 Translation: update templates, and fix tools for generating templates 2013-10-15 22:46:18 -07:00
David Anderson c6346bef5f Translation system: fixes and updates
Add script (compare_pot) for comparing templates module comments,
   and sending reminder emails if they differ.
Add script (buid_pos) for generating all templates and comparing
   them with current versions.
2013-10-15 11:19:59 -07:00
Charlie Fenton cddae5b2c3 MGR: Implement accessibility on Mac for Event Log and Projects, Tasks and Transfers tabs
- CDlgEventLogListCtrl class
- CBOINCListCtrl class
2013-09-12 04:27:04 -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
Charlie Fenton e83c2993f2 MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa)
- Correct behavior when automatically running Project or Account Manager Wizard (Simple View)
2013-08-27 22:57:19 -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 600bd154bf MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa) 2013-08-27 04:42:38 -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
David Anderson 0c42225e28 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2
Conflicts:
	clientgui/AccountInfoPage.cpp
2013-08-26 11:19:43 -07:00
David Anderson 1429e8c3dc Manager: message tweaks 2013-08-26 11:18:01 -07:00
Rom Walton 2788770bc9 MGR: When a project uses usernames check the length of the string in the username control and not the password control. Same with the email address control. 2013-08-26 11:32:06 -04:00
Charlie Fenton 2870f35abb MGR: Mac updates for wxWidgets 2.9.5 (wxCocoa)
- Restore standard Mac Preferences menu item
2013-08-24 04:19:19 -07:00
Rom Walton baff4f554b MGR: Align the sync with account manager functionality with the attach to account manager functionality with regards to account manager name location. Currently to print random stack stuff on the completion page. 2013-08-23 14:02:58 -04: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
David Anderson c5842ab728 Manager: show "paused" icon if computing is suspended for any reason 2013-08-09 23:23:32 -07:00
David Anderson ead91c6f38 Manager: in Transfers tab, Size refers to total size 2013-08-09 21:08:23 -07:00
Charlie Fenton af5cc95fc7 MGR: fix permissions error string in stderrgui.txt 2013-08-03 15:13:55 -07:00
Charlie Fenton 6d1ed3bfe0 MGR: On Linux, initialize exclusive apps dialog to start from directory "/usr/bin/" instead of from "/" (from Toralf Förster) 2013-08-01 00:36:10 -07:00
Charlie Fenton 7d372d2803 Fix warnings of class or global variables shadowed by local variables or arguments 2013-07-29 01:31:09 -07:00
David Anderson afdfc215d7 Manager: remove the last call to https_to_https() 2013-07-18 12:41:36 -07:00
Rom Walton ce77d0623f MGR: Support following HTTP and HTTPS links. We just launch a browser anyway. 2013-07-18 15:31:52 -04:00
David Anderson 30f0f67b3d Manager: change https:// to http:// in notices; the WxWidgets HTML renderer doesn't handle https://
Programming styles notes:
- string utility functions shouldn't be members of MainDocument.cpp
- don't overload features into 1 function; use separate functions
- use descriptive names rather than "clean", "sanitize" etc.
- use void for functions that don't return anything
- if you copy and paste code, fix the comments
2013-07-18 11:30:24 -07:00
Charlie Fenton ea6576c83d Mac: fix for first-time builds. 2013-07-16 02:29:35 -07:00
Charlie Fenton 314f8d53fe MGR: bug fix: last item in arg list for run_program() should be NULL, not empty string. 2013-07-09 06:05:31 -07:00
Charlie Fenton e976facd40 MGR: bug fix: last item in arg list for run_program() should be NULL, not empty string. 2013-07-09 05:52:04 -07:00
David Anderson 4d47e2f170 client: don't request work from a project w/ > 1000 runnable jobs
Because of O(N^2) algorithms, the client becomes CPU-intensive
when there are lots of jobs.
This limit could be somewhat lower.
2013-07-07 13:13:57 -07:00
Charlie Fenton ab41c0f0c5 MGR: revert my changes 3ea6711 and 429c699: a value of 0 for max_ncpus_pct means "ignore", not "100%; added "(0 means ignore this setting)" to the Advanced Computing Preferences dialog. 2013-06-19 18:06:24 -07:00
Charlie Fenton b91e4776f0 Mac uninstaller: localize the dialog strings in the Uninstall BOINC app. 2013-06-18 04:03:24 -07:00
Charlie Fenton 429c699303 MGR: test if (max_ncpus_pct == 0) instead of (max_ncpus_pct < 0.1) in Advanced Preferences dialog (requested by David Anderson) 2013-06-17 17:07:28 -07:00