Revision: 6627 Author: [email protected] Date: Tue Nov 3 14:54:41 2009 Log: Update XPCOM plugin names, prepare for production deployment.
http://code.google.com/p/google-web-toolkit/source/detail?r=6627 Added: /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3/libgwt_devmode_ff3.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3+/libgwt_devmode_ff3+.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff35/libgwt_devmode_ff35.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3/libgwt_devmode_ff3.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3+/libgwt_devmode_ff3+.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff35/libgwt_devmode_ff35.so Deleted: /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff2/libgwt_dmp_ff2.dylib /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff3/libgwt_dmp_ff3.dylib /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff35/libgwt_dmp_ff35.dylib /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff2/libgwt_dmp_ff2.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3/libgwt_dmp_ff3.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3+/libgwt_dmp_ff3+.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff35/libgwt_dmp_ff35.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff2/libgwt_dmp_ff2.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3/libgwt_dmp_ff3.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3+/libgwt_dmp_ff3+.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff35/libgwt_dmp_ff35.so /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/WINNT_x86-msvc/ff3/xpOOPHM.dll /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/WINNT_x86-msvc/ff35/xpOOPHM.dll /changes/jat/single-xpi/plugins/xpcom/prebuilt/gwt-dmp.xpi Modified: /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.cpp /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.h /changes/jat/single-xpi/plugins/xpcom/Makefile /changes/jat/single-xpi/plugins/xpcom/install-template.rdf /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/chrome.manifest /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/options.xul /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/prefScript.js /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/defaults/preferences/defaults.js /changes/jat/single-xpi/plugins/xpcom/prebuilt/update.rdf ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3/libgwt_devmode_ff3.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3+/libgwt_devmode_ff3+.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff35/libgwt_devmode_ff35.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3/libgwt_devmode_ff3.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3+/libgwt_devmode_ff3+.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /dev/null +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff35/libgwt_devmode_ff35.so Tue Nov 3 14:54:41 2009 File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff2/libgwt_dmp_ff2.dylib Mon Oct 26 18:06:40 2009 +++ /dev/null Binary file, no diff available. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff3/libgwt_dmp_ff3.dylib Mon Oct 26 18:06:40 2009 +++ /dev/null Binary file, no diff available. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Darwin-gcc3/ff35/libgwt_dmp_ff35.dylib Mon Oct 26 18:06:40 2009 +++ /dev/null Binary file, no diff available. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff2/libgwt_dmp_ff2.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3/libgwt_dmp_ff3.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff3+/libgwt_dmp_ff3+.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86-gcc3/ff35/libgwt_dmp_ff35.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff2/libgwt_dmp_ff2.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3/libgwt_dmp_ff3.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff3+/libgwt_dmp_ff3+.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/Linux_x86_64-gcc3/ff35/libgwt_dmp_ff35.so Mon Oct 26 17:20:07 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/WINNT_x86-msvc/ff3/xpOOPHM.dll Mon Oct 26 11:51:28 2009 +++ /dev/null Binary file, no diff available. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/lib/WINNT_x86-msvc/ff35/xpOOPHM.dll Mon Oct 26 11:51:28 2009 +++ /dev/null Binary file, no diff available. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/gwt-dmp.xpi Mon Oct 26 18:06:40 2009 +++ /dev/null File is too large to display a diff. ======================================= --- /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.cpp Thu Oct 29 15:48:15 2009 +++ /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.cpp Tue Nov 3 14:54:41 2009 @@ -311,6 +311,9 @@ std::string hostPart = hostedUrl.substr(0, index); std::string portPart = hostedUrl.substr(index + 1); + // TODO(jat): leaks HostChannel -- need to save it in a session object and + // return that so the host page can call a disconnect method on it at unload + // time or when it gets GC'd. HostChannel* channel = new HostChannel(); Debug::log(Debug::Debugging) << "Connecting..." << Debug::flush; ======================================= --- /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.h Thu Oct 29 08:49:04 2009 +++ /changes/jat/single-xpi/plugins/xpcom/ExternalWrapper.h Tue Nov 3 14:54:41 2009 @@ -41,7 +41,7 @@ { 0xAA, 0xFD, 0x17, 0xE4, 0x97, 0xD1, 0x5D, 0x09 } } #define OOPHM_CONTRACTID "@gwt.google.com/oophm/ExternalWrapper;1" -#define OOPHM_CLASSNAME "GWT Hosted-mode component" +#define OOPHM_CLASSNAME "GWT DevMode component" class ExternalWrapper : public IOOPHM, public nsISecurityCheckedComponent { ======================================= --- /changes/jat/single-xpi/plugins/xpcom/Makefile Tue Oct 27 15:36:33 2009 +++ /changes/jat/single-xpi/plugins/xpcom/Makefile Tue Nov 3 14:54:41 2009 @@ -92,8 +92,8 @@ EXTENSION_OUTDIR = prebuilt/extension FF_PLATFORM_DIR = $(EXTENSION_OUTDIR)/lib/$(TARGET_PLATFORM)/$(BROWSER) -INSTALLER_XPI = prebuilt/gwt-dmp.xpi -FF_DLL = $(OBJ_OUTDIR)/libgwt_dmp_$(BROWSER)$(DLL_SUFFIX) +INSTALLER_XPI = prebuilt/gwt-devmode-plugin.xpi +FF_DLL = $(OBJ_OUTDIR)/libgwt_devmode_$(BROWSER)$(DLL_SUFFIX) #FF_TYPELIB = build/IOOPHM.xpt #FF_HEADER = $(OBJ_OUTDIR)/IOOPHM.h FF_TYPELIB = prebuilt/extension/components/IOOPHM.xpt ======================================= --- /changes/jat/single-xpi/plugins/xpcom/install-template.rdf Tue Oct 27 14:36:36 2009 +++ /changes/jat/single-xpi/plugins/xpcom/install-template.rdf Tue Nov 3 14:54:41 2009 @@ -3,14 +3,15 @@ xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:install-manifest"> - <em:id>[email protected]</em:id> - <em:name>GWT Development Mode Plugin (XPCOM) for Firefox</em:name> + <em:id>[email protected]</em:id> + <em:name>GWT Development Mode Plugin for Firefox</em:name> <em:version>GWT_DMP_VERSION</em:version> <em:type>2</em:type> <em:targetApplication> <Description> <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>1.5</em:minVersion> + <!-- TODO: can we add 1.5-2.0 back? Do we care? --> + <em:minVersion>3.0</em:minVersion> <em:maxVersion>3.5.*</em:maxVersion> </Description> </em:targetApplication> @@ -19,7 +20,7 @@ <em:description>A plugin to support GWT development-mode in XPCOM-based browsers</em:description> <em:creator>Google, Inc.</em:creator> <em:homepageURL>http://code.google.com/webtoolkit/</em:homepageURL> - <em:iconURL>chrome://gwt-dmp/skin/icon.png</em:iconURL> + <em:iconURL>chrome://gwt-devmode-plugin/skin/icon.png</em:iconURL> <em:targetPlatform>Linux_x86-gcc3</em:targetPlatform> <em:targetPlatform>Linux_x86_64-gcc3</em:targetPlatform> @@ -27,11 +28,11 @@ <em:targetPlatform>Darwin_x86-gcc3</em:targetPlatform> <em:targetPlatform>Darwin_ppc-gcc3</em:targetPlatform> - <em:optionsURL>chrome://gwt-dmp/content/options.xul</em:optionsURL> - - <!-- TODO - # prefs dialog - + <em:optionsURL>chrome://gwt-devmode-plugin/content/options.xul</em:optionsURL> + + <em:updateURL><![CDATA[https://dl.google.com/gwt/plugins/firefox-update.rdf?guid=%ITEM_ID%&version=%ITEM_VERSION%&application=%APP_ID%&appversion=%APP_VERSION%]]></em:updateURL> + + <!-- TODO # replace default about dialog <em:aboutURL>chrome://gwt-dmp/content/about.xul</em:aboutURL> @@ -42,9 +43,7 @@ # platforms - any others? <em:targetPlatform>SunOS_sparc-sunc</em:targetPlatform> <em:targetPlatform>SunOS_x86-sunc</em:targetPlatform> - <em:targetPlatform>WINNT_x86-msvc</em:targetPlatform> - <em:targetPlatform>Darwin_x86-gcc3</em:targetPlatform> - <em:targetPlatform>Darwin_ppc-gcc3</em:targetPlatform> + <em:targetPlatform>SunOS_x86_64-sunc</em:targetPlatform> --> </Description> ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/chrome.manifest Thu Sep 3 15:22:56 2009 +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/chrome.manifest Tue Nov 3 14:54:41 2009 @@ -1,2 +1,2 @@ -content gwt-dmp content/ -skin gwt-dmp classic/1.0 skin/ +content gwt-devmode-plugin content/ +skin gwt-devmode-plugin classic/1.0 skin/ ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/options.xul Thu Sep 3 15:22:56 2009 +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/options.xul Tue Nov 3 14:54:41 2009 @@ -2,21 +2,21 @@ <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <dialog buttons="accept" - id="gwt-dmp-prefs" + id="gwt-devmode-prefs" title="GWT Development Mode Plugin Options" onload="GwtDevelopmentModePlugin.onload()" ondialogaccept="return true;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="application/x-javascript" - src="chrome://gwt-dmp/content/prefScript.js"/> + src="chrome://gwt-devmode-plugin/content/prefScript.js"/> <vbox flex="1"> <groupbox flex="1"> <caption> <hbox> - <image src="chrome://gwt-dmp/skin/warning.png"/> + <image src="chrome://gwt-devmode-plugin/skin/warning.png"/> <label value="Security Restrictions" style="font-weight: bold"/> </hbox> </caption> ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/prefScript.js Thu Sep 3 15:22:56 2009 +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/content/prefScript.js Tue Nov 3 14:54:41 2009 @@ -70,11 +70,12 @@ return listboxEntry; }, -// Internal - load the access list from the gwt-dmp.accessList preference +// Internal - load the access list from the gwt-devmode-plugin.accessList +// preference getAccessList: function() { var prefServ = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); - var prefs = prefServ.getBranch("gwt-dmp."); + var prefs = prefServ.getBranch("gwt-devmode-plugin."); var pref = prefs.getCharPref("accessList"); if (!pref) { return []; @@ -82,11 +83,12 @@ return pref.split(","); }, -// Internal - save the access list to the gwt-dmp.accessList preference +// Internal - save the access list to the gwt-devmode-plugin.accessList +// preference saveAccessList: function(list) { var prefServ = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); - var prefs = prefServ.getBranch("gwt-dmp."); + var prefs = prefServ.getBranch("gwt-devmode-plugin."); prefs.setCharPref("accessList", list.join(",")); prefServ.savePrefFile(null); } ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/defaults/preferences/defaults.js Thu Sep 3 15:22:56 2009 +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/extension/defaults/preferences/defaults.js Tue Nov 3 14:54:41 2009 @@ -1,1 +1,1 @@ -pref("gwt-dmp.accessList", ""); +pref("gwt-devmode-plugin.accessList", ""); ======================================= --- /changes/jat/single-xpi/plugins/xpcom/prebuilt/update.rdf Mon Aug 3 08:30:11 2009 +++ /changes/jat/single-xpi/plugins/xpcom/prebuilt/update.rdf Tue Nov 3 14:54:41 2009 @@ -3,101 +3,21 @@ <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> - <RDF:Description about="urn:mozilla:extension:[email protected]"> + <RDF:Description about="urn:mozilla:extension:[email protected]"> <em:updates> <RDF:Seq> <RDF:li> <RDF:Description> - <em:version>0.0.4229M.20081202172443</em:version> + <em:version>0.9.6553M.20091030005401</em:version> <em:targetApplication> <Description> <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>1.5</em:minVersion> - <em:maxVersion>2.*</em:maxVersion> - <em:updateLink>http://google-web-toolkit.googlecode.com/svn/changes/jat/oophm-plugins-trunk/plugins/xpcom/prebuilt/oophm-xpcom-ff2.xpi</em:updateLink> - - <!-- - <em:updateInfoURL>http://www.mysite.com/updateinfo2.2.xhtml</em:updateInfoURL> - --> - </Description> - </em:targetApplication> - </RDF:Description> - </RDF:li> - - </RDF:Seq> - </em:updates> - </RDF:Description> - - <RDF:Description about="urn:mozilla:extension:[email protected]"> - <em:updates> - <RDF:Seq> - - <RDF:li> - <RDF:Description> - <em:version>0.0.4229M.20081202172443</em:version> - <em:targetApplication> - <Description> - <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>3</em:minVersion> - <em:maxVersion>3.4.*</em:maxVersion> - <em:updateLink>http://google-web-toolkit.googlecode.com/svn/changes/jat/oophm-plugins-trunk/plugins/xpcom/prebuilt/oophm-xpcom-ff3.xpi</em:updateLink> - - <!-- - <em:updateInfoURL>http://www.mysite.com/updateinfo2.2.xhtml</em:updateInfoURL> - --> - </Description> - </em:targetApplication> - </RDF:Description> - </RDF:li> - - </RDF:Seq> - </em:updates> - </RDF:Description> - - <RDF:Description about="urn:mozilla:extension:[email protected]"> - <em:updates> - <RDF:Seq> - - <RDF:li> - <RDF:Description> - <em:version>0.0.4229M.20081202172443</em:version> - <em:targetApplication> - <Description> - <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>3</em:minVersion> - <em:maxVersion>3.4.*</em:maxVersion> - <em:updateLink>http://google-web-toolkit.googlecode.com/svn/changes/jat/oophm-plugins-trunk/plugins/xpcom/prebuilt/oophm-xpcom-ff3+.xpi</em:updateLink> - - <!-- - <em:updateInfoURL>http://www.mysite.com/updateinfo2.2.xhtml</em:updateInfoURL> - --> - </Description> - </em:targetApplication> - </RDF:Description> - </RDF:li> - - </RDF:Seq> - </em:updates> - </RDF:Description> - - <RDF:Description about="urn:mozilla:extension:[email protected]"> - <em:updates> - <RDF:Seq> - - <RDF:li> - <RDF:Description> - <em:version>0.0.4229M.20081202172443</em:version> - <em:targetApplication> - <Description> - <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>3.5</em:minVersion> - <em:maxVersion>3.*</em:maxVersion> - <em:updateLink>http://google-web-toolkit.googlecode.com/svn/changes/jat/oophm-plugins-trunk/plugins/xpcom/prebuilt/oophm-xpcom-ff35.xpi</em:updateLink> - - <!-- - <em:updateInfoURL>http://www.mysite.com/updateinfo2.2.xhtml</em:updateInfoURL> - --> + <em:minVersion>3.0</em:minVersion> + <em:maxVersion>3.5.*</em:maxVersion> + <em:updateLink>https://dl.google.com/gwt/plugins/gwt-devmode-plugin.xpi</em:updateLink> + <em:updateInfoURL>https://dl.google.com/gwt/plugins/gwt-devmode-plugin-info.xhtml?locale=%APP_LOCALE%</em:updateLink> + </Description> </em:targetApplication> </RDF:Description> --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
