Граф коммитов

115 Коммитов

Автор SHA1 Сообщение Дата
vladimir%pobox.com 3440be6f78 more timezone conversion fixes 2005-01-17 22:06:24 +00:00
vladimir%pobox.com fa42b557a2 Generate a timezone on the icaltimetype if one is specified, and the calDatetime isn't in UTC 2005-01-17 21:51:53 +00:00
mvl%exedo.nl 5ef33596f8 make calIRecurrenceInfo.getNextOccurrence not return occurences with startTime == aStartTime
bug 278149, r=vlad
2005-01-14 21:02:10 +00:00
dmose%mozilla.org a385218b1d Removing DTALARM attrib; it doesn't exist. Not part of the build. 2005-01-12 17:35:20 +00:00
shaver%mozilla.org b22b5765b9 Bugs from CalDAV Calconnect interop.
- Use uppercase property names until 277978 is fixed.
- Don't set empty-string properties, because some servers don't like them.
2005-01-12 01:12:00 +00:00
vladimir%pobox.com 0b8b5b75e9 fix tzid generation 2005-01-10 20:22:48 +00:00
vladimir%pobox.com ebd54aaa90 updated as per mvl's suggestions, also an offset fix 2005-01-10 20:09:41 +00:00
vladimir%pobox.com 3aaf97b4e9 add timezone handling in output ics files. we currently output dtstart/dtend in the tz specified by the calendar.local-time-zone pref 2005-01-10 02:24:03 +00:00
vladimir%pobox.com 7354da2807 no, the real tzdata is this one 2005-01-10 02:20:36 +00:00
vladimir%pobox.com 29b0dafa2e newer tzdata that builds on msvc 2005-01-10 02:16:36 +00:00
mvl%exedo.nl 03f5be39b0 Don't put rrule and attendee in the property bag, they are handled specially.
bug 277562, r=shaver
2005-01-09 19:01:52 +00:00
mvl%exedo.nl afc89f3aa5 don't build libicalss
bug 277570, r=shaver
2005-01-09 18:33:58 +00:00
vladimir%pobox.com b3422be96b parse recurrence components on input of icalProperty 2005-01-07 22:11:48 +00:00
mvl%exedo.nl 690b11bd7e Use new libical. Don't build libxpical anymore
r=dmose. bug 237302 and 273447
2005-01-07 19:16:46 +00:00
vladimir%pobox.com 34d8c18781 more recurrence handling goop: single RDATE/EXDATEs supported (no more dateset); serializing to ICS works correctly; storage handles all item cases now; added compiled-in VTIMEZONE data for olson timezones (generated from libical olson VTIMEZONE files) -- bugs on output, TZ bits disabled for now; updates to storage and caldav for support. 2005-01-03 23:32:28 +00:00
vladimir%pobox.com 41c03e6d2d thinko. or cutandpasteo, up to you. 2005-01-03 23:24:22 +00:00
vladimir%pobox.com 980c9cb8b3 Added reset() to calIDateTime; updated Todo back-end bits (cruft fixing). notpartofthebuild 2005-01-03 23:08:13 +00:00
dmose%mozilla.org 96de4ccf68 Allow calIDateTime objects to expose an ical-serialized version of the object as an attribute. Not part of the build. 2005-01-02 02:52:11 +00:00
mvl%exedo.nl 3715a0291f don't update lastmodified when setting icalComponent, when cloning or when setting parent
bug 276522, r=shaver
2004-12-31 15:36:10 +00:00
dmose%mozilla.org 5fd9419870 Removed old tests; new copies now exist in mozilla/calendar/test. Not part of the build. 2004-12-27 19:58:43 +00:00
pavlov%pavlov.net 166506a909 adding new calendar attachment interface -- bug 274966 2004-12-20 18:04:15 +00:00
shaver%mozilla.org 1ba290d760 Bugs 275070, 274464:
- remove preprocessing step in favour of some JS dynamism love
- much improved invalid-date/null/etc. argument handling in the ICS service
- better management of stampDate and lastModifiedTime
- unification of immutable checks
- test for attendee cloning
r=mvl.
2004-12-18 22:59:51 +00:00
vladimir%pobox.com b7f0fb372d new recurrence system. exceptions supported now, along with everything else ical can throw at us. I hope. 2004-12-18 01:54:30 +00:00
vladimir%pobox.com 69d4ea526b fix mAttendees typo 2004-12-17 19:54:54 +00:00
pavlov%pavlov.net eccf2748cd fix toString() to print the correct month r=vlad 2004-12-16 21:18:00 +00:00
mvl%exedo.nl 1fefb9bc7c fix typo. make this actually work. 2004-12-15 19:19:49 +00:00
mvl%exedo.nl 2f2ede7d7f make calIItemBase.icalComponent read/write
bug 274645, r=shaver
2004-12-15 16:22:01 +00:00
shaver%mozilla.org 5097dbe634 clone attendees properly 2004-12-14 23:47:33 +00:00
vladimir%pobox.com 219fa26021 icalrecur_iterator_next doesn't seem to return the first date, so we were off by one when computing a RecurCount. notpartofthebuild 2004-12-14 11:10:42 +00:00
vladimir%pobox.com f5ad6a79a7 yet more suckage. notpartofthebuild 2004-12-14 11:02:17 +00:00
vladimir%pobox.com 42f1379d5a i suck. notpartofthebuild. 2004-12-14 09:29:08 +00:00
vladimir%pobox.com 64aa91a6ad handle durations correctly when recurring recurrence events, notpartofthebuild 2004-12-14 08:37:54 +00:00
vladimir%pobox.com 5f0c105816 more recurrence fixes, notpartofthebuild 2004-12-14 08:12:10 +00:00
vladimir%pobox.com e2f84e0594 fixed forever recurrence (-1 count, or null endtime) 2004-12-14 07:53:27 +00:00
vladimir%pobox.com 10aedb68ad fix range computation, notpartofthebuild 2004-12-14 04:17:54 +00:00
vladimir%pobox.com 5498afda0b fixed storage recurrence; notpartofthebuild 2004-12-14 03:27:32 +00:00
shaver%mozilla.org e27f74858a Recurrence fixes:
- add an icalProperty getter/setter for serialization (yet to come).
 - fix bogus assertion
 - throw NOT_IMPLEMENTED for getOccurrences, rather than NS_OK crash bait.
