Commit Graph

13061 Commits

Author SHA1 Message Date
Eric J. Korpela ac952126f5 New file boinc_check_fcgi.m4. Checks whether fcgi headers are installed.
svn path=/trunk/boinc/; revision=16440
2008-11-07 00:15:24 +00:00
Eric J. Korpela 812dc63bd0 New file boinc_check_flags.m4. Contains code to check compiler and linker
flags.

svn path=/trunk/boinc/; revision=16439
2008-11-07 00:14:13 +00:00
Eric J. Korpela 17f30607e5 Moved many of the boinc specific wxWidgets configuration issues out of config.h
and into a separate file in m4.  Modified the configuration to use the default
wxWidgets configuration if no wx configurations options are found.
Configuration will now succeed on a debug build if the wxWidgets debug libraries
are not installed.  

svn path=/trunk/boinc/; revision=16438
2008-11-07 00:12:55 +00:00
Charlie Fenton 5e78b8498b MGR: Filter wxEVT_TASKBAR_MOVE events only on Windows
svn path=/trunk/boinc/; revision=16437
2008-11-06 03:15:12 +00:00
Charlie Fenton 9ae54f7001 Mac: Add new source files mac_address.cpp,.h to XCode project; MGR: Fix compiler warnings on non-Windows builds
svn path=/trunk/boinc/; revision=16436
2008-11-06 00:08:44 +00:00
Rom Walton 0a19a338b4 - MGR: Only tweak the BOINC was started by us variable on
Windows.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16434
2008-11-05 22:03:45 +00:00
David Anderson 5ac0aee6ce - client: add OS name into the hash for host CPID
(for multi-OS hosts)
- scheduler: use sqrt(x) instead of x in stop-checking
    for single redundancy.

svn path=/trunk/boinc/; revision=16433
2008-11-05 20:27:04 +00:00
David Anderson 5141a6eabe David 5 Nov 2008
- client: make host CPID a function of:
        MAC addresses + hostname + IP addr
        This means that a given host will generally always get the same CPID.
        Helpful e.g. on grids where the client gets installed repeatedly.
        From Artyom Sharov.

    client/
        hostinfo_network.cpp
    lib/
        hostinfo.cpp
        mac_address.cpp,h
    win_build/
        boinc_cli_curl.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=16432
2008-11-05 20:11:45 +00:00
Kevin Reed ab9985cc28 svn path=/trunk/boinc/; revision=16431 2008-11-05 19:58:59 +00:00
Rom Walton 7f4223eb67 - MGR: Revise text one more time.
From: Kevin Reed
        
    clientgui/
        BOINCGUIApp.cpp
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16429
2008-11-05 19:53:32 +00:00
Rom Walton 6686ac46ba - MGR: revise exit dialog text, use the names in the skin file.
clientgui/
        DlgExitMessage.cpp

svn path=/trunk/boinc/; revision=16428
2008-11-05 18:33:30 +00:00
Rom Walton ade7eb5d1f - MGR: Tweak the shutdown logic so that it can still shutdown the
BOINC service even though it didn't start it.
    - MGR: It BOINC Manager starts the BOINC deamon on the mac don't bother
        trying to shut it down. (reverting to previous behaviour)
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.cpp, .h
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16427
2008-11-05 16:07:12 +00:00
Charlie Fenton d71da14718 MGR: Fix crash bug on non_Windows systems in Options dialog
svn path=/trunk/boinc/; revision=16426
2008-11-05 12:46:08 +00:00
Charlie Fenton 1b39497910 Fix small typo
svn path=/trunk/boinc/; revision=16425
2008-11-05 12:30:27 +00:00
Charlie Fenton f4d737738d MGR: Async RPCs: fix memory leaks, gentler KillRPCThread(); Mac only: remove checkbox asking whether to shutdown CC
svn path=/trunk/boinc/; revision=16424
2008-11-05 12:14:53 +00:00
Charlie Fenton 5a86e7529e MGR: Async RPCs: RPC thread is now a joinable thread which does one RPC and exits. Main thread creates a new RPC thread for each RPC request.
svn path=/trunk/boinc/; revision=16423
2008-11-05 06:03:13 +00:00
Charlie Fenton 90a0ebe69d Fix comments and delays (had confused milliseconds, microseconds and nanoseconds)
svn path=/trunk/boinc/; revision=16422
2008-11-05 00:36:15 +00:00
Rom Walton 16c94c36f7 - MGR: properly save the 'DisplayShutdownClientDialog' setting.
clientgui/
        BOINCGUIApp.cpp
     

