summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-01 15:05:30 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-02 22:21:33 +0300
commit5241788281e315fc735e5322b3b642486be52c50 (patch)
treed43cd22b9c23018e5d662dfb236747a940442d32 /tools/source
parent7c4415407f2df5460d3667aa9f820865a615f57f (diff)
Kill INetProtocol::Imap and Pop3
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/fsys/urlobj.cxx217
1 files changed, 80 insertions, 137 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 1744d273872a..478a55b33f71 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -152,18 +152,6 @@ using namespace css;
javascript-url = "JAVASCRIPT:" *uric
- ; private (see RFC 2192)
- imap-url = "IMAP://" user [";AUTH=" auth] "@" hostport "/" segment *("/" segment) ["/;UID=" nz_number]
- user = 1*{RFC 2060 <CHAR8> using (escaped / alphanum / "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / "-" / "." / "=" / "_" / "~")}
- auth = {RFC 2060 <atom> using *(escaped / alphanum / "!" / "$" / "&" / "'" / "+" / "," / "-" / "." / "=" / "_" / "~")}
- segment = *(escaped / alphanum / "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / "-" / "." / ":" / "=" / "@" / "_" / "~")
- nz_number = {RFC 2060 <nz_number> using *DIGIT}
-
-
- ; private
- pop3-url = "POP3://" login ["/" ["<" *uric ">"]]
-
-
; RFC 2397
data-url = "DATA:" [mediatype] [";BASE64"] "," *uric
mediatype = [type "/" subtype] *(";" attribute "=" value)
@@ -385,12 +373,6 @@ INetURLObject::getSchemeInfo(INetProtocol eTheScheme)
"javascript", "javascript:", 0, false, false, false, false, false,
false, false, false},
SchemeInfo{
- "imap", "imap://", 143, true, true, true, false, true, true, true,
- false},
- SchemeInfo{
- "pop3", "pop3://", 110, true, true, false, true, true, true, false,
- false},
- SchemeInfo{
"data", "data:", 0, false, false, false, false, false, false, false,
false},
SchemeInfo{
@@ -469,7 +451,6 @@ namespace unnamed_tools_urlobj {
enum
{
PA = INetURLObject::PART_USER_PASSWORD,
- PB = INetURLObject::PART_IMAP_ACHAR,
PC = INetURLObject::PART_VIM,
PD = INetURLObject::PART_FPATH,
PE = INetURLObject::PART_AUTHORITY,
@@ -493,100 +474,100 @@ static sal_uInt32 const aMustEncodeMap[128]
= { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* */ PP,
-/* ! */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
+/* ! */ PA +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
/* " */ PM+PN +PP,
/* # */ PM,
-/* $ */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
+/* $ */ PA +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
/* % */ PM,
-/* & */ PA+PB +PD+PE+PF+PG+PH+PI +PK+PL+PM+PN+PO +PQ+PR+PS,
-/* ' */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
-/* ( */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
-/* ) */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
-/* * */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP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PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
+/* y */ PA +PC+PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
+/* z */ PA +PC+PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ+PR+PS,
/* { */ PM+PN +PP,
/* | */ +PM+PN +PP,
/* } */ PM+PN +PP,
-/* ~ */ PA+PB +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ +PS,
+/* ~ */ PA +PD+PE+PF+PG+PH+PI+PJ+PK+PL+PM+PN+PO+PP+PQ +PS,
0 };
inline bool mustEncode(sal_uInt32 nUTF32, INetURLObject::Part ePart)
@@ -1290,9 +1271,7 @@ bool INetURLObject::setAbsURIRef(OUString const & rTheAbsURIRef,
if (pUserInfoBegin)
{
- Part ePart = m_eScheme == INetProtocol::Imap ?
- PART_IMAP_ACHAR :
- m_eScheme == INetProtocol::Vim ?
+ Part ePart = m_eScheme == INetProtocol::Vim ?
PART_VIM :
PART_USER_PASSWORD;
bool bSupportsPassword = getSchemeInfo().m_bPassword;
@@ -2177,7 +2156,6 @@ INetURLObject::PrefixInfo const * INetURLObject::getPrefix(sal_Unicode const *&
PrefixInfo::INTERNAL },
{ "http:", 0, INetProtocol::Http, PrefixInfo::OFFICIAL },
{ "https:", 0, INetProtocol::Https, PrefixInfo::OFFICIAL },
- { "imap:", 0, INetProtocol::Imap, PrefixInfo::OFFICIAL },
{ "javascript:", 0, INetProtocol::Javascript, PrefixInfo::OFFICIAL },
{ "ldap:", 0, INetProtocol::Ldap, PrefixInfo::OFFICIAL },
{ "macro:", "staroffice.macro:", INetProtocol::Macro,
@@ -2186,8 +2164,6 @@ INetURLObject::PrefixInfo const * INetURLObject::getPrefix(sal_Unicode const *&
{ "news:", 0, INetProtocol::News, PrefixInfo::OFFICIAL },
{ "out:", "staroffice.out:", INetProtocol::Out,
PrefixInfo::INTERNAL },
- { "pop3:", "staroffice.pop3:", INetProtocol::Pop3,
- PrefixInfo::INTERNAL },
{ "private:", "staroffice.private:", INetProtocol::PrivSoffice,
PrefixInfo::INTERNAL },
{ "private:factory/", "staroffice.factory:",
@@ -2219,8 +2195,6 @@ INetURLObject::PrefixInfo const * INetURLObject::getPrefix(sal_Unicode const *&
PrefixInfo::EXTERNAL },
{ "staroffice.out:", "out:", INetProtocol::Out,
PrefixInfo::EXTERNAL },
- { "staroffice.pop3:", "pop3:", INetProtocol::Pop3,
- PrefixInfo::EXTERNAL },
{ "staroffice.private:", "private:", INetProtocol::PrivSoffice,
PrefixInfo::EXTERNAL },
{ "staroffice.searchfolder:", "private:searchfolder:",
@@ -2328,16 +2302,13 @@ bool INetURLObject::setUser(OUString const & rTheUser,
rtl_TextEncoding eCharset)
{
if (
- !getSchemeInfo().m_bUser ||
- (m_eScheme == INetProtocol::Imap && rTheUser.isEmpty())
+ !getSchemeInfo().m_bUser
)
{
return false;
}
OUString aNewUser(encodeText(rTheUser, bOctets,
- m_eScheme == INetProtocol::Imap ?
- PART_IMAP_ACHAR :
m_eScheme == INetProtocol::Vim ?
PART_VIM :
PART_USER_PASSWORD,
@@ -2999,7 +2970,6 @@ bool INetURLObject::parsePath(INetProtocol eScheme,
return false;
case INetProtocol::Ftp:
- case INetProtocol::Imap:
if (pPos < pEnd && *pPos != '/' && *pPos != nFragmentDelimiter)
return false;
while (pPos < pEnd && *pPos != nFragmentDelimiter)
@@ -3161,19 +3131,6 @@ bool INetURLObject::parsePath(INetProtocol eScheme,
done:
break;
- case INetProtocol::Pop3:
- while (pPos < pEnd && *pPos != nFragmentDelimiter)
- {
- EscapeType eEscapeType;
- sal_uInt32 nUTF32 = getUTF32(pPos, pEnd, bOctets,
- '%', eMechanism,
- eCharset, eEscapeType);
- appendUCS4(aTheSynPath, nUTF32, eEscapeType, bOctets,
- PART_MESSAGE_ID_PATH, '%', eCharset,
- true);
- }
- break;
-
case INetProtocol::PrivSoffice:
case INetProtocol::Slot:
case INetProtocol::Hid:
@@ -4090,17 +4047,10 @@ bool INetURLObject::ConcatData(INetProtocol eTheScheme,
bool bUserInfo = false;
if (getSchemeInfo().m_bUser)
{
- if (m_eScheme == INetProtocol::Imap && rTheUser.isEmpty())
- {
- setInvalid();
- return false;
- }
if (!rTheUser.isEmpty())
{
m_aUser.set(m_aAbsURIRef,
encodeText(rTheUser, false,
- m_eScheme == INetProtocol::Imap ?
- PART_IMAP_ACHAR :
m_eScheme == INetProtocol::Vim ?
PART_VIM :
PART_USER_PASSWORD,
@@ -4910,16 +4860,9 @@ OUString INetURLObject::getFSysPath(FSysStyle eStyle,
}
}
-OUString INetURLObject::GetMsgId(DecodeMechanism eMechanism,
- rtl_TextEncoding eCharset) const
+OUString INetURLObject::GetMsgId(DecodeMechanism,
+ rtl_TextEncoding) const
{
- if (m_eScheme != INetProtocol::Pop3)
- return OUString();
- sal_Unicode const * p = m_aAbsURIRef.getStr() + m_aPath.getBegin();
- sal_Unicode const * pEnd = p + m_aPath.getLength();
- for (; p < pEnd; ++p)
- if (*p == '<')
- return decode(p, pEnd, getEscapePrefix(), eMechanism, eCharset);
return OUString();
}