Commit Graph

9431 Commits (db9d3d3a90939b8b5d803271ca9e8040f49ea64e)

Author SHA1 Message Date
diva db9d3d3a90 Added Flotsam's cache config vars to configuration. Made it the default in grided sims. Made Cenome cache the default in standalone sims. More splitting in ini files, invisible to the user. 2009-06-06 17:06:47 +00:00
Melanie Thielker 5139160ce4 Correct an error where the config file name was always considered to be a
local file. This caused llHttpRequest and llSetInventoryPermsMask to fail
on regions that load their config from a web server
2009-06-06 16:39:28 +00:00
Dahlia Trimble f94e192b86 some code cleanup
test commit with cygwin svn
2009-06-06 08:41:27 +00:00
Justin Clarke Casey 4234e49445 * minor: tiny tweak just to trigger another panda build 2009-06-05 19:53:24 +00:00
Justin Clarke Casey ccbe049287 * A bug fix for the last mantis 3741 bugfix
* Hopefully now, the nre should not occur and the lock should be correctly unlocked during the initial save oar process
2009-06-05 19:34:35 +00:00
Justin Clarke Casey fbd0f5491b * A further fix for mantis 3641 (oar saves do not complete)
* For some reason, if a null was recieved (indicating a missing asset), the code had stopped passing that on to the waiting lock, resulting in a perpetual freeze
* This change passes the null on correctly
* Many thanks to thomax for being insistent in presenting his analysis of the problem :)
2009-06-05 19:20:31 +00:00
Justin Clarke Casey c20f31beff * refactor: split out part xml writing in SceneObjectSerializer 2009-06-05 18:44:44 +00:00
Justin Clarke Casey 87097f2484 * Fix unit tests so that they correctly handle 404 missing asset response
* I didn't think there were tests in this area - my bad
2009-06-05 17:03:44 +00:00
Justin Clarke Casey 593942b195 * Fix problem where known missing assets would stop save oar ever completing
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05 16:14:22 +00:00
Justin Clarke Casey bfea077508 * Add oar saving timeout
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds
* Timeout executes abort, since missing assets in an OAR seems bad
* This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service
* This is not a solution to mantis 3714.  Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-05 13:48:43 +00:00
Melanie Thielker 9f932a4205 Thank you, thomax, for a patch to provide finer-grained access control to
scripting.
Fixes Mantis #2862
2009-06-05 09:47:42 +00:00
lbsa71 d3ae3d7e72 * convenience ignores 2009-06-05 06:23:09 +00:00
lbsa71 7431b9a3f9 * Restructured Scenes Tests to follow (what I conceive of as being) current directory standards. (pt 2 - thank you, svn. not.) 2009-06-05 06:22:42 +00:00
lbsa71 fd5e45733c * Restructured Scenes Tests to follow (what I conceive of as being) current directory standards. (pt 1 - thank you, svn. not.) 2009-06-05 06:22:08 +00:00
Melanie Thielker f992db6807 Committing mcortez's FlotsamAssetCache after several positive reviews.
Thank you, mcortez!
2009-06-05 04:58:55 +00:00
diva ffac6f94f0 Changed a comment to reflect changes in config. 2009-06-04 18:41:19 +00:00
diva 99f3382c9c Fixed placement of optional configs for CenomeAssetCache. Thank you ImazeR. 2009-06-04 18:36:02 +00:00
Jeff Ames c6cef4bad5 Comment out unused variables / private fields to avoid compiler warnings. 2009-06-04 03:58:04 +00:00
Jeff Ames 2a855a6457 Comment out unused private functions to avoid compiler warnings. 2009-06-04 01:37:31 +00:00
Jeff Ames 1e3f378c57 Fix comparison of UUID with null. 2009-06-04 01:26:31 +00:00
Jeff Ames f9bca113e3 Ignore some generated files. 2009-06-04 01:10:49 +00:00
Jeff Ames 5f923f0632 Add copyright headers. 2009-06-04 01:09:18 +00:00
Jeff Ames 007016ecd2 Update svn properties. 2009-06-04 00:51:02 +00:00
Melanie Thielker 14bb372bb0 Committing the skeleton of the authentication service 2009-06-03 20:14:41 +00:00
Melanie Thielker 18cc7ffa44 Make AssetMetadata [Serializable] to help in binary caching 2009-06-03 19:54:19 +00:00
Melanie Thielker 6e494e5de5 Committing the partial refactor of authentication services. No user functionlity
will eat your babies, etc
2009-06-03 19:49:26 +00:00
lbsa71 9b619043ce * Making sure we fail a bit earlier if we have no AssetService 2009-06-03 17:29:21 +00:00
Dr Scofield 717fd3b5b9 From: Chris Yeoh <yeohc@au1.ibm.com>
This patch adds oar file date and time (UTC) meta data to an oar file
when it is created.  It also adds a unique ID, though this id does not
in anyway identify the machine that the oar file was created on.

When an oar file with this meta data is loaded this extra information
is saved with the region settings and available via LSL through:

- osLoadedCreationDate()
- osLoadedCreationTime()
- osLoadedCreationID()

If there is no meta data these fields will be blank. Subsequent oar
file loads will erase the information for the previous oar file
load. Persistence has only been implemented for MySQL, the other
backends need updating.

Overall this allows us to much more easily identify the specific version of
software that clients are using. Its very straightforward to edit the oar file
to change the ID string to be something more human friendly.

Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql
required for the MySQL DB migration.