svn path=/trunk/boinc/; revision=16421
2008-11-04 22:16:16 +00:00
Rom Walton c7e950e9e3 - MGR: Give the option to shutdown the CC even if the manager
didn't launch it.  This only applies to when the manager
        and client are on the same machine.
        
    clientgui/
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=16420
2008-11-04 21:42:58 +00:00
David Anderson 970dc25474 - fix makefile typo
- fix scheduler error (can't end with \n)


svn path=/trunk/boinc/; revision=16419
2008-11-04 20:44:44 +00:00
Rom Walton 24951090cc - MGR: Add DlgExitMessage.cpp to Makefile.am.
clientgui/
        Makefile.am

svn path=/trunk/boinc/; revision=16417
2008-11-04 19:50:35 +00:00
Rom Walton 6368853862 Quick Updates
svn path=/trunk/boinc/; revision=16416
2008-11-04 17:21:06 +00:00
Rom Walton 4012a4d8ae - MGR: Don't display the 'Run BOINC at startup checkbox for
any platform other than Windows.  It has no effect on Mac
        since the Mac doesn't automatically start BOINC Manager
        with any command line arguments.
        
    clientgui/
        DlgOptions.cpp

svn path=/trunk/boinc/; revision=16415
2008-11-04 17:20:09 +00:00
Rom Walton 7652d57839 - MGR: Bug fixes for the new Exit dialog.
clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.h
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=16414
2008-11-04 16:51:31 +00:00
Rom Walton 6c18a58144 - MGR: Text cleanup
clientgui
        DlgExitMessage.cpp
        DlgGenericMessage.cpp

svn path=/trunk/boinc/; revision=16413
2008-11-04 15:54:28 +00:00
Charlie Fenton 9c8c8d444f MGR: RPC thread: wait for connection with 1 ms delays initially, pause RPC thread after creation on non-Windows systems
svn path=/trunk/boinc/; revision=16412
2008-11-04 13:59:30 +00:00
Charlie Fenton cb98197863 Fix compile error
svn path=/trunk/boinc/; revision=16411
2008-11-04 11:47:14 +00:00
Charlie Fenton 06454147a7 Fix typo
svn path=/trunk/boinc/; revision=16410
2008-11-04 11:45:19 +00:00
Charlie Fenton 775bcc7315 MGR: On non-Mac and Non-Windows systems, have RPC thread call nanosleep() for 1 microsecond instead of wxThread::Yield(), which may not work on some Linux systems
svn path=/trunk/boinc/; revision=16409
2008-11-04 11:40:33 +00:00
Charlie Fenton 518ea8aabb Mac: Add new source files DlgExitMessage.cpp,.h to XCode project
svn path=/trunk/boinc/; revision=16408
2008-11-04 11:14:20 +00:00
Charlie Fenton 901033ce5c MGR: Fix Simple_GUI help button URL
svn path=/trunk/boinc/; revision=16407
2008-11-04 11:12:56 +00:00
Rom Walton 59d0152c9b - MGR: Provide a way to enable/disable launching from the BOINC Manager
at startup from within the BOINC Manager itself.
    - MGR: Add a command line argument which specifies that the Manager was
        launched by the OS.
    - SCR: Remove the code that checks for the BOINC Manager shortcuts.

    clientgui/
        AdvancedFrame.cpp
        BOINCGUIApp.cpp, .h
        DlgOptions.cpp, .h
        boinc_ss.h
        boinc_ss.rc
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=16406
2008-11-04 09:33:03 +00:00
Rom Walton 050150beb2 - MGR: Create an Exit dialog for the Manager.
- MGR: Allow the manager to shutdown the CC even when it was installed as
        a daemon.
    - MGR: Code cleanup.

    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp
        BOINCClientManager.cpp
        BOINCGUIApp.cpp, .h
        DlgExitMessage.cpp, .h (Added)
        SkinManager.cpp
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=16405
2008-11-04 08:08:16 +00:00
Jens Seidler 6ba00f8d4f Manager and supplied web files updated: Spanish(es), Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=16404
2008-11-04 06:57:53 +00:00
Charlie Fenton ef6559d488 Remove items accidentally checked in
svn path=/trunk/boinc/; revision=16403
2008-11-04 02:51:38 +00:00
Charlie Fenton 51027a8c1c MGR: RPC thread restore Yield(); paus thread immediately on wxEVT_RPC_FINISHED event; reduce CPU usage while not connected to a client.
svn path=/trunk/boinc/; revision=16402
2008-11-04 02:39:16 +00:00
Charlie Fenton e2d5800ba6 MGR: RPC thread restore Yield(); paus thread immediately on wxEVT_RPC_FINISHED event; reduce CPU usage while not connected to a client.
svn path=/trunk/boinc/; revision=16401
2008-11-04 02:36:24 +00:00
David Anderson 77803431ea - client: preemptability ordering was messed up
svn path=/trunk/boinc/; revision=16400
2008-11-04 01:00:43 +00:00
David Anderson d8c923271b - web: smooth things out a bit for confused users:
- add a "forgot email address?" link
    - change text to say that the authenticator method can be used
        in case of forgotten email OR forgotten password
    - if bad password on login, show them the login form again
        (with email field populated)
        instead of a harsh failure message
    - if bad email on login, show login form again instead of harsh message
    - update authenticator method instructions
        with new BOINC data directory paths

svn path=/trunk/boinc/; revision=16399
2008-11-04 00:15:51 +00:00
Rom Walton 63c123fdc5 - MGR: Use Sleep instead of Yield for the async thread loop. On Posix
systems all Yield translates to is sched_yield but only if
        HAVE_SCHED_YIELD is defined in the wxWidget config file.  If it isn't
        defined it becomes a null op. The async thread doesn't really need
        millisecond response times.  Have it check every 100 milliseconds
        for an RPC to process.
        
    clientgui/
        AsyncRPC.cpp

svn path=/trunk/boinc/; revision=16398
2008-11-04 00:00:59 +00:00
David Anderson ae95ae0527 - file_deleter: add -input_files_only and -output_files_only options.
If you store input and output files on different servers,
    you can run 2 file_deleters, each one on the same machine
    as the files it's going to be deleting.
- file_deleter: add -help option and usage()

client/
    cpu_sched.cpp
    sched/
        file_deleter.cpp

svn path=/trunk/boinc/; revision=16397
2008-11-03 22:56:16 +00:00
David Anderson c65355c430 svn path=/trunk/boinc/; revision=16396 2008-11-03 19:30:07 +00:00
David Anderson 5b59556a43 - client: fix bug that caused occasional assert in pop_heap()
for the preemptable_task_list.
        The problem was that the ordering predicate (more_preemptable())
        could change on the fly, making the heap inconsistent.
        Instead, we create a vector, sort it by increasing preemptability,
        then pop off the end.

svn path=/trunk/boinc/; revision=16395
2008-11-03 19:29:04 +00:00
Rom Walton 48fcb8ef2c Quick Updates
svn path=/trunk/boinc/; revision=16392
2008-11-03 15:36:48 +00:00
Charlie Fenton deaeae4eda client: fix compiler warning indicating real error in RR simulation
svn path=/trunk/boinc/; revision=16391
2008-11-03 10:19:25 +00:00
David Anderson a5481e1714 - Filter questions
svn path=/trunk/boinc/; revision=16390
2008-11-03 03:06:29 +00:00
David Anderson 1de55a2842 - web: free result in count(). Fixes #763
svn path=/trunk/boinc/; revision=16389
2008-11-02 20:15:06 +00:00
David Anderson 0ded726fe7 - client: fix a long-standing error: if prefs say leave X GB free,
and BOINC is using Y GB, and there are Z GB free,
        the limit on BOINC is Y + Z - X (not Z - X).

svn path=/trunk/boinc/; revision=16388
2008-11-02 20:09:59 +00:00
David Anderson 15b58e582d - client, scheduler: there were a few places where we had 1e9
instead of 1 gig (2^20)


svn path=/trunk/boinc/; revision=16387
2008-11-01 23:13:55 +00:00
David Anderson 719921bfaf - client: fix the updating of CPU time left in RR simulation;
don't print msgs about non-CPU-intensive projects.

svn path=/trunk/boinc/; revision=16386
2008-11-01 21:10:08 +00:00