corrade-lsl-templates – Diff between revs 5 and 29
?pathlinks?
Rev 5 | Rev 29 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | /////////////////////////////////////////////////////////////////////////// |
1 | /////////////////////////////////////////////////////////////////////////// |
|
2 | // Copyright (C) Wizardry and Steamworks 2013 - License: GNU GPLv3 // |
2 | // Copyright (C) Wizardry and Steamworks 2013 - License: CC BY 2.0 // |
|
3 | // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // |
3 | // Please see: https://creativecommons.org/licenses/by/2.0 for legal details, // |
|
4 | // rights of fair usage, the disclaimer and warranty conditions. // |
4 | // rights of fair usage, the disclaimer and warranty conditions. // |
|
5 | /////////////////////////////////////////////////////////////////////////// |
5 | /////////////////////////////////////////////////////////////////////////// |
|
Line 6... | Line 6... | |||
6 | |
6 | |
|
7 | /////////////////////////////////////////////////////////////////////////// |
7 | /////////////////////////////////////////////////////////////////////////// |
|
8 | // Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 // |
8 | // Copyright (C) 2015 Wizardry and Steamworks - License: CC BY 2.0 // |
|
9 | /////////////////////////////////////////////////////////////////////////// |
9 | /////////////////////////////////////////////////////////////////////////// |
|
10 | // escapes a string in conformance with RFC1738 |
10 | // escapes a string in conformance with RFC1738 |
|
11 | string wasURLEscape(string i) { |
11 | string wasURLEscape(string i) { |
|
12 | string o = ""; |
12 | string o = ""; |
|
Line 27... | Line 27... | |||
27 | } while(i != ""); |
27 | } while(i != ""); |
|
28 | return o; |
28 | return o; |
|
29 | } |
29 | } |
|
Line 30... | Line 30... | |||
30 | |
30 | |
|
31 | /////////////////////////////////////////////////////////////////////////// |
31 | /////////////////////////////////////////////////////////////////////////// |
|
32 | // Copyright (C) 2013 Wizardry and Steamworks - License: GNU GPLv3 // |
32 | // Copyright (C) 2013 Wizardry and Steamworks - License: CC BY 2.0 // |
|
33 | /////////////////////////////////////////////////////////////////////////// |
33 | /////////////////////////////////////////////////////////////////////////// |
|
34 | string wasKeyValueEncode(list data) { |
34 | string wasKeyValueEncode(list data) { |
|
35 | list k = llList2ListStrided(data, 0, -1, 2); |
35 | list k = llList2ListStrided(data, 0, -1, 2); |
|
36 | list v = llList2ListStrided(llDeleteSubList(data, 0, 0), 0, -1, 2); |
36 | list v = llList2ListStrided(llDeleteSubList(data, 0, 0), 0, -1, 2); |