Calendar:Dev Guide: Difference between revisions

(Fix a few links and remove links to obsolete files.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<small>[[Calendar:Home Page|<< Back to Calendar Home Page]]</small>
{{Outdated}}
This page is a work in progress.  It is eventually meant to replace the old Developer's Guide at http://www.mozilla.org/projects/calendar/dev_guide.html
This page is a work in progress.  It is eventually meant to replace the old Developer's Guide at http://www.mozilla.org/projects/calendar/dev_guide.html


Line 84: Line 88:


== Alarms ==
== Alarms ==
The alarm system is currently undergoing a rewrite in [https://bugzilla.mozilla.org/show_bug.cgi?id=298358 Bug 298358].
<strike>The alarm system is currently undergoing a rewrite in [https://bugzilla.mozilla.org/show_bug.cgi?id=298358 Bug 298358].</strike>
 
The referenced bug is no longer active, as it has been marked resolved.
 
<!-- Can someone "in the know" please replace this section with more current information on where to find the current pieces of the alarm system... with at least roughly the level of detail in other similar sections of this page? Thanks! -->


== Other useful files ==
== Other useful files ==
Line 118: Line 126:
(someone check me on this)
(someone check me on this)
Sunbird and Lighting only define 1 'real' component, in [http://lxr.mozilla.org/mozilla/source/calendar/base/src/calItemModule.js calItemModule.js].  This module then creates on-the-fly factories for most of the other components used.  To add a new component, you should add it to the array of components defined there.  See the patch on [https://bugzilla.mozilla.org/show_bug.cgi?id=298358 Bug 298358] for an example of how to do this.  Note that you'll also need to modify the jar.mn file for lightning, so that the component file can be added to the .xpi.
Sunbird and Lighting only define 1 'real' component, in [http://lxr.mozilla.org/mozilla/source/calendar/base/src/calItemModule.js calItemModule.js].  This module then creates on-the-fly factories for most of the other components used.  To add a new component, you should add it to the array of components defined there.  See the patch on [https://bugzilla.mozilla.org/show_bug.cgi?id=298358 Bug 298358] for an example of how to do this.  Note that you'll also need to modify the jar.mn file for lightning, so that the component file can be added to the .xpi.
[[category:calendar|Dev Guide]]
2

edits