History log of /packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe61f358ab67cac2aa454a6dd3ea6bbf876e343c 24-Mar-2010 Makoto Onuki <omakoto@google.com> Moved fromUtf8 from TestUtils to Utility.

And cleaned up SimpleIcsWriter.toString().

Change-Id: I383d91256c48be5263c695c8e8dd151d0e95d0a6
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
d673da2868f55f910481e9768bea596db7879816 20-Mar-2010 Marc Blank <mblank@google.com> Don't send null/empty values in SimpleIcsWriter

* Previously, we would send "0", which is just wrong. Better to
send nothing
* Make sure that all tests pass

Bug: 2531679
Change-Id: I01412c6c6f7a2570fafadede75671012b917d25b
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
88a94bca1922615564e70a27bb6ae72bca487c75 16-Mar-2010 Makoto Onuki <omakoto@google.com> Exchange calendar: fixes for the ICS writer.

- Now SimpleIcsWriter does the UTF-8 conversion, and folds lines according
to the number of bytes in UTF-8.
- It now escapes special chars in TEXT values. You can safely put , ; \ or
line breaks. in summary, location, and description.
- Quotes all CN. (leftover from Ibb8f155a)
- Replace "s in CN with 's (rather than removing them)

Bug 2508283
Bug 2515768

Change-Id: Ibdced53ee32bba950608d63f507b11b24eaad7b0
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
fc3fc5d26c1f0196d43974c4dcb27efba0b72174 15-Mar-2010 Makoto Onuki <omakoto@google.com> ICS Writer: Quote common name.

Quote common name (CN) in ATTENDEE per RFC 5545.

Bug 2510783

Change-Id: Ibb8f155a43cbe43886b903472489563242cb6771
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
ff556f7b5f3dd36b6282cbd9acb8d1637f1fb121 11-Mar-2010 Marc Blank <mblank@google.com> Fix #2508283 (Improper wrapping of long text in ics attachments)

* Ignore CR and change LF into backslash + n
* Write unit test for handling of CRLF's
* Rename mLineCount to mColumnCount, which is more appropriate

Bug: 2508283
Change-Id: I8b2081aa474cb07b6cb09383ff6ac58a1dab1bba
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
4577f71f76c94dc9fcb06efd2656970925dd3f6a 27-Feb-2010 Marc Blank <mblank@google.com> Refine meeting invitation emails; include VTIMEZONE

* VTIMEZONE blocks must be sent in our ics files for meeting
invitations that are recurring, as the originator's time zone
is critical in making attendee's calendars accurate
* Created a utility to convert TimeZone to VTIMEZONE data; the
utility successfully generates data (including recurrence rules)
for the entire tzinfo database (the source of TimeZone).
* Updated our ics files to include VTIMEZONE when appropriate and
send DTSTART/DTEND in local time in that case
* Wrote some unit tests, but more are needed

Change-Id: Iccbdd00cd3b2be2da058b344ebacd17ed6fb0e3d
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
1f4b1b3bd179bb24a477d6701058af74010c926c 23-Feb-2010 Marc Blank <mblank@google.com> Fix bugs in SimpleIcsWriter

* Guilty of failing to run the unit tests
* Fix the (obvious) issues

Change-Id: If12e02facce768ca2d410320bea68a2ca2c116c6
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java
18d7222359ac54a5fa788b4a8bb8d58ee16f152b 21-Feb-2010 Marc Blank <mblank@google.com> Send meeting invitations for new/updated Exchange events

* Wrote utility to create an ics file (iCalendar) based on a
CalendarProvider Event. This is a good first pass, but we need
to consider whether to include alarms, etc.
* Use aforementioned utility and new convenience method to send
meeting invitations to attendees of newly created meetings (events)
when they are uploaded to the server via the CalendarSyncAdapter
* Overall, attempted to modify existing provider and rfc822 output
code as little as possible. Rfc822Output is actually very limited
in its capabilities and should be made more robust in future

Change-Id: Ie20b9137df56dc414de6737d05fa40ec9cdf47e0
/packages/apps/Email/src/com/android/exchange/utility/SimpleIcsWriter.java