aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-1/+1
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)5-33/+19
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-1/+5
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing). Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing. Extended TestCreate() to check this.
2011-07-31In the packetpool, if we encounter a data block that somehow wasn't ↵Justin Clark-Casey (justincc)1-6/+11
retrieved via GetDataBlock() then create a new stack instead of throwing an exception
2011-07-29For all Util.FireAndForget invocations, set thread to en_US before ↵Justin Clark-Casey (justincc)1-5/+10
continuing wtih the invocation. This is to avoid bugs where the locale is not manually set on the thread and bad data values get sent to the database or over the wire. Lots of code does this manually but as we've seen, a subtle change can hit code which has forgotton to do this. Since en_US show be used throughout the server at present, setting it at FireAndForget seems reasonable. Arguably, it would be better to do this where data is sent, but doing it here is much easier. All the manual BeginInvokes() remaining in the code should probably call FireAndForget instead.
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+1
2011-07-23Pass the first name and last name from the agent circuit data to the ↵Justin Clark-Casey (justincc)1-1/+1
authorization service rather than from the account. This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account. See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure. It's up to the auth service to decide which data it actually uses. Possibly we should be passing through other info such as agent circuit ip
2011-07-23Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)1-1/+7
they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts)
2011-07-23Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)1-7/+1
item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1.
2011-07-23Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)1-1/+7
files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
2011-07-22Thank you, Michelle Argus, for a patch that adds reading the agent limitMelanie1-1/+4
from XML properly.
2011-07-21Fixed updating avatar appearanceOren Hurvitz1-1/+3
Signed-off-by: root <root@grid00001.t-data.com>
2011-07-18use standard sdk stack in terrain model rather than OpenSim.Framework.UndoStack.Justin Clark-Casey (justincc)1-152/+0
remove OpenSim.Framework.UndoStack
2011-07-18Use a standard generic system stack for the undo/redo stacks instead of our ↵Justin Clark-Casey (justincc)1-1/+39
own homebrew. system stack also uses an array, so no performance penalty. Also exposes undo count and adds a test assertion for correct undo count after resize
2011-07-13minor: remove whitespaceJustin Clark-Casey (justincc)1-1/+0
2011-07-13Remove an unused 404 checker since on a 404, GetResponse() throws a ↵Justin Clark-Casey (justincc)1-3/+0
WebException rather than proceeding.
2011-07-13if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵Justin Clark-Casey (justincc)1-0/+11
404, log the exception for diagnostic purposes This is instead of logging "Invalid XML" for all failures, even if they weren't a result of invalid xml. A default TReponse is returned in the event of a 404, which is the same behaviour as previously.
2011-07-13Remove the obsoleted SynchronousRestObjectPosterJustin Clark-Casey (justincc)1-9/+0
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-15/+31
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-07-08When loading library asset set, only store an asset if it's different from ↵Justin Clark-Casey (justincc)1-3/+13
an existing one with the same id. We compare existing and loaded asset by doing an SHA1 on both, so that a changed library asset will still update the store. This cuts asset library load time from 10 seconds to <1 sec. Note, a fix on the previous commit revealed a bug where a library script cannot be copied except on the first login after a cache clear. This is unrelated to this commit and needs to be fixed at some subsequent time.
2011-07-08Fix interpretation of physics mesh proxies from mesh dataJustin Clark-Casey (justincc)1-2/+17
As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some submesh blocks may just have the flag "NoGeometry" to signal that they provide no mesh data. If a block contains this, ignore it for meshing purposes rather than suffer a ClassCastException This fixes physics proxy meshing, so you can now walk through mesh doorways, properly stand on the trailer of mesh trucks, etc. To get mesh physics proxy, the UseMeshiesPhysicsMesh must be true in a [Mesh] config section in OpenSim.ini (example in OpenSimDefaults.ini). Convex hull physics not currently supported.
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)1-0/+1
Disabled temporarily since file system caching disrupts subsequent test runs
2011-07-01Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)1-11/+0
user expectations. It also matches the default setting in the OpenSim.ini.example file
2011-07-01If OpenSim has been built from a git tree, then include version information ↵Justin Clark-Casey (justincc)1-4/+39
automatically by dereferencing .git/HEAD A blank bin/.version file will stop this being displayed.
2011-07-01refactor: rename gitCommitFileName to manualVersionFileName since ↵Justin Clark-Casey (justincc)1-5/+4
bin/.version doesn't necessary have to be a git hash
2011-07-01Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)1-1/+1
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests. Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling. This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads. Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
2011-06-12First pass at making the V2 map work. Standalones only for now. There are ↵Diva Canto1-2/+2
some issues with the zoom level -- TBD.
2011-06-10Save the sun's position in OARsOren Hurvitz1-2/+6
2011-06-03HG Landmarks now working.Diva Canto2-1/+4
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-1/+13
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-22More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto1-2/+4
security to friendship identifiers so that they can safely be deleted across worlds. Had to change Get(string) to use LIKE because the secret in the identifier is not always known -- affects only HG visitors. BOTTOM LINE SO FAR: HG friendships established and deleted safely across grids, local rights working but not (yet?) being transmitted back.
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)1-1/+0
OpenSim.Tests.Common instead
2011-05-19HG Friends working to some extent: friendships offered and accepted ↵Diva Canto3-0/+68
correctly handled. Friends list showing correct foreign names. TODO: GrantRights.
2011-05-14Changed yet more Warns to Debugs.Diva Canto1-4/+4
2011-05-14Also changed a couple of messages in WebUtil from Wanr/Info to Debug.Diva Canto1-2/+2
2011-05-14Stop spamming Nebadon's console when assets aren't found in the asset server.Diva Canto1-1/+4
2011-05-14refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)1-2/+2
instance methods since it didn't make sense to use anything other than the instance themselves.
2011-05-12Hopefully this fixes offline messages. The problem was: the server is not ↵Diva Canto1-7/+2
setting the ContentLength of the response. That comes up to OpenSim as ContentLength=-1, which made the existing test fail.
2011-05-12One more thing printed out. #OfflineIMDiva Canto1-4/+1
2011-05-12Instrument the heck out of offline messages. THIS IS VERY VERBOSE.Diva Canto1-0/+16
2011-05-12One more debug message for offline IMs.Diva Canto1-1/+2
2011-05-12Sequencing the using and try clauses as they were before, but this shows ↵Diva Canto1-7/+7
that that obsolete function is not catching 404's as it should...
2011-05-12Bummer, can't print the data I wanted to see. Printing just the context.Diva Canto1-9/+1
2011-05-12Tracking a problem with offline IMs coming in as null list.Diva Canto1-6/+19
2011-05-11This makes compression of fatpacks actually work. Previously they always ↵Diva Canto1-7/+7
failed. See comment in WebUtil.
2011-05-08The map is seriously broken. This doesn't fix it, but at least provides one ↵Diva Canto1-1/+1
more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI.
2011-05-08Fix content-type to be application/x-www-form-urlencodedDiva Canto1-1/+1
2011-05-08Also compress the actual fatpacksMelanie1-0/+5
2011-05-08Enable compressed (gzip) fatpack transfers.Melanie1-8/+35