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

325 Коммитов

Автор SHA1 Сообщение Дата
mvl%exedo.nl 87d1df6e55 another bustage fix. also bug 279189 2005-02-27 15:10:30 +00:00
mvl%exedo.nl f66b3a42e1 bustage fix. fallout from bug 279189 2005-02-27 15:06:54 +00:00
pavlov%pavlov.net f713b3e877 adding prefs api for calendars. bug 279189 r=vlad 2005-02-23 21:50:36 +00:00
mvl%exedo.nl 2175320c4e make calIDateTime properties like hour to be in the given timezone
bug 280971, r=vlad
(plus off-by-one fix for weekday)
2005-02-04 20:42:08 +00:00
pavlov%pavlov.net db4de01899 adding support for creating and deleting calendars 2005-02-01 00:56:51 +00:00
pavlov%pavlov.net 791ff69d43 adding calendar manager. bug 289189 r=vlad 2005-01-29 01:51:04 +00:00
pavlov%pavlov.net df3cac5915 partial fix for all day events. bug 278425. patch by jt@nerant.org. r=pavlov 2005-01-29 00:47:51 +00:00
mvl%exedo.nl a5b37c2367 do the right test.
r=vlad
2005-01-28 21:27:59 +00:00
mvl%exedo.nl e1a08cdf46 don't try create a complete rule for exdate.
r=vlad
2005-01-28 20:07:26 +00:00
vladimir%pobox.com 9fca2cc9cb added new maketzdata.pl in this location; regenerated tzdata.c straight from Olson data via vzic, without --pure option. Less carbohydrates and same great taste as the old tzdata.c, but without nasty compatability problems. 2005-01-26 23:05:23 +00:00
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
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