Commit Graph

9926 Commits (46116864b9f8cc63ec97b89f11bb5372f08dbc01)

Author SHA1 Message Date
Melanie Thielker 706a2df516 Read the .map files in on sim startup. Also clean them up when an assembly
is deleted.
2009-03-26 15:06:20 +00:00
Melanie Thielker eb6c1ae0c1 Avoid preprocessing scripts on region restart just to generate the line
number map. Instead, write the map to a file for later use. That is not
yet used, so currently runtime errors after a sim restart will have wrong
line numbers
2009-03-26 14:49:39 +00:00
Melanie Thielker fcab3510b3 Avoid writing script state to the filesystem if the state has not changed.
Remove the unneccessary double check that was only used to provide a
meaningless warning message for a corner case.
2009-03-26 14:28:00 +00:00
Dr Scofield c8aaf538e4 - adding osGetAgents() which returns a list of all avatars in the region
in which the script is running.

 -  found a bag of space characters under my desk, thought i'd donate them
    to the JSON OSSL function (aka clean up)
2009-03-26 12:08:18 +00:00
lbsa71 3ca1481c3d * Minor fixes, inverted an if for readability and introduced a virtual pre-process step on the asset cache 2009-03-26 06:56:10 +00:00
diva de3971a8d3 One more -- CopyItem. 2009-03-26 04:14:33 +00:00
diva 3b08f17fc2 Half-way through supporting inventory access from outside the regions -- HG standalones only, for now. 2009-03-26 03:45:49 +00:00
Dahlia Trimble 3bedb59f50 make some arrays static to prevent excessive re-initialization - suggested by jhurliman 2009-03-26 03:10:30 +00:00
Melanie Thielker 8dfe8a0d1d Make the error messages passed to RegionReady more descriptive
Patch by antont, thank you.
Fixes Mantis #3338
2009-03-26 01:02:19 +00:00
Sean Dague 6323516a83 * Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
Justin Clarke Casey b52587ea6c iar: centralize user uuid gathering 2009-03-25 19:54:07 +00:00
lbsa71 3cb06cc4cc * Changed a recursive BeginRobustReceive loop to a flat while loop to avoid lethal stack overflows. 2009-03-25 19:30:36 +00:00
Justin Clarke Casey e694e1a657 * minor: Adjust exception catching on load/save xml[2]/oar.
* Allow non FileNotFoundExceptions to propogate rather than post a misleading error message
2009-03-25 19:21:28 +00:00
Justin Clarke Casey 19595a2825 * minor: spit out creator name on save iar
* not yet ready for use
2009-03-25 19:14:36 +00:00
Dr Scofield 09d2c6fe5d adding presence.ControllingClient.Kick(msg) to the brew. 2009-03-25 18:48:30 +00:00
Dr Scofield 0419f29856 enhances the console command "kick user" with an optional alert
message which will be dialog-ed to the user just before being kicked.
2009-03-25 18:04:33 +00:00
Melanie Thielker 21d14a7090 Thank you, dslake, for a patch that fixes passing the start param to scripts
Fixes Mantis #3330
2009-03-25 11:05:01 +00:00
Dr Scofield 0bb3d2e6d7 cleanup 2009-03-25 07:36:56 +00:00
diva 2afe3be2e6 HGStandaloneInventoryService now serves inventory assets. No need for clients to have direct access to the asset service. 2009-03-25 05:21:47 +00:00
Melanie Thielker fb5f702e78 Change llGetOwnerKey to use another overload of GetSceneObject.
Fixes Mantis #3326
2009-03-24 22:12:48 +00:00
Justin Clarke Casey 6cad71d5ec * minor: remove load oar logging I accidentally left in a few commits ago
* reduce noisiness of uuid gatherer
* stop bothering to pointless complain about directory tar entries when loading an oar
2009-03-24 21:05:20 +00:00
Justin Clarke Casey 64341fc965 * minor: remove a couple more compiler warnings 2009-03-24 20:57:02 +00:00
Justin Clarke Casey 0bf2177dfb * Use memory more efficiently when loading oars
* This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded
* This should be okay, but please report any new errors
2009-03-24 20:48:27 +00:00
Justin Clarke Casey 22a4d6acc2 * minor: remove mono compiler warnings 2009-03-24 20:36:32 +00:00
Justin Clarke Casey 5e9682cef7 * Fix edit scale command - was looking for one too few arguments 2009-03-24 19:04:28 +00:00
diva c7d0e4ffc1 Added the login region's http to the login response. 2009-03-24 18:56:32 +00:00
Melanie Thielker c268b71f4b Thank you, dslake, for a patch that speeds up the Delete Old Files option
in the compiler. Committed with changes.
Fixes Mantis #3325
2009-03-24 12:18:31 +00:00
Dr Scofield b5f6aa6ff2 From: Alan Webb <alan_webb@us.ibm.com>
Changes to AssetCache and DynamicTextureModule to eliminate
  opportunities for lost texture updates.
