author Magnus Melin <>
Wed, 01 Jul 2020 16:15:43 +0300
changeset 39007 1aa86015cd87b30709412551835bf902025cd7d1
parent 22198 b924dcfdae951baca8c5250eb4c6e4e0ee1c677d
permissions -rw-r--r--
Bug 1648802 - Replace Thunderbird uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals.. r=sg compare # NS_LITERAL_CSTRING("foo") -> "foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\("([^\)]+)"\)/"\1"_ns/g' {} \; # NS_LITERAL_STRING("foo") -> u"foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\("([^\)]+)"\)/u"\1"_ns/g' {} \; + manual replacements at least in mailnews/imap/src/nsImapService.cpp mailnews/local/src/nsPop3Sink.cpp mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp mailnews/base/test/TestMsgStripRE.cpp mailnews/base/util/nsMsgIncomingServer.cpp mailnews/base/util/nsMsgDBFolder.cpp mailnews/mime/src/mimemult.cpp mailnews/mime/src/mimethtm.cpp mailnews/compose/src/nsMsgCompose.cpp mailnews/import/text/src/nsTextImport.cpp mailnews/import/outlook/src/nsOutlookMail.cpp mailnews/import/winlivemail/nsWMUtils.cpp mailnews/import/becky/src/nsBeckyUtils.cpp mailnews/extensions/smime/src/nsCertPicker.cpp calendar/base/backend/libical/calUtils.cpp suite/components/shell/nsWindowsShellService.cpp mail/components/search/nsMailWinSearchHelper.cpp + clang-format

# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# This file needs to stay here even if empty so that mach will work,
# specifically commands like mach file-info.