Commit Graph

305 Commits

Author SHA1 Message Date
mvl%exedo.nl
55c4b52577 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
dbb8a82ed5 don't build libicalss
bug 277570, r=shaver
2005-01-09 18:33:58 +00:00
vladimir%pobox.com
e12df5a87b parse recurrence components on input of icalProperty 2005-01-07 22:11:48 +00:00
mvl%exedo.nl
8fa0aec600 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
cdb84a5dc8 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
9a4362c8f7 thinko. or cutandpasteo, up to you. 2005-01-03 23:24:22 +00:00
vladimir%pobox.com
b56e14b17d Added reset() to calIDateTime; updated Todo back-end bits (cruft fixing). notpartofthebuild 2005-01-03 23:08:13 +00:00
dmose%mozilla.org
8d681690e9 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
1183b38867 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
3d59974e8a 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
b777f89723 adding new calendar attachment interface -- bug 274966 2004-12-20 18:04:15 +00:00
shaver%mozilla.org
b002b50405 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
b397544e5e 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
48db66a067 fix mAttendees typo 2004-12-17 19:54:54 +00:00
pavlov%pavlov.net
0ef31b4f88 fix toString() to print the correct month r=vlad 2004-12-16 21:18:00 +00:00
mvl%exedo.nl
e511e491c1 fix typo. make this actually work. 2004-12-15 19:19:49 +00:00
mvl%exedo.nl
f44157ebb5 make calIItemBase.icalComponent read/write
bug 274645, r=shaver
2004-12-15 16:22:01 +00:00
shaver%mozilla.org
ace2b612b9 clone attendees properly 2004-12-14 23:47:33 +00:00
vladimir%pobox.com
0fca4ede5c 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
a6cd320bbb yet more suckage. notpartofthebuild 2004-12-14 11:02:17 +00:00
vladimir%pobox.com
fa83e790ab i suck. notpartofthebuild. 2004-12-14 09:29:08 +00:00
vladimir%pobox.com
3f629a981b handle durations correctly when recurring recurrence events, notpartofthebuild 2004-12-14 08:37:54 +00:00
vladimir%pobox.com
cc1df5c45c more recurrence fixes, notpartofthebuild 2004-12-14 08:12:10 +00:00
vladimir%pobox.com
2e8ed090fe fixed forever recurrence (-1 count, or null endtime) 2004-12-14 07:53:27 +00:00
vladimir%pobox.com
b55ca7c5bf fix range computation, notpartofthebuild 2004-12-14 04:17:54 +00:00
vladimir%pobox.com
9a9719b366 fixed storage recurrence; notpartofthebuild 2004-12-14 03:27:32 +00:00
shaver%mozilla.org
4714253f86 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
f7f3f88e22 fixed case, notpartofthebuild 2004-12-14 00:51:58 +00:00
shaver%mozilla.org
28c8b5d84d add removeAllAttendees for pav 2004-12-14 00:44:21 +00:00
vladimir%pobox.com
a9c26b6f51 hooked up recurrence to storage; notpartofthebuild 2004-12-14 00:25:58 +00:00
shaver%mozilla.org
2429159487 mMethod cleanup too 2004-12-13 23:52:28 +00:00
shaver%mozilla.org
9dc296acdc more isPrivate fixes 2004-12-13 23:49:42 +00:00
shaver%mozilla.org
9c210babca Fix mPrivacy cloning, don't clone the erstwhile mMethod. 2004-12-13 23:43:16 +00:00
shaver%mozilla.org
97aa9b771e 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
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
shaver%mozilla.org
43f7338641 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
8b7826b74e 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
73864d156f Initialize stampDate on event init, notpartofthebuild 2004-12-10 02:32:30 +00:00
vladimir%pobox.com
b5eb3d4590 Initialize creationDate and lastModifiedDate on itembase init, notpartofthebuild 2004-12-10 02:29:05 +00:00
pavlov%pavlov.net
462ec34b9c fixing compile problem on windows 2004-12-10 01:50:51 +00:00
vladimir%pobox.com
8a5d2024e1 fix calDateTime jsDate conversion, oops; notpartofthebuild 2004-12-10 01:35:48 +00:00
vladimir%pobox.com
8b8224d58b forgot TimezoneOffset getter/setter, notpartofthebuild 2004-12-10 01:05:31 +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
dmose%mozilla.org
712a24b2f8 test for getItem() on a single event. (not part of the build) 2004-12-10 00:35:49 +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
mvl%exedo.nl
87c6dfa88f initial version of a synchronization test. npotb 2004-12-09 19:17:50 +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
dmose%mozilla.org
5dee6b3900 Update calendar testing infrastructure (not part of the build) 2004-12-09 01:01:26 +00:00
vladimir%pobox.com
6e4a6613d6 removed obsolete contacts IDL attribute from calICalendar (npotb) 2004-12-08 23:15:19 +00:00
mvl%exedo.nl
d064a37503 export valid ics by using the right libical functions
bug 273440, r=shaver
2004-12-07 18:33:10 +00:00
shaver%mozilla.org
b4a3b00ed5 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
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
dmose%mozilla.org
3563201311 Be sure to stop the event pump once we've received a response. 2004-12-02 01:42:09 +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
d0de9f6af1 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
db9f9b3895 - 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
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
dmose%mozilla.org
ea66176569 Indentation fixes (not part of the build) 2004-11-29 21:06:17 +00:00
shaver%mozilla.org
5048b95186 explicitly link in the JS library, to fix OS X calendar build 2004-11-26 06:14:11 +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
dmose%mozilla.org
c7be320a44 Checkpointing beginnings of caldav and testing work; not part of the build 2004-11-25 18:02:27 +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
539599b6d4 mutable, immutable, what's the difference? 2004-11-25 14:55:03 +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
e1747fcd45 calItemBase updates; hit return too soon. 2004-11-23 01:36:55 +00:00
vladimir%pobox.com
300bff69af src/calItemBase.js 2004-11-23 01:36:32 +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
d91a7968ca IDs for parser service 2004-11-22 20:25:42 +00:00
shaver%mozilla.org
4998188056 simple ICS parser service interface 2004-11-22 20:24:13 +00:00
shaver%mozilla.org
f5dccd7247 better scriptable flags to permit resolve-mutation but not arbitrary annotation 2004-11-20 19:23:54 +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
6cf034315c continuing calItemBase/calEvent fixes. not part of the build. 2004-11-19 00:59:49 +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
c9da6321d8 Impl fixes; don't try to clone/makeImmutable null interface members 2004-11-18 06:46:07 +00:00
vladimir%pobox.com
53752ec121 Calendar build fixes, and checked in post-processed js things 2004-11-17 00:12:07 +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
a504128c11 wrong dir location for calendar js files 2004-11-10 22:24: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
vladimir%pobox.com
12d3e805b0 attribute helpers for calendar 2004-11-08 22:39:17 +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
51fc138fc7 update to itembase 2004-11-03 21:48:00 +00:00
vladimir%pobox.com
0f462f1d96 event/todo impls 2004-11-03 21:47:42 +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