2004-12-14 02:00:34 +00:00
vladimir%pobox.com 3afe98d581 fixed case, notpartofthebuild 2004-12-14 00:51:58 +00:00
shaver%mozilla.org dc018c6f43 add removeAllAttendees for pav 2004-12-14 00:44:21 +00:00
vladimir%pobox.com aa507dd87f hooked up recurrence to storage; notpartofthebuild 2004-12-14 00:25:58 +00:00
shaver%mozilla.org 487333ffc7 mMethod cleanup too 2004-12-13 23:52:28 +00:00
shaver%mozilla.org 11cd66f708 more isPrivate fixes 2004-12-13 23:49:42 +00:00
shaver%mozilla.org b0a93fbed8 Fix mPrivacy cloning, don't clone the erstwhile mMethod. 2004-12-13 23:43:16 +00:00
shaver%mozilla.org 8ba0444bbf Bug 274336: initialize mIsDate, because we can take some paths through
normalize and whatnot that give us a "valid" date while still having
uninitialized stack garbage in mIsDate. r=vlad
2004-12-13 10:09:38 +00:00
shaver%mozilla.org 4cf75d27d9 - Use literal strings instead of integer constants, for better insulation
from libical changes, and a vastly improved debugging experience.
  The requisite data validation is coming once I figure out how best to
  get libical to do that validation in any reasonable fashion whatsoever.

- Remove METHOD from calIItemBase, as it's a bit of ICS specificity that should
  live elsewhere for manipulation in calling code.

- Remove useless getAttendees/setAttendees from calIIcalComponent, now that
  real property/parameter support exists.

- Unify property/x-property interfaces as much as possible.

- Likewise for parameters/x-parameters.

- Real property and parameters support, sufficient at least to whack ATTENDEE
  props in interesting ways.

- Properties on calIAttendee (mapped generally to ICS parameters, though
  somewhat fragilely).

- Round-trip X-WHATEVER ICS properties and params reliably.

- Attendee serialization/deserialization in calItemBase.

- In various places, SetIsVoid on empty strings returned to signify
  missing property/parameters.  Nicer from JS, to be sure.

- Fix test cases and one little spot in Sunbird to keep up.

CalDAV event modification works now.
2004-12-13 09:50:30 +00:00
shaver%mozilla.org 4154862910 - Use signed constants for calIIcalComponent, so that we can express
the absence of integer-valued properties consistently.
- Add calIIcalComponent.INVALID_VALUE for just that purpose.
- Use the same constant values for method in calIItemBase as we use in
  calIIcalComponent, for the sake of my sanity.  (Tempted to just remove them
  and have people who care about setting .method do it on the icalComponent
  of their choice.)
- Make calIItemBase.generation unsigned, since 0 means not-stored.
- Voidify string properties returned from calICSService to indicate a missing
  property.
- Don't propagate null or INVALID_VALUE props when copying to/from ICS.
- calIItemBase.generation has precisely nothing to do with ICS VERSION, so
  remove the mapping.
2004-12-11 21:17:36 +00:00
vladimir%pobox.com f4a4d05020 fixed lastModifiedTime type, notpartofthebuild 2004-12-10 11:22:48 +00:00
shaver%mozilla.org 3ace56c44c A bouquet garni of fragrant fixes:
- set prodid and version in generated ICS
- don't set empty-valued properties on the icalcomp; it makes some
  parsers sad
- save the listener's "outer this" so that we find it to call the notification
  methods on when adding an item is well and truly done.

Can now create events on a CalDAV server.
2004-12-10 11:00:27 +00:00
shaver%mozilla.org 219d2f88e0 A caller may ask us to set a date-valued property to null. Rebuff them
gently, instead of wetting the floor.
2004-12-10 10:00:17 +00:00
vladimir%pobox.com 32f62a5592 Initialize stampDate on event init, notpartofthebuild 2004-12-10 02:32:30 +00:00