Commit Graph

6580 Commits (138bcf6fffdb16e3962c03f995aff7cda15a7800)

Author SHA1 Message Date
Justin Clarke Casey 3b9400bcea * refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does 2008-10-14 14:43:46 +00:00
Justin Clarke Casey 8ab50fe3ee * Make KillObjectPackets reliable
* This may help http://opensimulator.org/mantis/view.php?id=2377 where large linksets do not always correctly delete - since a lost kill packet to the client could result in 
the symptoms described
2008-10-14 14:27:00 +00:00
Mike Mazur 3e124a3dba - convert comments into documentation
- minor formatting adjustments
- remove some trailing whitespace
2008-10-14 09:40:05 +00:00
Mike Mazur 4da1901ed9 - move comment about assetID and 'attached' in inventory where it belongs
- objectGroup isn't needed here, just use the passed in argument
2008-10-14 09:40:01 +00:00
Adam Frisby 54d7be8a49 * Adding CrytoGridAssetClient support - allows encrypting assets that are stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does. 2008-10-14 08:54:46 +00:00
Teravus Ovares 180e3de50f * Cleaned up tons of code duplication in ODEPrim
* Re-enabled the native ODE prim types when possible
* Fixed several invalid assumptions in the prim recycle process.
* Added better message for 'reused a disposed physicsactor'
* Added a way to recover from errors during collision_optimized
* Added a way to recover from an error condition where prim_geom wasn't reset properly
2008-10-14 02:48:30 +00:00
Teravus Ovares 55fa9c7378 * Remove a warning from BaseHttpServer 2008-10-14 02:45:44 +00:00
Dahlia Trimble 138a3924e0 Committing more work towards implementing vertex normals. Also added some (hopefully) helpful messages for identifying corrupt prims and some fixup code for corrupt profile cut data. 2008-10-13 22:52:39 +00:00
Teravus Ovares a351d3a22f * ODE.NET Update. No user exposed stuff.... just wrote wrapper routines for new unmanaged dll entrypoints. 2008-10-13 22:18:57 +00:00
Justin Clarke Casey 308a0bc2e4 * Apply http://opensimulator.org/mantis/view.php?id=2249
* Calculate an agents height in LLGetAgentSize() from apperance parameters rather than physics avatar numbers
* Another good looking patch from idb - thanks!
2008-10-13 20:56:56 +00:00
Justin Clarke Casey 9d6f043a79 * Remove warnings, including one which pointed out a bug 2008-10-13 20:45:13 +00:00
Justin Clarke Casey 97f4226666 * Apply a modified version of the part of http://opensimulator.org/mantis/view.php?id=2361 that allows region registration to be enabled/disabled on the grid server
* Region registration is enabled by default in the configuration unless the user chooses otherwise
* On the console
* show status - shows grid status
* enable-reg - enables region registration to the grid
* disable-reg - disables region registration

