Trivial changes, mostly to clean up diff noise. Majority of changes are comment corrections or licenseinfo updates. (does not include newview directory)
This commit is contained in:
@@ -194,9 +194,9 @@ public:
|
||||
// Assumes you have already called nextBlock().
|
||||
virtual void packMessage(LLMessageSystem* msg) const;
|
||||
|
||||
// unpack returns TRUE if the inventory item came through the
|
||||
// network ok. It uses a simple crc check which is defeatable, but
|
||||
// we want to detect network mangling somehow.
|
||||
// Returns TRUE if the inventory item came through the network correctly.
|
||||
// Uses a simple crc check which is defeatable, but we want to detect
|
||||
// network mangling somehow.
|
||||
virtual BOOL unpackMessage(LLMessageSystem* msg, const char* block, S32 block_num = 0);
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
@@ -235,9 +235,8 @@ protected:
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Class LLInventoryCategory
|
||||
//
|
||||
// An instance of this class represents a category of inventory
|
||||
// items. Users come with a set of default categories, and can create
|
||||
// new ones as needed.
|
||||
// A category/folder of inventory items. Users come with a set of default
|
||||
// categories, and can create new ones as needed.
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
class LLInventoryCategory : public LLInventoryObject
|
||||
{
|
||||
|
||||
@@ -2,31 +2,25 @@
|
||||
* @file llinventorytype.cpp
|
||||
* @brief Inventory item type, more specific than an asset type.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2001&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2001-2009, Linden Research, Inc.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
* Copyright (C) 2010, Linden Research, Inc.
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License only.
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
@@ -98,30 +92,31 @@ LLInventoryDictionary::LLInventoryDictionary()
|
||||
static const LLInventoryType::EType
|
||||
DEFAULT_ASSET_FOR_INV_TYPE[LLAssetType::AT_COUNT] =
|
||||
{
|
||||
LLInventoryType::IT_TEXTURE, // AT_TEXTURE
|
||||
LLInventoryType::IT_SOUND, // AT_SOUND
|
||||
LLInventoryType::IT_CALLINGCARD, // AT_CALLINGCARD
|
||||
LLInventoryType::IT_LANDMARK, // AT_LANDMARK
|
||||
LLInventoryType::IT_LSL, // AT_SCRIPT
|
||||
LLInventoryType::IT_WEARABLE, // AT_CLOTHING
|
||||
LLInventoryType::IT_OBJECT, // AT_OBJECT
|
||||
LLInventoryType::IT_NOTECARD, // AT_NOTECARD
|
||||
LLInventoryType::IT_CATEGORY, // AT_CATEGORY
|
||||
LLInventoryType::IT_ROOT_CATEGORY, // AT_ROOT_CATEGORY
|
||||
LLInventoryType::IT_LSL, // AT_LSL_TEXT
|
||||
LLInventoryType::IT_LSL, // AT_LSL_BYTECODE
|
||||
LLInventoryType::IT_TEXTURE, // AT_TEXTURE_TGA
|
||||
LLInventoryType::IT_WEARABLE, // AT_BODYPART
|
||||
LLInventoryType::IT_CATEGORY, // AT_TRASH
|
||||
LLInventoryType::IT_CATEGORY, // AT_SNAPSHOT_CATEGORY
|
||||
LLInventoryType::IT_CATEGORY, // AT_LOST_AND_FOUND
|
||||
LLInventoryType::IT_SOUND, // AT_SOUND_WAV
|
||||
LLInventoryType::IT_NONE, // AT_IMAGE_TGA
|
||||
LLInventoryType::IT_NONE, // AT_IMAGE_JPEG
|
||||
LLInventoryType::IT_ANIMATION, // AT_ANIMATION
|
||||
LLInventoryType::IT_GESTURE, // AT_GESTURE
|
||||
LLInventoryType::IT_NONE, // AT_SIMSTATE
|
||||
LLInventoryType::IT_NONE, // AT_FAVORITE
|
||||
LLInventoryType::IT_TEXTURE, // 0 AT_TEXTURE
|
||||
LLInventoryType::IT_SOUND, // 1 AT_SOUND
|
||||
LLInventoryType::IT_CALLINGCARD, // 2 AT_CALLINGCARD
|
||||
LLInventoryType::IT_LANDMARK, // 3 AT_LANDMARK
|
||||
LLInventoryType::IT_LSL, // 4 AT_SCRIPT
|
||||
LLInventoryType::IT_WEARABLE, // 5 AT_CLOTHING
|
||||
LLInventoryType::IT_OBJECT, // 6 AT_OBJECT
|
||||
LLInventoryType::IT_NOTECARD, // 7 AT_NOTECARD
|
||||
LLInventoryType::IT_CATEGORY, // 8 AT_CATEGORY
|
||||
LLInventoryType::IT_ROOT_CATEGORY, // 9 AT_ROOT_CATEGORY
|
||||
LLInventoryType::IT_LSL, // 10 AT_LSL_TEXT
|
||||
LLInventoryType::IT_LSL, // 11 AT_LSL_BYTECODE
|
||||
LLInventoryType::IT_TEXTURE, // 12 AT_TEXTURE_TGA
|
||||
LLInventoryType::IT_WEARABLE, // 13 AT_BODYPART
|
||||
LLInventoryType::IT_CATEGORY, // 14 AT_TRASH
|
||||
LLInventoryType::IT_CATEGORY, // 15 AT_SNAPSHOT_CATEGORY
|
||||
LLInventoryType::IT_CATEGORY, // 16 AT_LOST_AND_FOUND
|
||||
LLInventoryType::IT_SOUND, // 17 AT_SOUND_WAV
|
||||
LLInventoryType::IT_NONE, // 18 AT_IMAGE_TGA
|
||||
LLInventoryType::IT_NONE, // 19 AT_IMAGE_JPEG
|
||||
LLInventoryType::IT_ANIMATION, // 20 AT_ANIMATION
|
||||
LLInventoryType::IT_GESTURE, // 21 AT_GESTURE
|
||||
LLInventoryType::IT_NONE, // 22 AT_SIMSTATE
|
||||
|
||||
LLInventoryType::IT_NONE, // 23 AT_LINK
|
||||
LLInventoryType::IT_NONE, // 24 AT_LINK_FOLDER
|
||||
|
||||
LLInventoryType::IT_NONE, // 25 AT_NONE
|
||||
@@ -148,7 +143,7 @@ DEFAULT_ASSET_FOR_INV_TYPE[LLAssetType::AT_COUNT] =
|
||||
LLInventoryType::IT_NONE, // 46 AT_NONE
|
||||
LLInventoryType::IT_NONE, // 47 AT_NONE
|
||||
LLInventoryType::IT_NONE, // 48 AT_NONE
|
||||
LLInventoryType::IT_MESH // 49 AT_MESH
|
||||
LLInventoryType::IT_MESH, // 49 AT_MESH
|
||||
};
|
||||
|
||||
// static
|
||||
|
||||
@@ -2,31 +2,25 @@
|
||||
* @file llinventorytype.h
|
||||
* @brief Inventory item type, more specific than an asset type.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2001&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2001-2009, Linden Research, Inc.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
* Copyright (C) 2010, Linden Research, Inc.
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License only.
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
@@ -67,7 +61,6 @@ public:
|
||||
IT_WEARABLE = 18,
|
||||
IT_ANIMATION = 19,
|
||||
IT_GESTURE = 20,
|
||||
|
||||
IT_MESH = 22,
|
||||
IT_COUNT = 23,
|
||||
|
||||
@@ -139,7 +132,7 @@ private:
|
||||
~LLInventoryType( void );
|
||||
};
|
||||
|
||||
// helper function which returns true if inventory type and asset type
|
||||
// helper function that returns true if inventory type and asset type
|
||||
// are potentially compatible. For example, an attachment must be an
|
||||
// object, but a wearable can be a bodypart or clothing asset.
|
||||
bool inventory_and_asset_types_match(LLInventoryType::EType inventory_type,
|
||||
|
||||
@@ -2,31 +2,25 @@
|
||||
* @file llparcel.cpp
|
||||
* @brief A land parcel.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2002&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2002-2009, Linden Research, Inc.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2002&license=viewerlgpl$
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
* Copyright (C) 2010, Linden Research, Inc.
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License only.
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
@@ -718,6 +712,7 @@ void LLParcel::unpackMessage(LLMessageSystem* msg)
|
||||
msg->getS32("MediaData", "MediaWidth", mMediaWidth);
|
||||
msg->getS32("MediaData", "MediaHeight", mMediaHeight);
|
||||
msg->getU8 ( "MediaData", "MediaLoop", mMediaLoop );
|
||||
// the ObscureMedia and ObscureMusic flags previously set here are no longer used
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -3,31 +3,25 @@
|
||||
* @brief Some exported symbols and functions for dealing with
|
||||
* transaction flags.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2003&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2003-2009, Linden Research, Inc.
|
||||
*
|
||||
* $LicenseInfo:firstyear=2003&license=viewerlgpl$
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
* Copyright (C) 2010, Linden Research, Inc.
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* version 2.1 of the License only.
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user