2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libstdc++-v3 / docs / html / 17_intro / contribute.html
blobcc95689f091b2c181d6b77c0486c34abce56e834
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8 <title>How to contribute</title>
9 <link rel="StyleSheet" href="lib3styles.css" type="text/css" />
10 <link rel="Start" href="../documentation.html" type="text/html"
11 title="GNU C++ Standard Library" />
12 <link rel="Help" href="../faq/index.html" type="text/html" title="F.A.Q." />
13 </head>
14 <!--990301 slightly modified version of the GCC contribute.html file-->
15 <!-- #include virtual="/include/header-subpages.html"-->
16 <body>
17 <h2>How to contribute</h2>
18 <p> The Standard C++ Library v3, follows an open development
19 model. Active contributors are assigned maintainer-ship
20 responsibility, and given write access to the CVS repository. First
21 time contributors should follow this procedure:
22 </p>
24 <hr />
25 <h4>ONE : read the documentation</h4>
27 <ul>
28 <li> Get and read the relevant sections of the C++ language
29 specification. Copies of the full ISO 14882 standard are available on
30 line via the ISO mirror site for committee members. Non-members, or
31 those who have not paid for the privilege of sitting on the committee
32 and sustained their two meeting commitment for voting rights, may get
33 a copy of the standard from their respective national standards
34 organization. In the USA, this national standards organization is ANSI
35 and their web-site is right
37 <a href="http://www.ansi.org">here.</a>
38 (And if you've already registered with them, clicking this link will take you to directly to the place where you can
39 <a href="http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998">buy the standard on-line.)</a>
40 </li>
42 <li> The library working group bugs, and known defects, can be obtained here:
43 <a href="http://www.dkuug.dk/jtc1/sc22/wg21/">http://www.dkuug.dk/jtc1/sc22/wg21 </a>
44 </li>
46 <li> The newsgroup dedicated to standardization issues is comp.std.c++: this FAQ for this group is quite useful and can be found <a href="http://reality.sgi.com/austern_mti/std-c++/faq.html"> here </a>.
47 </li>
49 <li> Peruse the <a href="http://www.gnu.ai.mit.edu/prep/standards_toc.html">GNU Coding Standards</a>, and chuckle when you hit the part about "Using Languages Other Than C."
50 </li>
52 <li> Be familiar with the extensions that preceded these general GNU rules. These style issues for libstdc++ can be found in the file C++STYLE, located in the root level of the distribution, or <a href="C++STYLE"> here. </a>
53 </li>
55 <li> And last but certainly not least, read the library-specific information found <a href="../documentation.html"> here.</a>
56 </li>
58 </ul>
62 <hr />
63 <h4>TWO : copyright assignment</h4>
64 <p>
65 Small changes can be accepted without a copyright assignment form on
66 file. New code and additions to the library need completed copyright
67 assignment form on file at the FSF. Note: your employer may be required
68 to fill out appropriate disclaimer forms as well.
69 </p>
71 <p> Historically, the libstdc++ assignment form added the following question:
72 </p>
74 <code>[Which Belgian comic book character is better, Tintin or
75 Asterix, and why?]</code>
77 <p>
78 While not strictly necessary, humoring the maintainers and answering
79 this question would be appreciated.
80 </p>
82 <p>
83 For more information about getting a copyright assignment, please see
84 <a href=http://www.gnu.org/prep/maintain_4.html#SEC4=> Legal Issues</a>
85 </p>
87 <p>
88 Please contact <a href="mailto:bkoz+assign@redhat.com">Benjamin
89 Kosnik</a> if you are confused about the assignment or have general
90 licensing questions. When requesting an assignment form from <a
91 HREF="mailto:assign@gnu.org">assign@gnu.org</a>, please cc
92 the above libstdc++ maintainer so that progress can be monitored.
93 </p>
96 <hr />
97 <h4>THREE : submitting patches</h4>
99 <p>
100 Every patch must have several pieces of information before it can be
101 properly evaluated. Ideally (and to ensure the fastest possible
102 response from the maintainers) it would have all of these pieces:
103 </p>
105 <ul>
107 <li> A description of the bug and how your patch fixes this bug. For
108 new features a description of the feature and your implementation. </li>
110 <li> A ChangeLog entry as plain text; see the various ChangeLog files
111 for format and content. If using you are using emacs as your editor,
112 simply position the insertion point at the beginning of your change
113 and hit CX-4a to bring up the appropriate ChangeLog
114 entry. See--magic! Similar functionality also exists for vi. </li>
116 <li> A testsuite submission or sample program that will easily and
117 simply show the existing error or test new functionality. </li>
119 <li> The patch itself. If you are accessing the CVS repository at
120 Cygnus, use "cvs update; cvs diff -c3p NEW"; else, use "diff -c3p OLD
121 NEW" ... If your version of diff does not support these options, then
122 get the latest version of GNU diff. </li>
124 <li> When you have all these pieces, bundle them up in a mail message
125 and send it to libstdc++@gcc.gnu.org. All patches and related
126 discussion should be sent to the libstdc++ mailing list. </li>
128 </ul>
130 </body>
131 </html>