Commit Graph

10779 Commits

Author SHA1 Message Date
David Anderson aadcc979cd - client: first pass at fixing a fundamental design flaw:
there's a single GUI_HTTP object,
    and it works only if used sequentially,
    i.e. an op is started only after the previous one ends.
    This breaks if a GUI RPC triggerse and op while
    a project-list fetch (initiated by the client itself) is in progress.
    Or if two managers are connected at the same time,
    and both do HTTP ops.
    The solution: have a separate GUI_HTTP object for each GUI_RPC_CONN,
    and an additional one for use by the client itself.

svn path=/trunk/boinc/; revision=13692
2007-09-27 21:03:15 +00:00
Rom Walton d3c852d201 - WIN INSTALL: Add custom action to create the two user accounts
needed to implement the sandbox.
      
      TODO: Still need a random password generator.
      
    win_build/installerv2/redist/Windows/src/boinccas
        boinccas.vcproj
        CACreateBOINCAccounts.cpp, .h (Added)

svn path=/trunk/boinc/; revision=13689
2007-09-27 17:54:54 +00:00
David Anderson 843277ffce removed a lot of doc files
svn path=/trunk/boinc/; revision=13687
2007-09-27 17:23:21 +00:00
David Anderson 505d04969a - file upload handler: fix major bug (introducted 12 Sept)
that caused it to report "volume full" erroneously
- added --help option to some backend programs;
    gives general info and directs to web page
    file_upload_handler.C

svn path=/trunk/boinc/; revision=13685
2007-09-27 15:08:40 +00:00
Charlie Fenton 8103f74d3e API: fix 2 bugs in new compatibility code for handling V5 graphics messages in a V5 app
svn path=/trunk/boinc/; revision=13681
2007-09-27 13:09:48 +00:00
David Anderson 7bdacec895 - API: debug the code for handling V5 graphics messages
in a V6 app (and launching/killing the graphics app)
	- API: start timer thread even if in standalone mode
		(needed to get timer callbacks for V6 graphics)
	- API: remove BOINCSetForegroundWindow stuff
	- API: call DestroyWindow instead of boinc_exit() in WM_CLOSE.
		boinc_exit() is the wrong thing to call - e.g. it tries to delete
		the lock file, resulting in a 5-sec delay on exit

svn path=/trunk/boinc/; revision=13679
2007-09-27 03:34:27 +00:00
David Anderson aee80d8fea - simplify sql query
svn path=/trunk/boinc/; revision=13676
2007-09-26 17:54:35 +00:00
David Anderson 0a48da269d - API: initialize backwards_compatible_graphics to true.
NOTE: as of this checkin, applications built with the API
code in the trunk are assumed to do V6-type graphics.
If your app doesn't, then you must set
backwards_compatible_graphics to false
(and use boinc_init_graphics_options())


svn path=/trunk/boinc/; revision=13675
2007-09-26 17:06:50 +00:00
Rytis Slatkevičius 4b8aeabf91 User web: fix an annoyance when team founder transfer is requested and the requester leaves the team.
NOTE: DB UPDATE REQUIRED.

svn path=/trunk/boinc/; revision=13673
2007-09-26 15:46:54 +00:00
Charlie Fenton 38d2d3a226 Eliminate "#ifdef USE_FILE_MAPPED_SHMEM" throughout
svn path=/trunk/boinc/; revision=13672
2007-09-26 12:20:33 +00:00
Charlie Fenton 55afa7332d Changes for V5 - V6 compatibility for clients & applications
svn path=/trunk/boinc/; revision=13671
2007-09-26 10:18:41 +00:00
Charlie Fenton e8a4acda63 V6 screensaver shows graphics for both V5 and V6 applications.
svn path=/trunk/boinc/; revision=13670
2007-09-26 10:17:43 +00:00
Charlie Fenton 2713f5662d Mac/Linux/UNIX: V6 apps uses shmget() to run with V5 clients
svn path=/trunk/boinc/; revision=13669
2007-09-26 10:17:11 +00:00
Charlie Fenton e751a514a5 Mac/Linux/UNIX: V6 client uses shmget() to run V5 apps, V6 apps uses shmget() to run with V5 clients
svn path=/trunk/boinc/; revision=13668
2007-09-26 10:16:42 +00:00
Charlie Fenton b2b3cdeff7 Mac/Linux/UNIX: V6 client uses shmget() to run V5 applications
svn path=/trunk/boinc/; revision=13667
2007-09-26 10:16:04 +00:00
Charlie Fenton 774091d490 Remove obsolete ss_logic.C,h from XCode project
svn path=/trunk/boinc/; revision=13666
2007-09-26 10:12:15 +00:00
David Anderson 0248d4e016 - stripcharts: fix typo that could cause disk to fill up!
(from Nicolas Maire)

