Charlie Fenton
d6ff95d1ec
Mac installer & uninstaller: replace all deprecated Mac APIs as of OS 10.12
2017-01-06 01:53:47 -08:00
Charlie Fenton
c314bf23dd
MGR: Mac: begin replacing deprecated Mac APIs
2016-12-02 04:08:43 -08:00
Vitalii Koshura
d8a82bbc0e
Fix issue #1519 : MGR: Maximized window state is not restored on startup. Fix 'if' statement.
2016-11-12 22:34:39 +02:00
Vitalii Koshura
7948025bde
Fix issue #1519 : MGR: Maximized window state is not restored on startup
2016-11-12 22:34:39 +02:00
Rom Walton
8c11cad5b4
MGR: Fix command line parsing options
2016-04-13 18:27:18 -04:00
Aaron Puchert
960456627d
Build command line descriptions from wxStrings
2016-04-12 23:07:29 +02: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
David Anderson
28e18f6b8d
Manager, client: use WxWidgets functions for number formatting
...
Turns out WxWidgets has functions for localized number formatting.
This was added in 2.9 so we weren't able to use it last time I checked.
Remove our own number-formatting code.
Don't do localized number formatting in client.
2015-09-22 11:22:07 -07:00
David Anderson
787225d5d0
Manager: use Wx interfaces for getting number formatting chars
2015-09-17 13:58:40 -07:00
Vitalii Koshura
2fda7c4cd3
Fix issue #79 : Add commandline option and option to preferences dialog.
2015-07-30 01:21:04 +03:00
Rom Walton
fdb166067b
MGR: Remove wxWidgets 2.8 language code conversion functionality. We have been using wxWidgets 3.x for over two years now.
2015-05-26 11:21:57 -04:00
Charlie Fenton
2ce6da11a5
MGR: fix a bug in my last commit ( e6607a6
) in Linux when a modal dialog is open which prevented bringing bringing the modal dialog with the main window forward on top of Event Log. (Linux allows the Event Log to be brought forward and made active even if we have a modal dialog displayed (associated with our main frame.)
2015-01-21 07:41:02 -08: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
Charlie Fenton
13aa32baa2
Mac Installer & MGR: delete BOINC Manager's wxSingleInstanceChecker lock file in case wxSingleInstanceChecker failed to delete it (such as due to a crash.)
2014-09-08 03:59:35 -07:00
Rom Walton
5fc1116f33
MGR: On Windows Vista and newer, let the service control manager shutdown the core client to prevent crash dialogs from appearing on some peoples systems when Windows is shutting down.
2014-08-18 13:17:15 -04:00
Rom Walton
df48d6cae1
MGR: Language Codes 0 and 1 are special cased wxWidgets, for both cases use the default language.
2014-06-25 16:49:28 -04:00
Rom Walton
c48332d4bb
MGR: Convert wxWidgets 2.8 language codes into ISO standard language codes before use.
2014-06-24 13:45:53 -04: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
526f2d4524
MGR: disable all wxWidgets debugging support in release builds on Mac (asserts. logging, etc.).
...
Remove Manager code for writing asserts to log files; it is no longer used since wxASSERT() is now disabled for all platforms.
2014-05-29 16:12:19 -07:00
Rom Walton
1bbc5e96e2
client & MGR: On Windows, handle expansion of environment variables in the registry value that stores DATADIR.
2014-05-06 11:28:47 -04:00
Charlie Fenton
41026f89e0
MGR: Simplify logic introduced in my commit 0f68132; start replacing deprecated Carbon APIs with Cocoa code.
2014-03-15 04:56:14 -07:00
Charlie Fenton
305f4f3e64
MGR: Properly handle opening Event Log after login on Mac
2014-03-14 03:48:25 -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
8a62446432
MGR: On Mac, fix showing of windows when activated after login by means other than "Open" menu item from task bar (Dock or menu bar icon)
2014-03-11 06:54:28 -07:00
Rom Walton
09250aeebb
MGR: Treat asserts like other messages to be logged, include date/time as well as thread id.
2014-03-07 15:31:49 -05:00
Charlie Fenton
d4292370e3
MGR: Fixes for fast user switching support
...
- Fix a crash bug which prevented "Launch another BOINC Manager" from working
- Fix compiler warnings of possible buffer overflow due to incorrect calls to strncat()
- Adjust directories for per-user files on Macintosh
2014-03-07 00:30:48 -08:00
Rom Walton
2f83235e0c
LIB: Introduce the notion of per-user account log files. Setup the manager, tray applet, and screen saver to use per-user account log files. Technically the default screen saver should be as well.
...
Log Locations:
WIN : %APPDATA%\BOINC
MAC : $(HOME)/Library/Logs/BOINC
Linux : $(HOME)/.BOINC
2014-03-06 23:02:04 -05: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
Rom Walton
9a7e5ebb3a
MGR: We need to cast mb_str() calls when using fprintf or some other C Runtime function.
2014-03-06 12:14:00 -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
c9982c4813
MGR: Only dump a crash report if wxUSE_DEBUGREPORT is defined in wxWidgets.
2014-03-05 21:49:24 -05:00
Rom Walton
1ea098fb3d
MGR: Re-introduce the OnEndSession event handler.
2014-03-05 17:23:40 -05:00
Rom Walton
7ee5fe3423
MGR: If an assert is thrown while running under a debugger, break into the debugger.
2014-03-05 16:50:58 -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
1ee90f063e
MGR: Setup an assert handler under the wxWidgets 3.x framework, log output to the log file on release builds.
2014-03-05 12:08:56 -05:00
Rom Walton
68d844aea6
MGR: same as previous commit.
2014-03-05 11:47:38 -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
0d25479c38
MGR: Still more improvements and simplification of Mac code for wxCocoa 3.0
2014-03-01 02:58:48 -08:00
Charlie Fenton
0fc3952d68
MGR: Fix save and restore of main window position on Mac
2014-02-28 04:01:58 -08: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
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
Rom Walton
95a45dee5a
client & manager: Update icons for all client-side components.
2014-02-14 16:05:42 -05:00
Rom Walton
ecb7fbea42
MGR: Use wxDir instead of wxFile to check for the directories existence.
2014-01-28 22:06:04 -05:00
Rom Walton
41a8b26117
MGR: If the DATADIR registry entry is missing, check to see if the data directory exists at the default location. If so, use it over the current directory.
2014-01-28 21:54:43 -05:00
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
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