Changeset 740
- Timestamp:
- 05/27/08 08:31:59 (6 months ago)
- Files:
-
- branches/compiler (modified) (1 prop)
- branches/compiler/build.sh (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/accelimation.js (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/browser.js (modified) (13 diffs)
- branches/compiler/chrome/chromeFiles/content/browser.xul (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/content/config.js (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/contents.rdf (deleted)
- branches/compiler/chrome/chromeFiles/content/convert2RegExp.js (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/content/default-config.xml (deleted)
- branches/compiler/chrome/chromeFiles/content/icon_medium.png (modified) (1 prop)
- branches/compiler/chrome/chromeFiles/content/icon_small.png (modified) (1 prop)
- branches/compiler/chrome/chromeFiles/content/icon_small_disabled.png (modified) (1 prop)
- branches/compiler/chrome/chromeFiles/content/install.js (modified) (4 diffs)
- branches/compiler/chrome/chromeFiles/content/install.xul (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/content/manage.css (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/manage.js (modified) (11 diffs)
- branches/compiler/chrome/chromeFiles/content/manage.xul (modified) (4 diffs)
- branches/compiler/chrome/chromeFiles/content/menucommander.js (modified) (3 diffs)
- branches/compiler/chrome/chromeFiles/content/miscapis.js (modified) (7 diffs)
- branches/compiler/chrome/chromeFiles/content/newscript.js (modified) (6 diffs)
- branches/compiler/chrome/chromeFiles/content/newscript.xul (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/pages-overlay.js (modified) (8 diffs)
- branches/compiler/chrome/chromeFiles/content/pages-overlay.xul (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/content/prefmanager.js (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/content/scriptdownloader.js (modified) (14 diffs)
- branches/compiler/chrome/chromeFiles/content/status_off.gif (deleted)
- branches/compiler/chrome/chromeFiles/content/status_on.gif (deleted)
- branches/compiler/chrome/chromeFiles/content/updater.js (modified) (3 diffs, 1 prop)
- branches/compiler/chrome/chromeFiles/content/utils.js (modified) (25 diffs)
- branches/compiler/chrome/chromeFiles/content/versioning.js (deleted)
- branches/compiler/chrome/chromeFiles/content/xmlhttprequester.js (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/locale/ca-AD (copied) (copied from trunk/src/chrome/chromeFiles/locale/ca-AD)
- branches/compiler/chrome/chromeFiles/locale/ca-AD/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ca-AD/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/ca-AD/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ca-AD/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/ca-AD/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/ca-AD/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/ca-AD/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ca-AD/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/cs-CZ (copied) (copied from trunk/src/chrome/chromeFiles/locale/cs-CZ)
- branches/compiler/chrome/chromeFiles/locale/cs-CZ/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/cs-CZ/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/cs-CZ/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/cs-CZ/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/cs-CZ/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/cs-CZ/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/cs-CZ/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/cs-CZ/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/da-DK (copied) (copied from trunk/src/chrome/chromeFiles/locale/da-DK)
- branches/compiler/chrome/chromeFiles/locale/da-DK/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/da-DK/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/da-DK/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/da-DK/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/da-DK/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/da-DK/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/da-DK/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/da-DK/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/de-DE (copied) (copied from trunk/src/chrome/chromeFiles/locale/de-DE)
- branches/compiler/chrome/chromeFiles/locale/de-DE/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/de-DE/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/de-DE/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/de-DE/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/de-DE/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/de-DE/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/de-DE/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/de-DE/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/en-US/contents.rdf (deleted)
- branches/compiler/chrome/chromeFiles/locale/en-US/gm-browser.properties (modified) (2 diffs)
- branches/compiler/chrome/chromeFiles/locale/en-US/gm-manage.properties (modified) (1 diff)
- branches/compiler/chrome/chromeFiles/locale/en-US/greasemonkey.dtd (modified) (4 diffs)
- branches/compiler/chrome/chromeFiles/locale/es-ES (copied) (copied from trunk/src/chrome/chromeFiles/locale/es-ES)
- branches/compiler/chrome/chromeFiles/locale/es-ES/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/es-ES/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/es-ES/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/es-ES/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/es-ES/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/es-ES/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/es-ES/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/es-ES/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/eu-ES (copied) (copied from trunk/src/chrome/chromeFiles/locale/eu-ES)
- branches/compiler/chrome/chromeFiles/locale/eu-ES/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/eu-ES/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/eu-ES/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/eu-ES/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/eu-ES/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/eu-ES/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/eu-ES/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/eu-ES/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/fa-IR (copied) (copied from trunk/src/chrome/chromeFiles/locale/fa-IR)
- branches/compiler/chrome/chromeFiles/locale/fa-IR/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fa-IR/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/fa-IR/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fa-IR/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/fa-IR/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/fa-IR/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/fa-IR/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fa-IR/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/fi-FI (copied) (copied from trunk/src/chrome/chromeFiles/locale/fi-FI)
- branches/compiler/chrome/chromeFiles/locale/fi-FI/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fi-FI/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/fi-FI/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fi-FI/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/fi-FI/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/fi-FI/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/fi-FI/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fi-FI/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/fr-FR (copied) (copied from trunk/src/chrome/chromeFiles/locale/fr-FR)
- branches/compiler/chrome/chromeFiles/locale/fr-FR/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fr-FR/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/fr-FR/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fr-FR/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/fr-FR/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/fr-FR/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/fr-FR/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/fr-FR/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/gl-ES (copied) (copied from trunk/src/chrome/chromeFiles/locale/gl-ES)
- branches/compiler/chrome/chromeFiles/locale/gl-ES/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/gl-ES/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/gl-ES/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/gl-ES/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/gl-ES/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/gl-ES/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/gl-ES/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/gl-ES/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/he-IL (copied) (copied from trunk/src/chrome/chromeFiles/locale/he-IL)
- branches/compiler/chrome/chromeFiles/locale/he-IL/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/he-IL/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/he-IL/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/he-IL/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/he-IL/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/he-IL/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/he-IL/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/he-IL/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/it-IT (copied) (copied from trunk/src/chrome/chromeFiles/locale/it-IT)
- branches/compiler/chrome/chromeFiles/locale/it-IT/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/it-IT/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/it-IT/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/it-IT/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/it-IT/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/it-IT/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/it-IT/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/it-IT/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/ja-JP (copied) (copied from trunk/src/chrome/chromeFiles/locale/ja-JP)
- branches/compiler/chrome/chromeFiles/locale/ja-JP/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ja-JP/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/ja-JP/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ja-JP/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/ja-JP/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/ja-JP/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/ja-JP/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ja-JP/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/ko-KR (copied) (copied from trunk/src/chrome/chromeFiles/locale/ko-KR)
- branches/compiler/chrome/chromeFiles/locale/ko-KR/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ko-KR/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/ko-KR/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ko-KR/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/ko-KR/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/ko-KR/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/ko-KR/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ko-KR/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/nl-NL (copied) (copied from trunk/src/chrome/chromeFiles/locale/nl-NL)
- branches/compiler/chrome/chromeFiles/locale/nl-NL/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/nl-NL/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/nl-NL/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/nl-NL/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/nl-NL/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/nl-NL/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/nl-NL/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/nl-NL/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/pl-PL (copied) (copied from trunk/src/chrome/chromeFiles/locale/pl-PL)
- branches/compiler/chrome/chromeFiles/locale/pl-PL/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pl-PL/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/pl-PL/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pl-PL/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/pl-PL/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/pl-PL/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/pl-PL/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pl-PL/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-BR (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-BR)
- branches/compiler/chrome/chromeFiles/locale/pt-BR/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-BR/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-BR/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-BR/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-BR/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-BR/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/pt-BR/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-BR/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-PT (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-PT)
- branches/compiler/chrome/chromeFiles/locale/pt-PT/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-PT/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-PT/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-PT/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/pt-PT/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-PT/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/pt-PT/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/pt-PT/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/ru-RU (copied) (copied from trunk/src/chrome/chromeFiles/locale/ru-RU)
- branches/compiler/chrome/chromeFiles/locale/ru-RU/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ru-RU/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/ru-RU/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ru-RU/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/ru-RU/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/ru-RU/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/ru-RU/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/ru-RU/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/sk-SK (copied) (copied from trunk/src/chrome/chromeFiles/locale/sk-SK)
- branches/compiler/chrome/chromeFiles/locale/sk-SK/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sk-SK/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/sk-SK/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sk-SK/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/sk-SK/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/sk-SK/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/sk-SK/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sk-SK/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/sl-SI (copied) (copied from trunk/src/chrome/chromeFiles/locale/sl-SI)
- branches/compiler/chrome/chromeFiles/locale/sl-SI/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sl-SI/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/sl-SI/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sl-SI/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/sl-SI/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/sl-SI/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/sl-SI/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sl-SI/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/sv-SE (copied) (copied from trunk/src/chrome/chromeFiles/locale/sv-SE)
- branches/compiler/chrome/chromeFiles/locale/sv-SE/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sv-SE/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/sv-SE/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sv-SE/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/sv-SE/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/sv-SE/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/sv-SE/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/sv-SE/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/tr-TR (copied) (copied from trunk/src/chrome/chromeFiles/locale/tr-TR)
- branches/compiler/chrome/chromeFiles/locale/tr-TR/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/tr-TR/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/tr-TR/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/tr-TR/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/tr-TR/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/tr-TR/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/tr-TR/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/tr-TR/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/uk-UA (copied) (copied from trunk/src/chrome/chromeFiles/locale/uk-UA)
- branches/compiler/chrome/chromeFiles/locale/uk-UA/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/uk-UA/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/uk-UA/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/uk-UA/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/uk-UA/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/uk-UA/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/uk-UA/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/uk-UA/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-CN (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-CN)
- branches/compiler/chrome/chromeFiles/locale/zh-CN/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-CN/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-CN/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-CN/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-CN/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-CN/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/zh-CN/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-CN/greasemonkey.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-TW (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-TW)
- branches/compiler/chrome/chromeFiles/locale/zh-TW/gm-browser.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-TW/gm-browser.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-TW/gm-manage.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-TW/gm-manage.properties)
- branches/compiler/chrome/chromeFiles/locale/zh-TW/greasemonkey.dtd (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-TW/greasemonkey.dtd)
- branches/compiler/chrome/chromeFiles/locale/zh-TW/greasemonkey.properties (copied) (copied from trunk/src/chrome/chromeFiles/locale/zh-TW/greasemonkey.properties)
- branches/compiler/chrome/icons/default/greasemonkey.ico (modified) (previous)
- branches/compiler/chrome/icons/default/greasemonkey.xpm (deleted)
- branches/compiler/components/greasemonkey.js (modified) (17 diffs)
- branches/compiler/foo/foo.user.js (modified) (5 diffs)
- branches/compiler/install.js (deleted)
- branches/compiler/install.rdf (modified) (3 diffs)
- branches/compiler/perl/convert2RegExp.js (modified) (2 diffs)
- branches/compiler/perl/convert2RegExp_1.js (modified) (1 diff)
- branches/compiler/perl/convert2RegExp_2.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/compiler
- Property svn:ignore changed from
build
greasemonkey.xpi
to
build
greasemonkey*.xpi
- Property svn:ignore changed from
branches/compiler/build.sh
r585 r740 1 1 #!/bin/sh 2 GMMAX=0 3 GMMIN=8 2 3 # Set up variables 4 GMMAX=${1-0} 5 GMMIN=${2-8} 6 GMREL=${3-0} 4 7 GMBUILD=`date +"%Y%m%d"` 5 GMREL=06 7 8 GMNAME=greasemonkey 8 9 9 GMVER="$GMMAX.$GMMIN.$GMBUILD.$GMREL" 10 10 GMXPI="$GMNAME-$GMVER.xpi" 11 11 12 12 # Copy base structure to a temporary build directory and change to it 13 echo "Creating working directory ..." 13 14 rm -rf build 14 15 mkdir build 15 cp chrome.manifest build/ 16 cp install.js build/ 17 cp install.rdf build/ 18 cp license.txt build/ 19 cp -r defaults build/ 20 cp -r components build/ 21 cp -r chrome build/ 16 cp -r chrome.manifest install.rdf license.txt \ 17 defaults components chrome \ 18 build/ 22 19 cd build 23 20 24 # Generate locales for chrome.manifest from babelzilla directories, which 25 # we assume have been placed in locale/. 21 echo "Gathering all locales into chrome.manifest ..." 26 22 GMLOC=\"en-US\" 27 for entry in $(ls chrome/chromeFiles/locale/); do23 for entry in chrome/chromeFiles/locale/*; do 28 24 if [ $entry != en-US ]; then 29 echo "locale $GMNAME "$entry" chrome/chromeFiles/locale/"$entry"/" >> chrome.manifest25 echo "locale $GMNAME $entry chrome/chromeFiles/locale/$entry/" >> chrome.manifest 30 26 GMLOC=$GMLOC,\ \"$entry\" 31 27 fi 32 28 done 33 29 34 replace () { 35 TMP=`mktemp -t Greasemonkey-build.sh` 36 SRC=`echo "$1" | sed 's/[\/\\\\]/\\\\&/g'` 37 DST=`echo "$2" | sed 's/[\/\\\\]/\\\\&/g'` 38 sed "s/$SRC/$DST/g" "$3" > "$TMP" 39 if cmp -s "$3" "$TMP" ; then 40 # No change! Treat as a failure to react to in caller. 41 rm "$TMP" 42 return 1 43 fi 44 cp "$TMP" "$3" 45 rm "$TMP" 46 return 0 47 } 30 echo "Patching install.rdf version ..." 31 sed "s!<em:version>.*</em:version>!<em:version>$GMVER</em:version>!" \ 32 install.rdf > install.rdf.tmp 33 mv install.rdf.tmp install.rdf 48 34 49 replace '<em:version>.*</em:version>' \ 50 '<em:version>'$GMVER'</em:version>' \ 51 install.rdf 35 echo "Cleaning up unwanted files ..." 36 find . -depth -name '.svn' -exec rm -rf "{}" \; 37 find . -depth -name '*~' -exec rm -rf "{}" \; 38 find . -depth -name '#*' -exec rm -rf "{}" \; 52 39 53 replace 'const APP_VERSION =.*' \ 54 'const APP_VERSION = "'$GMVER'";' \ 55 install.js 40 echo "Creating $GMNAME.jar ..." 41 cd chrome 42 zip -qr0X "$GMNAME.jar" chromeFiles icons 43 rm -rf chromeFiles icons 44 cd .. 56 45 57 # sets up available locales for seamonkey 58 replace 'const APP_LOCALES =.*;' \ 59 'const APP_LOCALES = [ '$GMLOC' ];' \ 60 install.js 46 echo "Patching chrome.manifest with jar ..." 47 sed -e "/^content/s#\(.*\) chrome/\(.*\)#\1 jar:chrome/$GMNAME.jar!/\2#" \ 48 -e "/^locale/s#\(.*\) chrome/\(.*\)#\1 jar:chrome/$GMNAME.jar!/\2#" \ 49 -e "/^skin/s#\(.*\) chrome/\(.*\)#\1 jar:chrome/$GMNAME.jar!/\2#" \ 50 chrome.manifest > chrome.manifest.jar 51 mv chrome.manifest.jar chrome.manifest 61 52 62 find . -name '.svn' -prune -or -name '.DS_Store' -or -name '*~' -or -name '#*' \ 63 -or -print | zip -9X -@ "$GMXPI" 53 echo "Creating $GMXPI ..." 54 zip -qr9X "../$GMXPI" * 64 55 65 mv "$GMXPI" ../ 66 67 echo "Created $GMXPI" 68 exit 0 56 echo "Cleaning up temporary files ..." 57 cd .. 58 rm -rf build branches/compiler/chrome/chromeFiles/content/accelimation.js
r548 r740 35 35 this.id = Accelimation.instances.length; 36 36 this.onend = null; 37 } ;37 } 38 38 39 39 //===================================================================== branches/compiler/chrome/chromeFiles/content/browser.js
r623 r740 28 28 this.menuCommanders = []; 29 29 this.currentMenuCommander = null; 30 31 GM_updateVersion();32 30 33 31 GM_listen(window, "load", GM_hitch(this, "chromeLoad")); … … 173 171 "chrome://greasemonkey/content/icon_small.png", 174 172 greeting, 175 this.bundle.getString( 'greeting.btn'),173 this.bundle.getString("greeting.btn"), 176 174 null /* default doc shell */, 177 175 "install-userscript", … … 179 177 "top", 180 178 true /* show close button */, 181 "I"/* access key */);179 this.bundle.getString("greeting.btnAccess") /* access key */); 182 180 } else { 183 181 // Firefox 2.0+ … … 199 197 notificationBox.PRIORITY_WARNING_MEDIUM, 200 198 [{ 201 label: this.bundle.getString( 'greeting.btn'),202 accessKey: "I",199 label: this.bundle.getString("greeting.btn"), 200 accessKey: this.bundle.getString("greeting.btnAccess"), 203 201 popup: null, 204 202 callback: GM_hitch(this, "installCurrentScript") … … 233 231 this.scriptDownloader_ = scriptDownloader; 234 232 235 var ioSvc = Components.classes["@mozilla.org/network/io-service;1"] 236 .getService(Components.interfaces.nsIIOService); 237 var uri = ioSvc.newFileURI(scriptDownloader.script.file); 238 239 var tab = this.tabBrowser.addTab(uri.spec); 233 var tab = this.tabBrowser.addTab(scriptDownloader.script.previewURL); 240 234 var browser = this.tabBrowser.getBrowserForTab(tab); 241 235 … … 265 259 266 260 GM_BrowserUI.installScript = function(script){ 267 var config = new Config(); 268 config.load(); 269 config.install(script); 261 GM_getConfig().install(script); 270 262 this.showHorrayMessage(script.name); 271 263 }; … … 426 418 // set the enabled/disabled state 427 419 GM_BrowserUI.generalMenuEnabledItem.setAttribute("checked", GM_getEnabled()); 428 } ;420 } 429 421 430 422 function GM_showPopup(aEvent) { 431 var config = new Config(); 432 config.load(); 423 function urlsOfAllFrames(contentWindow) { 424 function collect(contentWindow) { 425 urls = urls.concat(urlsOfAllFrames(contentWindow)); 426 } 427 var urls = [contentWindow.location.href]; 428 Array.prototype.slice.call(contentWindow.frames).forEach(collect); 429 return urls; 430 } 431 432 function uniq(a) { 433 var seen = {}, list = [], item; 434 for (var i = 0; i < a.length; i++) { 435 item = a[i]; 436 if (!seen.hasOwnProperty(item)) 437 seen[item] = list.push(item); 438 } 439 return list; 440 } 441 442 function scriptsMatching(urls) { 443 444 function testMatchURLs(script) { 445 446 function testMatchURL(url) { 447 return script.matchesURL(url); 448 } 449 450 return urls.some(testMatchURL); 451 } 452 453 return GM_getConfig().getMatchingScripts(testMatchURLs); 454 } 455 456 function appendScriptToPopup(script) { 457 var mi = document.createElement("menuitem"); 458 mi.setAttribute("label", script.name); 459 mi.script = script; 460 mi.setAttribute("type", "checkbox"); 461 mi.setAttribute("checked", script.enabled.toString()); 462 popup.insertBefore(mi, tail); 463 } 464 433 465 var popup = aEvent.target; 434 var url = getBrowser().contentWindow.document.location.href;466 var tail = document.getElementById("gm-status-no-scripts-sep"); 435 467 436 468 // set the enabled/disabled state … … 439 471 // remove all the scripts from the list 440 472 for (var i = popup.childNodes.length - 1; i >= 0; i--) { 441 if (popup.childNodes[i]. hasAttribute("value")) {473 if (popup.childNodes[i].script) { 442 474 popup.removeChild(popup.childNodes[i]); 443 475 } 444 476 } 445 477 446 var foundInjectedScript = false; 478 var urls = uniq( urlsOfAllFrames( getBrowser().contentWindow )); 479 var runsOnTop = scriptsMatching( [urls.shift()] ); // first url = top window 480 var runsFramed = scriptsMatching( urls ); // remainder are all its subframes 481 482 // drop all runsFramed scripts already present in runsOnTop 483 for (var i = 0; i < runsOnTop.length; i++) { 484 var j = 0, item = runsOnTop[i]; 485 while (j < runsFramed.length) { 486 if (item === runsFramed[j]) { 487 runsFramed.splice(j, 1); 488 } else { 489 j++; 490 } 491 } 492 } 447 493 448 494 // build the new list of scripts 449 for (var i = 0, script = null; script = config.scripts[i]; i++) { 450 incloop: for (var j = 0; j < script.includes.length; j++) { 451 var pattern = convert2RegExp(script.includes[j]); 452 if (pattern.test(url)) { 453 for (var k = 0; k < script.excludes.length; k++) { 454 pattern = convert2RegExp(script.excludes[k]); 455 if (pattern.test(url)) { 456 break incloop; 457 } 458 } 459 460 foundInjectedScript = true; 461 462 var mi = document.createElement('menuitem'); 463 mi.setAttribute('label', script.name); 464 mi.setAttribute('value', i); 465 mi.setAttribute('type', 'checkbox'); 466 mi.setAttribute('checked', script.enabled.toString()); 467 468 popup.insertBefore(mi, document.getElementById("gm-status-no-scripts-sep")); 469 470 break incloop; 471 } 472 } 473 } 474 495 if (runsFramed.length) { 496 runsFramed.forEach(appendScriptToPopup); 497 var separator = document.createElement("menuseparator"); 498 separator.setAttribute("value", "hack"); // to get removed in the loop above 499 popup.insertBefore(separator, tail); 500 } 501 runsOnTop.forEach(appendScriptToPopup); 502 503 var foundInjectedScript = !!(runsFramed.length + runsOnTop.length); 475 504 document.getElementById("gm-status-no-scripts").collapsed = foundInjectedScript; 476 } ;505 } 477 506 478 507 /** … … 482 511 function GM_popupClicked(aEvent) { 483 512 if (aEvent.button == 0 || aEvent.button == 2) { 484 var config = new Config(); 485 config.load(); 486 var scriptNum=aEvent.target.value; 487 if (!config.scripts[scriptNum]) return; 488 489 if (aEvent.button == 0) { 490 // left-click: toggle enabled state 491 config.scripts[scriptNum].enabled=!config.scripts[scriptNum].enabled; 492 config.save(); 493 } else { 494 // right-click: open in editor 495 openInEditor(getScriptFile(config.scripts[scriptNum]), 496 document.getElementById("gm-browser-bundle") 497 .getString("editor.prompt")); 498 } 513 var script = aEvent.target.script; 514 if (!script) return; 515 516 if (aEvent.button == 0) // left-click: toggle enabled state 517 script.enabled =! script.enabled; 518 else // right-click: open in editor 519 openInEditor(script); 499 520 500 521 closeMenus(aEvent.target); 501 522 } 502 } ;523 } 503 524 504 525 /** … … 510 531 if (GM_getEnabled()) { 511 532 this.statusImage.src = "chrome://greasemonkey/content/icon_small.png"; 512 this.statusImage.tooltipText = this.bundle.getString( 'tooltip.enabled');533 this.statusImage.tooltipText = this.bundle.getString("tooltip.enabled"); 513 534 } else { 514 535 this.statusImage.src = "chrome://greasemonkey/content/icon_small_disabled.png"; 515 this.statusImage.tooltipText = this.bundle.getString( 'tooltip.disabled');536 this.statusImage.tooltipText = this.bundle.getString("tooltip.disabled"); 516 537 } 517 538 … … 524 545 .getService(Components.interfaces.nsIWindowWatcher); 525 546 windowWatcher.openWindow( 526 window, 'chrome://greasemonkey/content/newscript.xul', null,527 'chrome,dependent,centerscreen,resizable,dialog', null547 window, "chrome://greasemonkey/content/newscript.xul", null, 548 "chrome,dependent,centerscreen,resizable,dialog", null 528 549 ); 529 550 }; … … 608 629 609 630 // necessary for webProgressListener implementation 610 GM_BrowserUI.onProgressChange = function(webProgress,b,c,d,e,f){} 611 GM_BrowserUI.onStateChange = function(a,b,c,d){} 612 GM_BrowserUI.onStatusChange = function(a,b,c,d){} 613 GM_BrowserUI.onSecurityChange = function(a,b,c){} 614 GM_BrowserUI.onLinkIconAvailable = function(a){} 631 GM_BrowserUI.onProgressChange = function(webProgress,b,c,d,e,f){}; 632 GM_BrowserUI.onStateChange = function(a,b,c,d){}; 633 GM_BrowserUI.onStatusChange = function(a,b,c,d){}; 634 GM_BrowserUI.onSecurityChange = function(a,b,c){}; 635 GM_BrowserUI.onLinkIconAvailable = function(a){}; 615 636 616 637 GM_BrowserUI.showHorrayMessage = function(scriptName) { … … 632 653 633 654 GM_BrowserUI.manageMenuItemClicked = function() { 634 window.openDialog("chrome://greasemonkey/content/manage.xul", "manager", 635 "resizable,centerscreen,modal"); 655 GM_openUserScriptManager(); 636 656 }; 637 657 branches/compiler/chrome/chromeFiles/content/browser.xul
r590 r740 11 11 <script type="application/x-javascript" src="chrome://greasemonkey/content/prefmanager.js" /> 12 12 <script type="application/x-javascript" src="chrome://greasemonkey/content/convert2RegExp.js" /> 13 <script type="application/x-javascript" src="chrome://greasemonkey/content/versioning.js" />14 13 <script type="application/x-javascript" src="chrome://greasemonkey/content/menucommander.js" /> 15 14 <script type="application/x-javascript" src="chrome://greasemonkey/content/xmlhttprequester.js" /> … … 17 16 <script type="application/x-javascript" src="chrome://greasemonkey/content/dochandler.js" /> 18 17 <script type="application/x-javascript" src="chrome://greasemonkey/content/scriptdownloader.js" /> 19 <script type="application/x-javascript" src="chrome://greasemonkey/content/config.js" />20 18 <script type="application/x-javascript" src="chrome://greasemonkey/content/browser.js" /> 21 19 <script type="application/x-javascript" src="chrome://greasemonkey/content/accelimation.js" /> branches/compiler/chrome/chromeFiles/content/config.js
