Commit Graph

7495 Commits (53a479904e024c294568742d8f7c15f868323599)

Author SHA1 Message Date
Homer Horwitz 3a75a54da1 - Fix Util.UnixTimeSinceEpoch:
* Unix epoch starts at midnight, not at 8:00am
  * All date/time handling should be done in UTC in the server, not in
    the local timezone.
  * Refactor out repeated computation of a constant value
- Added setting of CreationTime to some places where inventoryitems
  are created
This fixes Mantis#2390.
2008-10-18 15:26:41 +00:00
Melanie Thielker 48890ea349 Guard against a null ref that can prevent objects from being persisted 2008-10-18 15:23:29 +00:00
Melanie Thielker c3ba97c80a Thank you, Strawberry Fride, for a patch that brings MSSQL even with MySQL 2008-10-18 13:04:35 +00:00
Melanie Thielker 264eeffd02 Fix thingd so that autoreturn also works when the user is not in the sim.
Also add experimental distance ordering for prims
2008-10-18 07:27:39 +00:00
Melanie Thielker efe3f3eb2a Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
Add rezzing time to objects. Add Object return and traffic fields to land
database. Add plumbing for auto return. Implement auto return.
Contains a migration. May contain nuts.
2008-10-18 05:51:36 +00:00
Teravus Ovares 0916b38b83 * Fix an over compensation for bounciness on flat Primitive
* Implement the linear impulse portion of llPushObject.  We should have a lsl compatible implementation of that portion of the push.  Angular..   well.  still have yet to implement a torque accumulator.
* llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
2008-10-17 23:19:00 +00:00
Justin Clarke Casey 739f1591da * Remove mono warnings 2008-10-17 20:45:07 +00:00
Justin Clarke Casey 400314e884 * Finally, don't worry about doing containment checks on other dictionaries if we are adding a client
* Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting 
the next receive.  However, this would be a performance trade off and hence not worth trying without performance testing
2008-10-17 20:38:00 +00:00
Justin Clarke Casey 4ccac88cf6 * Don't worry about trying to populate the other dictionaries if a client's circuitcode is already found in the first one 2008-10-17 20:30:50 +00:00
Justin Clarke Casey 90d69a0523 * close two potential race conditions where a new asynchronous UDP recieve could overwrite an existing endpoint that had not yet been used by the previous thread
* in practice these race conditions were probably pretty rare
2008-10-17 20:14:31 +00:00
Homer Horwitz 5f4cad62c5 Add two missing settings to OpenSim.ini.example. 2008-10-17 19:28:49 +00:00
Justin Clarke Casey 84492fee01 * Temporarily resume creation of IPEndPoint on every call
* This widened what I think is an existing race condition where asynchronous recieves could potentially stomp on each other's end points (though this must occur very rarely, if at 
all, in reality)
2008-10-17 19:08:53 +00:00
Homer Horwitz 9e46d5e207 Fixed llDeleteSubList; the indices were swapped (Fixes Mantis#2399). 2008-10-17 19:01:01 +00:00
Justin Clarke Casey 7891f821e2 * Instead of creating a new IPEndPoint on every udp packet receive, reuse the existing one
* This requires copying details into a new endpoint when it needs to be stored in client/circuit code hashes
2008-10-17 17:57:18 +00:00
Justin Clarke Casey e4b8912296 * reverse part of a change that accidentally crept in with the last revision 2008-10-17 17:08:14 +00:00
Justin Clarke Casey 138bcf6fff * Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290
* This allows multiple user profile providers to be specified in OpenSim.ini separated by commas
* If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried
* Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed.
* Thanks to smeans for the original patch.
2008-10-17 16:44:05 +00:00
Teravus Ovares a6df2011f7 * Adds a lot of stability and performance to the physics engine. The avatar bounces less and things are a bit less explosive.
* Additionally, you can probably get more physical prim now together..  though, I think this puts us back on par with where we were in the beginning of the year on number of physical objects.   Experiment.  Make videos.  Send Feedback.  Enjoy.
2008-10-17 05:09:23 +00:00
Jeff Ames f5c9600eb7 Update svn properties, minor formatting cleanup. 2008-10-17 02:50:39 +00:00
Teravus Ovares c26d0ebc19 * Added missing dependencies that was causing build to fail in windows. Mono doesn't seem to care. 2008-10-17 01:59:43 +00:00
Homer Horwitz ae9e38bf3f Fixed (mono-)script handling for SL viewer 1.21:
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask)
- Added one missing EventQueue event (ScriptRunningReply)
- Changed DNE and XEngine to use this new event
As we only use the mono engine anyway, the "Mono" checkbox is set by
default but doesn't have any function.
2008-10-16 21:46:03 +00:00
Melanie Thielker 4bbc28e445 Split the currency module into currency and a new Combat module, because
the combat function really doesn't belong into currency
2008-10-16 20:50:28 +00:00
Justin Clarke Casey 82b7374ed2 * minor: get rid of pointless ipeSender 2008-10-16 19:50:12 +00:00
Sean Dague a29d8b9abb - Removed debug print method 2008-10-16 19:05:32 +00:00
Sean Dague b61f124cc3 more fun with rebasing 2008-10-16 18:41:24 +00:00
Sean Dague 43928d5253 resorting out this merge from arthur, sorry for so many commits here. 2008-10-16 17:46:46 +00:00
Sean Dague 8795bb623d - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 17:46:43 +00:00
Justin Clarke Casey 4df08aed30 * Apply http://opensimulator.org/mantis/view.php?id=2401
* Removes spacers that are also separators in llParseString2List
* Thanks idb
2008-10-16 17:14:02 +00:00
Sean Dague 7f721ae20c fix line endings, as apparently the bot didn't do this yet 2008-10-16 15:58:07 +00:00
Sean Dague 24822ab890 - New attempt after merging problem 2008-10-16 15:58:06 +00:00
Sean Dague fa3d8220f2 - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 15:58:05 +00:00
Sean Dague b9a736f0b8 - Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted
2008-10-16 15:58:03 +00:00
Sean Dague 8621303ea9 - Removed debug print method 2008-10-16 15:58:01 +00:00
Sean Dague 72725a0894 - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 15:57:59 +00:00
Tedd Hansen 9a200da0d2 Updated 32Bit launcher so it works in Visual Studio again. (So developers on 64-bit os can run OpenSim in 32-bit mode) 2008-10-16 15:09:02 +00:00
Justin Clarke Casey 6789234335 * Apply http://opensimulator.org/mantis/view.php?id=2405
* Implement llGetRegionFPS()
* Thanks idb
2008-10-16 13:17:31 +00:00
Teravus Ovares 68d85497ad * Releases the inter-region thread synchronization between physics in ODE on the same instance.
* If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance.
* Single regions won't notice anything different
2008-10-16 12:57:29 +00:00
Homer Horwitz 641de2f404 Check for terrain size=256x256 on "terrain load <file>". This fixes
(the rest of) Mantis#1813.
2008-10-15 21:20:07 +00:00
Sean Dague ceb5830142 clean up a merge conflict and remove a console message 2008-10-15 21:00:08 +00:00
Homer Horwitz d77ebb5761 Thanks, idb, for a patch that fixes Mantis#2400:
llSensor() range ignored with AGENT.
2008-10-15 20:49:28 +00:00
Justin Clarke Casey 98245e4bfa * minor: Oh go on, one more warning. Oooh, you are naughty 2008-10-15 20:46:39 +00:00
Justin Clarke Casey 79f82f61d4 * Add Vytek too 2008-10-15 20:30:19 +00:00
Justin Clarke Casey 87ae3f5c32 * Add Salahzar Stenvaag to contributors 2008-10-15 20:29:12 +00:00
Justin Clarke Casey 98fdf504d9 * Truncate outgoing media and music urls to 254 characters.
* Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
2008-10-15 20:24:44 +00:00
Justin Clarke Casey fac4d02d7e * minor: comment out persisting prim inventory log messages 2008-10-15 19:54:07 +00:00
Sean Dague 63ef14bd8c - Added User Appearance Set and Get tests 2008-10-15 18:15:46 +00:00
Sean Dague f2eca571b8 - Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted
2008-10-15 18:15:45 +00:00
Sean Dague fa8c0d7683 - Makes MySQL reject inserting UUID 0
- Makes SQLite mimick MySQL default behavior on first
  and last name already on db: it does not insert the
  new record.
- Added tests for UUID 0 and for new UUID with existing
  first and last name.
2008-10-15 18:15:43 +00:00
Sean Dague 8e3c10234a Removed some comments 2008-10-15 18:15:40 +00:00
Justin Clarke Casey b1248004f0 * minor: remove some warnings 2008-10-15 17:19:02 +00:00
Justin Clarke Casey 230835dbaa * refactor: Remove OutPacket from the IClientAPI
* I believe this is reasonable since code outside the Linden client stack shouldn't be aware of the packet format being used
* I would love to have made the method protected, but the LoadBalancerPlugin is still calling it and resolving that would require more work
2008-10-15 17:06:47 +00:00