Commit Graph

14804 Commits

Author SHA1 Message Date
David Anderson e1bdfc0ee8 - web: change the way project news is stored.
Old: in a flat file (html/project/project_news.inc)
    New: in a forum (called "News" by default)
    The script html/ops/news_convert.php copies news from
    old to new format.
    You'll also need to edit your index.php and use
    "show_news(0, 5)" to show news.
- web: added a "message of the day" mechanism.
    Edit html/user/motd.php to show a message.
    This will be shown as the first news item,
    but it's not archived (i.e., it's not a forum post)


svn path=/trunk/boinc/; revision=19949
2009-12-16 22:35:08 +00:00
Rom Walton f57cf01b79 Update copyright information
svn path=/trunk/boinc/; revision=19945
2009-12-16 21:08:17 +00:00
BOINC Translator 769fc17058 Update Translations
svn path=/trunk/boinc/; revision=19943
2009-12-16 21:00:02 +00:00
Rom Walton 2d25b6698d - Cleanup various warnings
- WINSCR: Implement new configuration dialog with new parameters
    - WINSCR: Remove crufty code
    - WINSCR: Update copyrights in resource files
    
    client/
        app.cpp
    clientscr/
        boinc_ss.h
        boinc_ss.rc
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h
    lib/
        common_defs.h
        crypt.cpp
        idlemon_win.cpp
        win_util.cpp
    samples/worker/
        worker.cpp
    win_build/
        boinc_ss.vcproj
        multi_thread.vcproj
        sleeper.vcproj
        ss_app.vcproj
        uc2_graphics.vcproj

svn path=/trunk/boinc/; revision=19923
2009-12-16 19:55:09 +00:00
Charlie Fenton 3cb29867e7 Mac Uninstaller: Properly change screensaver settings under OS 10.6
svn path=/trunk/boinc/; revision=19922
2009-12-16 12:50:40 +00:00
BOINC Translator e6295a9a44 Update Translations
svn path=/trunk/boinc/; revision=19920
2009-12-16 09:00:03 +00:00
David Anderson 22b6e9eb93 - boinccmd: compile fix
svn path=/trunk/boinc/; revision=19919
2009-12-16 04:55:43 +00:00
Charlie Fenton 75a27968d8 Fix typo
svn path=/trunk/boinc/; revision=19918
2009-12-16 00:22:40 +00:00
Charlie Fenton 746be528fd Mac SS: In Mac screensaver control panel say "overview screensaver" not "BOINC screensaver"
svn path=/trunk/boinc/; revision=19916
2009-12-16 00:17:36 +00:00
David Anderson 1b7f0aa88a - web: bb2html() previously generated HTML that assumed
the BOINC stylesheet (main.css) was included.
    This is no good if we're exporting the HTML.
    Add an option to generate generic HTML.
- web: add options to the forum RSS feed:
    1) threads_only: just show threads (i.e. 1st post in each thread)
    2) truncate: truncate posts to 256 chars.
        If this is not set, convert post from BBcode to generic HTML,
        and put this (XML-encoded) in item.description
This is preparation for using the forum code for project news,
and for displaying forum RSS feeds in the manager.


svn path=/trunk/boinc/; revision=19915
2009-12-15 17:57:36 +00:00
BOINC Translator 5e5f6a357c Update Translations
svn path=/trunk/boinc/; revision=19914
2009-12-15 13:00:06 +00:00
BOINC Translator 98c538e7ea Update Translations
svn path=/trunk/boinc/; revision=19909
2009-12-15 03:00:02 +00:00
BOINC Translator ea98512943 Update Translations
svn path=/trunk/boinc/; revision=19908
2009-12-15 02:00:02 +00:00
BOINC Translator ebb55e4f3f Update Translations
svn path=/trunk/boinc/; revision=19907
2009-12-15 01:00:02 +00:00
BOINC Translator 31c1f00167 Update Translations
svn path=/trunk/boinc/; revision=19906
2009-12-15 00:00:02 +00:00
BOINC Translator 42edd3d266 Update Translations
svn path=/trunk/boinc/; revision=19905
2009-12-14 23:00:01 +00:00
BOINC Translator ce782c426b Update Translations
svn path=/trunk/boinc/; revision=19902
2009-12-14 20:00:01 +00:00
David Anderson e3f77b53b4 - client: typo fix
svn path=/trunk/boinc/; revision=19901
2009-12-14 19:42:11 +00:00
David Anderson 92294d06e7 - client: fix bug in insufficient video RAM feature
- client: improve CPU sched debug msgs
	- client: fix "temporary exit" feature

