Commit Graph

9672 Commits (08819bcbea9012d67cc4cb44e4d7ec7e5837bac6)

Author SHA1 Message Date
diva 156604e28e InterServiceInventoryService references *almost* completely removed from the simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :) 2009-06-11 03:00:25 +00:00
diva e533f58733 Removed a change in StandaloneHypergrid.ini introduced in r9838, which was incorrect. 2009-06-11 01:50:52 +00:00
diva 6ddf70b128 Bug fix for creating users in standalone: the newly-created root folder was not being set in the cached profile. I suspect this bug has been around for a while. 2009-06-10 20:31:02 +00:00
diva 7f772d7a7d Fixed problem in configuration for GridHypergrid.ini. 2009-06-10 18:43:03 +00:00
diva 59c1796353 Small bug fix in HG. 2009-06-10 18:02:49 +00:00
Charles Krinke 831264fc98 Thank you kindly, BlueWall, for a patch that solves:
SQLite error on creating user.
2009-06-10 17:53:06 +00:00
diva 6242b01ac8 Removing the default reading of AssetCaching on all cache modules. 2009-06-10 16:48:26 +00:00
diva a3f36f1954 Added some defaults to OpenSim.ini.example so that it works out of the box again with zero configuration. 2009-06-10 16:31:22 +00:00
Melanie Thielker b465dd7eb3 Reverse the default setting in Flotsam Asset Cache. Nothing should be the default 2009-06-10 15:36:44 +00:00
diva 89219ab35a Flipping memory cache to false (default) in Flotsam cache, because of a bug in libomv. 2009-06-10 15:25:52 +00:00
diva 1874c635ea Commenting the IAR tests for now until we understand how to set up things in this new inventory model. 2009-06-10 15:18:07 +00:00
diva a31df0b814 duh. wrong variable name in SceneSetup. 2009-06-10 14:15:50 +00:00
diva b3ad2941ca The previous commit was still wrong. 2009-06-10 13:49:13 +00:00
diva 8dc9f18e7c Attempt at fixing the inventory archiver tests. 2009-06-10 13:46:38 +00:00
diva f6c6e3e5f2 Attempt at disabling the inventory unit tests, so I can figure out how to fix them. The test setup is broken. 2009-06-10 13:33:26 +00:00
diva 0f367bd7bb Heart surgery no.2: the inventory service hooks.
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Dr Scofield 8045ed28ec From: Alan Webb <alan_webb@us.ibm.com>
Eat collision errors --- NOTE: this fix might be naive, it seems to
  have helped us getting to 81 avatars (whereas we'd crash with 20
  before), but it sure would benefit from some check-over by a person
  skilled in the art of ODE physics.
