Commit Graph

4814 Commits (e31de6707fe6296cbfe3ee5765b48eef42828541)

Author SHA1 Message Date
Justin Clarke Casey e31de6707f * refactor: Fission ArchiveWriteRequest into prepare and execute classes 2008-06-16 17:13:28 +00:00
Sean Dague 94034d665d change some messages on the migrations front to be
more clear
2008-06-16 16:03:37 +00:00
Justin Clarke Casey ba69cc31e5 * Refactor: Break out AssetsRequest to a separate file in the Archiver module 2008-06-16 15:36:01 +00:00
Sean Dague ec78a2871b the beginning of the great id format migration. This makes
asset uuids no longer binary.  I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +00:00
Teravus Ovares 11d68ce0f5 * 0001558: [PATCH] Add support for full collision geometry feature set for linear path prims (patch attached) By Dahlia. Thanks Dahlia!
* This update re-does the cube/cylinder/prism prims to dynamically add faces as twist is used.
2008-06-15 19:34:48 +00:00
Jeff Ames 3d8d713128 Update svn properties. 2008-06-15 12:48:50 +00:00
Charles Krinke c04e284854 Change VersionInfo string from
"Opensimulator release (0.5.8)" to
"Opensimulator trunk (post 0.5.8)"
as we move forward with trunk again.
2008-06-15 01:08:55 +00:00
Charles Krinke b226855d34 Change VersionInfo string from:
"OpenSimulator trunk (post 0.5.7)" to
"OpenSimulator release 0.5.8" in preparation
for tagging this minor release.
2008-06-14 23:51:35 +00:00
Justin Clarke Casey c9a983a85e * minor: A few miscellaneous doc comments before I break and start on something else 2008-06-14 20:52:42 +00:00
Teravus Ovares 5cccd4f6e5 * Vintage 2, a good year. 2008-06-14 20:33:03 +00:00
Teravus Ovares 7ca868dca5 * Fixes: 0001554: r5106 update fails to load on some regions with NullRef error on volume portion of maptile drawing routine. 2008-06-14 20:04:48 +00:00
Justin Clarke Casey 4af6286512 * Start recording asset request failures
* This includes problems such as connection failures and timeouts.  It does not include 'asset not found' replies from the asset service.
2008-06-14 17:47:25 +00:00
Teravus Ovares 6bea792436 * Enables maptile display in grid mode for simulators that are not on the same instance.
* Only generates a new maptile after a refresh interval
* Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary.
* Updates RegionInfo, so backup your /bin/Region/*.xml files.
2008-06-14 02:39:27 +00:00
Sean Dague b47dd07932 save_assets_to_file path shouldn't always assume uploaded
content are images and use .jp2 for the file extension.
2008-06-13 19:41:13 +00:00
Sean Dague 987c7498c3 the first pass at Asset Fridays. Contribution of a handshake
animation from Mo Hax at IBM.  This took us a while to sort out
the conversion path, expection more efficiency in the future.
2008-06-13 19:15:27 +00:00
Sean Dague cdc4061426 rename to index.xml just to make this more consistant 2008-06-13 18:20:30 +00:00
Justin Clarke Casey d6519924ba * refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +00:00
Justin Clarke Casey ea52e71205 * minor: Remove LINK_SET debug Console Writeline
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs
* Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548)
2008-06-13 17:11:33 +00:00
Justin Clarke Casey b799031010 * minor: Print out uptime as well as stats in periodic diagnostics logging, so it's easier to tell which isntances each print out of information is from 2008-06-13 16:58:24 +00:00
Justin Clarke Casey 34746f5485 * Double timeout on region registration XMLRPC call to the grid service 2008-06-13 16:32:32 +00:00
Justin Clarke Casey 520da0d9ff * minor: comment out confusing DefaultTimeout field in RestClient, which is currently not actually used 2008-06-13 16:23:31 +00:00
Justin Clarke Casey 8f69a0ab3d * If appropriate, start printing out the inner exception from the grid -> region status check, so we can tell a bit better what the problem was 2008-06-13 16:17:27 +00:00
Sean Dague 6c23acf41b add indexes for sqlite inventory 2008-06-13 14:27:46 +00:00
Charles Krinke 3b4c2c1ff1 A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.cs
and its copy LSL_ScriptCommands.cs
2008-06-13 01:54:53 +00:00
Jeff Ames 64f01ade04 Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers. 2008-06-13 00:21:53 +00:00
Sean Dague 1451d6fb9a look mom, migrations in action. This adds a couple of indexes
to mysql regions that should help on performance of some of the
selects.  We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +00:00
Teravus Ovares 5219eb7420 * Split the World Map code into a module.
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show.   The hack shows regions around the one you're in, but it won't show the one you're in..  you still need to click on the map to get that (not sure why yet).   Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12 20:19:42 +00:00
Sean Dague 202a4bec13 Fix mysql migrations. This is tested with an existing up to date schema,
and no schema.  It should also work with a non up to date schema as well.

Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00
Justin Clarke Casey 7cdedcaf0e * minor: Remove and tidy duplicate 'storing object to scene' messages in log 2008-06-12 18:18:59 +00:00
Justin Clarke Casey 8714833986 * refactor: For new objects, move attach to backup to occur when adding to a scene, rather than on creation of the group
* Adding to a scene is now parameterized such that one can choose not to actually persist that group
* This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12 17:49:08 +00:00
Justin Clarke Casey 74017a4331 * refactor: rename CreatePrimFromXml to CreatePrimFromXml2 2008-06-12 16:54:04 +00:00
Sean Dague e1140a4f9b this, in theory, adds migration support to mysql for all
data sources besides the grid store.  It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague cee071ea60 check in region store initial migration definition,
now on to integrating this approach into the mysql
driver.  Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague 4387744a78 check in migration files for mysql 2008-06-12 14:44:52 +00:00
Teravus Ovares 049cfe80e4 * Insulate maptile volume draw routine against TextureEntry oddities. 2008-06-12 11:06:31 +00:00
Teravus Ovares 2b6487c832 * Added Prim drawing to the mainmap tile generation.. you can see blocks representing the prim now on the mainmap.
* It isn't perfect since the blocks are square, however it's pretty good.
* Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini 
* You can see how long it takes in milliseconds on the console when it finishes.
2008-06-12 01:11:57 +00:00
Sean Dague 6c1fce6147 check in working migration code fore SQLite. This
is now using migrations instead of the old model to
create tables.  Tested for existing old tables, 
and for creating new ones.
2008-06-11 21:01:33 +00:00
Sean Dague 68b98aecab updated resources for current sqlite schema for migrations 2008-06-11 20:04:01 +00:00
Teravus Ovares 2883656bbc For people receiving: Exception: System.ArgumentException: Value of -2147483648 is not valid for red, I've added the following message;
[MAPIMAGE]: Your terrain is corrupted in region {0}, it might take a few minutes to generate the map image depending on the corruption level
And, I've also kept it from crashing...
2008-06-11 19:45:17 +00:00
mingchen 0896cb53d4 *Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have. 2008-06-11 17:31:43 +00:00
Charles Krinke 7821cca2f5 Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
to allow the InventoryServer to work with MSSQL..
2008-06-11 14:02:16 +00:00
Charles Krinke aba396cb32 Mantis#1528. Thank you kindly, Boscata for:
MSSQL Avatar appearance solved.
Appearance functions and modified table.
2008-06-11 13:57:32 +00:00
Justin Clarke Casey f07b761583 * Drop periodic stats logging back down to 60 minutes to reduce console spam.
* Please feel free to comment if the periodic logging is causing you problems in some way - I'm loathe to add yet another switch to OpenSim.ini but will if it proves necessary
2008-06-11 11:25:29 +00:00
Johan Berntsson 6b77f1141d Mantis 1370. Thanks lulurun for the patch 2008-06-11 04:19:30 +00:00
Justin Clarke Casey 3356423e50 * Fix the string substitutions in the last commit 2008-06-11 01:33:08 +00:00
Justin Clarke Casey 42e54537aa * From inspecting OSGrid WP logs, it appears one particular client is failing because they are giving an illegal initial position to ScenePresence.MakeRootAgent()
* If we detected an illegal position (x, y outside region bounds or z < 0), then print out the illegal position and substitute an emergency <128, 128, 128> instead
2008-06-11 01:31:39 +00:00
Justin Clarke Casey ce9d0799ae * Add 'show info' command to all servers, which prints the directory in which the server was started
* This is potentially useful if you're using screen on a region console without knowing where it was originally started from
2008-06-11 00:41:07 +00:00
Justin Clarke Casey c2054d225e * minor: Reduce statistic log snapshots to every 20 minutes to get more information 2008-06-10 23:47:33 +00:00
Justin Clarke Casey 928b32054c * minor: Report cache figures in rounded up KB instead of with decimal places in show stats
* trade easier readability for pointless accuracy
2008-06-10 23:42:42 +00:00
Justin Clarke Casey 3794f25ebd * minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00