aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt25
-rw-r--r--linden/indra/llcommon/llsdserialize.cpp2
-rw-r--r--linden/indra/llcommon/llsdserialize_xml.cpp13
-rw-r--r--linden/indra/llmessage/message_prehash.cpp1
-rw-r--r--linden/indra/llmessage/message_prehash.h1
-rw-r--r--linden/indra/newview/llfloatertopobjects.cpp2
6 files changed, 31 insertions, 13 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 028e4bb..3d8166f 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,8 +1,18 @@
1=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 12009-02-15 McCabe Maxsted <hakushakukun@gmail.com>
2=- 1.1.0 RC1 -= 2
3=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 3 * linden/indra/llcommon/llsdserialize.cpp:
4 Backported LLSD changes.
5 * linden/indra/llcommon/llsdserialize_xml.cpp:
6 Ditto.
7
8 * linden/indra/llmessage/message_prehash.cpp:
9 Added MonoScore to message_prehash.
10 * linden/indra/llmessage/message_prehash.h:
11 Ditto.
12 * linden/indra/newview/llfloatertopobjects.cpp:
13 Ditto.
14
4 15
5=======
62009-02-14 McCabe Maxsted <hakushakukun@gmail.com> 162009-02-14 McCabe Maxsted <hakushakukun@gmail.com>
7 17
8 * linden/indra/newview/app_settings/settings.xml: 18 * linden/indra/newview/app_settings/settings.xml:
@@ -61,6 +71,13 @@
61 * linden/indra/llmedia/llmediaimplgstreamer_syms_raw.inc: 71 * linden/indra/llmedia/llmediaimplgstreamer_syms_raw.inc:
62 Ditto. 72 Ditto.
63 73
742009-02-12 McCabe Maxsted <hakushakukun@gmail.com>
75
76 * linden/indra/newview/llfloatertopobjects.cpp:
77 Backported Top Objects changes from 1.22.
78 * linden/indra/newview/skins/default/xui/en-us/floater_top_objects.xml:
79 Ditto.
80
64 81
652009-02-04 McCabe Maxsted <hakushakukun@gmail.com> 822009-02-04 McCabe Maxsted <hakushakukun@gmail.com>
66 83
diff --git a/linden/indra/llcommon/llsdserialize.cpp b/linden/indra/llcommon/llsdserialize.cpp
index d42842d..f21ff68 100644
--- a/linden/indra/llcommon/llsdserialize.cpp
+++ b/linden/indra/llcommon/llsdserialize.cpp
@@ -324,7 +324,7 @@ S32 LLSDParser::parse(std::istream& istr, LLSD& data, S32 max_bytes)
324S32 LLSDParser::parseLines(std::istream& istr, LLSD& data) 324S32 LLSDParser::parseLines(std::istream& istr, LLSD& data)
325{ 325{
326 mCheckLimits = false; 326 mCheckLimits = false;
327 mParseLines = false; // was true, Emergency fix DEV-17785 parsing newline failure 327 mParseLines = true;
328 return doParse(istr, data); 328 return doParse(istr, data);
329} 329}
330 330
diff --git a/linden/indra/llcommon/llsdserialize_xml.cpp b/linden/indra/llcommon/llsdserialize_xml.cpp
index 690ab67..9c3f85e 100644
--- a/linden/indra/llcommon/llsdserialize_xml.cpp
+++ b/linden/indra/llcommon/llsdserialize_xml.cpp
@@ -461,11 +461,11 @@ S32 LLSDXMLParser::Impl::parseLines(std::istream& input, LLSD& data)
461 input.clear(); 461 input.clear();
462 } 462 }
463 463
464 // Don't parse the NULL at the end which might be added if \n was absorbed by getline() 464 // Re-insert with the \n that was absorbed by getline()
465 char * text = (char *) buffer; 465 char * text = (char *) buffer;
466 if ( text[num_read - 1] == 0) 466 if ( text[num_read - 1] == 0)
467 { 467 {
468 num_read--; 468 text[num_read - 1] = '\n';
469 } 469 }
470 } 470 }
471 471
@@ -808,12 +808,11 @@ void LLSDXMLParser::parsePart(const char *buf, int len)
808// virtual 808// virtual
809S32 LLSDXMLParser::doParse(std::istream& input, LLSD& data) const 809S32 LLSDXMLParser::doParse(std::istream& input, LLSD& data) const
810{ 810{
811// Remove code - emergency fix DEV-17785 parsing newline failure 811 if (mParseLines)
812// if (mParseLines) 812 {
813// {
814 // Use line-based reading (faster code) 813 // Use line-based reading (faster code)
815// return impl.parseLines(input, data); 814 return impl.parseLines(input, data);
816// } 815 }
817 816
818 return impl.parse(input, data); 817 return impl.parse(input, data);
819} 818}
diff --git a/linden/indra/llmessage/message_prehash.cpp b/linden/indra/llmessage/message_prehash.cpp
index 2ac1319..fd8953d 100644
--- a/linden/indra/llmessage/message_prehash.cpp
+++ b/linden/indra/llmessage/message_prehash.cpp
@@ -598,6 +598,7 @@ char* _PREHASH_FromAgentId = LLMessageStringTable::getInstance()->getString("Fro
598char* _PREHASH_Type = LLMessageStringTable::getInstance()->getString("Type"); 598char* _PREHASH_Type = LLMessageStringTable::getInstance()->getString("Type");
599char* _PREHASH_ChatType = LLMessageStringTable::getInstance()->getString("ChatType"); 599char* _PREHASH_ChatType = LLMessageStringTable::getInstance()->getString("ChatType");
600char* _PREHASH_ReportData = LLMessageStringTable::getInstance()->getString("ReportData"); 600char* _PREHASH_ReportData = LLMessageStringTable::getInstance()->getString("ReportData");
601char* _PREHASH_MonoScore = LLMessageStringTable::getInstance()->getString("MonoScore");
601char* _PREHASH_RequestBlock = LLMessageStringTable::getInstance()->getString("RequestBlock"); 602char* _PREHASH_RequestBlock = LLMessageStringTable::getInstance()->getString("RequestBlock");
602char* _PREHASH_GrantData = LLMessageStringTable::getInstance()->getString("GrantData"); 603char* _PREHASH_GrantData = LLMessageStringTable::getInstance()->getString("GrantData");
603char* _PREHASH_DetachAttachmentIntoInv = LLMessageStringTable::getInstance()->getString("DetachAttachmentIntoInv"); 604char* _PREHASH_DetachAttachmentIntoInv = LLMessageStringTable::getInstance()->getString("DetachAttachmentIntoInv");
diff --git a/linden/indra/llmessage/message_prehash.h b/linden/indra/llmessage/message_prehash.h
index 0ee02be..8b8c857 100644
--- a/linden/indra/llmessage/message_prehash.h
+++ b/linden/indra/llmessage/message_prehash.h
@@ -598,6 +598,7 @@ extern char * _PREHASH_FromAgentId;
598extern char * _PREHASH_Type; 598extern char * _PREHASH_Type;
599extern char * _PREHASH_ChatType; 599extern char * _PREHASH_ChatType;
600extern char * _PREHASH_ReportData; 600extern char * _PREHASH_ReportData;
601extern char * _PREHASH_MonoScore;
601extern char * _PREHASH_RequestBlock; 602extern char * _PREHASH_RequestBlock;
602extern char * _PREHASH_GrantData; 603extern char * _PREHASH_GrantData;
603extern char * _PREHASH_DetachAttachmentIntoInv; 604extern char * _PREHASH_DetachAttachmentIntoInv;
diff --git a/linden/indra/newview/llfloatertopobjects.cpp b/linden/indra/newview/llfloatertopobjects.cpp
index 0afa618..e4c90f0 100644
--- a/linden/indra/newview/llfloatertopobjects.cpp
+++ b/linden/indra/newview/llfloatertopobjects.cpp
@@ -184,7 +184,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
184 { 184 {
185 have_extended_data = true; 185 have_extended_data = true;
186 msg->getU32("DataExtended", "TimeStamp", time_stamp, block); 186 msg->getU32("DataExtended", "TimeStamp", time_stamp, block);
187 msg->getF32(_PREHASH_ReportData, "MonoScore", mono_score, block); 187 msg->getF32("DataExtended", "MonoScore", mono_score, block);
188 } 188 }
189 189
190 LLSD element; 190 LLSD element;