[JIRA] Assigned: (VWR-5206) Save and load scripts from the script editor to local disk

Soft Linden (JIRA) no-reply at lindenlab.cascadeo.com
Thu Jan 7 10:51:32 PST 2010


     [ http://jira.secondlife.com/browse/VWR-5206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Soft Linden reassigned VWR-5206:
--------------------------------

    Assignee: Soft Linden

> Save and load scripts from the script editor to local disk
> ----------------------------------------------------------
>
>                 Key: VWR-5206
>                 URL: http://jira.secondlife.com/browse/VWR-5206
>             Project: 1. Second Life Viewer - VWR
>          Issue Type: New Feature
>          Components: Scripting
>    Affects Versions: Snowglobe test build, Source code
>            Reporter: JB Kraft
>            Assignee: Soft Linden
>         Attachments: script_save_load.patch.diff.txt, script_save_load.patch_2.diff.txt, script_save_load.patch_3.diff.txt
>
>
> This is a patch to lltexteditor et. al. to allow saving and loading of local files to the script editor. I assume this makes sense as one can already cut/paste scripts. This patch simply allows direct access to the disk. Since opening a file from disk and creating an new asset for it was a more delicate operation, I opted to load as an over-write, as if a paste with all selected in the existing script window. I tried to make this sensible, given the SL model, in that if the existing has unsaved changes you cannot load and get a warning. This is more of a convenience effort then anything and simply bypasses the cut and paste nonsense. Patch is attached.
> Patch 2 adds a check on the loaded file size and aborts if it's too big. It is not clear to me what the correct constant to check against is wrt to capacity however.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list