Commit Graph

10111 Commits

Author SHA1 Message Date
Rytis Slatkevičius 56871331a5 - Fix #189: add links to send PMs below user name in the forum, in the user overview and in user profile page.
- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)

svn path=/trunk/boinc/; revision=12666
2007-05-15 10:06:38 +00:00
David Anderson 5bbcc6b3b6 - client: fix bug where:
1) client wakes up from hibernate
    2) one or more network ops start (e.g. because backoff expired)
    3) ops fail because DNS system isn't up yet
    4) connect to reference site fails too
    5) user sees "please create physical connection",
        even though there's been a physical connection the whole time.
    Solution:
    - keep track of "last wakeup time": the last time the
        time of day (measured in poll_slow_events())            increased by more than 10 times the polling interval.
        This must be either coming out of hibernation,
        or the user resetting the system clock.
    - When a network operation fails, try to contact the reference site
        only if it's more than 30 seconds after the last wakeup time.

client/
    client_state.C,h
    net_stats.C

svn path=/trunk/boinc/; revision=12665
2007-05-14 21:45:02 +00:00
David Anderson 8f25fdf2a1 David 14 May 2007
- API: Eric Myers reported that my 4 May checkin
        (which increased worker thread stack size to the limit
        returned by getrlimit())
        broke his app on several Linux platforms.
        So I added a worker_thread_stack_size element to BOINC_OPTIONS.
        If you want an increased stack size, set this.
    - web RPC: add <url> and <local_revision> elements to
        the XML returned by get_project_config.php

    html/user/
        sample_get_project_config.php
    api/
        graphics_impl.C


svn path=/trunk/boinc/; revision=12664
2007-05-14 19:52:00 +00:00
David Anderson bd8b0aed41 - core client: on attach to project,
if the initial sched request failed,
		the manager would show "communicating" for 60 sec,
		then time out and show "failed to attach".
		But the project would actually be attached.
		This was due to a logic error,
		but I fixed it in a more fundamental way:
		by considering an attach to be complete immediately,
		without waiting for a successful scheduler RPC.

		This was originally done to ensure that the URL and account key were valid.
		But when using the BOINC Manager, we've already verified
		both of these before doing the attach project RPC.

		When using boinc_cmd, you now have to check for messages
		indicating a bad URL or account key.
		I changed things to print these messages on every sched RPC.

		Implementation: the notion of "tentative project" no longer exists.

	client/
		client_state.C,h
		client_types.C,h
		cs_account.C
		cs_benchmarks.C
		cs_scheduler.C
		gui_rpc_server_ops.C
		scheduler_op.C
		sim.C
		sim_util.C

svn path=/trunk/boinc/; revision=12663
2007-05-14 19:18:45 +00:00
David Anderson c31aa48a50 - core client: in statefile read, set avp->platform
before linking.
	- core client: when parse app_info.xml,
		set platform to primary platform.
		Otherwise anonymous platform mechanism doesn't work.
	- GUI RPC: in attach project RPC, check for
		already attached even in config file case

	client/
		cs_statefile.C
		gui_rpc_server_ops.C
		scheduler_op.C
		time_stats.C