svn path=/trunk/boinc/; revision=13660
2007-09-25 21:51:35 +00:00
David Anderson c260a46b0d - update_versions_v6 doesn't set min_core_version
svn path=/trunk/boinc/; revision=13653
2007-09-25 17:13:38 +00:00
David Anderson be7ad65989 - Compile fixes for Win
svn path=/trunk/boinc/; revision=13652
2007-09-25 16:39:30 +00:00
David Anderson f1f5930579 - client: removed everything related to screensaver
(deciding which app to use, implementing blanking interval, etc.)
    This logic is all now in the screensaver itself.
- GUI RPC: removed get/set screensaver mode RPCs
- API: added a "backwards_compatible_graphics" flag to BOINC_OPTIONS.
    V6 apps should set this.
    If set, the runtime library checks for graphics messages
    from the client, and launches/kills the graphics app (if any).
    The app will then work graphically with pre-V6 clients.
- removed some old files

svn path=/trunk/boinc/; revision=13651
2007-09-25 16:04:45 +00:00
David Anderson 227f9e6dd4 - use safe_strcpy() instead of strcpy() in a few places
in the client and db_dump
- scheduler: change REQ_FILE_PREFIX to use ../ instead of /tmp/
                 

svn path=/trunk/boinc/; revision=13646
2007-09-24 22:57:00 +00:00
David Anderson 513fa98c55 - user web: add links to BOINC-wide team sites
and www.boincteams.com from Team management page
- client: change error strings from, e.g.,
    "system chown" to "chown() failed"

