Commit Graph

27841 Commits (bcee4e377200d26beeb6ea4760e840b2ff4a5d24)

Author SHA1 Message Date
Robert Adams e4e58fad32 Enable OSSL functions by default using the osslEnable.ini configuration file.
This changes OpenSim.ini.example to, by default, include osslEnable.ini which
turns on the OSSL functions and limits who can do which operations.
2015-04-14 07:17:54 -07:00
Robert Adams 520e6ed6f3 Remove ossl settings in XEngine section of OpenSim.ini.example with note to where
they were moved. At the moment, ossl settings are in the XEngine section although
  they should apply to any LSLish script engine. Moves all ossl settings to osslEnable.ini
Update osslEnable.ini with more decriptive comments and set some functions to be more
  restrictive -- especially the functions that allow scripts to do things to other
  avatars and prims.
2015-04-14 06:18:25 -07:00
Robert Adams d96d31be45 Add warnings in osslEnable.ini about use of osAvatarPlayAnimation which forces animations
on avatars without requesting user permission.
2015-04-12 19:32:06 -07:00
Robert Adams 9b337b089c Add osCheckODE() function so scripts can configure for running with legacy physics engine.
Function returns 'true' of the physics engine is configured to be 'OpenDynamicsEngine'.
  The presumption is that all other physics engines work the same (like SL) or it is a bug.
  Does not require ossl functions to be enabled.
