summaryrefslogtreecommitdiff
path: root/general/Versions.xml
blob: c7d83da2e9f3533c9809ee21498b3772b09861ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
	  "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
]>

<article>

<articleinfo>

<title>X.Org and XFree86 Version Numbering Schemes</title>
<corpauthor>
The XFree86 Project, Inc
</corpauthor>
<corpauthor>
Updated for X.Org by Keith Packard and Kevin E. Martin
</corpauthor>
<pubdate>22 May 2006</pubdate>

<abstract>

<para>
X.Org has adopted the same basic numbering scheme used by the XFree86
Project, Inc. for their releases.  The actual numbers are different, but the
basic scheme is the same.  This document reflects the policy that X.Org uses.
The version numbering schemes used by XFree86 have changed from time to
time.
</para>

</abstract>

</articleinfo>

<sect1>
<title>Releases, Development Streams and Branches</title>

<para>
As of the release of version X11R6.7 in March 2004, X.Org has three
release branches.  First is the trunk of the CVS repository.  This is
the main development stream, where all new work and work for future
releases is done.
</para>

<para>
Second is the stable bugfix branch for the latest full release
(7.1.0).  It is created around the time of the release.  The
branch for the current release is called "<literal remap="tt">XORG-7_1-branch</literal>".
Fixes for bugs found in the release will be added to this branch (as
well as the trunk), and updates to this release (if any) will be cut
from this branch.  Similar stable branches are present for previous full
releases.
</para>

<para>
The X.Org Foundation is planning to make full releases from the main
development stream at regular intervals in the 6-12 month range.  The
feature freezes for these releases will usually be 2-3 months before the
release dates.  This general plan is a goal, not a binding commitment.
The actual release intervals and dates will depend to a large degree on
the resource available to X.Org.  Full releases consist of full source
code tarballs, plus full binary distributions for a range of supported
platforms.  Update/bugfix releases will be made on an as-required basis,
depending also on the availability of resources, and will generally be
limited to serious bug and security fixes.  New features will not
usually be added in update releases.  Update/bugfix releases will not be
full releases, and will consist of source code patches, plus binary
updates to be layered on top of the previous full release.
</para>

<para>
The next full release will be version 7.2.
</para>

<para>
Aside from actual releases, snapshots of the active release branches
are tagged in the CVS repository from time to time.  Each such snapshot
has an identifiable version number.
</para>

</sect1>

<sect1>
<title>Current (new) Version Numbering Scheme</title>

<para>
Starting with the main development branch after X11R6.7, the X.Org
versions are numbered according to the scheme outlined here.
</para>

<para>
The version numbering format is <literal remap="tt">M.m.P.s</literal>, where <literal remap="tt">M</literal> is
the major version number, <literal remap="tt">m</literal> is the minor version number,
<literal remap="tt">P</literal> is the patch level, and <literal remap="tt">s</literal> is the snapshot number.
Full releases have <literal remap="tt">P</literal> set to zero, and it is incremented for
each subsequent bug fix release on the post-release stable branch.  The
snapshot number <literal remap="tt">s</literal> is present only for between-release snapshots
of the development and stable branches.
</para>

<sect2>
<title>Development Branch</title>

<para>
Immediately after forming a release stable branch, the patch level
number for the main development branch is bumped to 99, and the snapshot
number is reset.  The snapshot number is incremented for each tagged
development snapshot.  The CVS tag for snapshots is
"<literal remap="tt">XORG-M&lowbar;m&lowbar;P&lowbar;s</literal>".  When the development branch enters feature
freeze, the snapshot number is bumped to 900.  A stable branch may be
created for the next full release at any time after the feature freeze.
When it is, the branch is called "<literal remap="tt">XORG-M&lowbar;m-branch</literal>".  The
snapshot number is incremented from there until the release is
finalised.  Each of these snapshots is a "release candidate".  When the
release is finalised, the minor version is incremented, the patch level
is set to zero, and the snapshot number removed.
</para>

<para>
Here's an example which shows the version number sequence for the
development leading up to version 6.8:
</para>

<para>
<variablelist>

<varlistentry>
<term><literal remap="tt">6.7.99.1</literal></term>
<listitem>
<para>
The first snapshot of the pre-6.8 development branch.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.7.99.23</literal></term>
<listitem>
<para>
The twenty-third snapshot of the pre-6.8 development branch.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.7.99.900</literal></term>
<listitem>
<para>
The start of the 6.8 feature freeze.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.7.99.903</literal></term>
<listitem>
<para>
The third 6.8 release candidate.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.0</literal></term>
<listitem>
<para>
The 6.8 release.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.99.1</literal></term>
<listitem>
<para>
The first pre-6.9 development snapshot, which  is the first main
branch snapshot after creating the 6.8 stable branch.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

</sect2>

<sect2>
<title>Stable Branch</title>

<para>
After a full release, the stable branch for the release will be
maintained with bug fixes and important updates until the next full
release.  Any snapshots on this branch are considered "release
candidates", which is indicated by setting <literal remap="tt">s</literal> to a number above
900.  The snapshot number is incremented for each release candidate
until the update release is finalised.  The patch level value
(<literal remap="tt">P</literal>) is incremented for each update release.
</para>

<para>
Here's an example which shows a version number sequence for a 6.8.x
stable branch:
</para>

<para>
<variablelist>

<varlistentry>
<term><literal remap="tt">6.8.0</literal></term>
<listitem>
<para>
The 6.8 release.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.0.901</literal></term>
<listitem>
<para>
The first pre 6.8.1 snapshot.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.0.903</literal></term>
<listitem>
<para>
The third pre 6.8.1 snapshot, also known as the third 6.8.1 release
candidate.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.1</literal></term>
<listitem>
<para>
The 6.8.1 release.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.1.901</literal></term>
<listitem>
<para>
The first pre 6.8.2 snapshot.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal remap="tt">6.8.2</literal></term>
<listitem>
<para>
The 6.8.2 release.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

</sect2>

</sect1>

<sect1>
<title>Finding the X.Org X Server Version From a Client</title>

<para>
The X.Org X servers report a <literal remap="tt">VendorRelease</literal> value that matches
the X.Org version number.  There have been some cases of releases where
this value wasn't set correctly.  The rules for interpreting this value
as well as the known exceptions are outlined here.
</para>

<para>
For post-6.7.0 development and release versions using the new numbering
scheme, the <literal remap="tt">VendorRelease</literal> value is <literal remap="tt">MMmmPPsss</literal>.  That
is, version <literal remap="tt">M.m.P.s</literal> has <literal remap="tt">VendorRelease</literal> set to
<literal remap="tt">M&nbsp;*&nbsp;10000000&nbsp;+&nbsp;m&nbsp;*&nbsp;100000&nbsp;+&nbsp;P&nbsp;*&nbsp;1000&nbsp;+&nbsp;s</literal>.
</para>

<para>
The following is a code fragment taken from <literal remap="tt">xdpyinfo.c</literal> that shows
how the <literal remap="tt">VendorRelease</literal> information can be interpreted.
</para>

<para>

<programlisting>

    if (strstr(ServerVendor(dpy), "X.Org")) {
        int vendrel = VendorRelease(dpy);

        printf("X.Org version: ");
	printf("%d.%d.%d", vendrel / 10000000,
	       (vendrel /   100000) % 100,
	       (vendrel /     1000) % 100);
	if (vendrel % 1000) {
	    printf(".%d", vendrel % 1000);
	}
    }
</programlisting>

</para>

</sect1>

</article>