ChangeLog revision a97c3f35
1a97c3f35Smrgcommit 7d246751628bb877e04da762ec1a2e41ffa62154
2a97c3f35SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
3a97c3f35SmrgDate:   Tue Nov 28 15:33:15 2017 +0100
4a97c3f35Smrg
5a97c3f35Smrg    libXfont 1.5.4
6a97c3f35Smrg
7a97c3f35Smrgcommit 5ed8ac0e4f063825b8ecda48e9a111d3ce92e825
8a97c3f35SmrgAuthor: Michal Srb <msrb@suse.com>
9a97c3f35SmrgDate:   Thu Oct 26 09:48:13 2017 +0200
10a97c3f35Smrg
11a97c3f35Smrg    Open files with O_NOFOLLOW. (CVE-2017-16611)
12a97c3f35Smrg    
13a97c3f35Smrg    A non-privileged X client can instruct X server running under root to open any
14a97c3f35Smrg    file by creating own directory with "fonts.dir", "fonts.alias" or any font file
15a97c3f35Smrg    being a symbolic link to any other file in the system. X server will then open
16a97c3f35Smrg    it. This can be issue with special files such as /dev/watchdog.
17a97c3f35Smrg    
18a97c3f35Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
19a97c3f35Smrg
20a97c3f35Smrgcommit f581c2346d025d5b15926db9e58f254173fb58dc
21a97c3f35SmrgAuthor: Matt Turner <mattst88@gmail.com>
22a97c3f35SmrgDate:   Thu Oct 19 13:45:58 2017 -0700
23a97c3f35Smrg
24a97c3f35Smrg    libXfont 1.5.3
25a97c3f35Smrg    
26a97c3f35Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
27a97c3f35Smrg
28a97c3f35Smrgcommit 3b08934dca75e4c559db7d83797bc3d365c2a50a
29a97c3f35SmrgAuthor: Michal Srb <msrb@suse.com>
30a97c3f35SmrgDate:   Thu Jul 20 17:05:23 2017 +0200
31a97c3f35Smrg
32a97c3f35Smrg    pcfGetProperties: Check string boundaries (CVE-2017-13722)
33a97c3f35Smrg    
34a97c3f35Smrg    Without the checks a malformed PCF file can cause the library to make
35a97c3f35Smrg    atom from random heap memory that was behind the `strings` buffer.
36a97c3f35Smrg    This may crash the process or leak information.
37a97c3f35Smrg    
38a97c3f35Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
39a97c3f35Smrg    (cherry picked from commit 672bb944311392e2415b39c0d63b1e1902905bcd)
40a97c3f35Smrg
41a97c3f35Smrgcommit a2a5fa591762b430037e33f1df55b460550ab406
42a97c3f35SmrgAuthor: Michal Srb <msrb@suse.com>
43a97c3f35SmrgDate:   Thu Jul 20 13:38:53 2017 +0200
44a97c3f35Smrg
45a97c3f35Smrg    Check for end of string in PatternMatch (CVE-2017-13720)
46a97c3f35Smrg    
47a97c3f35Smrg    If a pattern contains '?' character, any character in the string is skipped,
48a97c3f35Smrg    even if it is '\0'. The rest of the matching then reads invalid memory.
49a97c3f35Smrg    
50a97c3f35Smrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
51a97c3f35Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
52a97c3f35Smrg    (cherry picked from commit d1e670a4a8704b8708e493ab6155589bcd570608)
53a97c3f35Smrg
54b43acbb4Smrgcommit 8cce9834b2e74dccad94ca0adf79ae5585e37d48
55b43acbb4SmrgAuthor: Adam Jackson <ajax@redhat.com>
56b43acbb4SmrgDate:   Wed Aug 31 16:19:11 2016 -0400
57b43acbb4Smrg
58b43acbb4Smrg    libXfont 1.5.2
59b43acbb4Smrg    
60b43acbb4Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
61b43acbb4Smrg
62b43acbb4Smrgcommit 42d85d1293b2753f3f200de0e960bacef0c973c7
63b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
64b43acbb4SmrgDate:   Mon May 30 00:46:21 2016 -0700
65b43acbb4Smrg
66b43acbb4Smrg    fserve: Fix a buffer read overrun in _fs_client_access
67b43acbb4Smrg    
68b43acbb4Smrg    https://bugs.freedesktop.org/show_bug.cgi?id=83224
69b43acbb4Smrg    
70b43acbb4Smrg    Found by clang's Address Sanitizer
71b43acbb4Smrg    
72b43acbb4Smrg    	crac.num_auths = set_font_authorizations(&authorizations, &authlen,
73b43acbb4Smrg    						 client);
74b43acbb4Smrg    	/* Work around bug in xfs versions up through modular release 1.0.8
75b43acbb4Smrg    	   which rejects CreateAC packets with num_auths = 0 & authlen < 4 */
76b43acbb4Smrg    	if (crac.num_auths == 0) {
77b43acbb4Smrg    	    authorizations = padding;
78b43acbb4Smrg    	    authlen = 4;
79b43acbb4Smrg    	} else {
80b43acbb4Smrg    	    authlen = (authlen + 3) & ~0x3;
81b43acbb4Smrg    	}
82b43acbb4Smrg    	crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
83b43acbb4Smrg    	crac.acid = cur->acid;
84b43acbb4Smrg    	_fs_add_req_log(conn, FS_CreateAC);
85b43acbb4Smrg    	_fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));
86b43acbb4Smrg    	_fs_write(conn, authorizations, authlen);
87b43acbb4Smrg    
88b43acbb4Smrg    In the case in the report, set_font_authorizations setup authorizations as a
89b43acbb4Smrg    34 byte buffer (and authlen set to 34 as one would expect). The following
90b43acbb4Smrg    block changed authlen to 36 to make it 4byte aligned and the final _fs_write()
91b43acbb4Smrg    caused us to read 36 bytes from this 34 byte buffer.
92b43acbb4Smrg    
93b43acbb4Smrg    This changes the incorrect size increase to instead use _fs_write_pad which
94b43acbb4Smrg    takes care of the padding for us.
95b43acbb4Smrg    
96b43acbb4Smrg    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
97b43acbb4Smrg    (cherry picked from commit 6972ea08ee5b2ef1cfbdc2fcaf14f06bbd391561)
98b43acbb4Smrg
99b43acbb4Smrgcommit 2b09a7af9f19db886567e524f978ad393593f7c0
100b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
101b43acbb4SmrgDate:   Sun May 29 23:37:13 2016 -0700
102b43acbb4Smrg
103b43acbb4Smrg    fserve: Silence a -Wformat warning
104b43acbb4Smrg    
105b43acbb4Smrg    src/fc/fserve.c:653:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
106b43acbb4Smrg                   " from font server\n", rep->length);
107b43acbb4Smrg                                          ^~~~~~~~~~~
108b43acbb4Smrg    1 warning generated.
109b43acbb4Smrg    
110b43acbb4Smrg    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
111b43acbb4Smrg    (cherry picked from commit e6009adbc89ec3e1f924bcb57b333c1c02f5e66d)
112b43acbb4Smrg
113b43acbb4Smrgcommit 3eddbca2690381bbbaf14adadb2679eea702095f
114b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
115b43acbb4SmrgDate:   Sun May 29 23:34:35 2016 -0700
116b43acbb4Smrg
117b43acbb4Smrg    bitmap: Bail out on invalid input to FontFileMakeDir instead of calling calloc for 0 bytes
118b43acbb4Smrg    
119b43acbb4Smrg    Found by clang static analysis:
120b43acbb4Smrg        Call to 'calloc' has an allocation size of 0 bytes
121b43acbb4Smrg    
122b43acbb4Smrg    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
123b43acbb4Smrg    (cherry picked from commit ac559fad20bbae45332c758abb6a790c3fd341a2)
124b43acbb4Smrg
125b43acbb4Smrgcommit dfa572ea522a3019e91f2de7854b252c629342f2
126b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
127b43acbb4SmrgDate:   Sun May 29 23:29:50 2016 -0700
128b43acbb4Smrg
129b43acbb4Smrg    FreeType: Correct an allocation size
130b43acbb4Smrg    
131b43acbb4Smrg    Found by clang static analysis:
132b43acbb4Smrg        Result of 'calloc' is converted to a pointer of type 'int', which is
133b43acbb4Smrg        incompatible with sizeof operand type 'int *'
134b43acbb4Smrg    
135b43acbb4Smrg    This is likely benign because the old size was larger on any platform where
136b43acbb4Smrg    sizeof(int) <= sizeof(void *), which is everywhere.
137b43acbb4Smrg    
138b43acbb4Smrg    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
139b43acbb4Smrg    (cherry picked from commit d0fff111992fed9d9bfbf0c19e136bda9ba1db55)
140b43acbb4Smrg
141b43acbb4Smrgcommit bee4a764ccef46101dca03c70d4ad1793a5a5d78
142b43acbb4SmrgAuthor: Keith Packard <keithp@keithp.com>
143b43acbb4SmrgDate:   Mon Dec 7 15:46:13 2015 -0800
144b43acbb4Smrg
145b43acbb4Smrg    Fix warnings
146b43acbb4Smrg    
147b43acbb4Smrg    Mostly signed vs unsigned comparisons
148b43acbb4Smrg    
149b43acbb4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
150b43acbb4Smrg    
151b43acbb4Smrg    Squashed commit of three cherry-picks from master:
152b43acbb4Smrg    (cherry picked from commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97)
153b43acbb4Smrg    (cherry picked from commit eefc0b0b908eb8533e704d7156ce983ad7891cc5)
154b43acbb4Smrg    (cherry picked from commit d967caa988eaabd9e84c82879e2f21bd33b952a7)
155b43acbb4Smrg
156b43acbb4Smrgcommit d6877a7c1c35985f6a75b6cd4e814595e781adc4
157b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
158b43acbb4SmrgDate:   Wed Oct 21 21:03:00 2015 -0700
159b43acbb4Smrg
160b43acbb4Smrg    Use NO_WEAK_SYMBOLS instead of -flat_namespace
161b43acbb4Smrg    
162b43acbb4Smrg    Lesser of two evil hacks, I suppose...
163b43acbb4Smrg    
164b43acbb4Smrg    This reverts commit 0386fa77367a305deea3cc27f8a3865cc3c467c0.
165b43acbb4Smrg
166b43acbb4Smrgcommit 2788c6984bc54bfba61b2dbdb5353978199d8a37
167b43acbb4SmrgAuthor: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
168b43acbb4SmrgDate:   Wed Oct 21 21:27:26 2015 -0700
169b43acbb4Smrg
170b43acbb4Smrg    stubs: Add missing externs for declarations in the NO_WEAK_SYMBOLS && PIC stubs resolution
171b43acbb4Smrg    
172b43acbb4Smrg    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
173b43acbb4Smrg
174b43acbb4Smrgcommit d66f107d6e714a54515f39d94caf46aef9be7416
175b43acbb4SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
176b43acbb4SmrgDate:   Wed Feb 25 21:45:50 2015 +0100
177b43acbb4Smrg
178b43acbb4Smrg    Fix is*() usage.
179b43acbb4Smrg    
180b43acbb4Smrg    The argument must be an unsigned char or -1; in these cases
181b43acbb4Smrg    we know it's not -1 so cast it to unsigned char.
182b43acbb4Smrg    Fixes
183b43acbb4Smrg    warning: array subscript is of type 'char' [-Wchar-subscripts]
184b43acbb4Smrg    
185b43acbb4Smrg    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
186b43acbb4Smrg
187b43acbb4Smrgcommit 1a73d6828dfa03924f2d68644fb5b99afd9c78e2
188b43acbb4SmrgAuthor: Benjamin Tissoires <benjamin.tissoires@gmail.com>
189b43acbb4SmrgDate:   Mon Jul 13 14:43:06 2015 -0400
190b43acbb4Smrg
191b43acbb4Smrg    bdfReadCharacters: Allow negative DWIDTH values
192b43acbb4Smrg    
193b43acbb4Smrg    The fix for CVE-2015-1804 prevent DWIDTH to be negative.
194b43acbb4Smrg    However, the spec states that "DWIDTH [...] is a vector indicating the
195b43acbb4Smrg    position of the next glyph’s origin relative to the origin of this glyph."
196b43acbb4Smrg    
197b43acbb4Smrg    So negative values are correct.
198b43acbb4Smrg    
199b43acbb4Smrg    Found by trying to compile XTS.
200b43acbb4Smrg    
201b43acbb4Smrg    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
202b43acbb4Smrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
203b43acbb4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
204b43acbb4Smrg
205b43acbb4Smrgcommit 159bfa4ec094e7d342c9b59c31bfea7dccbac58a
206b43acbb4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
207b43acbb4SmrgDate:   Sat Feb 7 17:24:48 2015 -0800
208b43acbb4Smrg
209b43acbb4Smrg    doc: add a couple olinks to fsproto & xfs-design docs
210b43acbb4Smrg    
211b43acbb4Smrg    Don't seem to have ability to link to BDF or Xserver internals docs yet
212b43acbb4Smrg    
213b43acbb4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
214b43acbb4Smrg
215121a5469Smrgcommit da4246c98bc51297daeec47c15181e179df94013
216121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
217121a5469SmrgDate:   Tue Mar 17 08:12:19 2015 -0700
218121a5469Smrg
219121a5469Smrg    libXfont 1.5.1
220121a5469Smrg    
221121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
222121a5469Smrg
223121a5469Smrgcommit 2351c83a77a478b49cba6beb2ad386835e264744
224121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
225121a5469SmrgDate:   Fri Mar 6 22:54:58 2015 -0800
226121a5469Smrg
227121a5469Smrg    bdfReadCharacters: ensure metrics fit into xCharInfo struct [CVE-2015-1804]
228121a5469Smrg    
229121a5469Smrg    We use 32-bit ints to read from the bdf file, but then try to stick
230121a5469Smrg    into a 16-bit int in the xCharInfo struct, so make sure they won't
231121a5469Smrg    overflow that range.
232121a5469Smrg    
233121a5469Smrg    Found by afl-1.24b.
234121a5469Smrg    
235121a5469Smrg    v2: Verify that additions won't overflow 32-bit int range either.
236121a5469Smrg    v3: As Julien correctly observes, the previous check for bh & bw not
237121a5469Smrg        being < 0 reduces the number of cases we need to check for overflow.
238121a5469Smrg    
239121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
240121a5469Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
241121a5469Smrg
242121a5469Smrgcommit 78c2e3d70d29698244f70164428bd2868c0ab34c
243121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
244121a5469SmrgDate:   Fri Feb 6 15:54:00 2015 -0800
245121a5469Smrg
246121a5469Smrg    bdfReadCharacters: bailout if a char's bitmap cannot be read [CVE-2015-1803]
247121a5469Smrg    
248121a5469Smrg    Previously would charge on ahead with a NULL pointer in ci->bits, and
249121a5469Smrg    then crash later in FontCharInkMetrics() trying to access the bits.
250121a5469Smrg    
251121a5469Smrg    Found with afl-1.23b.
252121a5469Smrg    
253121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
254121a5469Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
255121a5469Smrg
256121a5469Smrgcommit 2deda9906480f9c8ae07b8c2a5510cc7e4c59a8e
257121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
258121a5469SmrgDate:   Fri Feb 6 15:50:45 2015 -0800
259121a5469Smrg
260121a5469Smrg    bdfReadProperties: property count needs range check [CVE-2015-1802]
261121a5469Smrg    
262121a5469Smrg    Avoid integer overflow or underflow when allocating memory arrays
263121a5469Smrg    by multiplying the number of properties reported for a BDF font.
264121a5469Smrg    
265121a5469Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
266121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
267121a5469Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
268121a5469Smrg
269121a5469Smrgcommit d9fda3d247942292a5f24694c22337c547006e11
270121a5469SmrgAuthor: Christos Zoulas <christos@NetBSD.org>
271121a5469SmrgDate:   Wed Feb 25 21:39:30 2015 +0100
272121a5469Smrg
273121a5469Smrg    Set close-on-exec for font file I/O.
274121a5469Smrg    
275121a5469Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
276121a5469Smrg    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
277121a5469Smrg
278121a5469Smrgcommit 3b33588117c2ca3099b999939985ffe098d479b3
279121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
280121a5469SmrgDate:   Wed Nov 5 17:41:24 2014 -0800
281121a5469Smrg
282121a5469Smrg    Use 'imdent' to realign cpp indentation levels in fslibos.h
283121a5469Smrg    
284121a5469Smrg    Parts were indented, others weren't, now is more consistent.
285121a5469Smrg    'git diff -w' shows no non-whitespace changes in this commit
286121a5469Smrg    
287121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
288121a5469Smrg
289121a5469Smrgcommit 03c035b061a0582159467dcadfc8e95074e2a84f
290121a5469SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
291121a5469SmrgDate:   Wed Nov 5 17:39:05 2014 -0800
292121a5469Smrg
293121a5469Smrg    Remove unneeded checks for #ifndef X_NOT_POSIX
294121a5469Smrg    
295121a5469Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
296121a5469Smrg
2970145ab54Ssnjcommit ad4f4d8a2d0730c0ea3c09210bf921638b4682bc
29861b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2990145ab54SsnjDate:   Sat Jul 19 09:49:23 2014 -0700
30061b3db43Smrg
3010145ab54Ssnj    libXfont 1.5.0
30261b3db43Smrg    
30361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
30461b3db43Smrg
3050145ab54Ssnjcommit b19cf2a78f7f721c43d0d9e2f32b71fc746142a3
3060145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3070145ab54SsnjDate:   Mon Jul 7 13:18:18 2014 -0700
3080145ab54Ssnj
3090145ab54Ssnj    libXfont 1.4.99.901
3100145ab54Ssnj    
3110145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3120145ab54Ssnj
3130145ab54Ssnjcommit 0dcdd82059c69ec417bb094f4da2afef7cc1426a
3140145ab54SsnjAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3150145ab54SsnjDate:   Sun Apr 6 14:18:32 2014 -0500
3160145ab54Ssnj
3170145ab54Ssnj    Make shared library work on Cygwin/MinGW
3180145ab54Ssnj    
3190145ab54Ssnj    Weak symbols on PE platforms do not work the same way as on ELF
3200145ab54Ssnj    platforms, hence we have been unable to have a fully functional shared
3210145ab54Ssnj    libXfont until now.  This patch works around these issues so that we
3220145ab54Ssnj    can fix that.
3230145ab54Ssnj    
3240145ab54Ssnj    In summary, only when compiling shared libraries on NO_WEAK_SYMBOLS
3250145ab54Ssnj    platforms, when the first stub is called, the invoking program is first
3260145ab54Ssnj    checked to determine if it exports the stubbed functions.  Then, for
3270145ab54Ssnj    every stub call, if the function is exported by the loader, it is called
3280145ab54Ssnj    instead of the stub code.
3290145ab54Ssnj    
3300145ab54Ssnj    serverClient and serverGeneration are data pointers, and therefore are
3310145ab54Ssnj    replaced by getter functions. ErrorF is variadic, so the override is
3320145ab54Ssnj    routed through VErrorF instead. FatalError has no va_list equivalent,
3330145ab54Ssnj    but it is not actually used in libXfont and therefore should be safe to
3340145ab54Ssnj    remove.
3350145ab54Ssnj    
3360145ab54Ssnj    This requires all X servers to export their symbols, which requires
3370145ab54Ssnj    forthcoming patches for hw/xwin and xfs; the other xservers (including
3380145ab54Ssnj    tigervnc) already do this via LD_EXPORT_SYMBOLS_FLAG.
3390145ab54Ssnj    
3400145ab54Ssnj    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
3410145ab54Ssnj    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
3420145ab54Ssnj    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3430145ab54Ssnj    Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
3440145ab54Ssnj
3450145ab54Ssnjcommit 783a406d6258509abfbdc54c0b32366dcaf13044
3460145ab54SsnjAuthor: Keith Packard <keithp@keithp.com>
3470145ab54SsnjDate:   Mon Apr 21 13:37:00 2014 -0700
3480145ab54Ssnj
3490145ab54Ssnj    Use default glyphs when getting 16-bit font with 8-bit text
3500145ab54Ssnj    
3510145ab54Ssnj    When accessing a 16-bit font with firstRow > 0 with 8-bit text, check
3520145ab54Ssnj    to see if the font has a default character and return that for every
3530145ab54Ssnj    incoming character.
3540145ab54Ssnj    
3550145ab54Ssnj    Signed-off-by: Keith Packard <keithp@keithp.com>
3560145ab54Ssnj    Reviewed-by: Eric Anholt <eric@anholt.net>
3570145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3580145ab54Ssnj
3590145ab54Ssnjcommit e8d20171fe04dbdc5f97739d5a59e02f0b091ba0
3600145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3610145ab54SsnjDate:   Thu May 15 23:04:23 2014 -0700
3620145ab54Ssnj
3630145ab54Ssnj    Don't build unused code in bitmapfunc.c if all bitmap formats are disabled
3640145ab54Ssnj    
3650145ab54Ssnj    If the only bitmaps we support are builtins, don't need the code to
3660145ab54Ssnj    register all the bitmap font file handlers.
3670145ab54Ssnj    
3680145ab54Ssnj    Fixes gcc warnings:
3690145ab54Ssnj    bitmapfunc.c:110:1: warning: 'BitmapOpenBitmap' defined but not used [-Wunused-function]
3700145ab54Ssnj     BitmapOpenBitmap (FontPathElementPtr fpe, FontPtr *ppFont, int flags,
3710145ab54Ssnj     ^
3720145ab54Ssnj    bitmapfunc.c:155:1: warning: 'BitmapGetInfoBitmap' defined but not used [-Wunused-function]
3730145ab54Ssnj     BitmapGetInfoBitmap (FontPathElementPtr fpe, FontInfoPtr pFontInfo,
3740145ab54Ssnj     ^
3750145ab54Ssnj    
3760145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3770145ab54Ssnj    Reviewed-by: Rémi Cardona <remi@gentoo.org>
3780145ab54Ssnj
3790145ab54Ssnjcommit c2b7758d268fd98e09c3e66a0e7717b47ff12a47
3800145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3810145ab54SsnjDate:   Thu May 15 22:44:38 2014 -0700
3820145ab54Ssnj
3830145ab54Ssnj    Don't compile bitmap source files for disabled formats
3840145ab54Ssnj    
3850145ab54Ssnj    pcfread.c is a special case - it's needed for either reading pcf files
3860145ab54Ssnj    from disk (--enable-pcfformat) or from the builtin fonts in memory
3870145ab54Ssnj    (--enable-builtins), so needed a new AM_CONDITIONAL case.
3880145ab54Ssnj    
3890145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3900145ab54Ssnj    Reviewed-by: Rémi Cardona <remi@gentoo.org>
3910145ab54Ssnj
3920145ab54Ssnjcommit a81f1a9bd3cd0a9d45d93d5b9e392b4e08ac60f7
3930145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3940145ab54SsnjDate:   Thu May 15 20:43:34 2014 -0700
3950145ab54Ssnj
3960145ab54Ssnj    Drop imake/monolithic compatibility #define mapping
3970145ab54Ssnj    
3980145ab54Ssnj    Require the #defines from configure.ac now that we're not sharing source
3990145ab54Ssnj    with the imake builds any longer.
4000145ab54Ssnj    
4010145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4020145ab54Ssnj    Reviewed-by: Rémi Cardona <remi@gentoo.org>
4030145ab54Ssnj
4040145ab54Ssnjcommit 37595cfd4feaf031552d66f96dc6d58686f9c851
4050145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
4060145ab54SsnjDate:   Thu May 15 20:26:41 2014 -0700
4070145ab54Ssnj
4080145ab54Ssnj    Change default to disabling SNF support
4090145ab54Ssnj    
4100145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4110145ab54Ssnj    Reviewed-by: Rémi Cardona <remi@gentoo.org>
4120145ab54Ssnj
4130145ab54Ssnjcommit 9f677e55c7bf07df280427f127af21e5b70f1e03
4140145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
4150145ab54SsnjDate:   Thu May 15 20:21:29 2014 -0700
4160145ab54Ssnj
4170145ab54Ssnj    Use AS_HELP_STRING to provide help for AC_ARG_ENABLE & AC_ARG_WITH options
4180145ab54Ssnj    
4190145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4200145ab54Ssnj    Reviewed-by: Rémi Cardona <remi@gentoo.org>
4210145ab54Ssnj
4220145ab54Ssnjcommit d338f81df1e188eb16e1d6aeea7f4800f89c1218
42361b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42461b3db43SmrgDate:   Fri May 2 19:24:17 2014 -0700
42561b3db43Smrg
42661b3db43Smrg    CVE-2014-0210: unvalidated length fields in fs_read_list_info()
42761b3db43Smrg    
42861b3db43Smrg    fs_read_list_info() parses a reply from the font server.  The reply
42961b3db43Smrg    contains a number of additional data items with embedded length or
43061b3db43Smrg    count fields, none of which are validated. This can cause out of
43161b3db43Smrg    bound reads when looping over these items in the reply.
43261b3db43Smrg    
43361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43461b3db43Smrg
4350145ab54Ssnjcommit 5fa73ac18474be3032ee7af9c6e29deab163ea39
43661b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
43761b3db43SmrgDate:   Fri May 2 19:24:17 2014 -0700
43861b3db43Smrg
43961b3db43Smrg    CVE-2014-0210: unvalidated length fields in fs_read_list()
44061b3db43Smrg    
44161b3db43Smrg    fs_read_list() parses a reply from the font server.  The reply
44261b3db43Smrg    contains a list of strings with embedded length fields, none of
44361b3db43Smrg    which are validated. This can cause out of bound reads when looping
44461b3db43Smrg    over the strings in the reply.
44561b3db43Smrg    
44661b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44761b3db43Smrg
4480145ab54Ssnjcommit 520683652564c2a4e42328ae23eef9bb63271565
44961b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
45061b3db43SmrgDate:   Fri Apr 25 23:03:24 2014 -0700
45161b3db43Smrg
45261b3db43Smrg    CVE-2014-0210: unvalidated length fields in fs_read_glyphs()
45361b3db43Smrg    
45461b3db43Smrg    fs_read_glyphs() parses a reply from the font server.  The reply
45561b3db43Smrg    contains embedded length fields, none of which are validated.
45661b3db43Smrg    This can cause out of bound reads when looping over the glyph
45761b3db43Smrg    bitmaps in the reply.
45861b3db43Smrg    
45961b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
46061b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
46161b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
46261b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
46361b3db43Smrg
4640145ab54Ssnjcommit a3f21421537620fc4e1f844a594a4bcd9f7e2bd8
46561b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
46661b3db43SmrgDate:   Fri Apr 25 23:03:05 2014 -0700
46761b3db43Smrg
46861b3db43Smrg    CVE-2014-0210: unvalidated length fields in fs_read_extent_info()
46961b3db43Smrg    
47061b3db43Smrg    Looping over the extents in the reply could go past the end of the
47161b3db43Smrg    reply buffer if the reply indicated more extents than could fit in
47261b3db43Smrg    the specified reply length.
47361b3db43Smrg    
47461b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
47561b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47661b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
47761b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
47861b3db43Smrg
4790145ab54Ssnjcommit a42f707f8a62973f5e8bbcd08afb10a79e9cee33
48061b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48161b3db43SmrgDate:   Fri Apr 25 23:02:54 2014 -0700
48261b3db43Smrg
48361b3db43Smrg    CVE-2014-0211: integer overflow in fs_alloc_glyphs()
48461b3db43Smrg    
48561b3db43Smrg    fs_alloc_glyphs() is a malloc wrapper used by the font code.
48661b3db43Smrg    It contains a classic integer overflow in the malloc() call,
48761b3db43Smrg    which can cause memory corruption.
48861b3db43Smrg    
48961b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
49061b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49161b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
49261b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
49361b3db43Smrg
4940145ab54Ssnjcommit c578408c1fd4db09e4e3173f8a9e65c81cc187c1
49561b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49661b3db43SmrgDate:   Fri Apr 25 23:02:42 2014 -0700
49761b3db43Smrg
49861b3db43Smrg    CVE-2014-0211: integer overflow in fs_read_extent_info()
49961b3db43Smrg    
50061b3db43Smrg    fs_read_extent_info() parses a reply from the font server.
50161b3db43Smrg    The reply contains a 32bit number of elements field which is used
50261b3db43Smrg    to calculate a buffer length. There is an integer overflow in this
50361b3db43Smrg    calculation which can lead to memory corruption.
50461b3db43Smrg    
50561b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
50661b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50761b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
50861b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
50961b3db43Smrg
5100145ab54Ssnjcommit 491291cabf78efdeec8f18b09e14726a9030cc8f
51161b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51261b3db43SmrgDate:   Fri Apr 25 23:02:34 2014 -0700
51361b3db43Smrg
51461b3db43Smrg    CVE-2014-0210: unvalidated length fields in fs_read_query_info()
51561b3db43Smrg    
51661b3db43Smrg    fs_read_query_info() parses a reply from the font server.  The reply
51761b3db43Smrg    contains embedded length fields, none of which are validated.  This
51861b3db43Smrg    can cause out of bound reads in either fs_read_query_info() or in
51961b3db43Smrg    _fs_convert_props() which it calls to parse the fsPropInfo in the reply.
52061b3db43Smrg    
52161b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
52261b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52361b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
52461b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
52561b3db43Smrg
5260145ab54Ssnjcommit 0f1a5d372c143f91a602bdf10c917d7eabaee09b
52761b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52861b3db43SmrgDate:   Fri Apr 25 23:02:25 2014 -0700
52961b3db43Smrg
53061b3db43Smrg    CVE-2014-0211: Integer overflow in fs_get_reply/_fs_start_read
53161b3db43Smrg    
53261b3db43Smrg    fs_get_reply() would take any reply size, multiply it by 4 and pass to
53361b3db43Smrg    _fs_start_read.  If that size was bigger than the current reply buffer
53461b3db43Smrg    size, _fs_start_read would add it to the existing buffer size plus the
53561b3db43Smrg    buffer size increment constant and realloc the buffer to that result.
53661b3db43Smrg    
53761b3db43Smrg    This math could overflow, causing the code to allocate a smaller
53861b3db43Smrg    buffer than the amount it was about to read into that buffer from
53961b3db43Smrg    the network.  It could also succeed, allowing the remote font server
54061b3db43Smrg    to cause massive allocations in the X server, possibly using up all
54161b3db43Smrg    the address space in a 32-bit X server, allowing the triggering of
54261b3db43Smrg    other bugs in code that fails to handle malloc failure properly.
54361b3db43Smrg    
54461b3db43Smrg    This patch protects against both problems, by disconnecting any
54561b3db43Smrg    font server trying to feed us more than (the somewhat arbitrary)
54661b3db43Smrg    64 mb in a single reply.
54761b3db43Smrg    
54861b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54961b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
55061b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
55161b3db43Smrg
5520145ab54Ssnjcommit cbb64aef35960b2882be721f4b8fbaa0fb649d12
55361b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
55461b3db43SmrgDate:   Fri Apr 25 23:02:12 2014 -0700
55561b3db43Smrg
55661b3db43Smrg    CVE-2014-0210: unvalidated lengths when reading replies from font server
55761b3db43Smrg    
55861b3db43Smrg    Functions to handle replies to font server requests were casting replies
55961b3db43Smrg    from the generic form to reply specific structs without first checking
56061b3db43Smrg    that the reply was at least as long as the struct being cast to.
56161b3db43Smrg    
56261b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
56361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
56461b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
56561b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
56661b3db43Smrg
5670145ab54Ssnjcommit 891e084b26837162b12f841060086a105edde86d
56861b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
56961b3db43SmrgDate:   Fri Apr 25 23:02:00 2014 -0700
57061b3db43Smrg
57161b3db43Smrg    CVE-2014-0210: unvalidated length in _fs_recv_conn_setup()
57261b3db43Smrg    
57361b3db43Smrg    The connection setup reply from the font server can include a list
57461b3db43Smrg    of alternate servers to contact if this font server stops working.
57561b3db43Smrg    
57661b3db43Smrg    The reply specifies a total size of all the font server names, and
57761b3db43Smrg    then provides a list of names. _fs_recv_conn_setup() allocated the
57861b3db43Smrg    specified total size for copying the names to, but didn't check to
57961b3db43Smrg    make sure it wasn't copying more data to that buffer than the size
58061b3db43Smrg    it had allocated.
58161b3db43Smrg    
58261b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
58361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
58461b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
58561b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
58661b3db43Smrg
5870145ab54Ssnjcommit 05c8020a49416dd8b7510cbba45ce4f3fc81a7dc
58861b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
58961b3db43SmrgDate:   Fri Apr 25 23:01:48 2014 -0700
59061b3db43Smrg
59161b3db43Smrg    CVE-2014-0209: integer overflow of realloc() size in lexAlias()
59261b3db43Smrg    
59361b3db43Smrg    lexAlias() reads from a file in a loop. It does this by starting with a
59461b3db43Smrg    64 byte buffer.  If that size limit is hit, it does a realloc of the
59561b3db43Smrg    buffer size << 1, basically doubling the needed length every time the
59661b3db43Smrg    length limit is hit.
59761b3db43Smrg    
59861b3db43Smrg    Eventually, this will shift out to 0 (for a length of ~4gig), and that
59961b3db43Smrg    length will be passed on to realloc().  A length of 0 (with a valid
60061b3db43Smrg    pointer) causes realloc to free the buffer on most POSIX platforms,
60161b3db43Smrg    but the caller will still have a pointer to it, leading to use after
60261b3db43Smrg    free issues.
60361b3db43Smrg    
60461b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
60561b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
60661b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
60761b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
60861b3db43Smrg
6090145ab54Ssnjcommit 2f5e57317339c526e6eaee1010b0e2ab8089c42e
61061b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
61161b3db43SmrgDate:   Fri Apr 25 23:01:11 2014 -0700
61261b3db43Smrg
61361b3db43Smrg    CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry()
61461b3db43Smrg    
61561b3db43Smrg    FontFileReadDirectory() opens a fonts.dir file, and reads over every
61661b3db43Smrg    line in an fscanf loop.  For each successful entry read (font name,
61761b3db43Smrg    file name) a call is made to FontFileAddFontFile().
61861b3db43Smrg    
61961b3db43Smrg    FontFileAddFontFile() will add a font file entry (for the font name
62061b3db43Smrg    and file) each time it’s called, by calling FontFileAddEntry().
62161b3db43Smrg    FontFileAddEntry() will do the actual adding.  If the table it has
62261b3db43Smrg    to add to is full, it will do a realloc, adding 100 more entries
62361b3db43Smrg    to the table size without checking to see if that will overflow the
62461b3db43Smrg    int used to store the size.
62561b3db43Smrg    
62661b3db43Smrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
62761b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
62861b3db43Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
62961b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
63061b3db43Smrg
6310145ab54Ssnjcommit 2a5111af9e03a55bd099c6c3a5b9a7fd3dfce76f
6320145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6330145ab54SsnjDate:   Thu Apr 24 22:11:08 2014 -0700
6340145ab54Ssnj
6350145ab54Ssnj    fs_send_open_font needs to allow namelen of 0 when FontReopen is set
6360145ab54Ssnj    
6370145ab54Ssnj    When _fs_load_glyphs calls fs_send_open_font with FontReopen set, it
6380145ab54Ssnj    passes a NULL name and namelen of 0, since fs_send_open_font is going
6390145ab54Ssnj    to reuse the previous name.
6400145ab54Ssnj    
6410145ab54Ssnj    This overly restrictive check was added in XFree86 4.3.99.12:
6420145ab54Ssnj    http://cvsweb.xfree86.org/cvsweb/xc/lib/font/fc/fserve.c.diff?r1=3.23&r2=3.24
6430145ab54Ssnj    http://cvsweb.xfree86.org/cvsweb/xc/lib/font/fc/fserve.c?rev=3.24&content-type=text/vnd.viewcvs-markup
6440145ab54Ssnj    
6450145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6460145ab54Ssnj
6470145ab54Ssnjcommit 77902e1422315963364fcba3736ff9b5b0f32d47
64861b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
64961b3db43SmrgDate:   Tue Apr 22 23:49:29 2014 -0700
65061b3db43Smrg
65161b3db43Smrg    Clean up warnings when src/fc is built with -DDEBUG
65261b3db43Smrg    
65361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
65461b3db43Smrg
6550145ab54Ssnjcommit f75f7bde4cedc36d5ca1289988b3daebb80528d2
65661b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
65761b3db43SmrgDate:   Tue Apr 22 23:45:41 2014 -0700
65861b3db43Smrg
65961b3db43Smrg    Allow enabling src/fc DEBUG helpers via CPPFLAGS
66061b3db43Smrg    
66161b3db43Smrg    Instead of editing fsio.h to turn on debugging logs, just add
66261b3db43Smrg    -DDEBUG to CPPFLAGS when building.
66361b3db43Smrg    
66461b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
66561b3db43Smrg
6660145ab54Ssnjcommit 21f5d3ec9d833b8bce08d0749b8001e1e88544ac
6670145ab54SsnjAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6680145ab54SsnjDate:   Mon Apr 21 22:05:20 2014 -0700
6690145ab54Ssnj
6700145ab54Ssnj    Bump version to 1.4.99.0 for master branch (to become 1.5)
6710145ab54Ssnj    
6720145ab54Ssnj    libXfont 1.5.0 will be synchronized with the fontsproto 2.1.3 API
6730145ab54Ssnj    changes needed for xorg-server 1.16 branch.
6740145ab54Ssnj    
6750145ab54Ssnj    libXfont 1.4.x will be left for stable release branch for older
6760145ab54Ssnj    Xserver releases.
6770145ab54Ssnj    
6780145ab54Ssnj    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6790145ab54Ssnj
6800145ab54Ssnjcommit 5a398a55ccdd92d0ff05793692ef8e57f3a50198
68161b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
68261b3db43SmrgDate:   Sun Apr 20 18:10:07 2014 -0700
68361b3db43Smrg
6840145ab54Ssnj    Require fontsproto 2.1.3 for matching function prototypes
68561b3db43Smrg    
6860145ab54Ssnj    Building current libXfont git against fontsproto 2.1.2 causes clang
68761b3db43Smrg    complaints of:
68861b3db43Smrg    
68961b3db43Smrg    patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
69061b3db43Smrg    CacheFontPattern (FontPatternCachePtr cache,
69161b3db43Smrg    ^
69261b3db43Smrg    patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern'
69361b3db43Smrg    FindCachedFontPattern (FontPatternCachePtr cache,
69461b3db43Smrg    ^
69561b3db43Smrg    
69661b3db43Smrg    due to the constification of arguments not matching.
69761b3db43Smrg    
69861b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
69961b3db43Smrg    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
70061b3db43Smrg
7010145ab54Ssnjcommit c77a0784bdfc8c178f0742689cf6ae02a2fce37f
70261b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
70361b3db43SmrgDate:   Sun Apr 20 17:59:14 2014 -0700
70461b3db43Smrg
70561b3db43Smrg    Check if pointer returned by BufFileCreate is NULL before writing to it
70661b3db43Smrg    
70761b3db43Smrg    Fixes clang analyzer warning:
70861b3db43Smrg    
70961b3db43Smrg    bufio.c:165:13: warning: Access to field 'bufp' results in a dereference
71061b3db43Smrg     of a null pointer (loaded from variable 'f')
71161b3db43Smrg        f->bufp = f->buffer;
71261b3db43Smrg        ~       ^
71361b3db43Smrg    
71461b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
71561b3db43Smrg    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
71661b3db43Smrg
7170145ab54Ssnjcommit c8855746aec2a9b732502da0ca3258b4e701c61a
71861b3db43SmrgAuthor: Peter Harris <pharris@opentext.com>
71961b3db43SmrgDate:   Mon Apr 7 14:25:02 2014 -0400
72061b3db43Smrg
72161b3db43Smrg    Fix buffer read overrun
72261b3db43Smrg    
72361b3db43Smrg    "FreeType" is only eight bytes long. The atom "FreeType\x00\x??" is
72461b3db43Smrg    probably not what the author intended.
72561b3db43Smrg    
72661b3db43Smrg    Signed-off-by: Peter Harris <pharris@opentext.com>
72761b3db43Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7280145ab54Ssnj
7290145ab54Ssnjcommit a96cc1f032a059da89319ceccb6659c8edd446fb
7300145ab54SsnjAuthor: Keith Packard <keithp@keithp.com>
7310145ab54SsnjDate:   Fri Nov 15 21:46:15 2013 +0900
7320145ab54Ssnj
7330145ab54Ssnj    Warning fixes.
7340145ab54Ssnj    
7350145ab54Ssnj    Many const char issues.
7360145ab54Ssnj    
7370145ab54Ssnj    One extra 'i' declared in ScaleFont; we can just use the same 'i' as
7380145ab54Ssnj    exists at the top level scope.
7390145ab54Ssnj    
7400145ab54Ssnj    Also ignore bad-function-cast in ftfuncs.c and bitscale.c because
7410145ab54Ssnj    we're casting the return value from floor or ceil from double to
7420145ab54Ssnj    int. As floor and ceil are kinda designed to generate integer results,
7430145ab54Ssnj    it's pretty clear that we're doing what we want and that the compiler
7440145ab54Ssnj    is generating noise. I'm not sure why bad-function-cast is ever a good
7450145ab54Ssnj    warning to turn on, but I'll leave that for another day.
7460145ab54Ssnj    
7470145ab54Ssnj    Signed-off-by: Keith Packard <keithp@keithp.com>
7480145ab54Ssnj    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
74961b3db43Smrg
75061b3db43Smrgcommit 2a3429413df27224ceeddd22500ce43b5431d698
75161b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
75261b3db43SmrgDate:   Fri Jan 17 22:25:56 2014 -0800
75361b3db43Smrg
75461b3db43Smrg    Add note to README declaring snf fonts to be deprecated
75561b3db43Smrg    
75661b3db43Smrg    pcf was introduced to replace snf in X11R5 in 1991:
75761b3db43Smrg        http://www.x.org/wiki/X11R5/#index56h3
75861b3db43Smrg    22 years is long enough to move off a font format that was alive for
75961b3db43Smrg    less than a decade before that, and widely considered a bad idea even
76061b3db43Smrg    then:
76161b3db43Smrg        http://www.faqs.org/faqs/fonts-faq/part15/
76261b3db43Smrg    
76361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
76461b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
76561b3db43Smrg    Reviewed-by: Eric Anholt <eric@anholt.net>
76661b3db43Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
76761b3db43Smrg
76861b3db43Smrgcommit efcb136a03f642fba7e289e25d5dcf609bd13f07
76961b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
77061b3db43SmrgDate:   Fri Jan 17 22:25:01 2014 -0800
77161b3db43Smrg
77261b3db43Smrg    Add notes to README about various font formats & configure options
77361b3db43Smrg    
77461b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
77561b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
77661b3db43Smrg    Reviewed-by: Eric Anholt <eric@anholt.net>
77761b3db43Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
77861b3db43Smrg
77961b3db43Smrgcommit 5d696738c2ab901bdef004169799bb63939fa7b5
78061b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
78161b3db43SmrgDate:   Fri Jan 17 22:00:25 2014 -0800
78261b3db43Smrg
78361b3db43Smrg    Correct comment in configure.ac about scalable font support
78461b3db43Smrg    
78561b3db43Smrg    Bitstream Speedo support was removed in commit d50de26430c1a114a.
78661b3db43Smrg    All scalable font support now goes through FreeType, which can
78761b3db43Smrg    also handle some bitmap font formats as well.
78861b3db43Smrg    
78961b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
79061b3db43Smrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
79161b3db43Smrg    Reviewed-by: Eric Anholt <eric@anholt.net>
79261b3db43Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
79361b3db43Smrg
79461b3db43Smrgcommit 6371fcf2b60e48605ed59f098d1e642e35b1d142
79561b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
79661b3db43SmrgDate:   Tue Jan 7 23:09:08 2014 -0800
79761b3db43Smrg
79861b3db43Smrg    Remove redundant setting of 'len' in SPropRecValList_add_by_font_cap
79961b3db43Smrg    
80061b3db43Smrg    Found by cppcheck 1.63:
80161b3db43Smrg    [FreeType/xttcap.c:621] -> [FreeType/xttcap.c:624]: (performance)
80261b3db43Smrg     Variable 'len' is reassigned a value before the old one has been used.
80361b3db43Smrg    
80461b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
80561b3db43Smrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
80661b3db43Smrg
80761b3db43Smrgcommit 63c7ac4dbb739e51d55249e71282699e5e0d7e1d
80861b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
80961b3db43SmrgDate:   Tue Jan 7 22:58:22 2014 -0800
81061b3db43Smrg
81161b3db43Smrg    Initialize (unused) data field in fsListCataloguesReq before sending it.
81261b3db43Smrg    
81361b3db43Smrg    Quiets cppcheck 1.63 warning:
81461b3db43Smrg    [fc/fserve.c:2972]: (error) Uninitialized variable: lcreq
81561b3db43Smrg    
81661b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
81761b3db43Smrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
81861b3db43Smrg
81961b3db43Smrgcommit d279ffa49284b5e5f787f76edbe8c52226534a64
82061b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
82161b3db43SmrgDate:   Tue Jan 7 22:29:04 2014 -0800
82261b3db43Smrg
82361b3db43Smrg    Remove redundant declaration of FontFileStartListFonts()
82461b3db43Smrg    
82561b3db43Smrg    Fixes gcc warning:
82661b3db43Smrg    catalogue.c:336:1: warning: redundant redeclaration of
82761b3db43Smrg     'FontFileStartListFonts' [-Wredundant-decls]
82861b3db43Smrg    In file included from ../../include/X11/fonts/fntfilst.h:40:0,
82961b3db43Smrg                     from catalogue.c:32:
83061b3db43Smrg    ../../include/X11/fonts/fntfil.h:92:12: note: previous declaration
83161b3db43Smrg     of 'FontFileStartListFonts' was here
83261b3db43Smrg    
83361b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
83461b3db43Smrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
83561b3db43Smrg
83661b3db43Smrgcommit 2fb6295ace36394732815aca5aef1a85e63de56c
83761b3db43SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
83861b3db43SmrgDate:   Tue Jan 7 22:15:50 2014 -0800
83961b3db43Smrg
84061b3db43Smrg    Fix unused variable 'dir' warnings
84161b3db43Smrg    
84261b3db43Smrg    catalogue.c: In function 'CatalogueOpenFont':
84361b3db43Smrg    catalogue.c:290:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
84461b3db43Smrg    catalogue.c: In function 'CatalogueListFonts':
84561b3db43Smrg    catalogue.c:324:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
84661b3db43Smrg    fpe.c: In function 'BuiltinResetFPE':
84761b3db43Smrg    fpe.c:57:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
84861b3db43Smrg    
84961b3db43Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
85061b3db43Smrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
85161b3db43Smrg
852b020570bSmrgcommit 30110063857ff9a5f93f6d8d13f535c9b6e59e2a
853b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
854b020570bSmrgDate:   Tue Jan 7 08:22:31 2014 -0800
855b020570bSmrg
856b020570bSmrg    libXfont 1.4.7
857b020570bSmrg    
858b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
859b020570bSmrg
860b020570bSmrgcommit 2a84680376bafd74609c6ef3e38befcb8467d814
861b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
862b020570bSmrgDate:   Mon Dec 23 19:01:11 2013 -0800
863b020570bSmrg
864b020570bSmrg    Limit additional sscanf strings to fit buffer sizes
865b020570bSmrg    
866b020570bSmrg    None of these could currently result in buffer overflow, as the input
867b020570bSmrg    and output buffers were the same size, but adding limits helps ensure
868b020570bSmrg    we keep it that way, if we ever resize any of these in the future.
869b020570bSmrg    
870b020570bSmrg    Fixes cppcheck warnings:
871b020570bSmrg     [lib/libXfont/src/bitmap/bdfread.c:547]: (warning)
872b020570bSmrg      scanf without field width limits can crash with huge input data.
873b020570bSmrg     [lib/libXfont/src/bitmap/bdfread.c:553]: (warning)
874b020570bSmrg      scanf without field width limits can crash with huge input data.
875b020570bSmrg     [lib/libXfont/src/bitmap/bdfread.c:636]: (warning)
876b020570bSmrg      scanf without field width limits can crash with huge input data.
877b020570bSmrg    
878b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
879b020570bSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
880b020570bSmrg    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
881b020570bSmrg
882b020570bSmrgcommit 4d024ac10f964f6bd372ae0dd14f02772a6e5f63
883b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
884b020570bSmrgDate:   Mon Dec 23 18:34:02 2013 -0800
885b020570bSmrg
886b020570bSmrg    CVE-2013-6462: unlimited sscanf overflows stack buffer in bdfReadCharacters()
887b020570bSmrg    
888b020570bSmrg    Fixes cppcheck warning:
889b020570bSmrg     [lib/libXfont/src/bitmap/bdfread.c:341]: (warning)
890b020570bSmrg      scanf without field width limits can crash with huge input data.
891b020570bSmrg    
892b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
893b020570bSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
894b020570bSmrg    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
895b020570bSmrg
896b020570bSmrgcommit fdcf9a9be6a5d453659beadec5d1a1fdbab9afaf
897b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
898b020570bSmrgDate:   Fri Dec 27 11:01:35 2013 -0800
899b020570bSmrg
900b020570bSmrg    Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions
901b020570bSmrg    
902b020570bSmrg    Required on Solaris to expose definitions in system headers that
903b020570bSmrg    are not defined in the XPG standards now that xtrans 1.3 defines
904b020570bSmrg    _XOPEN_SOURCE to 600 on Solaris.
905b020570bSmrg    
906b020570bSmrg    Fixes build failures:
907b020570bSmrg    fserve.c: In function 'fs_block_handler':
908b020570bSmrg    fserve.c:1210:5: error: 'fd_mask' undeclared (first use in this function)
909b020570bSmrg    fserve.c:1210:5: note: each undeclared identifier is reported only once for each function it appears in
910b020570bSmrg    In file included from transport.c:67:0,
911b020570bSmrg                     from fstrans.c:28:
912b020570bSmrg    Xtranssock.c: In function '_FontTransSocketINETConnect':
913b020570bSmrg    Xtranssock.c:1421:19: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
914b020570bSmrg    Xtranssock.c:1421:19: note: each undeclared identifier is reported only once for each function it appears in
915b020570bSmrg    
916b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
917b020570bSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
918b020570bSmrg
919b020570bSmrgcommit 0d24378a6f08f5ab594ff552d60cf5f8f74bcb33
920b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
921b020570bSmrgDate:   Sat Dec 7 20:11:29 2013 -0800
922b020570bSmrg
923b020570bSmrg    Don't leak old allocation if realloc fails to enlarge it
924b020570bSmrg    
925b020570bSmrg    In ftfuncs.c, since the buffer being reallocated is a function local
926b020570bSmrg    buffer, used to accumulate data for a single run of the function and
927b020570bSmrg    then freed at the end of the function, we just free the old buffer if
928b020570bSmrg    realloc fails.
929b020570bSmrg    
930b020570bSmrg    In atom.c however, the ReverseMap is a static buffer, so we operate in
931b020570bSmrg    temporary variables until we know we're successful, then update the
932b020570bSmrg    static variables.  If we fail, we leave the old static variables in place,
933b020570bSmrg    since they contain data about previous atoms we should maintain, not lose.
934b020570bSmrg    
935b020570bSmrg    Reported by cppcheck:
936b020570bSmrg    [lib/libXfont/src/FreeType/ftfuncs.c:2122]: (error) Common realloc mistake:
937b020570bSmrg     'ranges' nulled but not freed upon failure
938b020570bSmrg    [lib/libXfont/src/util/atom.c:126]: (error) Common realloc mistake:
939b020570bSmrg     'reverseMap' nulled but not freed upon failure
940b020570bSmrg    
941b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
942b020570bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
943b020570bSmrg
944b020570bSmrgcommit 5e27c364b174497d427dcecd122d711ef6b9f630
945b020570bSmrgAuthor: Julien Cristau <jcristau@debian.org>
946b020570bSmrgDate:   Mon Aug 12 18:40:27 2013 +0200
947b020570bSmrg
948b020570bSmrg    Make serverGeneration unsigned
949b020570bSmrg    
950b020570bSmrg    Makes the definition match other declarations, and xserver's definition.
951b020570bSmrg    
952b020570bSmrg    Debian bug#689439
953b020570bSmrg    
954b020570bSmrg    Reported-by: Michael Tautschnig <mt@debian.org>
955b020570bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
956b020570bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
957b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
958b020570bSmrg
959b020570bSmrgcommit 7d34534c050cb4366c7b14bff585c17d6d578f89
960b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
961b020570bSmrgDate:   Sat Oct 26 00:06:22 2013 -0700
962b020570bSmrg
963b020570bSmrg    Replace malloc(strlen)+strcpy/strcat calls with strdup
964b020570bSmrg    
965b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
966b020570bSmrg
967b020570bSmrgcommit 8a9fc31628a98e3cdaae6078bb5d92bce06c37ac
968b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
969b020570bSmrgDate:   Fri Oct 25 23:56:55 2013 -0700
970b020570bSmrg
971b020570bSmrg    xstrdup -> strdup
972b020570bSmrg    
973b020570bSmrg    Missed in xalloc -> malloc etal conversion in 0cdc9b8f850342
974b020570bSmrg    
975b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
976b020570bSmrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
977b020570bSmrg
978b020570bSmrgcommit 8b289e10c5013cdcbf817c06bd929e3ea8339987
979b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
980b020570bSmrgDate:   Sun Jul 21 16:53:47 2013 -0700
981b020570bSmrg
982b020570bSmrg    libXfont 1.4.6
983b020570bSmrg    
984b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
985b020570bSmrg
986b020570bSmrgcommit 7447029974415641a7a8a85918edcc20cfd9d461
987b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
988b020570bSmrgDate:   Mon Jun 24 22:40:39 2013 -0700
989b020570bSmrg
990b020570bSmrg    Require ANSI C89 pre-processor, drop pre-C89 token pasting support
991b020570bSmrg    
992b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
993b020570bSmrg
994b020570bSmrgcommit c21d25de05d82a761a3225b685e9adcb7bb374bd
995b020570bSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
996b020570bSmrgDate:   Sun Jun 2 21:03:27 2013 +0200
997b020570bSmrg
998b020570bSmrg    Protect config.h inclusion with ifdef HAVE_CONFIG_H, like usual.
999b020570bSmrg    
1000b020570bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1001b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1002b020570bSmrg
1003b020570bSmrgcommit b8dd42dce868f9c16a59790ce51f0542b59cb79d
1004b020570bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1005b020570bSmrgDate:   Tue Jan 15 18:30:32 2013 -0800
1006b020570bSmrg
1007b020570bSmrg    Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS
1008b020570bSmrg    
1009b020570bSmrg    Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
1010b020570bSmrg    
1011b020570bSmrg      - Support for the long-deprecated INCLUDES variable will be removed
1012b020570bSmrg        altogether in Automake 1.14.  The AM_CPPFLAGS variable should be
1013b020570bSmrg        used instead.
1014b020570bSmrg    
1015b020570bSmrg    This variable was deprecated in Automake releases prior to 1.10, which is
1016b020570bSmrg    the current minimum level required to build X.
1017b020570bSmrg    
1018b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1019b020570bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1020b020570bSmrg
1021b020570bSmrgcommit 8d946d2606b3a349b2a54d602e027a09ae330e88
1022b020570bSmrgAuthor: Colin Walters <walters@verbum.org>
1023b020570bSmrgDate:   Wed Jan 4 17:37:06 2012 -0500
1024b020570bSmrg
1025b020570bSmrg    autogen.sh: Implement GNOME Build API
1026b020570bSmrg    
1027b020570bSmrg    http://people.gnome.org/~walters/docs/build-api.txt
1028b020570bSmrg    
1029b020570bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
1030b020570bSmrg
1031b020570bSmrgcommit 9d8936879b2fe1ca6460354ef68cd5e824d6748c
1032b020570bSmrgAuthor: Adam Jackson <ajax@redhat.com>
1033b020570bSmrgDate:   Tue Jan 15 14:28:48 2013 -0500
1034b020570bSmrg
1035b020570bSmrg    configure: Remove AM_MAINTAINER_MODE
1036b020570bSmrg    
1037b020570bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
1038b020570bSmrg
1039b020570bSmrgcommit a756da1844f63a2f2162eb8e53a883f496e4faad
1040b020570bSmrgAuthor: Adam Jackson <ajax@redhat.com>
1041b020570bSmrgDate:   Fri Dec 7 10:30:38 2012 -0500
1042b020570bSmrg
1043b020570bSmrg    catalogue: Fix obvious thinko
1044b020570bSmrg    
1045b020570bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
1046b020570bSmrg
1047b020570bSmrgcommit 5680e4c3d76cd5c64175d88d0685ee6962aa1e46
1048b020570bSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1049b020570bSmrgDate:   Mon Oct 29 09:59:30 2012 -0500
1050b020570bSmrg
1051b020570bSmrg    Omit catalogue support on systems without symlinks
1052b020570bSmrg    
1053b020570bSmrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1054b020570bSmrg    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
1055b020570bSmrg    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
1056b020570bSmrg
1057b020570bSmrgcommit 3c534f72d6d4327926474a5f8fa53cbcf19de3cf
1058b020570bSmrgAuthor: Arvind Umrao <arvind.umrao@oracle.com>
1059b020570bSmrgDate:   Thu Aug 23 16:15:04 2012 +0530
1060b020570bSmrg
1061b020570bSmrg    If socket is interrupted with signal EINTR, re-attempt read.
1062b020570bSmrg    
1063b020570bSmrg    If socket is getting interrupted with signal EINTR, we should keep
1064b020570bSmrg    socket in progress state. I have borrowed following code from socket
1065b020570bSmrg    write _fs_flush():line274 . I have done exactly same at _fs_fill().
1066b020570bSmrg    Socket write will not close the connection and re attempt to read buffer.
1067b020570bSmrg    
1068b020570bSmrg    Signed-off-by: Arvind Umrao <arvind.umrao@oracle.com>
1069b020570bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1070b020570bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1071b020570bSmrg
107241c30155Smrgcommit 4b67ad5486c322c01a2ca86b0b4af0a74228f813
107341c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
107441c30155SmrgDate:   Fri Mar 2 10:05:21 2012 -0800
107541c30155Smrg
107641c30155Smrg    libXfont 1.4.5
107741c30155Smrg    
107841c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
107941c30155Smrg
108041c30155Smrgcommit 3f87a8b0b86de83ea8944a53de82caf254a9988a
108141c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
108241c30155SmrgDate:   Fri Oct 21 20:49:50 2011 -0700
108341c30155Smrg
108441c30155Smrg    Use * precision notation instead of computing sprintf format strings
108541c30155Smrg    
108641c30155Smrg    Allows gcc to check format strings instead of just warning about them
108741c30155Smrg    
108841c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
108941c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
109041c30155Smrg
109141c30155Smrgcommit 613faa245437bb948b4c86ea6c7fbb716e38f0bf
109241c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
109341c30155SmrgDate:   Sun Oct 2 09:30:09 2011 -0700
109441c30155Smrg
109541c30155Smrg    Fix printf warnings about incorrect argument types
109641c30155Smrg    
109741c30155Smrg    Mostly due to difference between sizeof & int on 64-bit platforms
109841c30155Smrg    
109941c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
110041c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
110141c30155Smrg
110241c30155Smrgcommit f24c559bcb42e3ea9321c3e6a9ecf0720a581e33
110341c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
110441c30155SmrgDate:   Sun Oct 2 09:19:47 2011 -0700
110541c30155Smrg
110641c30155Smrg    Add _X_ATTRIBUTE_PRINTF to *Error/*Warning functions taking printf formats
110741c30155Smrg    
110841c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
110941c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
111041c30155Smrg
111141c30155Smrgcommit 3715cd752bac912a56aa1cbb9dd874624a709aab
111241c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
111341c30155SmrgDate:   Sun Oct 2 09:16:05 2011 -0700
111441c30155Smrg
111541c30155Smrg    Add const attributes to fix gcc -Wwrite-strings warnings
111641c30155Smrg    
111741c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
111841c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
111941c30155Smrg
112041c30155Smrgcommit 8d130ac0fcf19e0e0dd0a404d9317fd8860baad4
112141c30155SmrgAuthor: Tomas Hoger <thoger@redhat.com>
112241c30155SmrgDate:   Mon Oct 10 14:38:06 2011 -0700
112341c30155Smrg
112441c30155Smrg    Support compress files with maxbits < 12
112541c30155Smrg    
112641c30155Smrg    The compress decompression code used by libXfont rejects valid archives
112741c30155Smrg    with maxbits less than 12 (compress allows values 9 - 16, 16 is the
112841c30155Smrg    default).  This is because maxbits-12 is used as index to hsize_table[].
112941c30155Smrg    
113041c30155Smrg    That looks like an incorrect port of the original compress code, where:
113141c30155Smrg    - hsize depended on BITS, the maximum maxbits value supported by particular
113241c30155Smrg      build, rather than on maxbits value from the particular input file
113341c30155Smrg    - the same hsize was used for all BITS <= 12
113441c30155Smrg    
113541c30155Smrg    The quick way to verify the problem is:
113641c30155Smrg      compress -b 11 fontfile.bdf
113741c30155Smrg      bdftopcf -o /dev/null fontfile.bdf.Z
113841c30155Smrg    which fails, while 12-16 works correctly.
113941c30155Smrg    
114041c30155Smrg    This fix removes hsize_table and uses 1 << maxbits (aka maxmaxcode) as
114141c30155Smrg    tab_prefix size.  As decompression code does not use hashing as compression
114241c30155Smrg    code, there does not seem to be a reason to allocate any extra space.
114341c30155Smrg    
114441c30155Smrg    Note: In this fix, maxbits == 9 is still rejected early.  AFAICS compress
114541c30155Smrg    is able to generate such files (unknown how correct such output is), but is
114641c30155Smrg    unable to uncompress them correctly.
114741c30155Smrg    
114841c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
114941c30155Smrg
115041c30155Smrgcommit bb97dbf56dff50bef936c0631587ed08dd6c8fa9
115141c30155SmrgAuthor: Matt Dew <marcoz@osource.org>
115241c30155SmrgDate:   Mon Oct 3 20:23:47 2011 -0600
115341c30155Smrg
115441c30155Smrg        1 - fix the capitalization of the ID attriutes to match either the
115541c30155Smrg            <title> or <funcdef> string it goes with.
115641c30155Smrg        2 - fix any <linkend>'s that were affected by 1.
115741c30155Smrg        3 - any <function> in the docs that has an actual funcdef,
115841c30155Smrg            will become an olink.
115941c30155Smrg    
116041c30155Smrg        Signed-off-by: Matt Dew <marcoz@osource.org>
116141c30155Smrg
116241c30155Smrgcommit c73a0e09a2713d0dc16ca5cd9d288b8868846a19
116341c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
116441c30155SmrgDate:   Thu Sep 22 14:00:36 2011 -0400
116541c30155Smrg
116641c30155Smrg    doc: fix typo in copyright statement
116741c30155Smrg    
116841c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
116941c30155Smrg
117041c30155Smrgcommit d86d8f34f5c2ac5c80230aea2de49bb97eaf5f92
117141c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
117241c30155SmrgDate:   Thu Sep 22 09:20:38 2011 -0400
117341c30155Smrg
117441c30155Smrg    doc: refactor legal text for multi licensing copyrights
117541c30155Smrg    
117641c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
117741c30155Smrg
117841c30155Smrgcommit 43d587d89bee679850bb18ff25aa77c961712728
117941c30155SmrgAuthor: Olli Vertanen <olli.vertanen@symbio.com>
118041c30155SmrgDate:   Tue Sep 6 19:00:55 2011 +0000
118141c30155Smrg
118241c30155Smrg    libxfont: An uninitialized pointer causes a crash if pcf header is corrupted.
118341c30155Smrg    
118441c30155Smrg    If pcfReadTOC() or pcfGetProperties() fail in the beginning
118541c30155Smrg    of execution of pcfReadFont(), function tries to free an
118641c30155Smrg    uninitialized pointer (isStringProp) when bailing out.
118741c30155Smrg    
118841c30155Smrg    The pointer gets now initialized correctly.
118941c30155Smrg    
119041c30155Smrg    Signed-off-by: Olli Vertanen <olli.vertanen@symbio.com>
119141c30155Smrg    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
119241c30155Smrg
119341c30155Smrgcommit 73e6c94a351c891ed85446df84c9a30a4224f478
119441c30155SmrgAuthor: Joerg Sonnenberger <joerg@britannica.bec.de>
119541c30155SmrgDate:   Sun Aug 21 19:07:51 2011 +0200
119641c30155Smrg
119741c30155Smrg    Fix empty statement in if conditional.
119841c30155Smrg    
119941c30155Smrg    Assume for a moment that the intention here is to do
120041c30155Smrg    something useful.
120141c30155Smrg    
120241c30155Smrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
120341c30155Smrg
120441c30155Smrgcommit bd48ad11fd11412c62c3ac8ed5d52c4f10a985aa
120541c30155SmrgAuthor: Joerg Sonnenberger <joerg@britannica.bec.de>
120641c30155SmrgDate:   Sun Aug 21 18:51:53 2011 +0200
120741c30155Smrg
120841c30155Smrg    Do proper input validation to fix for CVE-2011-2895.
120941c30155Smrg    
121041c30155Smrg    It ensures that all valid input can be decompressed, checks that the
121141c30155Smrg    overflow conditions doesn't happen and generally tightens the
121241c30155Smrg    validation of the LZW stream and doesn't pessimize the inner loop for
121341c30155Smrg    no good reason. It's derived from a change in libarchive from 2004.
121441c30155Smrg    
121541c30155Smrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
121641c30155Smrg    Reviewed-by: Tomas Hoger <thoger@redhat.com>
121741c30155Smrg
121841c30155Smrgcommit 098ab294deed98371ee362fadafcf2e510e0cc50
121941c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
122041c30155SmrgDate:   Fri Sep 16 22:21:21 2011 -0700
122141c30155Smrg
122241c30155Smrg    Strip trailing whitespace
122341c30155Smrg    
122441c30155Smrg    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
122541c30155Smrg    git diff -w & git diff -b show no diffs from this change
122641c30155Smrg    
122741c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
122841c30155Smrg
122941c30155Smrgcommit 211368b8d04ed13ba520de2dd49a875cb1d663a7
123041c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
123141c30155SmrgDate:   Mon Sep 12 11:09:50 2011 -0400
123241c30155Smrg
123341c30155Smrg    docs: use the &fullrelvers; entity to set X11 release information
123441c30155Smrg    
123541c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
123641c30155Smrg
123741c30155Smrgcommit 425ee265c61b3815a0ef1e4e0445dc91921d71ee
123841c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
123941c30155SmrgDate:   Fri Sep 9 13:08:04 2011 -0400
124041c30155Smrg
124141c30155Smrg    devbook.am: maintenance update from docbook.am
124241c30155Smrg    
124341c30155Smrg    The developer docs are generated from a subset of docbook.am
124441c30155Smrg    which is sometimes updated.
124541c30155Smrg    
124641c30155Smrg    The one difference is the embedded css style in the HEAD element.
124741c30155Smrg    
124841c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
124941c30155Smrg
125041c30155Smrgcommit 1c7cfd7a2b89329f27951c0437f925dd3301e3de
125141c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
125241c30155SmrgDate:   Wed Aug 10 22:19:44 2011 -0700
125341c30155Smrg
125441c30155Smrg    Remove configure comment about synchronizing version numbers
125541c30155Smrg    
125641c30155Smrg    This appears to have been a mistaken copy-and-paste from something like
125741c30155Smrg    libXcursor - I can't find any Xfont.h header, nor any libXfont header
125841c30155Smrg    containing a version number.
125941c30155Smrg    
126041c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
126141c30155Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
126241c30155Smrg
126341c30155Smrgcommit a7970f5c817b5c75d945389cfaf1384ff23437f3
126441c30155SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
126541c30155SmrgDate:   Mon Aug 8 18:08:05 2011 +0200
126641c30155Smrg
126741c30155Smrg    libXfont 1.4.4
126841c30155Smrg    
126941c30155Smrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
127041c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
127141c30155Smrg
127241c30155Smrgcommit d11ee5886e9d9ec610051a206b135a4cdc1e09a0
127341c30155SmrgAuthor: Thomas Hoger <thoger@redhat.com>
127441c30155SmrgDate:   Mon Aug 8 18:03:09 2011 +0200
127541c30155Smrg
127641c30155Smrg    LZW decompress: fix for CVE-2011-2895
127741c30155Smrg    
127841c30155Smrg    Specially crafted LZW stream can crash an application using libXfont
127941c30155Smrg    that is used to open untrusted font files.  With X server, this may
128041c30155Smrg    allow privilege escalation when exploited
128141c30155Smrg    
128241c30155Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
128341c30155Smrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
128441c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
128541c30155Smrg
128641c30155Smrgcommit 214ca6a7a2247544627e6dc7c8705811305ad007
128741c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
128841c30155SmrgDate:   Mon May 16 18:28:13 2011 -0700
128941c30155Smrg
129041c30155Smrg    Fix memory leak in allocation failure path of BitmapOpenScalable()
129141c30155Smrg    
129241c30155Smrg    Go ahead and fill in the font->info pointers so that bitmapUnloadScalable()
129341c30155Smrg    will free the bits that were allocated, even if some were not.
129441c30155Smrg    
129541c30155Smrg    Error: Memory leak (CWE 401)
129641c30155Smrg       Memory leak of pointer <unknown> allocated with ComputeScaledProperties(...)
129741c30155Smrg            at line 1629 of /export/alanc/X.Org/git/lib/libXfont/src/bitmap/bitscale.c in function 'BitmapOpenScalable'.
129841c30155Smrg              pointer allocated at line 1616 with ComputeScaledProperties(...).
129941c30155Smrg              <unknown> leaks when props != 0 at line 1623.
130041c30155Smrg    
130141c30155Smrg    [ This bug was found by the Parfait 0.3.7 bug checking tool.
130241c30155Smrg      For more information see http://labs.oracle.com/projects/parfait/ ]
130341c30155Smrg    
130441c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
130541c30155Smrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
130641c30155Smrg
130741c30155Smrgcommit 7f8345aa6fb60a7fd7adf0095a2354fad1d8d5ef
130841c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
130941c30155SmrgDate:   Wed Mar 2 14:33:07 2011 -0500
131041c30155Smrg
131141c30155Smrg    doc: use common makefile for developers documentation
131241c30155Smrg    
131341c30155Smrg    The user/specs docs now have external references support.
131441c30155Smrg    Developers doc are not installed so they do not participate.
131541c30155Smrg    However, using a similar makefile shared amongst developers
131641c30155Smrg    document reduces maintenance and is forward looking.
131741c30155Smrg    
131841c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
131941c30155Smrg
132041c30155Smrgcommit 77027deabca37183cfbbed107cf14ca80f29f26d
132141c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
132241c30155SmrgDate:   Wed Feb 2 11:43:42 2011 -0500
132341c30155Smrg
132441c30155Smrg    config: comment, minor upgrade, quote and layout configure.ac
132541c30155Smrg    
132641c30155Smrg    Group statements per section as per Autoconf standard layout
132741c30155Smrg    Quote statements where appropriate.
132841c30155Smrg    Autoconf recommends not using dnl instead of # for comments
132941c30155Smrg    
133041c30155Smrg    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
133141c30155Smrg    Add AC_CONFIG_SRCDIR([Makefile.am])
133241c30155Smrg    
133341c30155Smrg    This helps automated maintenance and release activities.
133441c30155Smrg    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
133541c30155Smrg
133641c30155Smrgcommit 9ea1790d61bd135714c40e5089ecb1effa1dbcc0
133741c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
133841c30155SmrgDate:   Thu Jan 27 18:50:15 2011 -0500
133941c30155Smrg
134041c30155Smrg    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
134141c30155Smrg    
134241c30155Smrg    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
134341c30155Smrg    AC_PROG_C_C99. This sets gcc with -std=gnu99.
134441c30155Smrg    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
134541c30155Smrg    
134641c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
134741c30155Smrg
134841c30155Smrgcommit 4e0c6c45d819befdd9315d6282b957f7cfec3ae2
134941c30155SmrgAuthor: Paulo Zanoni <pzanoni@mandriva.com>
135041c30155SmrgDate:   Thu Dec 16 14:09:12 2010 -0200
135141c30155Smrg
135241c30155Smrg    Use docbookx.dtd version 4.3 for all docs
135341c30155Smrg    
135441c30155Smrg    Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
135541c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
135641c30155Smrg
135741c30155Smrgcommit 01c30845853f5a8114467185d76274ae9bbff091
135841c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
135941c30155SmrgDate:   Sun Nov 21 11:35:20 2010 -0800
136041c30155Smrg
136141c30155Smrg    Sun's copyrights belong to Oracle now
136241c30155Smrg    
136341c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
136441c30155Smrg
136541c30155Smrgcommit 72ade58381a49514f2b29065ba33a464b7efc3d0
136641c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
136741c30155SmrgDate:   Tue Nov 9 13:04:51 2010 -0500
136841c30155Smrg
136941c30155Smrg    config: HTML file generation: use the installed copy of xorg.css
137041c30155Smrg    
137141c30155Smrg    Currenlty the xorg.css file is copied in each location
137241c30155Smrg    where a DocBook/XML file resides. This produces about
137341c30155Smrg    70 copies in the $(docdir) install tree.
137441c30155Smrg    
137541c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
137641c30155Smrg
137741c30155Smrgcommit 12157fbebc35c2d039df2df4fc5ac2b299eeec03
137841c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
137941c30155SmrgDate:   Thu Oct 28 20:43:27 2010 -0700
138041c30155Smrg
138141c30155Smrg    libXfont 1.4.3
138241c30155Smrg    
138341c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
138441c30155Smrg
138541c30155Smrgcommit f29f1d68d7eca96e45ba3758686be07993d82e03
138641c30155SmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com>
138741c30155SmrgDate:   Tue Sep 28 13:30:02 2010 -0700
138841c30155Smrg
138941c30155Smrg    Purge cvs tags.
139041c30155Smrg    
139141c30155Smrg    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
139241c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
139341c30155Smrg
139441c30155Smrgcommit 6628b4d82426cf9ac240da363cd8a8252e6f71ef
139541c30155SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
139641c30155SmrgDate:   Mon Sep 27 12:31:50 2010 -0700
139741c30155Smrg
139841c30155Smrg    FreeType: Cleanup MUMBLE and fix printing of XLFD in debug spew.
139941c30155Smrg    
140041c30155Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
140141c30155Smrg
140241c30155Smrgcommit c482a2c104aa5cd1a265c2ca310a308dcc418fe7
140341c30155SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
140441c30155SmrgDate:   Wed Apr 14 05:58:28 2010 -0500
140541c30155Smrg
140641c30155Smrg    Revert "Bug #6247: Fix build on Cygwin"
140741c30155Smrg    
140841c30155Smrg    libtool requires the '-no-undefined' flag in order to create shared
140941c30155Smrg    libraries on PE/COFF platforms (Cygwin/MinGW); on other platforms this
141041c30155Smrg    flag has no effect.
141141c30155Smrg    
141241c30155Smrg    The problem with libXfont is that PE weak symbols do not behave exactly
141341c30155Smrg    as they do on ELF platforms.  Since PE binaries (both executables and
141441c30155Smrg    libraries) must have all symbols resolved at link time, there is no way
141541c30155Smrg    for the real symbols in xserver to "displace" those in libXfont at
141641c30155Smrg    runtime, so the result is that libXfont uses its stubs, which do
141741c30155Smrg    nothing, and xserver ends up unable to find its fonts.
141841c30155Smrg    
141941c30155Smrg    Solving this will require either significant changes to libXfont or some
142041c30155Smrg    major improvement to the toolchain to handle this case.  Until that
142141c30155Smrg    happens, removing '-no-undefined' will result in a static-only library
142241c30155Smrg    on these platforms, which is the only currently working solution.
142341c30155Smrg    
142441c30155Smrg    http://sourceware.org/bugzilla/show_bug.cgi?id=11306
142541c30155Smrg    http://cygwin.com/ml/cygwin/2010-04/msg00281.html
142641c30155Smrg    
142741c30155Smrg    This reverts commit 69c4ae1e3e14a58bc2eb9b9b8820dc7183b82a67.
142841c30155Smrg    
142941c30155Smrg    Conflicts:
143041c30155Smrg    
143141c30155Smrg    	ChangeLog
143241c30155Smrg    
143341c30155Smrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
143441c30155Smrg
143541c30155Smrgcommit 455ec66e82e3c4bedd9e789d2ab33030b8e64ffa
143641c30155SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
143741c30155SmrgDate:   Sun Aug 8 00:19:36 2010 -0700
143841c30155Smrg
143941c30155Smrg    Fix builds with Sun compilers
144041c30155Smrg    
144141c30155Smrg    Sun compilers use #pragma weak in the *.c files to declare weak symbols,
144241c30155Smrg    so should have weak defined to empty, but not define NO_WEAK_SYMBOLS
144341c30155Smrg    
144441c30155Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
144541c30155Smrg
144641c30155Smrgcommit 0386fa77367a305deea3cc27f8a3865cc3c467c0
144741c30155SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
144841c30155SmrgDate:   Sat Jul 10 10:08:21 2010 -0700
144941c30155Smrg
145041c30155Smrg    darwin: Fix build regression introduced by previous patch
145141c30155Smrg    
145241c30155Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
145341c30155Smrg
145441c30155Smrgcommit 8f75706901da0141590d46f0f898e5678feac953
145541c30155SmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
145641c30155SmrgDate:   Mon Jun 28 17:56:07 2010 +0100
145741c30155Smrg
145841c30155Smrg    Build fix for platforms which don't have weak linkage
145941c30155Smrg    
146041c30155Smrg    Since we fix this by removing the serverGeneration symbol, assuming
146141c30155Smrg    an external definition will be provided, this means on Windows libXfont
146241c30155Smrg    can only be built as a static library (since PE shared libraries cannot
146341c30155Smrg    contain undefined symbols).  This produces a libXfont which might only
146441c30155Smrg    be useful to the xserver, but the only other users we might care about
146541c30155Smrg    are xfs, which is obsolete, and bdftopcf, which fortunately doesn't
146641c30155Smrg    pull in any objects which reference serverGeneration from libXfont.
146741c30155Smrg    
146841c30155Smrg    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
146941c30155Smrg    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
147041c30155Smrg
147141c30155Smrgcommit 5c49c956e9c85d89f6b2e719eb9b6fbde62c2f72
147241c30155SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
147341c30155SmrgDate:   Mon Jun 28 13:18:22 2010 -0400
147441c30155Smrg
147541c30155Smrg    doc: use xorg-docs xorg.css stylesheet
147641c30155Smrg    
147741c30155Smrg    Use latest DocBook XML util-macros infrastructure
147841c30155Smrg    
147941c30155Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
148041c30155Smrg
14815a3d36dfSmrgcommit 27270de56f7da5e047784434f3b29fa672f97ffd
14825a3d36dfSmrgAuthor: Tiago Vignatti <tiago.vignatti@nokia.com>
14835a3d36dfSmrgDate:   Thu Jun 10 16:29:37 2010 +0300
14845a3d36dfSmrg
14855a3d36dfSmrg    libXfont 1.4.2
14865a3d36dfSmrg    
14875a3d36dfSmrg    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
14885a3d36dfSmrg    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
14895a3d36dfSmrg    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
14905a3d36dfSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
14915a3d36dfSmrg
14925a3d36dfSmrgcommit a85f4fc6142349517aaa4cf6bc8049e2d85c1006
14935a3d36dfSmrgAuthor: Tiago Vignatti <tiago.vignatti@nokia.com>
14945a3d36dfSmrgDate:   Thu Jun 10 16:18:05 2010 +0300
14955a3d36dfSmrg
14965a3d36dfSmrg    Use one single function to register fpe functions
14975a3d36dfSmrg    
14985a3d36dfSmrg    X server doesn't need to understand fpe internals, so let it transparent
14995a3d36dfSmrg    turning all registration functions in a single one. For that, fill the already
15005a3d36dfSmrg    existent register_fpe_functions().
15015a3d36dfSmrg    
15025a3d36dfSmrg    Some X servers don't want font server support, so this patch also sets font
15035a3d36dfSmrg    server support to be configured in build time.
15045a3d36dfSmrg    
15055a3d36dfSmrg    In my machine, I see 20kB of RSS being saved in libXfont mapped in Xorg
15065a3d36dfSmrg    process when I disabled font server support and other kind of fonts in the
15075a3d36dfSmrg    library (--disable-pcfformat --disable-bdfformat --disable-snfformat
15085a3d36dfSmrg    --disable-freetype --disable-fc).
15095a3d36dfSmrg    
15105a3d36dfSmrg    The default library built was taking:
15115a3d36dfSmrg       text    data     bss     dec     hex filename
15125a3d36dfSmrg     261847    4484    1536  267867   4165b ./lib/libXfont.so
15135a3d36dfSmrg    
15145a3d36dfSmrg    and with these flags, it jumps to:
15155a3d36dfSmrg       text    data     bss     dec     hex filename
15165a3d36dfSmrg     157764    2428    1188  161380   27664 ./lib/libXfont.so
15175a3d36dfSmrg    
15185a3d36dfSmrg    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
15195a3d36dfSmrg    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
15205a3d36dfSmrg    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
15215a3d36dfSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
15225a3d36dfSmrg
15235a3d36dfSmrgcommit d137c81b83e0a6f68989c37035d0c950bb43fcc5
15245a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15255a3d36dfSmrgDate:   Thu Apr 1 14:12:47 2010 -0400
15265a3d36dfSmrg
15275a3d36dfSmrg    config: fontconf.h.in is redundant in EXTRA_DIST
15285a3d36dfSmrg    
15295a3d36dfSmrg    Output files listed in AC_CONFIG_HEADERS or AC_OUTPUT have
15305a3d36dfSmrg    their input files (typically .in) included in the tarball.
15315a3d36dfSmrg    
15325a3d36dfSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
15335a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
15345a3d36dfSmrg
15355a3d36dfSmrgcommit d8d901323776599c8392f9b973ba129c3af45a4b
15365a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15375a3d36dfSmrgDate:   Tue Mar 30 09:26:13 2010 -0400
15385a3d36dfSmrg
15395a3d36dfSmrg    config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
15405a3d36dfSmrg    
15415a3d36dfSmrg    There are 2 headers to generate. The first one (config.h)
15425a3d36dfSmrg    is picked up by autoheader to generate the familiar config.h.in
15435a3d36dfSmrg    input file. The others in the list (or in subsequent AC_CONFIG_HEADERS
15445a3d36dfSmrg    macro calls) are generated from their existing matching template,
15455a3d36dfSmrg    e.g. fontconf.h.in.
15465a3d36dfSmrg    
15475a3d36dfSmrg    When multiple headers are listed in the same macro call,
15485a3d36dfSmrg    they cannot be separated by a new line like we do in AC_OUTPUT.
15495a3d36dfSmrg    
15505a3d36dfSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
15515a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
15525a3d36dfSmrg
15535a3d36dfSmrgcommit df94cb141f02f123a64b0ef7abf5f593c1b27e13
15545a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15555a3d36dfSmrgDate:   Wed Mar 31 20:21:47 2010 -0400
15565a3d36dfSmrg
15575a3d36dfSmrg    Revert "config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS"
15585a3d36dfSmrg    
15595a3d36dfSmrg    This reverts commit 8e84687b26be6e8f5da4fce173c0a134eb07f4f3.
15605a3d36dfSmrg    
15615a3d36dfSmrg    Until the issue is resolved on MAC O/S
15625a3d36dfSmrg    http://tinderbox.x.org/builds/2010-03-31-0030/logs/libXfont/
15635a3d36dfSmrg
15645a3d36dfSmrgcommit 8e84687b26be6e8f5da4fce173c0a134eb07f4f3
15655a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15665a3d36dfSmrgDate:   Tue Mar 30 09:26:13 2010 -0400
15675a3d36dfSmrg
15685a3d36dfSmrg    config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
15695a3d36dfSmrg    
15705a3d36dfSmrg    Both headers end up created by the same macro.
15715a3d36dfSmrg    
15725a3d36dfSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
15735a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
15745a3d36dfSmrg
15755a3d36dfSmrgcommit a7b7bc72b9ad061ed164601d2d18dbffd6ec1f4f
15765a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15775a3d36dfSmrgDate:   Mon Mar 29 14:53:48 2010 -0400
15785a3d36dfSmrg
15795a3d36dfSmrg    config: remove the pkgconfig pc.in file from EXTRA_DIST
15805a3d36dfSmrg    
15815a3d36dfSmrg    Automake always includes it in the tarball.
15825a3d36dfSmrg    
15835a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
15845a3d36dfSmrg
15855a3d36dfSmrgcommit f77258d0b286c2fd2a2fee36e42280016e310b10
15865a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
15875a3d36dfSmrgDate:   Sat Mar 27 17:06:34 2010 -0400
15885a3d36dfSmrg
15895a3d36dfSmrg    config: remove protection for AS_HELP_STRING for old autoconf
15905a3d36dfSmrg    
15915a3d36dfSmrg    No longer needed as modules will not configure with 2.57.
15925a3d36dfSmrg    AS_HELP_STRING was introduced in 2.58. The minimum level
15935a3d36dfSmrg    is now 2.60.
15945a3d36dfSmrg    
15955a3d36dfSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
15965a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
15975a3d36dfSmrg
15985a3d36dfSmrgcommit a79a22bfcb344c47f2659e4178fd79f8555fbcfd
15995a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16005a3d36dfSmrgDate:   Thu Mar 11 10:11:23 2010 -0500
16015a3d36dfSmrg
16025a3d36dfSmrg    doc: specify 0.0.20 as the minimum version for xmlto
16035a3d36dfSmrg    
16045a3d36dfSmrg    Older versions do not have fop backend.
16055a3d36dfSmrg    
16065a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
16075a3d36dfSmrg
16085a3d36dfSmrgcommit a76488f75f23b8e08763e28b2fa56352e7b04e19
16095a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16105a3d36dfSmrgDate:   Sat Jan 30 13:13:33 2010 -0500
16115a3d36dfSmrg
16125a3d36dfSmrg    doc: use new macros to control doc generation
16135a3d36dfSmrg    
16145a3d36dfSmrg    Namely XORG_WITH_FOP for the fop backend (pdf) and
16155a3d36dfSmrg    XORG_ENABLE_DEVEL_DOCS for the generation of all docs
16165a3d36dfSmrg    
16175a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
16185a3d36dfSmrg
16195a3d36dfSmrgcommit 360f10333ac19f033ea64a8360c4886fbb657890
16205a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16215a3d36dfSmrgDate:   Wed Jan 20 11:46:21 2010 -0500
16225a3d36dfSmrg
16235a3d36dfSmrg    config: replace custom code with reusable macro XORG_WITH_XMLTO
16245a3d36dfSmrg    
16255a3d36dfSmrg    XORG_WITH_XMLTO provides additional functions like a configure
16265a3d36dfSmrg    option which allow platform builders to control the usage of
16275a3d36dfSmrg    the xmlto program.
16285a3d36dfSmrg    
16295a3d36dfSmrg    This is a requirement from platforms that do not have such doc tool.
16305a3d36dfSmrg    
16315a3d36dfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
16325a3d36dfSmrg
16335a3d36dfSmrgcommit 24a257ca5b70e168564f0c6527e60bb06b61be8c
16345a3d36dfSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
16355a3d36dfSmrgDate:   Thu Jan 14 21:39:11 2010 -0800
16365a3d36dfSmrg
16375a3d36dfSmrg    Update Sun license notices to current X.Org standard form
16385a3d36dfSmrg    
16395a3d36dfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
16405a3d36dfSmrg
16415a3d36dfSmrgcommit d1c9028a410a10ef1b27c990f55de836eb948887
16425a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16435a3d36dfSmrgDate:   Fri Nov 27 20:56:04 2009 -0500
16445a3d36dfSmrg
16455a3d36dfSmrg    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
16465a3d36dfSmrg    
16475a3d36dfSmrg    Now that the INSTALL file is generated.
16485a3d36dfSmrg    Allows running make maintainer-clean.
16495a3d36dfSmrg
16505a3d36dfSmrgcommit 72353a449e8dbf82a53a1d7958755198e989d892
16515a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16525a3d36dfSmrgDate:   Wed Oct 28 15:28:32 2009 -0400
16535a3d36dfSmrg
16545a3d36dfSmrg    configure.ac: AM_MAINTAINER_MODE missing #24238
16555a3d36dfSmrg    
16565a3d36dfSmrg    This turns off maintainer mode build rules in tarballs.
16575a3d36dfSmrg    Works in conjunction with autogen.sh --enable-maintainer-mode
16585a3d36dfSmrg    For all X.Org components.
16595a3d36dfSmrg
16605a3d36dfSmrgcommit 489e7b2cb3371042552489385902a98dc1cd976a
16615a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16625a3d36dfSmrgDate:   Wed Oct 28 14:09:10 2009 -0400
16635a3d36dfSmrg
16645a3d36dfSmrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
16655a3d36dfSmrg    
16665a3d36dfSmrg    Add missing INSTALL file. Use standard GNU file on building tarball
16675a3d36dfSmrg    README may have been updated
16685a3d36dfSmrg    Remove AUTHORS file as it is empty and no content available yet.
16695a3d36dfSmrg    Remove NEWS file as it is empty and no content available yet.
16705a3d36dfSmrg
16715a3d36dfSmrgcommit c22d67cc78c27d19bb6eaba5bf71b66444ed4a40
16725a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16735a3d36dfSmrgDate:   Tue Oct 27 15:07:25 2009 -0400
16745a3d36dfSmrg
16755a3d36dfSmrg    Deploy the new XORG_DEFAULT_OPTIONS #24242
16765a3d36dfSmrg    
16775a3d36dfSmrg    This macro aggregate a number of existing macros that sets commmon
16785a3d36dfSmrg    X.Org components configuration options. It shields the configuration file from
16795a3d36dfSmrg    future changes.
16805a3d36dfSmrg
16815a3d36dfSmrgcommit 271382b01995469eb60035d38880f9d3665d4c4c
16825a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16835a3d36dfSmrgDate:   Mon Oct 26 22:08:43 2009 -0400
16845a3d36dfSmrg
16855a3d36dfSmrg    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
16865a3d36dfSmrg    
16875a3d36dfSmrg    ChangeLog filename is known to Automake and requires no further
16885a3d36dfSmrg    coding in the makefile.
16895a3d36dfSmrg
16905a3d36dfSmrgcommit 9be83ae94cd82b447ed59ba0869f9e94ed9018f7
16915a3d36dfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
16925a3d36dfSmrgDate:   Thu Oct 22 15:34:34 2009 -0400
16935a3d36dfSmrg
16945a3d36dfSmrg    .gitignore: use common defaults with custom section # 24239
16955a3d36dfSmrg    
16965a3d36dfSmrg    Using common defaults will reduce errors and maintenance.
16975a3d36dfSmrg    Only the very small or inexistent custom section need periodic maintenance
16985a3d36dfSmrg    when the structure of the component changes. Do not edit defaults.
16995a3d36dfSmrg
17005a3d36dfSmrgcommit 489924bfb693a844f8f8ad6023fc78e4a212bef6
17015a3d36dfSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
17025a3d36dfSmrgDate:   Wed Oct 14 11:31:59 2009 -0500
17035a3d36dfSmrg
17045a3d36dfSmrg    Add -lbz2 to Libs.private if bzip2 is enabled
17055a3d36dfSmrg    
17065a3d36dfSmrg    This is required on Cygwin, which must link the xservers with a static
17075a3d36dfSmrg    libXfont due to poor weak-symbol support.  Z_LIBS includes -lz and, if
17085a3d36dfSmrg    bzip2 support is enabled, -lbz2.
17095a3d36dfSmrg    
17105a3d36dfSmrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
17115a3d36dfSmrg    Acked-by: Julien Cristau <jcristau@debian.org>
17125a3d36dfSmrg
1713b3062210Smrgcommit 64f21944c5f374b0da63657f01e289b34d00904c
1714b3062210SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1715b3062210SmrgDate:   Fri Oct 9 17:38:33 2009 -0700
1716b3062210Smrg
1717b3062210Smrg    libXfont 1.4.1
1718b3062210Smrg    
1719b3062210Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1720b3062210Smrg
1721b3062210Smrgcommit 947d3162f5edaaa05bbbfcfe2303d0c8b796f9ca
1722b3062210SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1723b3062210SmrgDate:   Wed Oct 7 13:05:26 2009 -0700
1724b3062210Smrg
1725b3062210Smrg    Remove unused setting of ENCODINGSDIR
1726b3062210Smrg    
1727b3062210Smrg    Seems to have been a leftover from before the encoding code was split
1728b3062210Smrg    out into libfontenc by XFree86
1729b3062210Smrg    
1730b3062210Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1731b3062210Smrg
1732b3062210Smrgcommit 18053ffbf92473ffce23a3c5182de92b608b9cdf
1733b3062210SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1734b3062210SmrgDate:   Wed Oct 7 10:44:27 2009 -0700
1735b3062210Smrg
1736b3062210Smrg    Convert documentation from troff to DocBook/XML
1737b3062210Smrg    
1738b3062210Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1739b3062210Smrg
1740b3062210Smrgcommit 96a4daad7097ce94d4340a4e9ce779e378f9b83c
1741b3062210SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1742b3062210SmrgDate:   Wed Oct 7 08:31:54 2009 -0700
1743b3062210Smrg
1744b3062210Smrg    Move fontlib.ms from xorg-docs
1745b3062210Smrg    
1746b3062210Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1747b3062210Smrg
1748b3062210Smrgcommit b7be4a976a59f3149590cf62a2ea8144aa729c2a
1749b3062210SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1750b3062210SmrgDate:   Tue Oct 6 13:03:25 2009 -0700
1751b3062210Smrg
1752b3062210Smrg    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
1753b3062210Smrg    
1754b3062210Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1755b3062210Smrg
1756b3062210Smrgcommit 18c5e2ff1097880e8dea951079ae49a93ec315b0
1757b3062210SmrgAuthor: Bob Ham <rah@bash.sh>
1758b3062210SmrgDate:   Tue Sep 15 14:28:12 2009 +1000
1759b3062210Smrg
1760b3062210Smrg     Fixed int(*)()->double cast warning
1761b3062210Smrg    
1762b3062210Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1763b3062210Smrg
1764b3062210Smrgcommit 0045b2555b288099c90b65f97bd4b4a5ebc8c688
1765b3062210SmrgAuthor: Adam Jackson <ajax@redhat.com>
1766b3062210SmrgDate:   Wed Feb 18 13:53:14 2009 -0500
1767b3062210Smrg
1768b3062210Smrg    libXfont 1.4.0
1769b3062210Smrg
17707f7f5e4eSmrgcommit 04ced93e997b185b5d9124cacc96fa39a77b2ab7
17717f7f5e4eSmrgAuthor: Peter Astrand <astrand@maggie.lkpg.cendio.se>
17727f7f5e4eSmrgDate:   Wed Feb 4 22:09:25 2009 +0100
17737f7f5e4eSmrg
17747f7f5e4eSmrg    Avoid sending uninitialized padding data over the network.
17757f7f5e4eSmrg    
17767f7f5e4eSmrg    Besides cluttering Valgrind output, this might also be an information leak.
17777f7f5e4eSmrg    
17787f7f5e4eSmrg    Signed-off-by: Peter Astrand <astrand@cendio.se>
17797f7f5e4eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
17807f7f5e4eSmrg
17817f7f5e4eSmrgcommit e15dca77fa76252dd8499f8585d8ce922ac3b869
17827f7f5e4eSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
17837f7f5e4eSmrgDate:   Thu Jan 29 18:02:34 2009 -0200
17847f7f5e4eSmrg
17857f7f5e4eSmrg    Janitor: make distcheck and .gitignore
17867f7f5e4eSmrg    
17877f7f5e4eSmrg      Distribute ChangeLog but not autogen.sh.
17887f7f5e4eSmrg      Use a single toplevel .gitignore file, instead of one per subdirectory.
17897f7f5e4eSmrg
17907f7f5e4eSmrgcommit 38bac54519a67ab1a276b66dbaa84a3327ccf827
17917f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
17927f7f5e4eSmrgDate:   Sat Sep 27 02:06:27 2008 -0400
17937f7f5e4eSmrg
17947f7f5e4eSmrg    Remove some strcasecmp silliness
17957f7f5e4eSmrg
17967f7f5e4eSmrgcommit f431b4eb4dc743ccdf94b1b2ed858cc21f63c091
17977f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
17987f7f5e4eSmrgDate:   Tue Jan 20 23:23:40 2009 -0500
17997f7f5e4eSmrg
18007f7f5e4eSmrg    Allow case insensitive filename matching in fontfile.
18017f7f5e4eSmrg    
18027f7f5e4eSmrg    Simplify the freetype renderer list to match.
18037f7f5e4eSmrg
18047f7f5e4eSmrgcommit 903d39aeea73a973fb8b05ca1ac147c2cca146cb
18057f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18067f7f5e4eSmrgDate:   Tue Jan 20 23:21:29 2009 -0500
18077f7f5e4eSmrg
18087f7f5e4eSmrg    Delete some dead ifdefs
18097f7f5e4eSmrg
18107f7f5e4eSmrgcommit daa7af2bb2326de363aa5ea51c29616e3634343a
18117f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18127f7f5e4eSmrgDate:   Tue Jan 20 23:20:20 2009 -0500
18137f7f5e4eSmrg
18147f7f5e4eSmrg    Move the copy of CopyISOLatin1Lowered near its user, and un-weak it.
18157f7f5e4eSmrg
18167f7f5e4eSmrgcommit 6c29007756301f513c0151e2b63af073f310af66
18177f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18187f7f5e4eSmrgDate:   Tue Jan 20 23:17:55 2009 -0500
18197f7f5e4eSmrg
18207f7f5e4eSmrg    Drop OS/2 support
18217f7f5e4eSmrg
18227f7f5e4eSmrgcommit 0cdc9b8f850342d50b72a57507db3413eacc6fb8
18237f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18247f7f5e4eSmrgDate:   Tue Jan 20 23:16:35 2009 -0500
18257f7f5e4eSmrg
18267f7f5e4eSmrg    xalloc -> malloc, etc.
18277f7f5e4eSmrg
18287f7f5e4eSmrgcommit 632a2e90a4b209facc84d7a18873f19a720ea7df
18297f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18307f7f5e4eSmrgDate:   Sat Sep 27 01:30:13 2008 -0400
18317f7f5e4eSmrg
18327f7f5e4eSmrg    Remove PMF support.
18337f7f5e4eSmrg    
18347f7f5e4eSmrg    .pmf files are printer font metrics; they have no glyphs, just boxes for
18357f7f5e4eSmrg    layout.  They can't possibly be useful in a post-Xprint world.
18367f7f5e4eSmrg
18377f7f5e4eSmrgcommit e1927f80deabe0268dc18b4a9f3ceda1325171f5
18387f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18397f7f5e4eSmrgDate:   Tue Jan 20 22:57:35 2009 -0500
18407f7f5e4eSmrg
18417f7f5e4eSmrg    Remove printer font support.
18427f7f5e4eSmrg    
18437f7f5e4eSmrg    Xprint is just insidious, isn't it.
18447f7f5e4eSmrg
18457f7f5e4eSmrgcommit 732191d5d6ad58caab25e24df16fb89efaea2e9a
18467f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18477f7f5e4eSmrgDate:   Tue Jan 20 22:42:22 2009 -0500
18487f7f5e4eSmrg
18497f7f5e4eSmrg    Remove loadable renderer support.
18507f7f5e4eSmrg
18517f7f5e4eSmrgcommit 423d0a2c1dfad969f4a238618811937bc5f49776
18527f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18537f7f5e4eSmrgDate:   Sat Sep 27 01:55:47 2008 -0400
18547f7f5e4eSmrg
18557f7f5e4eSmrg    Remove useless #define
18567f7f5e4eSmrg
18577f7f5e4eSmrgcommit 50bca6dd881c2d787b3afa4d98a2c2667f767614
18587f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18597f7f5e4eSmrgDate:   Tue Jan 20 22:33:06 2009 -0500
18607f7f5e4eSmrg
18617f7f5e4eSmrg    Get rid of a useless array
18627f7f5e4eSmrg
18637f7f5e4eSmrgcommit 6ba0565362ba9c8d1037c0e4725cb31faa141656
18647f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18657f7f5e4eSmrgDate:   Tue Jan 20 22:29:10 2009 -0500
18667f7f5e4eSmrg
18677f7f5e4eSmrg    const cleanup
18687f7f5e4eSmrg
18697f7f5e4eSmrgcommit 1247f01ee36f80222e30c1678f940329aadb8335
18707f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18717f7f5e4eSmrgDate:   Tue Jan 20 01:13:08 2009 -0500
18727f7f5e4eSmrg
18737f7f5e4eSmrg    Delete Type1
18747f7f5e4eSmrg    
18757f7f5e4eSmrg    Yes, these are still real fonts, but freetype can handle them just fine.
18767f7f5e4eSmrg
18777f7f5e4eSmrgcommit 85b66b8a7f3095f10437c8ecb3dcbfe68c9cfced
18787f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
18797f7f5e4eSmrgDate:   Tue Jan 20 01:03:16 2009 -0500
18807f7f5e4eSmrg
18817f7f5e4eSmrg    Delete speedo
18827f7f5e4eSmrg    
18837f7f5e4eSmrg    OUT OUT OUT
18847f7f5e4eSmrg
18857f7f5e4eSmrgcommit 1559d8086e8063c692aae008006578b88e1368fe
18867f7f5e4eSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org>
18877f7f5e4eSmrgDate:   Sun Dec 28 12:35:37 2008 -0800
18887f7f5e4eSmrg
18897f7f5e4eSmrg    Added missing AM_CFLAGS for -Wl,-flat_namespace
18907f7f5e4eSmrg    
18917f7f5e4eSmrg    Fixes commit f859a76b0f325b07952ad1c5c818318307c589b0
18927f7f5e4eSmrg
18937f7f5e4eSmrgcommit 99bad52b592f4f11887bf9033590b61880c3c976
18947f7f5e4eSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
18957f7f5e4eSmrgDate:   Sat Mar 1 16:45:55 2008 -0300
18967f7f5e4eSmrg
18977f7f5e4eSmrg    Disable some fun stdio wrapping.
18987f7f5e4eSmrg    
18997f7f5e4eSmrg      The code is still there but no magic with macros is attempted anymore
19007f7f5e4eSmrg    to handle files.
19017f7f5e4eSmrg      This should really be changed to just use stdio, and properly adapt
19027f7f5e4eSmrg     functions like T1Decript, T1eexec, etc.
19037f7f5e4eSmrg
19047f7f5e4eSmrgcommit 95760fbe45a700ea4cc118daa536604393721a59
19057f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19067f7f5e4eSmrgDate:   Fri Dec 19 16:24:39 2008 -0800
19077f7f5e4eSmrg
19087f7f5e4eSmrg    Restore comment deleted by b6f793d7d5
19097f7f5e4eSmrg
19107f7f5e4eSmrgcommit b6f793d7d5c7f7c55911e6524dede41b92dcbc22
19117f7f5e4eSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
19127f7f5e4eSmrgDate:   Fri Mar 14 01:30:24 2008 -0300
19137f7f5e4eSmrg
19147f7f5e4eSmrg    libXfont ansification and removal of xf86_ansic.h dependency
19157f7f5e4eSmrg    
19167f7f5e4eSmrg      Basically the code is now compiled as if FONTMODULE was never defined,
19177f7f5e4eSmrg    but also removed some "magic" defining _XOPEN_SOURCE before including
19187f7f5e4eSmrg    math.h.
19197f7f5e4eSmrg      Also removed some #if 0'ed code instead of fixing prototypes inside
19207f7f5e4eSmrg    the "dead code".
19217f7f5e4eSmrg      Changes to spdo_prv.h were due to defines like:
19227f7f5e4eSmrg      <hash>define foo() sp_foo()
19237f7f5e4eSmrg      that would not compile with the ansification in the format:
19247f7f5e4eSmrg      type foo(void)
19257f7f5e4eSmrg      due to the macro receiving "void" as an argument.
19267f7f5e4eSmrg
19277f7f5e4eSmrgcommit 282ac4226195d58e3818e7ac97093e396aa78086
19287f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19297f7f5e4eSmrgDate:   Fri Dec 19 15:07:21 2008 -0800
19307f7f5e4eSmrg
19317f7f5e4eSmrg    Version bump: 1.3.4
19327f7f5e4eSmrg
19337f7f5e4eSmrgcommit 5c631ad798fcdea4f2b7d0b012ac94182fad4184
19347f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19357f7f5e4eSmrgDate:   Fri Dec 19 14:01:28 2008 -0800
19367f7f5e4eSmrg
19377f7f5e4eSmrg    miscutil.c:108: warning: old-style parameter declaration
19387f7f5e4eSmrg
19397f7f5e4eSmrgcommit d21d6c5b23a23f120f32b483ec6b86cf88cb3a98
19407f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19417f7f5e4eSmrgDate:   Fri Dec 19 13:47:48 2008 -0800
19427f7f5e4eSmrg
19437f7f5e4eSmrg    Add simple README with pointers to bugzilla/git/mailing list
19447f7f5e4eSmrg
19457f7f5e4eSmrgcommit d3be1261d29b7d8eda124add3497a93ebe34712c
19467f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19477f7f5e4eSmrgDate:   Fri Dec 19 13:47:27 2008 -0800
19487f7f5e4eSmrg
19497f7f5e4eSmrg    Update COPYING file with additional copyrights/licenses
19507f7f5e4eSmrg
19517f7f5e4eSmrgcommit b5cc4a10c0fe365b40be19613777f192a1ada0db
19527f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19537f7f5e4eSmrgDate:   Fri Dec 19 13:05:32 2008 -0800
19547f7f5e4eSmrg
19557f7f5e4eSmrg    Use XORG_CWARNFLAGS & XORG_CHANGELOG macros from xorg-macros 1.2
19567f7f5e4eSmrg
19577f7f5e4eSmrgcommit 377584bb71ccb2cc380c3a8f71f0acd7e755ad33
19587f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19597f7f5e4eSmrgDate:   Thu Dec 18 21:22:31 2008 -0800
19607f7f5e4eSmrg
19617f7f5e4eSmrg    Always scan catalogue dirs at startup, even if their mtime < 0
19627f7f5e4eSmrg    
19637f7f5e4eSmrg    Works around bug in VMWare that caused the Solaris kernel to fail to read
19647f7f5e4eSmrg    the time-of-day chip on boot, and start with a time < 0 (i.e. back to the
19657f7f5e4eSmrg    1960's) - when the system was then installed from this mode, Xorg wouldn't
19667f7f5e4eSmrg    start after reboot, since the mtime would be < 0 and the catalogue dir was
19677f7f5e4eSmrg    then skipped as not changed since reading at the 0 initially set in the
19687f7f5e4eSmrg    cat->mtime.
19697f7f5e4eSmrg    
19707f7f5e4eSmrg    Fixes OpenSolaris bug #4780
19717f7f5e4eSmrg       <http://defect.opensolaris.org/bz/show_bug.cgi?id=4780>
19727f7f5e4eSmrg
19737f7f5e4eSmrgcommit 9ad7f24fafe876851b89190732034da6fb640788
19747f7f5e4eSmrgAuthor: Benjamin Close <Benjamin.Close@clearchain.com>
19757f7f5e4eSmrgDate:   Thu Dec 11 15:26:13 2008 +1030
19767f7f5e4eSmrg
19777f7f5e4eSmrg    Make sure font names/font alias names are null terminated
19787f7f5e4eSmrg    
19797f7f5e4eSmrg    This fixes a crash upon server restart where the saved fonts were
19807f7f5e4eSmrg    being restored however strlen(font_name) was incorrect hence memory
19817f7f5e4eSmrg    was being clobbered.
19827f7f5e4eSmrg
19837f7f5e4eSmrgcommit d93cc906d4a2f42d11629e245fb13a2d08cf2a61
19847f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
19857f7f5e4eSmrgDate:   Thu Dec 4 16:56:56 2008 -0800
19867f7f5e4eSmrg
19877f7f5e4eSmrg    Pad CreateAC packets with 0 auths to workaround xfs bug
19887f7f5e4eSmrg    
19897f7f5e4eSmrg    Versions of xfs before commit 3fe28a31a2974287acc182c7c9bfd68d94ea6292
19907f7f5e4eSmrg    will reject CreateAC packets with 0 auths unless they claim to have at
19917f7f5e4eSmrg    least 4 bytes of authentication data that isn't actually read.
19927f7f5e4eSmrg
19937f7f5e4eSmrgcommit f859a76b0f325b07952ad1c5c818318307c589b0
19947f7f5e4eSmrgAuthor: Julien Cristau <jcristau@debian.org>
19957f7f5e4eSmrgDate:   Tue Nov 4 19:24:29 2008 +0100
19967f7f5e4eSmrg
19977f7f5e4eSmrg    Don't clobber CFLAGS in configure
19987f7f5e4eSmrg    
19997f7f5e4eSmrg    This lets the user set CFLAGS when running make.
20007f7f5e4eSmrg
20017f7f5e4eSmrgcommit 6bf52de1fb84d61b227daf7a7077af9ea3ec27a3
20027f7f5e4eSmrgAuthor: Peter Breitenlohner <peb@mppmu.mpg.de>
20037f7f5e4eSmrgDate:   Mon Oct 20 19:32:23 2008 -0700
20047f7f5e4eSmrg
20057f7f5e4eSmrg    X.Org Bug 17945: avoid gcc warnings for libXfont
20067f7f5e4eSmrg    
20077f7f5e4eSmrg    <http://bugs.freedesktop.org/show_bug.cgi?id=17945>
20087f7f5e4eSmrg    
20097f7f5e4eSmrg    Avoid two gcc warnings
20107f7f5e4eSmrg    src/fontfile/ffcheck.c:150: warning: initialization discards qualifiers from pointer target type
20117f7f5e4eSmrg    src/fontfile/register.c:98: warning: initialization discards qualifiers from pointer target type
20127f7f5e4eSmrg
20137f7f5e4eSmrgcommit b012dcf65b1f0e41def2f595f1b1e7b06a49d275
20147f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
20157f7f5e4eSmrgDate:   Thu Aug 28 15:36:06 2008 -0400
20167f7f5e4eSmrg
20177f7f5e4eSmrg    Retry font server connections faster.
20187f7f5e4eSmrg
20197f7f5e4eSmrgcommit 8a6df69750a2d350074715fb31d9d20195d00b4c
20207f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
20217f7f5e4eSmrgDate:   Thu Aug 28 15:35:16 2008 -0400
20227f7f5e4eSmrg
20237f7f5e4eSmrg    Nuke fontcache.
20247f7f5e4eSmrg    
20257f7f5e4eSmrg    Hasn't been relevant since the X-TT merge ages ago.
20267f7f5e4eSmrg
20277f7f5e4eSmrgcommit 5d5587a36453d731e9a7353a98fa391dbb51b57d
20287f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
20297f7f5e4eSmrgDate:   Thu Aug 21 19:58:06 2008 -0700
20307f7f5e4eSmrg
20317f7f5e4eSmrg    Add support for bzip2 bitmap font compression
20327f7f5e4eSmrg    
20337f7f5e4eSmrg    Code originally written for Solaris Xsun in 2003, ported now to current Xorg
20347f7f5e4eSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4819077>
20357f7f5e4eSmrg
20367f7f5e4eSmrgcommit 624b7a507cdea25cec0728b4679610df3fb3097c
20377f7f5e4eSmrgAuthor: Derek Wang <derek.wang@sun.com>
20387f7f5e4eSmrgDate:   Thu Aug 21 16:06:51 2008 -0700
20397f7f5e4eSmrg
20407f7f5e4eSmrg    Sun bug 4510977: dtremote fails to start session
20417f7f5e4eSmrg    
20427f7f5e4eSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4510977>
20437f7f5e4eSmrg
20447f7f5e4eSmrgcommit 684c000e57f30344777cf763f2f1b540ef008b38
20457f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
20467f7f5e4eSmrgDate:   Wed Jul 2 15:30:03 2008 -0400
20477f7f5e4eSmrg
20487f7f5e4eSmrg    libXfont 1.3.3
20497f7f5e4eSmrg
20507f7f5e4eSmrgcommit 11edbc3a818e15ea2b622b31e6f87159ee68ae4a
20517f7f5e4eSmrgAuthor: Maarten ter Huurne <maarten.ter.huurne@philips.com>
20527f7f5e4eSmrgDate:   Sat Jun 28 15:34:50 2008 -0400
20537f7f5e4eSmrg
20547f7f5e4eSmrg    Do not call FT_Get_BDF_Charset_ID() if configured with --disable-bdfformat
20557f7f5e4eSmrg    
20567f7f5e4eSmrg    When I configure libXfont-1.3.2 with --disable-bdfformat and link it against
20577f7f5e4eSmrg    FreeType that is built without BDF support, I get the following link error:
20587f7f5e4eSmrg    
20597f7f5e4eSmrg    libXfont.so: undefined reference to ‘FT_Get_BDF_Charset_ID’
20607f7f5e4eSmrg    
20617f7f5e4eSmrg    I fixed it by checking XFONT_BDFFORMAT and if BDF support is disabled, the call
20627f7f5e4eSmrg    to FT_Get_BDF_Charset_ID() is omitted and the result code is set as if the call
20637f7f5e4eSmrg    had failed.
20647f7f5e4eSmrg    
20657f7f5e4eSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
20667f7f5e4eSmrg
20677f7f5e4eSmrgcommit 1ab07ce0eec4f6c7ed66c7aba3edf8c4315dd907
20687f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
20697f7f5e4eSmrgDate:   Tue May 13 17:26:57 2008 -0700
20707f7f5e4eSmrg
20717f7f5e4eSmrg    FontFileDirectoryChanged: check length of "fonts.alias" as well as "fonts.dir"
20727f7f5e4eSmrg
20737f7f5e4eSmrgcommit 0f9db4aa7de6e0644ac9c5811b949e5f936c9d61
20747f7f5e4eSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
20757f7f5e4eSmrgDate:   Fri May 9 12:36:30 2008 -0700
20767f7f5e4eSmrg
20777f7f5e4eSmrg    Don't allow a font alias to point to itself and create a loop
20787f7f5e4eSmrg    
20797f7f5e4eSmrg    Part of fix for Sun bug 4258475
20807f7f5e4eSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258475>
20817f7f5e4eSmrg
20827f7f5e4eSmrgcommit 67311922a2e02d8a763831831b65bb4833db58b5
20837f7f5e4eSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net>
20847f7f5e4eSmrgDate:   Mon May 5 22:17:55 2008 +0100
20857f7f5e4eSmrg
20867f7f5e4eSmrg    Fix build for WIN32
20877f7f5e4eSmrg
20887f7f5e4eSmrgcommit 6ba408c956ca8e241d10d463c45b4e987b757333
20897f7f5e4eSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
20907f7f5e4eSmrgDate:   Sun Mar 9 08:21:34 2008 +0100
20917f7f5e4eSmrg
20927f7f5e4eSmrg    nuke RCS Ids
20937f7f5e4eSmrg
20947f7f5e4eSmrgcommit 754cabe62e91b9ad50c3027c063f4269775f7add
20957f7f5e4eSmrgAuthor: Julien Cristau <jcristau@debian.org>
20967f7f5e4eSmrgDate:   Fri Mar 7 12:19:22 2008 +0100
20977f7f5e4eSmrg
20987f7f5e4eSmrg    Add missing include in src/FreeType/ftfuncs.c
20997f7f5e4eSmrg    
21007f7f5e4eSmrg    Fixes compiler warning:
21017f7f5e4eSmrg    ../../../src/FreeType/ftfuncs.c: In function 'restrict_code_range_by_str':
21027f7f5e4eSmrg    ../../../src/FreeType/ftfuncs.c:2081: warning: implicit declaration of function 'isspace'
21037f7f5e4eSmrg
21047f7f5e4eSmrgcommit 0fd2a1428df56d8b29e148b08dcec2dfed9302fa
21057f7f5e4eSmrgAuthor: Adam Jackson <ajax@redhat.com>
21067f7f5e4eSmrgDate:   Wed Mar 5 22:04:06 2008 -0500
21077f7f5e4eSmrg
21087f7f5e4eSmrg    libXfont 1.3.2
21097f7f5e4eSmrg
211023a0898aSmrgcommit b76df66d2c507898472bba0f9986ef5700029a36
211123a0898aSmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
211223a0898aSmrgDate:   Thu Jan 17 15:30:37 2008 +0100
211323a0898aSmrg
211423a0898aSmrg    Fix for CVE-2008-0006 - PCF Font parser buffer overflow.
211523a0898aSmrg
211623a0898aSmrgcommit 2297c6390a1609fe810c2cd5b3443f3722610944
211723a0898aSmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
211823a0898aSmrgDate:   Thu Oct 18 21:46:49 2007 +0200
211923a0898aSmrg
212023a0898aSmrg    ftsystem.c is not needed anymore.
212123a0898aSmrg
212223a0898aSmrgcommit 5bf703700ee4a5d6eae20da07cb7a29369667aef
212323a0898aSmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
212423a0898aSmrgDate:   Fri Sep 28 08:17:57 2007 +0200
212523a0898aSmrg
212623a0898aSmrg    catalogue.c: prevent a one character overflow
212723a0898aSmrg    
212823a0898aSmrg    this occurs if readlink writes a result that's exactly the
212923a0898aSmrg    size of the buffer that's passed to it. Reported by
213023a0898aSmrg    Joerg Sonnenberger.
213123a0898aSmrg    
213223a0898aSmrg    Re
213323a0898aSmrg
213423a0898aSmrgcommit fd8a03fbbd74f5cbaa740e5d50fccdf5c1f78b5b
213523a0898aSmrgAuthor: Jens Granseuer <jensgr@gmx.net>
213623a0898aSmrgDate:   Thu Sep 27 23:12:00 2007 +0200
213723a0898aSmrg
213823a0898aSmrg    fix build with gcc 2.95.
213923a0898aSmrg    
214023a0898aSmrg    In addition to fixing the C89 issue, the patch also flags a few functions as
214123a0898aSmrg    static to avoid "no previous prototype" warnings.
214223a0898aSmrg
214323a0898aSmrgcommit 268f1bb1859e97944e8b63a5bb12677e874ed144
214423a0898aSmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
214523a0898aSmrgDate:   Thu Sep 13 20:40:26 2007 +0200
214623a0898aSmrg
214723a0898aSmrg    Replaced one instance of bcopy() with memcpy().
214823a0898aSmrg    
214923a0898aSmrg    f->buffer cannot overlap with io->file->bits, so it's safe to
215023a0898aSmrg    use memcpy() rather than memmove().
215123a0898aSmrg    Compile-tested only.
215223a0898aSmrg
215323a0898aSmrgcommit f2725a5c9da771fb610d503ebfda3b4d1553bac4
215423a0898aSmrgAuthor: Eric Anholt <eric@anholt.net>
215523a0898aSmrgDate:   Wed Sep 5 13:10:43 2007 -0700
215623a0898aSmrg
215723a0898aSmrg    Bump version to 1.3.1.
215823a0898aSmrg
215923a0898aSmrgcommit aca95d12a8b35de7ae914632fc9e8a723d58a860
216023a0898aSmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
216123a0898aSmrgDate:   Sat Aug 25 23:32:54 2007 +0200
216223a0898aSmrg
216323a0898aSmrg    Kill unused macro definition.
216423a0898aSmrg
216523a0898aSmrgcommit 3c3b47bf6f080ddb700886de3e5bfa42c2f0774e
21665a3d36dfSmrgMerge: 9f86614 32d2d33
216723a0898aSmrgAuthor: Dodji Seketeli <dodji@openedhand.com>
216823a0898aSmrgDate:   Sat Aug 11 23:09:50 2007 +0200
216923a0898aSmrg
217023a0898aSmrg    Merge branch 'master' of ssh://dodji@git.freedesktop.org/git/xorg/lib/libXfont
217123a0898aSmrg
217223a0898aSmrgcommit 9f86614394af81bc484cf00f3e9996510d3718cb
217323a0898aSmrgAuthor: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
217423a0898aSmrgDate:   Mon Jul 30 14:36:21 2007 -0400
217523a0898aSmrg
217623a0898aSmrg    Fix dirfd leak on CatalogueRescan().
217723a0898aSmrg
217823a0898aSmrgcommit 87f50267181887ed9214536608bd2035d2dd70f7
217923a0898aSmrgAuthor: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
218023a0898aSmrgDate:   Mon Jul 30 14:35:01 2007 -0400
218123a0898aSmrg
218223a0898aSmrg    Support relative paths in catalogue:<dir> symlinks.
218323a0898aSmrg    
218423a0898aSmrg    Relative symlinks are common inside the catalogue directory and
218523a0898aSmrg    should be supported as well.
218623a0898aSmrg
218723a0898aSmrgcommit 32d2d335eacd1b55980323a71ef35cdf7c22366d
218823a0898aSmrgAuthor: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
218923a0898aSmrgDate:   Mon Jul 30 14:36:21 2007 -0400
219023a0898aSmrg
219123a0898aSmrg    Fix dirfd leak on CatalogueRescan().
219223a0898aSmrg
219323a0898aSmrgcommit 0a5b31a40c4933f4c69157c61d4d4890af2205b1
219423a0898aSmrgAuthor: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
219523a0898aSmrgDate:   Mon Jul 30 14:35:01 2007 -0400
219623a0898aSmrg
219723a0898aSmrg    Support relative paths in catalogue:<dir> symlinks.
219823a0898aSmrg    
219923a0898aSmrg    Relative symlinks are common inside the catalogue directory and
220023a0898aSmrg    should be supported as well.
220123a0898aSmrg
220223a0898aSmrgcommit 7670d4a2720c61fbc7b989fed14c676f04ac3ad1
220323a0898aSmrgAuthor: Dodji Seketeli <dodji@seketeli.org>
220423a0898aSmrgDate:   Mon Jul 16 12:24:34 2007 +0200
220523a0898aSmrg
220623a0898aSmrg    Remove side effects from BuiltinReadDirectory()
220723a0898aSmrg    
220823a0898aSmrg    The first time BuiltinReadDirectory() is called,
220923a0898aSmrg    save the content of builtin_dir and builtin_alias,
221023a0898aSmrg    before calling FontFileAddFontFile(), because that fonction
221123a0898aSmrg    will modify those.
221223a0898aSmrg    
221323a0898aSmrg    Then, in subsequent calls to BuiltinReadDirectory(), restore
221423a0898aSmrg    builtin_dir and builtin_alias so that the side effect incurred
221523a0898aSmrg    by the first call disappears.
221623a0898aSmrg
221723a0898aSmrgcommit e3642d9b2c0819a607d4cce413b9f0541285545b
221823a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
221923a0898aSmrgDate:   Mon Jul 2 15:01:05 2007 -0400
222023a0898aSmrg
222123a0898aSmrg    Bump version to 1.3.0.
222223a0898aSmrg
222323a0898aSmrgcommit f33f9361086db3cf1d09cec067f38fe751ed22eb
222423a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
222523a0898aSmrgDate:   Mon Jul 2 14:59:11 2007 -0400
222623a0898aSmrg
222723a0898aSmrg    Fix crash when no attributes are present for symlink.
222823a0898aSmrg
222923a0898aSmrgcommit 8d47483711be6076e7bfefab14aa890c5f37e1aa
223023a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
223123a0898aSmrgDate:   Thu Jun 21 21:44:02 2007 -0400
223223a0898aSmrg
223323a0898aSmrg    Bump version to 1.2.9.
223423a0898aSmrg
223523a0898aSmrgcommit c5ab59762c4ad5def68436d55937a2bd558d5c99
223623a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
223723a0898aSmrgDate:   Tue Jun 19 10:38:02 2007 -0400
223823a0898aSmrg
223923a0898aSmrg    Add a new 'catalogue' FPE, which takes font paths from symlinks in a dir.
224023a0898aSmrg    
224123a0898aSmrg    This patch adds a new FPE type, which will match font path elements of the
224223a0898aSmrg    form
224323a0898aSmrg    
224423a0898aSmrg    	catalogue:<dir>
224523a0898aSmrg    
224623a0898aSmrg    The dir specified after the catalogue: prefix will be scanned for symlinks
224723a0898aSmrg    and each symlink destination will be added as a local fontfile FPE.
224823a0898aSmrg    The symlink can be suffixed by attributes, such as 'unscaled', which
224923a0898aSmrg    will be passed through to the underlying fontfile FPE.  Except the new
225023a0898aSmrg    attribute 'pri' which will be used for ordering the fontfile FPEs.
225123a0898aSmrg    
225223a0898aSmrg    An example configuration:
225323a0898aSmrg    
225423a0898aSmrg    	75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi
225523a0898aSmrg    	ghostscript:pri=60 -> /usr/share/fonts/default/ghostscript
225623a0898aSmrg    	misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc
225723a0898aSmrg    	type1:pri=40 -> /usr/share/X11/fonts/Type1
225823a0898aSmrg    	type1:pri=50 -> /usr/share/fonts/default/Type1
225923a0898aSmrg    
226023a0898aSmrg    will add /usr/share/X11/fonts/misc as the first FPE with the attribute
226123a0898aSmrg    'unscaled', second FPE will be /usr/share/X11/fonts/75dpi, also with
226223a0898aSmrg    the attribute unscaled etc.  This is functionally equivalent to setting
226323a0898aSmrg    the following font path:
226423a0898aSmrg    
226523a0898aSmrg    	/usr/share/X11/fonts/misc:unscaled,
226623a0898aSmrg    	/usr/share/X11/fonts/75dpi:unscaled,
226723a0898aSmrg    	/usr/share/X11/fonts/Type1,
226823a0898aSmrg    	/usr/share/fonts/default/Type1,
226923a0898aSmrg    	/usr/share/fonts/default/ghostscript
227023a0898aSmrg    
227123a0898aSmrg    The motivation is to let font packages add a symlink to the new font
227223a0898aSmrg    directory they provide instead of rewriting either the Xorg config file
227323a0898aSmrg    or the xfs config file.
227423a0898aSmrg
227523a0898aSmrgcommit 1a690feaf7c416da9b01861af381d15a661e5f52
227623a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
227723a0898aSmrgDate:   Thu Jun 7 16:01:03 2007 -0400
227823a0898aSmrg
227923a0898aSmrg    Minor fontfile cleanup.
228023a0898aSmrg
228123a0898aSmrgcommit 3b1bcd7676fe810ce60d6a4758067b571796cceb
228223a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
228323a0898aSmrgDate:   Thu Jun 7 15:54:51 2007 -0400
228423a0898aSmrg
228523a0898aSmrg    Dead code cull from fontserver code.
228623a0898aSmrg
228723a0898aSmrgcommit 6257af0e547095483331b8c8ed588e5467852671
228823a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
228923a0898aSmrgDate:   Thu Jun 7 15:41:19 2007 -0400
229023a0898aSmrg
229123a0898aSmrg    Static markup over bitmap and builtins.
229223a0898aSmrg
229323a0898aSmrgcommit 8c31fadabd706af63381007d666e685a66b58fd9
229423a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
229523a0898aSmrgDate:   Thu Jun 7 15:28:09 2007 -0400
229623a0898aSmrg
229723a0898aSmrg    Dead code cull from FreeType.
229823a0898aSmrg
229923a0898aSmrgcommit fabf5458f1acbfc967bdaea3b89d707c22b97364
230023a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
230123a0898aSmrgDate:   Thu Jun 7 15:17:16 2007 -0400
230223a0898aSmrg
230323a0898aSmrg    Death to open-coded strcasecmp.
230423a0898aSmrg    
230523a0898aSmrg    Seriously, if you don't already have this, you've already lost.
230623a0898aSmrg
230723a0898aSmrgcommit d50de26430c1a114a22597de40a3e5ac3c8e1ab7
230823a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
230923a0898aSmrgDate:   Thu Jun 7 15:13:44 2007 -0400
231023a0898aSmrg
231123a0898aSmrg    Dead code cull from Speedo.
231223a0898aSmrg
231323a0898aSmrgcommit 3fd7a510b5467479d6e2559819b96b222c7328e8
231423a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
231523a0898aSmrgDate:   Thu Jun 7 14:39:03 2007 -0400
231623a0898aSmrg
231723a0898aSmrg    One more missed static in Type1
231823a0898aSmrg
231923a0898aSmrgcommit 440166a027b78eb53d7686937148b755ad51f7f9
232023a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
232123a0898aSmrgDate:   Thu Jun 7 14:24:46 2007 -0400
232223a0898aSmrg
232323a0898aSmrg    Dead code removal and static markup for Type1.
232423a0898aSmrg
232523a0898aSmrgcommit 9739e750a7ca4b86ddb89674b104e9b9a8b61014
232623a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
232723a0898aSmrgDate:   Thu Jun 7 14:20:27 2007 -0400
232823a0898aSmrg
232923a0898aSmrg    Warning cleanup.
233023a0898aSmrg
233123a0898aSmrgcommit 87db45f5eb7880395735f7bf3a8ee2d89b7e0122
233223a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
233323a0898aSmrgDate:   Wed Apr 4 17:05:13 2007 -0700
233423a0898aSmrg
233523a0898aSmrg    Version bump: 1.2.8
233623a0898aSmrg
233723a0898aSmrgcommit 224fb6403a328e70b370540cc5cefd74421fafac
23385a3d36dfSmrgMerge: e7a59cf 0fbb37c
233923a0898aSmrgAuthor: Matthieu Herrb <matthieu@roadrock.(none)>
234023a0898aSmrgDate:   Tue Apr 3 16:05:48 2007 +0200
234123a0898aSmrg
234223a0898aSmrg    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libXfont
234323a0898aSmrg
234423a0898aSmrgcommit e7a59cfb5d442d2965cfcffeff405a4b05591190
234523a0898aSmrgAuthor: Matthieu Herrb <matthieu@roadrock.(none)>
234623a0898aSmrgDate:   Tue Apr 3 15:45:21 2007 +0200
234723a0898aSmrg
234823a0898aSmrg    Integer overflow vulnerabilities
234923a0898aSmrg    
235023a0898aSmrg    CVE-2007-1351: BDFFont Parsing Integer Overflow
235123a0898aSmrg    CVE-2007-1352: fonts.dir File Parsing Integer Overflow
235223a0898aSmrg
235323a0898aSmrgcommit 0fbb37ccc630ced42d6a973c81d947870cca7637
235423a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
235523a0898aSmrgDate:   Mon Apr 2 17:40:19 2007 -0700
235623a0898aSmrg
235723a0898aSmrg    Add #pragma weak for Sun cc where needed
235823a0898aSmrg
235923a0898aSmrgcommit cc824e4f2c9a53a00b36a6f83bf065c363027087
236023a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
236123a0898aSmrgDate:   Fri Mar 23 15:57:29 2007 -0700
236223a0898aSmrg
236323a0898aSmrg    Actually use loadable font modules
236423a0898aSmrg    
236523a0898aSmrg    Loadable font modules were not being initialized, and all font renderers
236623a0898aSmrg    known at build time were always being initialized, regardless of Xorg
236723a0898aSmrg    module configuration.
236823a0898aSmrg
236923a0898aSmrgcommit fc6e22f238d34918156ded34148730075b7b9cc2
237023a0898aSmrgAuthor: Ben Byer <bbyer@bbyer.(none)>
237123a0898aSmrgDate:   Tue Feb 20 00:20:23 2007 -0800
237223a0898aSmrg
237323a0898aSmrg    added -flat_namespace to CFLAGS for Darwin
237423a0898aSmrg
237523a0898aSmrgcommit 9509d5c7ee5d5e78c6eef54e8faceede5ca5f24e
237623a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
237723a0898aSmrgDate:   Mon Jan 22 18:24:19 2007 -0500
237823a0898aSmrg
237923a0898aSmrg    Bump to 1.2.7.
238023a0898aSmrg
238123a0898aSmrgcommit 63af35b908b51690a6c12fd42b54cf4ee08c762a
238223a0898aSmrgAuthor: Simon Law <sfllaw@debian.org>
238323a0898aSmrgDate:   Fri Jan 19 08:50:39 2007 +1100
238423a0898aSmrg
238523a0898aSmrg    fontfile: accept empty (but valid) font paths (bug #3091)
238623a0898aSmrg    If a path has a valid fonts.dir or fonts.alias, but does not contain any
238723a0898aSmrg    fonts (either fonts.dir specifies zero fonts, or fonts could not be
238823a0898aSmrg    loaded), load it as a valid font path anyway.
238923a0898aSmrg
239023a0898aSmrgcommit 931b777108526dd0761f948dcd9f1603ac02efc8
239123a0898aSmrgAuthor: Kristian Høgsberg <krh@redhat.com>
239223a0898aSmrgDate:   Wed Jan 17 17:19:53 2007 -0500
239323a0898aSmrg
239423a0898aSmrg    Add stubs for the scalable renderer callbacks.
239523a0898aSmrg    
239623a0898aSmrg    Trying to scale a bitmap font provided by the built-in backend will
239723a0898aSmrg    crash the X server as it calls into a NULL pointer.  This patch
239823a0898aSmrg    adds "return BadFont;" stubs to prevent the crash.
239923a0898aSmrg
240023a0898aSmrgcommit 2e4ae1b524a0149479c46f3f12a9ce2413092442
240123a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
240223a0898aSmrgDate:   Sat Dec 16 00:53:43 2006 +0200
240323a0898aSmrg
240423a0898aSmrg    bump to 1.2.6
240523a0898aSmrg
240623a0898aSmrgcommit facc7ce4892eab4353fff0f45d2d3fd6be7d3e3d
240723a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
240823a0898aSmrgDate:   Sat Dec 16 00:53:32 2006 +0200
240923a0898aSmrg
241023a0898aSmrg    build Type1 by default
241123a0898aSmrg    Build Type1 by default, instead of needing to explicitly enable it.
241223a0898aSmrg
241323a0898aSmrgcommit 257db35656d5bf9385080e1d173260f0076f849c
241423a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
241523a0898aSmrgDate:   Sat Dec 16 00:53:07 2006 +0200
241623a0898aSmrg
241723a0898aSmrg    don't distribute fontconf.h
241823a0898aSmrg    Since fontconf.h is a generated file, don't distribute it.
241923a0898aSmrg
242023a0898aSmrgcommit ab0f05dcfb5537ba5aec7e48ddb713d4fdba7e75
242123a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
242223a0898aSmrgDate:   Wed Dec 6 18:53:54 2006 +0200
242323a0898aSmrg
242423a0898aSmrg    Makefile.am: make ChangeLog hook safer
242523a0898aSmrg    Make ChangeLog hook as safe as possible.
242623a0898aSmrg
242723a0898aSmrgcommit da20e256b786eaa6357e3d55baa9e90e38f14614
242823a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
242923a0898aSmrgDate:   Fri Dec 1 01:05:59 2006 +0200
243023a0898aSmrg
243123a0898aSmrg    bump to 1.2.5
243223a0898aSmrg
243323a0898aSmrgcommit 16a0c282a673136c0bbb116f35e6e89d8b43a877
243423a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
243523a0898aSmrgDate:   Fri Dec 1 01:05:40 2006 +0200
243623a0898aSmrg
243723a0898aSmrg    post-CID fixes
243823a0898aSmrg    Curiously, make distcheck succeeded ... go figure.
243923a0898aSmrg
244023a0898aSmrgcommit e47fb944a8f485c4ad6be9c2cf6a4866eff7a07f
244123a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
244223a0898aSmrgDate:   Fri Dec 1 00:35:48 2006 +0200
244323a0898aSmrg
244423a0898aSmrg    bump to 1.2.4
244523a0898aSmrg
244623a0898aSmrgcommit 47084ba39920068030c3e59523701d1205161a9f
244723a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
244823a0898aSmrgDate:   Fri Dec 1 00:35:04 2006 +0200
244923a0898aSmrg
245023a0898aSmrg    remove CID font support (bug #5553)
245123a0898aSmrg    Remove non-free CID font support, which was unused anyway.
245223a0898aSmrg
245323a0898aSmrgcommit c4741cdd83bcdedcc6f7a072a73b16668fc905eb
245423a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
245523a0898aSmrgDate:   Fri Oct 13 16:17:26 2006 -0400
245623a0898aSmrg
245723a0898aSmrg    Bump to 1.2.3
245823a0898aSmrg
245923a0898aSmrgcommit 5dfff0eb0f532edb1f4a25daa5529e08dd832ecb
246023a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
246123a0898aSmrgDate:   Thu Oct 5 18:12:50 2006 -0700
246223a0898aSmrg
246323a0898aSmrg    --disable-builtins should not force off all bitmap support
246423a0898aSmrg
246523a0898aSmrgcommit 264df52d24f585915e0d9823d5f087cf23e3fc75
24665a3d36dfSmrgMerge: 0fb55cb d896c3e
246723a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
246823a0898aSmrgDate:   Fri Sep 22 11:36:43 2006 -0700
246923a0898aSmrg
247023a0898aSmrg    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXfont
247123a0898aSmrg
247223a0898aSmrgcommit d896c3eaeafdb8831ed0833af46250c36f82502f
247323a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
247423a0898aSmrgDate:   Tue Sep 12 11:11:12 2006 -0400
247523a0898aSmrg
247623a0898aSmrg    Fix distcheck.
247723a0898aSmrg
247823a0898aSmrgcommit 1bb49c77c321fab1f5c268404ea0ec622fa083ed
247923a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
248023a0898aSmrgDate:   Tue Sep 12 11:01:13 2006 -0400
248123a0898aSmrg
248223a0898aSmrg    Bump to 1.2.2.
248323a0898aSmrg
248423a0898aSmrgcommit 8c8203ca2760105aca4e0b6ec5909355a061f0b3
248523a0898aSmrgAuthor: Matthieu Herrb <matthieu@blues.laas.fr>
248623a0898aSmrgDate:   Tue Sep 12 13:50:31 2006 +0200
248723a0898aSmrg
248823a0898aSmrg    Fixes for integer overflows in CID encoded fonts parsing reported by iDefense
248923a0898aSmrg    CVE-ID 2006-3739, 2006-3740, bugzilla #8000, #8001.
249023a0898aSmrg
249123a0898aSmrgcommit 0fb55cb86e2ec5dbfbf27a01ceafb77c72fe9f40
249223a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
249323a0898aSmrgDate:   Wed Aug 30 15:53:14 2006 -0700
249423a0898aSmrg
249523a0898aSmrg    Fix typo in comment (alreadt -> already)
249623a0898aSmrg
249723a0898aSmrgcommit aa7f3107d5aad41cb3f7b1bb3a4723014314289c
249823a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
249923a0898aSmrgDate:   Fri Aug 25 17:51:46 2006 -0700
250023a0898aSmrg
250123a0898aSmrg    Add *~ to .gitignore to skip emacs droppings
250223a0898aSmrg
250323a0898aSmrgcommit cd09f4d54045b957d728d853398d62543d687d03
250423a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
250523a0898aSmrgDate:   Fri Aug 25 17:51:04 2006 -0700
250623a0898aSmrg
250723a0898aSmrg    Replace static ChangeLog with dist-hook to generate from git log
250823a0898aSmrg
250923a0898aSmrgcommit 8d171fe61e564d8ed8f75034d4191062cecf190b
251023a0898aSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
251123a0898aSmrgDate:   Sun Jul 23 22:42:43 2006 +0200
251223a0898aSmrg
251323a0898aSmrg    More check on PCF file reading. Bugzilla #7535
251423a0898aSmrg
251523a0898aSmrgcommit fead0fa3bae0ba5a4744d6a2aee1caa08019f344
251623a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
251723a0898aSmrgDate:   Wed Jul 19 18:03:58 2006 -0400
251823a0898aSmrg
251923a0898aSmrg    use OpenBitmap when available
252023a0898aSmrg    Don't just use OpenScalable unconditionally.  Fixes builtin fonts.
252123a0898aSmrg
252223a0898aSmrgcommit 13422d0e0468f2ddf7cb74cbf925e5bcf4551ae7
252323a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
252423a0898aSmrgDate:   Wed Jul 19 18:03:26 2006 -0400
252523a0898aSmrg
252623a0898aSmrg    move builtin fonts to gzip
252723a0898aSmrg    Use gzip, rather than compress, for builtin fonts.
252823a0898aSmrg
252923a0898aSmrgcommit 47ca9941396a375f5e22c220327b6bd513350996
253023a0898aSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
253123a0898aSmrgDate:   Thu Jul 13 14:58:56 2006 -0700
253223a0898aSmrg
253323a0898aSmrg    renamed: .cvsignore -> .gitignore
253423a0898aSmrg
253523a0898aSmrgcommit 1bf657186d19887a0916340b544b5534e29da081
253623a0898aSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
253723a0898aSmrgDate:   Thu Jul 13 10:18:38 2006 -0400
253823a0898aSmrg
253923a0898aSmrg    Bug #7397: Fix a buffer overflow in Freetype font support.
254023a0898aSmrg
254123a0898aSmrgcommit 5d39f5fd3048fc413cb07afeffec0c4daa0cc5a4
254223a0898aSmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
254323a0898aSmrgDate:   Thu Jul 6 16:13:14 2006 -0400
254423a0898aSmrg
254523a0898aSmrg    Bump to 1.2.0
254623a0898aSmrg
254723a0898aSmrgcommit d9e83ea0ab1cc3bafcdca04812dcbfe541ce1473
254823a0898aSmrgAuthor: Jie Luo <clotho67@gmail.com>
254923a0898aSmrgDate:   Thu Jul 6 15:59:31 2006 -0400
255023a0898aSmrg
255123a0898aSmrg    Bug #6918: remove dependencies on Freetype internal headers.  As of 2.2
255223a0898aSmrg    Freetype no longer installs them.
255323a0898aSmrg
255423a0898aSmrgcommit 2a564715e6d01bafdf4b701e125e45a77c2c404b
255523a0898aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
255623a0898aSmrgDate:   Sat Jun 3 06:25:05 2006 +0000
255723a0898aSmrg
255823a0898aSmrg    Coverity #1541: Double free of pointer "ranges" in call to "Xfree"
255923a0898aSmrg
256023a0898aSmrgcommit ddd281e6b9408c786cdc759cf7d1ec8972048658
256123a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
256223a0898aSmrgDate:   Thu Jun 1 21:49:51 2006 +0000
256323a0898aSmrg
256423a0898aSmrg    For the 20-odd symbols defined both in libXfont and the X server, emit them
256523a0898aSmrg        as weak symbols so that the linker will prefer the server's definition
256623a0898aSmrg        when present.
256723a0898aSmrg
256823a0898aSmrgcommit e9357d6670fc2e8ccf8d8770bac4c31994d6cc2f
256923a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
257023a0898aSmrgDate:   Sat Apr 1 23:05:40 2006 +0000
257123a0898aSmrg
257223a0898aSmrg    Add ft.h and ftfuncs.h to the install set for Xprint's benefit. Bump to 1.1
257323a0898aSmrg        for new header files and bugfixes.
257423a0898aSmrg
257523a0898aSmrgcommit 7ecd09a15c30770ed6e70d80fb67f88819471c20
257623a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
257723a0898aSmrgDate:   Fri Mar 31 07:17:16 2006 +0000
257823a0898aSmrg
257923a0898aSmrg    Change BUILD_* to XFONT_* (Drew Parsons). Remove random #ifndef CRAY.
258023a0898aSmrg
258123a0898aSmrgcommit 69c4ae1e3e14a58bc2eb9b9b8820dc7183b82a67
258223a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
258323a0898aSmrgDate:   Mon Mar 20 19:44:26 2006 +0000
258423a0898aSmrg
258523a0898aSmrg    Bug #6247: Fix build on Cygwin. (Yaakov Selkowitz)
258623a0898aSmrg
258723a0898aSmrgcommit bfb8a71f4f7e5c5ed4278cb3ee271bf9990d276d
258823a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
258923a0898aSmrgDate:   Tue Feb 21 21:35:32 2006 +0000
259023a0898aSmrg
259123a0898aSmrg    Don't crash when we receive an FS_Error from the font server (Guillem
259223a0898aSmrg        Jover).
259323a0898aSmrg
259423a0898aSmrgcommit 784838e88ea205c4457f41335b4ce7876833dffc
259523a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
259623a0898aSmrgDate:   Thu Dec 15 00:24:29 2005 +0000
259723a0898aSmrg
259823a0898aSmrg    Update package version number for final X11R7 release candidate.
259923a0898aSmrg
260023a0898aSmrgcommit e2e5839417ac4d635781508e48ab1838218f4a77
260123a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
260223a0898aSmrgDate:   Fri Dec 9 06:55:27 2005 +0000
260323a0898aSmrg
260423a0898aSmrg    Bug #5175: Make encodingsdir configurable.
260523a0898aSmrg
260623a0898aSmrgcommit 9a7909e80a8b436aa7aad84c8aceba7df2ffc95c
260723a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
260823a0898aSmrgDate:   Sat Dec 3 05:49:43 2005 +0000
260923a0898aSmrg
261023a0898aSmrg    Update package version number for X11R7 RC3 release.
261123a0898aSmrg
261223a0898aSmrgcommit ad001bd8823594fed860e070b278748fe2b7c3aa
261323a0898aSmrgAuthor: Eric Anholt <anholt@freebsd.org>
261423a0898aSmrgDate:   Sun Nov 20 23:17:40 2005 +0000
261523a0898aSmrg
261623a0898aSmrg    Add/improve libs .cvsignores.
261723a0898aSmrg
261823a0898aSmrgcommit d48bfbaf52598d89b4b1d97b230924874175e068
261923a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
262023a0898aSmrgDate:   Sat Nov 19 07:15:41 2005 +0000
262123a0898aSmrg
262223a0898aSmrg    Update pkgconfig files to separate library build-time dependencies from
262323a0898aSmrg        application build-time dependencies, and update package deps to work
262423a0898aSmrg        with separate build roots.
262523a0898aSmrg
262623a0898aSmrgcommit 70a8aeb19223cc6db9ff6fc1335e3ef94bbb9253
262723a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
262823a0898aSmrgDate:   Mon Nov 14 20:40:42 2005 +0000
262923a0898aSmrg
263023a0898aSmrg    Bug #5047: Make font directory attribs work in modular.
263123a0898aSmrg
263223a0898aSmrgcommit 659b2a75a690838dc37ae488d0295c4c594978ce
263323a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
263423a0898aSmrgDate:   Wed Nov 9 21:19:13 2005 +0000
263523a0898aSmrg
263623a0898aSmrg    Update package version number for X11R7 RC2 release.
263723a0898aSmrg
263823a0898aSmrgcommit fc82a56858e26674e83cc9429fa0eae24d97a530
263923a0898aSmrgAuthor: Kean Johnson <kean@armory.com>
264023a0898aSmrgDate:   Tue Nov 8 06:33:26 2005 +0000
264123a0898aSmrg
264223a0898aSmrg    See ChangeLog entry 2005-11-07 for details.
264323a0898aSmrg
264423a0898aSmrgcommit fb3d726bbff1fad62a3d6dbbcf1c397872aadef3
264523a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
264623a0898aSmrgDate:   Sun Oct 23 18:32:05 2005 +0000
264723a0898aSmrg
264823a0898aSmrg    Bug #4721: Fix crash when using Freetype 2.1.10. (Michael Gor)
264923a0898aSmrg
265023a0898aSmrgcommit 0f006d82f8edd15e0125800fa3166a147e79b9f5
265123a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
265223a0898aSmrgDate:   Wed Oct 19 02:48:10 2005 +0000
265323a0898aSmrg
265423a0898aSmrg    Update package version number for RC1 release.
265523a0898aSmrg
265623a0898aSmrgcommit 70dfb55c0390cd8698a77baad5e9fbb07aab272d
265723a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
265823a0898aSmrgDate:   Wed Oct 5 19:39:06 2005 +0000
265923a0898aSmrg
266023a0898aSmrg    Include missing files
266123a0898aSmrg
266223a0898aSmrgcommit 01f5840009b23cc504359219a6fbab3c150d4656
266323a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
266423a0898aSmrgDate:   Tue Oct 4 00:24:47 2005 +0000
266523a0898aSmrg
266623a0898aSmrg    Bug #4677: Don't install libfontcache.so
266723a0898aSmrg
266823a0898aSmrgcommit 30f912cd14e8b7272a95586dc0af429a0fa4c84f
266923a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
267023a0898aSmrgDate:   Fri Sep 9 05:32:58 2005 +0000
267123a0898aSmrg
267223a0898aSmrg    AC_DEFINE FONTCACHE rather than XFONT_FONTCACHE, as the former is used in
267323a0898aSmrg        the code, and the latter in Makefile.ams for an AM_CONDITIONAL.
267423a0898aSmrg
267523a0898aSmrgcommit 4a2f7ae2f3317e53d99daf15ad362230388949d4
267623a0898aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
267723a0898aSmrgDate:   Thu Aug 4 16:15:46 2005 +0000
267823a0898aSmrg
267923a0898aSmrg    If --with-freetype-config is not specified, try pkgconfig freetype2, then
268023a0898aSmrg        fall back to freetype-config if pkgconfig fails.
268123a0898aSmrg
268223a0898aSmrgcommit 0c52dd6f8816a72d8309f0b059afb0c3393f17cf
268323a0898aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
268423a0898aSmrgDate:   Sat Jul 30 18:56:32 2005 +0000
268523a0898aSmrg
268623a0898aSmrg    Clear compiler warnings. (Stefan Dirsch)
268723a0898aSmrg
268823a0898aSmrgcommit 8520fa13d35e42da7352772b499beef258723d43
268923a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
269023a0898aSmrgDate:   Fri Jul 29 21:22:51 2005 +0000
269123a0898aSmrg
269223a0898aSmrg    Various changes preparing packages for RC0:
269323a0898aSmrg    - Verify and update package version numbers as needed
269423a0898aSmrg    - Implement versioning scheme
269523a0898aSmrg    - Change bug address to point to bugzilla bug entry form
269623a0898aSmrg    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
269723a0898aSmrg        reenable it)
269823a0898aSmrg    - Fix makedepend to use pkgconfig and pass distcheck
269923a0898aSmrg    - Update build script to build macros first
270023a0898aSmrg    - Update modular Xorg version
270123a0898aSmrg
270223a0898aSmrgcommit d0c5d54d2c7f0bb9364414620df869e3c7615cd5
270323a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
270423a0898aSmrgDate:   Sat Jul 23 05:27:00 2005 +0000
270523a0898aSmrg
270623a0898aSmrg    Fix distchecks
270723a0898aSmrg
270823a0898aSmrgcommit 561a45751e4c553f1e0887b73abcc724828f03b0
270923a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
271023a0898aSmrgDate:   Sat Jul 16 07:55:12 2005 +0000
271123a0898aSmrg
271223a0898aSmrg    Set soversion to 1.0.0 using -version-number.
271323a0898aSmrg
271423a0898aSmrgcommit 054dd01fd5793cff89f7c536c04fd8d904aca4a3
271523a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
271623a0898aSmrgDate:   Thu Jul 14 14:56:13 2005 +0000
271723a0898aSmrg
271823a0898aSmrg    Add a dummy source file to avoid link failures.
271923a0898aSmrg
272023a0898aSmrgcommit 740cfa83024ce5d3f131cdc2f52dd5bf26f945b3
272123a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
272223a0898aSmrgDate:   Sun Jul 10 21:35:08 2005 +0000
272323a0898aSmrg
272423a0898aSmrg    Change include dir now that public headers are referenced by
272523a0898aSmrg        <X11/fonts/*.h>
272623a0898aSmrg
272723a0898aSmrgcommit cd24fcabc449bbc701a25e3cad279009dec69032
272823a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
272923a0898aSmrgDate:   Sat Jul 9 23:31:40 2005 +0000
273023a0898aSmrg
273123a0898aSmrg    Switch from monolithic configuration symbols to modular ones, add backward
273223a0898aSmrg        compatibility for monolithic symbols
273323a0898aSmrg
273423a0898aSmrgcommit 428dd333c1c1a96d205d8236c6ecee32dbf7cac9
273523a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
273623a0898aSmrgDate:   Sat Jul 9 23:30:07 2005 +0000
273723a0898aSmrg
273823a0898aSmrg    Switch from monolithic configuration symbols to modular ones, add backward
273923a0898aSmrg        compatibility for monolithic symbols
274023a0898aSmrg
274123a0898aSmrgcommit 99cde389c331616f22dd6aab395c488f3a798e2e
274223a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
274323a0898aSmrgDate:   Sat Jul 9 23:15:37 2005 +0000
274423a0898aSmrg
274523a0898aSmrg    Rearrange configuration options so that individual font file formats drive
274623a0898aSmrg        combined options, and so that the default matches the monolithic
274723a0898aSmrg        defaults
274823a0898aSmrg    Extent fontconf.h to cover all formats
274923a0898aSmrg    Typo in src/Makefile.am failed to link in Type1 library
275023a0898aSmrg    Missing xttcap.c from FreeType shim library.
275123a0898aSmrg
275223a0898aSmrgcommit 3c4ac0b9f5b7aced60a763bcaca7b32cd53a7fec
275323a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
275423a0898aSmrgDate:   Sat Jul 9 06:36:13 2005 +0000
275523a0898aSmrg
275623a0898aSmrg    Include config.h in every source file to make sure necessary options are
275723a0898aSmrg        found when building in the modular tree
275823a0898aSmrg
275923a0898aSmrgcommit 712140dadd20c7d2024d7b75f7033fff407e57e6
276023a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
276123a0898aSmrgDate:   Sat Jul 9 06:20:37 2005 +0000
276223a0898aSmrg
276323a0898aSmrg    Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory
276423a0898aSmrg
276523a0898aSmrgcommit ef504c5311dfd441dcb73be64e90f6e7a530b61c
276623a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
276723a0898aSmrgDate:   Fri Jul 8 20:47:12 2005 +0000
276823a0898aSmrg
276923a0898aSmrg    add -D_XOPEN_SOURCE for linux builds; others might need it too
277023a0898aSmrg
277123a0898aSmrgcommit 3ff8db61b901a4d6236a0e4fa40fe5f1b7afcf78
277223a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
277323a0898aSmrgDate:   Fri Jul 8 20:16:12 2005 +0000
277423a0898aSmrg
277523a0898aSmrg    disable the poll detection momentarily, it's not correct
277623a0898aSmrg
277723a0898aSmrgcommit 830d29e5cb0a8c46cd366adefbf3a291c65bd3ac
277823a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
277923a0898aSmrgDate:   Fri Jul 8 20:08:12 2005 +0000
278023a0898aSmrg
278123a0898aSmrg    silence a warning
278223a0898aSmrg
278323a0898aSmrgcommit 75bbb2d461957902258223a9f8f7f8490132e75d
278423a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
278523a0898aSmrgDate:   Fri Jul 8 19:53:05 2005 +0000
278623a0898aSmrg
278723a0898aSmrg    config.h includes to fix modular build.
278823a0898aSmrg
278923a0898aSmrgcommit f068c478d0966be93f9e984c1e9ce2600819a6a1
279023a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
279123a0898aSmrgDate:   Fri Jul 8 18:29:58 2005 +0000
279223a0898aSmrg
279323a0898aSmrg    Properly test for the existance of poll(3). Default to using it if it
279423a0898aSmrg        exists; add a flag to disable it if you like going slow.
279523a0898aSmrg    Also s/BULITIN/BUILTIN/.
279623a0898aSmrg
279723a0898aSmrgcommit e5f35e324548994f2d6df89d6bd0a4eb913f7414
279823a0898aSmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com>
279923a0898aSmrgDate:   Thu Jul 7 14:59:47 2005 +0000
280023a0898aSmrg
280123a0898aSmrg    Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2332
280223a0898aSmrg        <https://bugs.freedesktop.org/attachment.cgi?id=2332> This patch avoids
280323a0898aSmrg        79 gcc-3.4.3 warnings 'xxx' declared `static' but never defined mostly
280423a0898aSmrg        due to including "ftfuncs.h" with the declaration of static functions
280523a0898aSmrg        defined in "ftfuncs.c". (Peter Breitenlohner)
280623a0898aSmrg
280723a0898aSmrgcommit c073ce34164a9872688ce619cc0b3fedbdc76f83
280823a0898aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
280923a0898aSmrgDate:   Mon Jul 4 22:26:15 2005 +0000
281023a0898aSmrg
281123a0898aSmrg    Test for xtrans connection flags
281223a0898aSmrg
281323a0898aSmrgcommit a0dc7d02bfcaea8c8a60dcbd00795999bd7f8e0a
281423a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
281523a0898aSmrgDate:   Sun Jul 3 21:43:32 2005 +0000
281623a0898aSmrg
281723a0898aSmrg    Undo previous change to add ${includedir}/X11/fonts to CFLAGS. Instead,
281823a0898aSmrg        require all apps to include font headers explicitly -- i.e., from
281923a0898aSmrg        <X11/fonts/*.h> instead of "*.h" or <*.h>.
282023a0898aSmrg
282123a0898aSmrgcommit b15a03de6b1897d7c8292e154d0e927f43e3cde0
282223a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
282323a0898aSmrgDate:   Sun Jul 3 21:38:42 2005 +0000
282423a0898aSmrg
282523a0898aSmrg    Install publicly used headers in X11/fonts.
282623a0898aSmrg    Change source files that use these headers to get them via <X11/fonts/*.h>.
282723a0898aSmrg
282823a0898aSmrgcommit bf4070d02196cab1de62d5fe19be9a1aa74a87c7
282923a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
283023a0898aSmrgDate:   Sun Jul 3 16:10:05 2005 +0000
283123a0898aSmrg
283223a0898aSmrg    Change include dir now that public headers are referenced by
283323a0898aSmrg        <X11/fonts/*.h>
283423a0898aSmrg
283523a0898aSmrgcommit 932edb23b47440397447265bf72ad7932fd80070
283623a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
283723a0898aSmrgDate:   Sun Jul 3 07:01:01 2005 +0000
283823a0898aSmrg
283923a0898aSmrg    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
284023a0898aSmrg    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
284123a0898aSmrg    Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
284223a0898aSmrg        source files in the xserver/xorg tree, predicated on defines of
284323a0898aSmrg        HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
284423a0898aSmrg        <X11/fonts/foo.h>.
284523a0898aSmrg
284623a0898aSmrgcommit b03d67fd1612a0df5132b10dd0bd9b2cec053a39
284723a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
284823a0898aSmrgDate:   Sat Jul 2 23:03:05 2005 +0000
284923a0898aSmrg
285023a0898aSmrg    Add suitable .cvsignore files
285123a0898aSmrg
285223a0898aSmrgcommit 69ee19fc4131ce168c9bad2602ff2da176a86715
285323a0898aSmrgAuthor: Kevin E Martin <kem@kem.org>
285423a0898aSmrgDate:   Sat Jul 2 21:39:23 2005 +0000
285523a0898aSmrg
285623a0898aSmrg    Make headers needed by bdftopcf public
285723a0898aSmrg    Set CFLAGS to make public interface actually public
285823a0898aSmrg    Fix distcheck problem
285923a0898aSmrg
286023a0898aSmrgcommit 0ea9f882abb9ad56de2bb8b569e21728e13a1ea7
286123a0898aSmrgAuthor: Keith Packard <keithp@keithp.com>
286223a0898aSmrgDate:   Sat Jul 2 21:22:31 2005 +0000
286323a0898aSmrg
286423a0898aSmrg    Build libXfont.la in the 'src' directory as my version of automake really
286523a0898aSmrg        didn't like sub-subdirs in SUBDIRS.
286623a0898aSmrg
286723a0898aSmrgcommit 6abcfa406de44d726f550fe7e9b04e4168fce265
286823a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
286923a0898aSmrgDate:   Sat Jul 2 18:02:19 2005 +0000
287023a0898aSmrg
287123a0898aSmrg    Remove -I${includedir}/X11/fonts from CFLAGS.
287223a0898aSmrg
287323a0898aSmrgcommit 58edcd0de115e23030955493e88afb25b57668e9
287423a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
287523a0898aSmrgDate:   Fri Jul 1 22:21:43 2005 +0000
287623a0898aSmrg
287723a0898aSmrg    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
287823a0898aSmrg
287923a0898aSmrgcommit 12cca25eea410bfd536ada44e252d79e0896ffa2
288023a0898aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
288123a0898aSmrgDate:   Fri Jul 1 21:24:31 2005 +0000
288223a0898aSmrg
288323a0898aSmrg    Default --enable-fc to yes; minor formatting changes.
288423a0898aSmrg
288523a0898aSmrgcommit 4534fa0c8adb77b7db47101318e0e863edb186ce
288623a0898aSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
288723a0898aSmrgDate:   Mon Jun 27 16:09:14 2005 +0000
288823a0898aSmrg
288923a0898aSmrg    - Remove fontenc from Xfont
289023a0898aSmrg    - Add a dependency from Xfont on libfontenc
289123a0898aSmrg    - Add build system for lib/fontenc
289223a0898aSmrg    - xc/lib/font: Change #include "fontenc.h" to #include
289323a0898aSmrg        <X11/fonts/fontenc.h> in some places.
289423a0898aSmrg    - Remove dpsinfo and dpsexec from the app section of symlink.sh
289523a0898aSmrg    - Fix xp.pc.in to add XPRINT_LIBS/CFLAGS instead of X_LIBS/CFLAGS
289623a0898aSmrg
289723a0898aSmrgcommit fda7215c0783ad170eb14f7dda078fac3f134470
289823a0898aSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
289923a0898aSmrgDate:   Tue Jun 21 21:29:40 2005 +0000
290023a0898aSmrg
290123a0898aSmrg    Add fontenc directory, update buildsystem
290223a0898aSmrg
290323a0898aSmrgcommit db8fd7e670cbd901116344212217bee8001ab460
290423a0898aSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
290523a0898aSmrgDate:   Fri Jun 17 20:33:33 2005 +0000
290623a0898aSmrg
290723a0898aSmrg    Add lbxutil to symlink.sh Add back accidentally removed include in Type1
290823a0898aSmrg        directory Disable Speedo by default
290923a0898aSmrg
291023a0898aSmrgcommit e5525d268c6165318894f326be445b22a2523558
291123a0898aSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
291223a0898aSmrgDate:   Thu Jun 16 21:35:26 2005 +0000
291323a0898aSmrg
291423a0898aSmrg    Add Speedo directory to Xfont
291523a0898aSmrg
291623a0898aSmrgcommit b96f539005da57273dc7e2bee13651de4eedf087
291723a0898aSmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
291823a0898aSmrgDate:   Thu Jun 16 20:50:12 2005 +0000
291923a0898aSmrg
292023a0898aSmrg    Add Type1 subdirectory to lib/Xfonts, update build system accordingly.
292123a0898aSmrg
292223a0898aSmrgcommit 01c8cee1736be252348306412ab56b2e03bf2678
292323a0898aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
292423a0898aSmrgDate:   Thu Jun 9 15:56:05 2005 +0000
292523a0898aSmrg
292623a0898aSmrg    Replace <X11/transport.c> with <X11/Xtrans/transport.c>
292723a0898aSmrg
292823a0898aSmrgcommit 3a46316e5f21e28402babdc95871317bd7013809
292923a0898aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
293023a0898aSmrgDate:   Thu Jun 9 15:52:03 2005 +0000
293123a0898aSmrg
293223a0898aSmrg    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
293323a0898aSmrg    Copy Xtrans.h to exports/include/X11/Xtrans only
293423a0898aSmrg
293523a0898aSmrgcommit 175bbc2e58f7dbe5c1f097ef36eadc3f6fe4b5e6
293623a0898aSmrgAuthor: Josh Triplett <josh@speakeasy.net>
293723a0898aSmrgDate:   Fri May 27 17:44:08 2005 +0000
293823a0898aSmrg
293923a0898aSmrg    Reference X11/fonts header files using X11/fonts/ prefix.
294023a0898aSmrg
294123a0898aSmrgcommit fd884a4dbe3f1be8919426da3ebd177fa474a59e
294223a0898aSmrgAuthor: Josh Triplett <josh@speakeasy.net>
294323a0898aSmrgDate:   Fri May 27 05:17:52 2005 +0000
294423a0898aSmrg
294523a0898aSmrg    Add Xfont.
294623a0898aSmrg
294723a0898aSmrgcommit 73c3c1850bc5ba1b0d42b2a9d4f3f5593bfbfd02
294823a0898aSmrgAuthor: Adam Jackson <ajax@nwnk.net>
294923a0898aSmrgDate:   Fri Apr 22 20:49:49 2005 +0000
295023a0898aSmrg
295123a0898aSmrg    Bug #3069: Drop the BuildLowMem hack, it doesn't compile and isn't useful.
295223a0898aSmrg
295323a0898aSmrgcommit dd695cb666d6912f615b264eaabbad63592588c1
295423a0898aSmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
295523a0898aSmrgDate:   Mon Nov 15 15:06:56 2004 +0000
295623a0898aSmrg
295723a0898aSmrg    Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added
295823a0898aSmrg        mingw (Win32) port
295923a0898aSmrg
296023a0898aSmrgcommit 8cb3bec3667fa6ee57277956d3be71671915a73b
296123a0898aSmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
296223a0898aSmrgDate:   Wed Nov 10 07:46:26 2004 +0000
296323a0898aSmrg
296423a0898aSmrg    xc/lib/font/util/Imakefile
296523a0898aSmrg    //freedesktop.org/bugzilla/show_bug.cgi?id=1804): Fix build failure (caused
296623a0898aSmrg        by missing symbols such as |TwoByteSwap|) when linking the FreeType
296723a0898aSmrg        module and the FreeType library both statically info the Xserver.
296823a0898aSmrg
296923a0898aSmrgcommit 69e87288b14a9f28caf0ed5e4ccf5a52767b22eb
297023a0898aSmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
297123a0898aSmrgDate:   Wed Nov 3 19:43:57 2004 +0000
297223a0898aSmrg
297323a0898aSmrg    //freedesktop.org/bugzilla/show_bug.cgi?id=1767): Fixing build bustage in
297423a0898aSmrg        xc/programs/bdftopcf/ due missing `FT_STREAM_SEEK'/`FT_STREAM_POS'
297523a0898aSmrg        symbols.
297623a0898aSmrg
297723a0898aSmrgcommit 29b00ebfebf9811d0940c164a4fcff1b2fc5f2a0
297823a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
297923a0898aSmrgDate:   Tue Nov 2 08:54:52 2004 +0000
298023a0898aSmrg
298123a0898aSmrg    Removing unneeded private FreeType2 symbol.
298223a0898aSmrg    Updating to EDID 1.3. (Bugzilla# 1490, Jay Cotton, Egbert Eich).
298323a0898aSmrg    Removing unneeded code.
298423a0898aSmrg    Fixed KGA handling for i810. KGA handling for chips derived from C&T chips
298523a0898aSmrg        is slightly different. The changes make the code consistent with the
298623a0898aSmrg        C&T (chips) and i740 drivers.
298723a0898aSmrg
298823a0898aSmrgcommit e521b8425894ae62ebe225af80e8b6f820df6ff8
298923a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
299023a0898aSmrgDate:   Wed Aug 4 12:21:48 2004 +0000
299123a0898aSmrg
299223a0898aSmrg    Optimization of CJK rendering when using versions of freetype prior to
299323a0898aSmrg        2.1.8 (Chisato Yamauchi).
299423a0898aSmrg    A small backward compatibility fix to make the freetype module build with
299523a0898aSmrg        freetype version < 2.1.7.
299623a0898aSmrg    Fixed/added some debugging code.
299723a0898aSmrg
299823a0898aSmrgcommit 0cbe4e38042a21ee193b2fda42fa647e23f61758
299923a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
300023a0898aSmrgDate:   Tue Aug 3 16:12:53 2004 +0000
300123a0898aSmrg
300223a0898aSmrg    fixed typo
300323a0898aSmrg
300423a0898aSmrgcommit 3ebaa297368aaf4c49caf179d2032c1678066663
300523a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
300623a0898aSmrgDate:   Tue Aug 3 09:02:17 2004 +0000
300723a0898aSmrg
300823a0898aSmrg    Bugzilla #925: Simpler version of backward compatibility fix (Chisato
300923a0898aSmrg        Yamauchi). Fix to support older versions of gcc (Matthieu Herrb).
301023a0898aSmrg
301123a0898aSmrgcommit 96a97b8f86982ece612aa72865b737820d88105b
301223a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
301323a0898aSmrgDate:   Mon Aug 2 19:35:07 2004 +0000
301423a0898aSmrg
301523a0898aSmrg    Removed distro specific stuff.
301623a0898aSmrg    Fixed FreeType module to build with FreeType versions older than 2.1.7.
301723a0898aSmrg    Fixed typo.
301823a0898aSmrg    Added vtSema to protect call of driver DPMS function.
301923a0898aSmrg    removed unneeded variable
302023a0898aSmrg    Modified RandR driver hook to reduce the number of function calls to one.
302123a0898aSmrg        Function is sufficiently generic to be extended in the future.
302223a0898aSmrg
302323a0898aSmrgcommit d1054db0eec3af6a7c322b262cfc1bf5a3992805
302423a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
302523a0898aSmrgDate:   Mon May 24 19:06:59 2004 +0000
302623a0898aSmrg
302723a0898aSmrg    Fix build glitches when building modules independently using Imake.
302823a0898aSmrg
302923a0898aSmrgcommit 2a7109894f4dcfaba70135e19fb6d595332522c7
303023a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
303123a0898aSmrgDate:   Wed May 5 17:24:40 2004 +0000
303223a0898aSmrg
303323a0898aSmrg    BugZilla #601: fixed missing symbols in Xserver freetype module due to
303423a0898aSmrg        using isdigit instead of ft_isdigit, missing or faulty defines for
303523a0898aSmrg        digit and string functions in ftstdlib.h (now myftstdlib.h). Reverted
303623a0898aSmrg        freetype2 to upstream version, fixed CHAR_BIT in myftstdlib.h and made
303723a0898aSmrg        the use of a copy of ftconfig.h in lib/font/FreeType obsolete (Egbert
303823a0898aSmrg        Eich).
303923a0898aSmrg
304023a0898aSmrgcommit b096ed91beaa09eb06b07ef948eeb6207bd3c5e4
304123a0898aSmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
304223a0898aSmrgDate:   Tue May 4 22:59:15 2004 +0000
304323a0898aSmrg
304423a0898aSmrg    Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=595 -
304523a0898aSmrg        RFE: Retire XTT font module and FreeType1 from xorg tree. The
304623a0898aSmrg        functionality of XTT has been integrated into the FreeType font module
304723a0898aSmrg        and the old XTT1.x code (incl. FreeType1 in xc/extras/) is no longer
304823a0898aSmrg        needed anymore.
304923a0898aSmrg
305023a0898aSmrgcommit ca5602cde91fc78f54ebe9f08c11a44a9372a652
305123a0898aSmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
305223a0898aSmrgDate:   Tue May 4 18:47:31 2004 +0000
305323a0898aSmrg
305423a0898aSmrg    Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=307 -
305523a0898aSmrg        Restore optimization heuristics on CJK fonts in the FreeType font
305623a0898aSmrg        module which were broken in X11R6.7. Patch by Chisato Yamauchi
305723a0898aSmrg        <cyamauch@a.phys.nagoya-u.ac.jp>.
305823a0898aSmrg
305923a0898aSmrgcommit 3d75ea33ecf80c3539b38a993092cd16325a9525
306023a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
306123a0898aSmrgDate:   Fri Apr 23 18:44:23 2004 +0000
306223a0898aSmrg
306323a0898aSmrg    Merging XORG-CURRENT into trunk
306423a0898aSmrg
306523a0898aSmrgcommit 8ee2a19ff0295d625baf0b42e0a8bb7f4ad575fd
306623a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
306723a0898aSmrgDate:   Sun Mar 14 08:32:37 2004 +0000
306823a0898aSmrg
306923a0898aSmrg    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
307023a0898aSmrg
307123a0898aSmrgcommit 4986cabb22d133aeb37b53514471ff7d5bf999fe
307223a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
307323a0898aSmrgDate:   Wed Mar 3 12:11:44 2004 +0000
307423a0898aSmrg
307523a0898aSmrg    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
307623a0898aSmrg
307723a0898aSmrgcommit f827ecf1e0c4289b5020256f9bf5b8d563b202c7
307823a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
307923a0898aSmrgDate:   Thu Feb 26 13:35:35 2004 +0000
308023a0898aSmrg
308123a0898aSmrg    readding XFree86's cvs IDs
308223a0898aSmrg
308323a0898aSmrgcommit 90614769a00fbdaf6ef2e313b480e1f0857425f3
308423a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
308523a0898aSmrgDate:   Thu Feb 26 09:22:53 2004 +0000
308623a0898aSmrg
308723a0898aSmrg    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
308823a0898aSmrg
308923a0898aSmrgcommit 45fc57ae316da51b2f9abab2aee303456730ab54
309023a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
309123a0898aSmrgDate:   Mon Feb 23 20:34:43 2004 +0000
309223a0898aSmrg
309323a0898aSmrg    Import most of XFree86 4.4RC3. This import excludes files which have the
309423a0898aSmrg        new license. If we want to, later we can import 4.4RC3 again and pick
309523a0898aSmrg        up the files that have the new license, but for now the vendor branch
309623a0898aSmrg        is "pure."
309723a0898aSmrg
309823a0898aSmrgcommit d7467b679ccff6fb2025f963b9bcea5dbe72fa15
309923a0898aSmrgAuthor: Egbert Eich <eich@suse.de>
310023a0898aSmrgDate:   Thu Jan 29 08:08:15 2004 +0000
310123a0898aSmrg
310223a0898aSmrg    Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
310323a0898aSmrg
310423a0898aSmrgcommit a0e93cace89c3da8df33d8626a486afe6840d530
310523a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
310623a0898aSmrgDate:   Fri Dec 19 20:54:40 2003 +0000
310723a0898aSmrg
310823a0898aSmrg    XFree86 4.3.99.902 (RC 2)
310923a0898aSmrg
311023a0898aSmrgcommit d82accff22e36919479b3ac1de72de6115688138
311123a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
311223a0898aSmrgDate:   Thu Dec 4 22:03:04 2003 +0000
311323a0898aSmrg
311423a0898aSmrg    XFree86 4.3.99.901 (RC 1)
311523a0898aSmrg
311623a0898aSmrgcommit fb0cbe6e7287d635a5f368e055cc0aae6ed50125
311723a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
311823a0898aSmrgDate:   Tue Nov 25 19:28:20 2003 +0000
311923a0898aSmrg
312023a0898aSmrg    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
312123a0898aSmrg
312223a0898aSmrgcommit ca219ad2fc4f392505d378dfa5a2b34d33de6d61
312323a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
312423a0898aSmrgDate:   Tue Nov 25 19:28:16 2003 +0000
312523a0898aSmrg
312623a0898aSmrg    Initial revision
312723a0898aSmrg
312823a0898aSmrgcommit 4349bf0fa125e2a1c32b0b49c974ff5fa588cdbe
312923a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
313023a0898aSmrgDate:   Fri Nov 14 16:48:50 2003 +0000
313123a0898aSmrg
313223a0898aSmrg    XFree86 4.3.0.1
313323a0898aSmrg
313423a0898aSmrgcommit 3795e9702b3b3a6fe0594d09cdd110adeb5e42f9
313523a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
313623a0898aSmrgDate:   Fri Nov 14 16:48:50 2003 +0000
313723a0898aSmrg
313823a0898aSmrg    Initial revision
313923a0898aSmrg
314023a0898aSmrgcommit 153e8da44452905ae04a0e20ad0d85f40399b4ca
314123a0898aSmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
314223a0898aSmrgDate:   Fri Nov 14 15:54:40 2003 +0000
314323a0898aSmrg
314423a0898aSmrg    R6.6 is the Xorg base-line
3145