2015-04-12 19:30:55 -07:00
Robert Adams 2a302d9a32 Move osslEnable.ini file from bin/ to bin/config-include.
Per comments, putting new configuration files in bin/ is not preferred.
Add comments and instructions to heading of osslEnable.ini.
Add a commented out include of osslEnable.ini to OpenSim.ini.example.
Fix line endings of osslEnable.ini to be Unix style.
2015-04-12 16:00:54 -07:00
AliciaRaven 1e444b1449 Change UserProfiles so that the parcel name is used for a ProfilePick and not the parcel owners name. This change also fixes a bug where if the avatar enters and does not move, creating or editing a ProfilePick would set the parcelId as an empty UUID. This is because ScenePresence.currentParcelUUID is not set until the avatar moves.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 15:36:22 -04:00
Magnuz Binder bdb91d0e70 Fix llTargetOmega non-physical gain.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 14:55:44 -04:00
Magnuz Binder beba2ce781 Fix stand position for differing seat and root rotation.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-12 12:53:47 -04:00
Robert Adams 01a6ce2baa Add the missing commas to parcel parameter setting in osslEnable.ini 2015-04-12 08:00:46 -07:00
Robert Adams d5ed6493d9 Add 'osslEnable.ini' file which enables a restricted set of ossl functions.
An 'include' in OpenSim.ini would enable the ossl functions but, for the moment,
the functions are still disabled by default and this file is an example
of what could be done.
2015-04-11 22:07:16 -07:00
Robert Adams 8d66284841 BulletSim: implement VEHICLE_REFERENCE_FRAME. Thanks Vegaslon!. 2015-04-05 20:20:37 -07:00
Robert Adams c0ad5ee81d varregion: update MapImageServiceModule to upload multiple map tiles for large regions. 2015-03-29 17:21:19 -07:00
Robert Adams 6081ae3554 varregion: update MapImageModule and ShadedMapTimeRenderer for variable sized regions. 2015-03-29 16:55:18 -07:00
Robert Adams df14b40e88 varregion: update LandManagementModule and LandObject for variable sized regions. 2015-03-29 16:45:00 -07:00
Robert Adams 07dead7dcb varregion: any conversions of use of Constants.RegionSize converted into
Util.cs routines to convert region coords to and from world coords or handles.
2015-03-29 14:25:12 -07:00
Robert Adams c5a7bf6601 varregion: add varregion and TerrainData use in LLClientView.
Add sending multiple parcel patches and sending patches by avatar
view distance.
2015-03-28 08:30:52 -07:00
Robert Adams 08c72a8dc1 varregion: remove use of Constants.RegionSize is various places.
More use of the Util routines for conversion of region handles into addresses.
2015-03-28 07:50:04 -07:00
Robert Adams bedafb8fae varregion: refactor use of 'double heightmap[,]' into references to new class TerrainData
and push the implementation from Scene into the database readers and writers.
2015-03-27 19:32:50 -07:00
Robert Adams d74d74c910 varregion: restore checkAgentAccessToRegion routine in EntityTransferModule. 2015-03-27 06:47:55 -07:00
Melanie Thielker 4b066d373b Comment spammy XMLRPC router message - we don't need to know every time a
script does something that wil fail anyway.
2015-03-25 19:14:30 +01:00
Melanie Thielker 752901c5f4 Make attachment rezzing async again for NPC. Doing that sync causes a deadlock
with the script thread.
2015-03-24 01:37:14 +01:00
Melanie Thielker 65c0c4be78 Allow re-setting the region restart timer. Also move restart notifications to
upper right corner again.
2015-03-23 22:19:33 +01:00
Melanie Thielker a2676388f4 Make the scripted dialogs and restart message appear in the top right corner
again. Viewers have been busy making these notifications all into toasts but
we believe there are message that are important enough to make the user
acknowledge them.
2015-03-23 22:17:51 +01:00
Melanie Thielker 5cb8127e87 Make log output of remote admin's restart region call reflect restart cancellations properly. 2015-03-23 22:16:49 +01:00
Melanie Thielker 97ff01a0c2 Taking a reference to the value collection is not thread safe. Change this
to create a shallow copy instead and then iterate it's values to avoid the
"out of sync" error.
2015-03-23 22:15:25 +01:00
Robert Adams 9f18e3ba80 Varregion: first cut at removing Border class checks for region crossings.
Added Scene.PositionIsInCurrentRegion(pos) to sense when new position needs some crossing work.
Many changes made to EntityTransferModule to accomodate new crossing sense logic.
2015-03-22 21:53:02 -07:00
Magnuz Binder b51e46ceb8 Parameterize sleeps in LSL functions. 2015-03-22 09:55:02 -07:00
Magnuz Binder 07a75677c3 Allow setting hollow to 99% from scripts just like from viewer. 2015-03-22 09:53:27 -07:00
Magnuz Binder f63d6ffd81 Allow setting holesize to 0.01 from scripts just like from viewer. 2015-03-22 09:53:13 -07:00
Magnuz Binder 68ed200191 Allow setting dimple diff to 0.02 from scripts just like from viewer, add clipping and fix old copy-paste error. 2015-03-22 09:53:03 -07:00
Freaky Tech 5af82df9b6 viewers can set a minimum distance 0.02 between path cut start and path cut end 2015-03-22 09:52:46 -07:00
dahlia 83e58ebc7c oops someone set individual quaternion members and forgot to normalize 2015-03-17 13:14:03 -07:00
Justin Clark-Casey (justincc) 310e44f250 Re-enabled ability for avatar to ascend and descend whilst controlling view with lmb held down on avatar (in most viewers).
This had been disabled by 30b7863 (Fri Feb 27 2015).
Relates to http://opensimulator.org/mantis/view.php?id=6835
2015-03-17 18:55:33 +00:00
Justin Clark-Casey (justincc) 5b31bb9cb9 Don't log http auth details by default.
This is a security risk when people distribute logs for debug purposes.
If necessary the information can be retrieved via config console commands.
Relates to http://opensimulator.org/mantis/view.php?id=7501
2015-03-16 23:48:16 +00:00
Justin Clark-Casey (justincc) eda09d8763 Fix XBakes simulator-side authentication regression failure
Unlike the other connectors, XBakes uses a service auth retrieved from ServiceAuth.Create() and not code inherited from BaseServiceConnector.
Fixes regression from 7d3bafd5 (Wed 4 Mar 2015) where the new CompoundAuthenticator did not implement IServiceAuth.AddAuthorization()
2015-03-16 23:40:34 +00:00
Justin Clark-Casey (justincc) e6889a6023 Update version info to 0.8.2.0 2015-03-16 21:53:31 +00:00
dahlia 8b13e4e731 Revert "Allow a console command to give blank arguments ("") without the parser failing, e.g. login text """
This reverts commit 129cc49eb4.
It was causing the "alert" console command to fail.
2015-03-14 14:24:55 -07:00
Justin Clark-Casey (justincc) fec2527e6c minor: fix compiler warnings in EstateDataRobustConnector 2015-03-14 00:18:35 +00:00
Justin Clark-Casey (justincc) 45dd0cc363 Actually start a region created via the "create region" console command.
Addresses http://opensimulator.org/mantis/view.php?id=7478
2015-03-13 23:50:00 +00:00
Justin Clark-Casey (justincc) caa0e2a732 Don't try to write region size and MapfileStaticFile Nini settings that are not set up when invoking the RemoteAdmin create region facility.
Changes by MarcelEdward from http://opensimulator.org/mantis/view.php?id=7497.  Thanks.
2015-03-13 23:30:31 +00:00
Justin Clark-Casey (justincc) 441d77b5b6 For the public-facing Hypergrid asset and inventory services, override a general AuthType setting with None in Robust.HG.ini.example
This is necessary because both asset and inventory reuse generic connectors that will otherwise set up authentication configured in the [Network] section.
This allows one to set up authentication for private services whilst still being able to use asset and inventory on foreign grids.
The setting is AuthType = None in both [HGAssetService] and [HGInventoryService]
Private grid asset and inventory services will still set up the authentication as configured.
2015-03-13 23:01:50 +00:00
Justin Clark-Casey (justincc) 0aeea89258 Fix script state not being preserved in objects sent via Hypergrid.
This was because attributes were not being included in the transformation, hence losing the script state identity.
Symptoms are messages like "[SCENE OBJECT GROUP]: SavedScriptState element had no UUID in object test box"
Regression since the conference code merge.  Regression test extended for this case.
Relates to http://opensimulator.org/mantis/view.php?id=7439
2015-03-13 20:09:29 +00:00
Justin Clark-Casey (justincc) 3a7d42378f Move state change in progress in ScriptInstance.PostEvent() to the top of the EventQueue lock to avoid some flags possibly being wrongly set (m_LastControlLevel, etc.) 2015-03-12 00:14:30 +00:00
Justin Clark-Casey (justincc) 7410924de0 Lock around EventQueue manipulation in ScriptInstance.SetState() as queues are not thread-safe structures.
This should also make it less likely that an event will be erroneously posted during a state change by precluding a race condition with a thread calling ScriptInstance.PostEvent()
2015-03-12 00:07:01 +00:00
Bob Shaffer II b4b13510e8 A workaround for the state change problem described best here http://opensimulator.org/mantis/view.php?id=6960 which should make state changes behave more like is described here http://wiki.secondlife.com/wiki/State 2015-03-12 00:01:30 +00:00
Justin Clark-Casey (justincc) 80936fb4c5 Make SmartThreadPool build pick up Properties/AssemblyInfo.cs by setting build to recurse in this directory.
Patch from http://opensimulator.org/mantis/view.php?id=7443
Thanks Fly-Man-
2015-03-11 23:41:49 +00:00
Justin Clark-Casey (justincc) de7017b43d Add Shy Robbiani to contributors 2015-03-11 23:32:22 +00:00
Shy Robbiani 78258a0fa1 help restart message corrected
The "restart" console command restarts the currently selected region or
all regions in this instance if root is selected. Changed the message
accordingly.
2015-03-11 23:30:05 +00:00
Justin Clark-Casey (justincc) b9c384fc3c Add rough and ready element explanation in a comment at the top of inventory library items xml 2015-03-11 23:12:21 +00:00
Justin Clark-Casey (justincc) db24cf5322 Add required wearable flags values to inventory body parts and clothing example xml 2015-03-11 23:04:39 +00:00