aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage')
-rw-r--r--linden/indra/llmessage/llassetstorage.cpp6
-rw-r--r--linden/indra/llmessage/llassetstorage.h3
-rw-r--r--linden/indra/llmessage/llblowfishcipher.cpp5
-rw-r--r--linden/indra/llmessage/llblowfishcipher.h5
-rw-r--r--linden/indra/llmessage/llbuffer.cpp3
-rw-r--r--linden/indra/llmessage/llbuffer.h3
-rw-r--r--linden/indra/llmessage/llbufferstream.cpp3
-rw-r--r--linden/indra/llmessage/llbufferstream.h3
-rw-r--r--linden/indra/llmessage/llcachename.cpp12
-rw-r--r--linden/indra/llmessage/llcachename.h6
-rw-r--r--linden/indra/llmessage/llcallbacklisth.h3
-rw-r--r--linden/indra/llmessage/llchainio.cpp3
-rw-r--r--linden/indra/llmessage/llchainio.h3
-rw-r--r--linden/indra/llmessage/llcipher.h3
-rw-r--r--linden/indra/llmessage/llcircuit.cpp3
-rw-r--r--linden/indra/llmessage/llcircuit.h3
-rw-r--r--linden/indra/llmessage/llclassifiedflags.cpp3
-rw-r--r--linden/indra/llmessage/llclassifiedflags.h3
-rw-r--r--linden/indra/llmessage/llcurl.cpp3
-rw-r--r--linden/indra/llmessage/llcurl.h3
-rw-r--r--linden/indra/llmessage/lldatapacker.cpp5
-rw-r--r--linden/indra/llmessage/lldatapacker.h8
-rw-r--r--linden/indra/llmessage/lldbstrings.h3
-rw-r--r--linden/indra/llmessage/lldispatcher.cpp3
-rw-r--r--linden/indra/llmessage/lldispatcher.h3
-rw-r--r--linden/indra/llmessage/lleventflags.h3
-rw-r--r--linden/indra/llmessage/llfiltersd2xmlrpc.cpp3
-rw-r--r--linden/indra/llmessage/llfiltersd2xmlrpc.h3
-rw-r--r--linden/indra/llmessage/llfollowcamparams.h3
-rw-r--r--linden/indra/llmessage/llhost.cpp3
-rw-r--r--linden/indra/llmessage/llhost.h3
-rw-r--r--linden/indra/llmessage/llhttpassetstorage.cpp42
-rw-r--r--linden/indra/llmessage/llhttpassetstorage.h3
-rw-r--r--linden/indra/llmessage/llhttpclient.cpp7
-rw-r--r--linden/indra/llmessage/llhttpclient.h11
-rw-r--r--linden/indra/llmessage/llhttpnode.cpp3
-rw-r--r--linden/indra/llmessage/llhttpnode.h3
-rw-r--r--linden/indra/llmessage/llhttpsender.cpp5
-rw-r--r--linden/indra/llmessage/llhttpsender.h5
-rw-r--r--linden/indra/llmessage/llinstantmessage.cpp3
-rw-r--r--linden/indra/llmessage/llinstantmessage.h3
-rw-r--r--linden/indra/llmessage/llinvite.h3
-rw-r--r--linden/indra/llmessage/lliobuffer.cpp3
-rw-r--r--linden/indra/llmessage/lliobuffer.h3
-rw-r--r--linden/indra/llmessage/lliohttpserver.cpp3
-rw-r--r--linden/indra/llmessage/lliohttpserver.h3
-rw-r--r--linden/indra/llmessage/lliopipe.cpp3
-rw-r--r--linden/indra/llmessage/lliopipe.h3
-rw-r--r--linden/indra/llmessage/lliosocket.cpp3
-rw-r--r--linden/indra/llmessage/lliosocket.h3
-rw-r--r--linden/indra/llmessage/llioutil.cpp3
-rw-r--r--linden/indra/llmessage/llioutil.h3
-rw-r--r--linden/indra/llmessage/llloginflags.h3
-rw-r--r--linden/indra/llmessage/lllogtextmessage.cpp3
-rw-r--r--linden/indra/llmessage/lllogtextmessage.h3
-rw-r--r--linden/indra/llmessage/llmail.cpp3
-rw-r--r--linden/indra/llmessage/llmail.h3
-rw-r--r--linden/indra/llmessage/llmessagebuilder.cpp3
-rw-r--r--linden/indra/llmessage/llmessagebuilder.h5
-rw-r--r--linden/indra/llmessage/llmessageconfig.cpp12
-rw-r--r--linden/indra/llmessage/llmessageconfig.h3
-rw-r--r--linden/indra/llmessage/llmessagereader.cpp5
-rw-r--r--linden/indra/llmessage/llmessagereader.h5
-rw-r--r--linden/indra/llmessage/llmessagetemplate.cpp5
-rw-r--r--linden/indra/llmessage/llmessagetemplate.h5
-rw-r--r--linden/indra/llmessage/llmessagetemplateparser.cpp5
-rw-r--r--linden/indra/llmessage/llmessagetemplateparser.h3
-rw-r--r--linden/indra/llmessage/llmessagethrottle.cpp3
-rw-r--r--linden/indra/llmessage/llmessagethrottle.h3
-rw-r--r--linden/indra/llmessage/llmime.cpp3
-rw-r--r--linden/indra/llmessage/llmime.h3
-rw-r--r--linden/indra/llmessage/llmsgvariabletype.h5
-rw-r--r--linden/indra/llmessage/llnamevalue.cpp3
-rw-r--r--linden/indra/llmessage/llnamevalue.h7
-rw-r--r--linden/indra/llmessage/llnullcipher.cpp3
-rw-r--r--linden/indra/llmessage/llnullcipher.h3
-rw-r--r--linden/indra/llmessage/llpacketack.cpp5
-rw-r--r--linden/indra/llmessage/llpacketack.h3
-rw-r--r--linden/indra/llmessage/llpacketbuffer.cpp3
-rw-r--r--linden/indra/llmessage/llpacketbuffer.h3
-rw-r--r--linden/indra/llmessage/llpacketring.cpp3
-rw-r--r--linden/indra/llmessage/llpacketring.h3
-rw-r--r--linden/indra/llmessage/llpartdata.cpp3
-rw-r--r--linden/indra/llmessage/llpartdata.h5
-rw-r--r--linden/indra/llmessage/llpumpio.cpp8
-rw-r--r--linden/indra/llmessage/llpumpio.h3
-rw-r--r--linden/indra/llmessage/llqueryflags.h3
-rw-r--r--linden/indra/llmessage/llregionflags.h6
-rw-r--r--linden/indra/llmessage/llregionhandle.h5
-rw-r--r--linden/indra/llmessage/llsdappservices.cpp3
-rw-r--r--linden/indra/llmessage/llsdappservices.h3
-rw-r--r--linden/indra/llmessage/llsdhttpserver.cpp3
-rw-r--r--linden/indra/llmessage/llsdhttpserver.h3
-rwxr-xr-xlinden/indra/llmessage/llsdmessagebuilder.cpp5
-rwxr-xr-xlinden/indra/llmessage/llsdmessagebuilder.h5
-rwxr-xr-xlinden/indra/llmessage/llsdmessagereader.cpp5
-rwxr-xr-xlinden/indra/llmessage/llsdmessagereader.h31
-rw-r--r--linden/indra/llmessage/llsdrpcclient.cpp3
-rw-r--r--linden/indra/llmessage/llsdrpcclient.h3
-rw-r--r--linden/indra/llmessage/llsdrpcserver.cpp3
-rw-r--r--linden/indra/llmessage/llsdrpcserver.h3
-rw-r--r--linden/indra/llmessage/llservice.cpp3
-rw-r--r--linden/indra/llmessage/llservice.h3
-rw-r--r--linden/indra/llmessage/llservicebuilder.cpp62
-rw-r--r--linden/indra/llmessage/llservicebuilder.h45
-rw-r--r--linden/indra/llmessage/lltaskname.h3
-rw-r--r--linden/indra/llmessage/llteleportflags.h3
-rw-r--r--linden/indra/llmessage/lltemplatemessagebuilder.cpp5
-rw-r--r--linden/indra/llmessage/lltemplatemessagebuilder.h5
-rw-r--r--linden/indra/llmessage/lltemplatemessagereader.cpp5
-rw-r--r--linden/indra/llmessage/lltemplatemessagereader.h5
-rw-r--r--linden/indra/llmessage/llthrottle.cpp3
-rw-r--r--linden/indra/llmessage/llthrottle.h3
-rw-r--r--linden/indra/llmessage/lltransfermanager.cpp3
-rw-r--r--linden/indra/llmessage/lltransfermanager.h3
-rw-r--r--linden/indra/llmessage/lltransfersourceasset.cpp3
-rw-r--r--linden/indra/llmessage/lltransfersourceasset.h3
-rw-r--r--linden/indra/llmessage/lltransfersourcefile.cpp3
-rw-r--r--linden/indra/llmessage/lltransfersourcefile.h5
-rw-r--r--linden/indra/llmessage/lltransfertargetfile.cpp3
-rw-r--r--linden/indra/llmessage/lltransfertargetfile.h7
-rw-r--r--linden/indra/llmessage/lltransfertargetvfile.cpp3
-rw-r--r--linden/indra/llmessage/lltransfertargetvfile.h3
-rw-r--r--linden/indra/llmessage/llurlrequest.cpp3
-rw-r--r--linden/indra/llmessage/llurlrequest.h3
-rw-r--r--linden/indra/llmessage/lluseroperation.cpp3
-rw-r--r--linden/indra/llmessage/lluseroperation.h3
-rw-r--r--linden/indra/llmessage/llvehicleparams.h3
-rw-r--r--linden/indra/llmessage/llxfer.cpp3
-rw-r--r--linden/indra/llmessage/llxfer.h3
-rw-r--r--linden/indra/llmessage/llxfer_file.cpp3
-rw-r--r--linden/indra/llmessage/llxfer_file.h5
-rw-r--r--linden/indra/llmessage/llxfer_mem.cpp3
-rw-r--r--linden/indra/llmessage/llxfer_mem.h5
-rw-r--r--linden/indra/llmessage/llxfer_vfile.cpp3
-rw-r--r--linden/indra/llmessage/llxfer_vfile.h5
-rw-r--r--linden/indra/llmessage/llxfermanager.cpp3
-rw-r--r--linden/indra/llmessage/llxfermanager.h3
-rw-r--r--linden/indra/llmessage/llxorcipher.cpp3
-rw-r--r--linden/indra/llmessage/llxorcipher.h3
-rw-r--r--linden/indra/llmessage/machine.h3
-rw-r--r--linden/indra/llmessage/mean_collision_data.h5
-rw-r--r--linden/indra/llmessage/message.cpp27
-rw-r--r--linden/indra/llmessage/message.h5
-rw-r--r--linden/indra/llmessage/message_prehash.cpp3
-rw-r--r--linden/indra/llmessage/message_prehash.h3
-rw-r--r--linden/indra/llmessage/message_string_table.cpp3
-rw-r--r--linden/indra/llmessage/net.cpp4
-rw-r--r--linden/indra/llmessage/net.h3
-rw-r--r--linden/indra/llmessage/network.cpp3
-rw-r--r--linden/indra/llmessage/network.h3
-rw-r--r--linden/indra/llmessage/partsyspacket.cpp3
-rw-r--r--linden/indra/llmessage/partsyspacket.h3
-rw-r--r--linden/indra/llmessage/patch_code.cpp3
-rw-r--r--linden/indra/llmessage/patch_code.h3
-rw-r--r--linden/indra/llmessage/patch_dct.cpp3
-rw-r--r--linden/indra/llmessage/patch_dct.h3
-rw-r--r--linden/indra/llmessage/patch_idct.cpp3
-rw-r--r--linden/indra/llmessage/sound_ids.h3
159 files changed, 636 insertions, 147 deletions
diff --git a/linden/indra/llmessage/llassetstorage.cpp b/linden/indra/llmessage/llassetstorage.cpp
index b1d7fef..d5e0445 100644
--- a/linden/indra/llmessage/llassetstorage.cpp
+++ b/linden/indra/llmessage/llassetstorage.cpp
@@ -2,6 +2,8 @@
2 * @file llassetstorage.cpp 2 * @file llassetstorage.cpp
3 * @brief Implementation of the base asset storage system. 3 * @brief Implementation of the base asset storage system.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,16 +26,14 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
30 33
31// system library includes 34// system library includes
32#include <stdlib.h>
33#include <stdio.h>
34#include <sys/types.h> 35#include <sys/types.h>
35#include <sys/stat.h> 36#include <sys/stat.h>
36#include <algorithm>
37 37
38#include "llassetstorage.h" 38#include "llassetstorage.h"
39 39
diff --git a/linden/indra/llmessage/llassetstorage.h b/linden/indra/llmessage/llassetstorage.h
index 630268d..e2ccf2c 100644
--- a/linden/indra/llmessage/llassetstorage.h
+++ b/linden/indra/llmessage/llassetstorage.h
@@ -3,6 +3,8 @@
3 * @brief definition of LLAssetStorage class which allows simple 3 * @brief definition of LLAssetStorage class which allows simple
4 * up/downloads of uuid,type asets 4 * up/downloads of uuid,type asets
5 * 5 *
6 * $LicenseInfo:firstyear=2001&license=viewergpl$
7 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 8 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLASSETSTORAGE_H 33#ifndef LL_LLASSETSTORAGE_H
diff --git a/linden/indra/llmessage/llblowfishcipher.cpp b/linden/indra/llmessage/llblowfishcipher.cpp
index 62464de..7c9194d 100644
--- a/linden/indra/llmessage/llblowfishcipher.cpp
+++ b/linden/indra/llmessage/llblowfishcipher.cpp
@@ -5,7 +5,9 @@
5 * We do not have OpenSSL headers or libraries on Windows, so this 5 * We do not have OpenSSL headers or libraries on Windows, so this
6 * class only works on Linux. 6 * class only works on Linux.
7 * 7 *
8 * Copyright (c) 2007-2007, Linden Research, Inc. 8 * $LicenseInfo:firstyear=2007&license=viewergpl$
9 *
10 * Copyright (c) 2007, Linden Research, Inc.
9 * 11 *
10 * Second Life Viewer Source Code 12 * Second Life Viewer Source Code
11 * The source code in this file ("Source Code") is provided by Linden Lab 13 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -27,6 +29,7 @@
27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 29 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 30 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
29 * COMPLETENESS OR PERFORMANCE. 31 * COMPLETENESS OR PERFORMANCE.
32 * $/LicenseInfo$
30 */ 33 */
31 34
32#include "linden_common.h" 35#include "linden_common.h"
diff --git a/linden/indra/llmessage/llblowfishcipher.h b/linden/indra/llmessage/llblowfishcipher.h
index 0ba1473..f477184 100644
--- a/linden/indra/llmessage/llblowfishcipher.h
+++ b/linden/indra/llmessage/llblowfishcipher.h
@@ -5,7 +5,9 @@
5 * two UUIDs and a timestamp (16x2 + 4 = 36 bytes) with only 40 bytes of 5 * two UUIDs and a timestamp (16x2 + 4 = 36 bytes) with only 40 bytes of
6 * output. AES has a block size of 32 bytes, so this would require 64 bytes. 6 * output. AES has a block size of 32 bytes, so this would require 64 bytes.
7 * 7 *
8 * Copyright (c) 2007-2007, Linden Research, Inc. 8 * $LicenseInfo:firstyear=2007&license=viewergpl$
9 *
10 * Copyright (c) 2007, Linden Research, Inc.
9 * 11 *
10 * Second Life Viewer Source Code 12 * Second Life Viewer Source Code
11 * The source code in this file ("Source Code") is provided by Linden Lab 13 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -27,6 +29,7 @@
27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 29 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 30 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
29 * COMPLETENESS OR PERFORMANCE. 31 * COMPLETENESS OR PERFORMANCE.
32 * $/LicenseInfo$
30 */ 33 */
31 34
32#ifndef LLBLOWFISHCIPHER_H 35#ifndef LLBLOWFISHCIPHER_H
diff --git a/linden/indra/llmessage/llbuffer.cpp b/linden/indra/llmessage/llbuffer.cpp
index ad822bc..c3433e9 100644
--- a/linden/indra/llmessage/llbuffer.cpp
+++ b/linden/indra/llmessage/llbuffer.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-09-20 4 * @date 2005-09-20
5 * @brief Implementation of the segments, buffers, and buffer arrays. 5 * @brief Implementation of the segments, buffers, and buffer arrays.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llbuffer.h b/linden/indra/llmessage/llbuffer.h
index 63f7bea..b251af8 100644
--- a/linden/indra/llmessage/llbuffer.h
+++ b/linden/indra/llmessage/llbuffer.h
@@ -4,6 +4,8 @@
4 * @date 2005-09-20 4 * @date 2005-09-20
5 * @brief Declaration of buffer and buffer arrays primarily used in I/O. 5 * @brief Declaration of buffer and buffer arrays primarily used in I/O.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLBUFFER_H 34#ifndef LL_LLBUFFER_H
diff --git a/linden/indra/llmessage/llbufferstream.cpp b/linden/indra/llmessage/llbufferstream.cpp
index 4a4d892..72310a5 100644
--- a/linden/indra/llmessage/llbufferstream.cpp
+++ b/linden/indra/llmessage/llbufferstream.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-10-10 4 * @date 2005-10-10
5 * @brief Implementation of the buffer iostream classes 5 * @brief Implementation of the buffer iostream classes
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llbufferstream.h b/linden/indra/llmessage/llbufferstream.h
index 5447a80..78b7f3c 100644
--- a/linden/indra/llmessage/llbufferstream.h
+++ b/linden/indra/llmessage/llbufferstream.h
@@ -4,6 +4,8 @@
4 * @date 2005-10-10 4 * @date 2005-10-10
5 * @brief Classes to treat an LLBufferArray as a c++ iostream. 5 * @brief Classes to treat an LLBufferArray as a c++ iostream.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLBUFFERSTREAM_H 34#ifndef LL_LLBUFFERSTREAM_H
diff --git a/linden/indra/llmessage/llcachename.cpp b/linden/indra/llmessage/llcachename.cpp
index d960429..f731c95 100644
--- a/linden/indra/llmessage/llcachename.cpp
+++ b/linden/indra/llmessage/llcachename.cpp
@@ -2,6 +2,8 @@
2 * @file llcachename.cpp 2 * @file llcachename.cpp
3 * @brief A hierarchical cache of first and last names queried based on UUID. 3 * @brief A hierarchical cache of first and last names queried based on UUID.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -23,20 +25,14 @@
23 * 25 *
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
30 33
31#include "llcachename.h" 34#include "llcachename.h"
32 35
33// system includes
34#include <string.h> // strcpy
35#include <time.h>
36#include <algorithm>
37#include <functional>
38#include <map>
39
40// linden library includes 36// linden library includes
41#include "message.h" 37#include "message.h"
42#include "llrand.h" 38#include "llrand.h"
diff --git a/linden/indra/llmessage/llcachename.h b/linden/indra/llmessage/llcachename.h
index d1a5cfe..ab62829 100644
--- a/linden/indra/llmessage/llcachename.h
+++ b/linden/indra/llmessage/llcachename.h
@@ -2,6 +2,8 @@
2 * @file llcachename.h 2 * @file llcachename.h
3 * @brief A cache of names from UUIDs. 3 * @brief A cache of names from UUIDs.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,14 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLCACHENAME_H 32#ifndef LL_LLCACHENAME_H
30#define LL_LLCACHENAME_H 33#define LL_LLCACHENAME_H
31 34
32// Forward declarations
33#include <stdio.h>
34
35class LLMessageSystem; 35class LLMessageSystem;
36class LLHost; 36class LLHost;
37class LLUUID; 37class LLUUID;
diff --git a/linden/indra/llmessage/llcallbacklisth.h b/linden/indra/llmessage/llcallbacklisth.h
index 74dbcc8..eee3977 100644
--- a/linden/indra/llmessage/llcallbacklisth.h
+++ b/linden/indra/llmessage/llcallbacklisth.h
@@ -3,6 +3,8 @@
3 * @brief Like LLCallbackList but uses handles instead of pointers for 3 * @brief Like LLCallbackList but uses handles instead of pointers for
4 * user data 4 * user data
5 * 5 *
6 * $LicenseInfo:firstyear=2002&license=viewergpl$
7 *
6 * Copyright (c) 2002-2007, Linden Research, Inc. 8 * Copyright (c) 2002-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLCALLBACKLISTH_H 33#ifndef LL_LLCALLBACKLISTH_H
diff --git a/linden/indra/llmessage/llchainio.cpp b/linden/indra/llmessage/llchainio.cpp
index 47352d1..226ee10 100644
--- a/linden/indra/llmessage/llchainio.cpp
+++ b/linden/indra/llmessage/llchainio.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-08-04 4 * @date 2005-08-04
5 * @brief Implementaiton of the chain factory. 5 * @brief Implementaiton of the chain factory.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llchainio.h b/linden/indra/llmessage/llchainio.h
index ef2747a..3e32956 100644
--- a/linden/indra/llmessage/llchainio.h
+++ b/linden/indra/llmessage/llchainio.h
@@ -4,6 +4,8 @@
4 * @date 2005-08-04 4 * @date 2005-08-04
5 * @brief This class declares the interface for constructing io chains. 5 * @brief This class declares the interface for constructing io chains.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLCHAINIO_H 34#ifndef LL_LLCHAINIO_H
diff --git a/linden/indra/llmessage/llcipher.h b/linden/indra/llmessage/llcipher.h
index 1860277..669c8aa 100644
--- a/linden/indra/llmessage/llcipher.h
+++ b/linden/indra/llmessage/llcipher.h
@@ -2,6 +2,8 @@
2 * @file llcipher.h 2 * @file llcipher.h
3 * @brief Abstract base class for encryption ciphers. 3 * @brief Abstract base class for encryption ciphers.
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LLCIPHER_H 32#ifndef LLCIPHER_H
diff --git a/linden/indra/llmessage/llcircuit.cpp b/linden/indra/llmessage/llcircuit.cpp
index 3c947d9..1d1be56 100644
--- a/linden/indra/llmessage/llcircuit.cpp
+++ b/linden/indra/llmessage/llcircuit.cpp
@@ -2,6 +2,8 @@
2 * @file llcircuit.cpp 2 * @file llcircuit.cpp
3 * @brief Class to track UDP endpoints for the message system. 3 * @brief Class to track UDP endpoints for the message system.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llcircuit.h b/linden/indra/llmessage/llcircuit.h
index 33c0e10..128b1bc 100644
--- a/linden/indra/llmessage/llcircuit.h
+++ b/linden/indra/llmessage/llcircuit.h
@@ -3,6 +3,8 @@
3 * @brief Provides a method for tracking network circuit information 3 * @brief Provides a method for tracking network circuit information
4 * for the UDP message system 4 * for the UDP message system
5 * 5 *
6 * $LicenseInfo:firstyear=2001&license=viewergpl$
7 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 8 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLCIRCUIT_H 33#ifndef LL_LLCIRCUIT_H
diff --git a/linden/indra/llmessage/llclassifiedflags.cpp b/linden/indra/llmessage/llclassifiedflags.cpp
index ed595b1..b34ebfe 100644
--- a/linden/indra/llmessage/llclassifiedflags.cpp
+++ b/linden/indra/llmessage/llclassifiedflags.cpp
@@ -2,6 +2,8 @@
2 * @file llclassifiedflags.cpp 2 * @file llclassifiedflags.cpp
3 * @brief 3 * @brief
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29//***************************************************************************** 32//*****************************************************************************
diff --git a/linden/indra/llmessage/llclassifiedflags.h b/linden/indra/llmessage/llclassifiedflags.h
index a2a93d8..bcd03d9 100644
--- a/linden/indra/llmessage/llclassifiedflags.h
+++ b/linden/indra/llmessage/llclassifiedflags.h
@@ -2,6 +2,8 @@
2 * @file llclassifiedflags.h 2 * @file llclassifiedflags.h
3 * @brief Flags used in the classifieds. 3 * @brief Flags used in the classifieds.
4 * 4 *
5 * $LicenseInfo:firstyear=2005&license=viewergpl$
6 *
5 * Copyright (c) 2005-2007, Linden Research, Inc. 7 * Copyright (c) 2005-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLCLASSIFIEDFLAGS_H 32#ifndef LL_LLCLASSIFIEDFLAGS_H
diff --git a/linden/indra/llmessage/llcurl.cpp b/linden/indra/llmessage/llcurl.cpp
index b94a41e..01976b1 100644
--- a/linden/indra/llmessage/llcurl.cpp
+++ b/linden/indra/llmessage/llcurl.cpp
@@ -4,6 +4,8 @@
4 * @date 2006-10-15 4 * @date 2006-10-15
5 * @brief Curl wrapper 5 * @brief Curl wrapper
6 * 6 *
7 * $LicenseInfo:firstyear=2006&license=viewergpl$
8 *
7 * Copyright (c) 2006-2007, Linden Research, Inc. 9 * Copyright (c) 2006-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llcurl.h b/linden/indra/llmessage/llcurl.h
index 2d7d5d8..d21cdc4 100644
--- a/linden/indra/llmessage/llcurl.h
+++ b/linden/indra/llmessage/llcurl.h
@@ -4,6 +4,8 @@
4 * @date 2006-10-15 4 * @date 2006-10-15
5 * @brief Curl wrapper 5 * @brief Curl wrapper
6 * 6 *
7 * $LicenseInfo:firstyear=2006&license=viewergpl$
8 *
7 * Copyright (c) 2006-2007, Linden Research, Inc. 9 * Copyright (c) 2006-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLCURL_H 34#ifndef LL_LLCURL_H
diff --git a/linden/indra/llmessage/lldatapacker.cpp b/linden/indra/llmessage/lldatapacker.cpp
index 8725870..2ebd1b7 100644
--- a/linden/indra/llmessage/lldatapacker.cpp
+++ b/linden/indra/llmessage/lldatapacker.cpp
@@ -2,6 +2,8 @@
2 * @file lldatapacker.cpp 2 * @file lldatapacker.cpp
3 * @brief Data packer implementation. 3 * @brief Data packer implementation.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,10 +26,9 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include <string.h>
30
31#include "linden_common.h" 32#include "linden_common.h"
32 33
33#include "lldatapacker.h" 34#include "lldatapacker.h"
diff --git a/linden/indra/llmessage/lldatapacker.h b/linden/indra/llmessage/lldatapacker.h
index 700f8fb..ff33d4e 100644
--- a/linden/indra/llmessage/lldatapacker.h
+++ b/linden/indra/llmessage/lldatapacker.h
@@ -2,6 +2,8 @@
2 * @file lldatapacker.h 2 * @file lldatapacker.h
3 * @brief Data packer declaration for tightly storing binary data. 3 * @brief Data packer declaration for tightly storing binary data.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,16 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLDATAPACKER_H 32#ifndef LL_LLDATAPACKER_H
30#define LL_LLDATAPACKER_H 33#define LL_LLDATAPACKER_H
31 34
32#include <stdio.h>
33#include <iostream>
34
35#include "llerror.h"
36
37class LLColor4; 35class LLColor4;
38class LLColor4U; 36class LLColor4U;
39class LLVector2; 37class LLVector2;
diff --git a/linden/indra/llmessage/lldbstrings.h b/linden/indra/llmessage/lldbstrings.h
index dd249b1..f36f4c4 100644
--- a/linden/indra/llmessage/lldbstrings.h
+++ b/linden/indra/llmessage/lldbstrings.h
@@ -2,6 +2,8 @@
2 * @file lldbstrings.h 2 * @file lldbstrings.h
3 * @brief Database String Lengths. 3 * @brief Database String Lengths.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLDBSTRINGS_H 32#ifndef LL_LLDBSTRINGS_H
diff --git a/linden/indra/llmessage/lldispatcher.cpp b/linden/indra/llmessage/lldispatcher.cpp
index 2e775f9..d0e1e68 100644
--- a/linden/indra/llmessage/lldispatcher.cpp
+++ b/linden/indra/llmessage/lldispatcher.cpp
@@ -2,6 +2,8 @@
2 * @file lldispatcher.cpp 2 * @file lldispatcher.cpp
3 * @brief Implementation of the dispatcher object. 3 * @brief Implementation of the dispatcher object.
4 * 4 *
5 * $LicenseInfo:firstyear=2004&license=viewergpl$
6 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lldispatcher.h b/linden/indra/llmessage/lldispatcher.h
index 374ee0d..452be7c 100644
--- a/linden/indra/llmessage/lldispatcher.h
+++ b/linden/indra/llmessage/lldispatcher.h
@@ -2,6 +2,8 @@
2 * @file lldispatcher.h 2 * @file lldispatcher.h
3 * @brief LLDispatcher class header file. 3 * @brief LLDispatcher class header file.
4 * 4 *
5 * $LicenseInfo:firstyear=2004&license=viewergpl$
6 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLDISPATCHER_H 32#ifndef LL_LLDISPATCHER_H
diff --git a/linden/indra/llmessage/lleventflags.h b/linden/indra/llmessage/lleventflags.h
index f6b89e3..9a5b889 100644
--- a/linden/indra/llmessage/lleventflags.h
+++ b/linden/indra/llmessage/lleventflags.h
@@ -2,6 +2,8 @@
2 * @file lleventflags.h 2 * @file lleventflags.h
3 * @brief Flags for events. 3 * @brief Flags for events.
4 * 4 *
5 * $LicenseInfo:firstyear=2004&license=viewergpl$
6 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLEVENTFLAGS_H 32#ifndef LL_LLEVENTFLAGS_H
diff --git a/linden/indra/llmessage/llfiltersd2xmlrpc.cpp b/linden/indra/llmessage/llfiltersd2xmlrpc.cpp
index 34a4621..eac7dc1 100644
--- a/linden/indra/llmessage/llfiltersd2xmlrpc.cpp
+++ b/linden/indra/llmessage/llfiltersd2xmlrpc.cpp
@@ -3,6 +3,8 @@
3 * @author Phoenix 3 * @author Phoenix
4 * @date 2005-04-26 4 * @date 2005-04-26
5 * 5 *
6 * $LicenseInfo:firstyear=2005&license=viewergpl$
7 *
6 * Copyright (c) 2005-2007, Linden Research, Inc. 8 * Copyright (c) 2005-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30/** 33/**
diff --git a/linden/indra/llmessage/llfiltersd2xmlrpc.h b/linden/indra/llmessage/llfiltersd2xmlrpc.h
index 8b2f066..c82a518 100644
--- a/linden/indra/llmessage/llfiltersd2xmlrpc.h
+++ b/linden/indra/llmessage/llfiltersd2xmlrpc.h
@@ -3,6 +3,8 @@
3 * @author Phoenix 3 * @author Phoenix
4 * @date 2005-04-26 4 * @date 2005-04-26
5 * 5 *
6 * $LicenseInfo:firstyear=2005&license=viewergpl$
7 *
6 * Copyright (c) 2005-2007, Linden Research, Inc. 8 * Copyright (c) 2005-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLFILTERSD2XMLRPC_H 33#ifndef LL_LLFILTERSD2XMLRPC_H
diff --git a/linden/indra/llmessage/llfollowcamparams.h b/linden/indra/llmessage/llfollowcamparams.h
index 0979474..0affcf9 100644
--- a/linden/indra/llmessage/llfollowcamparams.h
+++ b/linden/indra/llmessage/llfollowcamparams.h
@@ -2,6 +2,8 @@
2 * @file llfollowcamparams.h 2 * @file llfollowcamparams.h
3 * @brief Follow camera parameters. 3 * @brief Follow camera parameters.
4 * 4 *
5 * $LicenseInfo:firstyear=2005&license=viewergpl$
6 *
5 * Copyright (c) 2005-2007, Linden Research, Inc. 7 * Copyright (c) 2005-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_FOLLOWCAM_PARAMS_H 32#ifndef LL_FOLLOWCAM_PARAMS_H
diff --git a/linden/indra/llmessage/llhost.cpp b/linden/indra/llmessage/llhost.cpp
index d57d52d..b73becf 100644
--- a/linden/indra/llmessage/llhost.cpp
+++ b/linden/indra/llmessage/llhost.cpp
@@ -2,6 +2,8 @@
2 * @file llhost.cpp 2 * @file llhost.cpp
3 * @brief Encapsulates an IP address and a port. 3 * @brief Encapsulates an IP address and a port.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llhost.h b/linden/indra/llmessage/llhost.h
index 1d37639..e6f811a 100644
--- a/linden/indra/llmessage/llhost.h
+++ b/linden/indra/llmessage/llhost.h
@@ -3,6 +3,8 @@
3 * @brief a LLHost uniquely defines a host (Simulator, Proxy or other) 3 * @brief a LLHost uniquely defines a host (Simulator, Proxy or other)
4 * across the network 4 * across the network
5 * 5 *
6 * $LicenseInfo:firstyear=2000&license=viewergpl$
7 *
6 * Copyright (c) 2000-2007, Linden Research, Inc. 8 * Copyright (c) 2000-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLHOST_H 33#ifndef LL_LLHOST_H
diff --git a/linden/indra/llmessage/llhttpassetstorage.cpp b/linden/indra/llmessage/llhttpassetstorage.cpp
index 924d903..c5b897b 100644
--- a/linden/indra/llmessage/llhttpassetstorage.cpp
+++ b/linden/indra/llmessage/llhttpassetstorage.cpp
@@ -3,6 +3,8 @@
3 * @brief Subclass capable of loading asset data to/from an external 3 * @brief Subclass capable of loading asset data to/from an external
4 * source. Currently, a web server accessed via curl 4 * source. Currently, a web server accessed via curl
5 * 5 *
6 * $LicenseInfo:firstyear=2003&license=viewergpl$
7 *
6 * Copyright (c) 2003-2007, Linden Research, Inc. 8 * Copyright (c) 2003-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "linden_common.h" 33#include "linden_common.h"
@@ -336,15 +339,17 @@ size_t LLHTTPAssetRequest::readCompressedData(void* data, size_t size)
336 339
337 while (mZStream.avail_out > 0) 340 while (mZStream.avail_out > 0)
338 { 341 {
339 if (mZStream.avail_in == 0 && !mZInputExhausted) 342 if (mZStream.avail_in == 0 && !mZInputExhausted)
340 { 343 {
341 S32 to_read = llmin(COMPRESSED_INPUT_BUFFER_SIZE, 344 S32 to_read = llmin(COMPRESSED_INPUT_BUFFER_SIZE,
342 (S32)(mVFile->getSize() - mVFile->tell())); 345 (S32)(mVFile->getSize() - mVFile->tell()));
343 346
344 mVFile->read((U8*)mZInputBuffer, to_read); /*Flawfinder: ignore*/ 347 if ( to_read > 0 )
345 348 {
346 mZStream.next_in = (Bytef*)mZInputBuffer; 349 mVFile->read((U8*)mZInputBuffer, to_read); /*Flawfinder: ignore*/
347 mZStream.avail_in = mVFile->getLastBytesRead(); 350 mZStream.next_in = (Bytef*)mZInputBuffer;
351 mZStream.avail_in = mVFile->getLastBytesRead();
352 }
348 353
349 mZInputExhausted = mZStream.avail_in == 0; 354 mZInputExhausted = mZStream.avail_in == 0;
350 } 355 }
@@ -352,8 +357,13 @@ size_t LLHTTPAssetRequest::readCompressedData(void* data, size_t size)
352 int r = deflate(&mZStream, 357 int r = deflate(&mZStream,
353 mZInputExhausted ? Z_FINISH : Z_NO_FLUSH); 358 mZInputExhausted ? Z_FINISH : Z_NO_FLUSH);
354 359
355 if (r == Z_STREAM_END) 360 if (r == Z_STREAM_END || r < 0 || mZInputExhausted)
356 { 361 {
362 if (r < 0)
363 {
364 llwarns << "LLHTTPAssetRequest::readCompressedData: deflate returned error code "
365 << (S32) r << llendl;
366 }
357 break; 367 break;
358 } 368 }
359 } 369 }
@@ -365,15 +375,20 @@ size_t LLHTTPAssetRequest::readCompressedData(void* data, size_t size)
365size_t LLHTTPAssetRequest::curlCompressedUploadCallback( 375size_t LLHTTPAssetRequest::curlCompressedUploadCallback(
366 void *data, size_t size, size_t nmemb, void *user_data) 376 void *data, size_t size, size_t nmemb, void *user_data)
367{ 377{
368 if (!gAssetStorage) 378 size_t num_read = 0;
379
380 if (gAssetStorage)
369 { 381 {
370 return 0; 382 CURL *curl_handle = (CURL *)user_data;
383 LLHTTPAssetRequest *req = NULL;
384 curl_easy_getinfo(curl_handle, CURLINFO_PRIVATE, &req);
385 if (req)
386 {
387 num_read = req->readCompressedData(data, size * nmemb);
388 }
371 } 389 }
372 CURL *curl_handle = (CURL *)user_data;
373 LLHTTPAssetRequest *req = NULL;
374 curl_easy_getinfo(curl_handle, CURLINFO_PRIVATE, &req);
375 390
376 return req->readCompressedData(data, size * nmemb); 391 return num_read;
377} 392}
378 393
379///////////////////////////////////////////////////////////////////////////////// 394/////////////////////////////////////////////////////////////////////////////////
@@ -531,9 +546,8 @@ void LLHTTPAssetStorage::storeAssetData(
531 { 546 {
532 callback(LLUUID::null, user_data, LL_ERR_CANNOT_OPEN_FILE, LL_EXSTAT_BLOCKED_FILE); 547 callback(LLUUID::null, user_data, LL_ERR_CANNOT_OPEN_FILE, LL_EXSTAT_BLOCKED_FILE);
533 } 548 }
549 delete legacy;
534 } 550 }
535 // Coverity CID-269 says there's a leak of 'legacy' here, but
536 // legacyStoreDataCallback() will delete it somewhere down the line.
537} 551}
538 552
539// virtual 553// virtual
diff --git a/linden/indra/llmessage/llhttpassetstorage.h b/linden/indra/llmessage/llhttpassetstorage.h
index 7fee143..e6ec39e 100644
--- a/linden/indra/llmessage/llhttpassetstorage.h
+++ b/linden/indra/llmessage/llhttpassetstorage.h
@@ -2,6 +2,8 @@
2 * @file llhttpassetstorage.h 2 * @file llhttpassetstorage.h
3 * @brief Class for loading asset data to/from an external source over http. 3 * @brief Class for loading asset data to/from an external source over http.
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LLHTTPASSETSTORAGE_H 32#ifndef LLHTTPASSETSTORAGE_H
diff --git a/linden/indra/llmessage/llhttpclient.cpp b/linden/indra/llmessage/llhttpclient.cpp
index 4e844c3..7144f13 100644
--- a/linden/indra/llmessage/llhttpclient.cpp
+++ b/linden/indra/llmessage/llhttpclient.cpp
@@ -2,6 +2,8 @@
2 * @file llhttpclient.cpp 2 * @file llhttpclient.cpp
3 * @brief Implementation of classes for making HTTP requests. 3 * @brief Implementation of classes for making HTTP requests.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -74,7 +77,7 @@ void LLHTTPClient::Responder::completedRaw(U32 status, const std::string& reason
74 LLBufferStream istr(channels, buffer.get()); 77 LLBufferStream istr(channels, buffer.get());
75 LLSD content; 78 LLSD content;
76 79
77 if (200 <= status && status < 300) 80 if (isGoodStatus(status))
78 { 81 {
79 LLSDSerialize::fromXML(content, istr); 82 LLSDSerialize::fromXML(content, istr);
80/* 83/*
@@ -93,7 +96,7 @@ void LLHTTPClient::Responder::completedRaw(U32 status, const std::string& reason
93// virtual 96// virtual
94void LLHTTPClient::Responder::completed(U32 status, const std::string& reason, const LLSD& content) 97void LLHTTPClient::Responder::completed(U32 status, const std::string& reason, const LLSD& content)
95{ 98{
96 if (200 <= status && status < 300) 99 if(isGoodStatus(status))
97 { 100 {
98 result(content); 101 result(content);
99 } 102 }
diff --git a/linden/indra/llmessage/llhttpclient.h b/linden/indra/llmessage/llhttpclient.h
index 578b176..8c2309c 100644
--- a/linden/indra/llmessage/llhttpclient.h
+++ b/linden/indra/llmessage/llhttpclient.h
@@ -2,6 +2,8 @@
2 * @file llhttpclient.h 2 * @file llhttpclient.h
3 * @brief Declaration of classes for making HTTP client requests. 3 * @brief Declaration of classes for making HTTP client requests.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLHTTPCLIENT_H 32#ifndef LL_LLHTTPCLIENT_H
@@ -57,6 +60,14 @@ public:
57 Responder(); 60 Responder();
58 virtual ~Responder(); 61 virtual ~Responder();
59 62
63 /**
64 * @brief return true if the status code indicates success.
65 */
66 static bool isGoodStatus(U32 status)
67 {
68 return((200 <= status) && (status < 300));
69 }
70
60 virtual void error(U32 status, const std::string& reason); // called with bad status codes 71 virtual void error(U32 status, const std::string& reason); // called with bad status codes
61 72
62 virtual void result(const LLSD& content); 73 virtual void result(const LLSD& content);
diff --git a/linden/indra/llmessage/llhttpnode.cpp b/linden/indra/llmessage/llhttpnode.cpp
index 25413b4..1289b63 100644
--- a/linden/indra/llmessage/llhttpnode.cpp
+++ b/linden/indra/llmessage/llhttpnode.cpp
@@ -2,6 +2,8 @@
2 * @file llhttpnode.cpp 2 * @file llhttpnode.cpp
3 * @brief Implementation of classes for generic HTTP/LSL/REST handling. 3 * @brief Implementation of classes for generic HTTP/LSL/REST handling.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llhttpnode.h b/linden/indra/llmessage/llhttpnode.h
index db82296..a283a26 100644
--- a/linden/indra/llmessage/llhttpnode.h
+++ b/linden/indra/llmessage/llhttpnode.h
@@ -2,6 +2,8 @@
2 * @file llhttpnode.h 2 * @file llhttpnode.h
3 * @brief Declaration of classes for generic HTTP/LSL/REST handling. 3 * @brief Declaration of classes for generic HTTP/LSL/REST handling.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLHTTPNODE_H 32#ifndef LL_LLHTTPNODE_H
diff --git a/linden/indra/llmessage/llhttpsender.cpp b/linden/indra/llmessage/llhttpsender.cpp
index 3796a52..096bc73 100644
--- a/linden/indra/llmessage/llhttpsender.cpp
+++ b/linden/indra/llmessage/llhttpsender.cpp
@@ -2,7 +2,9 @@
2 * @file llhttpsender.cpp 2 * @file llhttpsender.cpp
3 * @brief Abstracts details of sending messages via HTTP. 3 * @brief Abstracts details of sending messages via HTTP.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llhttpsender.h b/linden/indra/llmessage/llhttpsender.h
index 5d8b028..3a6cd68 100644
--- a/linden/indra/llmessage/llhttpsender.h
+++ b/linden/indra/llmessage/llhttpsender.h
@@ -2,7 +2,9 @@
2 * @file llhttpsender.h 2 * @file llhttpsender.h
3 * @brief Abstracts details of sending messages via HTTP. 3 * @brief Abstracts details of sending messages via HTTP.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_HTTP_SENDER_H 32#ifndef LL_HTTP_SENDER_H
diff --git a/linden/indra/llmessage/llinstantmessage.cpp b/linden/indra/llmessage/llinstantmessage.cpp
index 0a3a1e6..04af44f 100644
--- a/linden/indra/llmessage/llinstantmessage.cpp
+++ b/linden/indra/llmessage/llinstantmessage.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-08-29 4 * @date 2005-08-29
5 * @brief Constants and functions used in IM. 5 * @brief Constants and functions used in IM.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llinstantmessage.h b/linden/indra/llmessage/llinstantmessage.h
index 45db037..abb1651 100644
--- a/linden/indra/llmessage/llinstantmessage.h
+++ b/linden/indra/llmessage/llinstantmessage.h
@@ -2,6 +2,8 @@
2 * @file llinstantmessage.h 2 * @file llinstantmessage.h
3 * @brief Constants and declarations used by instant messages. 3 * @brief Constants and declarations used by instant messages.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLINSTANTMESSAGE_H 32#ifndef LL_LLINSTANTMESSAGE_H
diff --git a/linden/indra/llmessage/llinvite.h b/linden/indra/llmessage/llinvite.h
index d3774c4..e9439de 100644
--- a/linden/indra/llmessage/llinvite.h
+++ b/linden/indra/llmessage/llinvite.h
@@ -2,6 +2,8 @@
2 * @file llinvite.h 2 * @file llinvite.h
3 * @brief Constants used for inviting users to join groups. 3 * @brief Constants used for inviting users to join groups.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLINVITE_H 32#ifndef LL_LLINVITE_H
diff --git a/linden/indra/llmessage/lliobuffer.cpp b/linden/indra/llmessage/lliobuffer.cpp
index 7dea578..061e8f0 100644
--- a/linden/indra/llmessage/lliobuffer.cpp
+++ b/linden/indra/llmessage/lliobuffer.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-05-04 4 * @date 2005-05-04
5 * @brief Definition of buffer based implementations of IO Pipes. 5 * @brief Definition of buffer based implementations of IO Pipes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/lliobuffer.h b/linden/indra/llmessage/lliobuffer.h
index ac24576..14381ab 100644
--- a/linden/indra/llmessage/lliobuffer.h
+++ b/linden/indra/llmessage/lliobuffer.h
@@ -4,6 +4,8 @@
4 * @date 2005-05-04 4 * @date 2005-05-04
5 * @brief Declaration of buffers for use in IO Pipes. 5 * @brief Declaration of buffers for use in IO Pipes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLIOBUFFER_H 34#ifndef LL_LLIOBUFFER_H
diff --git a/linden/indra/llmessage/lliohttpserver.cpp b/linden/indra/llmessage/lliohttpserver.cpp
index 3c8010b..473eaea 100644
--- a/linden/indra/llmessage/lliohttpserver.cpp
+++ b/linden/indra/llmessage/lliohttpserver.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-10-05 4 * @date 2005-10-05
5 * @brief Implementation of the http server classes 5 * @brief Implementation of the http server classes
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/lliohttpserver.h b/linden/indra/llmessage/lliohttpserver.h
index 8a6c8d4..bf61dae 100644
--- a/linden/indra/llmessage/lliohttpserver.h
+++ b/linden/indra/llmessage/lliohttpserver.h
@@ -3,6 +3,8 @@
3 * @brief Declaration of function for creating an HTTP wire server 3 * @brief Declaration of function for creating an HTTP wire server
4 * @see LLIOServerSocket, LLPumpIO 4 * @see LLIOServerSocket, LLPumpIO
5 * 5 *
6 * $LicenseInfo:firstyear=2005&license=viewergpl$
7 *
6 * Copyright (c) 2005-2007, Linden Research, Inc. 8 * Copyright (c) 2005-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLIOHTTPSERVER_H 33#ifndef LL_LLIOHTTPSERVER_H
diff --git a/linden/indra/llmessage/lliopipe.cpp b/linden/indra/llmessage/lliopipe.cpp
index a37b046..8c0d01f 100644
--- a/linden/indra/llmessage/lliopipe.cpp
+++ b/linden/indra/llmessage/lliopipe.cpp
@@ -4,6 +4,8 @@
4 * @date 2004-11-19 4 * @date 2004-11-19
5 * @brief Implementation of the LLIOPipe class 5 * @brief Implementation of the LLIOPipe class
6 * 6 *
7 * $LicenseInfo:firstyear=2004&license=viewergpl$
8 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 9 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/lliopipe.h b/linden/indra/llmessage/lliopipe.h
index 38a98a6..47924ee 100644
--- a/linden/indra/llmessage/lliopipe.h
+++ b/linden/indra/llmessage/lliopipe.h
@@ -4,6 +4,8 @@
4 * @date 2004-11-18 4 * @date 2004-11-18
5 * @brief Declaration of base IO class 5 * @brief Declaration of base IO class
6 * 6 *
7 * $LicenseInfo:firstyear=2004&license=viewergpl$
8 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 9 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLIOPIPE_H 34#ifndef LL_LLIOPIPE_H
diff --git a/linden/indra/llmessage/lliosocket.cpp b/linden/indra/llmessage/lliosocket.cpp
index fdb4a89..920a5e4 100644
--- a/linden/indra/llmessage/lliosocket.cpp
+++ b/linden/indra/llmessage/lliosocket.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-07-31 4 * @date 2005-07-31
5 * @brief Sockets declarations for use with the io pipes 5 * @brief Sockets declarations for use with the io pipes
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/lliosocket.h b/linden/indra/llmessage/lliosocket.h
index 0f5eae8..586f489 100644
--- a/linden/indra/llmessage/lliosocket.h
+++ b/linden/indra/llmessage/lliosocket.h
@@ -4,6 +4,8 @@
4 * @date 2005-07-31 4 * @date 2005-07-31
5 * @brief Declaration of files used for handling sockets and associated pipes 5 * @brief Declaration of files used for handling sockets and associated pipes
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLIOSOCKET_H 34#ifndef LL_LLIOSOCKET_H
diff --git a/linden/indra/llmessage/llioutil.cpp b/linden/indra/llmessage/llioutil.cpp
index 21e36fa..b00ec87 100644
--- a/linden/indra/llmessage/llioutil.cpp
+++ b/linden/indra/llmessage/llioutil.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-10-05 4 * @date 2005-10-05
5 * @brief Utility functionality for the io pipes. 5 * @brief Utility functionality for the io pipes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llioutil.h b/linden/indra/llmessage/llioutil.h
index 27cd39a..e2f33a4 100644
--- a/linden/indra/llmessage/llioutil.h
+++ b/linden/indra/llmessage/llioutil.h
@@ -4,6 +4,8 @@
4 * @date 2005-10-05 4 * @date 2005-10-05
5 * @brief Helper classes for dealing with IOPipes 5 * @brief Helper classes for dealing with IOPipes
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLIOUTIL_H 34#ifndef LL_LLIOUTIL_H
diff --git a/linden/indra/llmessage/llloginflags.h b/linden/indra/llmessage/llloginflags.h
index 7725419..ab8228b 100644
--- a/linden/indra/llmessage/llloginflags.h
+++ b/linden/indra/llmessage/llloginflags.h
@@ -2,6 +2,8 @@
2 * @file llloginflags.h 2 * @file llloginflags.h
3 * @brief Login flag constants. 3 * @brief Login flag constants.
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLLOGINFLAGS_H 32#ifndef LL_LLLOGINFLAGS_H
diff --git a/linden/indra/llmessage/lllogtextmessage.cpp b/linden/indra/llmessage/lllogtextmessage.cpp
index 06c88b9..5a02860 100644
--- a/linden/indra/llmessage/lllogtextmessage.cpp
+++ b/linden/indra/llmessage/lllogtextmessage.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-01-12 4 * @date 2005-01-12
5 * @brief Impelmentation of the text logger. 5 * @brief Impelmentation of the text logger.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/lllogtextmessage.h b/linden/indra/llmessage/lllogtextmessage.h
index 89fb90c..a0a1509 100644
--- a/linden/indra/llmessage/lllogtextmessage.h
+++ b/linden/indra/llmessage/lllogtextmessage.h
@@ -5,6 +5,8 @@
5 * @brief Declaration of class for coalescing text logs generated 5 * @brief Declaration of class for coalescing text logs generated
6 * from chat and IM 6 * from chat and IM
7 * 7 *
8 * $LicenseInfo:firstyear=2005&license=viewergpl$
9 *
8 * Copyright (c) 2005-2007, Linden Research, Inc. 10 * Copyright (c) 2005-2007, Linden Research, Inc.
9 * 11 *
10 * Second Life Viewer Source Code 12 * Second Life Viewer Source Code
@@ -27,6 +29,7 @@
27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 29 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 30 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
29 * COMPLETENESS OR PERFORMANCE. 31 * COMPLETENESS OR PERFORMANCE.
32 * $/LicenseInfo$
30 */ 33 */
31 34
32#ifndef LL_LLLOGTEXTMESSAGE_H 35#ifndef LL_LLLOGTEXTMESSAGE_H
diff --git a/linden/indra/llmessage/llmail.cpp b/linden/indra/llmessage/llmail.cpp
index 633a2a3..ac0ee66 100644
--- a/linden/indra/llmessage/llmail.cpp
+++ b/linden/indra/llmessage/llmail.cpp
@@ -2,6 +2,8 @@
2 * @file llmail.cpp 2 * @file llmail.cpp
3 * @brief smtp helper functions. 3 * @brief smtp helper functions.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmail.h b/linden/indra/llmessage/llmail.h
index 26aaa3a..2a88592 100644
--- a/linden/indra/llmessage/llmail.h
+++ b/linden/indra/llmessage/llmail.h
@@ -2,6 +2,8 @@
2 * @file llmail.h 2 * @file llmail.h
3 * @brief smtp helper functions. 3 * @brief smtp helper functions.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMAIL_H 32#ifndef LL_LLMAIL_H
diff --git a/linden/indra/llmessage/llmessagebuilder.cpp b/linden/indra/llmessage/llmessagebuilder.cpp
index 364e417..cd0b07e 100644
--- a/linden/indra/llmessage/llmessagebuilder.cpp
+++ b/linden/indra/llmessage/llmessagebuilder.cpp
@@ -2,6 +2,8 @@
2 * @file llmessagebuilder.cpp 2 * @file llmessagebuilder.cpp
3 * @brief LLMessageBuilder class implementation 3 * @brief LLMessageBuilder class implementation
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmessagebuilder.h b/linden/indra/llmessage/llmessagebuilder.h
index 5c231bd..c478c45 100644
--- a/linden/indra/llmessage/llmessagebuilder.h
+++ b/linden/indra/llmessage/llmessagebuilder.h
@@ -2,7 +2,9 @@
2 * @file llmessagebuilder.h 2 * @file llmessagebuilder.h
3 * @brief Declaration of LLMessageBuilder class. 3 * @brief Declaration of LLMessageBuilder class.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMESSAGEBUILDER_H 32#ifndef LL_LLMESSAGEBUILDER_H
diff --git a/linden/indra/llmessage/llmessageconfig.cpp b/linden/indra/llmessage/llmessageconfig.cpp
index a619e80..78e22dd 100644
--- a/linden/indra/llmessage/llmessageconfig.cpp
+++ b/linden/indra/llmessage/llmessageconfig.cpp
@@ -2,6 +2,8 @@
2 * @file llmessageconfig.cpp 2 * @file llmessageconfig.cpp
3 * @brief Live file handling for messaging 3 * @brief Live file handling for messaging
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -50,10 +53,10 @@ class LLMessageConfigFile : public LLLiveFile
50{ 53{
51public: 54public:
52 LLMessageConfigFile() 55 LLMessageConfigFile()
53 : LLLiveFile(fileName(), messageConfigRefreshRate) 56 : LLLiveFile(filename(), messageConfigRefreshRate)
54 { } 57 { }
55 58
56 static std::string fileName(); 59 static std::string filename();
57 60
58 LLSD mMessages; 61 LLSD mMessages;
59 std::string mServerDefault; 62 std::string mServerDefault;
@@ -72,7 +75,7 @@ public:
72 LLSD mCapBans; 75 LLSD mCapBans;
73}; 76};
74 77
75std::string LLMessageConfigFile::fileName() 78std::string LLMessageConfigFile::filename()
76{ 79{
77 std::ostringstream ostr; 80 std::ostringstream ostr;
78 ostr << sConfigDir//gAppSimp->getOption("configdir").asString() 81 ostr << sConfigDir//gAppSimp->getOption("configdir").asString()
@@ -93,9 +96,10 @@ void LLMessageConfigFile::loadFile()
93 LLSD data; 96 LLSD data;
94 { 97 {
95 llifstream file(filename().c_str()); 98 llifstream file(filename().c_str());
99
96 if (file.is_open()) 100 if (file.is_open())
97 { 101 {
98 llinfos << "Loading message.xml file at " << fileName() << llendl; 102 llinfos << "Loading message.xml file at " << filename() << llendl;
99 LLSDSerialize::fromXML(data, file); 103 LLSDSerialize::fromXML(data, file);
100 } 104 }
101 105
diff --git a/linden/indra/llmessage/llmessageconfig.h b/linden/indra/llmessage/llmessageconfig.h
index 86e7fb0..eb3113b 100644
--- a/linden/indra/llmessage/llmessageconfig.h
+++ b/linden/indra/llmessage/llmessageconfig.h
@@ -2,6 +2,8 @@
2 * @file llmessageconfig.h 2 * @file llmessageconfig.h
3 * @brief Live file handling for messaging 3 * @brief Live file handling for messaging
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MESSAGECONFIG_H 32#ifndef LL_MESSAGECONFIG_H
diff --git a/linden/indra/llmessage/llmessagereader.cpp b/linden/indra/llmessage/llmessagereader.cpp
index 2679019..7ec4f56 100644
--- a/linden/indra/llmessage/llmessagereader.cpp
+++ b/linden/indra/llmessage/llmessagereader.cpp
@@ -2,7 +2,9 @@
2 * @file llmessagereader.cpp 2 * @file llmessagereader.cpp
3 * @brief LLMessageReader class implementation 3 * @brief LLMessageReader class implementation
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmessagereader.h b/linden/indra/llmessage/llmessagereader.h
index 9c1923a..4687191 100644
--- a/linden/indra/llmessage/llmessagereader.h
+++ b/linden/indra/llmessage/llmessagereader.h
@@ -2,7 +2,9 @@
2 * @file llmessagereader.h 2 * @file llmessagereader.h
3 * @brief Declaration of LLMessageReader class. 3 * @brief Declaration of LLMessageReader class.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMESSAGEREADER_H 32#ifndef LL_LLMESSAGEREADER_H
diff --git a/linden/indra/llmessage/llmessagetemplate.cpp b/linden/indra/llmessage/llmessagetemplate.cpp
index daf7f7a..b6c5304 100644
--- a/linden/indra/llmessage/llmessagetemplate.cpp
+++ b/linden/indra/llmessage/llmessagetemplate.cpp
@@ -2,7 +2,9 @@
2 * @file llmessagetemplate.cpp 2 * @file llmessagetemplate.cpp
3 * @brief Implementation of message template classes. 3 * @brief Implementation of message template classes.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmessagetemplate.h b/linden/indra/llmessage/llmessagetemplate.h
index 804c343..5821474 100644
--- a/linden/indra/llmessage/llmessagetemplate.h
+++ b/linden/indra/llmessage/llmessagetemplate.h
@@ -2,7 +2,9 @@
2 * @file llmessagetemplate.h 2 * @file llmessagetemplate.h
3 * @brief Declaration of the message template classes. 3 * @brief Declaration of the message template classes.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMESSAGETEMPLATE_H 32#ifndef LL_LLMESSAGETEMPLATE_H
diff --git a/linden/indra/llmessage/llmessagetemplateparser.cpp b/linden/indra/llmessage/llmessagetemplateparser.cpp
index 4c14ede..e8843c7 100644
--- a/linden/indra/llmessage/llmessagetemplateparser.cpp
+++ b/linden/indra/llmessage/llmessagetemplateparser.cpp
@@ -2,7 +2,9 @@
2 * @file llmessagetemplateparser.cpp 2 * @file llmessagetemplateparser.cpp
3 * @brief LLMessageTemplateParser implementation 3 * @brief LLMessageTemplateParser implementation
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmessagetemplateparser.h b/linden/indra/llmessage/llmessagetemplateparser.h
index f56dfec..9a71184 100644
--- a/linden/indra/llmessage/llmessagetemplateparser.h
+++ b/linden/indra/llmessage/llmessagetemplateparser.h
@@ -2,6 +2,8 @@
2 * @file llmessagetemplateparser.h 2 * @file llmessagetemplateparser.h
3 * @brief Classes to parse message template. 3 * @brief Classes to parse message template.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MESSAGETEMPLATEPARSER_H 32#ifndef LL_MESSAGETEMPLATEPARSER_H
diff --git a/linden/indra/llmessage/llmessagethrottle.cpp b/linden/indra/llmessage/llmessagethrottle.cpp
index bbaa9d8..c45feb2 100644
--- a/linden/indra/llmessage/llmessagethrottle.cpp
+++ b/linden/indra/llmessage/llmessagethrottle.cpp
@@ -2,6 +2,8 @@
2 * @file llmessagethrottle.cpp 2 * @file llmessagethrottle.cpp
3 * @brief LLMessageThrottle class used for throttling messages. 3 * @brief LLMessageThrottle class used for throttling messages.
4 * 4 *
5 * $LicenseInfo:firstyear=2004&license=viewergpl$
6 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmessagethrottle.h b/linden/indra/llmessage/llmessagethrottle.h
index 522358c..b43b5a0 100644
--- a/linden/indra/llmessage/llmessagethrottle.h
+++ b/linden/indra/llmessage/llmessagethrottle.h
@@ -2,6 +2,8 @@
2 * @file llmessagethrottle.h 2 * @file llmessagethrottle.h
3 * @brief LLMessageThrottle class used for throttling messages. 3 * @brief LLMessageThrottle class used for throttling messages.
4 * 4 *
5 * $LicenseInfo:firstyear=2004&license=viewergpl$
6 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 7 * Copyright (c) 2004-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMESSAGETHROTTLE_H 32#ifndef LL_LLMESSAGETHROTTLE_H
diff --git a/linden/indra/llmessage/llmime.cpp b/linden/indra/llmessage/llmime.cpp
index 6938ed7..7d43f38 100644
--- a/linden/indra/llmessage/llmime.cpp
+++ b/linden/indra/llmessage/llmime.cpp
@@ -4,6 +4,8 @@
4 * @date 2006-12-20 4 * @date 2006-12-20
5 * @brief Implementation of mime tools. 5 * @brief Implementation of mime tools.
6 * 6 *
7 * $LicenseInfo:firstyear=2006&license=viewergpl$
8 *
7 * Copyright (c) 2006-2007, Linden Research, Inc. 9 * Copyright (c) 2006-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llmime.h b/linden/indra/llmessage/llmime.h
index 307a33d..0a7fa1d 100644
--- a/linden/indra/llmessage/llmime.h
+++ b/linden/indra/llmessage/llmime.h
@@ -4,6 +4,8 @@
4 * @date 2006-12-20 4 * @date 2006-12-20
5 * @brief Declaration of mime tools. 5 * @brief Declaration of mime tools.
6 * 6 *
7 * $LicenseInfo:firstyear=2006&license=viewergpl$
8 *
7 * Copyright (c) 2006-2007, Linden Research, Inc. 9 * Copyright (c) 2006-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLMIME_H 34#ifndef LL_LLMIME_H
diff --git a/linden/indra/llmessage/llmsgvariabletype.h b/linden/indra/llmessage/llmsgvariabletype.h
index 59fba7c..5ce171b 100644
--- a/linden/indra/llmessage/llmsgvariabletype.h
+++ b/linden/indra/llmessage/llmsgvariabletype.h
@@ -2,7 +2,9 @@
2 * @file llmsgvariabletype.h 2 * @file llmsgvariabletype.h
3 * @brief Declaration of the EMsgVariableType enumeration. 3 * @brief Declaration of the EMsgVariableType enumeration.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMSGVARIABLETYPE_H 32#ifndef LL_LLMSGVARIABLETYPE_H
diff --git a/linden/indra/llmessage/llnamevalue.cpp b/linden/indra/llmessage/llnamevalue.cpp
index a11bf97..932eeaa 100644
--- a/linden/indra/llmessage/llnamevalue.cpp
+++ b/linden/indra/llmessage/llnamevalue.cpp
@@ -2,6 +2,8 @@
2 * @file llnamevalue.cpp 2 * @file llnamevalue.cpp
3 * @brief class for defining name value pairs. 3 * @brief class for defining name value pairs.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29// Examples: 32// Examples:
diff --git a/linden/indra/llmessage/llnamevalue.h b/linden/indra/llmessage/llnamevalue.h
index 580c99d..1bdfeb2 100644
--- a/linden/indra/llmessage/llnamevalue.h
+++ b/linden/indra/llmessage/llnamevalue.h
@@ -2,6 +2,8 @@
2 * @file llnamevalue.h 2 * @file llnamevalue.h
3 * @brief class for defining name value pairs. 3 * @brief class for defining name value pairs.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,18 +26,15 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLNAMEVALUE_H 32#ifndef LL_LLNAMEVALUE_H
30#define LL_LLNAMEVALUE_H 33#define LL_LLNAMEVALUE_H
31 34
32#include <iostream>
33#include <string.h>
34
35#include "string_table.h" 35#include "string_table.h"
36#include "llskipmap.h" 36#include "llskipmap.h"
37#include "llmath.h" 37#include "llmath.h"
38//#include "vmath.h"
39#include "v3math.h" 38#include "v3math.h"
40#include "lldbstrings.h" 39#include "lldbstrings.h"
41 40
diff --git a/linden/indra/llmessage/llnullcipher.cpp b/linden/indra/llmessage/llnullcipher.cpp
index eddadeb..613e764 100644
--- a/linden/indra/llmessage/llnullcipher.cpp
+++ b/linden/indra/llmessage/llnullcipher.cpp
@@ -2,6 +2,8 @@
2 * @file llnullcipher.cpp 2 * @file llnullcipher.cpp
3 * @brief Implementation of a cipher which does not encrypt. 3 * @brief Implementation of a cipher which does not encrypt.
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llnullcipher.h b/linden/indra/llmessage/llnullcipher.h
index 2e41063..a6dec02 100644
--- a/linden/indra/llmessage/llnullcipher.h
+++ b/linden/indra/llmessage/llnullcipher.h
@@ -1,6 +1,8 @@
1/** 1/**
2 * @file llnullcipher.h 2 * @file llnullcipher.h
3 * 3 *
4 * $LicenseInfo:firstyear=2003&license=viewergpl$
5 *
4 * Copyright (c) 2003-2007, Linden Research, Inc. 6 * Copyright (c) 2003-2007, Linden Research, Inc.
5 * 7 *
6 * Second Life Viewer Source Code 8 * Second Life Viewer Source Code
@@ -23,6 +25,7 @@
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE. 27 * COMPLETENESS OR PERFORMANCE.
28 * $/LicenseInfo$
26 */ 29 */
27 30
28#ifndef LLNULLCIPHER_H 31#ifndef LLNULLCIPHER_H
diff --git a/linden/indra/llmessage/llpacketack.cpp b/linden/indra/llmessage/llpacketack.cpp
index 27d9916..dbc7865 100644
--- a/linden/indra/llmessage/llpacketack.cpp
+++ b/linden/indra/llmessage/llpacketack.cpp
@@ -4,7 +4,9 @@
4 * @date 2007-05-09 4 * @date 2007-05-09
5 * @brief Implementation of the LLReliablePacket. 5 * @brief Implementation of the LLReliablePacket.
6 * 6 *
7 * Copyright (c) 2007-2007, Linden Research, Inc. 7 * $LicenseInfo:firstyear=2007&license=viewergpl$
8 *
9 * Copyright (c) 2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 12 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llpacketack.h b/linden/indra/llmessage/llpacketack.h
index 33fb5a0..a5b425c 100644
--- a/linden/indra/llmessage/llpacketack.h
+++ b/linden/indra/llmessage/llpacketack.h
@@ -2,6 +2,8 @@
2 * @file llpacketack.h 2 * @file llpacketack.h
3 * @brief Reliable UDP helpers for the message system. 3 * @brief Reliable UDP helpers for the message system.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLPACKETACK_H 32#ifndef LL_LLPACKETACK_H
diff --git a/linden/indra/llmessage/llpacketbuffer.cpp b/linden/indra/llmessage/llpacketbuffer.cpp
index 525569d..cb71fcd 100644
--- a/linden/indra/llmessage/llpacketbuffer.cpp
+++ b/linden/indra/llmessage/llpacketbuffer.cpp
@@ -2,6 +2,8 @@
2 * @file llpacketbuffer.cpp 2 * @file llpacketbuffer.cpp
3 * @brief implementation of LLPacketBuffer class for a packet. 3 * @brief implementation of LLPacketBuffer class for a packet.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llpacketbuffer.h b/linden/indra/llmessage/llpacketbuffer.h
index 17fe446..1e57517 100644
--- a/linden/indra/llmessage/llpacketbuffer.h
+++ b/linden/indra/llmessage/llpacketbuffer.h
@@ -3,6 +3,8 @@
3 * @brief definition of LLPacketBuffer class for implementing a 3 * @brief definition of LLPacketBuffer class for implementing a
4 * resend, drop, or delay in packet transmissions. 4 * resend, drop, or delay in packet transmissions.
5 * 5 *
6 * $LicenseInfo:firstyear=2001&license=viewergpl$
7 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 8 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLPACKETBUFFER_H 33#ifndef LL_LLPACKETBUFFER_H
diff --git a/linden/indra/llmessage/llpacketring.cpp b/linden/indra/llmessage/llpacketring.cpp
index e07c754..48a02fe 100644
--- a/linden/indra/llmessage/llpacketring.cpp
+++ b/linden/indra/llmessage/llpacketring.cpp
@@ -2,6 +2,8 @@
2 * @file llpacketring.cpp 2 * @file llpacketring.cpp
3 * @brief implementation of LLPacketRing class for a packet. 3 * @brief implementation of LLPacketRing class for a packet.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llpacketring.h b/linden/indra/llmessage/llpacketring.h
index 1a0c0c6..109d5e6 100644
--- a/linden/indra/llmessage/llpacketring.h
+++ b/linden/indra/llmessage/llpacketring.h
@@ -3,6 +3,8 @@
3 * @brief definition of LLPacketRing class for implementing a resend, 3 * @brief definition of LLPacketRing class for implementing a resend,
4 * drop, or delay in packet transmissions 4 * drop, or delay in packet transmissions
5 * 5 *
6 * $LicenseInfo:firstyear=2001&license=viewergpl$
7 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 8 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLPACKETRING_H 33#ifndef LL_LLPACKETRING_H
diff --git a/linden/indra/llmessage/llpartdata.cpp b/linden/indra/llmessage/llpartdata.cpp
index f46481e..0e1dc4a 100644
--- a/linden/indra/llmessage/llpartdata.cpp
+++ b/linden/indra/llmessage/llpartdata.cpp
@@ -2,6 +2,8 @@
2 * @file llpartdata.cpp 2 * @file llpartdata.cpp
3 * @brief Particle system data packing 3 * @brief Particle system data packing
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llpartdata.h b/linden/indra/llmessage/llpartdata.h
index 3177e84..4220f5d 100644
--- a/linden/indra/llmessage/llpartdata.h
+++ b/linden/indra/llmessage/llpartdata.h
@@ -2,6 +2,8 @@
2 * @file llpartdata.h 2 * @file llpartdata.h
3 * @brief Particle system data packing 3 * @brief Particle system data packing
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,13 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLPARTDATA_H 32#ifndef LL_LLPARTDATA_H
30#define LL_LLPARTDATA_H 33#define LL_LLPARTDATA_H
31 34
32#include <stdio.h>
33
34#include "lluuid.h" 35#include "lluuid.h"
35#include "v3math.h" 36#include "v3math.h"
36#include "v3dmath.h" 37#include "v3dmath.h"
diff --git a/linden/indra/llmessage/llpumpio.cpp b/linden/indra/llmessage/llpumpio.cpp
index e76f3ea..ea7c06f 100644
--- a/linden/indra/llmessage/llpumpio.cpp
+++ b/linden/indra/llmessage/llpumpio.cpp
@@ -4,6 +4,8 @@
4 * @date 2004-11-21 4 * @date 2004-11-21
5 * @brief Implementation of the i/o pump and related functions. 5 * @brief Implementation of the i/o pump and related functions.
6 * 6 *
7 * $LicenseInfo:firstyear=2004&license=viewergpl$
8 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 9 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
@@ -684,8 +687,9 @@ void LLPumpIO::initialize(apr_pool_t* pool)
684 LLMemType m1(LLMemType::MTYPE_IO_PUMP); 687 LLMemType m1(LLMemType::MTYPE_IO_PUMP);
685 if(!pool) return; 688 if(!pool) return;
686#if LL_THREADS_APR 689#if LL_THREADS_APR
687 apr_thread_mutex_create(&mChainsMutex, APR_THREAD_MUTEX_DEFAULT, pool); 690 // SJB: Windows defaults to NESTED and OSX defaults to UNNESTED, so use UNNESTED explicitly.
688 apr_thread_mutex_create(&mCallbackMutex, APR_THREAD_MUTEX_DEFAULT, pool); 691 apr_thread_mutex_create(&mChainsMutex, APR_THREAD_MUTEX_UNNESTED, pool);
692 apr_thread_mutex_create(&mCallbackMutex, APR_THREAD_MUTEX_UNNESTED, pool);
689#endif 693#endif
690 mPool = pool; 694 mPool = pool;
691} 695}
diff --git a/linden/indra/llmessage/llpumpio.h b/linden/indra/llmessage/llpumpio.h
index 0f2bd48..4d865a8 100644
--- a/linden/indra/llmessage/llpumpio.h
+++ b/linden/indra/llmessage/llpumpio.h
@@ -4,6 +4,8 @@
4 * @date 2004-11-19 4 * @date 2004-11-19
5 * @brief Declaration of pump class which manages io chains. 5 * @brief Declaration of pump class which manages io chains.
6 * 6 *
7 * $LicenseInfo:firstyear=2004&license=viewergpl$
8 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 9 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLPUMPIO_H 34#ifndef LL_LLPUMPIO_H
diff --git a/linden/indra/llmessage/llqueryflags.h b/linden/indra/llmessage/llqueryflags.h
index 9143995..9b3074e 100644
--- a/linden/indra/llmessage/llqueryflags.h
+++ b/linden/indra/llmessage/llqueryflags.h
@@ -2,6 +2,8 @@
2 * @file llqueryflags.h 2 * @file llqueryflags.h
3 * @brief Flags for directory queries 3 * @brief Flags for directory queries
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLQUERYFLAGS_H 32#ifndef LL_LLQUERYFLAGS_H
diff --git a/linden/indra/llmessage/llregionflags.h b/linden/indra/llmessage/llregionflags.h
index 8702277..72272c0 100644
--- a/linden/indra/llmessage/llregionflags.h
+++ b/linden/indra/llmessage/llregionflags.h
@@ -2,6 +2,8 @@
2 * @file llregionflags.h 2 * @file llregionflags.h
3 * @brief Flags that are sent in the statistics message region_flags field. 3 * @brief Flags that are sent in the statistics message region_flags field.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLREGIONFLAGS_H 32#ifndef LL_LLREGIONFLAGS_H
@@ -90,6 +93,8 @@ const U32 REGION_FLAGS_ABUSE_EMAIL_TO_ESTATE_OWNER = (1 << 27);
90 93
91const U32 REGION_FLAGS_ALLOW_VOICE = (1 << 28); 94const U32 REGION_FLAGS_ALLOW_VOICE = (1 << 28);
92 95
96const U32 REGION_FLAGS_BLOCK_PARCEL_SEARCH = (1 << 29);
97
93 98
94const U32 REGION_FLAGS_DEFAULT = REGION_FLAGS_ALLOW_LANDMARK | 99const U32 REGION_FLAGS_DEFAULT = REGION_FLAGS_ALLOW_LANDMARK |
95 REGION_FLAGS_ALLOW_SET_HOME | 100 REGION_FLAGS_ALLOW_SET_HOME |
@@ -179,3 +184,4 @@ const U32 SWD_SCRIPTED_ONLY = (1 << 2);
179 184
180#endif 185#endif
181 186
187
diff --git a/linden/indra/llmessage/llregionhandle.h b/linden/indra/llmessage/llregionhandle.h
index ad4cf61..d9fcd82 100644
--- a/linden/indra/llmessage/llregionhandle.h
+++ b/linden/indra/llmessage/llregionhandle.h
@@ -2,6 +2,8 @@
2 * @file llregionhandle.h 2 * @file llregionhandle.h
3 * @brief Routines for converting positions to/from region handles. 3 * @brief Routines for converting positions to/from region handles.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,13 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLREGIONHANDLE_H 32#ifndef LL_LLREGIONHANDLE_H
30#define LL_LLREGIONHANDLE_H 33#define LL_LLREGIONHANDLE_H
31 34
32#include <math.h>
33
34#include "indra_constants.h" 35#include "indra_constants.h"
35#include "v3math.h" 36#include "v3math.h"
36#include "v3dmath.h" 37#include "v3dmath.h"
diff --git a/linden/indra/llmessage/llsdappservices.cpp b/linden/indra/llmessage/llsdappservices.cpp
index ae1505b..88588df 100644
--- a/linden/indra/llmessage/llsdappservices.cpp
+++ b/linden/indra/llmessage/llsdappservices.cpp
@@ -3,6 +3,8 @@
3 * @author Phoenix 3 * @author Phoenix
4 * @date 2006-09-12 4 * @date 2006-09-12
5 * 5 *
6 * $LicenseInfo:firstyear=2006&license=viewergpl$
7 *
6 * Copyright (c) 2006-2007, Linden Research, Inc. 8 * Copyright (c) 2006-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "linden_common.h" 33#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdappservices.h b/linden/indra/llmessage/llsdappservices.h
index 0075b2e..089687b 100644
--- a/linden/indra/llmessage/llsdappservices.h
+++ b/linden/indra/llmessage/llsdappservices.h
@@ -4,6 +4,8 @@
4 * @date 2006-09-12 4 * @date 2006-09-12
5 * @brief Header file to declare the /app common web services. 5 * @brief Header file to declare the /app common web services.
6 * 6 *
7 * $LicenseInfo:firstyear=2006&license=viewergpl$
8 *
7 * Copyright (c) 2006-2007, Linden Research, Inc. 9 * Copyright (c) 2006-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLSDAPPSERVICES_H 34#ifndef LL_LLSDAPPSERVICES_H
diff --git a/linden/indra/llmessage/llsdhttpserver.cpp b/linden/indra/llmessage/llsdhttpserver.cpp
index 8ca7f14..41bc503 100644
--- a/linden/indra/llmessage/llsdhttpserver.cpp
+++ b/linden/indra/llmessage/llsdhttpserver.cpp
@@ -2,6 +2,8 @@
2 * @file llsdhttpserver.cpp 2 * @file llsdhttpserver.cpp
3 * @brief Standard LLSD services 3 * @brief Standard LLSD services
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdhttpserver.h b/linden/indra/llmessage/llsdhttpserver.h
index b6904f3..e0e8853 100644
--- a/linden/indra/llmessage/llsdhttpserver.h
+++ b/linden/indra/llmessage/llsdhttpserver.h
@@ -2,6 +2,8 @@
2 * @file llsdhttpserver.h 2 * @file llsdhttpserver.h
3 * @brief Standard LLSD services 3 * @brief Standard LLSD services
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLSDHTTPSERVER_H 32#ifndef LL_LLSDHTTPSERVER_H
diff --git a/linden/indra/llmessage/llsdmessagebuilder.cpp b/linden/indra/llmessage/llsdmessagebuilder.cpp
index f8fb30e..43fe7d6 100755
--- a/linden/indra/llmessage/llsdmessagebuilder.cpp
+++ b/linden/indra/llmessage/llsdmessagebuilder.cpp
@@ -2,7 +2,9 @@
2 * @file llsdmessagebuilder.cpp 2 * @file llsdmessagebuilder.cpp
3 * @brief LLSDMessageBuilder class implementation. 3 * @brief LLSDMessageBuilder class implementation.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdmessagebuilder.h b/linden/indra/llmessage/llsdmessagebuilder.h
index 8ea7763..4cdae36 100755
--- a/linden/indra/llmessage/llsdmessagebuilder.h
+++ b/linden/indra/llmessage/llsdmessagebuilder.h
@@ -2,7 +2,9 @@
2 * @file llsdmessagebuilder.h 2 * @file llsdmessagebuilder.h
3 * @brief Declaration of LLSDMessageBuilder class. 3 * @brief Declaration of LLSDMessageBuilder class.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLSDMESSAGEBUILDER_H 32#ifndef LL_LLSDMESSAGEBUILDER_H
diff --git a/linden/indra/llmessage/llsdmessagereader.cpp b/linden/indra/llmessage/llsdmessagereader.cpp
index 6742edb..e69c3e3 100755
--- a/linden/indra/llmessage/llsdmessagereader.cpp
+++ b/linden/indra/llmessage/llsdmessagereader.cpp
@@ -2,7 +2,9 @@
2 * @file llsdmessagereader.cpp 2 * @file llsdmessagereader.cpp
3 * @brief LLSDMessageReader class implementation. 3 * @brief LLSDMessageReader class implementation.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdmessagereader.h b/linden/indra/llmessage/llsdmessagereader.h
index d6d9f3d..66ac1d1 100755
--- a/linden/indra/llmessage/llsdmessagereader.h
+++ b/linden/indra/llmessage/llsdmessagereader.h
@@ -1,3 +1,34 @@
1/**
2 * @file llsdmessagereader.h
3 * @brief LLSDMessageReader class Declaration
4 *
5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
8 *
9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab
11 * to you under the terms of the GNU General Public License, version 2.0
12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2
16 *
17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception
21 *
22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above,
24 * and agree to abide by those obligations.
25 *
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
30 */
31
1#ifndef LL_LLSDMESSAGEREADER_H 32#ifndef LL_LLSDMESSAGEREADER_H
2#define LL_LLSDMESSAGEREADER_H 33#define LL_LLSDMESSAGEREADER_H
3 34
diff --git a/linden/indra/llmessage/llsdrpcclient.cpp b/linden/indra/llmessage/llsdrpcclient.cpp
index 64d4b98..0a12c47 100644
--- a/linden/indra/llmessage/llsdrpcclient.cpp
+++ b/linden/indra/llmessage/llsdrpcclient.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-11-05 4 * @date 2005-11-05
5 * @brief Implementation of the llsd client classes. 5 * @brief Implementation of the llsd client classes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdrpcclient.h b/linden/indra/llmessage/llsdrpcclient.h
index 52439b9..4511d10 100644
--- a/linden/indra/llmessage/llsdrpcclient.h
+++ b/linden/indra/llmessage/llsdrpcclient.h
@@ -4,6 +4,8 @@
4 * @date 2005-11-05 4 * @date 2005-11-05
5 * @brief Implementation and helpers for structure data RPC clients. 5 * @brief Implementation and helpers for structure data RPC clients.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLSDRPCCLIENT_H 34#ifndef LL_LLSDRPCCLIENT_H
diff --git a/linden/indra/llmessage/llsdrpcserver.cpp b/linden/indra/llmessage/llsdrpcserver.cpp
index ed37181..13ed791 100644
--- a/linden/indra/llmessage/llsdrpcserver.cpp
+++ b/linden/indra/llmessage/llsdrpcserver.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-10-11 4 * @date 2005-10-11
5 * @brief Implementation of the LLSDRPCServer and related classes. 5 * @brief Implementation of the LLSDRPCServer and related classes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llsdrpcserver.h b/linden/indra/llmessage/llsdrpcserver.h
index 4007d6e..92992aa 100644
--- a/linden/indra/llmessage/llsdrpcserver.h
+++ b/linden/indra/llmessage/llsdrpcserver.h
@@ -4,6 +4,8 @@
4 * @date 2005-10-11 4 * @date 2005-10-11
5 * @brief Declaration of the structured data remote procedure call server. 5 * @brief Declaration of the structured data remote procedure call server.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLSDRPCSERVER_H 34#ifndef LL_LLSDRPCSERVER_H
diff --git a/linden/indra/llmessage/llservice.cpp b/linden/indra/llmessage/llservice.cpp
index 052524d..daa21b1 100644
--- a/linden/indra/llmessage/llservice.cpp
+++ b/linden/indra/llmessage/llservice.cpp
@@ -3,6 +3,8 @@
3 * @author Phoenix 3 * @author Phoenix
4 * @date 2005-04-20 4 * @date 2005-04-20
5 * 5 *
6 * $LicenseInfo:firstyear=2005&license=viewergpl$
7 *
6 * Copyright (c) 2005-2007, Linden Research, Inc. 8 * Copyright (c) 2005-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "linden_common.h" 33#include "linden_common.h"
diff --git a/linden/indra/llmessage/llservice.h b/linden/indra/llmessage/llservice.h
index 5744f75..254b2d5 100644
--- a/linden/indra/llmessage/llservice.h
+++ b/linden/indra/llmessage/llservice.h
@@ -4,6 +4,8 @@
4 * @date 2004-11-21 4 * @date 2004-11-21
5 * @brief Declaration file for LLService and related classes. 5 * @brief Declaration file for LLService and related classes.
6 * 6 *
7 * $LicenseInfo:firstyear=2004&license=viewergpl$
8 *
7 * Copyright (c) 2004-2007, Linden Research, Inc. 9 * Copyright (c) 2004-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLSERVICE_H 34#ifndef LL_LLSERVICE_H
diff --git a/linden/indra/llmessage/llservicebuilder.cpp b/linden/indra/llmessage/llservicebuilder.cpp
index 0b35a69..4fb3530 100644
--- a/linden/indra/llmessage/llservicebuilder.cpp
+++ b/linden/indra/llmessage/llservicebuilder.cpp
@@ -2,28 +2,31 @@
2* @file llservicebuilder.cpp 2* @file llservicebuilder.cpp
3* @brief Implementation of the LLServiceBuilder class. 3* @brief Implementation of the LLServiceBuilder class.
4* 4*
5* Copyright (c) 2007-2007, Linden Research, Inc. 5* $LicenseInfo:firstyear=2007&license=viewergpl$
6* 6*
7 * Second Life Viewer Source Code 7* Copyright (c) 2007, Linden Research, Inc.
8 * The source code in this file ("Source Code") is provided by Linden Lab 8*
9 * to you under the terms of the GNU General Public License, version 2.0 9* Second Life Viewer Source Code
10 * ("GPL"), unless you have obtained a separate licensing agreement 10* The source code in this file ("Source Code") is provided by Linden Lab
11 * ("Other License"), formally executed by you and Linden Lab. Terms of 11* to you under the terms of the GNU General Public License, version 2.0
12 * the GPL can be found in doc/GPL-license.txt in this distribution, or 12* ("GPL"), unless you have obtained a separate licensing agreement
13 * online at http://secondlife.com/developers/opensource/gplv2 13* ("Other License"), formally executed by you and Linden Lab. Terms of
14 * 14* the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * There are special exceptions to the terms and conditions of the GPL as 15* online at http://secondlife.com/developers/opensource/gplv2
16 * it is applied to this Source Code. View the full text of the exception 16*
17 * in the file doc/FLOSS-exception.txt in this software distribution, or 17* There are special exceptions to the terms and conditions of the GPL as
18 * online at http://secondlife.com/developers/opensource/flossexception 18* it is applied to this Source Code. View the full text of the exception
19 * 19* in the file doc/FLOSS-exception.txt in this software distribution, or
20 * By copying, modifying or distributing this software, you acknowledge 20* online at http://secondlife.com/developers/opensource/flossexception
21 * that you have read and understood your obligations described above, 21*
22 * and agree to abide by those obligations. 22* By copying, modifying or distributing this software, you acknowledge
23 * 23* that you have read and understood your obligations described above,
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 24* and agree to abide by those obligations.
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 25*
26 * COMPLETENESS OR PERFORMANCE. 26* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28* COMPLETENESS OR PERFORMANCE.
29* $/LicenseInfo$
27*/ 30*/
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -138,16 +141,19 @@ std::string LLServiceBuilder::buildServiceURI(
138 { 141 {
139 std::string query_str = LLURI::mapToQueryString( 142 std::string query_str = LLURI::mapToQueryString(
140 (*option_itr).second); 143 (*option_itr).second);
141 if(!query_str.empty()) 144 service_url.replace(
142 { 145 find_pos,
143 service_url.replace( 146 variable_name.length(),
144 find_pos, 147 query_str);
145 variable_name.length(),
146 query_str);
147 }
148 } 148 }
149 } 149 }
150 } 150 }
151 151
152 if (service_url.find('{') != std::string::npos)
153 {
154 llwarns << "Constructed a likely bogus service URL: " << service_url
155 << llendl;
156 }
157
152 return service_url; 158 return service_url;
153} 159}
diff --git a/linden/indra/llmessage/llservicebuilder.h b/linden/indra/llmessage/llservicebuilder.h
index 817ea0c..2c00660 100644
--- a/linden/indra/llmessage/llservicebuilder.h
+++ b/linden/indra/llmessage/llservicebuilder.h
@@ -2,28 +2,31 @@
2* @file llservicebuilder.h 2* @file llservicebuilder.h
3* @brief Declaration of the LLServiceBuilder class. 3* @brief Declaration of the LLServiceBuilder class.
4* 4*
5* Copyright (c) 2007-2007, Linden Research, Inc. 5* $LicenseInfo:firstyear=2007&license=viewergpl$
6* 6*
7 * Second Life Viewer Source Code 7* Copyright (c) 2007, Linden Research, Inc.
8 * The source code in this file ("Source Code") is provided by Linden Lab 8*
9 * to you under the terms of the GNU General Public License, version 2.0 9* Second Life Viewer Source Code
10 * ("GPL"), unless you have obtained a separate licensing agreement 10* The source code in this file ("Source Code") is provided by Linden Lab
11 * ("Other License"), formally executed by you and Linden Lab. Terms of 11* to you under the terms of the GNU General Public License, version 2.0
12 * the GPL can be found in doc/GPL-license.txt in this distribution, or 12* ("GPL"), unless you have obtained a separate licensing agreement
13 * online at http://secondlife.com/developers/opensource/gplv2 13* ("Other License"), formally executed by you and Linden Lab. Terms of
14 * 14* the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * There are special exceptions to the terms and conditions of the GPL as 15* online at http://secondlife.com/developers/opensource/gplv2
16 * it is applied to this Source Code. View the full text of the exception 16*
17 * in the file doc/FLOSS-exception.txt in this software distribution, or 17* There are special exceptions to the terms and conditions of the GPL as
18 * online at http://secondlife.com/developers/opensource/flossexception 18* it is applied to this Source Code. View the full text of the exception
19 * 19* in the file doc/FLOSS-exception.txt in this software distribution, or
20 * By copying, modifying or distributing this software, you acknowledge 20* online at http://secondlife.com/developers/opensource/flossexception
21 * that you have read and understood your obligations described above, 21*
22 * and agree to abide by those obligations. 22* By copying, modifying or distributing this software, you acknowledge
23 * 23* that you have read and understood your obligations described above,
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 24* and agree to abide by those obligations.
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 25*
26 * COMPLETENESS OR PERFORMANCE. 26* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28* COMPLETENESS OR PERFORMANCE.
29* $/LicenseInfo$
27*/ 30*/
28 31
29#ifndef LLSERVICEBUILDER_H 32#ifndef LLSERVICEBUILDER_H
diff --git a/linden/indra/llmessage/lltaskname.h b/linden/indra/llmessage/lltaskname.h
index ac4fbd5..d5bcfbd 100644
--- a/linden/indra/llmessage/lltaskname.h
+++ b/linden/indra/llmessage/lltaskname.h
@@ -3,6 +3,8 @@
3 * @brief This contains the current list of valid tasks and is inluded 3 * @brief This contains the current list of valid tasks and is inluded
4 * into both simulator and viewer 4 * into both simulator and viewer
5 * 5 *
6 * $LicenseInfo:firstyear=2000&license=viewergpl$
7 *
6 * Copyright (c) 2000-2007, Linden Research, Inc. 8 * Copyright (c) 2000-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLTASKNAME_H 33#ifndef LL_LLTASKNAME_H
diff --git a/linden/indra/llmessage/llteleportflags.h b/linden/indra/llmessage/llteleportflags.h
index a40b081..c08c905 100644
--- a/linden/indra/llmessage/llteleportflags.h
+++ b/linden/indra/llmessage/llteleportflags.h
@@ -2,6 +2,8 @@
2 * @file llteleportflags.h 2 * @file llteleportflags.h
3 * @brief Teleport flags 3 * @brief Teleport flags
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTELEPORTFLAGS_H 32#ifndef LL_LLTELEPORTFLAGS_H
diff --git a/linden/indra/llmessage/lltemplatemessagebuilder.cpp b/linden/indra/llmessage/lltemplatemessagebuilder.cpp
index 9473343..70c306c 100644
--- a/linden/indra/llmessage/lltemplatemessagebuilder.cpp
+++ b/linden/indra/llmessage/lltemplatemessagebuilder.cpp
@@ -2,7 +2,9 @@
2 * @file lltemplatemessagebuilder.cpp 2 * @file lltemplatemessagebuilder.cpp
3 * @brief LLTemplateMessageBuilder class implementation. 3 * @brief LLTemplateMessageBuilder class implementation.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltemplatemessagebuilder.h b/linden/indra/llmessage/lltemplatemessagebuilder.h
index 40a2f0d..af4657c 100644
--- a/linden/indra/llmessage/lltemplatemessagebuilder.h
+++ b/linden/indra/llmessage/lltemplatemessagebuilder.h
@@ -2,7 +2,9 @@
2 * @file lltemplatemessagebuilder.h 2 * @file lltemplatemessagebuilder.h
3 * @brief Declaration of LLTemplateMessageBuilder class. 3 * @brief Declaration of LLTemplateMessageBuilder class.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTEMPLATEMESSAGEBUILDER_H 32#ifndef LL_LLTEMPLATEMESSAGEBUILDER_H
diff --git a/linden/indra/llmessage/lltemplatemessagereader.cpp b/linden/indra/llmessage/lltemplatemessagereader.cpp
index 4cde483..114c312 100644
--- a/linden/indra/llmessage/lltemplatemessagereader.cpp
+++ b/linden/indra/llmessage/lltemplatemessagereader.cpp
@@ -2,7 +2,9 @@
2 * @file lltemplatemessagereader.cpp 2 * @file lltemplatemessagereader.cpp
3 * @brief LLTemplateMessageReader class implementation. 3 * @brief LLTemplateMessageReader class implementation.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltemplatemessagereader.h b/linden/indra/llmessage/lltemplatemessagereader.h
index 687b75b..42cd90e 100644
--- a/linden/indra/llmessage/lltemplatemessagereader.h
+++ b/linden/indra/llmessage/lltemplatemessagereader.h
@@ -2,7 +2,9 @@
2 * @file lltemplatemessagereader.h 2 * @file lltemplatemessagereader.h
3 * @brief Declaration of LLTemplateMessageReader class. 3 * @brief Declaration of LLTemplateMessageReader class.
4 * 4 *
5 * Copyright (c) 2007-2007, Linden Research, Inc. 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 *
7 * Copyright (c) 2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTEMPLATEMESSAGEREADER_H 32#ifndef LL_LLTEMPLATEMESSAGEREADER_H
diff --git a/linden/indra/llmessage/llthrottle.cpp b/linden/indra/llmessage/llthrottle.cpp
index de80dd0..c6a819b 100644
--- a/linden/indra/llmessage/llthrottle.cpp
+++ b/linden/indra/llmessage/llthrottle.cpp
@@ -2,6 +2,8 @@
2 * @file llthrottle.cpp 2 * @file llthrottle.cpp
3 * @brief LLThrottle class used for network bandwidth control. 3 * @brief LLThrottle class used for network bandwidth control.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llthrottle.h b/linden/indra/llmessage/llthrottle.h
index a87834b..a999510 100644
--- a/linden/indra/llmessage/llthrottle.h
+++ b/linden/indra/llmessage/llthrottle.h
@@ -2,6 +2,8 @@
2 * @file llthrottle.h 2 * @file llthrottle.h
3 * @brief LLThrottle class used for network bandwidth control 3 * @brief LLThrottle class used for network bandwidth control
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTHROTTLE_H 32#ifndef LL_LLTHROTTLE_H
diff --git a/linden/indra/llmessage/lltransfermanager.cpp b/linden/indra/llmessage/lltransfermanager.cpp
index 3de08c6..e80bc8c 100644
--- a/linden/indra/llmessage/lltransfermanager.cpp
+++ b/linden/indra/llmessage/lltransfermanager.cpp
@@ -3,6 +3,8 @@
3 * @brief Improved transfer mechanism for moving data through the 3 * @brief Improved transfer mechanism for moving data through the
4 * message system. 4 * message system.
5 * 5 *
6 * $LicenseInfo:firstyear=2004&license=viewergpl$
7 *
6 * Copyright (c) 2004-2007, Linden Research, Inc. 8 * Copyright (c) 2004-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "linden_common.h" 33#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltransfermanager.h b/linden/indra/llmessage/lltransfermanager.h
index d063156..1813dd0 100644
--- a/linden/indra/llmessage/lltransfermanager.h
+++ b/linden/indra/llmessage/lltransfermanager.h
@@ -3,6 +3,8 @@
3 * @brief Improved transfer mechanism for moving data through the 3 * @brief Improved transfer mechanism for moving data through the
4 * message system. 4 * message system.
5 * 5 *
6 * $LicenseInfo:firstyear=2006&license=viewergpl$
7 *
6 * Copyright (c) 2006-2007, Linden Research, Inc. 8 * Copyright (c) 2006-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLTRANSFERMANAGER_H 33#ifndef LL_LLTRANSFERMANAGER_H
diff --git a/linden/indra/llmessage/lltransfersourceasset.cpp b/linden/indra/llmessage/lltransfersourceasset.cpp
index cfc7561..941c77e 100644
--- a/linden/indra/llmessage/lltransfersourceasset.cpp
+++ b/linden/indra/llmessage/lltransfersourceasset.cpp
@@ -2,6 +2,8 @@
2 * @file lltransfersourceasset.cpp 2 * @file lltransfersourceasset.cpp
3 * @brief Transfer system for sending an asset. 3 * @brief Transfer system for sending an asset.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltransfersourceasset.h b/linden/indra/llmessage/lltransfersourceasset.h
index b953f78..4a15d5e 100644
--- a/linden/indra/llmessage/lltransfersourceasset.h
+++ b/linden/indra/llmessage/lltransfersourceasset.h
@@ -2,6 +2,8 @@
2 * @file lltransfersourceasset.h 2 * @file lltransfersourceasset.h
3 * @brief Transfer system for sending an asset. 3 * @brief Transfer system for sending an asset.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTRANSFERSOURCEASSET_H 32#ifndef LL_LLTRANSFERSOURCEASSET_H
diff --git a/linden/indra/llmessage/lltransfersourcefile.cpp b/linden/indra/llmessage/lltransfersourcefile.cpp
index 392349e..abbef1c 100644
--- a/linden/indra/llmessage/lltransfersourcefile.cpp
+++ b/linden/indra/llmessage/lltransfersourcefile.cpp
@@ -2,6 +2,8 @@
2 * @file lltransfersourcefile.cpp 2 * @file lltransfersourcefile.cpp
3 * @brief Transfer system for sending a file. 3 * @brief Transfer system for sending a file.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltransfersourcefile.h b/linden/indra/llmessage/lltransfersourcefile.h
index 21661b5..c3523b1 100644
--- a/linden/indra/llmessage/lltransfersourcefile.h
+++ b/linden/indra/llmessage/lltransfersourcefile.h
@@ -2,6 +2,8 @@
2 * @file lltransfersourcefile.h 2 * @file lltransfersourcefile.h
3 * @brief Transfer system for sending a file. 3 * @brief Transfer system for sending a file.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTRANSFERSOURCEFILE_H 32#ifndef LL_LLTRANSFERSOURCEFILE_H
@@ -31,8 +34,6 @@
31 34
32#include "lltransfermanager.h" 35#include "lltransfermanager.h"
33 36
34#include <stdio.h>
35
36class LLTransferSourceParamsFile : public LLTransferSourceParams 37class LLTransferSourceParamsFile : public LLTransferSourceParams
37{ 38{
38public: 39public:
diff --git a/linden/indra/llmessage/lltransfertargetfile.cpp b/linden/indra/llmessage/lltransfertargetfile.cpp
index 00af3ff..d05f808 100644
--- a/linden/indra/llmessage/lltransfertargetfile.cpp
+++ b/linden/indra/llmessage/lltransfertargetfile.cpp
@@ -2,6 +2,8 @@
2 * @file lltransfertargetfile.cpp 2 * @file lltransfertargetfile.cpp
3 * @brief Transfer system for receiving a file. 3 * @brief Transfer system for receiving a file.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltransfertargetfile.h b/linden/indra/llmessage/lltransfertargetfile.h
index 50d617f..18b44e2 100644
--- a/linden/indra/llmessage/lltransfertargetfile.h
+++ b/linden/indra/llmessage/lltransfertargetfile.h
@@ -2,6 +2,8 @@
2 * @file lltransfertargetfile.h 2 * @file lltransfertargetfile.h
3 * @brief Transfer system for receiving a file. 3 * @brief Transfer system for receiving a file.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTRANSFERTARGETFILE_H 32#ifndef LL_LLTRANSFERTARGETFILE_H
@@ -31,15 +34,13 @@
31 34
32#include "lltransfermanager.h" 35#include "lltransfermanager.h"
33 36
34#include <stdio.h>
35
36typedef void (*LLTTFCompleteCallback)(const LLTSCode status, void *user_data); 37typedef void (*LLTTFCompleteCallback)(const LLTSCode status, void *user_data);
37 38
38class LLTransferTargetParamsFile : public LLTransferTargetParams 39class LLTransferTargetParamsFile : public LLTransferTargetParams
39{ 40{
40public: 41public:
41 LLTransferTargetParamsFile() : LLTransferTargetParams(LLTTT_FILE) {} 42 LLTransferTargetParamsFile() : LLTransferTargetParams(LLTTT_FILE) {}
42 void setFilename(const char *filename) { mFilename = filename; } 43 void setFilename(const LLString& filename) { mFilename = filename; }
43 void setCallback(LLTTFCompleteCallback cb, void *user_data) { mCompleteCallback = cb; mUserData = user_data; } 44 void setCallback(LLTTFCompleteCallback cb, void *user_data) { mCompleteCallback = cb; mUserData = user_data; }
44 45
45 friend class LLTransferTargetFile; 46 friend class LLTransferTargetFile;
diff --git a/linden/indra/llmessage/lltransfertargetvfile.cpp b/linden/indra/llmessage/lltransfertargetvfile.cpp
index 6f2252d..4be0b65 100644
--- a/linden/indra/llmessage/lltransfertargetvfile.cpp
+++ b/linden/indra/llmessage/lltransfertargetvfile.cpp
@@ -2,6 +2,8 @@
2 * @file lltransfertargetvfile.cpp 2 * @file lltransfertargetvfile.cpp
3 * @brief Transfer system for receiving a vfile. 3 * @brief Transfer system for receiving a vfile.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lltransfertargetvfile.h b/linden/indra/llmessage/lltransfertargetvfile.h
index 98fcbc9..041b7ea 100644
--- a/linden/indra/llmessage/lltransfertargetvfile.h
+++ b/linden/indra/llmessage/lltransfertargetvfile.h
@@ -2,6 +2,8 @@
2 * @file lltransfertargetvfile.h 2 * @file lltransfertargetvfile.h
3 * @brief Transfer system for receiving a vfile. 3 * @brief Transfer system for receiving a vfile.
4 * 4 *
5 * $LicenseInfo:firstyear=2006&license=viewergpl$
6 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 7 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTRANSFERTARGETVFILE_H 32#ifndef LL_LLTRANSFERTARGETVFILE_H
diff --git a/linden/indra/llmessage/llurlrequest.cpp b/linden/indra/llmessage/llurlrequest.cpp
index 00c0577..857f804 100644
--- a/linden/indra/llmessage/llurlrequest.cpp
+++ b/linden/indra/llmessage/llurlrequest.cpp
@@ -4,6 +4,8 @@
4 * @date 2005-04-28 4 * @date 2005-04-28
5 * @brief Implementation of the URLRequest class and related classes. 5 * @brief Implementation of the URLRequest class and related classes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "linden_common.h" 34#include "linden_common.h"
diff --git a/linden/indra/llmessage/llurlrequest.h b/linden/indra/llmessage/llurlrequest.h
index 8aa1788..f335316 100644
--- a/linden/indra/llmessage/llurlrequest.h
+++ b/linden/indra/llmessage/llurlrequest.h
@@ -4,6 +4,8 @@
4 * @date 2005-04-21 4 * @date 2005-04-21
5 * @brief Declaration of url based requests on pipes. 5 * @brief Declaration of url based requests on pipes.
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#ifndef LL_LLURLREQUEST_H 34#ifndef LL_LLURLREQUEST_H
diff --git a/linden/indra/llmessage/lluseroperation.cpp b/linden/indra/llmessage/lluseroperation.cpp
index f43e02a..9ba70cc 100644
--- a/linden/indra/llmessage/lluseroperation.cpp
+++ b/linden/indra/llmessage/lluseroperation.cpp
@@ -2,6 +2,8 @@
2 * @file lluseroperation.cpp 2 * @file lluseroperation.cpp
3 * @brief LLUserOperation class definition. 3 * @brief LLUserOperation class definition.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/lluseroperation.h b/linden/indra/llmessage/lluseroperation.h
index 6ac2862..5006809 100644
--- a/linden/indra/llmessage/lluseroperation.h
+++ b/linden/indra/llmessage/lluseroperation.h
@@ -3,6 +3,8 @@
3 * @brief LLUserOperation class header file - used for message based 3 * @brief LLUserOperation class header file - used for message based
4 * transaction. For example, L$ transactions. 4 * transaction. For example, L$ transactions.
5 * 5 *
6 * $LicenseInfo:firstyear=2002&license=viewergpl$
7 *
6 * Copyright (c) 2002-2007, Linden Research, Inc. 8 * Copyright (c) 2002-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLUSEROPERATION_H 33#ifndef LL_LLUSEROPERATION_H
diff --git a/linden/indra/llmessage/llvehicleparams.h b/linden/indra/llmessage/llvehicleparams.h
index 946f88c..bfc2a4a 100644
--- a/linden/indra/llmessage/llvehicleparams.h
+++ b/linden/indra/llmessage/llvehicleparams.h
@@ -3,6 +3,8 @@
3 * @brief For parameter names that must be shared between the 3 * @brief For parameter names that must be shared between the
4 * scripting language and the LLVehicleAction class on the simulator. 4 * scripting language and the LLVehicleAction class on the simulator.
5 * 5 *
6 * $LicenseInfo:firstyear=2003&license=viewergpl$
7 *
6 * Copyright (c) 2003-2007, Linden Research, Inc. 8 * Copyright (c) 2003-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_VEHICLE_PARAMS_H 33#ifndef LL_VEHICLE_PARAMS_H
diff --git a/linden/indra/llmessage/llxfer.cpp b/linden/indra/llmessage/llxfer.cpp
index 4647980..fefb6f9 100644
--- a/linden/indra/llmessage/llxfer.cpp
+++ b/linden/indra/llmessage/llxfer.cpp
@@ -2,6 +2,8 @@
2 * @file llxfer.cpp 2 * @file llxfer.cpp
3 * @brief implementation of LLXfer class for a single xfer. 3 * @brief implementation of LLXfer class for a single xfer.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxfer.h b/linden/indra/llmessage/llxfer.h
index de93dba..017a521 100644
--- a/linden/indra/llmessage/llxfer.h
+++ b/linden/indra/llmessage/llxfer.h
@@ -2,6 +2,8 @@
2 * @file llxfer.h 2 * @file llxfer.h
3 * @brief definition of LLXfer class for a single xfer 3 * @brief definition of LLXfer class for a single xfer
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLXFER_H 32#ifndef LL_LLXFER_H
diff --git a/linden/indra/llmessage/llxfer_file.cpp b/linden/indra/llmessage/llxfer_file.cpp
index 7478316..caa418e 100644
--- a/linden/indra/llmessage/llxfer_file.cpp
+++ b/linden/indra/llmessage/llxfer_file.cpp
@@ -2,6 +2,8 @@
2 * @file llxfer_file.cpp 2 * @file llxfer_file.cpp
3 * @brief implementation of LLXfer_File class for a single xfer (file) 3 * @brief implementation of LLXfer_File class for a single xfer (file)
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxfer_file.h b/linden/indra/llmessage/llxfer_file.h
index 4d34acb..b87417d 100644
--- a/linden/indra/llmessage/llxfer_file.h
+++ b/linden/indra/llmessage/llxfer_file.h
@@ -2,6 +2,8 @@
2 * @file llxfer_file.h 2 * @file llxfer_file.h
3 * @brief definition of LLXfer_File class for a single xfer_file. 3 * @brief definition of LLXfer_File class for a single xfer_file.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,13 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLXFER_FILE_H 32#ifndef LL_LLXFER_FILE_H
30#define LL_LLXFER_FILE_H 33#define LL_LLXFER_FILE_H
31 34
32#include <stdio.h>
33
34#include "llxfer.h" 35#include "llxfer.h"
35#include "lldir.h" 36#include "lldir.h"
36 37
diff --git a/linden/indra/llmessage/llxfer_mem.cpp b/linden/indra/llmessage/llxfer_mem.cpp
index 223ce08..4c3b1bb 100644
--- a/linden/indra/llmessage/llxfer_mem.cpp
+++ b/linden/indra/llmessage/llxfer_mem.cpp
@@ -2,6 +2,8 @@
2 * @file llxfer_mem.cpp 2 * @file llxfer_mem.cpp
3 * @brief implementation of LLXfer_Mem class for a single xfer 3 * @brief implementation of LLXfer_Mem class for a single xfer
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxfer_mem.h b/linden/indra/llmessage/llxfer_mem.h
index 8523c7d..858b8d1 100644
--- a/linden/indra/llmessage/llxfer_mem.h
+++ b/linden/indra/llmessage/llxfer_mem.h
@@ -2,6 +2,8 @@
2 * @file llxfer_mem.h 2 * @file llxfer_mem.h
3 * @brief definition of LLXfer_Mem class for a single xfer 3 * @brief definition of LLXfer_Mem class for a single xfer
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,13 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLXFER_MEM_H 32#ifndef LL_LLXFER_MEM_H
30#define LL_LLXFER_MEM_H 33#define LL_LLXFER_MEM_H
31 34
32#include <stdio.h>
33
34#include "message.h" 35#include "message.h"
35#include "lltimer.h" 36#include "lltimer.h"
36#include "llxfer.h" 37#include "llxfer.h"
diff --git a/linden/indra/llmessage/llxfer_vfile.cpp b/linden/indra/llmessage/llxfer_vfile.cpp
index 54b9683..b870e53 100644
--- a/linden/indra/llmessage/llxfer_vfile.cpp
+++ b/linden/indra/llmessage/llxfer_vfile.cpp
@@ -2,6 +2,8 @@
2 * @file llxfer_vfile.cpp 2 * @file llxfer_vfile.cpp
3 * @brief implementation of LLXfer_VFile class for a single xfer (vfile). 3 * @brief implementation of LLXfer_VFile class for a single xfer (vfile).
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxfer_vfile.h b/linden/indra/llmessage/llxfer_vfile.h
index 1362749..5d57b08 100644
--- a/linden/indra/llmessage/llxfer_vfile.h
+++ b/linden/indra/llmessage/llxfer_vfile.h
@@ -2,6 +2,8 @@
2 * @file llxfer_vfile.h 2 * @file llxfer_vfile.h
3 * @brief definition of LLXfer_VFile class for a single xfer_vfile. 3 * @brief definition of LLXfer_VFile class for a single xfer_vfile.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,13 +26,12 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLXFER_VFILE_H 32#ifndef LL_LLXFER_VFILE_H
30#define LL_LLXFER_VFILE_H 33#define LL_LLXFER_VFILE_H
31 34
32#include <stdio.h>
33
34#include "llxfer.h" 35#include "llxfer.h"
35#include "llassetstorage.h" 36#include "llassetstorage.h"
36 37
diff --git a/linden/indra/llmessage/llxfermanager.cpp b/linden/indra/llmessage/llxfermanager.cpp
index b9a2c3e..c4dd340 100644
--- a/linden/indra/llmessage/llxfermanager.cpp
+++ b/linden/indra/llmessage/llxfermanager.cpp
@@ -2,6 +2,8 @@
2 * @file llxfermanager.cpp 2 * @file llxfermanager.cpp
3 * @brief implementation of LLXferManager class for a collection of xfers 3 * @brief implementation of LLXferManager class for a collection of xfers
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxfermanager.h b/linden/indra/llmessage/llxfermanager.h
index 62969d9..5d213bb 100644
--- a/linden/indra/llmessage/llxfermanager.h
+++ b/linden/indra/llmessage/llxfermanager.h
@@ -3,6 +3,8 @@
3 * @brief definition of LLXferManager class for a keeping track of 3 * @brief definition of LLXferManager class for a keeping track of
4 * multiple xfers 4 * multiple xfers
5 * 5 *
6 * $LicenseInfo:firstyear=2001&license=viewergpl$
7 *
6 * Copyright (c) 2001-2007, Linden Research, Inc. 8 * Copyright (c) 2001-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_LLXFERMANAGER_H 33#ifndef LL_LLXFERMANAGER_H
diff --git a/linden/indra/llmessage/llxorcipher.cpp b/linden/indra/llmessage/llxorcipher.cpp
index 042fbd4..c659d3f 100644
--- a/linden/indra/llmessage/llxorcipher.cpp
+++ b/linden/indra/llmessage/llxorcipher.cpp
@@ -2,6 +2,8 @@
2 * @file llxorcipher.cpp 2 * @file llxorcipher.cpp
3 * @brief Implementation of LLXORCipher 3 * @brief Implementation of LLXORCipher
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/llxorcipher.h b/linden/indra/llmessage/llxorcipher.h
index 16579a6..4c7a846 100644
--- a/linden/indra/llmessage/llxorcipher.h
+++ b/linden/indra/llmessage/llxorcipher.h
@@ -1,6 +1,8 @@
1/** 1/**
2 * @file llxorcipher.h 2 * @file llxorcipher.h
3 * 3 *
4 * $LicenseInfo:firstyear=2003&license=viewergpl$
5 *
4 * Copyright (c) 2003-2007, Linden Research, Inc. 6 * Copyright (c) 2003-2007, Linden Research, Inc.
5 * 7 *
6 * Second Life Viewer Source Code 8 * Second Life Viewer Source Code
@@ -23,6 +25,7 @@
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE. 27 * COMPLETENESS OR PERFORMANCE.
28 * $/LicenseInfo$
26 */ 29 */
27 30
28#ifndef LLXORCIPHER_H 31#ifndef LLXORCIPHER_H
diff --git a/linden/indra/llmessage/machine.h b/linden/indra/llmessage/machine.h
index b28e621..b210250 100644
--- a/linden/indra/llmessage/machine.h
+++ b/linden/indra/llmessage/machine.h
@@ -2,6 +2,8 @@
2 * @file machine.h 2 * @file machine.h
3 * @brief LLMachine class header file 3 * @brief LLMachine class header file
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MACHINE_H 32#ifndef LL_MACHINE_H
diff --git a/linden/indra/llmessage/mean_collision_data.h b/linden/indra/llmessage/mean_collision_data.h
index a319640..1643c30 100644
--- a/linden/indra/llmessage/mean_collision_data.h
+++ b/linden/indra/llmessage/mean_collision_data.h
@@ -3,6 +3,8 @@
3 * @brief data type to log interactions between stuff and agents that 3 * @brief data type to log interactions between stuff and agents that
4 * might be community standards violations 4 * might be community standards violations
5 * 5 *
6 * $LicenseInfo:firstyear=2000&license=viewergpl$
7 *
6 * Copyright (c) 2000-2007, Linden Research, Inc. 8 * Copyright (c) 2000-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,13 +27,14 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_MEAN_COLLISIONS_DATA_H 33#ifndef LL_MEAN_COLLISIONS_DATA_H
31#define LL_MEAN_COLLISIONS_DATA_H 34#define LL_MEAN_COLLISIONS_DATA_H
32 35
33#include <time.h>
34#include "lldbstrings.h" 36#include "lldbstrings.h"
37#include "lluuid.h"
35 38
36const F32 MEAN_COLLISION_TIMEOUT = 5.f; 39const F32 MEAN_COLLISION_TIMEOUT = 5.f;
37const S32 MAX_MEAN_COLLISIONS = 5; 40const S32 MAX_MEAN_COLLISIONS = 5;
diff --git a/linden/indra/llmessage/message.cpp b/linden/indra/llmessage/message.cpp
index 70b8166..e2cd19b 100644
--- a/linden/indra/llmessage/message.cpp
+++ b/linden/indra/llmessage/message.cpp
@@ -2,6 +2,8 @@
2 * @file message.cpp 2 * @file message.cpp
3 * @brief LLMessageSystem class implementation 3 * @brief LLMessageSystem class implementation
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -38,10 +41,6 @@
38#include <netinet/in.h> 41#include <netinet/in.h>
39#include <arpa/inet.h> 42#include <arpa/inet.h>
40#endif 43#endif
41#include <stdio.h>
42#include <stdlib.h>
43#include <cstring>
44#include <time.h>
45#include <iomanip> 44#include <iomanip>
46#include <iterator> 45#include <iterator>
47#include <sstream> 46#include <sstream>
@@ -375,8 +374,8 @@ void LLMessageSystem::loadTemplateFile(const char* filename)
375 return; 374 return;
376 } 375 }
377 376
378 LLString template_body; 377 std::string template_body;
379 if(!LLString::read(template_body, filename)) 378 if(!_read_file_into_string(template_body, filename))
380 { 379 {
381 llwarns << "Failed to open template: " << filename << llendl; 380 llwarns << "Failed to open template: " << filename << llendl;
382 mbError = TRUE; 381 mbError = TRUE;
@@ -1155,9 +1154,11 @@ LLHTTPClient::ResponderPtr LLMessageSystem::createResponder(const std::string& n
1155 } 1154 }
1156 else 1155 else
1157 { 1156 {
1158 llwarns << "LLMessageSystem::sendMessage: Sending unreliable " 1157 // These messages aren't really unreliable, they just weren't
1159 << mMessageBuilder->getMessageName() << " message via HTTP" 1158 // explicitly sent as reliable, so they don't have a callback
1160 << llendl; 1159// llwarns << "LLMessageSystem::sendMessage: Sending unreliable "
1160// << mMessageBuilder->getMessageName() << " message via HTTP"
1161// << llendl;
1161 return new LLFnPtrResponder(NULL, NULL, 1162 return new LLFnPtrResponder(NULL, NULL,
1162 mMessageBuilder->getMessageName()); 1163 mMessageBuilder->getMessageName());
1163 } 1164 }
@@ -2403,8 +2404,8 @@ void dump_prehash_files()
2403 " * @file message_prehash.h\n" 2404 " * @file message_prehash.h\n"
2404 " * @brief header file of externs of prehashed variables plus defines.\n" 2405 " * @brief header file of externs of prehashed variables plus defines.\n"
2405 " *\n" 2406 " *\n"
2406 " * Copyright (c) 2003-$CurrentYear$, Linden Research, Inc.\n" 2407 " * $LicenseInfo:firstyear=2003&license=viewergpl$"
2407 " * $License$\n" 2408 " * $/LicenseInfo$"
2408 " */\n\n" 2409 " */\n\n"
2409 "#ifndef LL_MESSAGE_PREHASH_H\n#define LL_MESSAGE_PREHASH_H\n\n"); 2410 "#ifndef LL_MESSAGE_PREHASH_H\n#define LL_MESSAGE_PREHASH_H\n\n");
2410 fprintf( 2411 fprintf(
@@ -2435,8 +2436,8 @@ void dump_prehash_files()
2435 " * @file message_prehash.cpp\n" 2436 " * @file message_prehash.cpp\n"
2436 " * @brief file of prehashed variables\n" 2437 " * @brief file of prehashed variables\n"
2437 " *\n" 2438 " *\n"
2438 " * Copyright (c) 2003-$CurrentYear$, Linden Research, Inc.\n" 2439 " * $LicenseInfo:firstyear=2003&license=viewergpl$"
2439 " * $License$\n" 2440 " * $/LicenseInfo$"
2440 " */\n\n" 2441 " */\n\n"
2441 "/**\n" 2442 "/**\n"
2442 " * Generated from message template version number %.3f\n" 2443 " * Generated from message template version number %.3f\n"
diff --git a/linden/indra/llmessage/message.h b/linden/indra/llmessage/message.h
index d18bd09..4454b40 100644
--- a/linden/indra/llmessage/message.h
+++ b/linden/indra/llmessage/message.h
@@ -2,6 +2,8 @@
2 * @file message.h 2 * @file message.h
3 * @brief LLMessageSystem class header file 3 * @brief LLMessageSystem class header file
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,14 +26,13 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MESSAGE_H 32#ifndef LL_MESSAGE_H
30#define LL_MESSAGE_H 33#define LL_MESSAGE_H
31 34
32#include <cstring> 35#include <cstring>
33#include <stdio.h>
34#include <map>
35#include <set> 36#include <set>
36 37
37#if LL_LINUX 38#if LL_LINUX
diff --git a/linden/indra/llmessage/message_prehash.cpp b/linden/indra/llmessage/message_prehash.cpp
index ce532e1..0185c0f 100644
--- a/linden/indra/llmessage/message_prehash.cpp
+++ b/linden/indra/llmessage/message_prehash.cpp
@@ -2,6 +2,8 @@
2 * @file message_prehash.cpp 2 * @file message_prehash.cpp
3 * @brief file of prehashed variables 3 * @brief file of prehashed variables
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29/** 32/**
diff --git a/linden/indra/llmessage/message_prehash.h b/linden/indra/llmessage/message_prehash.h
index 672cd14..2cea924 100644
--- a/linden/indra/llmessage/message_prehash.h
+++ b/linden/indra/llmessage/message_prehash.h
@@ -2,6 +2,8 @@
2 * @file message_prehash.h 2 * @file message_prehash.h
3 * @brief header file of externs of prehashed variables plus defines. 3 * @brief header file of externs of prehashed variables plus defines.
4 * 4 *
5 * $LicenseInfo:firstyear=2003&license=viewergpl$
6 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 7 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MESSAGE_PREHASH_H 32#ifndef LL_MESSAGE_PREHASH_H
diff --git a/linden/indra/llmessage/message_string_table.cpp b/linden/indra/llmessage/message_string_table.cpp
index 2ae269b..bc44239 100644
--- a/linden/indra/llmessage/message_string_table.cpp
+++ b/linden/indra/llmessage/message_string_table.cpp
@@ -2,6 +2,8 @@
2 * @file message_string_table.cpp 2 * @file message_string_table.cpp
3 * @brief static string table for message template 3 * @brief static string table for message template
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/net.cpp b/linden/indra/llmessage/net.cpp
index 92efd15..50b3414 100644
--- a/linden/indra/llmessage/net.cpp
+++ b/linden/indra/llmessage/net.cpp
@@ -2,6 +2,8 @@
2 * @file net.cpp 2 * @file net.cpp
3 * @brief Cross-platform routines for sending and receiving packets. 3 * @brief Cross-platform routines for sending and receiving packets.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -32,7 +35,6 @@
32 35
33// system library includes 36// system library includes
34#include <stdexcept> 37#include <stdexcept>
35#include <stdio.h>
36 38
37#if LL_WINDOWS 39#if LL_WINDOWS
38 #define WIN32_LEAN_AND_MEAN 40 #define WIN32_LEAN_AND_MEAN
diff --git a/linden/indra/llmessage/net.h b/linden/indra/llmessage/net.h
index cfc1f88..b6fa48d 100644
--- a/linden/indra/llmessage/net.h
+++ b/linden/indra/llmessage/net.h
@@ -2,6 +2,8 @@
2 * @file net.h 2 * @file net.h
3 * @brief Cross platform UDP network code. 3 * @brief Cross platform UDP network code.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_NET_H 32#ifndef LL_NET_H
diff --git a/linden/indra/llmessage/network.cpp b/linden/indra/llmessage/network.cpp
index 03aad63..ab3df02 100644
--- a/linden/indra/llmessage/network.cpp
+++ b/linden/indra/llmessage/network.cpp
@@ -2,6 +2,8 @@
2 * @file network.cpp 2 * @file network.cpp
3 * @brief Legacy file 3 * @brief Legacy file
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,5 +26,6 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
diff --git a/linden/indra/llmessage/network.h b/linden/indra/llmessage/network.h
index 6c6577b..8a1111d 100644
--- a/linden/indra/llmessage/network.h
+++ b/linden/indra/llmessage/network.h
@@ -2,6 +2,8 @@
2 * @file network.h 2 * @file network.h
3 * @brief Legacy file. 3 * @brief Legacy file.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,5 +26,6 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
diff --git a/linden/indra/llmessage/partsyspacket.cpp b/linden/indra/llmessage/partsyspacket.cpp
index 4750faa..d27c069 100644
--- a/linden/indra/llmessage/partsyspacket.cpp
+++ b/linden/indra/llmessage/partsyspacket.cpp
@@ -3,6 +3,8 @@
3 * @brief Object for packing particle system initialization parameters 3 * @brief Object for packing particle system initialization parameters
4 * before sending them over the network. 4 * before sending them over the network.
5 * 5 *
6 * $LicenseInfo:firstyear=2000&license=viewergpl$
7 *
6 * Copyright (c) 2000-2007, Linden Research, Inc. 8 * Copyright (c) 2000-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "linden_common.h" 33#include "linden_common.h"
diff --git a/linden/indra/llmessage/partsyspacket.h b/linden/indra/llmessage/partsyspacket.h
index 5dbc41c..c7d001c 100644
--- a/linden/indra/llmessage/partsyspacket.h
+++ b/linden/indra/llmessage/partsyspacket.h
@@ -3,6 +3,8 @@
3 * @brief Object for packing particle system initialization parameters 3 * @brief Object for packing particle system initialization parameters
4 * before sending them over the network 4 * before sending them over the network
5 * 5 *
6 * $LicenseInfo:firstyear=2000&license=viewergpl$
7 *
6 * Copyright (c) 2000-2007, Linden Research, Inc. 8 * Copyright (c) 2000-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#ifndef LL_PARTSYSPACKET_H 33#ifndef LL_PARTSYSPACKET_H
diff --git a/linden/indra/llmessage/patch_code.cpp b/linden/indra/llmessage/patch_code.cpp
index c996899..cea8635 100644
--- a/linden/indra/llmessage/patch_code.cpp
+++ b/linden/indra/llmessage/patch_code.cpp
@@ -2,6 +2,8 @@
2 * @file patch_code.cpp 2 * @file patch_code.cpp
3 * @brief Encode patch DCT data into bitcode. 3 * @brief Encode patch DCT data into bitcode.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/patch_code.h b/linden/indra/llmessage/patch_code.h
index ba3dea4..f8ee39c 100644
--- a/linden/indra/llmessage/patch_code.h
+++ b/linden/indra/llmessage/patch_code.h
@@ -2,6 +2,8 @@
2 * @file patch_code.h 2 * @file patch_code.h
3 * @brief Function declarations for encoding and decoding patches. 3 * @brief Function declarations for encoding and decoding patches.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_PATCH_CODE_H 32#ifndef LL_PATCH_CODE_H
diff --git a/linden/indra/llmessage/patch_dct.cpp b/linden/indra/llmessage/patch_dct.cpp
index 0e8aa25..69f6a2d 100644
--- a/linden/indra/llmessage/patch_dct.cpp
+++ b/linden/indra/llmessage/patch_dct.cpp
@@ -2,6 +2,8 @@
2 * @file patch_dct.cpp 2 * @file patch_dct.cpp
3 * @brief DCT patch. 3 * @brief DCT patch.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/patch_dct.h b/linden/indra/llmessage/patch_dct.h
index b69249e..b6e7ba4 100644
--- a/linden/indra/llmessage/patch_dct.h
+++ b/linden/indra/llmessage/patch_dct.h
@@ -2,6 +2,8 @@
2 * @file patch_dct.h 2 * @file patch_dct.h
3 * @brief Function declarations for DCT and IDCT routines 3 * @brief Function declarations for DCT and IDCT routines
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_PATCH_DCT_H 32#ifndef LL_PATCH_DCT_H
diff --git a/linden/indra/llmessage/patch_idct.cpp b/linden/indra/llmessage/patch_idct.cpp
index 680003a..61c10bd 100644
--- a/linden/indra/llmessage/patch_idct.cpp
+++ b/linden/indra/llmessage/patch_idct.cpp
@@ -2,6 +2,8 @@
2 * @file patch_idct.cpp 2 * @file patch_idct.cpp
3 * @brief IDCT patch. 3 * @brief IDCT patch.
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llmessage/sound_ids.h b/linden/indra/llmessage/sound_ids.h
index 2652778..a8efdae 100644
--- a/linden/indra/llmessage/sound_ids.h
+++ b/linden/indra/llmessage/sound_ids.h
@@ -2,6 +2,8 @@
2 * @file sound_ids.h 2 * @file sound_ids.h
3 * @brief Temporary holder for sound IDs. 3 * @brief Temporary holder for sound IDs.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_SOUND_IDS_H 32#ifndef LL_SOUND_IDS_H