Jeff Ames
258a4dc282
Set svn:eol-style.
2008-01-15 20:24:35 +00:00
lbsa71
f5103b98be
* Renamed a bunch of Data baseclasses for clarity and readability
...
(Slowly getting there)
2008-01-15 20:07:02 +00:00
lbsa71
47c6529523
* Some morw work on specializing the database framework for OpenSim
2008-01-15 10:15:39 +00:00
Adam Frisby
b25f9f322c
* Mother of all commits:
...
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Jeff Ames
84c3a317c1
Set svn:eol-style.
2008-01-14 22:37:45 +00:00
lbsa71
6d751411b7
* Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to support LLVector3, LLQuaternion and LLUUID
...
* Added PrimitiveBaseShapeTableMapper to show how it's done
NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
2008-01-14 22:34:19 +00:00
Sean Dague
b49ae37e89
my Exists check was slow and wrong. This fixes issues people
...
were just having on IRC. Thanks to Grumly57 for helping to sort
this out.
2008-01-14 21:35:49 +00:00
Sean Dague
20cf62b417
good bye ADO.NET to assets, notice faster startup time
2008-01-14 20:42:27 +00:00
Sean Dague
db40ffb43f
move db open to initialization, which is where it should have been
...
all allong
2008-01-14 19:47:59 +00:00
MW
62157b6dde
Applied patch from melanie (thank you) for mantis issue# 338
2008-01-13 22:47:10 +00:00
Justin Clarke Casey
48be04df1d
* Do database implementation for prim inventory items in mysql
...
* Properly clean up items when a region object is deleted
* Update persisted prim when an inventory script is changed
* No user functionality yet
2008-01-11 17:00:21 +00:00
Sean Dague
50ece51dbc
manually open the db connection. Mono does this automatically, .NET doesn't
2008-01-11 15:55:00 +00:00
Tedd Hansen
7f071dd193
Log instead of crash (User login, getting friends list)
2008-01-11 15:46:43 +00:00
lbsa71
cdd378a2c2
* returnin LLUUID.Zero rather than LLUUID.Random on webkey null
2008-01-11 15:19:43 +00:00
Justin Clarke Casey
1e981a7c1c
Switch prim items type representation to use int rather than strings.
2008-01-11 14:55:27 +00:00
lbsa71
8ccc470e2a
* quick fix to fix if webLoginKey is null in DB, return random key (I guess LLUUID.Zero would be a security hazard)
2008-01-11 07:41:14 +00:00
Teravus Ovares
901f403823
* Just an update to the default login form
2008-01-10 23:31:37 +00:00
Sean Dague
8ebaf7aa41
move Friends list to not use ADO.NET layer, it now hits the sqlite
...
db directly when needed
2008-01-10 21:32:22 +00:00
Sean Dague
13736995d2
add sqlite database definitions as Resources for SQLite.dll
2008-01-10 19:38:37 +00:00
lbsa71
2f023f6362
* removed unused PrimScale on PrimitiveBaseShape (use Scale instead)
...
* ignored bin
2008-01-10 13:37:59 +00:00
lbsa71
690a7a347b
* Undid XmlIgnore thingy as it did cause breakage
2008-01-10 12:07:49 +00:00
lbsa71
ed314e19ff
* Sorted members for great justice
2008-01-10 11:17:26 +00:00
lbsa71
f1c2dca7c1
* ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape and ProfileHollow
2008-01-10 08:56:03 +00:00
Jeff Ames
5a6fd21a2c
Whitespace cleanup.
2008-01-10 06:49:29 +00:00
Teravus Ovares
a962653e04
* After fighting with it a bit more, Opensim is now compatible with the most recent release client(RC) on the linden labs download page.
...
* Don't forget, you need -loginuri *and* -loginpage
* Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/
* The ?method=login is important, don't forget to add it
* If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-10 04:37:03 +00:00
Teravus Ovares
85fe8ed085
* This update enables the web_login method.
...
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09 22:05:28 +00:00
Teravus Ovares
49fe4eb3cd
* This may be broken.. it hasn't been tested, however I wanted to get the last database changes in before sdauge changes them significantly.
2008-01-09 18:57:03 +00:00
Sean Dague
411d06c94e
moving Region store for SQLite into the OpenSim.Framework.Data.SQLite
...
namespace to mirror what is done with MySQL. This will require a
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
2008-01-09 18:41:20 +00:00
lbsa71
b469990972
* Added helpers to convert from LSL PrimitiveParams values to PrimitiveBaseShape values
2008-01-09 18:26:40 +00:00
lbsa71
c0252073d0
* removed another superfluous debug message
2008-01-09 09:31:07 +00:00
Teravus Ovares
fd2603bcf4
* ok, last mySQL webloginkey related update tonight.
2008-01-09 04:24:33 +00:00
Teravus Ovares
dfe01df2fc
* almost an oops
2008-01-09 04:17:35 +00:00
Teravus Ovares
e1aa83e965
* Added a hashtable based HTTP processor in preparation of the web_login_key
...
* Added the web_login_key to the users table
* Added happy configurable http error message pages
* This update is large enough to have 'awe' value.. so backup your users or weep.
* Not tested on MSSQL, even though I added code to update the tables!
2008-01-09 04:13:04 +00:00
Brian McBee
bafdac7874
dump_assets_to_file=true will now cause the asset to go into a UserAssets subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!)
2008-01-09 03:57:53 +00:00
Brian McBee
19ed64b114
Third part of CharlieO's library rework. We now have library organization! Thanks CharlieO!
2008-01-09 03:52:07 +00:00
Teravus Ovares
6e8c3ac782
* Enabling the LLSD Login method by jhurliman so libSecondLife clients work on OpenSim again.
2008-01-07 20:00:37 +00:00
mingchen
1718c39e10
*Added ability to update only necessary data on insertRegion for the grid server.
2008-01-07 15:23:00 +00:00
Teravus Ovares
bbac579849
* More message server methods
2008-01-07 07:48:35 +00:00
Teravus Ovares
f43e75762a
* Adding More to the MessageServer classes.
...
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Teravus Ovares
04dbcee74c
* A few more Message Server comms related updates
2008-01-06 20:10:29 +00:00
Teravus Ovares
b8efd5f294
* Added some userserver glue for communications with the message server
...
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-06 18:18:19 +00:00
Justin Clarke Casey
679923ec87
Factor out TaskInventoryItem
2008-01-06 01:56:29 +00:00
Brian McBee
79c2892303
Fix for typo in updateInventoryItem in MSSQLInventoryData.cs (thanks Grumly!)
2008-01-05 20:12:43 +00:00
Tedd Hansen
966f639ad6
Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
...
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +00:00
Teravus Ovares
db3edff5d5
* Applying jhurliman's LLSD login enablement patch.
...
* I'm keeping it deactivated until some issues are resolved.
* I'm patching it in deactivated so the patch doesn't get outdated
* I've deactivated it by commenting out the handler for the application/xml+llsd content type.
* While I've tested this as much as possible on my setup and found the deactivated code doesn't cause any problems, consider this update experimental (event though it's deactivated)
2008-01-05 06:05:25 +00:00
lbsa71
710cb7589e
* possibly the least significant commit so far into 2008
2008-01-04 21:18:01 +00:00
mingchen
81b4c7be3e
*Added ability to skip any use of the console when configuring and assume default value. This is useful when the server is running by itself and a new region request is added without sufficient information
2008-01-04 14:14:15 +00:00
Teravus Ovares
960b7e93b1
* Added the ability for estate managers to use the magic secondlife blue card of death to send out region and estate messages.
...
* Switched over Region Restart notices to the magic secondlife blue card of death method.
2008-01-04 02:24:05 +00:00
Teravus Ovares
0c555883d5
* Made covenant changes made in the estate tools persist across sim restarts.
2008-01-03 23:46:43 +00:00
lbsa71
b95efbb689
* Added lock to Contains to avoid enumeration exceptions
2008-01-03 12:55:23 +00:00
Johan Berntsson
3f78e55ef4
Packet recycling has been temporarily disabled to avoid the performance problems reported in Mantis 281
2008-01-03 05:06:55 +00:00
Johan Berntsson
047aba2067
I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems
2008-01-03 00:59:12 +00:00
Teravus Ovares
a72d33d3a5
* Added the ability for Region Owners to add and remove estate managers using the estate tools.
...
* Estate managers get abilities like the region owner for now.
* Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet)
* Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
2008-01-02 20:25:47 +00:00
Johan Berntsson
d893c91249
Fixed buffer overrun bug in ZeroDecodeCommand
2008-01-02 16:35:50 +00:00
lbsa71
459a4b0bb5
* Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.
...
The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
2008-01-02 12:12:36 +00:00
Teravus Ovares
3a83be1721
* Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
...
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71
4b4ee98070
* Trying to address TextureSender issues
...
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
2008-01-02 09:07:11 +00:00
lbsa71
20653830fb
* Refactored out function to load specified AssetSet Xml
...
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2008-01-02 07:13:34 +00:00
Teravus Ovares
3aa0f32ce3
* Fixed an issue where the RegionFlags and SimAccess settings were being saved incorrectly. If your region is already having an issue on boot with parsing [region_flags] or [sim_access], then this won't solve your issue. Default value for region_flags is 0 and default value for sim_access is 21 in the EstateSettings.XML file
2008-01-02 04:10:55 +00:00
Teravus Ovares
2f43578386
* Re-wrote IM that sends the friend request so that it displays the name of the person who sent the request, or (hippos) if it can't find it.
2008-01-02 03:05:18 +00:00
Teravus Ovares
3738bc8899
* Updates UserServer
...
* Updates OSG1UserServices
* Friends list is now persistent in grid mode.
* You can add, new friends and remove them
2008-01-02 00:54:50 +00:00
Teravus Ovares
b4c9b6bd19
* You can add and remove a friend in standalone now within the same simulator. It saves.
...
* You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet.
* I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
2008-01-01 06:12:04 +00:00
Justin Clarke Casey
b8975ecbd9
Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
...
directory
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Teravus Ovares
3180432deb
* Added database and UserManagerBase glue for FriendsList management
...
* Don't forget to run prebuild
2007-12-31 22:56:43 +00:00
Justin Clarke Casey
5ef1433e95
Correctly output library inventory folder type and version information
2007-12-31 18:26:24 +00:00
Justin Clarke Casey
60fa75ac04
Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
...
showing up as texture folders, even though they are configured with the same types as the agent inventory folders. This should be resolved soon.
2007-12-31 03:33:21 +00:00
Teravus Ovares
57a1132585
* Fixed References in Prebuild so the project compiles
...
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
Justin Clarke Casey
76e74a7667
Add an extra check that we don't create new inventory folders for a user that already has a root folder
2007-12-30 19:40:44 +00:00
Justin Clarke Casey
7d04cf8d4e
Shift default OpenSim library into its own directory
2007-12-30 19:05:11 +00:00
Teravus Ovares
32438ab1b9
* This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
...
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares
14368d9a73
* Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance.
2007-12-30 04:12:08 +00:00
Justin Clarke Casey
40e89678b7
Make inventory items nominate explicit inventory folders rather than hardcoding
2007-12-29 19:41:50 +00:00
Justin Clarke Casey
1b1649791f
Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
...
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Teravus Ovares
0631151e08
* Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie.
2007-12-28 23:19:03 +00:00
Justin Clarke Casey
505067658a
Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml
2007-12-28 22:49:32 +00:00
Justin Clarke Casey
27f7f76d04
Move OpenSimAssetSet assets file up into assets pending further changes
2007-12-28 22:32:52 +00:00
Justin Clarke Casey
4ae10034bd
Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main
2007-12-28 22:13:43 +00:00
Justin Clarke Casey
7cf9a8d4f9
Move inventory contents configuration files to bin/inventory folder
2007-12-28 18:01:20 +00:00
Teravus Ovares
f64d94f8ca
* Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
...
* Various Refactorings
2007-12-28 14:24:14 +00:00
Jeff Ames
1a484fcabf
Set svn:eol-style.
2007-12-28 08:56:44 +00:00
Adam Johnson
79496381fc
Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
...
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71
8cd72beb86
* Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
...
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares
5bd5770ed2
* Patch from Melanie. Thanks Melanie!
...
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Teravus Ovares
67bbed8202
* Added ability to create new prim on existing prim (rezzing prim from inventory on other prim coming soon). No more new prim buried in the ground by accident.
...
* The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
2007-12-28 05:25:21 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71
d508d77122
* removed always true if
2007-12-27 21:06:44 +00:00
Teravus Ovares
d82ed9a8c5
* Fixed MonoSQLite Update Table routine
...
* Charles, this will fix the red issue.
* Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
2007-12-27 18:49:16 +00:00
Justin Clarke Casey
997a2907e2
Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
...
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached). These
were working before so they must have broken in the last month. Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
lbsa71
87e2a694e2
* AssetServerBase: _ProcessRequest is now called GetAsset
...
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Teravus Ovares
cbf5ff4a93
* Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
...
* SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE
* The first time you run OpenSim after updating past this revision, you'll see a lot of Errors. Be calm, shutdown the simulator, and start it again and your prims table will be updated.
* MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
2007-12-27 05:37:48 +00:00
Justin Clarke Casey
54d9fbc0fe
Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
...
No user functionality yet. This code is not turned on, so there is no possibility
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares
c7fc0dbeb7
* Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
...
* Deletes the solution file from OpenSim.Gui
2007-12-26 21:06:51 +00:00
Justin Clarke Casey
e9efd5bee2
Small non-functional inventory changes
2007-12-25 18:11:56 +00:00
Teravus Ovares
69cc4596b1
* Added some ugly hackish code to the user server to start implementing the new login method. You still can't yet log-in via the new method. Does not interfere with normal userserver operation, ie safe to update if you want.
2007-12-24 23:35:30 +00:00
Justin Clarke Casey
280a5cba8b
Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
...
No user functionality yet.
Refactoring to follow.
2007-12-24 22:35:01 +00:00
Charles Krinke
f28f917c61
Revert most of the regionName message stuff.
2007-12-24 19:27:52 +00:00
Charles Krinke
60b5130cff
Add regionName to OGS1 regionUp report.
2007-12-24 17:21:07 +00:00
Justin Clarke Casey
57b2bc21a9
Log message tweaking
2007-12-24 05:24:53 +00:00
Justin Clarke Casey
77a2755e14
Yet more inventory debugging messages
2007-12-23 11:43:46 +00:00
Justin Clarke Casey
c545cc8cd9
Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems
2007-12-23 02:14:29 +00:00