Commit Graph

17327 Commits

Author SHA1 Message Date
Charlie Fenton c631ab3f1d MGR: Use same exit confirmation dialog wording for Linux as for Windows
svn path=/trunk/boinc/; revision=23678
2011-06-08 10:41:34 +00:00
Charlie Fenton 654457ba03 MGR: Shut down local Client even If not connected to it
svn path=/trunk/boinc/; revision=23677
2011-06-08 10:40:03 +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 3bc9acebe2 MGR: Fix About dialog to show (PowerPC) instead of (x86) when appropriate
svn path=/trunk/boinc/; revision=23674
2011-06-08 01:35:14 +00:00
David Anderson 8920342a09 - client: fix bug in app termination logic
svn path=/trunk/boinc/; revision=23673
2011-06-07 20:55:31 +00:00
Rom Walton f8456cc31b Update Translations
svn path=/trunk/boinc/; revision=23665
2011-06-07 16:37:10 +00:00
Rom Walton 932517330b Rom 7 Jun 2011
- MGR: Cleanup compiler warnings. Fixes# 1051
        (From: Steffen Möller)
        
    clientgui/
        AdvancedFrame.cpp
    clientgui/common/
        wxFlatNotebookImages.h
    clientgui/res/skins/default
        advanced_link_image.xpm

svn path=/trunk/boinc/; revision=23662
2011-06-07 16:25:02 +00:00
Rom Walton f01f867d38 Quick Updates
svn path=/trunk/boinc/; revision=23660
2011-06-07 16:20:59 +00:00
Rom Walton f087ac94ca Quick Updates
svn path=/trunk/boinc/; revision=23657
2011-06-07 16:13:41 +00:00
Charlie Fenton 0cd79f9b5f MGR: Fix bug I introduced on 6 Aug 2010 which prevented empty computer name string from beng recognized as localhost
svn path=/trunk/boinc/; revision=23650
2011-06-07 11:06:34 +00:00
David Anderson 7b5c142650 - API: undo the above API checkin, and provide a cleaner and
documented way of doing the same thing; see
    http://boinc.berkeley.edu/trac/wiki/AppCoprocessor


svn path=/trunk/boinc/; revision=23649
2011-06-07 05:16:12 +00:00
David Anderson 93add14614 - backend: use new XML parser for input template files
(so that they don't have to be 1 element/line)
    and also allow optional <input_template> root element
- fix bug in WORKUNIT DB interface


svn path=/trunk/boinc/; revision=23648
2011-06-07 04:12:49 +00:00
Eric J. Korpela abbbd7a55b svn path=/trunk/boinc/; revision=23647 2011-06-07 01:50:09 +00:00
Eric J. Korpela e9ecb9c04a Safe exit checking for CUDA applications under windows. In application you
could use the following for safe exit checking. 

#ifdef _WIN32
//Jason: Safe exit check macro to play nicer with Cuda & MS-CRT
 #ifdef USE_CUDA 
  #define SAFE_EXIT_CHECK  do { \
   if (worker_thread_exit_request) { \
      fprintf(stderr,"-> Worker received exit request, syncing Cuda...");
cudaThreadSynchronize(); fprintf(stderr,"Done.\n"); \
      fprintf(stderr,"  Worker Freeing Cuda data..."); cudaAcc_free();
fprintf(stderr,"Done.\n"); \
      fprintf(stderr,"  Worker Acknowledging exit request, spinning->\n");
worker_thread_exit_ack = true; \
      while (1) Sleep(10); \
   } \
  } while (0);
 #else
  #define SAFE_EXIT_CHECK  do { \
   if (worker_thread_exit_request) { \
      fprintf(stderr,"  Worker Acknowledging exit request, spinning-> ");
worker_thread_exit_ack = true; \
      while (1) Sleep(10); \
   } \
  } while (0);
 #endif
#else  // Linux or other probably have their own safe exit handling, defined as
blank, do nothing
 #define SAFE_EXIT_CHECK
#endif
 
and install at the top of the cffft loop, and more locations if desired:
  SAFE_EXIT_CHECK;

I'd like to implement these as BOINC API functions, but have not yet done so.



