Commit Graph

42 Commits

Author SHA1 Message Date
vladimir%pobox.com
a9c26b6f51 hooked up recurrence to storage; notpartofthebuild 2004-12-14 00:25:58 +00:00
shaver%mozilla.org
c384132735 - 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
086a3d6388 - 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
3ac937f726 fixed lastModifiedTime type, notpartofthebuild 2004-12-10 11:22:48 +00:00
vladimir%pobox.com
e4c06a2ed2 Have calIDateTime track the tz offset when going to/from jsdates. npotb 2004-12-10 00:45:04 +00:00
shaver%mozilla.org
3b32aa62cb - Basic ICS serialization of events.
- icalComponent getter on calIItemBase to aid in serializing multiple
  components, such as to write out an entire calendar as ICS (say).
- Fix DATE property handling in the ICS service, no thanks at all to libical's
  use of obfuscated void * as its type for everything.
2004-12-10 00:15:22 +00:00
shaver%mozilla.org
91536ce225 - calIDateTime.isDate.
- warning fixes in calDateTime, calRecurrenceInfo.
- use CalDateTime constructor instead of helper function.
- calEvent.icalString setter basics implemented (no attendees yet)
- simple test case for icalString setter.
2004-12-09 02:53:46 +00:00
vladimir%pobox.com
6e4a6613d6 removed obsolete contacts IDL attribute from calICalendar (npotb) 2004-12-08 23:15:19 +00:00
dmose%mozilla.org
77ba345bc1 Included readOnly attribute on suggestion from mvl/ago. Not part of build. 2004-12-02 20:48:09 +00:00
pavlov%pavlov.net
84dee1b4db updating eventDialog to use the new calendar APIs
revamp of the event dialog by mattwillis@gmail.com
bug 272732 r=shaver
2004-12-02 17:41:13 +00:00
vladimir%pobox.com
c77a324d89 added calRecurrenceInfo, using libical to calculate recurrence; fixed calDateTime jsDate timezone handling; added calTodo implementation 2004-12-01 23:36:16 +00:00
shaver%mozilla.org
c2768a9ef2 Bug 272640: attendee support, and some cleanups.
- calIAttendee interface
- calAttendee impl
- attendee-related methods on calIItemBase
- basic test suite for attendee stuff
- data-driven component/module/script loading and factory stuff
- suppress component loader error from it trying to load calEvent.js as a
  component
- "make rebuild" target to rebuild .js from .js.pre
- chain calEvent's QI through its proto's

r=vlad,tab-police=mvl
2004-12-01 20:52:31 +00:00
vladimir%pobox.com
be882eca76 moved properties out of calIItemBase; replaced with explicit get/set/delete methods, to control mutable access. notpartofthebuild 2004-11-30 00:23:37 +00:00
vladimir%pobox.com
8f6f2d675f calendar: updated calIRecurrenceInfo idl, notpartofthebuild 2004-11-29 22:40:40 +00:00
shaver%mozilla.org
141ef7b927 More ICS parsing work:
- richer support for property manipulation
 - includes X-PROPERTY capabilities
 - stubbed-in property-parameter support
2004-11-25 20:25:41 +00:00
shaver%mozilla.org
d348ca2880 a few more attributes for interop; rename visibility to icalClass 2004-11-25 18:02:11 +00:00
shaver%mozilla.org
2ec8d67455 ICS serialization, plus basic component construction and connection 2004-11-24 08:51:07 +00:00
vladimir%pobox.com
cd0d681d53 added calICalendar param to calIOperationListener. Added calCompositeCalendar impl. notpartofthebuild 2004-11-23 23:40:06 +00:00
shaver%mozilla.org
ab6a36852c attendee support 2004-11-23 23:24:36 +00:00
shaver%mozilla.org
d1bf6d2f33 a notxpcom way to convert a calIDateTime to an icaltimetype, and some more ICS stuff 2004-11-23 22:16:58 +00:00
shaver%mozilla.org
30115ed340 Beginnings of an ICS parser service. 2004-11-23 20:11:28 +00:00
vladimir%pobox.com
31e41dec43 b=270903, calICalendar updates, r=dmose; not part of the build 2004-11-23 01:31:45 +00:00
shaver%mozilla.org
db57a77c2c move calBaseCID.h to public/ 2004-11-22 20:41:01 +00:00
shaver%mozilla.org
4998188056 simple ICS parser service interface 2004-11-22 20:24:13 +00:00
vladimir%pobox.com
984e7344b7 implement toString() and jsDate attribute on calDateTime, not part of the build. 2004-11-19 02:52:10 +00:00
vladimir%pobox.com
dbb5a1ab8b calendar build fixes; also updated datetime impl for timezone handling on nativetime set 2004-11-18 07:06:43 +00:00
vladimir%pobox.com
50fc4d1962 Continuing calendar interface work. No more Mutable interfaces; there's now a mutability bit on datetime/event/etc. DateTime is implemented using libical, ItemBase/Event/Todo/etc. are in JS. 2004-11-16 00:24:17 +00:00
dmose%mozilla.org
a3199454ac Added an enumerator of all calendars on the composite as well as way to set the default calendar for addItem(). Not part of build. 2004-11-10 22:35:09 +00:00
vladimir%pobox.com
ca5755f23d calendar base & providers continuing development/code dump 2004-11-10 21:25:38 +00:00
dmose%mozilla.org
75da430444 Many small changes in response to comments and discussion. Not part of build. 2004-11-09 23:59:41 +00:00
dmose%mozilla.org
104b7760a0 More whitespace cleanup (not part of build). 2004-11-08 18:11:49 +00:00
dmose%mozilla.org
c411058ef9 Whitespace and comment cleanups (not part of build). 2004-11-08 18:09:56 +00:00
dmose%mozilla.org
41450a6e45 Fixes, comments, a new interface, and some reordering (not part of the build) 2004-11-05 06:09:24 +00:00
dmose%mozilla.org
069c3354fd Changed nsISupports to nsIVariant for ease of JS use (not part of the build). 2004-11-04 17:33:39 +00:00
dmose%mozilla.org
39526fe2bb Fixed various errors (not part of the build). 2004-11-04 16:52:36 +00:00
dmose%mozilla.org
0f43f4ca63 Updated as per IRC discussions. 2004-11-04 08:30:16 +00:00
vladimir%pobox.com
66f41cee71 interface updates 2004-11-03 21:48:23 +00:00
vladimir%pobox.com
08078e2ef2 first calIDateTime interface 2004-11-03 19:10:49 +00:00
dmose%mozilla.org
439fce7ed1 Very preliminary first cut at calICalendar interface (not part of the build) 2004-11-02 21:44:45 +00:00
dmose%mozilla.org
cece9e19e5 Added Makefile.in so we can compile (not part of the default build) 2004-11-02 19:29:47 +00:00
dmose%mozilla.org
4a78fbaa74 Changes to make xpidl compile this interface 2004-11-02 19:26:42 +00:00
vladimir%pobox.com
55000b6c93 first bits of new calendar interfaces 2004-10-26 21:27:59 +00:00