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

177 Коммитов

Автор SHA1 Сообщение Дата
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
vladimir%pobox.com 49e37f3b21 Initialize creationDate and lastModifiedDate on itembase init, notpartofthebuild 2004-12-10 02:29:05 +00:00
pavlov%pavlov.net 057e39ab2a fixing compile problem on windows 2004-12-10 01:50:51 +00:00
vladimir%pobox.com cc54dadd2b fix calDateTime jsDate conversion, oops; notpartofthebuild 2004-12-10 01:35:48 +00:00
vladimir%pobox.com d50971c113 forgot TimezoneOffset getter/setter, notpartofthebuild 2004-12-10 01:05:31 +00:00
vladimir%pobox.com d3d4f2300c Have calIDateTime track the tz offset when going to/from jsdates. npotb 2004-12-10 00:45:04 +00:00
dmose%mozilla.org 1c5e0441d4 test for getItem() on a single event. (not part of the build) 2004-12-10 00:35:49 +00:00
shaver%mozilla.org 9d1ce73843 - 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
mvl%exedo.nl b782ec142f initial version of a synchronization test. npotb 2004-12-09 19:17:50 +00:00
shaver%mozilla.org 9c9eadd9be - 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
dmose%mozilla.org ff393302ea Update calendar testing infrastructure (not part of the build) 2004-12-09 01:01:26 +00:00
vladimir%pobox.com 6790115530 removed obsolete contacts IDL attribute from calICalendar (npotb) 2004-12-08 23:15:19 +00:00
mvl%exedo.nl 733ff747a7 export valid ics by using the right libical functions
bug 273440, r=shaver
2004-12-07 18:33:10 +00:00
shaver%mozilla.org 6630304436 Bug 273438: createInstance() of events was always returning the same object
(the calEvent.prototype object, in fact).  Use .apply to get the behaviour
I meant all along.