svn path=/trunk/boinc/; revision=23646
2011-06-07 01:46:14 +00:00
Daniel Lombraña González 4d74982131 Flush ProgressFile updates added.
This new feature prevents from losing progress data from an unexpected reboot.


svn path=/trunk/boinc/; revision=23642
2011-06-06 10:55:01 +00:00
David Anderson 7932dde4d7 - lib: fix compile warning
svn path=/trunk/boinc/; revision=23638
2011-06-06 05:36:28 +00:00
David Anderson 9cfb88c3ea - scheduler: when creating HOST_APP_VERSION records,
initialize the n_jobs_today field correctly


svn path=/trunk/boinc/; revision=23637
2011-06-06 04:10:59 +00:00
David Anderson 436415cfe1 - scheduler, back end: add "homogeneous app version" feature.
Lets you specify, on a per-app basis,
    that all instances should be done using the same app version.
    This is for validation in the presence of GPUs.
- scheduler: code cleanup
    - Instead of adding a bunch of non-DB fields to RESULT,
        used a derived class SCHED_DB_RESULT.
    - Instead of storing a pointer to BEST_APP_VERSION in RESULT,
        store the structure itself.
        This simplifies the memory allocation situation.
- client: condition "Got server request to delete file" messages
    on <file_xfer_debug>


svn path=/trunk/boinc/; revision=23636
2011-06-06 03:40:42 +00:00
Charlie Fenton 4526ae487a MGR: Convert Google Chrome browser time to UNIX time
svn path=/trunk/boinc/; revision=23635
2011-06-04 02:03:02 +00:00
David Anderson 86205059cd - scheduler: app version FLOPS estimates were wrong
in the case where we don't have enough elapsed-time stats
    for the host/app_version.
    The right formula is (peak FLOPS)/app_version.avg_pfc


svn path=/trunk/boinc/; revision=23634
2011-06-03 19:53:52 +00:00
David Anderson e8c5e5bf5f - client: my checkin of 8 Apr 2011 didn't work in some cases, e.g.:
- client finishes a job
    - before upload starts, work fetch runs and decides to fetch work
        from that project.
    Solution:
    - set PROJECT::last_upload_start when job finishes,
        and clear it when a job is uploaded.
    - defer scheduler RPC for a limited time if last_upload_start
        is set, even if a transfer is not active


