Fixed a regression where CoScripter would only record in the first window opened in Firefox.
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-save-dialog.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions:
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 |
75 | function onLoad() {
76 | var params = window.arguments[0].inn;
77 | var title = params['title'];
78 | var owner = params['owner'];
79 |
80 | var titlebox = document.getElementById('newtitle');
81 | titlebox.value = title;
82 | titlebox.clickSelectsAll = true;
83 |
84 | var label = document.getElementById('overwriteinfo');
85 | var strings = document.getElementById('strings_save_overwrite');
86 | var labeltext = strings.getFormattedString("overwriteinfo",
87 | [owner]);
88 | label.appendChild(document.createTextNode(labeltext));
89 | }
90 |
91 | // Called once iff the user clicks OK
92 | function onOK() {
93 | // Return the changed arguments
94 | // If the user clicks cancel, window.arguments[0].out remains null
95 | // because this function is never called
96 | window.arguments[0].out = { overwrite:
97 | document.getElementById('overwrite').selected,
98 | newtitle : document.getElementById('newtitle').value,
99 | changemsg : document.getElementById('changemsg').value };
100 | return true;
101 | }
102 |
103 | function radioButtonChanged(button) {
104 | var butid = button.getAttribute("id");
105 | var title = document.getElementById('newtitle');
106 | var msg = document.getElementById('changemsg');
107 |
108 | if (butid == "overwrite") {
109 | title.setAttribute('disabled', 'true');
110 | msg.removeAttribute('disabled');
111 | } else if (butid == "savecopy") {
112 | title.removeAttribute('disabled');
113 | msg.setAttribute('disabled', 'true');
114 | }
115 | }
116 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-save-dialog.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
77 |
117 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-scratch-space-browser-overlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
80 |
81 |
82 |
84 |
85 |
86 |
87 |
88 |
89 |
91 |
92 |
94 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
108 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-scratch-space-overlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
79 |
80 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
96 |
100 |
101 |
103 |
105 |
106 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-scratch-space-sidebar.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions:
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 |
75 | Components.utils.import("resource://coscripter/coscripter-scratch-space.js");
76 |
77 | // Loaded in coscripter-sidebar.xul. Defines a global object in the coscripter-sidebar. Its initialize() method is called by initializeSidebar() by the sidebar's onLoad() method
78 | var ScratchSpaceSidebar = function() {
79 |
80 | function openSelectedScratchSpace(event) {
81 | var scratchSpaceList = document.getElementById("scratchspaces");
82 | var spaceItem = scratchSpaceList.selectedItem;
83 | scratchSpaceList.setAttribute("style", "cursor: progress");
84 | if (true){
85 | loadSpaceLocally(spaceItem.value)
86 | scratchSpaceList.setAttribute("style", "");
87 | }
88 | else ScratchSpaceUtils.loadSpaceFromServer(spaceItem.value, function(scratchSpace) {
89 | scratchSpaceList.setAttribute("style", "");
90 | if (scratchSpace == null) {
91 | alert("Cannot load scratch space " + spaceItem.label + " from the server.");
92 | }
93 | else {
94 | window.top.coscripter.scratchSpaceUI.open(scratchSpace);
95 | }
96 | });
97 | }
98 |
99 | function deleteSelectedScratchSpace(event) {
100 | var scratchSpaceList = document.getElementById("scratchspaces");
101 | var spaceItem = scratchSpaceList.selectedItem;
102 | scratchSpaceList.setAttribute("style", "cursor: progress");
103 | if (true){
104 | var successP = deleteSpaceLocally(spaceItem.value)
105 | }
106 | else {
107 | successP = ScratchSpaceUtils.deleteSpaceFromServer(spaceItem.value)
108 | }
109 | if (successP) scratchSpaceList.removeChild(spaceItem)
110 | scratchSpaceList.setAttribute("style", "");
111 | }
112 |
113 | function createScratchSpace(event) {
114 | var scratchSpace = ScratchSpaceUtils.createScratchSpace();
115 | window.top.coscripter.scratchSpaceUI.open(scratchSpace);
116 | //window.top.coscripter.DataExtraction.startExtractionMode(window.top.gBrowser.selectedBrowser, window.top.coscripter.scratchSpaceUI);
117 | }
118 |
119 | return {
120 | initialize: function(){
121 | var scratchSpaceList = document.getElementById("scratchspaces");
122 | var openScratchSpaceButton = document.getElementById("openScratchSpace");
123 | var deleteScratchSpaceButton = document.getElementById("deleteScratchSpace");
124 | var newScratchSpaceButton = document.getElementById("newScratchSpace");
125 |
126 | scratchSpaceList.addEventListener('select', function(event){
127 | openScratchSpaceButton.disabled = (scratchSpaceList.selectedCount == 0);
128 | deleteScratchSpaceButton.disabled = (scratchSpaceList.selectedCount == 0);
129 | }, false);
130 |
131 | openScratchSpaceButton.addEventListener('command', openSelectedScratchSpace, false);
132 | deleteScratchSpaceButton.addEventListener('command', deleteSelectedScratchSpace, false);
133 | newScratchSpaceButton.addEventListener('command', createScratchSpace, false);
134 |
135 | scratchSpaceList.setAttribute("style", "cursor: progress");
136 | if (true) {
137 | displayLocalScratchSpaceList(openSelectedScratchSpace)
138 | }
139 | else {
140 | ScratchSpaceUtils.getSpacesFromServer(function(spaces) {
141 | scratchSpaceList.setAttribute("style", "");
142 | // Remove the "Loading..." item from the listbox
143 | while (scratchSpaceList.firstChild) {
144 | scratchSpaceList.removeChild(scratchSpaceList.firstChild);
145 | }
146 |
147 | if (spaces == null) {
148 | var listItem = document.createElement("listitem");
149 | listItem.setAttribute("label", "Cannot load tables from server");
150 | scratchSpaceList.appendChild(listItem);
151 | scratchSpaceList.disabled = true;
152 | return;
153 | }
154 |
155 | for (var i = 0, n = spaces.length; i < n; i++) {
156 | var spaceInfo = spaces[i];
157 | var listItem = document.createElement("listitem");
158 | listItem.setAttribute("label", spaceInfo.title);
159 | listItem.setAttribute("value", spaceInfo.id);
160 | listItem.setAttribute("tooltiptext", spaceInfo.description);
161 | listItem.addEventListener("dblclick", openSelectedScratchSpace, true)
162 | scratchSpaceList.appendChild(listItem);
163 | }
164 | })
165 | }
166 | }
167 | }
168 | }();
169 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-scratch-space-window.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions:
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 |
75 |
76 | ///////////////////////////////////////////////////////////
77 | ////////////// coscripter-scratch-space-window.js ///////
78 | ///////////////////////////////////////////////////////////
79 |
80 | CoScripterScratchSpaceWindow = {
81 | onLoad: function() {
82 | var spaceUI = window.arguments[0].ui;
83 | spaceUI.floatingEditor = new CoScripterScratchSpaceEditor(spaceUI, spaceUI.getBrowserWindow(), window, spaceUI.FLOATING_WINDOW);
84 | spaceUI.getSaveButton(spaceUI.FLOATING_WINDOW).addEventListener('command', function(event) {
85 | spaceUI.saveButtonPressed();
86 | }, true);
87 | spaceUI.getImportButton(spaceUI.FLOATING_WINDOW).addEventListener('command', function(event) {
88 | spaceUI.importButtonPressed();
89 | }, true);
90 | }
91 | }
92 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-scratch-space-window.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
80 |
81 |
87 |
88 |
89 |
90 |
91 |
92 |
94 |
95 |
96 |
97 |
98 |
99 |
102 |
103 |
104 |
105 |
106 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-testsidebar.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
76 |
77 |
78 |
79 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
100 |
101 |
102 |
103 |
105 |
106 |
107 |
108 |
110 |
111 |
112 |
113 |
115 |
116 |
117 |
118 |
120 |
122 |
123 |
124 |
125 |
127 |
128 |
129 |
130 |
132 |
133 |
134 |
137 |
140 |
143 |
144 |
145 |
146 |
148 |
150 |
152 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-vegemite.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions:
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 |
75 | const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
76 |
77 | // Modified from Jeff Wong's original content/vegemite/vegemite-sidebar.js
78 | var Vegemite = {}
79 |
80 | Vegemite.substituteRow = function(procedure, row) {
81 | var newBodyLines = procedure.getBody().split('\n');
82 | var oldRowStr = /of row \d+/;
83 | var newRowStr = "of row "
84 | newRowStr += (row + 1)
85 | var oldNumberStr = /the number \d+/; // where 'the number 3' is used instead of 'the third' as a disambiguator
86 | var newNumberStr = "the number "
87 | newNumberStr += (row + 1)
88 |
89 | // Split the procedure by line
90 | // For each line
91 | // If the line is slop (and not comment or blank)
92 | // Replace the "row" text
93 |
94 | for (var i = 0, n = newBodyLines.length; i < n; i++) {
95 | var line = newBodyLines[i];
96 | if (isSlopStep(line)) {
97 | var newStep = line.replace(oldRowStr, newRowStr)
98 | newStep = newStep.replace(oldNumberStr, newNumberStr)
99 | newBodyLines[i] = newStep;
100 | }
101 | }
102 | procedure.setBody(newBodyLines.join('\n'));
103 | }
104 |
105 |
106 | // returns true if we should do another iteration
107 | Vegemite.doNextIterationP = function () {
108 | /* from JeffW's version of vegemite
109 | if (! Vegemite.scratchSpaceActiveP()) {return;}
110 | // TODO: switch back to the active scratch space and close any tabs that the previous iteration of the script opened.
111 | */
112 | try {
113 | if (window.top.coscripter.currentScratchSpaceEditor) {
114 | var scratchSpaceEditor = window.top.coscripter.currentScratchSpaceEditor;
115 | if (currentProcedure.currentRowIndex == -1) {
116 | return false;
117 | }
118 | //TODO uncheck current entry
119 |
120 | currentProcedure.currentRowIndex++;
121 |
122 | // If there aren't any more, stop iterating
123 | if (currentProcedure.currentRowIndex == currentProcedure.selectedRows.length) {
124 | currentProcedure.currentRowIndex = -1;
125 | return false;
126 | }
127 |
128 | var currentRow = currentProcedure.selectedRows[currentProcedure.currentRowIndex];
129 | Vegemite.substituteRow(currentProcedure, currentRow);
130 | var currentTable = scratchSpaceEditor.getScratchSpace().getTables()[scratchSpaceEditor.getCurrentTableIndex()];
131 | currentTable.logAction(new ScratchSpaceTable.RunScriptAction(currentProcedure.scriptjson.id, currentRow));
132 | loadProcedureIntoInteractor(currentProcedure.getBody())
133 |
134 | return true;
135 | }
136 | }
137 | catch (e) {
138 | if (e.name = "StopIteration") {
139 | dump ("stop iteration\n")
140 | }
141 | else throw e
142 | }
143 | } //end of doNextIterationP
144 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter-welcome-local.xhtml:
--------------------------------------------------------------------------------
1 |
2 | %welcomeDTD;]>
4 |
5 |
6 |
7 |
8 |
10 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
73 |
74 |
171 |
172 |
173 |
174 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripterPrefs-server-dialog.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 |
43 | function onLoad() {
44 | var params = window.arguments[0].inn;
45 | var name = document.getElementById('serverName');
46 | var url = document.getElementById('serverURL');
47 | name.value = params['name'];
48 | url.value = params['url'];
49 | }
50 |
51 | // Called once iff the user clicks OK
52 | function onOK() {
53 | // Return the changed arguments
54 | // If the user clicks cancel, window.arguments[0].out remains null
55 | // because this function is never called
56 |
57 | // First we validate the server
58 | var server = { name :
59 | document.getElementById('serverName').value,
60 | url : document.getElementById('serverURL').value };
61 | server["api"] = server["url"] + "api/";
62 |
63 | var pingurl = server["api"] + "ping";
64 | var h = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
65 | h.open("get", pingurl, false);
66 | try {
67 |
68 | h.send(null);
69 | if (h.status == 200) {
70 | var ret = h.responseText;
71 | var nativeJSON = Components.classes["@mozilla.org/dom/json;1"].createInstance(Components.interfaces.nsIJSON);
72 | var pingobj = nativeJSON.decode(ret);
73 | if (pingobj["coscripter-login-url"] !== "") {
74 | window.arguments[0].out = server;
75 | return true;
76 | }
77 | }
78 |
79 | } catch (e) {
80 | dump('Error pinging: ' + e + '\n\t' + e.toSource() + '\n');
81 | }
82 |
83 | // Otherwise, there was an error
84 | window.openDialog("chrome://coscripter/content/coscripterPrefs-server-error.xul",
85 | "", "chrome, dialog, modal, resizable=yes", null).focus();
86 | return false;
87 | }
88 |
89 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripterPrefs-server-dialog.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
45 |
73 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripterPrefs-server-error.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
45 |
53 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripterPrefs.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
77 |
78 |
163 |
164 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/coscripter_version.js:
--------------------------------------------------------------------------------
1 | //(c) Copyright IBM Corp. 2006, 2007
2 | // this file is sourced by coscripter wiki when you visit the about page, and
3 | // reveals to you the presence and version of the coscripter extension;
4 | // this file is also automatically updated by rollOutNewVersion.pl
5 | coscripter_version = 2.27
6 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/interactor.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | CoScripter
7 |
8 |
9 |
10 |
11 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/related.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions:
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 |
75 | function onLoad() {
76 | var params = window.arguments[0].inn;
77 | var title = params['title'];
78 | var url = params['url'];
79 | Components.utils.import("resource://coscripter-platform/component-registry.js");
80 | var u = registry.utils();
81 |
82 | var browser = document.getElementById('coscripter-related-browser');
83 | var serverURL = u.getKoalescenceURL();
84 | if (serverURL.length > 0 && serverURL.substring(serverURL.length-1,
85 | serverURL.length) != "/") {
86 | serverURL = serverURL + "/";
87 | }
88 | var page = serverURL + 'lite/find_related?url=' +
89 | encodeURIComponent(url) + "&title=" + encodeURIComponent(title);
90 | browser.loadURI(page);
91 | }
92 |
93 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/related.xul:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
77 |
81 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/content/sbRemoved.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CoScripter
6 |
7 |
8 |
9 | This scrapbook page was created by CoScripter and then removed
10 |
11 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-browser-overlay.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-save.dtd:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-save.properties:
--------------------------------------------------------------------------------
1 | overwriteinfo=Replace the copy on the server with this version of the script. The script's owner (%S) will be notified via email of your change. If you would like to add a comment to that note, enter it here.
2 |
3 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-scratch-space.dtd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/locale/en-US/coscripter-scratch-space.dtd
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-server.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-sidebar.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-sidebar.properties:
--------------------------------------------------------------------------------
1 | coscripterName=CoScripter
2 | welcome=Welcome
3 | DebugScriptButton=Debug script
4 | emailAddress = e-mail address
5 | putSecretStuffAfterThisLine=put secret stuff after this line
6 | changeMe=CHANGE_ME
7 | loadingBluepagesInfo=Loading bluepages info...
8 | setYourEmailAddressInDB=In order to load your BluePages information, you need to set "e-mail address" to your IBM email address in the "Personal Database" tab
9 | loading=Loading...
10 | loaded=Loaded
11 | clickStepOrRun=Click Step or Run to execute script
12 | clickStepContinue=Click Step or Run to continue
13 | editing=Editing
14 | waiting=Waiting
15 | processing=Processing
16 | executing=Executing
17 | executed=Executed
18 | startedRunning=Started running...
19 | recording=Recording...
20 | recordingIsOn=Recording is on
21 | recordingIsOff=Recording is off
22 | recordingStopped=Recording stopped
23 | published=(published)
24 | coscripterScripts=CoScripter Scripts
25 | overwriteQuestion=Overwrite?
26 | saveACopyQuestion=Save a copy?
27 | warningSavingToPrimary=Warning: saving to your primary server instead of to this script's server
28 | errorSavingScriptExclamation=Error saving script!
29 | serverReturnedErrorCode=Server returned error code
30 | notLoggedIn=You are not logged in.
31 | noTitle=no title
32 | clickToEdit=Click to edit
33 | doubleClickToEdit=Click to edit
34 | seeWhatCoscripterThinksHere=See what coscripter thinks here
35 | coscriptsRelatedTo=CoScripts Related to
36 | saveWikiWarningMessage=You are about to save your script to the CoScripter wiki, where anyone will be able to read it.\n\nIf you do not want to share sensitive data such as your phone number or email address, you can either use variables or make your script private.\n\nDo you really want to save your script to CoScripter?
37 | dontShowWarningMessage=Don't show this warning again in the future
38 | warningTitleMessage=Warning: script sharing
39 | status.hello=Hello!
40 | status.executing=Executing
41 | status.interpreting=Interpreting
42 | status.ready=Ready
43 | status.doYourself=You do this step yourself
44 | status.noVariable=No
45 | status.addIt= in your personal DB
46 | status.done=Done
47 | status.noInterpretations=No interpretations found
48 | status.cantDoCommand1=No
49 | status.cantDoCommand2=found
50 | status.dontUnderstand=Error parsing this step
51 | status.welcome=Welcome to CoScripter
52 | scriptSaved=Script saved
53 | defaultScriptTitle=(no title)
54 | clipNode=Clip content into CoScript
55 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripter-welcome.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripterPrefs.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/coscripterPrefsCopy.dtd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/locale/en-US/related.dtd:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/coscripter-editor-richtextbox.css:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 |
43 | .outerbox {
44 | cursor: default;
45 | padding: 0px 0px 0px 0px;
46 | margin: 0px 0px 0px 0px;
47 | cursor: pointer;
48 | }
49 |
50 |
51 |
52 |
53 | .outerbox.editing .cursor {
54 | display: inline;
55 | }
56 |
57 | .outerbox .cursor {
58 | display: none;
59 | }
60 |
61 | .outerbox.enable {
62 | }
63 |
64 | .outerbox.enable.error {
65 | }
66 |
67 | .outerbox.disable {
68 | border-color: #999999;
69 | -moz-opacity:.50;
70 | opacity:.50;
71 | }
72 |
73 | .toggler {
74 | border-style:none;
75 | position: relative;
76 | left: 0px;
77 | top: 0px;
78 | cursor: pointer;
79 | width: 20px;
80 | height: 20px;
81 | display:none;
82 | }
83 |
84 |
85 | .richtextbox {
86 | font-family: Tahoma, Arial, Helvetica, sans-serif;
87 | font-size: 10pt;
88 | font-family: arial;
89 | }
90 |
91 | .richtextbox.enable {
92 | color: #000000;
93 | }
94 |
95 |
96 |
97 | .sample {
98 | }
99 |
100 | .richtextbox.disable {
101 | color: #999999;
102 | -moz-opacity:.50;
103 | opacity:.50;
104 | }
105 |
106 |
107 |
108 | .optionsbox {
109 | position: absolute;
110 | top: 0px;
111 | left: 0px;
112 | width: 200px;
113 | z-index: 101;
114 | background-color: #316AC5;
115 | border: 1px solid #000000;
116 | padding-right: 1px;
117 | overflow: auto;
118 | font-family: tahoma;
119 | font-size: 12;
120 | }
121 |
122 | .visible {
123 | visibility:visible;
124 | }
125 |
126 | .invisible {
127 | visibility:hidden;
128 | }
129 |
130 | .blink {
131 | text-decoration: blink;
132 | }
133 |
134 | .cursor.selector {
135 | background: url("../skin/images/selector.gif");
136 | z-index: 103;
137 | cursor: pointer;
138 | }
139 |
140 | .word{
141 |
142 | }
143 |
144 | .match{
145 | color: #F06600;
146 | }
147 |
148 |
149 | .matchingtext {
150 | font-weight: bold;
151 | }
152 |
153 | .option {
154 | border-style: solid;
155 | border-width: 0px;
156 | padding-left: 2px;
157 | background: #FFFFFF;
158 | color: #F06600;
159 | cursor: pointer;
160 | }
161 |
162 | .char {
163 | font-weight: normal;
164 | height: 19px;
165 | padding: 0;
166 | margin: 0;
167 | }
168 |
169 | .selection {
170 | color: #FFFFFF;
171 | background: #316AC5;
172 | }
173 |
174 | .line {
175 | padding-top: 5px;
176 | padding-bottom: 5px;
177 | padding-left: 30px;
178 | padding-right: 0px;
179 | min-height: 19px;
180 | background-position: 0px 4px;
181 | -moz-user-select: none;
182 | cursor: pointer;
183 | border: 3px solid transparent;
184 | }
185 |
186 |
187 |
188 | .lineinfo {
189 | color: black;
190 | font-family: tahoma;
191 | font-size: 9;
192 | padding-left: 14px;
193 | padding-right: 0px;
194 | vertical-align: middle;
195 | margin-right: 5px;
196 | margin-left: 2px;
197 | float: left;
198 | width: 20px;
199 | font-weight: bold;
200 | position: relative;
201 | left: 0px;
202 | height: 19px;
203 | cursor: pointer;
204 | background-position: 0px 0px;
205 | }
206 |
207 | .line[indent="1"] {
208 | padding-left: 50px;
209 | background-position: 10px 4px;
210 | }
211 |
212 | .line[indent="2"] {
213 | padding-left: 70px;
214 | background-position: 30px 4px;
215 | }
216 |
217 | .line[indent="3"] {
218 | padding-left: 90px;
219 | background-position: 50px 4px;
220 | }
221 |
222 | .line[indent="4"] {
223 | padding-left: 110px;
224 | background-position: 70px 4px;
225 | }
226 |
227 | .line[indent="5"] {
228 | padding-left: 130px;
229 | background-position: 90px 4px;
230 | }
231 |
232 |
233 | .line.current.closed {
234 | background-image: url("images/arrow-right.gif");
235 | cursor: pointer;
236 | }
237 |
238 | .line.current.open {
239 | background-image: url("images/arrow-down.gif");
240 | cursor: pointer;
241 | }
242 |
243 |
244 | .line.subline {
245 | display: none;
246 | }
247 |
248 | .line.subline.open {
249 | display: inline;
250 | }
251 |
252 |
253 | .lineinfo.error {
254 | color: white;
255 | background-color: red;
256 | font-weight: bolder;
257 | text-decoration: blink;
258 | cursor: help;
259 | }
260 |
261 | .outerbox.editing .line.current {
262 | background-color: #FFFFFF;
263 | border: 3px solid green;
264 | }
265 |
266 | .outerbox.editing .line.current .word{
267 | cursor: text;
268 | }
269 |
270 | .outerbox.editing .line.current .char{
271 | cursor: text;
272 | }
273 |
274 | .outerbox.editing .line.current.selection {
275 | background-color: #316AC5;
276 | color: #FFFFFF;
277 | border: 3px solid #316AC5;
278 | }
279 |
280 | .line.selection {
281 | background-color: #316AC5;
282 | color: #FFFFFF;
283 | }
284 |
285 | .outerbox.editing .line {
286 | cursor: pointer;
287 | }
288 |
289 | .line .linewidget {
290 | display: none;
291 | }
292 |
293 | .line.current .linewidget.show {
294 | display: block;
295 | position: absolute;
296 | right: 0px;
297 | width: 32px;
298 | height: 19px;
299 | background-image: url("images/koala-little.gif");
300 | cursor: pointer;
301 | z-index:1;
302 | }
303 |
304 | .linewidgetpopup {
305 | display: block;
306 | position: absolute;
307 | z-index:2;
308 | right:30px;
309 | width: 200px;
310 | border: 1px solid black;
311 | background-color: white;
312 | opacity: .90;
313 | color: black;
314 | }
315 |
316 | .action {
317 | color: blue;
318 | }
319 |
320 | .object {
321 | color: green;
322 | }
323 |
324 | .example {
325 | color: cyan;
326 | }
327 |
328 | .hide {
329 | display: none;
330 | }
331 |
332 | .show {
333 | display: inline;
334 | }
335 |
336 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/coscripter-editor.css:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 | .procedureInteractor {
43 | background-color: #FFFFE7;
44 | padding: 0.5em;
45 | border: 1px solid #505050;
46 | width:100%;
47 | background-color: #FFFFE7;
48 | }
49 |
50 | body {
51 | font-family: Tahoma, Arial, Helvetica, sans-serif;
52 | font-size: 10pt;
53 | margin: 0px;
54 | padding: 0px 0px;
55 | background-color: #EEEEEE;
56 | }
57 |
58 | /* Turn the background pink for private scripts */
59 | .private_script {
60 | background-color: #f4d4e5;
61 | }
62 |
63 | .public_script {
64 | background-color: #EEEEEE;
65 | }
66 |
67 | .executed {
68 | color: #AAAAAA;
69 | }
70 |
71 | .executed .word {
72 | color: #AAAAAA;
73 | }
74 |
75 | .executed .char {
76 | color: #AAAAAA;
77 | }
78 |
79 | .line.current .word.hilite {
80 | color: #0000FF;
81 | font-weight : bold;
82 | }
83 |
84 | .line.current .word.hilite.error {
85 | text-decoration: underline;
86 | color: #FF0000;
87 | font-weight : bold;
88 | }
89 |
90 | .comment .word {
91 | font-style: italic;
92 | }
93 |
94 | .comment .word.selection {
95 | color: #FFFFFF;
96 | }
97 |
98 | .comment .char {
99 | font-style: italic;
100 | }
101 |
102 | .comment .char.selection {
103 | color: #FFFFFF;
104 | }
105 |
106 | .line[indent].comment {
107 | background-image: url("images/comment.gif");
108 | background-repeat: no-repeat;
109 | }
110 |
111 | .line[indent] {
112 | background-image: url("images/bullet.gif");
113 | background-repeat: no-repeat;
114 | }
115 |
116 | .line[indent].selection {
117 | background-image: url("images/bullet-selected.gif");
118 | background-repeat: no-repeat;
119 | }
120 |
121 | .line[indent].current {
122 | background-image: url("images/current-bullet.gif");
123 | cursor: pointer;
124 | background-repeat: no-repeat;
125 | }
126 |
127 | .line[indent].current.editing {
128 | background-image: url("images/current-bullet-editing.gif");
129 | cursor: pointer;
130 | background-repeat: no-repeat;
131 | }
132 |
133 | .line[indent].current.selection {
134 | background-image: url("images/current-bullet-selected.gif");
135 | cursor: pointer;
136 | background-repeat: no-repeat;
137 | }
138 |
139 | .line.current {
140 | background-image: url("images/current.gif");
141 | cursor: pointer;
142 | background-repeat: no-repeat;
143 | }
144 |
145 | .line.current.editing {
146 | background-image: url("images/current-editing.gif");
147 | cursor: pointer;
148 | background-repeat: no-repeat;
149 | }
150 |
151 | .line.current.selection {
152 | background-image: url("images/current-selected.gif");
153 | cursor: pointer;
154 | background-repeat: no-repeat;
155 | }
156 |
157 | .line.history {
158 | background-color: gray;
159 | }
160 |
161 | .outerbox.editing .line.current {
162 | color: black;
163 | }
164 |
165 | .outerbox .line.current {
166 | color: green;
167 | }
168 |
169 | .line[indent].current.executing {
170 | background-image: url("images/executing.gif");
171 | cursor: pointer;
172 | background-repeat: no-repeat;
173 | }
174 |
175 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/coscripter-table.css:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 |
43 | /* Make checkboxes within the XUL table visible */
44 | treechildren::-moz-tree-checkbox(checked) {
45 | list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif");
46 | }
47 |
48 | treechildren::-moz-tree-cell(header) {
49 | background-color: -moz-dialog;
50 | text-align: center;
51 | -moz-appearance: treeheadercell;
52 | -moz-border-bottom-colors: threeddarkshadow threedshadow;
53 | -moz-border-left-colors: threedhighlight threedlightshadow;
54 | -moz-border-right-colors: threeddarkshadow threedshadow;
55 | -moz-border-top-colors: threedhighlight threedlightshadow;
56 | padding: 0px 4px;
57 | }
58 |
59 | treechildren::-moz-tree-cell(disabled) {
60 | background-color: -moz-dialog;
61 | padding: 0px 4px;
62 | }
63 |
64 | treechildren::-moz-tree-cell-text(link) {
65 | color: #0000FF;
66 | text-decoration: underline;
67 | cursor: pointer;
68 | }
69 |
70 | coscripter-scratch-table-ui {background-color: -moz-dialog;}
71 |
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/arrow-down.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/arrow-down.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/arrow-right.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/arrow-right.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/blank.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/bullet-selected.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/bullet-selected.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/bullet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/bullet.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/cancel.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/cancel.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/comment.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/comment.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/copy-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/copy-small.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/coscripter-logo-white-on-gray.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/coscripter-logo-white-on-gray.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current-bullet-editing.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current-bullet-editing.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current-bullet-selected.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current-bullet-selected.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current-bullet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current-bullet.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current-editing.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current-editing.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current-selected.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current-selected.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/current.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/current.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/delete.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/edit.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/edit.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/empty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/empty.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/executing.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/executing.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-button.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-button.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon-1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon-1.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon-2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon-2.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon-3+.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon-3+.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon-3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon-3.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon-disabled.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon-disabled.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/feathers-icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/feathers-icon.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/hl.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/hl.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/info-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/info-left.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/info-middle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/info-middle.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/info-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/info-right.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/koala-little.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/koala-little.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/koala-over.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/koala-over.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/koala-pressed.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/koala-pressed.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/koala.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/koala.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/loading.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/lock.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/lock.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/new.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/new.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/open-in-sidebar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/open-in-sidebar.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/open-local.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/open-local.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/paste-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/paste-small.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/people.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/people.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/person.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/person.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/private.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/private.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/record-flashing copy.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/record-flashing copy.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/record-flashing.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/record-flashing.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/record-grey.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/record-grey.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/record-red.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/record-red.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/run-in-sidebar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/run-in-sidebar.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/run.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/run.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/run_all_rows.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/run_all_rows.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/save-wiki.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/save-wiki.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/save.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/save.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/share.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/share.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/sheet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/sheet.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/space.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/space.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/step.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/step.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/stop.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/stop.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/to-wiki.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/to-wiki.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/unlock.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/unlock.gif
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/images/vertical-gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jeffnichols-ibm/coscripter-extension/0ff0c7b60920592826e1d844fac4c24b423e8d1b/extension/xpi/chrome/coscripter/skin/images/vertical-gradient.png
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/sidebar.css:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 | toolbarbutton[disabled="true"] image{
43 | opacity:.50;
44 | }
45 |
46 | .error.status {
47 | color: #FF0000;
48 | font-weight: bold;
49 | }
50 |
51 | .information.status {
52 | color: #0000FF;
53 | }
54 |
55 | .status {
56 | color: #000000;
57 | }
--------------------------------------------------------------------------------
/extension/xpi/chrome/coscripter/skin/welcome.css:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano.
19 |
20 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
21 | developer.mozilla.org sample code
22 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | The MIT License
25 | Copyright (c) 2007 Mozilla
26 | Permission is hereby granted, free of charge, to any person obtaining a copy
27 | of this software and associated documentation files (the "Software"), to deal
28 | in the Software without restriction, including without limitation the rights
29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30 | copies of the Software, and to permit persons to whom the Software is
31 | furnished to do so, subject to the following conditions:
32 | The above copyright notice and this permission notice shall be included in
33 | all copies or substantial portions of the Software.
34 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40 | THE SOFTWARE.
41 | */
42 | h1 {
43 | font-family: Tahoma, Arial, Helvetica, sans-serif;
44 | font-size: 10pt;
45 | font-weight: bold;
46 | }
47 |
48 | h2 {
49 | font-family: Tahoma, Arial, Helvetica, sans-serif;
50 | font-size: 10pt;
51 | font-weight: bold;
52 | }
53 |
54 | body {
55 | background-image: url("images/vertical-gradient.png");
56 | background-repeat: repeat-x;
57 | font-family: Tahoma, Arial, Helvetica, sans-serif;
58 | font-size: 9pt;
59 | margin: 0px 0px;
60 | padding: 5px;
61 | }
62 |
63 |
64 | .loading {
65 | cursor: wait;
66 | }
67 |
68 | .introduction {
69 | font-style: italic;
70 | }
71 |
72 | .introduction.error {
73 | color: red;
74 | font-weight: bold;
75 | }
76 |
77 | .scripts {
78 | font-size: 9pt;
79 | }
80 |
81 | a {
82 | text-decoration: underline;
83 | color: #0000ff;
84 | font-size: 9pt;
85 | }
86 |
87 | body.loading a {
88 | cursor: wait;
89 | }
90 |
91 | .hide {
92 | display: none;
93 | }
94 |
95 | li {
96 | padding-bottom: 0.3em;
97 | }
98 |
99 | .coscripter-search {
100 | background: #c6ddff;
101 | font-size: small;
102 | padding: 2px 2px;
103 | }
104 |
105 |
--------------------------------------------------------------------------------
/extension/xpi/components/coscripter-run-security-bypass-protocol.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as TestProtocol.js that is licensed pursuant to the license listed below.
21 |
22 | TestProtocol.js
23 | The program known as TestProtocol.js is licensed under the terms of the Mozilla Public License version 1.1. Those terms are reproduced below for your reference.
24 | */
25 | /***** BEGIN LICENSE BLOCK *****
26 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
27 | *
28 | * The contents of this file are subject to the Mozilla Public License Version
29 | * 1.1 (the "License"); you may not use this file except in compliance with
30 | * the License. You may obtain a copy of the License at
31 | * http://www.mozilla.org/MPL/
32 | *
33 | * Software distributed under the License is distributed on an "AS IS" basis,
34 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
35 | * for the specific language governing rights and limitations under the
36 | * License.
37 | *
38 | * The Original Code is Mozilla.
39 | *
40 | * The Initial Developer of the Original Code is IBM Corporation.
41 | * Portions created by IBM Corporation are Copyright (C) 2004
42 | * IBM Corporation. All Rights Reserved.
43 | *
44 | * Contributor(s):
45 | * Darin Fisher
46 | * Doron Rosenberg
47 | *
48 | * Alternatively, the contents of this file may be used under the terms of
49 | * either the GNU General Public License Version 2 or later (the "GPL"), or
50 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
51 | * in which case the provisions of the GPL or the LGPL are applicable instead
52 | * of those above. If you wish to allow use of your version of this file only
53 | * under the terms of either the GPL or the LGPL, and not to allow others to
54 | * use your version of this file under the terms of the MPL, indicate your
55 | * decision by deleting the provisions above and replace them with the notice
56 | * and other provisions required by the GPL or the LGPL. If you do not delete
57 | * the provisions above, a recipient may use your version of this file under
58 | * the terms of any one of the MPL, the GPL or the LGPL.
59 | *
60 | * ***** END LICENSE BLOCK *****
61 | */
62 |
63 | var Preferences = {
64 | DUMP_DEBUG: false,
65 | ERROR_LOG_DEBUG:false
66 | }
67 |
68 | var filename = 'coscripter-run-security-bypass-protocol.js';
69 | function debug(msg) {
70 | if(Preferences.DUMP_DEBUG === true){
71 | dump(filename + " : " + msg + "\n");
72 | }
73 | if(Preferences.ERROR_LOG_DEBUG === true){
74 | var consoleService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService);
75 | consoleService.logStringMessage(filename + " : " + msg );
76 | }
77 | }
78 |
79 |
80 | debug("parsing");
81 |
82 | // change these if you use this file as a template for another protocol
83 | const kSCHEME = "coscriptrun";
84 | const kPROTOCOL_NAME = "CoScripterRun Protocol";
85 | const kPROTOCOL_CID = Components.ID("faeaffb2-3ec0-4172-9863-3503f30ef543");
86 |
87 | // don't change these, they are fine the way they are
88 | const kPROTOCOL_CONTRACTID = "@mozilla.org/network/protocol;1?name=" + kSCHEME;
89 | const kSIMPLEURI_CONTRACTID = "@mozilla.org/network/simple-uri;1";
90 | const kIOSERVICE_CONTRACTID = "@mozilla.org/network/io-service;1";
91 | const nsISupports = Components.interfaces.nsISupports;
92 | const nsIIOService = Components.interfaces.nsIIOService;
93 | const nsIProtocolHandler = Components.interfaces.nsIProtocolHandler;
94 | const nsIURI = Components.interfaces.nsIURI;
95 |
96 |
97 | // moved from the old manual xpcom crud to use XPCOMUtils to generate a bunch
98 | // of the boiler plate code
99 | Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
100 |
101 | // ok, I don't know what most of this does, look for comments,
102 | // I have comments at all the places with non-template code
103 | function Protocol()
104 | {
105 | }
106 |
107 | Protocol.prototype =
108 | {
109 | // needed properties set for XPCOMUtils
110 | classID: kPROTOCOL_CID,
111 | classDescription: kPROTOCOL_NAME,
112 | contractID: kPROTOCOL_CONTRACTID,
113 |
114 | QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsIProtocolHandler,
115 | Components.interfaces.nsISupports,
116 | Components.interfaces.nsIObserver]),
117 |
118 |
119 | // the actual protocol definition
120 | scheme: kSCHEME,
121 | defaultPort: -1,
122 | protocolFlags: nsIProtocolHandler.URI_NORELATIVE |
123 | nsIProtocolHandler.URI_NOAUTH,
124 |
125 | allowPort: function(port, scheme)
126 | {
127 | return false;
128 | },
129 |
130 | newURI: function(spec, charset, baseURI)
131 | {
132 | var uri = Components.classes[kSIMPLEURI_CONTRACTID].createInstance(nsIURI);
133 | uri.spec = spec;
134 | return uri;
135 | },
136 |
137 | newChannel: function(aURI)
138 | {
139 | // Here we are! Non-template code!
140 |
141 | // first, we'll get a pointer to our friendly utility library (if we haven't already)
142 | // now we'll give a nice name to the url
143 | var url = aURI.spec
144 |
145 | // ok, the url will look like "coscriptrun:http://coscripter.almaden.ibm.com/coscripter/lite/procedure/23",
146 | // and we want just the "http://coscripter.almaden.ibm.com/coscripter/lite/procedure/23" part...
147 | if (url.match(/^[^:]+:(.*)/)) {
148 | // ...and now we have it
149 | var procedureUrl = RegExp.$1
150 | Components.utils.import("resource://coscripter-platform/component-registry.js");
151 | // find the top-most firefox window, and load this url into its coscripter sidebar
152 | var mainChromeWindow = registry.utils().mostRecentMainWindow();
153 | mainChromeWindow.coscripter.loadProcedureIntoSidebar(procedureUrl, true)
154 | }
155 |
156 | // we have to return something, or Firefox crashes,
157 | // one option is to return "about:blank",
158 | // but that has the effect of openning a blank page.
159 | // returning "javascript:if(false) {}" has no effect at all, which is ideal
160 | // NOTE: I tried just "javascript:", but that opened the error console
161 | var ios = Components.classes[kIOSERVICE_CONTRACTID].getService(nsIIOService)
162 | return ios.newChannel("javascript:if(false) {}", null, null)
163 |
164 | // ok, I don't know what's going on past here... good luck
165 | },
166 |
167 | // since FF 4.0 you need to implement observable
168 | // it's configured in chrome.manifest
169 | observe: function(subject, topic, data) {
170 | debug("subject: '" + subject + "' topic: '" + topic + " ' data: '" + data + "'" );
171 | },
172 | }
173 |
174 | // generate NSGetFactory for FF 4.0 (Gecko 2)
175 | // and NSGetModule for older version
176 | if (XPCOMUtils.generateNSGetFactory){
177 | var NSGetFactory = XPCOMUtils.generateNSGetFactory([Protocol]);
178 | } else{
179 | var NSGetModule = XPCOMUtils.generateNSGetModule([Protocol]);
180 | }
181 |
182 | debug("done parsing");
183 |
184 |
--------------------------------------------------------------------------------
/extension/xpi/components/coscripter-security-bypass-protocol.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following:
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http://www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Greg Little, Allen Cypher (acypher@us.ibm.com), Tessa Lau, Clemens Drews, James Lin, Jeffrey Nichols, Eser Kandogan, Jeffrey Wong, Gaston Cangiano, Jeffrey Bigham.
19 |
20 | This Program also contains a code package known as TestProtocol.js that is licensed pursuant to the license listed below.
21 |
22 | TestProtocol.js
23 | The program known as TestProtocol.js is licensed under the terms of the Mozilla Public License version 1.1. Those terms are reproduced below for your reference.
24 | */
25 | /***** BEGIN LICENSE BLOCK *****
26 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
27 | *
28 | * The contents of this file are subject to the Mozilla Public License Version
29 | * 1.1 (the "License"); you may not use this file except in compliance with
30 | * the License. You may obtain a copy of the License at
31 | * http://www.mozilla.org/MPL/
32 | *
33 | * Software distributed under the License is distributed on an "AS IS" basis,
34 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
35 | * for the specific language governing rights and limitations under the
36 | * License.
37 | *
38 | * The Original Code is Mozilla.
39 | *
40 | * The Initial Developer of the Original Code is IBM Corporation.
41 | * Portions created by IBM Corporation are Copyright (C) 2004
42 | * IBM Corporation. All Rights Reserved.
43 | *
44 | * Contributor(s):
45 | * Darin Fisher
46 | * Doron Rosenberg
47 | *
48 | * Alternatively, the contents of this file may be used under the terms of
49 | * either the GNU General Public License Version 2 or later (the "GPL"), or
50 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
51 | * in which case the provisions of the GPL or the LGPL are applicable instead
52 | * of those above. If you wish to allow use of your version of this file only
53 | * under the terms of either the GPL or the LGPL, and not to allow others to
54 | * use your version of this file under the terms of the MPL, indicate your
55 | * decision by deleting the provisions above and replace them with the notice
56 | * and other provisions required by the GPL or the LGPL. If you do not delete
57 | * the provisions above, a recipient may use your version of this file under
58 | * the terms of any one of the MPL, the GPL or the LGPL.
59 | *
60 | * ***** END LICENSE BLOCK *****
61 | */
62 |
63 | //======================================================
64 | // Debug Section
65 |
66 | var filename = 'coscripter-security-bypass-protocol.js';
67 | var consoleService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService);
68 |
69 | var Preferences = {
70 | DO_CONSOLE_DEBUGGING : false,
71 | DO_DUMP_DEBUGGING : false
72 | }
73 |
74 | function debug(msg){
75 | if(Preferences.DO_CONSOLE_DEBUGGING){
76 | consoleService.logStringMessage(filename + ": " + msg );
77 | }
78 | if(Preferences.DO_DUMP_DEBUGGING){
79 | dump(filename + ": " + msg + "\n");
80 | }
81 | }
82 | // End Debug Stuff
83 | //======================================================
84 |
85 |
86 | debug("parsing");
87 |
88 |
89 | // change these if you use this file as a template for another protocol
90 | const kSCHEME = "coscript";
91 | const kPROTOCOL_NAME = "CoScripter Protocol";
92 | const kPROTOCOL_CID = Components.ID("76c60d3b-786f-4b8e-bfe4-678d42132995");
93 |
94 | // don't change these, they are fine the way they are
95 | const kPROTOCOL_CONTRACTID = "@mozilla.org/network/protocol;1?name=" + kSCHEME;
96 | const kSIMPLEURI_CONTRACTID = "@mozilla.org/network/simple-uri;1";
97 | const kIOSERVICE_CONTRACTID = "@mozilla.org/network/io-service;1";
98 | const nsISupports = Components.interfaces.nsISupports;
99 | const nsIIOService = Components.interfaces.nsIIOService;
100 | const nsIProtocolHandler = Components.interfaces.nsIProtocolHandler;
101 | const nsIURI = Components.interfaces.nsIURI;
102 |
103 | // moved from the old manual xpcom crud to use XPCOMUtils to generate a bunch
104 | // of the boiler plate code
105 | Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
106 |
107 | // ok, I don't know what most of this does, look for comments,
108 | // I have comments at all the places with non-template code
109 | function Protocol()
110 | {
111 | }
112 |
113 | Protocol.prototype =
114 | {
115 | // needed properties set for XPCOMUtils
116 | classID: kPROTOCOL_CID,
117 | classDescription: kPROTOCOL_NAME,
118 | contractID: kPROTOCOL_CONTRACTID,
119 |
120 | QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsIProtocolHandler,
121 | Components.interfaces.nsISupports,
122 | Components.interfaces.nsIObserver]),
123 |
124 | scheme: kSCHEME,
125 | defaultPort: -1,
126 | protocolFlags: nsIProtocolHandler.URI_NORELATIVE |
127 | nsIProtocolHandler.URI_NOAUTH,
128 |
129 | allowPort: function(port, scheme)
130 | {
131 | return false;
132 | },
133 |
134 | newURI: function(spec, charset, baseURI)
135 | {
136 | var uri = Components.classes[kSIMPLEURI_CONTRACTID].createInstance(nsIURI);
137 | uri.spec = spec;
138 | return uri;
139 | },
140 |
141 | newChannel: function(aURI)
142 | {
143 | // Here we are! Non-template code!
144 |
145 |
146 | // now we'll give a nice name to the url
147 | var url = aURI.spec
148 |
149 | // ok, the url will look like "coscript:http://www.google.com",
150 | // and we want just the "http://www.google.com" part...
151 | if (url.match(/^[^:]+:(.*)/)) {
152 | // ...and now we have it
153 | var procedureUrl = RegExp.$1
154 | // find the top-most firefox window, and load this url into its coscripter sidebar
155 | Components.utils.import("resource://coscripter-platform/component-registry.js");
156 |
157 | var mainChromeWindow = registry.utils().mostRecentMainWindow();
158 | mainChromeWindow.coscripter.loadProcedureIntoSidebar(procedureUrl, false)
159 | }
160 |
161 | // we have to return something, or Firefox crashes,
162 | // one option is to return "about:blank",
163 | // but that has the effect of openning a blank page.
164 | // returning "javascript:if(false) {}" has no effect at all, which is ideal
165 | // NOTE: I tried just "javascript:", but that opened the error console
166 | var ios = Components.classes[kIOSERVICE_CONTRACTID].getService(nsIIOService)
167 | return ios.newChannel("javascript:if(false) {}", null, null)
168 |
169 | // ok, I don't know what's going on past here... good luck
170 | },
171 |
172 | // since FF 4.0 you need to implement observable
173 | // it's configured in chrome.manifest
174 | observe: function(subject, topic, data) {
175 | debug("subject: '" + subject + "' topic: '" + topic + " ' data: '" + data + "'" );
176 | },
177 | }
178 | // generate NSGetFactory for FF 4.0 (Gecko 2)
179 | // and NSGetModule for older version
180 | if (XPCOMUtils.generateNSGetFactory){
181 | debug("NSGetFactory defined (gecko 2.0)");
182 | var NSGetFactory = XPCOMUtils.generateNSGetFactory([Protocol]);
183 | }else{
184 | debug("NSGetFactory undefined (gecko 1.9)");
185 | var NSGetModule = XPCOMUtils.generateNSGetModule([Protocol]);
186 | }
187 |
188 | debug("done parsing");
189 |
190 |
--------------------------------------------------------------------------------
/extension/xpi/defaults/preferences/coscripter.js:
--------------------------------------------------------------------------------
1 | pref("coscripter.serverList", '[{"name":"Your Server","url":"http://yourserver.com/coscripter/"}]');
2 | pref("coscripter.defaultServer", 0);
3 | pref("coscripter.recordActionHistory", "1");
4 | pref("coscripter.showBubbleHelp", false);
5 | pref("coscripter.contextP", false);
6 | pref("coscripter.spreadsheetP", false);
7 | pref("coscripter.showMashupTables", true);
8 | pref("coscripter.saveLocal", 0);
9 | pref("coscripter.recordAllClicksP", false);
10 | pref("coscripter.recordDialogsP", false);
11 |
--------------------------------------------------------------------------------
/extension/xpi/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | CoScripter
6 | Capture, share, and automate business processes
7 | {353396a4-6910-4b95-9ec8-37978867618b}
8 | CoScripter Team
9 | Allen Cypher
10 | Clemens Drews
11 | Eser Kandogan
12 | Tessa Lau
13 | James Lin
14 | Greg Little
15 | Jeffrey Nichols
16 | http://coscripter.researchlabs.ibm.com/
17 | chrome://coscripter/content/coscripterPrefs.xul
18 | https://coscripter.researchlabs.ibm.com/download/FirefoxExtensionXPI/update.rdf
19 |
20 | 2.2.7
21 |
23 |
24 |
25 |
26 | {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
27 | 3.0.0
28 | 99.0.0.*
29 |
30 |
31 |
32 |
33 | platform@coscripter.ibm.com
34 | 2.0.0
35 | 2.*
36 |
37 |
38 | yule@coscripter.ibm.com
39 | 2.0.0
40 | 2.*
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/platform/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | coscripter-platform
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/platform/chrome.manifest:
--------------------------------------------------------------------------------
1 | resource coscripter-platform modules/
2 |
--------------------------------------------------------------------------------
/platform/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | CoScripter Platform
6 | Base Library for Supporting CoScripter Functionality
7 | platform@coscripter.ibm.com
8 | CoScripter Team
9 | Allen Cypher
10 | Clemens Drews
11 | Eser Kandogan
12 | Tessa Lau
13 | James Lin
14 | Greg Little
15 | Jeffrey Nichols
16 | http://coscripter.researchlabs.ibm.com/
17 | 2.2.7
18 |
20 |
21 |
22 |
23 | toolkit@mozilla.org
24 | 1.9.0.11
25 | 99.0.0.*
26 |
27 |
28 |
29 |
30 | yule@coscripter.ibm.com
31 | 2.0.0
32 | 2.*
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/platform/modules/component-registry.js:
--------------------------------------------------------------------------------
1 | var EXPORTED_SYMBOLS = ["registry"];
2 |
3 |
4 | //======================================================
5 | // Debug Section
6 |
7 | var filename = 'coscripter-registry.js';
8 | var consoleService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService);
9 |
10 | var Preferences = {
11 | DO_CONSOLE_DEBUGGING : false,
12 | DO_DUMP_DEBUGGING : false
13 | }
14 |
15 | function debug(msg){
16 | if(Preferences.DO_CONSOLE_DEBUGGING){
17 | consoleService.logStringMessage(filename + ": " + msg );
18 | }
19 | if(Preferences.DO_DUMP_DEBUGGING){
20 | dump(filename + ": " + msg + "\n");
21 | }
22 | }
23 | // End Debug Stuff
24 | //======================================================
25 |
26 | debug('parsing');
27 |
28 | Components.utils.import("resource://coscripter-platform/coscripter-slop-interpreter.js ");
29 |
30 | function Registry(){
31 | debug('Registry Object created');
32 | this.consoleService = function(){
33 | return Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService);
34 | }
35 | this.addComponent("yule","resource://yule/yule.js");
36 | this.addComponent("previewer","resource://coscripter-platform/coscripter-previewer.js");
37 | this.addComponent("periodicPreviewer","resource://coscripter-platform/coscripter-previewer.js", "periodicPreviewer");
38 | this.addComponent("statusDisplay","resource://coscripter-platform/coscripter-previewer.js", "statusDisplay");
39 | this.addComponent("commands","resource://coscripter-platform/coscripter-command.js");
40 | this.addComponent("commandGenerator","resource://coscripter-platform/coscripter-command-generator.js");
41 | this.addComponent("compiler","resource://coscripter-platform/coscripter-compiler.js");
42 | this.addComponent("databaseXpcom","resource://coscripter-platform/coscripter-database.js","personalDB");
43 | this.addComponent("executionEnvironment","resource://coscripter-platform/coscripter-exec-env.js");
44 | this.addComponent("executionEngine","resource://coscripter-platform/coscripter-execution-engine.js");
45 | this.addComponent("filterPassword","resource://coscripter-platform/coscripter-filter-password.js");
46 | this.addComponent("labeler","resource://coscripter-platform/coscripter-labeler.js");
47 | this.addComponent("parser","resource://coscripter-platform/coscripter-strict-parser.js");
48 | this.addComponent("utils","resource://coscripter-platform/coscripter-utils.js");
49 | this.addComponent("autoClip","resource://coscripter-platform/coscripter-auto-clip.js");
50 | debug('Registry Object filled up');
51 | return this;
52 | }
53 |
54 | function getRegistry(){
55 | return registry;
56 | }
57 | Registry.prototype = {
58 | addComponent: function(name,uri,varName){
59 | var _name = "_" + name;
60 | if(varName == null){
61 | varName = name ;
62 | }
63 | debug('adding cache' + _name );
64 | this[_name] = null ;
65 | this[name] = function(){
66 | try{
67 | debug("registry: " + name + "() requested")
68 | if(this[_name]===null){
69 | var scope = {} ;
70 | debug("registry: " + name + "() not cached")
71 | Components.utils.import(uri,scope);
72 | this[_name]=scope[varName];
73 | }
74 | if(this[_name]==null){
75 | debug("******* registry: " + name + " NOT FOUND")
76 | }
77 | return this[_name];
78 | }catch(e){
79 | debug('error requesting jsm: ' + uri + ' exception: ' +e.toString());
80 | }
81 | }
82 | }
83 | }
84 |
85 | var registry = new Registry();
86 | debug('done parsing component-registry.js');
87 |
88 |
89 |
--------------------------------------------------------------------------------
/platform/modules/coscripter-compiler.js:
--------------------------------------------------------------------------------
1 | /*
2 | This Program contains software licensed pursuant to the following :
3 | MOZILLA PUBLIC LICENSE
4 | Version 1.1
5 | The contents of this file are subject to the Mozilla Public License
6 | Version 1.1 (the "License"); you may not use this file except in
7 | compliance with the License. You may obtain a copy of the License at
8 | http: //www.mozilla.org/MPL/
9 |
10 | Software distributed under the License is distributed on an "AS IS"
11 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 | License for the specific language governing rights and limitations
13 | under the License.
14 | The Original Code is IBM.
15 | The Initial Developer of the Original Code is IBM Corporation.
16 | Portions created by IBM Corporation are Copyright (C) 2007
17 | IBM Corporation. All Rights Reserved.
18 | Contributor(s): Clemens Drews, Tessa Lau
19 |
20 | This Program also contains a code package known as 'inheritance methods' that is licensed pursuant to the license listed below.
21 | inheritance methods
22 | The program known as 'inheritance methods' is licensed under the terms below. Those terms are reproduced below for your reference.
23 |
24 | Copyright (c) 2000-2004, Kevin Lindsey
25 | All rights reserved.
26 |
27 | Redistribution and use in source and binary forms, with or without
28 | modification, are permitted provided that the following conditions are met:
29 |
30 | - Redistributions of source code must retain the above copyright notice,
31 | this list of conditions and the following disclaimer.
32 |
33 | - Redistributions in binary form must reproduce the above copyright
34 | notice, this list of conditions and the following disclaimer in the
35 | documentation and/or other materials provided with the distribution.
36 |
37 | - Neither the name of this software nor the names of its contributors
38 | may be used to endorse or promote products derived from this software
39 | without specific prior written permission.
40 |
41 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
42 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
44 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
45 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
48 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
50 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 |
52 | This Program also contains a code package known as developer.mozilla.org sample code that is licensed pursuant to the license listed below.
53 | developer.mozilla.org sample code
54 | The program known as developer.mozilla.org sample code is licensed under the terms below. Those terms are reproduced below for your reference.
55 |
56 | The MIT License
57 | Copyright (c) 2007 Mozilla
58 | Permission is hereby granted, free of charge, to any person obtaining a copy
59 | of this software and associated documentation files (the "Software"), to deal
60 | in the Software without restriction, including without limitation the rights
61 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 | copies of the Software, and to permit persons to whom the Software is
63 | furnished to do so, subject to the following conditions :
64 | The above copyright notice and this permission notice shall be included in
65 | all copies or substantial portions of the Software.
66 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72 | THE SOFTWARE.
73 | */
74 | Components.utils.import("resource://coscripter-platform/component-registry.js")
75 | var EXPORTED_SYMBOLS = ["compiler"]
76 | const nsISupports = Components.interfaces.nsISupports // XPCOM registration constant
77 | var Preferences = {
78 | DO_CONSOLE_DEBUGGING : false,
79 | DO_DUMP_DEBUGGING : false
80 | }
81 | var consoleService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService)
82 | var filename = "coscripter-compiler.js"
83 | function debug(msg){
84 | if(Preferences.DO_CONSOLE_DEBUGGING) consoleService.logStringMessage(filename + ": " + msg )
85 | if(Preferences.DO_DUMP_DEBUGGING) dump(filename + ": " + msg + "\n")
86 | }
87 | //debug('parsing " + filename)
88 |
89 | /////////////////////////////////////////////////
90 | // COMPILER
91 | //
92 | // CompilerException
93 | //////////////////////////////////////////////////////////////////////
94 |
95 | function getCoScripterCompiler(){
96 | return coscripterCompiler
97 | }
98 |
99 | function CoScripterCompiler(){
100 | this.components = registry
101 |
102 | //////////////////////////////////////////
103 | // Define Member Variables Here
104 | // ////////////////////////////////////////
105 |
106 | return this
107 | }
108 |
109 | CoScripterCompiler.prototype = {
110 | compile : function(steps){
111 | var parserComponent = this.components.parser();
112 | var commandComponent = this.components.commands();
113 | var execEnv = this.components.executionEnvironment();
114 | var parserErrorP = false
115 | var cmd;
116 | var cmds = [] ;
117 | for(var i=0;i
19 |
20 | This Program also contains a code package known as developer.mozilla.org
21 | sample code that is licensed pursuant to the license listed below.
22 | developer.mozilla.org sample code
23 | The program known as developer.mozilla.org sample code is licensed under
24 | the terms below. Those terms are reproduced below for your reference.
25 |
26 | The MIT License
27 | Copyright (c) 2007 Mozilla
28 | Permission is hereby granted, free of charge, to any person obtaining a copy
29 | of this software and associated documentation files (the "Software"), to deal
30 | in the Software without restriction, including without limitation the rights
31 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32 | copies of the Software, and to permit persons to whom the Software is
33 | furnished to do so, subject to the following conditions:
34 | The above copyright notice and this permission notice shall be included in
35 | all copies or substantial portions of the Software.
36 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42 | THE SOFTWARE.
43 | */
44 |
45 | Components.utils.import("resource://coscripter-platform/component-registry.js");
46 | var EXPORTED_SYMBOLS = ["filterPassword"];
47 |
48 | //======================================================
49 | // XPCOM registration constants Section
50 | const nsISupports = Components.interfaces.nsISupports;
51 |
52 | //======================================================
53 | // Debug Section
54 |
55 | var consoleService = Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService);
56 |
57 | //var doConsoleDebugging = false ;
58 | var Preferences = {
59 | DO_CONSOLE_DEBUGGING : false,
60 | DO_DUMP_DEBUGGING : false
61 | }
62 |
63 | function debug(msg){
64 | if(Preferences.DO_CONSOLE_DEBUGGING){
65 | consoleService.logStringMessage("coscripter-filter-password.js: " + msg );
66 | }
67 | if(Preferences.DO_DUMP_DEBUGGING){
68 | dump("coscripter-filter-password.js: " + msg + "\n");
69 | }
70 | }
71 |
72 | debug('parsing coscripter-filter-password.js');
73 |
74 | function getFilterPassword(){
75 | return filterPassword;
76 | }
77 |
78 |
79 | function FilterPassword(){
80 | // Component registry
81 | this.components = registry ;
82 |
83 | // a list of the listeners to this component
84 | this._listeners = [];
85 |
86 | var __this = this;
87 | this.handleCommand = function(cmd) {
88 | __this._handleCommand.apply(__this, [cmd]);
89 | };
90 |
91 | this.wrappedJSObject=this;
92 | return this;
93 | }
94 |
95 | FilterPassword.prototype ={
96 |
97 | // subscribe to receive certain types of events from YULE
98 | _subscribe : function()
99 | {
100 | this.components.commandGenerator().addListener(this.handleCommand);
101 | },
102 |
103 | _unsubscribe : function()
104 | {
105 | this.components.commandGenerator().removeListener(this.handleCommand);
106 | },
107 |
108 |
109 | /**
110 | * Add a listener to the events coming from this stream
111 | */
112 | addListener : function(listener) {
113 | if (!this.components.utils().inArrayP(listener, this._listeners))
114 | {
115 | var oldLength = this._listeners.length;
116 | this._listeners.push(listener);
117 |
118 | // subscribe if we didn't previously have any listeners
119 | if (oldLength == 0)
120 | {
121 | this._subscribe();
122 | }
123 | }
124 | },
125 |
126 | /**
127 | * Remove a listener
128 | */
129 | removeListener : function(listener) {
130 | var foundListener = null;
131 | var idx = this._listeners.indexOf(listener);
132 | if (idx >= 0)
133 | {
134 | foundListener = this._listeners.splice(idx, 1);
135 |
136 | // unsubscribe if we have no listeners
137 | if (this._listeners.length == 0)
138 | {
139 | this._unsubscribe();
140 | }
141 | }
142 |
143 | return foundListener;
144 | },
145 |
146 | /**
147 | * Handle incoming command
148 | */
149 | _handleCommand : function(cmd) {
150 | // Check if it's an Enter command
151 | if (cmd.getAction() == this.components.commands().ACTIONS.ENTER) {
152 | // Check if it's a password field
153 | if (cmd.isPassword) {
154 | // Check if it's a literal
155 | if (!cmd.string.needsVars()) {
156 | // Munge the password literal
157 | cmd.string.literal = "****";
158 | // Convert it to a database reference
159 | cmd.string.setNeedVar(true);
160 |
161 | // TL: set a flag on the command object telling it to
162 | // use the special password syntax instead (HACK)
163 | cmd.hidePasswordValue = true;
164 | }
165 | }
166 | }
167 |
168 | // Now pass it on to the listeners
169 | this._notifyListeners(cmd);
170 | },
171 |
172 | _notifyListeners : function(commandObj) {
173 | for(var i = 0; i < this._listeners.length; i++)
174 | {
175 | (this._listeners[i])(commandObj);
176 | }
177 | }
178 |
179 | }
180 | var filterPassword = new FilterPassword();
181 | debug('done parsing coscripter-filter-password.js');
182 |
183 |
--------------------------------------------------------------------------------
/yule/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | yule
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/yule/chrome.manifest:
--------------------------------------------------------------------------------
1 | content yule content/
2 | locale yule en-US locale/en-US/
3 |
4 | resource yule modules/
5 |
--------------------------------------------------------------------------------
/yule/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | yule@coscripter.ibm.com
7 | 2
8 | CoScripter Event Listener (YULE)
9 | 2.2.7
10 | CoScripter Team
11 | Jeff Nichols
12 | Clemens Drews
13 | Tessa Lau
14 | Yevgen Borodin
15 | Your Universal Listener for Events (YULE) Component. Used by the CoScripter extension
16 |
18 |
19 |
20 |
21 | toolkit@mozilla.org
22 | 1.9.0.11
23 | 99.0.0.*
24 |
25 |
26 | https://coscripter.researchlabs.ibm.com/download/yule/update.rdf
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------