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

1926 Коммитов

Автор SHA1 Сообщение Дата
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
dmose%mozilla.org b91badc3b3 Fix deleteItem(), clean up a few calls to dump(). Not part of the build. 2004-12-11 19:51:25 +00:00
mvl%exedo.nl 13e68f643d set class on eventboxes to actually draw a box 2004-12-11 18:52:19 +00:00
vladimir%pobox.com 30c6c1d746 fixed up memory calendar, with working modify, and some recurrence impl. notpartoftehbuild 2004-12-11 00:38:10 +00:00
dmose%mozilla.org 2b83aa3f41 First cut at modifyItem() and deleteItem(). Not part of the build 2004-12-10 23:50:14 +00:00
vladimir%pobox.com 640eed7cc9 fix deleteItem.. notpartoftehbuild 2004-12-10 22:25:27 +00:00
vladimir%pobox.com 2edff8e8ba oops, can't have two deleteItems.. notpartoftehbuild 2004-12-10 22:16:30 +00:00
vladimir%pobox.com b5943b3a9e fix for multiple modifys in a row, notpartofthebuild 2004-12-10 21:32:08 +00:00
vladimir%pobox.com c2a025d0e0 sprinkle around some resets, to get around locked db issues. notpartofhtebuild 2004-12-10 20:55:51 +00:00
pavlov%pavlov.net b0a66f05f0 clean up some code and fix up deleting of items 2004-12-10 20:34:30 +00:00
mostafah%oeone.com d7f9f90168 Updated translation 2004-12-10 16:03:01 +00:00
pavlov%pavlov.net 7fd4187c45 Making clone() do a QI back to calIEvent 2004-12-10 11:35:05 +00:00
vladimir%pobox.com a9928a0a44 updated for new last_modified type 2004-12-10 11:27:48 +00:00
vladimir%pobox.com 3ac937f726 fixed lastModifiedTime type, notpartofthebuild 2004-12-10 11:22:48 +00:00
pavlov%pavlov.net 4a7ecbc7ca fixing new event dialog to start with the correct start/end times 2004-12-10 11:13:04 +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
pavlov%pavlov.net 0613c4802a getting the edit dialog up 2004-12-10 10:58:59 +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
shaver%mozilla.org 522338eedf Use prefs to control calendar type ("calendar.default-calendar.type") and
uri ("calendar.default-calendar.uri", only for caldav and storage types), so
we can all stop hacking createCalendar ourselves. r=dmose.

The default remains a memory-type calendar.
2004-12-10 09:56:34 +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
dmose%mozilla.org ed3339b93c Get addItem() closer to working (not part of the build) 2004-12-10 02:25:12 +00:00
pavlov%pavlov.net 462ec34b9c fixing compile problem on windows 2004-12-10 01:50:51 +00:00
dmose%mozilla.org e652f6111a utcTime is now known as nativeTime. not part of the build. 2004-12-10 01:46:09 +00:00
vladimir%pobox.com c0e12e9f54 removed reinvention of instanceof; notpartofthebuild 2004-12-10 01:45:20 +00:00
pavlov%pavlov.net 9bd7c9f40b fixing weekView to request events for the full 7 days instead of just 6 2004-12-10 01:45:02 +00:00
vladimir%pobox.com e175e14b86 utcTime is now nativeTime, notpartofthebuild 2004-12-10 01:43:25 +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
dmose%mozilla.org bfb6ac1c24 Fixed trailing comma (strict warning) and interface constant. Not part of build. 2004-12-10 00:50:03 +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 f57fb85545 Fix getItem for a single event to work. Not part of the build. 2004-12-10 00:36:26 +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
pavlov%pavlov.net 566a1dbb47 fixing weekView to clear events when changing weeks 2004-12-10 00:15:25 +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
pavlov%pavlov.net ea78fa45b7 fix week view to show events in the right column and time slot 2004-12-09 23:47:44 +00:00
pavlov%pavlov.net 977bf12427 set the start/end times correctly 2004-12-09 22:51:59 +00:00
vladimir%pobox.com e42feaf8d7 set mURI only after everything is initialized; also, move commitTransaction() into try blocks. notpartoftehbuild 2004-12-09 22:34:59 +00:00
pavlov%pavlov.net 70ddf9a2e2 work on getting the week view to work again bug 273955 r=mvl 2004-12-09 22:32:39 +00:00
mvl%exedo.nl 87c6dfa88f initial version of a synchronization test. npotb 2004-12-09 19:17:50 +00:00
dmose%mozilla.org f3ddfbf98d Basic getItems functionality work (not part of build) 2004-12-09 08:21:20 +00:00
shaver%mozilla.org e615268f3b some more gentle errors if we try to use this without --enable-storage 2004-12-09 03:09:31 +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 158f44366a Implement most of getItems, getItem, and some of addItem. Not part of the build. 2004-12-09 01:02:35 +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 edcb571c7c fix generation/parnet business in storage calendar (npotb) 2004-12-09 00:51:27 +00:00
vladimir%pobox.com 744987970b updated storage calendar provider (npotb) 2004-12-08 23:16:51 +00:00
vladimir%pobox.com 6e4a6613d6 removed obsolete contacts IDL attribute from calICalendar (npotb) 2004-12-08 23:15:19 +00:00
vladimir%pobox.com f6e3629717 correctly set parent and generation on added/modified items in memory calendar. also change observer/listener order to match decided order (listener first, observer last) 2004-12-08 22:48:30 +00:00
dbaron%dbaron.org 9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00