2009-03-24 08:21:50 +00:00
diva ec07baa8c0 Preparing the loginauth service for gridmode logins. 2009-03-24 02:28:17 +00:00
diva 5af63a6a5c Root agent retrieval via http/REST. This is a pull, the caller gets the agent. This is not used by the regions yet, but it may be a better alternative to transfer agents even when that is done by the regions. The data is still trivial; soon it will have attachments, scripts and script state. Also, authorization tokens still to come. Serialization using OSD/json, as the other methods. 2009-03-23 02:37:19 +00:00
Melanie Thielker e1ea3f05aa Finish folder gives. With this commit, single item and folder gives now
work across regions and also to offline avatars. Scripted gives are not
yet tested and may not work.
2009-03-23 02:02:12 +00:00
Melanie Thielker 412112acba Committing partial work on passing folders across instances. This may crash. 2009-03-23 00:11:34 +00:00
Melanie Thielker f86c13f48e Send proper creation date on item gives, so objects will appear at the top of
"Objects", not at the bottom
2009-03-22 20:05:11 +00:00
Melanie Thielker 16a6d60a21 Make offline gives work in SQLite standalones 2009-03-22 18:35:16 +00:00
Melanie Thielker 48e87b6448 Make single item inventory gives work across regions 2009-03-22 18:25:04 +00:00
Melanie Thielker 9b82b52096 MYSQL Only: Make items given while offline appear in inventory without
the need to clear cache.
2009-03-22 16:12:48 +00:00
Melanie Thielker e6bb86a224 Add QueryItem method to secure inventory and HG inventory, change method sig to
provide additional information the HG needs.
2009-03-22 15:42:22 +00:00
Melanie Thielker 73a982babe Fox a null ref in the inventory give module 2009-03-22 15:19:43 +00:00
Melanie Thielker ea1e38dd14 Cause the inventory give module to be more selective and not attempt to
deliver other modules' IM types
2009-03-22 14:32:15 +00:00
Melanie Thielker b83ad8a97b Thank you, dslake, for a patch that fixes XEngine linemap handling.
Fixes Mantis #3321
2009-03-22 11:57:00 +00:00
diva 047d753cd0 Explicit tests for local regions. 2009-03-22 06:31:32 +00:00
diva 9489ad57f9 Moving the LoginAuth service up, so that it can be shared among standalones and the User Server. 2009-03-22 04:39:16 +00:00
diva 09732b4d5d Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
2009-03-21 20:16:35 +00:00
diva b140988a1f Minor changes in names inside. 2009-03-21 19:37:35 +00:00
Melanie Thielker 1e6587f1d3 Add code to the inventory transfer module to use the new DB functionality
Not tested!
2009-03-21 18:14:06 +00:00
diva b0f2bcbe79 Moving HGStandaloneAssetService to a new place, and giving it a more generic name. MXP is going to use it too. 2009-03-21 18:03:44 +00:00
Melanie Thielker 1121a214b9 Add a QueryItem method to the inventory subsystem. Currently implemented for
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
idb 2d387c25b8 Move a check for null PhysActor in applyImpulse so that attachments can move avatars.
Fixes Mantis #3160
2009-03-21 11:42:31 +00:00
Teravus Ovares 14b94b8d05 * Finishing up the last commit by adding ISunModule 2009-03-20 23:15:16 +00:00
Melanie Thielker c6da0fda58 Thank you, mcortez, for patch to add functionality to the sun module.
Fixes Mantis #3313
2009-03-20 22:42:21 +00:00