Index: firefox-extension/Makefile.am
===================================================================
--- firefox-extension/Makefile.am.orig	2011-07-01 11:34:19.352000149 -0600
+++ firefox-extension/Makefile.am	2011-07-01 11:34:34.479000149 -0600
@@ -1,6 +1,6 @@
 
 PROJECT = beagle
-VERSION = 1.1.0
+VERSION = 1.1.2
 
 INSTALL_RDF = install.rdf
 INSTALL_RDF_IN = $(INSTALL_RDF).in
@@ -46,6 +46,10 @@ XPI_FILES = 			\
 	chrome/locale/en-US/beagle.dtd		\
 	chrome/locale/en-US/beagle.properties	\
 	\
+	chrome/locale/sv-SE/contents.rdf	\
+	chrome/locale/sv-SE/beagle.dtd		\
+	chrome/locale/sv-SE/beagle.properties	\
+	\
 	chrome/locale/zh-CN/contents.rdf	\
 	chrome/locale/zh-CN/beagle.dtd		\
 	chrome/locale/zh-CN/beagle.properties	\
Index: firefox-extension/Makefile.in
===================================================================
--- firefox-extension/Makefile.in	2008-06-12 10:10:30.000000000 -0600
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,494 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-target_triplet = @target@
-subdir = firefox-extension
-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
-	$(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-	$(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ALL_LINGUAS = @ALL_LINGUAS@
-AMTAR = @AMTAR@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AVAHI_SHARP_CFLAGS = @AVAHI_SHARP_CFLAGS@
-AVAHI_SHARP_LIBS = @AVAHI_SHARP_LIBS@
-AWK = @AWK@
-BASH = @BASH@
-BEAGLED_CFLAGS = @BEAGLED_CFLAGS@
-BEAGLED_LIBS = @BEAGLED_LIBS@
-BEAGLE_DEFINES = @BEAGLE_DEFINES@
-BEAGLE_UI_CFLAGS = @BEAGLE_UI_CFLAGS@
-BEAGLE_UI_LIBS = @BEAGLE_UI_LIBS@
-CATALOGS = @CATALOGS@
-CATOBJEXT = @CATOBJEXT@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DATADIRNAME = @DATADIRNAME@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DESKTOP_LAUNCH = @DESKTOP_LAUNCH@
-DSYMUTIL = @DSYMUTIL@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EPIPHANY_EXTENSIONS_DIR = @EPIPHANY_EXTENSIONS_DIR@
-EPIPHANY_EXTENSION_RULE = @EPIPHANY_EXTENSION_RULE@
-EPIPHANY_HAS_PYTHON = @EPIPHANY_HAS_PYTHON@
-EPIPHANY_MAJOR = @EPIPHANY_MAJOR@
-EVO_CFLAGS = @EVO_CFLAGS@
-EVO_LIBDIR = @EVO_LIBDIR@
-EVO_LIBS = @EVO_LIBS@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GAC_PREFIX = @GAC_PREFIX@
-GALAGO_CFLAGS = @GALAGO_CFLAGS@
-GALAGO_LIBS = @GALAGO_LIBS@
-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
-GMOFILES = @GMOFILES@
-GMSGFMT = @GMSGFMT@
-GREP = @GREP@
-GSF_SHARP_CFLAGS = @GSF_SHARP_CFLAGS@
-GSF_SHARP_LIBS = @GSF_SHARP_LIBS@
-GTK_BINARY_VERSION = @GTK_BINARY_VERSION@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-INSTOBJEXT = @INSTOBJEXT@
-INTLLIBS = @INTLLIBS@
-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
-INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
-INTLTOOL_MERGE = @INTLTOOL_MERGE@
-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
-INTLTOOL_PERL = @INTLTOOL_PERL@
-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
-INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
-KDE_CONFIG = @KDE_CONFIG@
-KDE_PREFIX = @KDE_PREFIX@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIBTRAYICON_CFLAGS = @LIBTRAYICON_CFLAGS@
-LIBTRAYICON_LIBS = @LIBTRAYICON_LIBS@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MCS = @MCS@
-MDASSEMBLER = @MDASSEMBLER@
-MKDIR_P = @MKDIR_P@
-MKINSTALLDIRS = @MKINSTALLDIRS@
-MONO = @MONO@
-MONODOCER = @MONODOCER@
-MONO_CFLAGS = @MONO_CFLAGS@
-MONO_LIBS = @MONO_LIBS@
-MSGFMT = @MSGFMT@
-MSGFMT_OPTS = @MSGFMT_OPTS@
-MSGMERGE = @MSGMERGE@
-NDESK_DBUS_CFLAGS = @NDESK_DBUS_CFLAGS@
-NDESK_DBUS_GLIB_CFLAGS = @NDESK_DBUS_GLIB_CFLAGS@
-NDESK_DBUS_GLIB_LIBS = @NDESK_DBUS_GLIB_LIBS@
-NDESK_DBUS_LIBS = @NDESK_DBUS_LIBS@
-NMEDIT = @NMEDIT@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-POFILES = @POFILES@
-POSUB = @POSUB@
-PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
-PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
-QYOTO_ASSEMBLY = @QYOTO_ASSEMBLY@
-QYOTO_CFLAGS = @QYOTO_CFLAGS@
-QYOTO_LIBS = @QYOTO_LIBS@
-RANLIB = @RANLIB@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHARPZIPLIB_LIBS = @SHARPZIPLIB_LIBS@
-SHELL = @SHELL@
-STRIP = @STRIP@
-SYSTEMINFO_GLUE_X_LIBS = @SYSTEMINFO_GLUE_X_LIBS@
-TAGLIB_SHARP_CFLAGS = @TAGLIB_SHARP_CFLAGS@
-TAGLIB_SHARP_LIBS = @TAGLIB_SHARP_LIBS@
-UIGLUE_CFLAGS = @UIGLUE_CFLAGS@
-UIGLUE_LIBS = @UIGLUE_LIBS@
-USE_NLS = @USE_NLS@
-VERSION = 1.1.0
-WV1_CFLAGS = @WV1_CFLAGS@
-WV1_LIBS = @WV1_LIBS@
-XDG_OPEN = @XDG_OPEN@
-XGETTEXT = @XGETTEXT@
-XMKMF = @XMKMF@
-X_CFLAGS = @X_CFLAGS@
-X_EXTRA_LIBS = @X_EXTRA_LIBS@
-X_LIBS = @X_LIBS@
-X_PRE_LIBS = @X_PRE_LIBS@
-ZIP = @ZIP@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-PROJECT = beagle
-INSTALL_RDF = install.rdf
-INSTALL_RDF_IN = $(INSTALL_RDF).in
-VERSION_SED = sed -e "s|\@VERSION\@|$(VERSION)|g"
-XPI_FILES = \
-	chrome.manifest		\
-	install.rdf		\
-	\
-	chrome/content/contents.rdf		\
-	chrome/content/beagleOverlay.js		\
-	chrome/content/beagleOverlay.xul	\
-	chrome/content/beaglePrefs.js		\
-	chrome/content/beaglePrefs.xul		\
-	chrome/content/beagleAddFilter.xul	\
-	chrome/content/beagleAddFilter.js	\
-	chrome/content/beagleSearch.js		\
-	chrome/content/indexLink.xul		\
-	chrome/content/indexLink.js		\
-	chrome/content/indexBookmark.js		\
-	chrome/content/indexBookmark3.js		\
-	chrome/content/md5.js			\
-	chrome/content/utils.js			\
-	chrome/content/i18n.js			\
-	chrome/content/json.js			\
-	chrome/content/sidebar.xul		\
-	\
-	chrome/content/jslib/jslib.js		\
-	chrome/content/jslib/modules.js		\
-	chrome/content/jslib/debug/debug.js	\
-	chrome/content/jslib/io/dir.js		\
-	chrome/content/jslib/io/dirUtils.js	\
-	chrome/content/jslib/io/file.js		\
-	chrome/content/jslib/io/fileUtils.js	\
-	chrome/content/jslib/io/filesystem.js	\
-	\
-	chrome/locale/en-US/contents.rdf	\
-	chrome/locale/en-US/beagle.dtd		\
-	chrome/locale/en-US/beagle.properties	\
-	\
-	chrome/locale/zh-CN/contents.rdf	\
-	chrome/locale/zh-CN/beagle.dtd		\
-	chrome/locale/zh-CN/beagle.properties	\
-	\
-	chrome/skin/classic/contents.rdf	\
-	chrome/skin/classic/beagle-big.png	\
-	chrome/skin/classic/beagle-disabled.png	\
-	chrome/skin/classic/beagle-error.png	\
-	chrome/skin/classic/beagle.png		\
-	chrome/skin/classic/overlay.css		\
-	chrome/skin/classic/sidebar.css
-
-EXTRA_DIST = \
-	$(XPI_FILES)		\
-	$(INSTALL_RDF_IN)
-
-CLEANFILES = \
-	$(PROJECT).xpi		\
-	$(INSTALL_RDF)
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-		&& exit 0; \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  firefox-extension/Makefile'; \
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  firefox-extension/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	@case '$?' in \
-	  *config.status*) \
-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-	  *) \
-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-	esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
-	-rm -f *.lo
-
-clean-libtool:
-	-rm -rf .libs _libs
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	list='$(DISTFILES)'; \
-	  dist_files=`for file in $$list; do echo $$file; done | \
-	  sed -e "s|^$$srcdirstrip/||;t" \
-	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-	case $$dist_files in \
-	  */*) $(MKDIR_P) `echo "$$dist_files" | \
-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-			   sort -u` ;; \
-	esac; \
-	for file in $$dist_files; do \
-	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-	  if test -d $$d/$$file; then \
-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
-	    fi; \
-	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
-	  else \
-	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
-	    || exit 1; \
-	  fi; \
-	done
-check-am: all-am
-check: check-am
-all-am: Makefile
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	  `test -z '$(STRIP)' || \
-	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-	-rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-	-rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-	distclean distclean-generic distclean-libtool distdir dvi \
-	dvi-am html html-am info info-am install install-am \
-	install-data install-data-am install-dvi install-dvi-am \
-	install-exec install-exec-am install-html install-html-am \
-	install-info install-info-am install-man install-pdf \
-	install-pdf-am install-ps install-ps-am install-strip \
-	installcheck installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-generic \
-	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
-
-
-$(INSTALL_RDF) : $(INSTALL_RDF_IN)
-	$(VERSION_SED) < $(srcdir)/$(INSTALL_RDF_IN) > $@
-
-all: $(PROJECT).xpi
-
-$(PROJECT).xpi: $(XPI_FILES)
-	zip -q9 $@ $^
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
Index: firefox-extension/chrome.manifest
===================================================================
--- firefox-extension/chrome.manifest.orig	2007-11-26 18:49:59.000000000 -0700
+++ firefox-extension/chrome.manifest	2011-07-01 11:34:34.480000149 -0600
@@ -1,5 +1,6 @@
 content beagle  chrome/content/
 locale beagle en-US chrome/locale/en-US/
+locale beagle sv-SE chrome/locale/sv-SE/
 locale beagle zh-CN chrome/locale/zh-CN/
 skin   beagle classic/1.0 chrome/skin/classic/
 overlay chrome://browser/content/browser.xul chrome://beagle/content/beagleOverlay.xul
Index: firefox-extension/chrome/content/beagleOverlay.js
===================================================================
--- firefox-extension/chrome/content/beagleOverlay.js.orig	2008-06-11 23:41:19.000000000 -0600
+++ firefox-extension/chrome/content/beagleOverlay.js	2011-07-01 11:34:34.480000149 -0600
@@ -254,12 +254,19 @@ var beagle = {
     {
 
         var prefObject = this.pref.load();
-        
+
+	// Don't index any of the custom URLs; only http[s]:// is good for browsing history
+	if (page.location.protocol != "http:" && page.location.protocol != "https:")
+	{
+	    return false;
+	}
+
         //check https
         if (page.location.protocol == "https:" && !prefObject['beagle.security.active'])
         {
             return false;
         }
+
         var lists = ['beagle.exclude.list','beagle.include.list'];
         var flags = [false,false];
         for(var j = 0; j < 2; j++)
@@ -427,10 +434,6 @@ var beagle = {
 
 	// Tokenize the url
 	var loc = page.location;
-	if (loc.protocol == "javascript:") {
-		log("skipping javascript..");
-		return;
-	}
 	var url_tokenized = loc.host + " " + loc.port + " " + loc.pathname + " " + loc.hash + " " + loc.search;
 	url_tokenized = url_tokenized.replace(/\./g, " ").replace(/\//g, " ").replace(/&/g, " ").replace (/\+/g, " ").replace (/=/g, " ").replace(/%../g, " ");
 	meta.push("t:beagle:inuri=" + url_tokenized);
Index: firefox-extension/chrome/content/beaglePrefs.js
===================================================================
--- firefox-extension/chrome/content/beaglePrefs.js.orig	2007-11-26 18:49:59.000000000 -0700
+++ firefox-extension/chrome/content/beaglePrefs.js	2011-07-01 11:34:34.487000149 -0600
@@ -4,7 +4,7 @@
  */
 
 // Initiate a new preference instance.
-var gPrefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
+_prefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
 
 var beaglePref = {
    
@@ -31,14 +31,14 @@ var beaglePref = {
     //functions used to get/set pref
     func_factory:{
         'get':{
-            'bool': Function.bind(gPrefService.getBoolPref,gPrefService),
-            'int': Function.bind(gPrefService.getIntPref,gPrefService),
-            'string' : Function.bind(gPrefService.getCharPref,gPrefService)
+            'bool': Function.bind(_prefService.getBoolPref,_prefService),
+            'int': Function.bind(_prefService.getIntPref,_prefService),
+            'string' : Function.bind(_prefService.getCharPref,_prefService)
         },
         'set':{
-            'bool': Function.bind(gPrefService.setBoolPref,gPrefService),
-            'int' : Function.bind(gPrefService.setIntPref,gPrefService),
-            'string' : Function.bind(gPrefService.setCharPref,gPrefService)
+            'bool': Function.bind(_prefService.setBoolPref,_prefService),
+            'int' : Function.bind(_prefService.setIntPref,_prefService),
+            'string' : Function.bind(_prefService.setCharPref,_prefService)
         }
     },
 
@@ -320,6 +320,6 @@ var beaglePref = {
             log("first run import error");
             log(ex);
         }
-    },
+    }
 }
 
Index: firefox-extension/chrome/content/jslib/io/dir.js
===================================================================
--- firefox-extension/chrome/content/jslib/io/dir.js.orig	2007-11-26 18:49:58.000000000 -0700
+++ firefox-extension/chrome/content/jslib/io/dir.js	2011-07-01 11:34:34.530000149 -0600
@@ -221,7 +221,7 @@ function() {
   return help;
 });
 
-jslibDebug('*** load: '+JS_DIR_FILE+' OK');
+//jslibDebug('*** load: '+JS_DIR_FILE+' OK');
 
 } else {
     dump("JSLIB library not loaded:\n"                                  +
Index: firefox-extension/chrome/content/jslib/io/dirUtils.js
===================================================================
--- firefox-extension/chrome/content/jslib/io/dirUtils.js.orig	2007-11-26 18:49:58.000000000 -0700
+++ firefox-extension/chrome/content/jslib/io/dirUtils.js	2011-07-01 11:34:34.530000149 -0600
@@ -173,7 +173,7 @@ get help() {
 
 }; //END CLASS 
 
-jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK');
+//jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK');
 
 } // END BLOCK JS_LIB_LOADED CHECK
 
Index: firefox-extension/chrome/content/jslib/io/file.js
===================================================================
--- firefox-extension/chrome/content/jslib/io/file.js.orig	2007-11-26 18:49:58.000000000 -0700
+++ firefox-extension/chrome/content/jslib/io/file.js	2011-07-01 11:34:34.538000149 -0600
@@ -758,7 +758,7 @@ function ()
   return help;
 })
 
-jslibDebug('*** load: '+JS_FILE_FILE+' OK');
+//jslibDebug('*** load: '+JS_FILE_FILE+' OK');
 
 } // END BLOCK JS_LIB_LOADED CHECK
 
Index: firefox-extension/chrome/content/jslib/io/fileUtils.js
===================================================================
--- firefox-extension/chrome/content/jslib/io/fileUtils.js.orig	2007-11-26 18:49:58.000000000 -0700
+++ firefox-extension/chrome/content/jslib/io/fileUtils.js	2011-07-01 11:34:34.539000149 -0600
@@ -584,7 +584,7 @@
   
 };
   
-jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK');
+//jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK');
   
 } // END BLOCK JS_LIB_LOADED CHECK
   
Index: firefox-extension/chrome/locale/sv-SE/beagle.dtd
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ firefox-extension/chrome/locale/sv-SE/beagle.dtd	2011-07-01 11:34:34.577000148 -0600
@@ -0,0 +1,42 @@
+<!ENTITY beagle.context.search.link.label           "Hitta referenser till denna länk">
+<!ENTITY beagle.context.search.page.label           "Hitta referenser till denna sida">
+
+<!ENTITY beagle.pref.label                          "Inställningar för Beagle">
+<!ENTITY beagle.pref.security.active.label          "Indexera sidor med säkert innehåll">
+<!ENTITY beagle.pref.bookmark.active.label          "Indexera bokmärken när fönstret stängs">
+<!ENTITY beagle.pref.prompt.keywords.active.label   "Fråga efter nyckelord när indexering vid behov">
+<!ENTITY beagle.pref.default.action.label           "Standardåtgärd">
+<!ENTITY beagle.pref.default.action.tooltip         "Vad göra när URL:en inte matchar någon regel">
+<!ENTITY beagle.pref.conflict.action.label          "Konfliktåtgärd">
+<!ENTITY beagle.pref.conflict.action.tooltip        "Vad göra när URL:en matchar båda reglerna i inkludering- och exkluderingslistan">
+<!ENTITY beagle.pref.action.index.label             "Index">
+<!ENTITY beagle.pref.action.noindex.label           "Inget index">
+<!ENTITY beagle.pref.groupbox.general.label         "Allmänt">
+<!ENTITY beagle.pref.groupbox.include.label         "Inkludera">
+<!ENTITY beagle.pref.groupbox.exclude.label         "Exkludera">
+<!ENTITY beagle.pref.filter.name.label              "Namn">
+<!ENTITY beagle.pref.filter.pattern.label           "Mönster">
+<!ENTITY beagle.pref.filter.patterntype.label       "Mönstertyp">
+<!ENTITY beagle.pref.filter.add.label		        "Lägg till">
+<!ENTITY beagle.pref.filter.remove.label            "Ta bort">
+<!ENTITY beagle.pref.filter.add.dlg.title           "Lägg till regel">
+<!ENTITY beagle.pref.help.label                     "Hjälp">
+<!ENTITY beagle.pref.save.label                     "Spara">
+<!ENTITY beagle.pref.cancel.label                   "Avbryt">
+
+<!ENTITY beagle.run.index.this.label                "Indexera denna sida">
+<!ENTITY beagle.run.always.index.label              "Indexera alltid denna webbplats">
+<!ENTITY beagle.run.never.index.label               "Indexera aldrig denna webbplats">
+<!ENTITY beagle.run.preferences.label               "Inställningar">
+<!ENTITY beagle.run.context.menu.label              "Beagle">
+<!ENTITY beagle.run.index.link.label                "Indexera denna länk">
+<!ENTITY beagle.run.index.image.label               "Indexera denna bild">
+<!ENTITY beagle.index.link.start.label              "Starta">
+<!ENTITY beagle.index.link.stop.label               "Stoppa">
+
+<!ENTITY beagle.bookmark.index.modified.label       "Indexera ändrade bokmärken">
+
+<!ENTITY beagle.sidebar.title "Sökhistorik för Beagle">
+<!ENTITY beagle.sidebar.commandkey "B">
+<!ENTITY beagle.sidebar.modifierskey "shift accel">
+
Index: firefox-extension/chrome/locale/sv-SE/beagle.properties
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ firefox-extension/chrome/locale/sv-SE/beagle.properties	2011-07-01 11:34:34.577000148 -0600
@@ -0,0 +1,22 @@
+beagle_context_search_text=Sök efter "%S"
+beagle_tooltip_actived=Beagles automatiska indexering är aktiv. Klicka för att inaktivera.
+beagle_tooltip_disabled=Beagles automatiska indexering är inaktiv. Klicka för att aktivera.
+beagle_tooltip_error=Indexeringsfel i Beagle: %S
+beagle_not_found=beagle hittades inte
+beagle_run_error=körfel för beagle
+beagle_check_env_error="%S" är inte nåbar. Vanligtvis behöver beagled vara igång för att denna utökning ska fungera. Om du har beagled med en annan BEAGLE_HOME, ställ in variabeln beagle.storage.directory i about:config.
+beagle_write_error_confirm=Misslyckades med att skriva innehåll/metadata.\n Vill du inaktivera beagle nu?
+beagle_statuslabel_indexing=beagle indexerar %S
+beagle_index_link_connect=Ansluter ... %S
+beagle_index_link_start=Läser in ... %S
+beagle_index_link_progress=Överför data (%S) %S
+beagle_index_link_saving=Sparar ... %S
+beagle_index_link_stop=Stoppad
+beagle_index_link_invalid_url=Ogiltig URL
+beagle_index_link_http_403=Åtkomst nekad (403 Forbidden)
+beagle_index_link_http_404=Filen hittades inte (404 Not Found)
+beagle_index_link_http_500=500 Internt serverfel
+beagle_prompt_keywords_title=Nyckelord
+beagle_prompt_keywords_text=Extra nyckelord att indexera
+beagle_index_bookmark_finish=%S bokmärken har indexerats!
+beagle_quick_add_rule_error=Fel! Hittade inte ett värdnamn för denna sida!
Index: firefox-extension/chrome/locale/sv-SE/contents.rdf
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ firefox-extension/chrome/locale/sv-SE/contents.rdf	2011-07-01 11:34:34.584000148 -0600
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+<!-- list all the packages being supplied by this jar -->
+<RDF:Seq about="urn:mozilla:locale:root">
+  <RDF:li resource="urn:mozilla:locale:sv-SE" />
+</RDF:Seq>
+
+<!-- locale information -->
+<RDF:Description about="urn:mozilla:locale:sv-SE"
+  chrome:displayName="Svenska(SE)"
+  chrome:author="Daniel Nylander"
+  chrome:name="sv-SE">
+  <chrome:packages>
+    <RDF:Seq about="urn:mozilla:locale:sv-SE:packages">
+      <RDF:li resource="urn:mozilla:locale:sv-SE:beagle" />
+    </RDF:Seq>
+  </chrome:packages>
+</RDF:Description>
+
+<!-- version information -->
+<RDF:Description about="urn:mozilla:locale:sv-SE:beagle"
+  chrome:localeVersion="1.4" />
+
+</RDF:RDF>
Index: firefox-extension/chrome/locale/zh-CN/beagle.dtd
===================================================================
--- firefox-extension/chrome/locale/zh-CN/beagle.dtd.orig	2007-11-26 18:49:58.000000000 -0700
+++ firefox-extension/chrome/locale/zh-CN/beagle.dtd	2011-07-01 11:34:34.585000148 -0600
@@ -31,9 +31,11 @@
 <!ENTITY beagle.run.context.menu.label              "Beagle">
 <!ENTITY beagle.run.index.link.label                "索引链接">
 <!ENTITY beagle.run.index.image.label               "索引图片">