svn path=/trunk/boinc/; revision=19900
2009-12-14 19:24:06 +00:00
David Anderson 34a489c9bb - client/manager: show coprocessor short-term debts
svn path=/trunk/boinc/; revision=19898
2009-12-14 18:39:07 +00:00
David Anderson ff39c80efb - client: ATI: call calShutdown() when done.
Otherwise Lenovo can't switch to low-power GPU

svn path=/trunk/boinc/; revision=19896
2009-12-14 17:15:55 +00:00
Charlie Fenton 40c13eb89e SS: Allow users to set screensaver durations from ss control panel
svn path=/trunk/boinc/; revision=19891
2009-12-14 13:45:08 +00:00
Charlie Fenton 317e240b46 SS: Allow users to set screensaver durations from ss control panel
svn path=/trunk/boinc/; revision=19890
2009-12-14 13:10:49 +00:00
Charlie Fenton 6540328164 Mac command-line install: add .txt extension to copyright files
svn path=/trunk/boinc/; revision=19884
2009-12-14 05:38:37 +00:00
Charlie Fenton 6c6889b5de Mac command-line install: add .txt extension to copyright files
svn path=/trunk/boinc/; revision=19883
2009-12-14 05:33:06 +00:00
Charlie Fenton 1410703182 API and client: Fix bugs in recent chack-ins.
svn path=/trunk/boinc/; revision=19882
2009-12-14 05:26:21 +00:00
David Anderson 04ea096e62 - wrapper: fix fraction-done bug
svn path=/trunk/boinc/; revision=19880
2009-12-13 18:06:04 +00:00
David Anderson a3f80676b7 - API and client: add an API function boinc_temporary_exit(dt).
This exits the app with status zero and no finish file,
    so the client will restart it.
    It creates a file "temporary_exit" containing dt.
    The (new) client reads this file and will postpone
    scheduling the job again for dt seconds.
    Old clients will treat it as a premature exit,
    and potentially try to reschedule the job immediately.

    This function is intended for GPU applications that
    fail to allocate GPU RAM,
    presumably because a non-GPU application has it allocated.
    We don't want the job to fail,
    and we want to wait for a while before trying the allocation again.

svn path=/trunk/boinc/; revision=19879
2009-12-13 05:16:40 +00:00
David Anderson 19a69b5725 - client: maintain mean STD at zero over all projects,
not just runnable ones


svn path=/trunk/boinc/; revision=19878
2009-12-13 00:02:56 +00:00
BOINC Translator 8ecd9fb00a Update Translations
svn path=/trunk/boinc/; revision=19873
2009-12-12 19:00:01 +00:00
BOINC Translator 835553374d Add language
svn path=/trunk/boinc/; revision=19871
2009-12-12 17:54:09 +00:00
David Anderson 2e793ee0b3 - manager: bug fixes
svn path=/trunk/boinc/; revision=19870
2009-12-12 07:11:50 +00:00
David Anderson c1a9f7e7a1 - stripchart: use /usr/bin/env perl in script headers
svn path=/trunk/boinc/; revision=19869
2009-12-12 05:19:31 +00:00
David Anderson a98a0f4652 - boinccmd: fix output of --get_disk_usage
svn path=/trunk/boinc/; revision=19868
2009-12-12 05:11:50 +00:00
David Anderson 1f78855ae1 - client: a couple of switch statements were missing breaks.
This would have caused work-fetch errors if
    using the no_cuda, no_cpu etc. prefs

