Add credits for Marek
[trojita.git] / docs / masters / trojita.tex
blob85d2682f6b626784ae59ed3d3c53b1e5455b698a
1 % vim: spelllang=en spell textwidth=120
2 \documentclass[11pt,a4paper]{report}
3 \usepackage[utf8]{inputenc}
4 \usepackage[czech,english]{babel}
5 \usepackage{a4wide}
6 \usepackage{listings}
7 \usepackage{longtable}
8 \usepackage{graphicx}
9 \usepackage[left=4cm,top=25mm,bottom=25mm,right=25mm]{geometry}
10 \pagestyle{plain}
11 \usepackage{etoolbox}
12 \usepackage{lmodern}\renewcommand{\ttdefault}{lmvtt}
13 \usepackage[T1]{fontenc}
14 \usepackage{textcomp}
15 \usepackage{hyperref}
16 \usepackage{minted}
17 \usepackage{subfiles}
18 \usepackage{todonotes}
19 \usepackage[numbers]{natbib}
20 \usepackage{pdfpages}
21 \usepackage{dirtree}
22 \usepackage{attrib}
24 \newcommand{\secref}[1]{section~\ref{#1} on page~\pageref{#1}}
26 \newenvironment{trojitabehavior}{\begin{quote}\itshape}{\end{quote}}
29 \hyphenation{URL-AUTH}
31 \begin{document}
33 % this looks much better in print
34 %\usemintedstyle{bw}
36 \title{IMAP extension for mobile devices}
38 \author{Bc. Jan Kundrát}
40 \date{July 2012}
42 \begin{titlepage}
43 \begin{center}
44 \large
46 Charles University in Prague
48 \medskip
50 Faculty of Mathematics and Physics
52 \vfill
54 {\bf\Large MASTER THESIS}
56 \vfill
58 \centerline{\mbox{\includegraphics[width=60mm]{mff-logo.eps}}}
60 \vfill
61 \vspace{5mm}
63 {\LARGE Bc. Jan Kundrát}
65 \vspace{15mm}
67 {\LARGE\bfseries IMAP extension for mobile devices}
69 \vfill
71 Department of Software Engineering
73 \vfill
75 \begin{tabular}{rl}
77 Supervisor of the master thesis: & RNDr.~Ing.~Jiří~Peterka \\
78 \noalign{\vspace{2mm}}
79 Study programme: & Informatics \\
80 \noalign{\vspace{2mm}}
81 Specialization: & Software Engineering \\
82 \end{tabular}
84 \vfill
86 Prague 2012
88 \end{center}
89 \end{titlepage}
91 \section*{Acknowledgement}
92 I would like to thank my supervisor, RNDr. Ing. Jiří Peterka, for his valuable advices and numerous consultations.
94 Many experts on various IMAP-related mailing lists, especially Timo Sirainen, Bron Gondwana, Arnt Gulbrandsen, Mark
95 Crispin, Alexey Melnikov, Dave Cridland and Adrien de Croy, have shared explanations about corner cases concerning
96 various protocol features and provided feedback on my Internet-Draft proposals --- thanks for that.
98 Portions of my work on Trojitá were sponsored by KWest GmbH. and OpenMFG LLC, dba xTuple. Thanks to Sebastian Wendt and
99 John Rogelstad for making this collaboration possible.
101 Adam Kudrna kindly corrected many mistakes in this text; the remaining errors, however, are mine.
103 Finally, special thanks belong to Ms.~Julie Růžičková for her willingness to listen whenever I had something to
104 discuss, patient support when I was debugging intricate bugs and tremendous amount of empathy throughout the time, as
105 well as to my parents for supporting my studies.
106 \newpage
108 % legal
109 \vglue 0pt plus 1fill
111 \noindent
112 I declare that I carried out this master thesis independently, and only with the cited sources, literature and other
113 professional sources.
115 \medskip\noindent
116 I understand that my work relates to the rights and obligations under the Act No.~121/2000 Coll., the Copyright Act, as
117 amended, in particular the fact that the Charles University in Prague has the right to conclude a license agreement on
118 the use of this work as a school work pursuant to Section 60 paragraph 1 of the Copyright Act.
120 \vspace{30mm}
122 \noindent Prague, July 27, 2012 \hspace{\fill}Jan Kundrát\\
124 \vspace{20mm}
125 \newpage
128 \vbox to 0.5\vsize{
129 \setlength\parindent{0mm}
130 \setlength\parskip{5mm}
132 Název práce: IMAP extension for mobile devices \\
133 Autor: Jan Kundrát \\
134 Katedra: Katedra softwarového inženýrství \\
135 Vedoucí diplomové práce: RNDr. Ing. Jiří Peterka \\
137 Abstrakt:
139 Masové rozšíření chytrých telefonů, ke~kterému došlo v~posledních letech, s~sebou přineslo i zvýšený zájem o mobilní
140 přístup k~elektronické poště. Protokol IMAP prošel od svého vzniku mnoha úpravami; objevila se rozšíření přidávající
141 nové funkce, ale i modifikace optimalizující komunikaci přes potenciálně nespolehlivou síť. Tato práce si klade za cíl
142 provést analýzu stávajících rozšíření protokolu IMAP z~pohledu jejich použitelnosti a přínosu využití v~mobilních
143 zařízeních. Obsahuje tři nově vytvořené návrhy rozšíření, z~nichž každé obohacuje protokol IMAP z~jiného směru.
144 Součástí práce je též popis, jak byla tato rozšíření zahrnuta do programu Trojitá, autorova mobilního e-mailového
145 programu šířeného jako svobodný software.
147 Klíčová slova: IMAP, e-mail, rozšíření, mobilní přístup, optimalizace, datový tok, Lemonade, Trojitá
149 \vss}\nobreak\vbox to 0.49\vsize{
150 \setlength\parindent{0mm}
151 \setlength\parskip{5mm}
153 Title: IMAP extension for mobile devices \\
154 Author: Jan Kundrát \\
155 Department: Department of Software Engineering \\
156 Supervisor: RNDr. Ing. Jiří Peterka \\
158 Abstract:
160 With the mass availability of smartphones, mobile access to e-mail is gaining importance. Over the years, the IMAP
161 protocol has been extended with many features ranging from extensions adding new functionality to those improving
162 efficiency over an unreliable network. This thesis evaluates the available extensions based on their suitability for
163 use in the context of a mobile client. Three new extensions have been developed, each improving the protocol in a
164 distinct way. The thesis also discusses how most of these extensions were implemented in Trojitá, the author's free
165 software open source IMAP e-mail client.
167 Keywords: IMAP, e-mail, extensions, mobile access, optimisation, data traffic, Lemonade, Trojitá
169 \vss}
170 \newpage
172 \setcounter{tocdepth}{3}
173 \tableofcontents
175 \subfile{intro}
177 %\part{The IMAP Standard}
178 \subfile{imap-protocol}
179 \subfile{extensions}
180 \subfile{proposed-drafts}
181 \subfile{mobile-imap}
183 %\part{Inside Trojitá}
184 \subfile{architecture}
185 \subfile{conclusion}
187 %\part{Additional Resources}
188 \appendix
189 \subfile{draft-manuscripts}
190 \subfile{acknowledgement}
191 \subfile{source-cd}
193 \bibliography{rfc,trojita}
194 \bibliographystyle{unsrtnat}
196 \end{document}