Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | serialize media textures to inventory with a largely osd representation ↵ | Justin Clark-Casey (justincc) | 2010-08-03 | 2 | -7/+91 |
| | | | | | | | rather than .net auto-serialization THIS WILL BREAK ANY EXISTING MEDIA TEXTURE SERIALIZATIONS. If you're testing this, please start with new databases. This makes media textures serialized in the same way, which is probably better in the long term. | ||||
* | add userExposed parameter to part copy event | Justin Clark-Casey (justincc) | 2010-07-28 | 4 | -5/+14 |
| | |||||
* | relocate moap specific cloning code to MoapModule | Justin Clark-Casey (justincc) | 2010-07-28 | 3 | -15/+49 |
| | |||||
* | Fix problem where changes to media textures for prims duplicated by shify ↵ | Justin Clark-Casey (justincc) | 2010-07-28 | 3 | -16/+33 |
| | | | | | | copy would change both prims until server restart I also found out that you can crash the current viewer by giving it more media entrys than it's expecting | ||||
* | comment out further debug line in BaseHttpServer | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -1/+1 |
| | |||||
* | comment out verbose debug logging | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -34/+36 |
| | |||||
* | make MoapModule ignore possible future media texture data that it can't handle | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -2/+4 |
| | |||||
* | Make MoapModule ignore non-sl media texture data | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -2/+10 |
| | |||||
* | add mssql support for media on a prim | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -4/+15 |
| | | | | compiles but not tested. please test and correct if necessary! | ||||
* | add mysql support for media on a prim | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -3/+14 |
| | |||||
* | provide config option for media on a prim | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -4/+21 |
| | |||||
* | relocate serialization code from SQLiteRegionData to MoapModule using load ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -55/+76 |
| | | | | | | | | | | and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time. | ||||
* | Add EventManager.OnSceneObjectPreSave() for future use. This is triggered ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -5/+46 |
| | | | | immediately before a copy of the group is persisted to storage | ||||
* | Add EventManager.OnSceneObjectLoaded() for future use. This is fired ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -9/+46 |
| | | | | immediately after a scene object is loaded from storage. | ||||
* | Put a wrapper around the media texture region serialization | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -15/+43 |
| | | | | | | THIS WILL BREAK EXISTING MEDIA TEXTURE PERSISTENCE. Please delete your existing sqlite databases if you are experimenting with this branch. This wrapper will make it easier to maintain compatibility if the media texture data evolves. This will also make it easier to store non-sl media texture data. | ||||
* | also add avatar id to an updated media url - not just new ones | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | Properly set TextureEntry.MediaFlags when a media texture is set | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -3/+43 |
| | | | | | Media flags is cleared via a direct TextureEntry update from the client. If the clearing leaves no media textures on the prim, then a CAP ObjectMediaUpdate is not received. If there are still media textures present then one is received. This change fixes drag-and-drop on Windows (and Mac?) clients. It may also fix problems with clearing and then subsequently setting new media textures. | ||||
* | start adding user ids to the media urls | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -12/+16 |
| | |||||
* | add missing regionstore migration file for new fields. D'oh! | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+6 |
| | | | | this should enable persistence now | ||||
* | Handle checking of line starting "*" wildcard for whitelist patterns | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -8/+22 |
| | | | | A line starting * can only be applied to the domain, not the path | ||||
* | refactor: simplify current whitelist url checking by using System.Uri | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -7/+8 |
| | |||||
* | Implement * end wildcard for whitelist urls | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+5 |
| | |||||
* | properly expose prim media LSL functions to scripts | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -1/+19 |
| | | | | | scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture | ||||
* | fix bug where prim persistence would fail if media had never been set | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -6/+9 |
| | |||||
* | fix previous media interact serverside checking. perform very basic ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -10/+91 |
| | | | | | | | | serverside url whitelist checks at the moment, only checking for the exact name prefix is implemented for some reason, whitelists are not persisting this commit also fixes a very recent problem where setting any media texture parameters after the initial configuration would not work | ||||
* | implement code to deregister users on DeregisterCaps | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -3/+34 |
| | |||||
* | implement serverside checks for media texture navigation in order to stop ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -8/+52 |
| | | | | naughty clients | ||||
* | factor out soon to be common media permissions check code | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -4/+9 |
| | |||||
* | implement prim media control permissions serverside in order to stop bad clients | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -24/+127 |
| | |||||
* | discard an object media update message if it tries to set more media ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+8 |
| | | | | textures than the prim has faces | ||||
* | Fire CHANGED_MEDIA event if a media texture is set or cleared | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -1/+8 |
| | |||||
* | implement llClearPrimMedia() | Justin Clark-Casey (justincc) | 2010-07-26 | 3 | -0/+35 |
| | | | | untested | ||||
* | fix issue with GetMediaEntry if the face requested wasn't set to a media texture | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+2 |
| | |||||
* | fix problem persisting when only one face had a media texture | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -2/+15 |
| | |||||
* | factor out common code for updating the media url | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -41/+27 |
| | |||||
* | factor out common face parameter checking code | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -35/+21 |
| | |||||
* | minor: correct a few method names and change accessability | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -3/+3 |
| | |||||
* | implement llSetPrimMediaParams() | Justin Clark-Casey (justincc) | 2010-07-26 | 6 | -13/+184 |
| | | | | Untested | ||||
* | Implement llGetPrimMediaParams() | Justin Clark-Casey (justincc) | 2010-07-26 | 4 | -2/+193 |
| | | | | | Exposes method to get media entry via IMoapModule As yet untested. | ||||
* | Implement media texture persistence over server restarts for sqlite | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -5/+53 |
| | | | | This is currently persisting media as an OSDArray serialized to LLSD XML. | ||||
* | handle ObjectMediaNavigateMessage | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -14/+55 |
| | | | | | | | Other avatars can now see the webpages that you're navigating to. The requirement for an initial prim click before the texture displayed has gone away. Flash (e.g. YouTube) appears to work fine. Still not persisting any media data so this all disappears on server restart | ||||
* | send a full object update out to avatars when a media texture is initially set | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -6/+2 |
| | | | | | this allows other avatars to see it, but still only after they've clicked on the face still not handling navigation yet | ||||
* | start sending media url in object full updates | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -2/+1 |
| | |||||
* | start storing a mediaurl on the scene object part | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -7/+30 |
| | | | | not yet persisted or sent in the update | ||||
* | replace hand parsing of incoming object media messages with parsing code in ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -60/+31 |
| | | | | libopenmetaverse | ||||
* | start storing incoming MediaEntry on a new Media field on PrimitiveBaseShape | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -3/+67 |
| | | | | | This allows the media texture to persist in memory - logging in and out will redisplay it (after a click) though navigation will be lost Next need to implement media uri on prim and delegate more incoming llsd parsing to libomv | ||||
* | have a stab at sending the correct number of media entries to shapes | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -2/+14 |
| | | | | | | actually, this is probably wrong anyway if there's a default texture it's going to be easier just to gather the object media updates and retain those in-memory now but what the hell | ||||
* | do a whole load of crappy hacking to get cubes to display google.com | Justin Clark-Casey (justincc) | 2010-07-26 | 2 | -7/+90 |
| | | | | | | currently, for smoe reason the page only appears when you click a face. also, actually navigating anywhere always snaps you back to the google search box, for some unknown reason you can still change the url and normal navigation will work again | ||||
* | Register ObjectMedia and ObjectMediaNavigate capabilities from moap module. | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -5/+53 |
| | | | | | Not sure if these are correct, but just supplying these to the viewer is enough to allow it to put media textures on prims (previously the icons were greyed out). This is not yet persisted even in-memory, so no other avatars will see it yet. | ||||
* | add stub media-on-a-prim (shared media) module | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+56 |
| |