svn path=/trunk/boinc/; revision=19867
2009-12-12 04:28:18 +00:00
David Anderson 640d3d780d - manager: add GPU always/auto/never menu items
svn path=/trunk/boinc/; revision=19866
2009-12-11 23:24:17 +00:00
David Anderson 8520644cf0 svn path=/trunk/boinc/; revision=19865 2009-12-11 22:56:46 +00:00
David Anderson a151ad6cb3 - client/scheduler: deal with situation where GPU has enough
RAM to run job, but when we actually run the job
    not enough GPU RAM is free, so the application fails.
    This can cause a large number of jobs to fail.
    Solution:
    - app_plan() can specify the GPU RAM requirements of an app version.
        This is passed to the client in a new field
        <gpu_ram> of the <app_version> element.
    - prior to starting or restarting a GPU app, the client
        checks the amount of free RAM on the particular GPU.
        If it's not enough for the app version,
        the client doesn't start it,
        and arranges for the scheduler to ignore it for 5 minutes
        (by which point there might be more free GPU RAM)
    Notes:
    1) this change will have effect only when
        both client and scheduler are updated.
    2) the check is done in enforce_schedule(),
        rather than schedule_cpus(),
        because only at that point
        have we assigned a specific GPU to the job.
    3) there's another case to deal with:
        a GPU app's malloc of GPU RAM fails in the middle of the job.
        Currently the job fails.
        I plan to add an API call boinc_temporary_exit(x) so
        that the job can exit and potentially restart in x seconds.
        (In principle this mechanism is sufficient for all cases,
        but it could lead to a lot of starting/exiting,
        so the current change is worthwhile).

svn path=/trunk/boinc/; revision=19864
2009-12-11 22:45:59 +00:00
BOINC Translator feb00b2fcd Update Translations
svn path=/trunk/boinc/; revision=19861
2009-12-11 20:00:02 +00:00
BOINC Translator 45379c0270 Update Translations
svn path=/trunk/boinc/; revision=19859
2009-12-11 19:00:03 +00:00
David Anderson fe1e2fbc5b - manager: fix bug in the above
svn path=/trunk/boinc/; revision=19855
2009-12-11 04:35:35 +00:00
David Anderson 2ff21d2a21 - client/manager: finish "snooze GPU" button
svn path=/trunk/boinc/; revision=19854
2009-12-11 00:08:28 +00:00
David Anderson 8182ccd031 - client/manager: first whack at a "snooze GPU" button
svn path=/trunk/boinc/; revision=19853
2009-12-10 23:26:35 +00:00
Rom Walton aae3e754b0 Quick Updates
svn path=/trunk/boinc/; revision=19852
2009-12-10 20:55:58 +00:00
David Anderson ea54aa7759 - client: STD for a device with N instances
can increase or decrease at N times real time.
    My checkin of 7 Dec reflects this by changing
    the STD limits to +- N*MAX_STD.
    This looks like a bug to users.
    Instead, scale that rate of STD change by 1/N,
    and keep the old limits of +- MAX_STD

svn path=/trunk/boinc/; revision=19851
2009-12-10 17:07:45 +00:00
Rom Walton b8a5211c12 Quick Updates
svn path=/trunk/boinc/; revision=19848
2009-12-09 21:31:33 +00:00
Rom Walton 5dd856f287 Quick Updates
svn path=/trunk/boinc/; revision=19847
2009-12-09 21:28:17 +00:00
David Anderson 54e7c50b48 fix GPU bug
svn path=/trunk/boinc/; revision=19837
2009-12-09 01:09:28 +00:00
David Anderson 392c578044 fix initialization bug that made GPUs invisible
svn path=/trunk/boinc/; revision=19831
2009-12-09 00:00:35 +00:00
David Anderson e9a4debf9c - client: scheduling tweak.
Old: if a project has RR sim deadline misses,
			select jobs to run high-priority on the basis of:
			1) deadline (earliest first)
			2) estimated time to completion (least first)
			This ignores whether jobs missed their deadline in RR sim,
			so it may choose to run a job that's actually in no
			danger of missing its deadline over one that is.
		New: choose only jobs that miss their deadline in RR sim

svn path=/trunk/boinc/; revision=19826
2009-12-08 20:39:46 +00:00