svn path=/trunk/boinc/; revision=23633
2011-06-03 18:45:21 +00:00
Charlie Fenton 673626936d MGR: Fixes for cookie detection on Google Chrome browser
svn path=/trunk/boinc/; revision=23632
2011-06-03 12:49:52 +00:00
Eric J. Korpela bb4d2ec479 Fixes for MinGW build with GCC 4.5 and 3.X
svn path=/trunk/boinc/; revision=23631
2011-06-02 16:25:30 +00:00
Charlie Fenton 0391e09260 MGR: If Firefox 3 SQL query fails because cookie database is locked, make a temporary copy of the cookie file and query that
svn path=/trunk/boinc/; revision=23629
2011-06-02 10:00:51 +00:00
Charlie Fenton 62b379eeaa MGR: Add SQLite3 v3.7.6.3 source code to Mac XCode project (modified slightly to suppress compiler warnings)
svn path=/trunk/boinc/; revision=23628
2011-06-02 09:57:11 +00:00
David Anderson bc18d1dd74 svn path=/trunk/boinc/; revision=23627 2011-06-01 05:08:14 +00:00
David Anderson 466fe8aa81 svn path=/trunk/boinc/; revision=23626 2011-06-01 04:57:04 +00:00
David Anderson 09cb4daeda svn path=/trunk/boinc/; revision=23625 2011-06-01 04:53:16 +00:00
David Anderson 538b55ae09 - web: add counts in task list pages
svn path=/trunk/boinc/; revision=23624
2011-06-01 04:29:43 +00:00
David Anderson 7a5c6f47b3 - client: Rom pointed out that on Win in secure mode,
the client won't be able to convert descendant PIDs to handles,
    and therefore won't be able to terminate them.  Sigh.
    So terminate the main process using its handle
    (we'll still kill descendants in the non-secure case)


svn path=/trunk/boinc/; revision=23623
2011-06-01 00:00:30 +00:00
David Anderson 8c8684d147 svn path=/trunk/boinc/; revision=23620 2011-05-31 23:44:39 +00:00
David Anderson d6ba9fc954 - client: when killing a nonresponsive task,
kill its descendant processes too
- manager: tweak strings related to task FLOP size


svn path=/trunk/boinc/; revision=23619
2011-05-31 23:39:50 +00:00
David Anderson 3f2f56906e - web: make front page work for Bossa projects
svn path=/trunk/boinc/; revision=23618
2011-05-27 19:38:18 +00:00
David Anderson 9665363a2e - Bossa tweaks
svn path=/trunk/boinc/; revision=23617
2011-05-27 19:05:23 +00:00
David Anderson b288405f98 svn path=/trunk/boinc/; revision=23614 2011-05-25 23:16:08 +00:00
David Anderson 660b2ae762 - Manager: tweak messages in exit dialog
svn path=/trunk/boinc/; revision=23613
2011-05-25 23:13:26 +00:00
Charlie Fenton 1f81d3cb50 Release Mac BOINC 6.12.28 to alpha test
svn path=/trunk/boinc/; revision=23612
2011-05-25 22:50:53 +00:00
David Anderson bb73fd9e4e - client: equate notices if their text is the same after removing digits,
so that "need 25 GB disk" and "need 24 GB disk"
    don't result in 2 notices.


svn path=/trunk/boinc/; revision=23611
2011-05-25 22:43:07 +00:00
David Anderson 365137b3f1 - client: fix boinc_make_dirs() (from Josh Highley)
- client: allow "non_cpu_intensive" to be specified independently
    for different apps in a project.
    This is intended to support projects that use the
    Attic file distribution system,
    which needs to have a daemon running.


svn path=/trunk/boinc/; revision=23610
2011-05-25 21:16:45 +00:00
David Anderson 57a41e14d9 - client: if <ncpus> is specified in config file,
set host_info.p_ncpus to that value,
		so that scheduler requests report that number of CPUs

svn path=/trunk/boinc/; revision=23608
2011-05-25 18:37:08 +00:00
Rom Walton b6e47b0917 Quick Updates
svn path=/trunk/boinc/; revision=23606
2011-05-25 18:06:12 +00:00
Rom Walton cd93a6aaee Quick Updates
svn path=/trunk/boinc/; revision=23605
2011-05-25 17:38:13 +00:00
David Anderson 1afde126cb - client: escape only non-ASCII chars in stderr out, not control chars
svn path=/trunk/boinc/; revision=23601
2011-05-25 16:40:19 +00:00
Rom Walton 5c2367caf2 - scheduler: unescape the stderr_out field after parsing so we do not break
other applications parsing the data.
        
    sched/
        sched_types.cpp

svn path=/trunk/boinc/; revision=23600
2011-05-25 15:39:35 +00:00
Charlie Fenton 8e701831d1 MGR: Fix shutting down of Client on Linux
svn path=/trunk/boinc/; revision=23598
2011-05-25 11:15:39 +00:00
Charlie Fenton b824421599 MGR: Fix shutting down of Client on Linux
svn path=/trunk/boinc/; revision=23597
2011-05-25 11:13:20 +00:00
Rom Walton 0f2719eeed Quick Updates
svn path=/trunk/boinc/; revision=23596
2011-05-24 19:49:23 +00:00
David Anderson 31faa14c43 - update_versions: flag main program as executable,
otherwise client will reject it


svn path=/trunk/boinc/; revision=23594
2011-05-24 19:16:54 +00:00
Charlie Fenton 5e1b7abf61 SCR: Fix Mac crash bug when user clicks SS Test button in system preferences
svn path=/trunk/boinc/; revision=23574
2011-05-23 02:07:02 +00:00
Charlie Fenton 2c10cceefa SCR: Fix crash bug when user clicks SS Test button in system preferences
svn path=/trunk/boinc/; revision=23572
2011-05-23 01:13:34 +00:00