aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:37 -0500
committerJacek Antonelli2008-08-15 23:45:37 -0500
commit31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch)
treec4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/llmessage
parentSecond Life viewer sources 1.19.1.1 (diff)
downloadmeta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz
Second Life viewer sources 1.19.1.2
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llblowfishcipher.cpp3
-rw-r--r--linden/indra/llmessage/llcurl.h9
-rw-r--r--linden/indra/llmessage/llhttpnode.cpp8
-rw-r--r--linden/indra/llmessage/llhttpnode.h2
-rw-r--r--linden/indra/llmessage/llpartdata.cpp4
-rw-r--r--linden/indra/llmessage/llpartdata.h5
6 files changed, 12 insertions, 19 deletions
diff --git a/linden/indra/llmessage/llblowfishcipher.cpp b/linden/indra/llmessage/llblowfishcipher.cpp
index cdaa096..45ff045 100644
--- a/linden/indra/llmessage/llblowfishcipher.cpp
+++ b/linden/indra/llmessage/llblowfishcipher.cpp
@@ -2,9 +2,6 @@
2 * @file llblowfishcipher.cpp 2 * @file llblowfishcipher.cpp
3 * @brief Wrapper around OpenSSL Blowfish encryption algorithm. 3 * @brief Wrapper around OpenSSL Blowfish encryption algorithm.
4 * 4 *
5 * We do not have OpenSSL headers or libraries on Windows, so this
6 * class only works on Linux.
7 *
8 * $LicenseInfo:firstyear=2007&license=viewergpl$ 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
9 * 6 *
10 * Copyright (c) 2007-2008, Linden Research, Inc. 7 * Copyright (c) 2007-2008, Linden Research, Inc.
diff --git a/linden/indra/llmessage/llcurl.h b/linden/indra/llmessage/llcurl.h
index 3d9770b..2737f6e 100644
--- a/linden/indra/llmessage/llcurl.h
+++ b/linden/indra/llmessage/llcurl.h
@@ -150,13 +150,10 @@ public:
150 static std::vector<LLMutex*> sSSLMutex; 150 static std::vector<LLMutex*> sSSLMutex;
151 151
152 // OpenSSL callbacks 152 // OpenSSL callbacks
153 static void LLCurl::ssl_locking_callback(int mode, int type, const char *file, int line); 153 static void ssl_locking_callback(int mode, int type, const char *file, int line);
154 static unsigned long LLCurl::ssl_thread_id(void); 154 static unsigned long ssl_thread_id(void);
155
156
157
158private:
159 155
156private:
160 static std::string sCAPath; 157 static std::string sCAPath;
161 static std::string sCAFile; 158 static std::string sCAFile;
162}; 159};
diff --git a/linden/indra/llmessage/llhttpnode.cpp b/linden/indra/llmessage/llhttpnode.cpp
index afd27e9..540b507 100644
--- a/linden/indra/llmessage/llhttpnode.cpp
+++ b/linden/indra/llmessage/llhttpnode.cpp
@@ -169,15 +169,9 @@ void LLHTTPNode::del(LLHTTPNode::ResponsePtr response, const LLSD& context) cons
169} 169}
170 170
171// virtual 171// virtual
172LLSD LLHTTPNode::del() const
173{
174 throw NotImplemented();
175}
176
177// virtual
178LLSD LLHTTPNode::del(const LLSD&) const 172LLSD LLHTTPNode::del(const LLSD&) const
179{ 173{
180 return del(); 174 throw NotImplemented();
181} 175}
182 176
183 177
diff --git a/linden/indra/llmessage/llhttpnode.h b/linden/indra/llmessage/llhttpnode.h
index b4d4aed..7d9cb95 100644
--- a/linden/indra/llmessage/llhttpnode.h
+++ b/linden/indra/llmessage/llhttpnode.h
@@ -86,7 +86,6 @@ public:
86 virtual LLSD put(const LLSD& input) const; 86 virtual LLSD put(const LLSD& input) const;
87 virtual LLSD post(const LLSD& input) const; 87 virtual LLSD post(const LLSD& input) const;
88 88
89 virtual LLSD del() const;
90 virtual LLSD del(const LLSD& context) const; 89 virtual LLSD del(const LLSD& context) const;
91 90
92 class Response : public LLRefCount 91 class Response : public LLRefCount
@@ -109,6 +108,7 @@ public:
109 virtual void get(ResponsePtr, const LLSD& context) const; 108 virtual void get(ResponsePtr, const LLSD& context) const;
110 virtual void put(ResponsePtr, const LLSD& context, const LLSD& input) const; 109 virtual void put(ResponsePtr, const LLSD& context, const LLSD& input) const;
111 virtual void post(ResponsePtr, const LLSD& context, const LLSD& input) const; 110 virtual void post(ResponsePtr, const LLSD& context, const LLSD& input) const;
111
112 virtual void del(ResponsePtr, const LLSD& context) const; 112 virtual void del(ResponsePtr, const LLSD& context) const;
113 //@} 113 //@}
114 114
diff --git a/linden/indra/llmessage/llpartdata.cpp b/linden/indra/llmessage/llpartdata.cpp
index 606abd0..b77536d 100644
--- a/linden/indra/llmessage/llpartdata.cpp
+++ b/linden/indra/llmessage/llpartdata.cpp
@@ -155,6 +155,8 @@ void LLPartData::setEndAlpha(const F32 alpha)
155LLPartSysData::LLPartSysData() 155LLPartSysData::LLPartSysData()
156{ 156{
157 mCRC = 0; 157 mCRC = 0;
158 mFlags = 0;
159
158 mPartData.mFlags = 0; 160 mPartData.mFlags = 0;
159 mPartData.mStartColor = LLColor4(1.f, 1.f, 1.f, 1.f); 161 mPartData.mStartColor = LLColor4(1.f, 1.f, 1.f, 1.f);
160 mPartData.mEndColor = LLColor4(1.f, 1.f, 1.f, 1.f); 162 mPartData.mEndColor = LLColor4(1.f, 1.f, 1.f, 1.f);
@@ -172,6 +174,8 @@ LLPartSysData::LLPartSysData()
172 mBurstSpeedMin = 1.f; // Minimum particle velocity 174 mBurstSpeedMin = 1.f; // Minimum particle velocity
173 mBurstSpeedMax = 1.f; // Maximum particle velocity 175 mBurstSpeedMax = 1.f; // Maximum particle velocity
174 mBurstRadius = 0.f; 176 mBurstRadius = 0.f;
177
178 mNumParticles = 0;
175} 179}
176 180
177 181
diff --git a/linden/indra/llmessage/llpartdata.h b/linden/indra/llmessage/llpartdata.h
index 216e547..82757ec 100644
--- a/linden/indra/llmessage/llpartdata.h
+++ b/linden/indra/llmessage/llpartdata.h
@@ -84,7 +84,8 @@ class LLPartData
84public: 84public:
85 LLPartData() : 85 LLPartData() :
86 mFlags(0), 86 mFlags(0),
87 mMaxAge(0) 87 mMaxAge(0.f),
88 mParameter(0.f)
88 { 89 {
89 } 90 }
90 BOOL unpack(LLDataPacker &dp); 91 BOOL unpack(LLDataPacker &dp);
@@ -108,7 +109,7 @@ public:
108 LL_PART_BEAM_MASK = 0x200, // Particle is a "beam" connecting source and target 109 LL_PART_BEAM_MASK = 0x200, // Particle is a "beam" connecting source and target
109 110
110 // Not implemented yet! 111 // Not implemented yet!
111 //LL_PART_RANDOM_ACCEL_MASK = 0x100, // Patricles have random accelearation 112 //LL_PART_RANDOM_ACCEL_MASK = 0x100, // Particles have random acceleration
112 //LL_PART_RANDOM_VEL_MASK = 0x200, // Particles have random velocity shifts" 113 //LL_PART_RANDOM_VEL_MASK = 0x200, // Particles have random velocity shifts"
113 //LL_PART_TRAIL_MASK = 0x400, // Particles have historical "trails" 114 //LL_PART_TRAIL_MASK = 0x400, // Particles have historical "trails"
114 115