Changeset 907523
- Timestamp:
- 05/03/2014 08:52:54 PM (12 years ago)
- Location:
- swfput
- Files:
-
- 26 edited
- 1 copied
-
tags/2.1.1 (copied) (copied from swfput/trunk)
-
tags/2.1.1/Makefile (modified) (1 diff)
-
tags/2.1.1/README.html (modified) (1 diff)
-
tags/2.1.1/README.pdf (modified) (previous)
-
tags/2.1.1/js/editor_plugin.js (modified) (1 diff)
-
tags/2.1.1/js/editor_plugin.min.js (modified) (1 diff)
-
tags/2.1.1/js/editor_plugin3x.js (modified) (1 diff)
-
tags/2.1.1/js/editor_plugin3x.min.js (modified) (1 diff)
-
tags/2.1.1/locale/swfput_l10n-en_US.mo (modified) (previous)
-
tags/2.1.1/locale/swfput_l10n-en_US.po (modified) (2 diffs)
-
tags/2.1.1/locale/swfput_l10n.pot (modified) (2 diffs)
-
tags/2.1.1/readme.txt (modified) (3 diffs)
-
tags/2.1.1/swfput.php (modified) (2 diffs)
-
tags/2.1.1/version.sh (modified) (1 diff)
-
trunk/Makefile (modified) (1 diff)
-
trunk/README.html (modified) (1 diff)
-
trunk/README.pdf (modified) (previous)
-
trunk/js/editor_plugin.js (modified) (1 diff)
-
trunk/js/editor_plugin.min.js (modified) (1 diff)
-
trunk/js/editor_plugin3x.js (modified) (1 diff)
-
trunk/js/editor_plugin3x.min.js (modified) (1 diff)
-
trunk/locale/swfput_l10n-en_US.mo (modified) (previous)
-
trunk/locale/swfput_l10n-en_US.po (modified) (2 diffs)
-
trunk/locale/swfput_l10n.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/swfput.php (modified) (2 diffs)
-
trunk/version.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
swfput/tags/2.1.1/Makefile
r906349 r907523 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 2.1. 04 PRJVERS = 2.1.1 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) -
swfput/tags/2.1.1/README.html
r906349 r907523 1 1 <!-- Creator : groff version 1.21 --> 2 <!-- CreationDate: Thu May 1 11:21:322014 -->2 <!-- CreationDate: Sat May 3 16:48:11 2014 --> 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4 4 "http://www.w3.org/TR/html4/loose.dtd"> -
swfput/tags/2.1.1/js/editor_plugin.js
r906349 r907523 300 300 'width' : w, 301 301 'height' : h, 302 'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 302 // Argh!: Chromium 3.4 breaks with the sandbox attr., 303 // refusing to run scipts in the iframe. Up to 3.3 304 // it was OK. Web search shows that chromium devs 305 // have been dithering about this for some time. 306 // IAC, source is never cross-origin or in any way 307 // unknown. Removed. 308 //'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 303 309 //'allowfullscreen' : '', 304 310 //'seamless' : '', -
swfput/tags/2.1.1/js/editor_plugin.min.js
r906349 r907523 30 30 var d=ev.clipboardData||dom.doc.dataTransfer;if(!d){return true;} 31 31 var tx=tinymce.isIE?'Text':'text/plain';var rep=SWFPut_repl_nl(d.getData(tx));setTimeout(function(){ed.execCommand('mceInsertContent',false,rep);},1);ev.preventDefault();return tinymce.dom.Event.cancel(ev);});ed.SWFPut_Set_code=function(content){return parseShortcode(content);};ed.SWFPut_Get_code=function(content){return getShortcode(content);};var sc_map={};var newkey=function(){var r;do{r=''+parseInt(32768*Math.random()+16384);}while(r in sc_map);sc_map[r]={};return r;};var from_pseudo=function(node){if(!node)return node;var w,h,s,id,cl,rep=false;w=node.attr('width');h=node.attr('height');s=node.attr('src');cl=node.attr('class')||'';id=node.attr('id')||'';var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in sc_map&&sc_map[k].node){rep=sc_map[k].node;}} 32 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'s andbox':"allow-same-origin allow-pointer-lock allow-scripts",'src':s});if(k&&k in sc_map){sc_map[k].node=rep;}}32 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'src':s});if(k&&k in sc_map){sc_map[k].node=rep;}} 33 33 node.replace(rep);return node;};var to_pseudo=function(node,name){if(!node)return node;var w,h,s,id,cl,rep=false;id=node.attr('id')||'';cl=node.attr('class')||'';if(cl.indexOf('evh-pseudo')<0){return;} 34 34 w=node.attr('width');h=node.attr('height');s=node.attr('src');var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in sc_map&&sc_map[k].pnode){rep=sc_map[k].pnode;}} -
swfput/tags/2.1.1/js/editor_plugin3x.js
r906349 r907523 333 333 'width' : w, 334 334 'height' : h, 335 'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 335 // Argh!: Chromium 3.4 breaks with the sandbox attr., 336 // refusing to run scipts in the iframe. Up to 3.3 337 // it was OK. Web search shows that chromium devs 338 // have been dithering about this for some time. 339 // IAC, source is never cross-origin or in any way 340 // unknown. Removed. 341 //'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 336 342 //'allowfullscreen' : '', 337 343 //'seamless' : '', -
swfput/tags/2.1.1/js/editor_plugin3x.min.js
r906349 r907523 33 33 var tx=tinymce.isIE?'Text':'text/plain';var rep=SWFPut_repl_nl(d.getData(tx));setTimeout(function(){ed.execCommand('mceInsertContent',false,rep);},1);ev.preventDefault();return tinymce.dom.Event.cancel(ev);});ed.SWFPut_Set_code=function(content){return t._do_shcode(content);};ed.SWFPut_Get_code=function(content){return t._get_shcode(content);};},sc_map:{},newkey:function(){var r;do{r=''+parseInt(32768*Math.random()+16384);}while(r in this.sc_map);this.sc_map[r]={};return r;},from_pseudo:function(node,name){if(!node){return node;} 34 34 var t=this;var w,h,s,id,cl,rep=false;w=node.attr('width');h=node.attr('height');s=node.attr('src');cl=node.attr('class')||'';id=node.attr('id')||'';var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in t.sc_map&&t.sc_map[k].node){rep=t.sc_map[k].node;}} 35 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'s andbox':"allow-same-origin allow-pointer-lock allow-scripts",'src':s});if(k&&k in t.sc_map){t.sc_map[k].node=rep;}}35 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'src':s});if(k&&k in t.sc_map){t.sc_map[k].node=rep;}} 36 36 node.replace(rep);return node;},to_pseudo:function(node,name){if(!node){return node;} 37 37 var t=this;var w,h,s,id,cl,rep=false;id=node.attr('id')||'';cl=node.attr('class')||'';if(cl.indexOf('evh-pseudo')<0){return;} -
swfput/tags/2.1.1/locale/swfput_l10n-en_US.po
r906349 r907523 1 # swfput 2.1. 0Pot Source1 # swfput 2.1.1 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.1. 0\n"9 "Project-Id-Version: swfput 2.1.1\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2014-0 4-30 19:57-0400\n"12 "PO-Revision-Date: 2014-0 4-30 19:57EDT\n"11 "POT-Creation-Date: 2014-05-03 16:48-0400\n" 12 "PO-Revision-Date: 2014-05-03 16:48 EDT\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" -
swfput/tags/2.1.1/locale/swfput_l10n.pot
r906349 r907523 1 # swfput 2.1. 0Pot Source1 # swfput 2.1.1 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.1. 0\n"9 "Project-Id-Version: swfput 2.1.1\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2014-0 4-30 19:57-0400\n"11 "POT-Creation-Date: 2014-05-03 16:48-0400\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
swfput/tags/2.1.1/readme.txt
r906349 r907523 5 5 Requires at least: 3.0.2 6 6 Tested up to: 3.9 7 Stable tag: 2.1 7 Stable tag: 2.1.1 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 198 198 199 199 == Changelog == 200 201 = 2.1.1 = 202 * This release is called "Sigh" and its only change is a 203 workaround for a chromium 3.4 bug -- not on the front end, but 204 in the Visual editor plugin. You want details, you say? OK: 205 this plugin's video in the tinymce visual editor is housed 206 in an iframe element. The iframe was given, *for principle only*, 207 a sandbox attribute (with the "allow-scripts" argument), even 208 thought the content is generated by a plugin script and is a 209 known quantity. This worked in the major browsers including the 210 Chromium 22 and 3.[123] tested with, but Chromium 3.4 would 211 no longer run scripts in the iframe. Persons-of-curiosity may 212 web search 'chromium iframe scripts' and see at a glance that 213 Chromium has dithered on this subject. Bottom line: the sandbox 214 attribute is removed. Apologies for this release so soon after 215 2.1 a few days ago. 200 216 201 217 = 2.1 = … … 372 388 == Upgrade Notice == 373 389 390 = 2.1.1 = 391 * Chromium 3,4 broken iframe handling will not run scripts 392 with attribute sandbox="allowScripts", so sanbox is removed. 393 Do web search 'Chromium iframe scripts' to see Chromium dither. 394 374 395 = 2.1 = 375 396 * Several small bug fixes and improvements. -
swfput/tags/2.1.1/swfput.php
r906349 r907523 4 4 Plugin URI: http://agalena.nfshost.com/b1/?page_id=46 5 5 Description: Add Flash and HTML5 video to WordPress posts, pages, and widgets, from arbitrary URI's or media library ID's or files in your media upload directory tree (including uploads not in the WordPress media library). 6 Version: 2.1 6 Version: 2.1.1 7 7 Author: Ed Hynan 8 8 Author URI: http://agalena.nfshost.com/b1/ … … 117 117 118 118 // this version 119 const plugin_version = '2.1. 0';119 const plugin_version = '2.1.1'; 120 120 121 121 // the widget class name -
swfput/tags/2.1.1/version.sh
r906349 r907523 3 3 VMAJOR=2 4 4 VMINOR=1 5 RMAJOR= 05 RMAJOR=1 6 6 RMINOR=0 7 7 -
swfput/trunk/Makefile
r906349 r907523 2 2 # License: GNU GPLv3 (see http://www.gnu.org/licenses/gpl-3.0.html) 3 3 4 PRJVERS = 2.1. 04 PRJVERS = 2.1.1 5 5 PRJSTEM = swfput 6 6 PRJNAME = $(PRJSTEM)-$(PRJVERS) -
swfput/trunk/README.html
r906349 r907523 1 1 <!-- Creator : groff version 1.21 --> 2 <!-- CreationDate: Thu May 1 11:21:322014 -->2 <!-- CreationDate: Sat May 3 16:48:11 2014 --> 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4 4 "http://www.w3.org/TR/html4/loose.dtd"> -
swfput/trunk/js/editor_plugin.js
r906349 r907523 300 300 'width' : w, 301 301 'height' : h, 302 'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 302 // Argh!: Chromium 3.4 breaks with the sandbox attr., 303 // refusing to run scipts in the iframe. Up to 3.3 304 // it was OK. Web search shows that chromium devs 305 // have been dithering about this for some time. 306 // IAC, source is never cross-origin or in any way 307 // unknown. Removed. 308 //'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 303 309 //'allowfullscreen' : '', 304 310 //'seamless' : '', -
swfput/trunk/js/editor_plugin.min.js
r906349 r907523 30 30 var d=ev.clipboardData||dom.doc.dataTransfer;if(!d){return true;} 31 31 var tx=tinymce.isIE?'Text':'text/plain';var rep=SWFPut_repl_nl(d.getData(tx));setTimeout(function(){ed.execCommand('mceInsertContent',false,rep);},1);ev.preventDefault();return tinymce.dom.Event.cancel(ev);});ed.SWFPut_Set_code=function(content){return parseShortcode(content);};ed.SWFPut_Get_code=function(content){return getShortcode(content);};var sc_map={};var newkey=function(){var r;do{r=''+parseInt(32768*Math.random()+16384);}while(r in sc_map);sc_map[r]={};return r;};var from_pseudo=function(node){if(!node)return node;var w,h,s,id,cl,rep=false;w=node.attr('width');h=node.attr('height');s=node.attr('src');cl=node.attr('class')||'';id=node.attr('id')||'';var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in sc_map&&sc_map[k].node){rep=sc_map[k].node;}} 32 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'s andbox':"allow-same-origin allow-pointer-lock allow-scripts",'src':s});if(k&&k in sc_map){sc_map[k].node=rep;}}32 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'src':s});if(k&&k in sc_map){sc_map[k].node=rep;}} 33 33 node.replace(rep);return node;};var to_pseudo=function(node,name){if(!node)return node;var w,h,s,id,cl,rep=false;id=node.attr('id')||'';cl=node.attr('class')||'';if(cl.indexOf('evh-pseudo')<0){return;} 34 34 w=node.attr('width');h=node.attr('height');s=node.attr('src');var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in sc_map&&sc_map[k].pnode){rep=sc_map[k].pnode;}} -
swfput/trunk/js/editor_plugin3x.js
r906349 r907523 333 333 'width' : w, 334 334 'height' : h, 335 'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 335 // Argh!: Chromium 3.4 breaks with the sandbox attr., 336 // refusing to run scipts in the iframe. Up to 3.3 337 // it was OK. Web search shows that chromium devs 338 // have been dithering about this for some time. 339 // IAC, source is never cross-origin or in any way 340 // unknown. Removed. 341 //'sandbox' : "allow-same-origin allow-pointer-lock allow-scripts", 336 342 //'allowfullscreen' : '', 337 343 //'seamless' : '', -
swfput/trunk/js/editor_plugin3x.min.js
r906349 r907523 33 33 var tx=tinymce.isIE?'Text':'text/plain';var rep=SWFPut_repl_nl(d.getData(tx));setTimeout(function(){ed.execCommand('mceInsertContent',false,rep);},1);ev.preventDefault();return tinymce.dom.Event.cancel(ev);});ed.SWFPut_Set_code=function(content){return t._do_shcode(content);};ed.SWFPut_Get_code=function(content){return t._get_shcode(content);};},sc_map:{},newkey:function(){var r;do{r=''+parseInt(32768*Math.random()+16384);}while(r in this.sc_map);this.sc_map[r]={};return r;},from_pseudo:function(node,name){if(!node){return node;} 34 34 var t=this;var w,h,s,id,cl,rep=false;w=node.attr('width');h=node.attr('height');s=node.attr('src');cl=node.attr('class')||'';id=node.attr('id')||'';var k=(id!=='')?(id.split('-'))[1]:false;if(k){if(k in t.sc_map&&t.sc_map[k].node){rep=t.sc_map[k].node;}} 35 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'s andbox':"allow-same-origin allow-pointer-lock allow-scripts",'src':s});if(k&&k in t.sc_map){t.sc_map[k].node=rep;}}35 if(!rep){rep=new Node('iframe',1);rep.attr({'id':id,'class':cl.indexOf('evh-pseudo')>=0?cl:(cl+' evh-pseudo'),'width':w,'height':h,'src':s});if(k&&k in t.sc_map){t.sc_map[k].node=rep;}} 36 36 node.replace(rep);return node;},to_pseudo:function(node,name){if(!node){return node;} 37 37 var t=this;var w,h,s,id,cl,rep=false;id=node.attr('id')||'';cl=node.attr('class')||'';if(cl.indexOf('evh-pseudo')<0){return;} -
swfput/trunk/locale/swfput_l10n-en_US.po
r906349 r907523 1 # swfput 2.1. 0Pot Source1 # swfput 2.1.1 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.1. 0\n"9 "Project-Id-Version: swfput 2.1.1\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2014-0 4-30 19:57-0400\n"12 "PO-Revision-Date: 2014-0 4-30 19:57EDT\n"11 "POT-Creation-Date: 2014-05-03 16:48-0400\n" 12 "PO-Revision-Date: 2014-05-03 16:48 EDT\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" -
swfput/trunk/locale/swfput_l10n.pot
r906349 r907523 1 # swfput 2.1. 0Pot Source1 # swfput 2.1.1 Pot Source 2 2 # Copyright (C) 2013 Ed Hynan 3 3 # This file is distributed under the same license as the swfput package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: swfput 2.1. 0\n"9 "Project-Id-Version: swfput 2.1.1\n" 10 10 "Report-Msgid-Bugs-To: edhynan@gmail.com\n" 11 "POT-Creation-Date: 2014-0 4-30 19:57-0400\n"11 "POT-Creation-Date: 2014-05-03 16:48-0400\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
swfput/trunk/readme.txt
r906349 r907523 5 5 Requires at least: 3.0.2 6 6 Tested up to: 3.9 7 Stable tag: 2.1 7 Stable tag: 2.1.1 8 8 Text Domain: swfput_l10n 9 9 License: GPLv3 or later … … 198 198 199 199 == Changelog == 200 201 = 2.1.1 = 202 * This release is called "Sigh" and its only change is a 203 workaround for a chromium 3.4 bug -- not on the front end, but 204 in the Visual editor plugin. You want details, you say? OK: 205 this plugin's video in the tinymce visual editor is housed 206 in an iframe element. The iframe was given, *for principle only*, 207 a sandbox attribute (with the "allow-scripts" argument), even 208 thought the content is generated by a plugin script and is a 209 known quantity. This worked in the major browsers including the 210 Chromium 22 and 3.[123] tested with, but Chromium 3.4 would 211 no longer run scripts in the iframe. Persons-of-curiosity may 212 web search 'chromium iframe scripts' and see at a glance that 213 Chromium has dithered on this subject. Bottom line: the sandbox 214 attribute is removed. Apologies for this release so soon after 215 2.1 a few days ago. 200 216 201 217 = 2.1 = … … 372 388 == Upgrade Notice == 373 389 390 = 2.1.1 = 391 * Chromium 3,4 broken iframe handling will not run scripts 392 with attribute sandbox="allowScripts", so sanbox is removed. 393 Do web search 'Chromium iframe scripts' to see Chromium dither. 394 374 395 = 2.1 = 375 396 * Several small bug fixes and improvements. -
swfput/trunk/swfput.php
r906349 r907523 4 4 Plugin URI: http://agalena.nfshost.com/b1/?page_id=46 5 5 Description: Add Flash and HTML5 video to WordPress posts, pages, and widgets, from arbitrary URI's or media library ID's or files in your media upload directory tree (including uploads not in the WordPress media library). 6 Version: 2.1 6 Version: 2.1.1 7 7 Author: Ed Hynan 8 8 Author URI: http://agalena.nfshost.com/b1/ … … 117 117 118 118 // this version 119 const plugin_version = '2.1. 0';119 const plugin_version = '2.1.1'; 120 120 121 121 // the widget class name -
swfput/trunk/version.sh
r906349 r907523 3 3 VMAJOR=2 4 4 VMINOR=1 5 RMAJOR= 05 RMAJOR=1 6 6 RMINOR=0 7 7
Note: See TracChangeset
for help on using the changeset viewer.