~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to debian/patches/65_composer_charset.patch

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin, Fabien Tassin
  • Date: 2007-12-02 19:27:42 UTC
  • Revision ID: james.westby@ubuntu.com-20071202192742-llg1mzf5cg021i7y
Tags: 1.1.6+nobinonly-0ubuntu1
[ Fabien Tassin ]
* Remove unused patches:
  - drop debian/patches/20_visibility.dpatch,
    debian/patches/28_ppc64_build.dpatch,
    debian/patches/38_unsupported_arch_build.dpatch,
    debian/patches/80_calendar_locale.dpatch,
    debian/patches/82_prefs_ubuntu.dpatch
* Migrate from dpatch to quilt
  - update debian/control: build-depends on quilt
  - debian/rules: update patching rules
  - drop debian/patches/80_config.dpatch: done by quilt
  - rename and update debian/patches/00list => debian/patches/series
  - rename and update debian/patches/*.dpatch => debian/patches/*.patch
* Fix unclean distclean leaving dist/ behind
  - update debian/patches/60_distclean.patch
* Migrate to CDBS
  - update debian/rules and debian/control
* Revert the Iceape unbranding to Seamonkey
  - drop debian/patches/80_app_name.patch and update
    debian/patches/series
  - update debian/patches/82_prefs.patch and
    debian/patches/99_configure.patch
  - drop iceape's icons:
    - update debian/rules
    - drop debian/extras/iceape* and debian/extras/Throbber*
    - drop debian/extras/license.txt
    - update wording
    - update debian/copyright  
  - rename packages to seamonkey-*
    - update debian/control
    - rename debian/iceape-*.{dirs,install,links,postinst,postrm,preinst}
      to debian/seamonkey-*.{dirs,install,links,postinst,postrm,preinst}
    - rename debian/iceape-*.{menu,mime,manpages}
      to debian/seamonkey-*.{menu,mime,manpages}
  - rename and update debian/menu_dir/iceape-*.desktop to
    debian/menu_dir/seamonkey-*.desktop
  - rename and update debian/{iceape.cfg,iceaperc,iceape-runner} to
    debian/{seamonkey.cfg,seamonkeyrc,seamonkey-runner}
  - update debian/about_debian.js, debian/base.js and debian/homepagereset.js
* Drop leftovers from calendar
  - drop debian/iceape-calendar.*
  - drop debian/extras/calendar.svg
  - drop debian/menu_dir/iceape-calendar.desktop
  - update debian/control
* Clean-up
  - drop debian/README.source (no longer useful)
  - drop debian/mozconfig (leftover from previous commit)
* Drop debian/patches/81_free_art_improvements.patch (was part of
  the unbranding)
  - update debian/patches/series
* Make seamonkey build at last
  - fix FTBFS with new libnss (since bz399589 landed)
    - add debian/patches/11_bz399589_fix_missing_symbol_with_new_nss.patch
    - update debian/patches/series
  - fix another FTBFS with libnss (caused by bad linking order with libcrmf)
    - add debian/patches/12_fix_ftbfs_with_nss.patch
    - update debian/patches/99_configure.patch
    - update debian/patches/series
  - fix bad syntax for --enable-extensions
    - update debian/rules
  - fix FTBFS with dh_install needing DEB_DH_INSTALL_SOURCEDIR
    - update debian/rules
  - fix install of additionnal searchplugins
    - update debian/rules
  - don't install hicolor icons (we don't have any)
    - update debian/seamonkey-browser.install
* Install libnssckbi.so in seamonkey-browser and drop other libnss links
  - update debian/rules and debian/seamonkey-browser.links
* Fix broken chrome.d files and clean-up install rules
  - update debian/rules
  - update debian/seamonkey-browser.{install,dirs}
  - update debian/seamonkey-chatzilla.install
  - update debian/seamonkey-dom-inspector.install
  - update debian/seamonkey-mailnews.install
* Update bug link and README to point Seamonkey toward Ubuntu 
  - update debian/about_debian.js
  - debian/README.Debian
* Fix FTBFS on amd64 (don't depend on arch indep rules for binary
  packages
  - update debian/rules
  - update debian/seamonkey-browser.install
  - update debian/seamonkey-chatzilla.install
  - update debian/seamonkey-dom-inspector.install
  - update debian/seamonkey-mailnews.install
* Update to upstream release 1.1.6 (from 1.1.4)
  - update debian/control
  - Security fixes provided by 1.1.5:
    MFSA 2007-36, MFSA 2007-35, MFSA 2007-34, MFSA 2007-33, MFSA 2007-32,
    MFSA 2007-31, MFSA 2007-30, MFSA 2007-29 and MFSA 2007-28.
* Update diverged patches:
  - update debian/patches/35_theme_switch.patch
  - debian/patches/38_kbsd.patch
  - debian/patches/68_mips_performance.patch
  - debian/patches/99_configure.patch
* Update Maintainer to Ubuntu Mozilla Team
  - update debian/control
* Conflicts/Replaces iceape
  - update debian/control
* Fix nss links not installed where CDBS would have done it
  - update debian/rules
* Remove bin-only files from upstream tarball using debian/remove.binonly.sh.
  Add a nobinonly target in debian/rules to clean up the current tarball,
  preserve logs in mozilla/REMOVED+nobinonly.txt.
  - rename and update debian/remove.nonfree => debian/remove.binonly.sh
  - update debian/rules
* Fix desktop files to make desktop-file-validate happy
  - update debian/menu_dir/*.desktop
* Disable all desktop files except seamonkey.desktop, using the icon
  from branding (instead of the old style Mozilla one)
  - update debian/menu_dir/*.desktop
  - update debian/rules
* Add dummy packages for migration of iceape and mozilla packages:
  mozilla, mozilla-browser, mozilla-dev, mozilla-mailnews, mozilla-chatzilla,
  mozilla-psm, mozilla-dom-inspector, mozilla-js-debugger, mozilla-calendar,
  iceape, iceape-browser, iceape-gnome-support, iceape-dev, iceape-dbg,
  iceape-mailnews, iceape-chatzilla, iceape-calendar and iceape-dom-inspector
  - update debian/control
* Merge DSP settings from previously installed /etc/iceape/iceaperc or
  /etc/mozilla/mozillarc into /etc/seamonkey/seamonkeyrc
  - update debian/seamonkey-browser.preinst
* Remove leftovers from iceape packages
  - add debian/iceape-browser.postrm
  - add debian/iceape-browser.preinst
* Re-install /etc/seamonkey files previously disabled
  - update debian/seamonkey-browser.install
* Add missing 'upgrade' target to preinst script
  - update debian/iceape-browser.preinst
* Exclude CVS stuff when doing nobinonly tarballs
  - update debian/rules
* Fix a recent FTBFS in hardy where gtk+ is no longer bringing
  some X libs in build-deps
  - add debian/patches/13_bz344818_att264996.patch
  - update debian/patches/99_configure.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 editor/ui/composer/content/editor.js |    1 +
 
3
 1 file changed, 1 insertion(+)
 
4
 
 
5
## 65_composer_charset.patch converted from dpatch file initially by Mike Hommey <glandium@debian.org>
 
6
#
 
7
# Align editor character set with meta tag character set at document 
 
8
# creation
 
9
 
 
10
Index: iceape-1.1.4/editor/ui/composer/content/editor.js
 
11
===================================================================
 
12
--- iceape-1.1.4.orig/editor/ui/composer/content/editor.js
 
13
+++ iceape-1.1.4/editor/ui/composer/content/editor.js
 
14
@@ -2494,16 +2494,17 @@
 
15
     if ( prefCharsetString && prefCharsetString != 0)
 
16
     {
 
17
         element = domdoc.createElement("meta");
 
18
         if ( element )
 
19
         {
 
20
           element.setAttribute("http-equiv", "content-type");
 
21
           element.setAttribute("content", "text/html; charset=" + prefCharsetString);
 
22
           headelement.insertBefore( element, headelement.firstChild );
 
23
+          editor.documentCharacterSet = prefCharsetString;
 
24
         }
 
25
     }
 
26
 
 
27
     var node = 0;
 
28
     var listlength = nodelist.length;
 
29
 
 
30
     // let's start by assuming we have an author in case we don't have the pref
 
31
     var authorFound = false;