Closed
Bug 324735
Opened 19 years ago
Closed 19 years ago
Reference to obsolete object calIItemOccurence in calICalendar.idl
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: reidrankin, Unassigned)
Details
Attachments
(2 files, 2 obsolete files)
5.14 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
1.31 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Sunbird 0.3a I was writing an extension and had the hardest time finding the calIItem Occurance interface-which didn't exist, but is referenced in the calICalendar.idl file on line 114. This should be removed. Reproducible: Always Steps to Reproduce:
Comment 1•19 years ago
|
||
http://landfill.mozilla.org/mxr-test/mozilla/search?string=caliitemoccur&find=&filter=
Status: UNCONFIRMED → NEW
Component: General → Base
Ever confirmed: true
Updated•19 years ago
|
Summary: Reference to osbolete object calIItemOccurence in calICalendar.idl → Reference to obsolete object calIItemOccurence in calICalendar.idl
Comment 2•19 years ago
|
||
Attachment #209713 -
Flags: first-review?(jminta)
Comment 3•19 years ago
|
||
Comment on attachment 209713 [details] [diff] [review] Patch v1 - - /** - * Return an array of calIItemOccurrence representing all - * occurrences of this event between start (inclusive) and end (non-inclusive). - */ - void getOccurrences (in calIDateTime aRangeStart, - in calIDateTime aRangeEnd, - in unsigned long aMaxCount, - out unsigned long aCount, [array,size_is(aCount),retval] out calIItemBase aItems); The only problem here is the comment, the function looks ok (it doesn't involve the interface in its in/out params. - /** - * Modify aOccurrence. If aNewStartTime and aNewEndTime are given, - * update the event to those times. Otherwise ask the user to modify. - */ - void modifyOccurrence (in calIItemOccurrence aOccurrence, - in calIDateTime aNewStartTime, - in calIDateTime aNewEndTime); - - /** - * Delete the given event. This should prompt whether to delete - * just this occurrence or all occurrences, and do whatever else - * is appropriate. - */ - void deleteOccurrence (in calIItemOccurrence aOccurrence); eep! We need all those functions, a lot. We just need them to be using calIItemBase, not calIItemOccurrence.
Attachment #209713 -
Flags: first-review?(jminta) → first-review-
Comment 4•19 years ago
|
||
This should fix everything except http://landfill.mozilla.org/mxr-test/mozilla/source/calendar/base/public/calICalendar.idl#114
Attachment #209713 -
Attachment is obsolete: true
Attachment #209719 -
Flags: first-review?(jminta)
Comment 5•19 years ago
|
||
Comment on attachment 209719 [details] [diff] [review] Patch v2 Disregard, sorry, that's not how it's supposed to be done, my build failed.
Attachment #209719 -
Attachment is obsolete: true
Attachment #209719 -
Flags: first-review?(jminta)
Comment 6•19 years ago
|
||
This patch has gone through some testing. Compared to the latest trunk build, and it works just as good =) Sorry for the lack of testing in the two earlier patches.
Attachment #209741 -
Flags: first-review?(jminta)
Comment 7•19 years ago
|
||
Comment on attachment 209741 [details] [diff] [review] Patch v3 Nice job! r=jminta
Attachment #209741 -
Flags: first-review?(jminta) → first-review+
Comment 8•19 years ago
|
||
"Patch v3" checked in. Leaving bug open for further work. Can someone please also fix http://developer.mozilla.org/en/docs/Interfaces ? Thanks.
Comment 9•19 years ago
|
||
(In reply to comment #8) > "Patch v3" checked in. Leaving bug open for further work. Can someone please > also fix http://developer.mozilla.org/en/docs/Interfaces ? Thanks. > calIItemOccurence removed from http://developer.mozilla.org/en/docs/Interfaces
Comment 10•19 years ago
|
||
This is the last doc that didn't get updated.
Attachment #211347 -
Flags: first-review?(mvl)
Comment 11•19 years ago
|
||
Comment on attachment 211347 [details] [diff] [review] update last doc r=mvl
Attachment #211347 -
Flags: first-review?(mvl) → first-review+
Comment 12•19 years ago
|
||
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 13•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: general → base
You need to log in
before you can comment on or make changes to this bug.
Description
•