btw I had a chat with justincc about this a few weeks ago since he
wrote the oar file import/export and he sounded happy to accept
something that included date/time information but didn't want anything
that would silently leak private information like machine names.
2009-06-03 12:48:04 +00:00
Dr Scofield 074b66ddcf From: Chris Yeoh <yeohc@au1.ibm.com>
- fixes wild swings in memory usage related to usage of GetDrawStringSize()

  We've been seeing wild swings in memory usage and a large chunk of
  memory leak. From analysing this it's pretty clear that the mono
  garbage collector is rather buggy! When exercised heavily it looks
  like it frees more than its meant to resulting in crashes.

  GetDrawStringSize() measures the size in pixels of text. To do this
  memory for an image is allocated and used to call the GDI text
  measure functions.  Although no reference to the temporary memory
  for the measuring is kept, it takes quite a while for the mono
  garbage collector to clean up - so if lots calls to
  GetDrawStringSize() are made at once there can be a spike in memory
  usage. If the garbage collector is not fast enough then the GDI
  layer runs out of memory. It also looks like the garbage collector
  is not always reclaiming all of the memory.

  I've attached an OpenSim patch which works around the garbage collector
  issues. Instead of dynamically allocating memory for measuring
  text sizes, it serialises (on a per region basis) access to a single
  block of memory. The effect of this is to be nicer to the garbage
  collector as it has a lot less work to do, at the cost of some
  theoretical loss in performance (nothing noticeable with our tests
  which hit it pretty hard).

  OpenSim still does leak memory slowly, but it is a lot more stable
  with this patch. I suspect that either the garbage collector misses
  bits of freed memory or the GDI/cairo layer leaks a bit each time a
  texture is created. Thats going to be a lot harder to hunt down, but
  for reference if someone has OpenSim running on Windows it would be
  interesting to see if it has the same problem as it would tell us if
  its a mono/GDI problem or an OpenSim problem.
2009-06-03 12:39:44 +00:00
Dr Scofield 25a0a56570 From: Alan Webb <alan_webb@us.ibm.com>
Modify dynamic texture handling so that an explicitly targetted
  face is not scheduled for immediate expiration. The requirement
  for precaching explicitly requires these assets to persist. They
  do however remain temporary.

  This approach leaves the legacy mode of operation (ALL_SIDES)
  unchanged in this respect.
2009-06-03 12:21:14 +00:00
Dahlia Trimble 9e3b592fa3 Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble b64c484d26 Thanks aduffy70 for Mantis #3762: A patch to fix llGround, llGroundNormal, and llGroundSlope 2009-06-03 05:31:53 +00:00
Dahlia Trimble 528db43326 revert r9765 due to too many errors on some compilers. Affects Mantis #3759 2009-06-03 02:03:11 +00:00
Dahlia Trimble e978edc264 add body to an empty getter/setter 2009-06-03 01:27:07 +00:00
Dahlia Trimble 23e0c84f51 fix a int[] declaration 2009-06-03 01:06:00 +00:00
Dahlia Trimble b38be1a7fd Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Charles Krinke 23bf1bf6e0 Thank you kindly, MattSetzer, for a patch that solves a Mantis:
This appears to be due to the fact that no asset cache has been 
configured, possibly as a result of the configuration changes that 
have been made recently. I've attached a patch to display a message 
to that effect rather than throwing an error.
2009-06-02 21:13:29 +00:00
Charles Krinke 93da1c2e94 Thank you kindly, jonc, for a patch that:
Grid mode only. Serialization and deserialization of 
byte representing Access Level is failing unless byte 
is ToString'd first on Grid Server.
2009-06-02 20:56:27 +00:00
lbsa71 6f37fd8399 * Pried apart the ODE tests. This fixes mantis #3212 2009-06-02 18:12:34 +00:00
Justin Clarke Casey 5c42143a7b * Add simple original xml serialization test 2009-06-02 15:24:29 +00:00
Melanie Thielker aec5dc677d Explicitly set the changed status of the prim groups affected in a delink
Mantis #2484
2009-06-02 08:19:32 +00:00
Arthur Valadares 63a499c569 * Allow for lowercase searching in standalone mode, when case sensitive
search fails. This allows compability to libOMV bots, that always lowercase
region names.
* Uncertain if this should/could propagate to grids
2009-06-01 20:51:40 +00:00
lbsa71 8e011ecbbb * Removed some commented-out code 2009-06-01 20:17:10 +00:00
Jeff Ames c6f616049c Only save crashes to disk if save_crashes in OpenSim.ini is true (false by default). 2009-06-01 18:45:36 +00:00
Arthur Valadares eb330f71be * Making silent logoff of old hung sessions for new connections default for
StandAlone users. Not touching grid.
2009-06-01 18:34:40 +00:00
Justin Clarke Casey 412295ccde * Add simple original sog xml serialization test 2009-06-01 18:03:51 +00:00
Justin Clarke Casey f6badc528b * minor: change the name of one serialization method to match its counterpart 2009-06-01 17:38:11 +00:00
Justin Clarke Casey ecbeb5cea1 * Fix race condition in save oar 2009-06-01 16:00:46 +00:00
MW 60c2edce68 Fixed AvatarCreationModule (I think) 2009-06-01 11:41:03 +00:00
MW c4d5a6dfb4 trying to get panda to be able to read the AvatarCreationModule 2009-06-01 11:36:58 +00:00