svn path=/trunk/boinc/; revision=12662
2007-05-14 17:36:16 +00:00
David Anderson 01f4851323 - scheduler: add max_wus_in_progress option.
Limits total # of in-progress results per host
    (independently of #CPUs)

sched/
    sched_config.C,h
    sched_resend.C
    sched_send.C
    server_types.h


svn path=/trunk/boinc/; revision=12661
2007-05-14 15:21:38 +00:00
Rytis Slatkevičius 5f7ed5b8fc Remove redundant search boxes from the bottom of the forum pages
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rom Walton 9c06b48c2d - Change the 'ProductName' in the resource structures to
'BOINC client' instead of 'BOINC core client'

    client/win/
        boinc_cmd.rc
        boinc_ss.rc
    clientgui/
        BOINCGUIApp.rc

svn path=/trunk/boinc/; revision=12659
2007-05-12 15:20:19 +00:00
David Anderson 58b39390b1 - Python tools:
- removed "add" (long deprecated)
    - version.py is needed only in test/;
        remove references to it in boinc_path_config.py,
        and don't copy it to project/bin

py/Boinc/
    boinc_path_config.py.in
    setup_project.py
tools/
    add (removed)

svn path=/trunk/boinc/; revision=12658
2007-05-11 22:24:14 +00:00
Rytis Slatkevičius 79e77f1de5 Fix non-unique user name handling in private messages
svn path=/trunk/boinc/; revision=12657
2007-05-11 20:34:16 +00:00
David Anderson 3612fe184f - web RPC: show lots more info in team_lookup.php, XML version
html/inc/
    xml.inc


svn path=/trunk/boinc/; revision=12656
2007-05-11 18:41:36 +00:00
David Anderson e851cb0bd7 svn path=/trunk/boinc/; revision=12655 2007-05-11 18:34:14 +00:00
David Anderson 39997cb702 - Manager: show (in Project/status) if a sched RPC is in progress
clientgui/
    ViewProjects.cpp
    ViewProjectsGrid.cpp

svn path=/trunk/boinc/; revision=12654
2007-05-11 18:27:16 +00:00
David Anderson fca5836088 - web RPC: fix bug in XML variant in show_user.php, bad-ID case.
html/user/
    show_user.php


svn path=/trunk/boinc/; revision=12653
2007-05-11 17:42:33 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
we need to use " to expand $PROJECT var
- scheduler:
    take work_buf_min into account in deciding whether
    a result will be reported by its deadline.
- all back end programs:
    better error message if can't parse config file

html/inc/
    translation.inc
sched/
    *.C

svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
Charlie Fenton 1bf67eddda Mac: Determine size of BOINC Manager bundle in core client if it was launched by Manager rather than in the Manager itself, to get correct information when controlling a remote computer.
svn path=/trunk/boinc/; revision=12651
2007-05-11 07:05:29 +00:00
Charlie Fenton 693d450a17 svn path=/trunk/boinc/; revision=12650 2007-05-11 06:05:12 +00:00
Charlie Fenton 09792afa36 Mac only: create CViewResources::GetViewRefreshRate() to update PieCtrl only every 10 seconds to reduce CPU overhead
svn path=/trunk/boinc/; revision=12649
2007-05-11 06:04:41 +00:00
Charlie Fenton b6142f012a Eliminated wxPieCtrlLegend class completely, integrated legend drawing into the PieCtrl class itself, greatly simplifying it
svn path=/trunk/boinc/; revision=12648
2007-05-11 06:04:21 +00:00
Jens Seidler 90e8bb20e2 BOINC homepage language files updated: Chinese simplified(zh_CN), Japanese(ja/ja_JP)
svn path=/trunk/boinc/; revision=12647
2007-05-11 04:57:52 +00:00
Rom Walton 67078e9e67 - Fix a build break in the manager.
client/
        app.h
    lib/
        common_defs.h

svn path=/trunk/boinc/; revision=12646
2007-05-11 03:49:25 +00:00
David Anderson 21b7b7299d - core client: fix big that caused
duplicate app versions to appear in state file
		(this was harmless, BTW)

	client/
		cs_scheduler.C

svn path=/trunk/boinc/; revision=12645
2007-05-11 03:28:21 +00:00
David Anderson 3c7d66df91 svn path=/trunk/boinc/; revision=12644 2007-05-11 03:27:25 +00:00
Rom Walton 2e944052a6 - Add a project config.xml option to allow moderators to ban
accounts.
        
      <moderators_allowed_to_ban>1</moderators_allowed_to_ban>
      
    html/inc/
        forum.inc
        forum_moderators.inc

svn path=/trunk/boinc/; revision=12643
2007-05-11 02:43:57 +00:00
David Anderson 91a5a79c59 - boinc_cmd: add --network_available and --get_cc_status options
lib/
    boinc_cmd.C

svn path=/trunk/boinc/; revision=12642
2007-05-11 00:42:13 +00:00
Janus B. Kristensen ab0fa32bcd Added BInteger to BT stuff
svn path=/trunk/boinc/; revision=12641
2007-05-10 21:59:08 +00:00
Janus B. Kristensen ac80942579 BEncoded integers for the Bittorrent stuff.
svn path=/trunk/boinc/; revision=12640
2007-05-10 21:56:38 +00:00
David Anderson a37403a673 - scheduler: add <workload_sim> config option.
If set, the scheduler will use EDF simulation,
    together with the in-progress workload reported by the client,
    to avoid sending results that
    1) will miss their deadline, or
    2) will cause an in-progress result to miss its deadline, or
    3) will make an in-progress result miss its deadline
        by more than is already predicted.
    If this option is not set, or if the client request doesn't
    include a workload description (i.e. the client is old)
    use the existing approach, which assumes there's no workload.
    NOTE: this is experimental.  Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
    - if an account is detach_when_done, set dont_request_more_work
    - check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)

client/
    acct_mgr.C
    work_fetch.C
html/
    inc/
        uotd.inc
        util.inc
    user/
        uotd_gadget.php (new)
sched/
    Makefile.am
    edf_sim.C
    sched_config.C,h
    sched_resend.C
    sched_send.C,h
    server_types.C,h

svn path=/trunk/boinc/; revision=12639
2007-05-10 21:50:52 +00:00
David Anderson a3c22a1bf7 - client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
- client: with anonymous platform, don't link app version twice

client/
    client_types.h
    client_state.C
    cs_apps.C
    cs_files.C
    cs_prefs.C
    cs_scheduler.C
    cs_statefile.C
    sim_util.C
html/
    uotd.inc
sched/
    edf_sim.h
    server_types.h

svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
Rom Walton aad6908a69 - fixes #164: Aborting a Task
If a task has already been aborted, don't enable the abort task
        button.

    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=12637
2007-05-10 16:14:04 +00:00
David Anderson ca2dead91d - client simulator: make it compile on Win
- client: parse version_num in active_task to avoid spurious error msg

	client/
		app.C
		sim.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12636
2007-05-10 16:07:45 +00:00
Rom Walton d508c88a9a - Possible fix for a crashing condition when the manager is shutdown
from the system tray icon.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp, .h

svn path=/trunk/boinc/; revision=12635
2007-05-10 15:41:10 +00:00
Charlie Fenton b8a306c696 Mac: include size of BOINC Manager bundle in BOINC total disk usage displayed in Disk Usage pane Pie Chart.
svn path=/trunk/boinc/; revision=12634
2007-05-10 10:51:58 +00:00
Charlie Fenton 0525ebd241 A better fix for Mac PieCtrl legend clipping bug
svn path=/trunk/boinc/; revision=12633
2007-05-10 09:10:51 +00:00
Rytis Slatkevičius 0379a5a655 Fix #114: update BBCode to allow easy linking to Trac tickets, wiki and changesets.
svn path=/trunk/boinc/; revision=12632
2007-05-09 19:30:46 +00:00
David Anderson 78807f659c - scheduler: slight code cleanup prior to adding EDF stuff
languages/translations/
    en.po
sched/
    sched_send.C
    server_types.h

svn path=/trunk/boinc/; revision=12631
2007-05-09 17:45:18 +00:00
David Anderson 0357fbf1f2 added addon_item.php
svn path=/trunk/boinc/; revision=12630
2007-05-09 15:51:21 +00:00
David Anderson e6f92b3188 - Client simulator: added --dcf_dont_use and --dcf_stats options
(alternate ways of computing DCF)

    client/
        cpu_sched.C
        sim.C,h
        sim_util.C

svn path=/trunk/boinc/; revision=12628
2007-05-09 15:23:10 +00:00
Charlie Fenton 684e7fe300 Fixed a small bug
svn path=/trunk/boinc/; revision=12627
2007-05-09 11:19:06 +00:00
Charlie Fenton e9ea620da7 Fixed a long-standing bug which caused the PieCtrl legend to be clipped to a small rectangle when first drawn on Macs. Mac: removed the hack which refreshed once a second the first 3 times to work around this bug.
svn path=/trunk/boinc/; revision=12625
2007-05-09 10:47:22 +00:00
Janus B. Kristensen e4a04e5a1e Thanks goes to Lee Carre for pointing out the CSS issue.
svn path=/trunk/boinc/; revision=12624
2007-05-09 09:27:49 +00:00
Janus B. Kristensen fffc375e42 Forum fixes and BEncoded dictionaries for Bittorrent.
svn path=/trunk/boinc/; revision=12623
2007-05-09 09:20:36 +00:00
Janus B. Kristensen 92c7e96022 Removed .inc since my editor doesn't seem to understand that it is still PHP...
svn path=/trunk/boinc/; revision=12622
2007-05-09 09:14:39 +00:00
Janus B. Kristensen a00a7f8181 BEncdoded elements (for dictionaries in dictionaries in lists in...) and BEncoded arrays (dictionaries).
svn path=/trunk/boinc/; revision=12621
2007-05-09 09:13:38 +00:00
Janus B. Kristensen a2d85647bd Fixed the stupid post-content layout-breaking overflow in some browsers and a CSS error that caused the original fix to only work in certain conditions.
svn path=/trunk/boinc/; revision=12620
2007-05-09 08:59:14 +00:00
Charlie Fenton fb348ff6df Mac: Release version 5.9.10
svn path=/trunk/boinc/; revision=12618
2007-05-09 06:36:57 +00:00
Charlie Fenton 4254b78ad5 Mac: Refresh Disk Usage pane only on every 10th call to reduce CPU overhead, but refresh once per second the first 3 times to work around a bug drawing the legends.
svn path=/trunk/boinc/; revision=12617
2007-05-09 06:35:59 +00:00
David Anderson c08eddf7fe - GUI RPC: add new element d_boinc to DISK_USAGE;
tells how much disk space BOINC is using
        (not including projects).
    - added project.max_infeasible_count to client simulator

    client/
        gui_rpc_server_ops.C
        sim.C,h
        sim_util.C
    clientgui/
        ViewResources.cpp
    lib/
        filesys.C
        bui_rpc_client.h
        bui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12615
2007-05-08 23:12:40 +00:00
David Anderson 44a7509e35 - core client: improve error message when can't link app version
client/
		client_state.C
		cs_statefile.C

svn path=/trunk/boinc/; revision=12614
2007-05-08 22:07:21 +00:00
Rom Walton 021450296e svn path=/trunk/boinc/; revision=12613 2007-05-08 15:33:41 +00:00