Commit Graph

14507 Commits (9439a92202e07b901ab60fda6d22b7625c86536a)

Author SHA1 Message Date
Justin Clark-Casey (justincc) 9439a92202 In the asset service, check that an asset exists before attempting to store it. 2011-08-22 01:08:08 +01:00
Justin Clark-Casey (justincc) ac7537d240 fix build break I just introduced 2011-07-18 21:34:27 +01:00
Justin Clark-Casey (justincc) b8c056cb39 Add an async inventory details sender to respond to FetchInventory packets.
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests.
Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling.
This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads.
Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
2011-07-18 21:33:25 +01:00
Justin Clark-Casey (justincc) f71a5431c9 When serializing objects, stop accidentally using the green text colour value for alpha
This addresses http://opensimulator.org/mantis/view.php?id=5111
2011-06-10 21:50:51 +01:00
Justin Clark-Casey (justincc) a81b3e4b41 When sending an LLUDP MoneyBalanceReply message, fill out the transaction item description even though there is none.
This is to deal with a problem in libomv where calling ToBytes() without this crashes because of an ItemDescription.Lnegth dereference.
2011-06-10 21:22:16 +01:00
Justin Clark-Casey (justincc) 3d76f133ea Fill in the new OwnerData field in the LLUDP ScriptDialog message.
If we don't do this then viewer 2.8 crashes.
Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-06-10 21:22:05 +01:00
Justin Clark-Casey (justincc) 43ce18c1fc update libomv libraries to 0.9.0
this is a prerequisite to fixing llDialog issues for the latest Linden viewers, since they are now making use of a new OwnerData field in the ScriptDialog message
2011-06-10 21:21:51 +01:00
Justin Clark-Casey (justincc) ec9eccf900 If an llSensor() is in an attachment, make the detection cone face in the direction of the avatar, not the relative rotation of the attachment towards the avatar.
This is effectively a copy/paste from 459323a, which should be refactored sometime.
This seems the obvious problem from field reports but I have not tested the fix myself.  Feedback welcome.
2011-06-10 21:19:54 +01:00
Makopoppo 760d888eeb Fix: The command line switches 'save_crashes' and 'crash_dir' haven't actually worked 2011-06-10 21:18:09 +01:00
Chris Hart 46040e761a Updates to MSSQL to most recent compatibility, also included Windlight support. Needs plenty of testing but clean install and migration from 0.6.9 have been tested and work, a few indexes still need to be added for performance. 2011-06-01 21:02:20 +01:00
Justin Clark-Casey (justincc) 7d4b340ed0 Fix dumb sql mistake in MSSQLGenericTableHandler.Delete() 2011-05-31 22:45:27 +01:00
Diva Canto c616735a6d Made GetMapImage public in the Hyperlinker 2011-05-30 20:24:39 -07:00
Diva Canto d97e69ab9f Made the GatekeeperConnector a public property. 2011-05-30 20:14:01 -07:00
Diva Canto 5dfc62644b HGWorldMap: don't send map blocks of hyperlinks that are farther than 4096 cells from the current region. 2011-05-30 18:43:36 -07:00
Diva Canto e5eb4c47e0 Improved reuse on the WorldMap/WorldMapModule.cs 2011-05-30 18:43:18 -07:00
Justin Clark-Casey (justincc) 33831f74b9 change release flavour back to post fixes 2011-05-28 00:41:17 +01:00
Justin Clark-Casey (justincc) c475ee1267 fix bug where generic sqlite table delete wasn't working.
this would have caused dupe links bugs when using the sqlite adaptor
2011-05-27 22:54:03 +01:00
Justin Clark-Casey (justincc) 6419544948 switch to 0.7.1.1 release version info 2011-05-27 22:26:16 +01:00
Justin Clark-Casey (justincc) 951ede7626 Make sure culture is en-US when saving archive related xml.
This might resolve http://opensimulator.org/mantis/view.php?id=5475
2011-05-27 21:58:44 +01:00
Justin Clark-Casey (justincc) b25cb04b34 If parsing fails in the primitive base shape (which prints out a debug log message), also print out the name and uuid of the part containing this shape.
This is to help in diagnosing parsing failures.
2011-05-27 21:58:34 +01:00
Justin Clark-Casey (justincc) 85bad46365 When saving an iar, don't chase down link asset IDs (since these points to other items rather than real assets)
This bug had no practical effect other than to make "save iar" misreport the number of missing assets
2011-05-27 21:57:54 +01:00
Justin Clark-Casey (justincc) b60ce71b2c fix bug where outfit folder links could not be deleted 2011-05-27 01:36:53 +01:00
Justin Clark-Casey (justincc) 3738aff608 Allow item links to be deleted even when other deletes and purges are disabled.
If these links are not deleted, then they will build up in the player's inventory until they can no longer log in.
Accidental deletion of links due to bugs or other causes is potentially inconvenient but on a par with items being
accidentally moved.  When a link is deleted, the target of the link is never touched.
This is a general solution that accounts for the use of links anywhere in the user's inventory.
2011-05-27 01:36:33 +01:00
Justin Clark-Casey (justincc) 8e24968362 don't throw a null reference if an inventory link target doesn't exist when we're inspecting in order to send the required inventory folders 2011-05-27 01:36:17 +01:00
Justin Clark-Casey (justincc) 472f7844f5 Fix adding/removing/replacing outfits in viewer 2
To get this to work, I had to disable the dupe link check I put in a couple of commits ago.
When the viewer adds wearables to an existing outfit, it first requests deletes of all the existing links before creating a new set.
Since these messages are async, the creates were being received before the deletes had a chance to complete, resulting in missing current outfit links.
However, the dupe check shouldn't be as important now that broken links have been fixed - it was the broken links that were causing the client to create dupes.
Tested on kokua 0.1.0 WIP and SL 2.6.3.  I now have no problems managing outfits on my standalone.
2011-05-27 01:22:52 +01:00
Justin Clark-Casey (justincc) d2aea3ef59 Fix broken inventory links on viewer 2.
It appears that if the viewer requests a folder containing links, we must also send the folders that contain the link targets first.
This was tested with Kokua 0.1.0 WIP though I predict it will also work with other viewer 2s
2011-05-27 01:22:03 +01:00
Justin Clark-Casey (justincc) 3957a09a55 Add a smidgen of method doc about the fact that item links reuse the asset id item slot 2011-05-27 01:21:51 +01:00
Justin Clark-Casey (justincc) 3bea263a99 Prevent viewer 2 from creating a duplicate outfit inventory links.
I believe this is safe since there is a 1-1 correspondence between link item and worn item (i.e. you can't be wearing the same item at two spots simultaneously in one outfit).
This should stop lots of duplicate links being created when viewer 2 is used.
However, this doesn't prevent broken inventory links, which I believe is timing related since the effect is not consistent (e.g. keep relogging and the viewer should end up seeing them correctly) .  I think we actually see this problem on viewer 1 as well.
It might be easier just to implement the Fetch*2 inventory caps which are documented at http://wiki.secondlife.com/wiki/Inventory_API.  WebFetch* has been deprecated by Linden Lab since viewer 2.5.1 and according to the sl wiki, "has numerous bugs".
2011-05-27 01:21:38 +01:00
Justin Clark-Casey (justincc) c71253bdf1 Correct llGetParcelMaxPrims() to use the same calculation as used elsewhere instead of the old 0.22 prims/meter squared fudge factor.
Thanks to tglion for this.
2011-05-14 03:12:42 +01:00
Oren Hurvitz 9780d1775b When loading an OAR that doesn't have parcels, create a default parcel 2011-05-14 03:12:31 +01:00
SignpostMarv Martin 38e6571a1b The get_grid_info REST call now encodes XML Entities 2011-05-14 03:12:20 +01:00
Diva Canto e89b77423f Fix offline IMs here too. 2011-05-12 21:09:08 -07:00
Diva Canto d0673d7620 Somewhat reverting the last commit. The viewer ignores 255's on tiles that were previously on, so we need to send 254 (offline) explicitly. Also removing the +/-4 for HGMap, because it makes the map flicker. 2011-05-10 09:04:00 -07:00
Diva Canto 009b2275c5 Changed the Access flag on HGMap to 255 (does not exist) and clarified the other value 254 too. Meanings taken from libomv. 2011-05-09 18:30:01 -07:00
Diva Canto 8f2c391233 Fixes gray tiles around +/-4 when user clicks on an empty tile. Affects regions above 4096 primarily. 2011-05-09 11:37:03 -07:00
Diva Canto 5317bfb242 Fixes gray tiles on map search for viewers 1. 2011-05-09 10:33:48 -07:00
Diva Canto f8f99f30cf The map is seriously broken. This doesn't fix it, but at least provides one more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI. 2011-05-09 10:33:29 -07:00
Diva Canto d9607f904a Fix content-type to be application/x-www-form-urlencoded 2011-05-08 16:53:08 -07:00
Diva Canto 785e4852cc Mantis #5470 -- add forgotten MSSQL's GridUserStore. Thank you MrMonkE 2011-05-07 14:59:38 -07:00
Diva Canto c45786cb1e Removed SimpleRegionInfo, which was obsolete and not used anywhere. 2011-05-06 17:20:58 -07:00
Justin Clark-Casey (justincc) 5d6aefd8ce Change command help text for "show capabilities" to "show caps", as this is the actual command that has to be typed on the console.
Thanks to makopoppo for the patch - http://opensimulator.org/mantis/view.php?id=5467
2011-05-06 21:25:44 +01:00
Diva Canto 6077c114b6 One more bug fix concerning library items that weren't being copied to user's inventory. Also commented verbose debug message. 2011-05-06 09:58:27 -07:00
Diva Canto af396fafea Bug fix: iars under Library weren't being loaded. 2011-05-06 09:11:03 -07:00
Justin Clark-Casey (justincc) accb4499fe change release flavour to post fixes 2011-05-06 00:18:29 +01:00
Justin Clark-Casey (justincc) a25d83feea Change flavour to release 2011-05-04 20:02:47 +01:00
Diva Canto 8e8fee20ed Fixes mantis #5461. 2011-05-04 20:00:11 +01:00
Dan Lake a4aa2e274b Fix crash when [Mesh] section is missing from configuration files 2011-05-04 19:35:36 +01:00
Diva Canto 5ee07e01c5 Increased timeout for fat UpdateAgent to 200secs. Nebadon's 3800-prim alien avatar takes 6secs to transfer between sims on the same machine... 2011-05-02 09:59:44 -07:00
Diva Canto 6de0da6914 Oops, forgot this one. 2011-05-02 09:59:28 -07:00
Diva Canto 729c42f5fa Turns out that it's a bad idea to let Agent position updates linger for a long time on certain versions of mono. It's better to abort them if they take too long. So timeout is now an argument. Currently: 20secs for CreateAgent, 100secs for UpdateAgent (fat), 10 secs for UpdateAgent (Position); all of these divided by 4, for ReadWrite, as Mic had before. 2011-05-02 09:47:51 -07:00