From: Argiris K. <be...@us...> - 2005-11-25 20:45:55
|
Update of /cvsroot/magicajax/magicajax/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7932/Core Modified Files: MagicAjaxModule.cs Util.cs Web.config Log Message: Moved 'OutputCompareMode' to magicAjaxSection. Renamed 'AjaxCallScriptPath' to 'ScriptPath' since we are using it for other script files too. Index: Web.config =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Web.config,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Web.config 24 Nov 2005 13:13:04 -0000 1.6 --- Web.config 25 Nov 2005 20:45:47 -0000 1.7 *************** *** 8,14 **** <!-- MagicAjax configuration : ! [Optional] ajaxCallScriptPath - Alternative path for "AjaxCallObject.js" If omitted, the embedded "AjaxCallObject.js" file is used (default). ! example: <magicAjax ajaxCallScriptPath="~/script" /> tracing - "true" : When an AjaxCall is invoked a popup window displays the data that were sent to the server and the data that the client received. Used to monitor the traffic of AjaxCalls. --- 8,18 ---- <!-- MagicAjax configuration : ! [Optional] scriptPath - Alternative path for "AjaxCallObject.js" If omitted, the embedded "AjaxCallObject.js" file is used (default). ! example: <magicAjax scriptPath="~/script" /> ! outputCompareMode - "HashCode" : Use String.GetHashCode() to find changed Html output ! "MD5" : Use MD5 hashing to find changed Html output (slower and larger in size, but practically no collisions) ! "FullHtml" : Use the complete Html output to find changes (for debugging purposes only) ! Default is "HashCode" tracing - "true" : When an AjaxCall is invoked a popup window displays the data that were sent to the server and the data that the client received. Used to monitor the traffic of AjaxCalls. *************** *** 28,37 **** the maximum number of page objects that can refer to the same page. Default is 5. pageStore/maxPagesLimitAlert - if it's true, an alert box is displayed when the maxConcurrentPages ! limit is reached. Default is false ! pageStore/outputCompareMode - "HashCode" : Use String.GetHashCode() to find changed Html output ! "MD5" : Use MD5 hashing to find changed Html output (slower and larger in size, but practically no collisions) ! "FullHtml" : Use the complete Html output to find changes (for debugging purposes only) ! Default is "HashCode" --> <magicAjax tracing="false"> <pageStore --- 32,38 ---- the maximum number of page objects that can refer to the same page. Default is 5. pageStore/maxPagesLimitAlert - if it's true, an alert box is displayed when the maxConcurrentPages ! limit is reached. Default is false --> <magicAjax + outputCompareMode="HashCode" tracing="false"> <pageStore *************** *** 41,45 **** maxConcurrentPages="5" maxPagesLimitAlert="false" - outputCompareMode="HashCode" /> </magicAjax> --- 42,45 ---- Index: Util.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Util.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Util.cs 25 Nov 2005 09:29:15 -0000 1.10 --- Util.cs 25 Nov 2005 20:45:47 -0000 1.11 *************** *** 62,66 **** public static string GetFingerprint(string input) { ! MagicAjax.Configuration.OutputCompareMode compareMode = MagicAjaxContext.Current.Configuration.PageStore.CompareMode; switch (compareMode) { --- 62,66 ---- public static string GetFingerprint(string input) { ! MagicAjax.Configuration.OutputCompareMode compareMode = MagicAjaxContext.Current.Configuration.CompareMode; switch (compareMode) { Index: MagicAjaxModule.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/MagicAjaxModule.cs,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** MagicAjaxModule.cs 25 Nov 2005 12:29:15 -0000 1.34 --- MagicAjaxModule.cs 25 Nov 2005 20:45:47 -0000 1.35 *************** *** 103,107 **** <script language='javascript'> if (typeof(AJAXCbo) == 'undefined') ! alert(""Unable to find script library '{0}/{1}'. Copy the file to the required location, or change the 'ajaxCallScriptPath' setting at magicAjax section of web.config.""); else AJAXCbo.HookAjaxCall({2},{3},{4}); --- 103,107 ---- <script language='javascript'> if (typeof(AJAXCbo) == 'undefined') ! alert(""Unable to find script library '{0}/{1}'. Copy the file to the required location, or change the 'scriptPath' setting at magicAjax section of web.config.""); else AJAXCbo.HookAjaxCall({2},{3},{4}); *************** *** 192,196 **** <script language='javascript'> if (typeof(WebPartManager_Cleanup) == 'undefined') ! alert(""Unable to find script library '{0}/{1}'. Copy the file to the required location, or change the 'ajaxCallScriptPath' setting at magicAjax section of web.config.""); </script>"; --- 192,196 ---- <script language='javascript'> if (typeof(WebPartManager_Cleanup) == 'undefined') ! alert(""Unable to find script library '{0}/{1}'. Copy the file to the required location, or change the 'scriptPath' setting at magicAjax section of web.config.""); </script>"; |