Commit Graph

8036 Commits (95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346)

Author SHA1 Message Date
Dr Scofield ce1e1854b1 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.

The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.

Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield a3ac702941 From: Christopher Yeoh <yeohc@au1.ibm.com>
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00
Charles Krinke fe18adbc11 Add in a stub for llSHA1String. I believe it is the only one new
function we were missing.
2009-01-28 04:50:25 +00:00
Mike Mazur 8c859fa37d Removing ThirdParty/3Di from prebuild.xml. 2009-01-28 01:59:07 +00:00
Mike Mazur fefe0ff3d9 Removing contents of ThirdParty/3Di. The load balancer can now be found
at http://forge.opensimulator.org/gf/project/loadbalancer/

config key: svn.rmdir
2009-01-28 01:56:04 +00:00
Mike Mazur 7aa216d574 Slight cleanup of docs, removing trailing whitespace. 2009-01-28 01:55:45 +00:00
Dahlia Trimble 0c712e9704 delete some commented out junk code notes 2009-01-27 06:20:03 +00:00
Dahlia Trimble c747990187 Send groups list via event queue 2009-01-27 06:14:11 +00:00
Dahlia Trimble 54a1b9dbff correct formatting if parcel description field in event queue message 2009-01-27 01:31:06 +00:00
Dahlia Trimble fd76bc39fa Correct a typo in the parcel properties event queue message which was preventing the display of authorized buyer 2009-01-27 00:51:14 +00:00
Dr Scofield b1520fbfd2 2009-01-26 21:35:54 +00:00
Dr Scofield 92b6d1efbb 2009-01-26 21:35:38 +00:00
Dr Scofield 6cebb6e760 ~ fixing bugs in ConciergeServer.py test code
~ fix bug in ConciergeModule: wrong closing tag for avatars list
2009-01-26 21:35:16 +00:00
Dr Scofield 0aafeb5da3 adding XML parsing to make sure POST content is welformed 2009-01-26 21:34:59 +00:00
Dr Scofield 10f7e534c9 + adding URI substitution for concierges broker URI 2009-01-26 21:34:44 +00:00
Dr Scofield 0c14ebec87 ~ moving test server script on level up 2009-01-26 21:34:27 +00:00
Dr Scofield db46c75d72 ~ moving test server script on level up 2009-01-26 21:33:53 +00:00
Dr Scofield 494cfdfe37 ~ turning synchronous broker update into asynchronous one 2009-01-26 21:33:36 +00:00
Dr Scofield 8c4ac64d80 ~ fix: Concierge reports avatar leaving region twice
~ cleaning up log statements
2009-01-26 21:33:20 +00:00
Dr Scofield 3b866df078 + completed python test server 2009-01-26 21:32:59 +00:00
Dr Scofield 78db120b3d + adding test server for debugging purposes 2009-01-26 21:32:43 +00:00
Dr Scofield 0abc179a4e ~ extending attendee list to include agent name
+ code to generate full XML avatar list
+ code to POST XML snipplet
2009-01-26 21:32:24 +00:00
Dr Scofield 4464e59f75 adding timestamp as ISO 8601 2009-01-26 21:31:41 +00:00
Dr Scofield d10d8af295 adding XML sniplet generation (start of) 2009-01-26 21:31:21 +00:00
Dr Scofield 464ecc15a0 starting draft attendee list notification support. 2009-01-26 21:31:02 +00:00
Dahlia Trimble b112109d2c swap endianness of parcel flags in event queue message 2009-01-26 20:06:31 +00:00
Teravus Ovares fc75a2031e * Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface. 2009-01-26 20:05:13 +00:00
Sean Dague f9b5329a74 in the spirit of cleanup, remove the old sql directory, as this stuff is
all done in the drivers now
2009-01-26 15:42:21 +00:00
Dahlia Trimble 4dace03696 add a definition for a parcel properties CAP
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
2009-01-26 10:42:24 +00:00
Dr Scofield 02c12de6c1 ~ cleaning up code base: dropping share/python 2009-01-26 10:11:20 +00:00
Dahlia Trimble fa99f01378 more eventqueue IM nonsense 2009-01-26 08:04:12 +00:00
Jeff Ames 5bd0947f7e Move file contents into file. 2009-01-26 01:52:06 +00:00
Jeff Ames f9f0deeaa0 Remove empty share/ruby directory. 2009-01-26 01:43:48 +00:00
idb b0cb272d12 Remove the addition of the region coordinates to obtain the absolute position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors.
Fixes Manitis #3046
2009-01-25 21:13:42 +00:00
Homer Horwitz b405d92260 * Fixed a small logical error in error handling of console commands.
* Console command help should be output to the console, not to the log (as "help" does it already). That allows getting help/answers even if you only log into a file.
Fixes Mantis#2916.
2009-01-25 16:12:55 +00:00
idb aa2521623c Add an override of the ! operator to lsl integer.
Fixes Mantis #3041
2009-01-25 10:17:26 +00:00
Adam Johnson 444320e4a6 Applied patch from #3012 Fixing a minor bug where nhibernate mappings from outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari! 2009-01-25 08:31:08 +00:00
Teravus Ovares 76206543e8 * Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2).  The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Jeff Ames 676b7c1073 Update svn properties. 2009-01-24 08:18:41 +00:00
Justin Clarke Casey c277440e73 * minor: remove mono compiler warning 2009-01-23 20:44:35 +00:00
Justin Clarke Casey dbd2b45233 * Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up 2009-01-23 20:38:44 +00:00
Charles Krinke bd2c345e56 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls.
* Added missing field to schema creation scripts: PathTaperY.
* Added schema creation scripts for PostgreSQL.
* Added unit test classes for PostgreSQL.
* Added schema creation script folder to NHibernate project in prebuild.xml
* Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml
* Ensured that build works with both nant and Visual Studio.
* Executed build unit tests with nant and NHibernate unit tests with NUnitGUI
  - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
2009-01-23 20:21:43 +00:00
Justin Clarke Casey 664f983943 * Extend archive test to check for the presence of a control file in a saved archive 2009-01-23 19:24:36 +00:00
idb 04a565e6b1 Fix for llGetRot when the script is in a child prim. Also fixed llGetPrimitiveParams for PRIM_ROTATION.
Fixes Mantis #3023
2009-01-23 18:10:31 +00:00
Justin Clarke Casey f8aea3724d refactor: move test modules set up code to common function 2009-01-23 17:55:29 +00:00
Justin Clarke Casey ee3c61247e * refactor: move scene setup code into common test code assembly 2009-01-23 17:32:38 +00:00
Justin Clarke Casey 227e88a6f4 * minor: remove serialization and deserializationg sog log messages for now 2009-01-23 17:17:46 +00:00
Justin Clarke Casey 15cd1102e1 * minor: small tweak to archive save completion log message 2009-01-23 17:12:15 +00:00
Justin Clarke Casey ddff7ab20e * Add direct stream loading and saving methods to the archive module.
* The async stream method does not yet signal completion to interested calling code
2009-01-23 17:07:37 +00:00
Teravus Ovares 74df9f9c81 * Adds a synchronous jpeg decode for pre-caching purposes
* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
2009-01-23 11:00:36 +00:00