Calendar:Build: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 160: Line 160:
=Debugging and Preferences=
=Debugging and Preferences=
You should set up your debugging environment in the same way you would for extension development. A nice guide can be found [http://developer.mozilla.org/en/docs/Setting_up_extension_development_environment here].
You should set up your debugging environment in the same way you would for extension development. A nice guide can be found [http://developer.mozilla.org/en/docs/Setting_up_extension_development_environment here].
=Getting started with coding=
This of course depends on what you want to do. Usually, people come to the project since they want something specific fixed. If you are proficient with developing in large projects, you probably know how to get started and can directly start with whatever you wanted to fix. Its always a good idea to see if there is already a bug filed, in case someone else is working on it. If not, go ahead and [https://bugzilla.mozilla.org/enter_bug.cgi?product=Calendar&rep_platform=All&op_sys=All file the bug] and assign it to yourself.
If you don't have much experience with a larger project but do have an idea what you want to fix, then you can take a look at the [[Calendar:Dev_Guide|old dev guide]] or the [[Calendar:Hacking|calendar hacking]] guide. While both are not always up to date, they give some information on the parts of code in calendar.
On the other hand, if you have no idea what to start with but would really like to develop calendar code, you can take a look at the list of [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&product=Calendar&status_whiteboard_type=allwordssubstr&status_whiteboard=good+first+bug&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED good first bugs].
A lot of Calendar code is written in Javascript. This makes it easy to start with development. The user interface consists of XUL, an XML-based user interface language.
Regarding general documentation, you should find everything you need on [http://developer.mozilla.org/ developer.mozilla.org]. Especially interesting are the pages about [http://developer.mozilla.org/en/docs/Extensions Extensions], [http://developer.mozilla.org/en/docs/JavaScript JavaScript] (specifically, the [http://developer.mozilla.org/en/docs/A_re-introduction_to_JavaScript re-introduction to JavaScript]) and [http://developer.mozilla.org/en/docs/XUL XUL] (specifically, the [http://developer.mozilla.org/en/docs/XUL_Tutorial XUL Tutorial]).
If you have calendar-specific questions, you can request help on IRC in  #calendar, or in the mozilla.dev.apps.calendar newsgroup. If you have more general Javascript or XUL questions, you can request help on IRC in #developers. Both IRC channels are on irc.mozilla.org


=Creating a Patch=
=Creating a Patch=
264

edits

Navigation menu