2009-06-10 11:48:13 +00:00
Dr Scofield 6eb808f665 persists Estate.PublicAccess settings across reboots [re #552] 2009-06-10 11:29:09 +00:00
Dr Scofield 854f4f4896 makes voice setting persistent [re #552] 2009-06-10 11:05:44 +00:00
Dr Scofield 783218ec89 adding lastlogin information to admin_exists_user: will be 0 if the
user does not exist or hasn't logged in yet.
2009-06-10 10:59:56 +00:00
Jeff Ames a23d64dec1 Formatting cleanup. 2009-06-10 04:28:56 +00:00
diva ca52c3ef26 Letting the Flotsam cache be enabled even when [AssetCache] section is missing. Thank you mcortez! 2009-06-09 20:20:30 +00:00
Jeff Ames a7fcacf8f3 Formatting cleanup. Ignore some generated files. 2009-06-09 18:07:35 +00:00
Jeff Ames 135ff63c3d Update svn properties. 2009-06-09 17:48:22 +00:00
Dr Scofield 28324e5174 ARGH!!!! note to self: ALWAYS use String.IsNullOrEmpty(...)!
this patch fixes RemoteAdminPlugin gratuitously updating the user
password even if no update was intended.
2009-06-09 12:11:22 +00:00
Melanie Thielker e9d0df02ce Added Snoopy to CONTRIBUTIRS.txt 2009-06-09 08:17:06 +00:00
Melanie Thielker 9c726fb178 Thank you Snoopy, for a patch that implements group permissions.
Applied with changes:
- removed spammy debug message
- corrected tab formatting
2009-06-09 08:15:34 +00:00
Dr Scofield 759636f37e From: Alan Webb <alan_webb@us.ibm.com>
This change addresses two issues:

  [1] It adds a flag field to the blendface call which allows the
      caller to indicate whether or not the generated asset is
      temporary, and whether or not the asset being replaced should
      be explicitly retired fromt the memory cache. The decimal
      values correspond to:
      0 - Permanent asset, do not expire old asset
      1 - Permanent asset, expire old asset
      2 - Temporary asset, do not expire old asset
      3 - Temporary asset, expire old asset
      '3' corresponds to the default behavior seen today, and is
          the continued behavior of the non-blendface calls.
  [2] The dynamic texture routines are highly-asynchronous and can
      be scheduled simultaneously on a multi-core machine. The nature
      of the texture management interfaece is such that updates may
      be lost, and the nature of asynchornous operation means that
      they may be processed out of order. A lock has been added to
      ensure that updates are at least atomic. No attempt has been
      made to enforce ordering. The lock applies to the SceneObjectPart
      being updated and is held for the lifetime of the TextureEntry
      used to carry texture updates (the one instance carries all
      faces supported by the prim).

   Users of these services should remember that the dynamic texture
   call is asynchronous and control will be returned *before* the
   texture update has actually occurred. As a result, a isubsequent
   GetTexture call may not return the expected asset id. A script
   must wait for the corresponding TEXTURE_CHANGED event before
   retrieving any texture information.
2009-06-09 06:39:27 +00:00
Melanie Thielker 0356fef9ab Updating the flotsam asset cache. Thank you, mcortez!
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
diva b87f982a7e Bug fix. Adding the asset to the cache after a DB get. 2009-06-08 19:35:36 +00:00
diva b43fc318fb That didn't quite work. Trying this instead -- prompt given in the cmd line. 2009-06-08 17:50:17 +00:00
diva 71c8346f78 Making the prompt configurable in the server shell. Default is "Server". 2009-06-08 17:34:42 +00:00
diva 398d321f15 IInentoryDataPlugins were missing. 2009-06-08 17:22:23 +00:00
diva 9216f4b7c2 First draft of the inventory service IN connector. Probably won't work yet. But everything of inventory service is now checked in, first draft. 2009-06-08 03:16:55 +00:00
diva 16d5003274 Added more functions to IInventoryService. Unsure about whether all of these are really necessary. 2009-06-08 03:09:24 +00:00
diva 1ad237a8a7 First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00
Mike Mazur cda6b24668 Skip lone ident statments or for-loop assignments
SL's LSL supports lone idents:

    integer x;
    x;

as well as lone idents in for-loop assignments:

    for (x; x < 10; x++) { ... }

while those are errors in C# (MONO at least). This patch skips lone
idents in such places.

Fixes Mantis #3042.
2009-06-07 10:22:55 +00:00
Mike Mazur 48bc2f3a42 Allow empty assignment in for-loop
For loops with no assignment are no longer syntax errors. For example,
this is now valid:

    for ( ; i < 10; i++) { ... }

Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs.

Fixes Mantis #2501. Fixes Mantis #2884.
2009-06-07 10:22:41 +00:00
lbsa71 a3c91de17d * Reverting the test restructuring as, on second thought, this is not at all how the tests are structured.
(pt2)
2009-06-07 08:51:10 +00:00
lbsa71 6267f939c5 * Reverting the test restructuring as, on second thought, this is not at all how the tests are structured.
(pt1)
2009-06-07 08:50:43 +00:00
Mike Mazur d25b9151c8 Rename private TestllAngleBetween method
It seems overloading the method TestllAngleBetween confused nunit a bit
and caused it to try running the private TestllAngleBetween method. The
method's access modified prevented that from happening, and nunit
complained.
2009-06-07 08:32:07 +00:00
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