(Also, some partial ICS-string setting/getting pieces, too lazy to extract
them from my tree.)
2004-12-07 17:34:35 +00:00
dmose%mozilla.org 4daa5049ea Included readOnly attribute on suggestion from mvl/ago. Not part of build. 2004-12-02 20:48:09 +00:00
pavlov%pavlov.net e83fac781e 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
dmose%mozilla.org 1bc42d9c8f Be sure to stop the event pump once we've received a response. 2004-12-02 01:42:09 +00:00
vladimir%pobox.com 56a04b63e6 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 530631d7c6 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 8c6f98c6b8 commented-out cpp lines in calendar/base/src/Makefile.in; the checked-in files should be up to date. uncomment if you're working on the js.pre files. yes, this sucks. 2004-12-01 07:39:48 +00:00
shaver%mozilla.org bc148ca367 - Make .jsDate work again, by resolving the property correctly.
- Better handling of non-Date (non-Object) values assigned to .jsDate.
2004-11-30 13:25:00 +00:00
vladimir%pobox.com d3a934d8e7 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 c41d596bbf calendar: updated calIRecurrenceInfo idl, notpartofthebuild 2004-11-29 22:40:40 +00:00
dmose%mozilla.org a6571d75f6 Indentation fixes (not part of the build) 2004-11-29 21:06:17 +00:00
shaver%mozilla.org cf6e65c50c explicitly link in the JS library, to fix OS X calendar build 2004-11-26 06:14:11 +00:00
shaver%mozilla.org c056845cb8 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
dmose%mozilla.org aee20a8a80 Checkpointing beginnings of caldav and testing work; not part of the build 2004-11-25 18:02:27 +00:00
shaver%mozilla.org 55a31e77ff a few more attributes for interop; rename visibility to icalClass 2004-11-25 18:02:11 +00:00
shaver%mozilla.org c5a335460b mutable, immutable, what's the difference? 2004-11-25 14:55:03 +00:00
shaver%mozilla.org 729c65fb29 ICS serialization, plus basic component construction and connection 2004-11-24 08:51:07 +00:00
vladimir%pobox.com 4c98553385 added calICalendar param to calIOperationListener. Added calCompositeCalendar impl. notpartofthebuild 2004-11-23 23:40:06 +00:00
shaver%mozilla.org 2ac8cdf48d attendee support 2004-11-23 23:24:36 +00:00
shaver%mozilla.org 91e959d97a 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 624e43b2d2 Beginnings of an ICS parser service. 2004-11-23 20:11:28 +00:00
vladimir%pobox.com 9eeb699811 calItemBase updates; hit return too soon. 2004-11-23 01:36:55 +00:00
vladimir%pobox.com e9eae7111d src/calItemBase.js 2004-11-23 01:36:32 +00:00
vladimir%pobox.com 631d41930c b=270903, calICalendar updates, r=dmose; not part of the build 2004-11-23 01:31:45 +00:00
shaver%mozilla.org 751dbbb26b move calBaseCID.h to public/ 2004-11-22 20:41:01 +00:00
shaver%mozilla.org bf69686dc2 IDs for parser service 2004-11-22 20:25:42 +00:00
shaver%mozilla.org a172d28074 simple ICS parser service interface 2004-11-22 20:24:13 +00:00
shaver%mozilla.org d0b83dad6b better scriptable flags to permit resolve-mutation but not arbitrary annotation 2004-11-20 19:23:54 +00:00
vladimir%pobox.com 2fdcedd082 implement toString() and jsDate attribute on calDateTime, not part of the build. 2004-11-19 02:52:10 +00:00
vladimir%pobox.com e83783d4a5 continuing calItemBase/calEvent fixes. not part of the build. 2004-11-19 00:59:49 +00:00
vladimir%pobox.com cd2985f54b calendar build fixes; also updated datetime impl for timezone handling on nativetime set 2004-11-18 07:06:43 +00:00
vladimir%pobox.com affa5bee17 Impl fixes; don't try to clone/makeImmutable null interface members 2004-11-18 06:46:07 +00:00
vladimir%pobox.com df6666d512 Calendar build fixes, and checked in post-processed js things 2004-11-17 00:12:07 +00:00
vladimir%pobox.com 776baefebf 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 f935a248be 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 5d4acd52fe wrong dir location for calendar js files 2004-11-10 22:24:09 +00:00
vladimir%pobox.com 9b7bb75321 calendar base & providers continuing development/code dump 2004-11-10 21:25:38 +00:00
dmose%mozilla.org f83c4bac1a Many small changes in response to comments and discussion. Not part of build. 2004-11-09 23:59:41 +00:00
vladimir%pobox.com e1326c2c32 attribute helpers for calendar 2004-11-08 22:39:17 +00:00
dmose%mozilla.org e06423f291 More whitespace cleanup (not part of build). 2004-11-08 18:11:49 +00:00
dmose%mozilla.org b8bd5238ef Whitespace and comment cleanups (not part of build). 2004-11-08 18:09:56 +00:00
dmose%mozilla.org 5b0e1998e6 Fixes, comments, a new interface, and some reordering (not part of the build) 2004-11-05 06:09:24 +00:00
dmose%mozilla.org 5a058777fe 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 cac62c69b1 Fixed various errors (not part of the build). 2004-11-04 16:52:36 +00:00
dmose%mozilla.org 795dd029ba Updated as per IRC discussions. 2004-11-04 08:30:16 +00:00
vladimir%pobox.com a95534e73e interface updates 2004-11-03 21:48:23 +00:00
vladimir%pobox.com f8bae3e50f update to itembase 2004-11-03 21:48:00 +00:00
vladimir%pobox.com fd515d743a event/todo impls 2004-11-03 21:47:42 +00:00
vladimir%pobox.com 021905b3b4 first calIDateTime interface 2004-11-03 19:10:49 +00:00
dmose%mozilla.org 5336200d27 Very preliminary first cut at calICalendar interface (not part of the build) 2004-11-02 21:44:45 +00:00
dmose%mozilla.org e924b73566 Added Makefile.in so we can compile (not part of the default build) 2004-11-02 19:29:47 +00:00
dmose%mozilla.org 95a80378b0 Changes to make xpidl compile this interface 2004-11-02 19:26:42 +00:00
vladimir%pobox.com 7acf8c988d first bits of new calendar interfaces 2004-10-26 21:27:59 +00:00