Commit Graph

6642 Commits (dc7e3ddc3e5a622ae86670830530aa4a2206e762)

Author SHA1 Message Date
Melanie Thielker fe1d78bb78 Add some locking on m_undo in SceneObjectPart 2008-08-17 19:17:44 +00:00
Melanie Thielker 5d6a42a22e Add an invalidate method to the cache class. 2008-08-17 19:10:32 +00:00
Teravus Ovares 0683a07081 * Turned on the MapImageModule as opposed to the code in Scene for generating the map image. Copied the code in Scene into the MapImageModule, made a few tweaks to get it to work with the module's interface.
* Refactored a few things in Scene to make maptile saving easier to understand.
* Added comments to describe the 'clever code' assetcache update without the gridasset being updated so as to lessen possible confusion in patches in the future.
* If the MapImageModule isn't loaded, default to the code in Scene still.
2008-08-17 18:59:58 +00:00
Melanie Thielker 40abeed7d4 Add the IInventoryModule interface and a sample method call
to Scene.INventory.cs
2008-08-17 18:41:13 +00:00
Melanie Thielker 1db8f6fbad Patch for Adam: Add two new permissions options to Opensim.ini.example
and the permissions module
2008-08-17 05:05:06 +00:00
Teravus Ovares 910f9d10d6 * half of the attachmentpoint skull fix
* There's still a full object update coming when you release the attachment after modifying it that's killing it sometimes.
2008-08-17 03:09:47 +00:00
Jeff Ames 796ccd3d37 Update svn properties, minor formatting cleanup. 2008-08-17 02:31:45 +00:00
Charles Krinke 60a676251a Mantis#1971. Thank you kindly, BlueWall for a patch that:
The included patch enable handling for PRIM_FULLBRIGHT in 
llSetPrimitiveParams().
2008-08-16 21:31:36 +00:00
Teravus Ovares 7c8cc345cd * re-order an operation to check for NaNs in the maptile shadow routine. 2008-08-16 20:54:51 +00:00
Justin Clarke Casey d7f2c454f1 * Rename *DataStore classes to *RegionData to align with SQLite 2008-08-16 20:50:43 +00:00
Justin Clarke Casey 992b04a23e * Move GridInfoService into Framework.Communications and eliminate Common.Communications for now (since this was the only class in that project) 2008-08-16 20:42:43 +00:00
Justin Clarke Casey 79efe37a99 * minor: rip out userserver stress project which never got filled out 2008-08-16 20:31:07 +00:00
Justin Clarke Casey c602d76b79 * Insert a new 'set log level [level] command on the console'
* The primary immediate use is to provide a means of temporarily reducing log output on the console when executing console commands
* Changing the log level on the console is not permanent and does not affect the log information being put into OpenSim.log
* This could have been done by putting in a threshold level on the Console appeneder in OpenSim.exe.config and implementing config watching in the code.
* But I think that it's a little more user friendly to make this doable via the console.
2008-08-16 20:24:08 +00:00
Charles Krinke 701ee43e46 Mantis#1960. Thank you kindly, Tyre for a patch that:
This small patch enables updates to the lastLogin information in the `users` table
2008-08-16 20:02:51 +00:00
Teravus Ovares a6fdcffa3b * One more terrain shadow debug helper. 2008-08-16 19:58:25 +00:00
Charles Krinke 7a90385f1c Mantis#1970. Thank you kindly, HomerHorwitz for a patch that:
This patch improves fetching of inventory from several minutes 
to a few seconds.
2008-08-16 19:37:30 +00:00
Charles Krinke b6c6572ee1 Mantis#1969. Thank you kindly, Tyre for a patch that:
Type casting the normalized vector 'lookat' to int results to <0,0,0>.
This patch also adds an overload to RequestNeighbourInfo (currently unused) 
that will come handy for some features I'm working on.
2008-08-16 19:34:12 +00:00
Charles Krinke d9cc908471 Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:
Places touched:
- Added two events for in-packets to LLCLientView: RegionHandleRequest and
  ParcelInfoRequest
- Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and
  ParcelInfoReply.
- Scene handles the RegionHandleRequest, LandManagementModule the
  ParcelInfoRequest
- Added inter-region request for LandData by RegionHandle and local position.
  This was implemented as XML-RPC request. The returned LandData isn't
  complete, it only contains the data necessary for answering the
  ParcelInfoRequest
- Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData
  handling to LandManagementModule
- Added methods for fake parcelID creation and parsing to Util
- Fixed missing implementation of interface methods.
- Added new file:
    OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs
  NOTE: This is part of the patch, too.