-
 <!ENTITY beagle.index.link.start.label              "开始">
 <!ENTITY beagle.index.link.stop.label               "停止">
 
 <!ENTITY beagle.bookmark.index.modified.label       "索引更改过的书签">
 
+<!ENTITY beagle.sidebar.title "Beagle 搜索历史侧边栏">
+<!ENTITY beagle.sidebar.commandkey "B">
+<!ENTITY beagle.sidebar.modifierskey "shift 键">
Index: firefox-extension/install.rdf
===================================================================
--- firefox-extension/install.rdf	2008-06-12 10:11:12.000000000 -0600
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
-     xmlns:em="http://www.mozilla.org/2004/em-rdf#">
-
-  <Description about="urn:mozilla:install-manifest">
-
-    <em:id>{fda00e13-8c62-4f63-9d19-d168115b11ca}</em:id>
-    <em:name>Beagle Indexer</em:name>
-    <em:version>1.1.0</em:version>
-    <em:description>
-      Index webpages you visit using Beagle.
-    </em:description>
-    <em:creator>Tao Fei (Filia.Tao@gmail.com) </em:creator>
-    <em:contributor>Alex Graveley  (Original Code)</em:contributor>
-    <em:contributor>Abby Coffin (Icon Design)</em:contributor>
-    <em:contributor>Debajyoti Bera (Sidebar)</em:contributor>
-    <em:homepageURL>http://beagle-project.org/Browser_Extension#Firefox_Extension</em:homepageURL>
-    <em:iconURL>chrome://beagle/skin/beagle-big.png</em:iconURL>
-    <em:optionsURL>chrome://beagle/content/beaglePrefs.xul</em:optionsURL>
-
-    <em:targetApplication>
-      <Description>
-        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
-        <em:minVersion>0.8</em:minVersion>
-        <em:maxVersion>3.0.*</em:maxVersion>
-      </Description>
-    </em:targetApplication>
-
-  </Description>
-
-</RDF>
Index: firefox-extension/install.rdf.in
===================================================================
--- firefox-extension/install.rdf.in.orig	2008-04-08 10:55:28.000000000 -0600
+++ firefox-extension/install.rdf.in	2011-07-01 11:34:34.585000148 -0600
@@ -23,7 +23,7 @@
       <Description>
         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
         <em:minVersion>0.8</em:minVersion>
-        <em:maxVersion>3.0.*</em:maxVersion>
+        <em:maxVersion>3.6.*</em:maxVersion>
       </Description>
     </em:targetApplication>
 
