Commit Graph

6446 Commits (45c74316d6c7766e7d61a826a8fc07f1d3ef1488)

Author SHA1 Message Date
Teravus Ovares e4ca8e613a * Remove a hack I put into OGP so that I could test OGP over SSL with the SeedCap response not being SSL 2008-09-14 23:46:38 +00:00
Teravus Ovares cdced699fb * Made Seed CAP response respect the SSL setting. 2008-09-14 23:39:35 +00:00
Teravus Ovares dbbbec48df * This update makes configuring SSL a little easier on Windows XP. It also makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes.
* There are still a lot of things that are hard coded to use http.   They need to be fixed.
* Also includes directions
* A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
2008-09-14 18:39:17 +00:00
Homer Horwitz 4ba7ce5981 Added some further clipping to color- and alpha-values. 2008-09-14 15:46:54 +00:00
Melanie Thielker de44f765e3 Mantis #2186
Prevent illegal color values from being set.
2008-09-14 15:18:58 +00:00
Homer Horwitz d7d1bee4a7 MessageServer gets the agent position (positionx/y/z) as float, not as int in
the login_to_simulator message. Changed parsing accordingly (#2190).
2008-09-14 13:57:25 +00:00
Melanie Thielker 2819559499 Mantis #2124
Thank you, RuudL, for a patch that brings MSSQL up to the same
implementation level as MySQL.
2008-09-14 13:23:02 +00:00
Adam Frisby 3476dd56ea * Converted a number of methods within the login processes from private to protected.
* Made several methods virtual to allow derivative overrides.
* Minor cleanups.
2008-09-14 04:13:15 +00:00
Charles Krinke 1d5e870ee2 Thank you kindly, CMickeyb for a patch that:
Moved intialization of appearance from the SendInitialData 
event handler into CompleteMovement handler. That ensures 
that m_appearance is initialized before the inventory is 
retrieved (so there is a place to check on attachments).
2008-09-14 02:56:51 +00:00
Adam Frisby e946b40fdd * Minor fixes and cleanups around code being used for Rex Module work. 2008-09-14 01:49:47 +00:00
Charles Krinke f2d60976d0 Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:
after using llTakeControls my sim receives about 200 messages per second, 
l of which get queued , this could be because there is no lag as the viewer 
and sim are on the same computer. The patch I have included checks to see if 
the "Changed" param is 0 then searches the EventQueue for Control messages 
being sent to the same localid, if it finds a message already in the Queue 
and Changed==0 then the new message is only notifing you the key is being held, 
since there is already a message the new one isnt needed so it isnt added 
to the queue.
2008-09-14 00:47:45 +00:00
Homer Horwitz 37e6ce24a2 Fixed several cases of inverted colors and alpha in DNE and XEngine.
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13 22:48:30 +00:00
Teravus Ovares af899e50c2 * Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie. 2008-09-13 22:29:36 +00:00
Jeff Ames b4141f9e56 Formatting cleanup. 2008-09-13 22:07:07 +00:00
Homer Horwitz 54e1988d85 Fixing a bug in DNE which caused the face-colors to be inverted when set via script. 2008-09-13 21:54:07 +00:00
Jeff Ames 6e6465f6c1 Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code. 2008-09-13 21:39:26 +00:00
Homer Horwitz 1ab0c0192f Fix another missing UUID before a ToString(). 2008-09-13 21:14:24 +00:00
Teravus Ovares e8d51b76fe * Fixes SQLite load crash.
* added primary key to regionsettings table in the cached table
* initialized the data adapter.
* Still untested fully, so watch out!
2008-09-13 21:01:21 +00:00
Melanie Thielker 9b9f1bc191 Add region settings support to SQLite (untested!) 2008-09-13 20:37:36 +00:00
Melanie Thielker 8830b8b72c Mantis #2018
Read animation data from avataranimations.xml to allow default animations
to be started and stopped by name from scripts.
2008-09-13 19:51:56 +00:00
Homer Horwitz ae9e4e8144 Update avatar-position while avatar is sitting and the prim is moved (#2159).
I decided to make ParentPosition a public property in ScenePresence, because
that's exactly what happens (the parent position changes on prim move).
2008-09-13 18:42:09 +00:00
Melanie Thielker 91e3463582 Remove the cruft of accessing a private member of another module's class
from DataSnapshot and replace it with a best practices approach, making
it much less dependent on the land module's internal structure and types.
2008-09-13 17:50:02 +00:00
Melanie Thielker e45db5917b Fix a typo in the DataSnapshot module 2008-09-13 16:53:58 +00:00
Melanie Thielker 99f1e1d107 Mantis #2182
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13 16:34:29 +00:00
Melanie Thielker dccdeb57bb Fix some string to float casting nastiness. The "train script" now
works. Also makes llGetFreeMemory return the constant 16384.
LLGetFreeMemory is useless in SL, as it never goes up, only down.
So, the only thing it is used for, in practice, is to detect an imminent
stack/heap collision, a danger we don't have.
2008-09-13 16:16:08 +00:00
Melanie Thielker fdb24c46ac Provide a GetApi method on the IScriptEngine to get a named API reference
This allows cross-api method calls on the implementation and also allows
"Meta APIs" that only provide common functionality to other APIs
2008-09-13 14:40:42 +00:00
Melanie Thielker 9222c5154e Change all LSL functions to return LSL types instead of base types.
Remove some unused osFunctions that were left in the LSL function
file from the separation way back when. Inline the osSetParcelMediaURL
code to get rid of the osFunction. Really need to add a way for one API
to call another.
2008-09-13 13:47:23 +00:00
Melanie Thielker 7f3a98b76d Fix string parameters to functions taking lists as arguments. LSL
functions return CLI strings, which, in the case of lists, don't
get wrapped. Therefore, the list had to be able to deal with
that CLI type here. The correct fix would be to change all LSL
function returns to LSL types.
2008-09-13 12:58:44 +00:00
Dahlia Trimble 8a8b01d1b8 Circular path prim meshes are now joined where the path ends meet if they match. This may have a minor improvement in memory and speed performance, but it's mainly for viewer applications and it also syncs the c# version of PrimMesher with my python sandbox version. 2008-09-13 10:22:17 +00:00
Sean Dague 39902fef77 wrap log4net configure in try block so that it will run if you don't have a
.config (which no one does).  Dropping in the .config lets you see that debug
messages, which is handy while writing tests and figuring out why things don't
behave like you would guess.
2008-09-13 02:29:04 +00:00
Sean Dague fcc716104b 2 more InventoryItem tests, plus see if I can leave the log4net
configure in there to help me get debug messages while developing.
2008-09-13 02:06:23 +00:00
Homer Horwitz 8ae8bec4d1 Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
2008-09-12 22:39:17 +00:00
Justin Clarke Casey 9cdd9e215c * Patch http://opensimulator.org/mantis/view.php?id=2172
* Patch attached that adds the check for uninitialized appearance when inventory items are received and processed. Also attempts to ensure that appearance is initialized even 
when the profile cache has not been built.
* This will not fix the race condition, but should at least remove the unhandled exception that is being reported in Mantis 0002126.
* Thanks cmickeyb
2008-09-12 21:32:45 +00:00
Justin Clarke Casey 1edee634ca * minor: spelling mistake and message tidying on Migration messages 2008-09-12 21:24:11 +00:00
Justin Clarke Casey 0dc1018ca1 * minor: Remove warnings
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Sean Dague ecc2a0f866 add first round of folder tests 2008-09-12 21:00:40 +00:00
Sean Dague 5557f0b772 reformat spacing on some property declarations. Take away the virtual
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
2008-09-12 21:00:29 +00:00
Justin Clarke Casey bf3190538e * Patch http://opensimulator.org/mantis/view.php?id=2158
* RemoteAdmin SaveXMLMethod 
* My tiny mind isn't quite sure how this is useful, but the load xml equivalent is already there, so what the hell :)
* Thanks Olish.
2008-09-12 21:00:05 +00:00
Justin Clarke Casey f1e4001c90 * Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
* Thanks!
2008-09-12 20:53:21 +00:00
Justin Clarke Casey 62d1eba3b2 * Patch http://opensimulator.org/mantis/view.php?id=2167
* Force ClickAction persistence even if other object properties are not edited 
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey 2d7aca6d9d * Add userstore sql upgrade I carelessly forgot to check in a couple of revisions ago
* Hopefully there wasn't a problem anyway, since the look at stuff isn't enabled yet
2008-09-12 20:38:20 +00:00
Justin Clarke Casey 2fcc131ef3 * Patch http://opensimulator.org/mantis/view.php?id=2163
* Add prim ClickAction persistence to SQLite 
* This will require a prebuild
* Thanks nlin!
2008-09-12 20:37:07 +00:00
Justin Clarke Casey 52a4c4d82f * Check in first part of http://opensimulator.org/mantis/view.php?id=2073
* This patch aims to introduce look at direction persistence between logins.  It won't be active until the second part of the patch is committed in about two weeks time.  At 
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database.  As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble febb781779 remove hidden faces inside prim meshes to improve memory use and startup time 2008-09-12 19:42:26 +00:00
Sean Dague 4b7e287ab2 because UUID supports equality, we can do a straight equals instead of
convert to string and match.
2008-09-12 18:46:55 +00:00
Tedd Hansen 85a0e03984 Note to self: VisualSVN not fully compatible with OpenSim prebuild :) 2008-09-12 18:46:52 +00:00
Sean Dague d312f10420 use new style asserts. They are much easier to read. 2008-09-12 18:46:44 +00:00
Tedd Hansen b41acfb4cf Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case) 2008-09-12 18:42:02 +00:00
Teravus Ovares 18f490a30c * Fix a missing .UUID in llInstantMessage 2008-09-12 18:17:01 +00:00
Sean Dague 9349cf3149 move the actual [Test] methods for databases to OpenSim.Data.Tests
classes.  This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00