svn path=/trunk/boinc/; revision=13644
2007-09-24 20:13:38 +00:00
David Anderson d8c6e5a17f - client: clean up (old undergrad-written) code related to pers file xfer.
The main goal is to fix a bug where,
        if a file is deleted from a project's download server,
        a client will keep trying to download it for 2 weeks.
        A download "file not found" is a permanent error, not transient.
        (fixes #383)
        In general, revised and renamed things to clarify the
        distinction between permanent and transient errors.
        Old functions:
            handle_xfer_failure(), try_next_url(), xfer_failed(), retry_or_backoff()
        New functions:
            permanent_failure(), transient_failure()
    - manager: compile fix for win (don't include sys/wait.h)

svn path=/trunk/boinc/; revision=13641
2007-09-24 18:32:55 +00:00
Bruce Allen 76c3c6a46e Eliminate more logging noise from the scheduler (complaints
about unrecognized tags).

svn path=/trunk/boinc/; revision=13640
2007-09-24 06:54:01 +00:00
Bruce Allen c3eff600ff Eliminate some logging noise from the scheduler (complaints
about unrecognized tags).

svn path=/trunk/boinc/; revision=13639
2007-09-23 21:38:47 +00:00
Rytis Slatkevičius 33f7f585bd HTML fix
svn path=/trunk/boinc/; revision=13638
2007-09-23 19:19:37 +00:00
Jens Seidler c9b61fcefa Localization: BOINC distributed websites and BOINC Manager language files updated: Russian(ru), Italian(it)
svn path=/trunk/boinc/; revision=13637
2007-09-23 12:00:03 +00:00
Charlie Fenton e7fba03746 Fix uninitialized instance variable
svn path=/trunk/boinc/; revision=13636
2007-09-22 04:35:30 +00:00
Charlie Fenton 8bd55b67a9 MGR V6 GFX: If no graphics apps are running, CMainDocument::OnPoll() doesn't call CachedResultsStatusUpdate()
svn path=/trunk/boinc/; revision=13635
2007-09-22 04:22:23 +00:00
Charlie Fenton c9a529f8d2 MGR: Fix build problems, crash on Linux.
svn path=/trunk/boinc/; revision=13634
2007-09-22 00:22:42 +00:00
David Anderson bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +00:00
David Anderson 135c38a7e3 - client: get_proxy_settings GUI RPC requires authentication
svn path=/trunk/boinc/; revision=13623
2007-09-21 15:07:15 +00:00
Charlie Fenton d7b888b3fc Mac SCR: prevent double delete of RPC_CLIENT rpc on closing screensaver
svn path=/trunk/boinc/; revision=13622
2007-09-21 11:46:31 +00:00
Charlie Fenton 6f31369c09 MGR: Every 10 seconds, kill any running graphics apps whose associated worker tasks are no longer running; Mac SCR: prevent double delete of RPC_CLIENT rpc on closing screensaver
svn path=/trunk/boinc/; revision=13621
2007-09-21 11:46:22 +00:00
Charlie Fenton 0b8b6d922f MGR: Every 10 seconds, kill any running graphics apps whose associated worker tasks are no longer running
svn path=/trunk/boinc/; revision=13620
2007-09-21 11:45:57 +00:00
Charlie Fenton 683a8bad08 Fix bug in routine to kill any graphics apps whose tasks are no longer running
svn path=/trunk/boinc/; revision=13607
2007-09-20 13:35:47 +00:00
Charlie Fenton 0ee4c5e74c Add a routine to kill any graphics apps whose tasks are no longer running, but don't call it yet
svn path=/trunk/boinc/; revision=13606
2007-09-20 12:14:03 +00:00
Charlie Fenton afa0babf5b Fix a typo
svn path=/trunk/boinc/; revision=13605
2007-09-20 11:21:35 +00:00
Charlie Fenton 70cfba942d MGR: Keep a list of currently running gfx apps; launch only one instance of gfx app per task; kill all gfx apps on exiting Manager.
svn path=/trunk/boinc/; revision=13604
2007-09-20 11:10:59 +00:00
Charlie Fenton 2a48ccb9e6 Consolidate common Show Graphics functionality into CMainDocument::WorkShowGraphics(); implement V6 graphics in SimpleGui
svn path=/trunk/boinc/; revision=13603
2007-09-20 00:32:16 +00:00
Charlie Fenton c014a95a27 svn path=/trunk/boinc/; revision=13602 2007-09-19 10:33:25 +00:00
Charlie Fenton 457efa155f Mac SCR: Put a copy of switcher utility inside screensaver's bundle to launch graphics applications as user and group "nobody".
svn path=/trunk/boinc/; revision=13601
2007-09-19 09:41:23 +00:00
Charlie Fenton 1c3c99d733 Explain reason we prevent unauthorized users to access switcher directory
svn path=/trunk/boinc/; revision=13599
2007-09-18 13:35:48 +00:00
Charlie Fenton 7fd15f2b5f Mac MGR: Launch the graphics application using switcher to fix a potential security risk
svn path=/trunk/boinc/; revision=13598
2007-09-18 12:18:42 +00:00
Rytis Slatkevičius 61ce18e6ca user web: fix invalid validate state reported to user.
svn path=/trunk/boinc/; revision=13597
2007-09-17 19:15:01 +00:00
Rom Walton 4ab9cb6b0c Quick Updates
svn path=/trunk/boinc/; revision=13596
2007-09-17 18:11:23 +00:00
David Anderson 6a334e5ab4 add logos
svn path=/trunk/boinc/; revision=13595
2007-09-17 16:19:58 +00:00
Bruce Allen 6b1aa1cdf2 - scheduler: added config option to control (turn off) some aspects
of file deletion. If you set file_deletion_strategy to 0 (default)
      then this turns off file deletion in the locality scheduler.
      Set file_deletion_strategy to 1 to get current behavior.  Other
      values are not defined.  I'll document this in the Wiki.

    sched/
        sched_config.h
        sched_config.C
        sched_locality.C

svn path=/trunk/boinc/; revision=13594
2007-09-17 15:58:36 +00:00
David Anderson 3204081982 - API: embed the string API_VERSION_N.N.N in libboinc.a
(for v6)
- client: performance tweak for CPU sched
- client: fix /proc/cpuinfo parsing for linux 2.6.23, powerPC
    fixes #410


svn path=/trunk/boinc/; revision=13593
2007-09-17 14:03:44 +00:00
David Anderson 49bf68fbbb - user web: make it possible to merge hosts with OS other
than win/mac/linux/solaris;
    when can't merge hosts, explain why better


svn path=/trunk/boinc/; revision=13592
2007-09-17 13:34:46 +00:00