Due to the many places touched, I would consider this patch as experimental.
2008-08-16 19:20:14 +00:00
Teravus Ovares f191f38a3e * Fix a rare maptile shading error, terrain difference mod 1 = 0 + abs = oops. 2008-08-16 19:03:29 +00:00
Jeff Ames 6fa26f5b41 Update svn properties, minor formatting cleanup. 2008-08-16 17:26:25 +00:00
Teravus Ovares 80186a68df * Adds Slightly better terrain shading to maptile generation. 2008-08-16 06:09:45 +00:00
Melanie Thielker 682ffef101 Reshuffle to eliminate prim owner lookups unless gridgods are enabled 2008-08-16 05:41:40 +00:00
Melanie Thielker e5a7ba5df4 Guard against the null UUID being queried from the userserver
repeatedly.
2008-08-16 03:18:21 +00:00
Melanie Thielker 9807a86398 Guard against a null ref in the permissions module when a profile
fetch fails.
2008-08-16 02:57:47 +00:00
Charles Krinke 5ed5d0788b Mantis#1890. Thank you kindly, Godfrey, for a patch that addresses:
llListSort() sorts integers and floats in ASCII order rather than numeric order
2008-08-16 02:39:46 +00:00
Charles Krinke 35f0e6f6f4 Mantis#1964. Thank you kindly, BlueWall for a patch that:
Parch adds PRIM_BUMP_SHINY handling to llSetPrimitiveParams
2008-08-16 02:33:26 +00:00
Melanie Thielker 1c40f4d951 Remove a project that had no buiness being in there 2008-08-16 02:31:58 +00:00
Charles Krinke 9a6bdd9701 Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:
XEngine missing string constructor for LSLInteger and LSLFloat
2008-08-16 02:28:30 +00:00
Melanie Thielker 328ab79b78 Refactor a lot of direct calls to OGS1 to use the cached version instead.
Scripts can now no longer DOS the user server and there are a lot fewer
gratuitious lookups of user profile data.
2008-08-16 02:00:36 +00:00
Melanie Thielker 437b4a8aaa Perils of copypaste. Missing references. 2008-08-15 23:35:01 +00:00
Melanie Thielker 32f90a028f Fix repeated user profile info lookups. Redirect those lookups to cache. 2008-08-15 23:29:34 +00:00
Melanie Thielker 04488d9d38 Plumb in the partner and the account title fields for profile info. 2008-08-15 22:49:26 +00:00
Melanie Thielker c1fa7592c7 Pantis #1957
Thank you, Leaf, for a patch that implements llGetAnimationList()
XEngine implementation added by myself.
2008-08-15 21:18:08 +00:00
Melanie Thielker 72b8c1af1c Plumb the user flags all the way through to the profile. userFlags in
the database is now intepreted as follows: low byte = user flags.
Next byte, low nibble: Deternines the text (Resident, Lifetime, etc)
shown. No customn text support yet.
2008-08-15 19:19:24 +00:00
Melanie Thielker 63856f6330 Mantis #1951
Trigger a persistence save when only name or description have
changed.
2008-08-15 16:51:26 +00:00
Melanie Thielker 9f8ff36348 Mantis #1961
Thank you, BlueWall, for a patch that adds PRIM_GLOW
2008-08-15 16:26:56 +00:00
Melanie Thielker 3e7e0c8ced Small fox in the database, god level was being overwritten with the user
flags value
2008-08-15 14:33:43 +00:00
Melanie Thielker 9f4a77e814 The missing option in OpenSim.ini.example... 2008-08-15 13:29:29 +00:00
Melanie Thielker dfc553d0a4 Fix up master avatar handling for estate owners. Introduces a new
hierarchical rights structure. MasterAvatar: Owner of the region server
(may be null), net gods (users with GodLevel 200), Estate owner
(from database). Look at Opensim.ini.example to enable net gods.
Estate owner will default to master avatar.
2008-08-15 13:13:39 +00:00
Jeff Ames 53b0ef82b3 Minor formatting cleanup. 2008-08-15 10:29:17 +00:00
Melanie Thielker 6717839d65 Fixes a case where neighboring region info cannot be obtained
and the region server tries to output the region information
using the unobtainable RegionInfo.
Caused a crash in GS1GridServices.cs, line 928
2008-08-15 10:26:03 +00:00
Jeff Ames dde21314e7 Update svn properties, formatting cleanup, fix a couple compiler warnings. 2008-08-15 10:24:04 +00:00
Melanie Thielker e1620c5cc3 Fixes a case where, when inventory is not currently accessible due
to other issues, detaching an attachment would cause an exception.
2008-08-15 10:07:45 +00:00
Dr Scofield d96701a0e4 From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows an asset to be added via the REST interface.
2008-08-15 07:45:23 +00:00
Dr Scofield 08c5c71200 From: Richard Alimi <ralimi@us.ibm.com>
The following patch implements adding prims to a region using the Xml2
format.
2008-08-15 07:33:58 +00:00
Dr Scofield 9df18bb544 From: Richard Alimi <ralimi@us.ibm.com>
The following patch implements retrieving prims in Xml2 format via the REST
interface.  For example:
  http://localhost:9000/admin/regions/<region-uuid>/prims/

It also allows an additional parameter which specifies a bounding box.  If
this parameter is specified, only prims within the bounding box are
retrieved.  For example:

http://localhost:9000/admin/regions/8cd759b4-e077-489d-9a34-e1ff70ef65dd/prims/0,0,0,128,128,128
will retrieve only the prims whose positions are in the bounding box with
corners (0,0,0) and (128,128,128).
2008-08-15 07:28:28 +00:00
Dr Scofield 8d479fe5af From: Richard Alimi <ralimi@us.ibm.com>
The following patch makes some enhancements to loading/saving the Xml2
format.

- Add streamed version of functionality for saving prims to Xml2
  format. The streamed version (optionally) allows for saving the
  prims whose positions appear within a particular bounding box.

- Expose stream versions of LoadPrimsFromXml2 and SavePrimsToXml2 in
  the Scene class

- Extend loading from Xml2 (the streamed version) to optionally start
  scripts for the loaded scene objects)
2008-08-15 07:20:38 +00:00
Dr Scofield 8606a86d5c From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows spaces in usernames and passwords in HTTP Basic
authentication for REST services.
2008-08-15 07:14:17 +00:00
Dr Scofield e6e01cee17 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that disables the addition of the Content-Length
HTTP response header when a chunked response is being sent.
2008-08-15 07:09:48 +00:00
Mike Mazur 60acc370fc Thanks, krtaylor, for a patch that fixes llListSort() and llListRandomize() failing with stride less than 1. Fix issue 1893. 2008-08-15 00:55:16 +00:00