diff options
Diffstat (limited to 'linden/indra/llinventory')
23 files changed, 49 insertions, 25 deletions
diff --git a/linden/indra/llinventory/llcategory.cpp b/linden/indra/llinventory/llcategory.cpp index e27733c..93f86f9 100644 --- a/linden/indra/llinventory/llcategory.cpp +++ b/linden/indra/llinventory/llcategory.cpp | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llcategory.h b/linden/indra/llinventory/llcategory.h index f566987..ed28a7f 100644 --- a/linden/indra/llinventory/llcategory.h +++ b/linden/indra/llinventory/llcategory.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lleconomy.cpp b/linden/indra/llinventory/lleconomy.cpp index 2337a3e..837acfe 100644 --- a/linden/indra/llinventory/lleconomy.cpp +++ b/linden/indra/llinventory/lleconomy.cpp | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -170,6 +171,11 @@ void LLRegionEconomy::processEconomyData(LLMessageSystem *msg, void** user_data) | |||
170 | void LLRegionEconomy::processEconomyDataRequest(LLMessageSystem *msg, void **user_data) | 171 | void LLRegionEconomy::processEconomyDataRequest(LLMessageSystem *msg, void **user_data) |
171 | { | 172 | { |
172 | LLRegionEconomy *this_ptr = (LLRegionEconomy*)user_data; | 173 | LLRegionEconomy *this_ptr = (LLRegionEconomy*)user_data; |
174 | if (!this_ptr->hasData()) | ||
175 | { | ||
176 | llwarns << "Dropping EconomyDataRequest, because EconomyData message " | ||
177 | << "has not been processed" << llendl; | ||
178 | } | ||
173 | 179 | ||
174 | msg->newMessageFast(_PREHASH_EconomyData); | 180 | msg->newMessageFast(_PREHASH_EconomyData); |
175 | msg->nextBlockFast(_PREHASH_Info); | 181 | msg->nextBlockFast(_PREHASH_Info); |
diff --git a/linden/indra/llinventory/lleconomy.h b/linden/indra/llinventory/lleconomy.h index 7690142..b381663 100644 --- a/linden/indra/llinventory/lleconomy.h +++ b/linden/indra/llinventory/lleconomy.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llinventory.cpp b/linden/indra/llinventory/llinventory.cpp index c5be7f7..85fc47f 100644 --- a/linden/indra/llinventory/llinventory.cpp +++ b/linden/indra/llinventory/llinventory.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -1101,7 +1102,7 @@ BOOL LLInventoryItem::exportLegacyStream(std::ostream& output_stream, BOOL inclu | |||
1101 | if(inv_type_str) | 1102 | if(inv_type_str) |
1102 | output_stream << "\t\tinv_type\t" << inv_type_str << "\n"; | 1103 | output_stream << "\t\tinv_type\t" << inv_type_str << "\n"; |
1103 | char buffer[32]; /* Flawfinder: ignore */ | 1104 | char buffer[32]; /* Flawfinder: ignore */ |
1104 | snprintf(buffer, sizeof(buffer), "\t\tflags\t%08x\n", mFlags); /* Flawfinder: ignore */ | 1105 | snprintf(buffer, sizeof(buffer), "\t\tflags\t%08x\n", mFlags); /* Flawfinder: ignore */ |
1105 | output_stream << buffer; | 1106 | output_stream << buffer; |
1106 | mSaleInfo.exportLegacyStream(output_stream); | 1107 | mSaleInfo.exportLegacyStream(output_stream); |
1107 | output_stream << "\t\tname\t" << mName.c_str() << "|\n"; | 1108 | output_stream << "\t\tname\t" << mName.c_str() << "|\n"; |
@@ -1791,7 +1792,17 @@ LLPointer<LLInventoryItem> ll_create_item_from_sd(const LLSD& sd_item) | |||
1791 | rv->rename(sd_item[INV_NAME_LABEL].asString()); | 1792 | rv->rename(sd_item[INV_NAME_LABEL].asString()); |
1792 | rv->setType( | 1793 | rv->setType( |
1793 | LLAssetType::lookup(sd_item[INV_ASSET_TYPE_LABEL].asString().c_str())); | 1794 | LLAssetType::lookup(sd_item[INV_ASSET_TYPE_LABEL].asString().c_str())); |
1794 | rv->setAssetUUID(sd_item[INV_ASSET_ID_LABEL].asUUID()); | 1795 | if (sd_item.has("shadow_id")) |
1796 | { | ||
1797 | LLUUID asset_id = sd_item["shadow_id"]; | ||
1798 | LLXORCipher cipher(MAGIC_ID.mData, UUID_BYTES); | ||
1799 | cipher.decrypt(asset_id.mData, UUID_BYTES); | ||
1800 | rv->setAssetUUID(asset_id); | ||
1801 | } | ||
1802 | if (sd_item.has(INV_ASSET_ID_LABEL)) | ||
1803 | { | ||
1804 | rv->setAssetUUID(sd_item[INV_ASSET_ID_LABEL].asUUID()); | ||
1805 | } | ||
1795 | rv->setDescription(sd_item[INV_DESC_LABEL].asString()); | 1806 | rv->setDescription(sd_item[INV_DESC_LABEL].asString()); |
1796 | rv->setSaleInfo(ll_sale_info_from_sd(sd_item[INV_SALE_INFO_LABEL])); | 1807 | rv->setSaleInfo(ll_sale_info_from_sd(sd_item[INV_SALE_INFO_LABEL])); |
1797 | rv->setPermissions(ll_permissions_from_sd(sd_item[INV_PERMISSIONS_LABEL])); | 1808 | rv->setPermissions(ll_permissions_from_sd(sd_item[INV_PERMISSIONS_LABEL])); |
diff --git a/linden/indra/llinventory/llinventory.h b/linden/indra/llinventory/llinventory.h index fc135de..6e64412 100644 --- a/linden/indra/llinventory/llinventory.h +++ b/linden/indra/llinventory/llinventory.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -214,6 +215,10 @@ public: | |||
214 | II_FLAGS_OBJECT_PERM_OVERWRITE_EVERYONE = 0x080000, | 215 | II_FLAGS_OBJECT_PERM_OVERWRITE_EVERYONE = 0x080000, |
215 | II_FLAGS_OBJECT_PERM_OVERWRITE_NEXT_OWNER = 0x100000, | 216 | II_FLAGS_OBJECT_PERM_OVERWRITE_NEXT_OWNER = 0x100000, |
216 | 217 | ||
218 | // flag to indicate whether an object that is returned is composed | ||
219 | // of muiltiple items or not. | ||
220 | II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS = 0x200000, | ||
221 | |||
217 | // wearables use the low order byte of flags to store the | 222 | // wearables use the low order byte of flags to store the |
218 | // EWearableType enumeration found in newview/llwearable.h | 223 | // EWearableType enumeration found in newview/llwearable.h |
219 | }; | 224 | }; |
diff --git a/linden/indra/llinventory/lllandmark.cpp b/linden/indra/llinventory/lllandmark.cpp index c153d68..ae7a991 100644 --- a/linden/indra/llinventory/lllandmark.cpp +++ b/linden/indra/llinventory/lllandmark.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lllandmark.h b/linden/indra/llinventory/lllandmark.h index eea0600..69c377a 100644 --- a/linden/indra/llinventory/lllandmark.h +++ b/linden/indra/llinventory/lllandmark.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llnotecard.cpp b/linden/indra/llinventory/llnotecard.cpp index d40cabb..47dd690 100644 --- a/linden/indra/llinventory/llnotecard.cpp +++ b/linden/indra/llinventory/llnotecard.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | 5 | * Copyright (c) 2006-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llnotecard.h b/linden/indra/llinventory/llnotecard.h index 511d779..3d89c7a 100644 --- a/linden/indra/llinventory/llnotecard.h +++ b/linden/indra/llinventory/llnotecard.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | 5 | * Copyright (c) 2006-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llparcel.cpp b/linden/indra/llinventory/llparcel.cpp index b4faf7c..c37a4d6 100644 --- a/linden/indra/llinventory/llparcel.cpp +++ b/linden/indra/llinventory/llparcel.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -192,7 +193,6 @@ void LLParcel::init(const LLUUID &owner_id, | |||
192 | mRecordTransaction = FALSE; | 193 | mRecordTransaction = FALSE; |
193 | 194 | ||
194 | mAuctionID = 0; | 195 | mAuctionID = 0; |
195 | mIsReservedForNewbie = FALSE; | ||
196 | mInEscrow = false; | 196 | mInEscrow = false; |
197 | 197 | ||
198 | mParcelFlags = PF_DEFAULT; | 198 | mParcelFlags = PF_DEFAULT; |
@@ -652,10 +652,6 @@ BOOL LLParcel::importStream(std::istream& input_stream) | |||
652 | { | 652 | { |
653 | LLString::convertToU32(value, mAuctionID); | 653 | LLString::convertToU32(value, mAuctionID); |
654 | } | 654 | } |
655 | else if("reserved_newbie" == keyword) | ||
656 | { | ||
657 | LLString::convertToBOOL(value, mIsReservedForNewbie); | ||
658 | } | ||
659 | else if ("allow_modify" == keyword) | 655 | else if ("allow_modify" == keyword) |
660 | { | 656 | { |
661 | LLString::convertToU32(value, setting); | 657 | LLString::convertToU32(value, setting); |
@@ -1090,10 +1086,6 @@ BOOL LLParcel::exportStream(std::ostream& output_stream) | |||
1090 | { | 1086 | { |
1091 | output_stream << "\t\t auction_id " << mAuctionID << "\n"; | 1087 | output_stream << "\t\t auction_id " << mAuctionID << "\n"; |
1092 | } | 1088 | } |
1093 | if(mIsReservedForNewbie) | ||
1094 | { | ||
1095 | output_stream << "\t\t reserved_newbie " << mIsReservedForNewbie << "\n"; | ||
1096 | } | ||
1097 | 1089 | ||
1098 | output_stream << "\t\t allow_modify " << getAllowModify() << "\n"; | 1090 | output_stream << "\t\t allow_modify " << getAllowModify() << "\n"; |
1099 | output_stream << "\t\t allow_group_modify " << getAllowGroupModify() << "\n"; | 1091 | output_stream << "\t\t allow_group_modify " << getAllowGroupModify() << "\n"; |
@@ -1634,7 +1626,6 @@ void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id) | |||
1634 | setSellWithObjects(FALSE); | 1626 | setSellWithObjects(FALSE); |
1635 | type = TRANS_LAND_RELEASE; | 1627 | type = TRANS_LAND_RELEASE; |
1636 | mStatus = OS_NONE; | 1628 | mStatus = OS_NONE; |
1637 | mIsReservedForNewbie = FALSE; | ||
1638 | flags = pack_transaction_flags(mGroupOwned, FALSE); | 1629 | flags = pack_transaction_flags(mGroupOwned, FALSE); |
1639 | mAuthBuyerID.setNull(); | 1630 | mAuthBuyerID.setNull(); |
1640 | from_id = mOwnerID; | 1631 | from_id = mOwnerID; |
@@ -1652,7 +1643,6 @@ void LLParcel::completeSale(U32& type, U8& flags, | |||
1652 | flags = pack_transaction_flags(mGroupOwned, mGroupOwned); | 1643 | flags = pack_transaction_flags(mGroupOwned, mGroupOwned); |
1653 | to_id = mOwnerID; | 1644 | to_id = mOwnerID; |
1654 | mAuthBuyerID.setNull(); | 1645 | mAuthBuyerID.setNull(); |
1655 | mIsReservedForNewbie = FALSE; | ||
1656 | 1646 | ||
1657 | // Purchased parcels are assumed to no longer be for sale. | 1647 | // Purchased parcels are assumed to no longer be for sale. |
1658 | // Otherwise someone can snipe the sale. | 1648 | // Otherwise someone can snipe the sale. |
@@ -1685,7 +1675,6 @@ void LLParcel::clearSale() | |||
1685 | setPreviousOwnerID(LLUUID::null); | 1675 | setPreviousOwnerID(LLUUID::null); |
1686 | setPreviouslyGroupOwned(FALSE); | 1676 | setPreviouslyGroupOwned(FALSE); |
1687 | setSellWithObjects(FALSE); | 1677 | setSellWithObjects(FALSE); |
1688 | mIsReservedForNewbie = FALSE; | ||
1689 | } | 1678 | } |
1690 | 1679 | ||
1691 | BOOL LLParcel::isPublic() const | 1680 | BOOL LLParcel::isPublic() const |
@@ -1719,7 +1708,6 @@ void LLParcel::clearParcel() | |||
1719 | setUserLookAt(LLVector3::x_axis); | 1708 | setUserLookAt(LLVector3::x_axis); |
1720 | setLandingType(L_LANDING_POINT); | 1709 | setLandingType(L_LANDING_POINT); |
1721 | setAuctionID(0); | 1710 | setAuctionID(0); |
1722 | setReservedForNewbie(FALSE); | ||
1723 | setGroupID(LLUUID::null); | 1711 | setGroupID(LLUUID::null); |
1724 | setPassPrice(0); | 1712 | setPassPrice(0); |
1725 | setPassHours(0.f); | 1713 | setPassHours(0.f); |
diff --git a/linden/indra/llinventory/llparcel.h b/linden/indra/llinventory/llparcel.h index 54936e2..29e393a 100644 --- a/linden/indra/llinventory/llparcel.h +++ b/linden/indra/llinventory/llparcel.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -209,7 +210,6 @@ public: | |||
209 | void setLandingType(const ELandingType type) { mLandingType = type; } | 210 | void setLandingType(const ELandingType type) { mLandingType = type; } |
210 | 211 | ||
211 | void setAuctionID(U32 auction_id) { mAuctionID = auction_id;} | 212 | void setAuctionID(U32 auction_id) { mAuctionID = auction_id;} |
212 | void setReservedForNewbie(BOOL reserve) { mIsReservedForNewbie = reserve; } | ||
213 | 213 | ||
214 | void setAllParcelFlags(U32 flags) { mParcelFlags = flags; } | 214 | void setAllParcelFlags(U32 flags) { mParcelFlags = flags; } |
215 | void setParcelFlag(U32 flag, BOOL b); | 215 | void setParcelFlag(U32 flag, BOOL b); |
@@ -290,7 +290,6 @@ public: | |||
290 | BOOL getIsGroupOwned() const { return mGroupOwned; } | 290 | BOOL getIsGroupOwned() const { return mGroupOwned; } |
291 | 291 | ||
292 | U32 getAuctionID() { return mAuctionID; } | 292 | U32 getAuctionID() { return mAuctionID; } |
293 | BOOL getReservedForNewbie() { return mIsReservedForNewbie; } | ||
294 | bool isInEscrow() const { return mInEscrow; } | 293 | bool isInEscrow() const { return mInEscrow; } |
295 | 294 | ||
296 | BOOL isPublic() const; | 295 | BOOL isPublic() const; |
@@ -537,9 +536,6 @@ protected: | |||
537 | // the parcel. | 536 | // the parcel. |
538 | U32 mAuctionID; | 537 | U32 mAuctionID; |
539 | 538 | ||
540 | // This value is TRUE if the land is reserved for a newbie. | ||
541 | BOOL mIsReservedForNewbie; | ||
542 | |||
543 | // value used to temporarily lock attempts to purchase the parcel. | 539 | // value used to temporarily lock attempts to purchase the parcel. |
544 | bool mInEscrow; | 540 | bool mInEscrow; |
545 | 541 | ||
diff --git a/linden/indra/llinventory/llparcelflags.h b/linden/indra/llinventory/llparcelflags.h index 66158d8..17d9151 100644 --- a/linden/indra/llinventory/llparcelflags.h +++ b/linden/indra/llinventory/llparcelflags.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llpermissions.cpp b/linden/indra/llinventory/llpermissions.cpp index 0788ec6..86ab57c 100644 --- a/linden/indra/llinventory/llpermissions.cpp +++ b/linden/indra/llinventory/llpermissions.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2002-2007, Linden Research, Inc. | 6 | * Copyright (c) 2002-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -757,15 +758,15 @@ BOOL LLPermissions::exportLegacyStream(std::ostream& output_stream) const | |||
757 | output_stream << "\t{\n"; | 758 | output_stream << "\t{\n"; |
758 | 759 | ||
759 | char buffer[256]; /* Flawfinder: ignore */ | 760 | char buffer[256]; /* Flawfinder: ignore */ |
760 | snprintf(buffer, sizeof(buffer), "\t\tbase_mask\t%08x\n", mMaskBase); /* Flawfinder: ignore */ | 761 | snprintf(buffer, sizeof(buffer), "\t\tbase_mask\t%08x\n", mMaskBase); /* Flawfinder: ignore */ |
761 | output_stream << buffer; | 762 | output_stream << buffer; |
762 | snprintf(buffer, sizeof(buffer), "\t\towner_mask\t%08x\n", mMaskOwner); /* Flawfinder: ignore */ | 763 | snprintf(buffer, sizeof(buffer), "\t\towner_mask\t%08x\n", mMaskOwner); /* Flawfinder: ignore */ |
763 | output_stream << buffer; | 764 | output_stream << buffer; |
764 | snprintf(buffer, sizeof(buffer), "\t\tgroup_mask\t%08x\n", mMaskGroup); /* Flawfinder: ignore */ | 765 | snprintf(buffer, sizeof(buffer), "\t\tgroup_mask\t%08x\n", mMaskGroup); /* Flawfinder: ignore */ |
765 | output_stream << buffer; | 766 | output_stream << buffer; |
766 | snprintf(buffer, sizeof(buffer), "\t\teveryone_mask\t%08x\n", mMaskEveryone); /* Flawfinder: ignore */ | 767 | snprintf(buffer, sizeof(buffer), "\t\teveryone_mask\t%08x\n", mMaskEveryone); /* Flawfinder: ignore */ |
767 | output_stream << buffer; | 768 | output_stream << buffer; |
768 | snprintf(buffer, sizeof(buffer), "\t\tnext_owner_mask\t%08x\n", mMaskNextOwner); /* Flawfinder: ignore */ | 769 | snprintf(buffer, sizeof(buffer), "\t\tnext_owner_mask\t%08x\n", mMaskNextOwner); /* Flawfinder: ignore */ |
769 | output_stream << buffer; | 770 | output_stream << buffer; |
770 | 771 | ||
771 | mCreator.toString(uuid_str); | 772 | mCreator.toString(uuid_str); |
diff --git a/linden/indra/llinventory/llpermissions.h b/linden/indra/llinventory/llpermissions.h index d8a6b0a..608f4b2 100644 --- a/linden/indra/llinventory/llpermissions.h +++ b/linden/indra/llinventory/llpermissions.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llpermissionsflags.h b/linden/indra/llinventory/llpermissionsflags.h index 2af16fb..72778be 100644 --- a/linden/indra/llinventory/llpermissionsflags.h +++ b/linden/indra/llinventory/llpermissionsflags.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2002-2007, Linden Research, Inc. | 4 | * Copyright (c) 2002-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llsaleinfo.cpp b/linden/indra/llinventory/llsaleinfo.cpp index 28801e5..9364529 100644 --- a/linden/indra/llinventory/llsaleinfo.cpp +++ b/linden/indra/llinventory/llsaleinfo.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/llsaleinfo.h b/linden/indra/llinventory/llsaleinfo.h index 5e80108..fd6429e 100644 --- a/linden/indra/llinventory/llsaleinfo.h +++ b/linden/indra/llinventory/llsaleinfo.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lltransactionflags.cpp b/linden/indra/llinventory/lltransactionflags.cpp index 16d6101..ffd3271 100644 --- a/linden/indra/llinventory/lltransactionflags.cpp +++ b/linden/indra/llinventory/lltransactionflags.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (c) 2003-2007, Linden Research, Inc. | 6 | * Copyright (c) 2003-2007, Linden Research, Inc. |
7 | * | 7 | * |
8 | * Second Life Viewer Source Code | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | 9 | * The source code in this file ("Source Code") is provided by Linden Lab |
9 | * to you under the terms of the GNU General Public License, version 2.0 | 10 | * to you under the terms of the GNU General Public License, version 2.0 |
10 | * ("GPL"), unless you have obtained a separate licensing agreement | 11 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lltransactionflags.h b/linden/indra/llinventory/lltransactionflags.h index ed47995..3675074 100644 --- a/linden/indra/llinventory/lltransactionflags.h +++ b/linden/indra/llinventory/lltransactionflags.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2003-2007, Linden Research, Inc. | 4 | * Copyright (c) 2003-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lltransactiontypes.h b/linden/indra/llinventory/lltransactiontypes.h index 345fe89..49ba6aa 100644 --- a/linden/indra/llinventory/lltransactiontypes.h +++ b/linden/indra/llinventory/lltransactiontypes.h | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (c) 2003-2007, Linden Research, Inc. | 4 | * Copyright (c) 2003-2007, Linden Research, Inc. |
5 | * | 5 | * |
6 | * Second Life Viewer Source Code | ||
6 | * The source code in this file ("Source Code") is provided by Linden Lab | 7 | * The source code in this file ("Source Code") is provided by Linden Lab |
7 | * to you under the terms of the GNU General Public License, version 2.0 | 8 | * to you under the terms of the GNU General Public License, version 2.0 |
8 | * ("GPL"), unless you have obtained a separate licensing agreement | 9 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lluserrelations.cpp b/linden/indra/llinventory/lluserrelations.cpp index e9248c3..fc8e510 100644 --- a/linden/indra/llinventory/lluserrelations.cpp +++ b/linden/indra/llinventory/lluserrelations.cpp | |||
@@ -6,6 +6,7 @@ | |||
6 | * | 6 | * |
7 | * Copyright (c) 2006-2007, Linden Research, Inc. | 7 | * Copyright (c) 2006-2007, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | ||
9 | * 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 |
10 | * to you under the terms of the GNU General Public License, version 2.0 | 11 | * to you under the terms of the GNU General Public License, version 2.0 |
11 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
diff --git a/linden/indra/llinventory/lluserrelations.h b/linden/indra/llinventory/lluserrelations.h index 9363ab5..430dc43 100644 --- a/linden/indra/llinventory/lluserrelations.h +++ b/linden/indra/llinventory/lluserrelations.h | |||
@@ -6,6 +6,7 @@ | |||
6 | * | 6 | * |
7 | * Copyright (c) 2006-2007, Linden Research, Inc. | 7 | * Copyright (c) 2006-2007, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | ||
9 | * 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 |
10 | * to you under the terms of the GNU General Public License, version 2.0 | 11 | * to you under the terms of the GNU General Public License, version 2.0 |
11 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |