Changeset 1596
- Timestamp:
- 2008-02-24 10:37:19 (8 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 5 added
- 9 modified
-
_dev/fckreleaser.xml (modified) (1 diff)
-
editor/fckeditor.html (modified) (1 diff)
-
editor/js/fckadobeair.js (added)
-
editor/_source/classes/fckeditingarea.js (modified) (1 diff)
-
editor/_source/classes/fckpanel.js (modified) (1 diff)
-
editor/_source/fckeditorapi.js (modified) (2 diffs)
-
editor/_source/internals/fckbrowserinfo.js (modified) (1 diff)
-
editor/_source/internals/fcktoolbarset.js (modified) (2 diffs)
-
fckeditor.js (modified) (1 diff)
-
_samples/adobeair/application.xml (added)
-
_samples/adobeair/package.bat (added)
-
_samples/adobeair/run.bat (added)
-
_samples/adobeair/sample01.html (added)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_dev/fckreleaser.xml
r1565 r1596 29 29 30 30 <!-- 31 The following directoryshould not existing in the development version,31 The following files should not existing in the development version, 32 32 but we leave it here just in case the packager has been run by mistake. 33 33 --> 34 <IgnoreDir path="editor/js" /> 34 <IgnoreFile path="editor/js/fckeditorcode_ie.js" /> 35 <IgnoreFile path="editor/js/fckeditorcode_gecko.js" /> 35 36 36 37 <!-- 37 <Ignore File path="anyfile.xxx" />38 <IgnoreDir path="dir/path" /> 38 39 --> 39 40 -
FCKeditor/trunk/editor/fckeditor.html
r1565 r1596 198 198 </script> 199 199 <script type="text/javascript"> 200 201 // Adobe AIR compatibility file. 202 if ( FCKBrowserInfo.IsAIR ) 203 LoadScript( 'js/fckadobeair.js' ) ; 200 204 201 205 if ( FCKBrowserInfo.IsIE ) -
FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
r1565 r1596 133 133 oDoc.close() ; 134 134 } 135 136 if ( FCKBrowserInfo.IsAIR ) 137 FCKAdobeAIR.EditingArea_Start( oDoc, html ) ; 135 138 136 139 // Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it -
FCKeditor/trunk/editor/_source/classes/fckpanel.js
r1565 r1596 81 81 oDocument.close() ; 82 82 83 if( FCKBrowserInfo.IsAIR ) 84 FCKAdobeAIR.Panel_Contructor( oDocument, window.document.location ) ; 85 83 86 FCKTools.AddEventListenerEx( oIFrameWindow, 'focus', FCKPanel_Window_OnFocus, this ) ; 84 87 FCKTools.AddEventListenerEx( oIFrameWindow, 'blur', FCKPanel_Window_OnBlur, this ) ; -
FCKeditor/trunk/editor/_source/fckeditorapi.js
r1565 r1596 40 40 // objects that aren't really FCKeditor instances. 41 41 var sScript = 42 ' varFCKeditorAPI = {' +42 'window.FCKeditorAPI = {' + 43 43 'Version : "[Development]",' + 44 44 'VersionBuild : "[DEV]",' + … … 112 112 eval.call( oParentWindow, sScript ) ; 113 113 } 114 else if( FCKBrowserInfo.IsAIR ) 115 { 116 FCKAdobeAIR.FCKeditorAPI_Evaluate( oParentWindow, sScript ) ; 117 } 114 118 else if ( FCKBrowserInfo.IsSafari || FCKBrowserInfo.IsGecko19 ) 115 119 { -
FCKeditor/trunk/editor/_source/internals/fckbrowserinfo.js
r1565 r1596 32 32 IsSafari : s.Contains(' applewebkit/'), // Read "IsWebKit" 33 33 IsOpera : !!window.opera, 34 IsAIR : s.Contains(' adobeair/'), 34 35 IsMac : s.Contains('macintosh') 35 36 } ; -
FCKeditor/trunk/editor/_source/internals/fcktoolbarset.js
r1565 r1596 51 51 if ( oOutMatch ) 52 52 { 53 eToolbarTarget = eval( 'parent.' + oOutMatch[1] ).document.getElementById( oOutMatch[2] ) ; 53 if ( FCKBrowserInfo.IsAIR ) 54 FCKAdobeAIR.ToolbarSet_GetOutElement( window, oOutMatch ) ; 55 else 56 eToolbarTarget = eval( 'parent.' + oOutMatch[1] ).document.getElementById( oOutMatch[2] ) ; 54 57 } 55 58 else … … 112 115 eTargetDocument.close() ; 113 116 117 if( FCKBrowserInfo.IsAIR ) 118 FCKAdobeAIR.ToolbarSet_InitOutFrame( eTargetDocument ) ; 119 114 120 FCKTools.AddEventListener( eTargetDocument, 'contextmenu', FCKTools.CancelEvent ) ; 115 121 -
FCKeditor/trunk/fckeditor.js
r1565 r1596 288 288 // Opera 9.50+ 289 289 if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 ) 290 return true ; 290 return true ; 291 292 // Adobe AIR 293 // Checked before Safari because AIR have the WebKit rich text editor 294 // features from Safari 3.0.4, but the version reported is 420. 295 if ( sAgent.indexOf( ' adobeair/' ) != -1 ) 296 return ( sAgent.match( / adobeair\/(\d+)/ )[1] >= 1 ) ; // Build must be at least v1 291 297 292 298 // Safari 3+ -
FCKeditor/trunk/_whatsnew.html
r1593 r1596 41 41 New (and cool!) floating dialog system</strong>, avoiding problems with popup blockers 42 42 and enhancing the editor usability.</li> 43 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong> 44 Adobe AIR</strong> compatibility.</li> 43 45 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support 44 46 for <strong>document.domain</strong> with automatic domain detection.</li>