- user web: put RSS item titles in CDATA

- sched: get rid of unused config items
- manager: msg tweak

svn path=/trunk/boinc/; revision=22045
This commit is contained in:
David Anderson 2010-07-22 22:57:15 +00:00
parent e30a71b8e3
commit c0776ea188
6 changed files with 16 additions and 7 deletions

View File

@ -5498,3 +5498,16 @@ Rom 22 July 2010
clientgui/
NoticeListCtrl.cpp
Rom 22 July 2010
- user web: put RSS item titles in CDATA
- sched: get rid of unused config items
- manager: msg tweak
clientgui/
BOINCTaskBar.cpp
sched/
sched_config.cpp,h
sched_send.cpp
html/inc/
notify.inc

View File

@ -777,7 +777,7 @@ void CTaskBarIcon::UpdateNoticeStatus() {
QueueBalloon(
m_iconTaskBarNormal,
strTitle,
_("One or more notices are now available for viewing."),
_("There are new notices - click to view."),
BALLOONTYPE_INFO
);
#ifdef __WXMAC__

View File

@ -44,7 +44,7 @@ function show_notify_rss_item($notify) {
$news_date=gmdate('D, d M Y H:i:s',$notify->create_time) . ' GMT';
echo "<item>
<title>$title</title>
<title><![CDATA[$title]]></title>
<guid>".URL_BASE."_notify_$notify->id</guid>
<link>".htmlentities($url)."</link>
<description><![CDATA[$msg]]></description>

View File

@ -144,8 +144,6 @@ int SCHED_CONFIG::parse(FILE* f) {
if (xp.parse_bool(tag, "ended", ended)) continue;
if (xp.parse_int(tag, "shmem_work_items", shmem_work_items)) continue;
if (xp.parse_int(tag, "feeder_query_size", feeder_query_size)) continue;
if (xp.parse_int(tag, "granted_credit_ramp_up", granted_credit_ramp_up)) continue;
if (xp.parse_double(tag, "granted_credit_weight", granted_credit_weight)) continue;
if (xp.parse_str(tag, "httpd_user", httpd_user, sizeof(httpd_user))) continue;
if (xp.parse_bool(tag, "enable_assignment", enable_assignment)) continue;
if (xp.parse_bool(tag, "job_size_matching", job_size_matching)) continue;

View File

@ -78,8 +78,6 @@ struct SCHED_CONFIG {
int reliable_on_priority;
// results with a priority equal or greater than this value
// will be sent to reliable hosts
int granted_credit_ramp_up;
double granted_credit_weight;
bool distinct_beta_apps;
// allow users to select beta apps independently
bool ended;

View File

@ -780,7 +780,7 @@ static int insert_after(char* buffer, const char* after, const char* text) {
char* p;
char temp[BLOB_SIZE];
if (strlen(buffer) + strlen(text) > BLOB_SIZE-1) {
if (strlen(buffer) + strlen(text) >= BLOB_SIZE-1) {
log_messages.printf(MSG_CRITICAL,
"insert_after: overflow: %d %d\n",
(int)strlen(buffer),