Sean Dague
95de4717b6
* Minor test correction, comment removal
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:51 +00:00
Sean Dague
b2ab15ba34
Extends Avatar Appearance tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:39 +00:00
Justin Clarke Casey
dde32f1130
* Reapply http://opensimulator.org/mantis/view.php?id=2710
...
* This patch gets NHibernate working
*** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) ***
* Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome
* Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip )
2008-12-02 15:22:58 +00:00
Justin Clarke Casey
26fd6c741f
* Resolve http://opensimulator.org/mantis/view.php?id=2743 and http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in
...
the region database
* The original issue is that the now randomly generated local ids do not fit into the int parentID datatype
* However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as
opposed to UUID itself).
* Conservatively, the actual column will be removed in a later commit
2008-12-02 14:59:52 +00:00
Melanie Thielker
bf4ccf3858
Catch all possible exceptions in the mysql module. It throws non-mysql
...
exceptions as well.
2008-12-02 01:50:15 +00:00
Melanie Thielker
733faf9748
Fix the terrain loader
2008-12-01 19:08:58 +00:00
Melanie Thielker
5727146d61
More reverts. Revert the MySQL database module. This caused more issues
...
than it solved by trying to use, and then exhausting, the connection pool
2008-12-01 18:59:13 +00:00
Justin Clarke Casey
80520206fc
* Unforunately it turns out not to be that simple. Revert the rest of r7560 for now.
2008-12-01 18:42:14 +00:00
Charles Krinke
01fc0492d0
Mantis#2730. Thank you kindly, StrawberryFride for a patch that:
...
MSSQL Fix to accommodate random ParentIDs. uint values now
cleanly converted to ints and vice versa to hopefully prevent
outofrange exceptions on prim storage.
2008-12-01 15:03:57 +00:00
Adam Frisby
4ed7ca62b1
* From Mantis#2701 - Implements NHibernate data adapter, adds support for MsSql2005 to NHibernate.
...
* Patch courtesy of Adminotech and realXtend. Thanks!
2008-12-01 07:50:38 +00:00
Homer Horwitz
96921c402c
Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers in
...
an INTEGER column (using 6 bytes), but the mapping was wrong.
Question: Should we move localIDs to int instead of uint to save some bytes?
2008-11-30 22:27:22 +00:00
Melanie Thielker
38380def17
More changes to the MySQL adapter. take advantage of pooling and run lock-free.
...
This should finally kill the "There is already an open data reader associated
with this connection, which must be closed first" error that makes people's
builds not save
2008-11-30 05:20:19 +00:00
Jeff Ames
077314cdd3
Update svn properties. Add copyright header. Minor formatting cleanup.
2008-11-30 00:51:40 +00:00
Melanie Thielker
d579246257
Explicitly Dispose() all cmd objects
2008-11-29 21:24:54 +00:00
Justin Clarke Casey
8ba6b2b11a
* minor: remove mono compiler warnings
2008-11-27 19:51:11 +00:00
Justin Clarke Casey
45c50998c2
* Remove unused and largely unimplemented UpdateUserCurrentRegion()
...
* please say if this causes you a problem
2008-11-27 19:43:26 +00:00
Justin Clarke Casey
c85e2a0fb0
* restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData
...
* I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
2008-11-26 17:42:35 +00:00
Melanie Thielker
f1f4b16bc8
Change the max value of the bytes in tests to 127. MySQL bytes are signed
...
by default
2008-11-26 12:34:32 +00:00
Melanie Thielker
fdf5f55a5b
Yay for unit tests. Increased the type width of the prims and primshapes
...
tables, and changed the database modules to actually push these doubles
down into the database layer.
2008-11-26 12:23:56 +00:00
Melanie Thielker
4fdda32cd3
A migration to make the floats in prims table be doubles
2008-11-26 11:38:58 +00:00
Melanie Thielker
bd6f58184a
Reduce the numerical range of text values to match what MySQL offers
2008-11-26 11:27:02 +00:00
Melanie Thielker
c7d39fb4e3
Comment one more field that can't be tested that way anymore
2008-11-26 10:55:06 +00:00
Melanie Thielker
841c53003f
A migration to convert the floats int the database to doubles.
...
Maybe we don't have to say "Shift happens" as often anymore....
2008-11-26 09:05:11 +00:00
Melanie Thielker
3388584aa8
Fix 2 of the failed tests. Cause terrain queries to return null when no
...
terrain is found, rather than a default "0" terrain.
Remove the "remove object wrong region" test. UUIDs either are unique
or they're not. This test tested a bad behavior I have chosen not to
duplicate.
2008-11-26 08:06:14 +00:00
Melanie Thielker
3efdccbb12
Committing the LCO database layer. Native MySQL, no ADO. New reconnect
...
mechanism to prevent prim loss. Preserve link order on sim restart
and drag copy. Fix drag-copied prims' inventories. Fix persistence
of child prim inventories.
2008-11-26 07:34:38 +00:00
Justin Clarke Casey
759a667247
* Make a step on removing direct access to TaskInventoryDictionary from other packages
2008-11-25 17:15:21 +00:00
Justin Clarke Casey
11f7471d9c
* Remove direct access to Inventory.Serial
2008-11-25 17:01:18 +00:00
Melanie Thielker
95fec14201
Remove code from an experimantal patch that wasn't supposed to be committed
2008-11-23 21:03:54 +00:00
Melanie Thielker
fba9e3f513
Don't serve texture preview from other people's objects if you
...
havenever seen that texture before.
2008-11-23 20:39:51 +00:00
Melanie Thielker
cbd0221870
Plumb in the presence notifications and region shutdown/restart messages
...
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +00:00
Justin Clarke Casey
c0cd681608
* Comment out unused access time method in MSSQL
...
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey
915593bfbc
* refactor: Rip out SOP inventory from the partial into a separate class
...
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Jeff Ames
ecac5c9c5a
Update svn properties, minor formatting cleanup.
2008-11-21 18:44:48 +00:00
Charles Krinke
b0ee8fc271
Mantis#2658. Thank you kindly, StrawberryFride for a patch that:
...
Keeping up with MySQL and SQLite. Small code changes and
another resource file to add.
2008-11-19 23:57:19 +00:00
Charles Krinke
9babdb1095
Mantis#2657. Thank you kindly, StrawberryFride for a patch that:
...
Added access_time and create_time, plus the new sun position
data to MSSQL code.
2008-11-19 18:36:04 +00:00
Charles Krinke
44c56a974c
Mantis#2656. Thank you kindly, Nlin for a patch that:
...
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-19 18:30:16 +00:00
Melanie Thielker
f518ca7feb
Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
...
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker
3234472d62
Reverting the texture sending patch and the new libOMV. This makes this
...
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Sean Dague
5517ea3dfd
Fixed MySQL and SQLite so they will save the
...
variable sun vector, adding 3 new fields on both.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:36 +00:00
Sean Dague
99fb0d7b33
Extended Agent Tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:29 +00:00
Justin Clarke Casey
c25a0ea792
* Update libOMV to r2359. This is necessary for the progressive texture patch
...
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Dr Scofield
68019e8d98
cleaning up warnings in MSSQL code.
2008-11-17 11:07:18 +00:00
Melanie Thielker
8e119130c5
Make a quick stab at the "Open data reader" issue.
...
MySqlDataReader needs to be Close()d explicitly. Disposing it or letting
it fall out of scope will not free it's hold on the connection.
2008-11-16 04:39:41 +00:00
Homer Horwitz
9a6cdf662b
Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code.
2008-11-15 21:27:10 +00:00
Homer Horwitz
e26169f0b0
Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
...
(added a fix for the broken build from last commit, too)
2008-11-15 18:00:34 +00:00
Jeff Ames
e40fe2db26
Update svn properties, minor formatting cleanup.
2008-11-15 02:21:52 +00:00
Melanie Thielker
5214d39e7c
Mantis #2618
...
Thank you, StrawberryFride, for a patch that adds group permission support
to MSSQL. Contains a migration, back up your database.
2008-11-14 19:36:29 +00:00
Melanie Thielker
1bd0721dbe
Add SQLite and the missing migrations files for last commit
2008-11-14 19:00:14 +00:00
Melanie Thielker
d66f3993de
Add group permissions to agent inventory.
...
Contains a migration. May contain nuts.
Please back up your inventory data store. This revision changes the interface
version!! No older regions can connect to these new UGAIM, and the new regions
can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss
Currently persisted on MySQL only.
2008-11-14 18:54:38 +00:00
Melanie Thielker
9960637545
Try to make the test pass again
2008-11-14 17:53:58 +00:00