Commit Graph

5853 Commits (815278531ab578dc5c4fbfefb71c6b458c201571)

Author SHA1 Message Date
Melanie Thielker 09641bd999 Change the OopenSim.ini default to 256m for nonphysical prims, to
get future public installations on a more sane footing.
2008-07-20 16:50:15 +00:00
Melanie Thielker 8ae7dc628b Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker 212ab8c6d9 Change SQLite argument marker from the more standard '@' to the ':' supported
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00
Charles Krinke 9ff9279a7c Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s> 
is equal to <-x,-y,-z,-s>. The result may be different from LSL 
output, but it is correct. A problem of rounding caused an error 
of square rooting of zero as negative number, corrected by squaring 
again. Function tested 360° along 3 axes. Vector fwd, left and up 
have to be normalized.
2008-07-19 14:45:10 +00:00
Jeff Ames 19fd2230bf Update svn properties. Fix some inconsistent newlines. 2008-07-19 09:35:48 +00:00
Melanie Thielker 351ee78d2a Quick fix to make the estate ban list effective again, when the region
crossing is also a sim crossing. Prevents the CAPS handler from being set
up for a banned user,making them redmap out.
Dirty hack, temporary until I can work out how to do it right.
2008-07-19 06:20:57 +00:00
Melanie Thielker bcf74416a1 Fix prim link numbers (Mantis #1781)
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Melanie Thielker a73d87ef16 Introduce a separate connection string for estates, which defaults to the one gi
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker bbd076544d Patch to fix saving of estate managers list loaded during migration.
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield 6a7d544497 pulling query handling through the handlers. adding (non-functional,
work-in-progress) HttpHandler.

NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Charles Krinke c0e389cfff Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
llRot2Left and llRot2Up functions modified, using fast algebric 
calculations instead of vectors and quaternions products. 
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Melanie Thielker 76840906b5 Patch adds bool IsManager(LLUUID) to IEstateModule.
Returns true whenever the LLUUID references a user who is either an EM or
the region owner.
Please note that ownership is region-scoped, while EM is estate-scoped.
2008-07-18 18:08:34 +00:00
Dr Scofield 449c09234d fixing copy & paste artefact. 2008-07-18 15:36:38 +00:00
Sean Dague 611b56070b add some locks back into the sqlite asset path, as something changed
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Dr Scofield 0ea73384d4 simplifying OSHTtpHandler (a bit), adding query string matching,
adapting OSHttpXmlRpcHandler accordingly.

NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Sean Dague df1485fc51 remove all the odd quoting, on the off chance this was causing some
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague d9ba7c8339 put the entire thing inside a transaction. This probably doesn't
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague e2a3be254f fix typo in create index that caused the entire migration to fail.
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague aec5f0ceed found a better pattern for SaveOrUpdate with nhibernate
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Justin Clarke Casey f8721c3c1c * refactor: break out sog loading code into two parts so that post-deserialization changes can be carried out before adding it to a scene 2008-07-18 14:42:06 +00:00
Dr Scofield a6e2589537 force Culture to en-US in BaseHttpserver.HandleRequest() --- this
fixes mantis #1748 and #1771.
2008-07-18 14:40:07 +00:00
Dr Scofield e719bd4d5c additional patterns for .hgignore 2008-07-18 14:37:23 +00:00
Sean Dague d44dcdf97b remove NHPrim, this turned out to be a bad idea 2008-07-18 13:44:16 +00:00
Justin Clarke Casey 03bd6c91a9 * Fix http://opensimulator.org/mantis/view.php?id=1761
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Justin Clarke Casey e1b7ace453 * Try new ruth avatar settings correction suggested by jenni in http://opensimulator.org/mantis/view.php?id=1769
* Thanks jenni
2008-07-18 11:20:30 +00:00
Dr Scofield 0171e76246 squashing further warnings. 2008-07-18 10:57:18 +00:00
Dr Scofield 3fb0a08619 fixing warnings in EstateSettings and correcting coding style:
* warning was: 
                 OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only

* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Dahlia Trimble 473059905f Commented out a readline that was preventing the sim from shutting down in some cases 2008-07-18 08:22:05 +00:00
Mike Mazur 8b613e677f Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770. 2008-07-18 07:52:44 +00:00
Mike Mazur e0e0db3660 Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763). 2008-07-18 04:51:41 +00:00
Mike Mazur 2558f8ac31 Make scripts LSL compliant. 2008-07-18 04:51:36 +00:00
Dahlia Trimble 230a7ecaec masks MySQL password from console startup messages 2008-07-18 03:23:40 +00:00
Melanie Thielker 263633e274 Patch #9151
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Dahlia Trimble f87d2d8a92 added region port number to output of "show regions" command 2008-07-18 02:08:14 +00:00
Mike Mazur 0b92ff4fde Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis. 2008-07-18 02:05:20 +00:00
Charles Krinke bc24c0e5d7 Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
llRot2Fwd function modified, using fast algebric calculations 
instead of vectors and quaternions products. The accuracy is 
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Dahlia Trimble 49adb6e09f refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it. 2008-07-18 00:03:28 +00:00
Sean Dague f54828c957 fix build break 2008-07-17 21:07:39 +00:00
Sean Dague 18a5cfd10f terrain is close to working, but I still end up at the bottom of the sea
right now.
2008-07-17 20:58:24 +00:00
Sean Dague 50eab18590 need to synchronize the terrain updates 2008-07-17 20:58:23 +00:00
Sean Dague 4663999c24 first pass at Terrain implementation 2008-07-17 20:58:20 +00:00
Sean Dague 366e09b543 add a Terrain object for the purpose of mapping. This may make sense
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague 8f2154916b if no texture, make it plywood 2008-07-17 19:58:45 +00:00
Sean Dague a580d7ee35 add plywood texture as a constant, as we need it in a couple of places
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
Charles Krinke 26fd0595d7 Mantis#1598. Thank you kindly, Matth for a patch that addresses:
The previous implementation of llEuler2Rot was not mathematically 
incorrect, but it was an awkward way of posing the problem that 
led to a few degenerate cases which were not handled correctly - 
for example, PI rotations around X and Z axes were wrong. I put 
some comments in the source about how I arrived at the current 
implementation, which I think is easier to read, and gives 
results that match SL.
2008-07-17 19:11:56 +00:00
Sean Dague 6084a7ea3e Revert "git merge"
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague dd144e12ba git merge 2008-07-17 18:59:06 +00:00
Sean Dague 1c0f27b013 finish NHibernate mapping for prims, and it even seems to work 2008-07-17 18:59:04 +00:00
Sean Dague 43df32c52c fix the null case for deep copy 2008-07-17 18:59:02 +00:00
Sean Dague 0a01be9a86 more safety checks 2008-07-17 18:59:01 +00:00