Teravus Ovares
1ba51dd2fd
* More OutPacket refactors.
...
* Added back a sleep to the kick routine so users get a 'you have been logged off message' when they get kicked from the simulator for various reasons (like 'the simulator is going down')
2008-05-10 13:11:09 +00:00
Teravus Ovares
b67f88a3a2
* Two more OutPacket refactors. TextureSender.
...
* The split image packet sender doesn't like to be refactored (images don't load after it's been refactored), so left that as is for the moment.
2008-05-10 12:45:41 +00:00
Teravus Ovares
536a92ca84
Refactored out a few warnings related to Adam's bane OutPacket
2008-05-10 12:01:36 +00:00
Teravus Ovares
e8478dadc8
* Experiment in Zerocoding.
2008-05-10 10:28:49 +00:00
Justin Clarke Casey
57fea65c82
* Revert caps fetch inventory service back to UDP for now
...
* Linden client 1.19.1.4 appears to be happy using UDP for this request again, and Linden's own servers (1.21) don't appear to be supplying the CAPS version currently
* This should for now fix the bug where texture selection in the edit window both shows only already open textures, and later stops subsequent inventory requests from working.
2008-05-09 21:50:22 +00:00
Justin Clarke Casey
3f345bf685
* Removing polling delay for non-CAPS inventory fetch if the client has not yet received data from the inventory service
...
* Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
2008-05-09 21:33:19 +00:00
Justin Clarke Casey
d9dffc4a9a
From: Michael Osias <mosias@us.ibm.com>
...
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09 17:23:27 +00:00
Justin Clarke Casey
6e2c7da018
* Minor: Insert utility function to format raw xml strings into indented xml for debugging purposes
2008-05-09 15:51:02 +00:00
Justin Clarke Casey
fe8f9a4b25
* Restoring some initial inventory lookup polling delays in order to deal with situations seen on osgrid
2008-05-09 13:36:08 +00:00
Justin Clarke Casey
313a635d1e
* Fix opensim region server shutdown.
2008-05-09 13:21:12 +00:00
Teravus Ovares
7e275bfa37
* Wrote a method to get the OpenJpeg data of a sculpt texture asset and save it to the prim shape.
...
* Added some stuff around sculpted prim meshes.. but it's just there so the project compiles now.
2008-05-09 01:28:54 +00:00
Teravus Ovares
646df0dc2c
* remove 2 warnings.
2008-05-08 20:45:50 +00:00
Teravus Ovares
4b924f2eb6
* Committing an extra bit of permissions for attaching to ensure that the perms are in line with project goals.
2008-05-08 19:22:20 +00:00
Adam Frisby
afd08c7477
* Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.
2008-05-08 14:09:12 +00:00
Adam Frisby
2eecc9756a
* Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing typedata data however it seems.
2008-05-08 14:06:48 +00:00
Adam Frisby
dc21e8d5e2
* Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!)
2008-05-08 13:41:10 +00:00
Adam Frisby
4fa0cbdfbb
* You can haz more spring cleaning.
...
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Teravus Ovares
92c03978e1
* Fixes Prim ExtraParams
...
* Fixes Sculpty handling
* Fixes Light handling
* Fixes Flexi handling
* Fixes Sculpty + Flexi handling
* Fixes handling of Flexi type
* Fixes Changing prim type after changing to sculpty corrupting prim.
* Ugly code.
2008-05-08 04:58:44 +00:00
Adam Frisby
ba8ff761c0
* Reduced sleep durations in a number of files.
2008-05-08 04:47:38 +00:00
Adam Frisby
17366af846
* Added Obsolete() tag to IClientAPI.OutPacket.
...
* Increased compiler warnings by a whoppingly large number.
2008-05-07 21:31:15 +00:00
Adam Frisby
a95f13a646
* Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
...
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Teravus Ovares
86669a1664
* Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07 19:41:03 +00:00
Sean Dague
5ff3c03c12
get all the right bits to SendPrimitiveToClient so we can actually
...
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Justin Clarke Casey
250fb6f5db
* Move shutdown processing to base OpenSimServer, overriding the method where appropriate
...
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Justin Clarke Casey
e35e83312d
* Increase number of poll attempts an inventory items request will make under CAPS
2008-05-07 15:53:27 +00:00
Justin Clarke Casey
382b9c18ed
From: Alan M Webb <awebb@vnet.ibm.com>
...
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.
All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Sean Dague
0b09966c7e
send actual velocity and angular velocity in terse updates
...
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
mingchen
d8e02d9e5c
*LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
...
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Teravus Ovares
add13276a9
* Committing a bunch of work for control snatching. Not done yet. No visible features.
2008-05-06 02:47:14 +00:00
mingchen
c535f3947d
*Standardized the Land module by removing all references to libsecondlife.packets
2008-05-05 17:44:40 +00:00
Teravus Ovares
ce19234dc8
* Unraveled the DEBUG_CHANNEL mystery.
...
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
mingchen
ddb3a9bdf8
*Fixed a mistake in the EstateManagementModule that messed up the trunk.
2008-05-04 19:19:18 +00:00
mingchen
63c104efde
*Fixed up EstateManagementModule to the module standard - no more packets allowed!
...
*Started cleaning up the land module
2008-05-04 18:59:18 +00:00
Justin Clarke Casey
5ab392d0ee
* Refactor: A final root folder special case removal, this time in HandleFetchInventoryDescendents[CAPS]
2008-05-04 01:14:21 +00:00
Justin Clarke Casey
6c62985fd5
* Refactor: Do the root case removal thing again, this time in ItemReceive()
2008-05-04 01:04:49 +00:00
Justin Clarke Casey
9646258fdf
* Refactor: Simplify CachedUserInfo.FolderReceive() by removing root folder special case
2008-05-04 00:53:01 +00:00
Justin Clarke Casey
0f716e3ac4
* Simplify CreateFolder() by folding previous special root case into FindFolder()
2008-05-04 00:06:34 +00:00
Justin Clarke Casey
27a7391d6b
* Add ability to defer item actions for AddItem() and DeleteItem(). This won't be useful until we let the client cache (again?)
2008-05-03 23:33:20 +00:00
Justin Clarke Casey
56827894e9
* Refactor RemoveItem()
2008-05-03 23:23:46 +00:00
Justin Clarke Casey
688940e810
* Refactor: Renaming item and folder tree search methods to have Find*() prefixes
2008-05-03 22:39:33 +00:00
Adam Frisby
87b3137928
* Cleaned up code in Terrain, Tree and Map modules.
...
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly.
* Moved MapImageModule.cs to Modules/World/WorldMap
* Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
2008-05-03 20:00:35 +00:00
Justin Clarke Casey
068163b14b
* Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which arguably should be split)
2008-05-03 19:50:49 +00:00
Justin Clarke Casey
45430a5403
* Refactor: move UpdateFolder into CachedUserInfo
2008-05-03 19:27:34 +00:00
Justin Clarke Casey
45a71bb045
* Make user profile cache service complain if the caller assumes a profile exists when in fact it does not
2008-05-03 19:12:17 +00:00
Justin Clarke Casey
1087542705
* Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
...
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Justin Clarke Casey
a5dfca8958
* Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
...
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00
Justin Clarke Casey
f5609ba452
* Refactor: remove pointless agentId parameter from CachedUserInfo.AddItem()
...
* Remove old framework asset transactions files which were region modularized
2008-05-03 18:01:38 +00:00
Teravus Ovares
e8acb49fef
* For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead!
2008-05-03 15:39:40 +00:00
Sean Dague
1b7f1c956c
plumb in connection string to the user database paths. mysql and mssql
...
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Adam Frisby
67bbfadc06
* More refactorings of UDPServer.
...
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Sean Dague
a1c0e89067
adding a few more prep parts for this object
2008-05-02 18:25:53 +00:00
Adam Frisby
c6236b5cf3
* Refactored ClientView into LLClientView. Removed all direct references to UDPServer and replaced with IClientNetworkServer.
...
* This should, in theory, let us make new servers with different protocols very easily (rather than the challenge we would have faced before).
* BREAKS LoadBalancing module for the moment.
* Commit 1/3 - Please dont attempt to update to this revision until all 3 are in.
2008-05-02 16:40:17 +00:00
Sean Dague
4a8f432441
minor refactoring. Change getName and GetVersion methods (yes the had different casings)
...
to Name and Version properties for the User stores.
2008-05-02 12:35:24 +00:00
Jeff Ames
058191e6cc
Update svn properties.
2008-05-02 03:34:06 +00:00
Justin Clarke Casey
a81edef2b9
* Refactor: Remove redundant userID from further up the inventory request chain
2008-05-01 21:22:03 +00:00
Justin Clarke Casey
1de6cffa28
* Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
...
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague
e41232bac5
create pass through of UserManagerBase to plugin calls
2008-05-01 20:36:43 +00:00
Sean Dague
cc5351ec1b
remove the db4o asset server
2008-05-01 20:33:43 +00:00
Sean Dague
86d2e53d1f
added stubs for appearance bits to all the db layers
2008-05-01 20:16:26 +00:00
Adam Frisby
76d8eaa406
* Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't.
2008-05-01 18:50:44 +00:00
Sean Dague
70f7672dad
added in IUserService functions. These don't do anything yet,
...
but the set all compiles together fine, and it provides people
an idea of where we are heading.
2008-05-01 18:36:43 +00:00
Adam Frisby
01f31fd933
* Breaking all the code, breaking all the code..!
...
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby
5da028f6ef
* Removing duplicate files that somehow got undeleted from TortoiseSVN. Fixed.
2008-05-01 15:46:46 +00:00
Adam Frisby
a1c8aa4050
* Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces.
2008-05-01 15:36:39 +00:00
Adam Frisby
4692e92312
* Assorted spring cleanings.
2008-05-01 14:45:56 +00:00
Jeff Ames
d51ce47b2d
Update svn properties. Minor formatting cleanup.
2008-05-01 14:31:30 +00:00
Adam Frisby
25a49ac4de
* Spring cleaned a bunch of '//TODO: unused' marked functions.
2008-04-30 23:11:07 +00:00
Justin Clarke Casey
3508298ddf
* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()
2008-04-30 20:04:06 +00:00
Justin Clarke Casey
3984a7fda1
* Resolve mantis 1068, 1095
...
* The resolution takes the form of not crashing the session if the folder the user is attempting to add already exists (e.g. there is one already with the same UUID).
* Printing out warnings instead
2008-04-30 19:55:45 +00:00
Justin Clarke Casey
9817363b93
* Completely inconsequential inventory odds and ends (actual impact - only one log message changed)
2008-04-30 19:08:48 +00:00
Sean Dague
a9aee0162a
add a bunch of properties for User Appearance
2008-04-30 18:55:58 +00:00
Sean Dague
b2077b81eb
The beginnings of a UserAppearance container
2008-04-30 18:20:28 +00:00
Teravus Ovares
a9cc76e0ef
* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
...
* This builds but might not work. JustinCC will examine.. it may work out of the box.
2008-04-30 16:08:24 +00:00
Sean Dague
dd96158afe
move IUserService into the OpenSim.Framework.Communications assembly
...
because all the other I***Service interfaces are there.
2008-04-30 15:03:37 +00:00
Adam Frisby
faccbf4994
* Missed a file in previous commit. Sorry!
2008-04-29 18:00:25 +00:00
Adam Frisby
375163a6fe
* Spring cleaning.
...
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-29 14:04:55 +00:00
Teravus Ovares
1fb54b074c
* Added basic 3-5 level undo on prim position/rotation/scale.
...
* In the future this should be a config option... and, hopefully this tides the builders over for a little while.
2008-04-28 01:48:21 +00:00
Teravus Ovares
911e63765c
* Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
...
* Detaching from right clicking in world, detaches to your inventory.
* If you go up to a prim and attach it from in world, it appears in your inventory.
* Attachment placement is saved when you detach them.
* Choosing wear remembers your last attachment point from inventory.
* Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client
* Wrote a recursive method to find the folder of a known existing inventory item.
* Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error.
* Drop doesn't work. The menu item doesn't even come up. Don't know why :P.
2008-04-27 20:10:28 +00:00
Teravus Ovares
f71871bca3
* More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments.
2008-04-27 14:37:51 +00:00
Justin Clarke Casey
accd89b3f1
* First draft implementation of copying prim inventory items back to agent inventory
...
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory
* Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set
* This is pending fixes/implementation of upstream permission implementation
2008-04-26 20:31:01 +00:00
Sean Dague
2a2ef42e64
replace hard tabs with 4 spaces to be consistant in the source.
...
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Teravus Ovares
aa8aee90a3
* Adds much better support for attachments that you right click on in world.
...
* Your friends can see your attachments now. People who appear in the sim after you've attached something can also see your attachments.
* You can position & rotate your attachments now. Positions do *not* save.
* You can detach attachments now the regular way.
* Attachments do not cross into other regions with you..(this isn't too far off)
* Updated ODE to not request terse updates on child prim.
2008-04-24 11:32:41 +00:00
Teravus Ovares
12bba3da4b
* Fixed an annoying pop-up box when crossing borders.
2008-04-23 23:55:02 +00:00
Teravus Ovares
1909d74d5f
* Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
...
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Justin Clarke Casey
40176c12f9
* Implement full grid mode Trash empty
...
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Sean Dague
3f95804911
add a database_connect field for the asset server config
...
which will let you specify a connection string. Required
for Nhibernate, optional for sqlite (there is a sane default),
ignored for mysql and mssql until someone implements the
Iniatialise(string) method.
2008-04-23 20:57:18 +00:00
Sean Dague
3dd98a112f
allow for Inventory database source to be specified in main
...
configs. This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague
a1cc0e436f
changes to allow asset_source to be specified in the opensim.ini
...
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Teravus Ovares
d194f21a5d
* Fix a console issue where pressing return on some operating systems cause the console to crash and complain about 0 regex matches.
2008-04-23 18:41:39 +00:00
Justin Clarke Casey
4db839c3b8
* Implement proper emptying of trashcan on standalone
...
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Charles Krinke
67f2b89bf6
Thank you kindly, Tyre for :
...
Commands with arguments enclosed in Double quotation marks (e.g. filenames or objects with embedded blanks) should be parsed correctly. e.g.:
console command "edit-scale" don't accept prim names with embedded blanks
edit-scale Prim 20x20x20 20 20 20
Region# :
edit-scale "Prim 20x20x20" 20 20 20
Region# :
edit-scale Prim20x20x20 20 20 20
Searching for Primitive: 'Prim20x20x20'
Edited scale of Primitive: Prim20x20x20
Region# :
2008-04-23 14:31:54 +00:00
Adam Frisby
3370d581e1
* Patch #1026 - llDialog support -- Thanks Melanie!
2008-04-23 12:21:54 +00:00
Adam Frisby
2b886ab9f0
* Fix for mantis #1025 - Region always reports that location is unavailable. Thanks Lulurun.
2008-04-23 12:00:23 +00:00
Adam Frisby
163d254bb9
* Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!
2008-04-23 11:53:16 +00:00
Adam Frisby
bca7ab7e36
* Applying Mantis #1020 (Animations) - Thanks Melanie.
2008-04-23 11:52:25 +00:00
Justin Clarke Casey
41f9bbc26d
* Fix mantis #842 - folders which are created but left named "New Folder" in places other than directly under "My Inventory" should now be stored
2008-04-23 11:14:19 +00:00
Justin Clarke Casey
6efb16689a
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Justin Clarke Casey
cd29f90418
* Add folders and items locking in external manipulations of InventoryFolderImpl carried out by CachedUserInfo
...
* These will do temporarily pending refactoring
2008-04-22 20:59:08 +00:00
Justin Clarke Casey
8d8b4a314f
* Add DeleteAllContents() method to InventoryFolderImpl - not yet used but will be soon
...
* Add locking to InventoryFolderImpl class - need more though.
2008-04-22 20:47:54 +00:00
Justin Clarke Casey
fc6e23371f
* Extend functionality to better handle delayed inventory service transfers to create folder, move folder and purge folder.
...
* Old 1.18 get folder functionality requires a little more consideration
2008-04-22 20:24:48 +00:00