* Enabling or disabling region registration will not affect any other grid functions or regions already on the grid
2008-10-13 20:35:45 +00:00
Jeff Ames 3d26ff209d Update svn properties. 2008-10-13 02:39:32 +00:00
Teravus Ovares f344f26bd8 * Based on user reports, it looks like the OS specific settings have been unified as far as tuning (thank heavens).
* If you're experiencing knee bendiness try the windows settings, as the *nix settings seem to now be incorrect.  (this update does that, but you may have your own opensim.ini settings active.
2008-10-13 01:54:13 +00:00
Jeff Ames 1b639ce367 Update Mac OS X ODE binary to opensim-libs r69. 2008-10-13 01:38:19 +00:00
Teravus Ovares 2ede1a3ce7 * This updates ODE to the most up-to-date version as of today. 1558
* Mac users, pray to chi11ken to make you a .dylib version
* This is semi-tuned and post teravus hack.   (Though I didn't apply the terrain pitting fix hack.   I'm still deciding if it's necessary as there was a lot of work over the past several months on the heightfield collider.
* Please use '--enable-shared --disable-demos --disable-asserts' if you are building your own libode in the configure step.   Asserts are pretty much useless for use with .NET
* This also updates ODE.NET as, there were some API changes in May that were just added to ODE.NET today.
2008-10-12 23:47:39 +00:00
Melanie Thielker ca2b788c67 Correct an error with the auto-insert marker 2008-10-12 20:58:25 +00:00
Melanie Thielker 57bf09d3a6 Add a marker section to prebuild.xml for automatic insertion of forge module
sections
2008-10-12 19:32:21 +00:00
Melanie Thielker 905fb969f5 Add a configuration section for groups modules 2008-10-12 18:54:43 +00:00
Homer Horwitz b8a50c40b1 - Added helper method to compute global coordinates from a fake parcelID
- Some formatting cleanups
2008-10-12 18:07:39 +00:00
Melanie Thielker d1dec0cbbd Fix copypaste error in last commit 2008-10-12 16:43:24 +00:00
Melanie Thielker cc72ea532a Fix linking phantom and nonphantom prims. Make the error message more friendly
when estate_settings.xml is empty or missing
2008-10-12 16:40:18 +00:00
Homer Horwitz f52c5febd3 Add EventInfoRequest and EventInfoReply packets.
Note: New file, run prebuild.
2008-10-12 16:29:29 +00:00
Dahlia Trimble f2700590d7 removed some more extraneous hidden faces 2008-10-12 09:36:01 +00:00
Dahlia Trimble 116a08f42e Fixed a missing face on a profile cut 2008-10-12 08:52:42 +00:00
Dahlia Trimble 216787ee1d Optimization: calculation of profile vertex normals is now disabled as default. 2008-10-12 07:04:52 +00:00
Jeff Ames fdec8390c1 Update svn properties, minor formatting cleanup. 2008-10-12 03:16:49 +00:00
Melanie Thielker 166690d539 Add one more check for key presence 2008-10-12 01:16:35 +00:00
Adam Frisby 765fc6c289 * Removed a lock in a high performance section of OpenSim, in cases when it is not necessary. 2008-10-12 01:12:07 +00:00
Adam Frisby d7aedf343a * Small fix for when PacketPool is disabled to prevent it from crashing immedietly. 2008-10-12 01:09:58 +00:00
Melanie Thielker 11477db59e Fix LSL bitwise Or 2008-10-12 01:00:26 +00:00
Adam Frisby dcdfde834f LLUDP Client View
* Experimenting with the PacketPool mechanism.
* It's still disabled in the code, however there's now a flag to enable it.
* Converted to use Generic Collections vs Hashtables, also now uses a list of 'OK to pool' packets, starting with the high volume PacketAck packet.
2008-10-12 00:56:54 +00:00
Adam Frisby d10a578096 * Fixed two major unhandled exceptions discovered during the Pub Quiz on friday. 2008-10-12 00:11:22 +00:00
Melanie Thielker acce65457c Fix the fix. Child prims were failing to load. 2008-10-11 23:59:46 +00:00
Melanie Thielker 6f2d077356 Fix llSetPos to handle child prims correctly. This will fix linked
sliding doors
2008-10-11 23:47:35 +00:00
Homer Horwitz b48885ece4 The "About Landmark" code with the fake parcelIDs had a serious bug.
- Fix that bug. It will work with OSSearch now, too
- Add some caching to reduce inter-region requests.
2008-10-11 22:42:59 +00:00
Melanie Thielker 82b2b2dccb Implement the hook needed for the CanTeleport check 2008-10-11 22:11:48 +00:00
Homer Horwitz 38a0a68091 * Change permission check for llParcelMediaCommandList to use the permissions
module, thus including estate owners and gods.
2008-10-11 20:53:33 +00:00
Melanie Thielker 8bc724a418 Fix a path issue i caused in a prior commit 2008-10-11 20:23:54 +00:00
Melanie Thielker 143419ebb2 Add a "inimaster" switch to OpenSim.ini. It will load a master ini file
and then the OpenSim.ini only needs to contain instance specific data
2008-10-11 17:51:16 +00:00
Homer Horwitz 4c337c48c7 Add logging in case of a SOG without rootpart 2008-10-11 17:48:37 +00:00
Melanie Thielker bd05b932b1 Add shift operator overloads to LSLInteger. If you get error messages when
using << and >> in scripts, this will fix it.
rm bin/*.dll ; rm bin/ScriptEngines/*.dll ; rm bin/ScriptEngines/*/*.dll
then rebuild and reinstall
2008-10-11 17:09:26 +00:00
Homer Horwitz 628e3a9553 - Patching a symptom of the failed WP start. We really need to find the reason
for that...
2008-10-11 16:58:05 +00:00
Melanie Thielker 44b2ecf29d 2nd stab at that prim loading nasty 2008-10-11 16:32:31 +00:00
Melanie Thielker 625c67de54 Fix Nebadon's WP crash (invalid root part from database null-ref) 2008-10-11 16:23:15 +00:00
Melanie Thielker 94558603e5 Make a missing or read-only estate_settings.xml non-fatal 2008-10-11 15:41:25 +00:00
Homer Horwitz bed6c763a5 * Rework llParcelMediaCommandList
* Add missing PARCEL_MEDIA_COMMAND_* constants
* Fix a copy/paste error in SendParcelMediaUpdate
llParcelMediaCommandList should work now
2008-10-11 15:18:55 +00:00
Homer Horwitz 6452c6c20b Add a + operator to LSLString, otherwise you will end up with CIL strings if
you have expressions with strings.
2008-10-11 15:17:49 +00:00
Teravus Ovares abc6424c51 * Removed Heartbeat timer
* Implemented a proper update thread
* Removed the UpdateLock Mutex as it's no longer needed because updates can only happen one at a time now.
* This should actually improve performance significantly.. But, see the warning on the next line!
* Warning: If there are deadlocks that the threadpool timer method was hiding, this will expose them for all the nastiness they are.
2008-10-11 11:43:42 +00:00
Melanie Thielker dd5746fb8a Add the 4 missing events 2008-10-11 06:25:48 +00:00