File: ChangeLog

package info (click to toggle)
libcitadel 917-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,808 kB
  • sloc: ansic: 15,131; sh: 8,304; makefile: 302
file content (462 lines) | stat: -rw-r--r-- 15,099 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
2007-08-28  Bastien Nocera  <hadess@hadess.net>

	* src/.cvsignore:
	* src/Makefile:
	* src/test-mime-data.c: Add test-mime-data test program from
	Matthias Clasen <mclasen@redhat.com> (Closes: #5210)

2007-06-04  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime*.[ch]: Rename _caches to _xdg_mime_caches. Also
	namespace all reserved symbols that are declared in headers using
	XDG_RESERVED_ENTRY(), #7074 and #11124. Thanks to Yevgen Muntyan
	<muntyan@tamu.edu> and Joe Marcus Clarke <marcus@freebsd.org>.

2007-06-02  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime.[ch]: Move xdg_mime_type_unknown to .rodata.
	* src/xdgmime.h: Add XDG_ENTRY() entry for xdg_mime_dump.
	GTK+ resync.

	* src/xdgmime.c: (_xdg_mime_alias_list_lookup): Initialize mime_type
	to NULL instead of 0, GNOME #341812. Thanks to Kjartan Maraas
	<kmaraas@gnome.org>.

	* src/xdgmime.[ch]: (xdg_mime_media_type_equal),
	(_xdg_mime_media_type_equal): Add private version of
	xdg_mime_media_type_equal that doesn't call xdg_mime_init(), use it in
	_xdg_mime_mime_type_subclass.

2007-06-02  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimemagic.c: Fallback to getc() if getc_unlocked() is not
	available, GNOME #381499. Thanks to Paul <ephraim_owns@hotmail.com>.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime.c: (xdg_mime_get_mime_type_for_file): Only request two
	MIME types from cache.

	* src/xdgmime.c: (xdg_mime_dump): Dump cache.

	* src/xdgmimecache.c: Warn if building without MMAP support.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime.c: (xdg_lookup_cache_for_file), (xdg_check_dir):
	Fix constant re-creation of memory MIME cache, #7495.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_node_lookup_file_name): Don't
	return NULL MIME types, #5241.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime.c: (xdg_mime_shutdown): Fix cache variable name from last
	commit.

	* src/xdgmime.c: (xdg_mime_unalias_mime_type), (xdg_mime_mime_type_equal):
	* src/xdgmime.h:
	* src/xdgmimemagic.c: (_xdg_mime_magic_lookup_data):
	Define and use private versions of functions that may lead to an
	xdg_mime_init() call and thus to an invalid cache, and a crash - #6824.
	Thanks to Joe Shaw <joeshaw@novell.com>.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmime.c: (xdg_mime_shutdown): Free caches, #7496.
	Thanks to Yevgen Muntyan <muntyan@tamu.edu>.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimecache.c: (cache_glob_node_lookup_suffix): Don't return
	MIME types if cache suffix lookup returns empty string, #9544.
	Thanks to Yevgen Muntyan <muntyan@tamu.edu>.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_lookup_data): Fix issue where
	MIME type was not detected when two MIME types with parent
	relationship match and have equal priority, and child
	was found before parent in cache, #9242.
	Thanks to Tom Parker <freedesktop@tevp.net>.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimecache.c: (_xdg_mime_cache_list_mime_parents): Fix
	several problems with this function, #9560. Thanks to Yevgen Muntyan.

2007-06-01  Christian Neumair  <cneumair@gnome.org>

	* src/xdgmimemagic.c: Don't declare errno, fixes build on Dragonfly
	BSD, GNOME #336382.

2006-07-13  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_parse_magic_line):
	Only declare 'i' #if LITTLE_ENDIAN. Partially fixes GNOME #340277.
	Thanks to James Andrewartha.

2006-03-02  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_insert_text),
	(_xdg_glob_hash_append_glob): Don't strdup the MIME type when passing
	it to _xdg_glob_hash_insert_text, but let the function itself figure
	out whether string duplication is needed. Fixes #5993.
	Thanks to Martin Wehner.

2006-02-25  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_lookup_data): Make
	priority equality check more robust so that it works for three or more
	matches. Also allow matchlets with 0 priority.

2006-02-19  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_lookup_data): When two
	unrelated MIME types with equal priorities match, don't assume one of
	them matches.
	http://bugzilla.gnome.org/show_bug.cgi?id=331719

2006-01-03  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_lookup_data): Also consider
	match priority for the returned MIME type.

2005-12-01  Christian Neumair  <chris@gnome-de.org>

	* src/xdgmime.c: (xdg_mime_get_mime_type_from_file_name):
	* src/xdgmimecache.c: (_xdg_mime_cache_get_mime_type_from_file_name):
	Return XDG_MIME_TYPE_UNKNOWN if multiple MIME types match a simple
	pattern.

2005-12-01  Matthias Clasen  <mclasen@redhat.com>

	* src/xdgmimecache.h:
	* src/xdgmimecache.c (_xdg_mime_cache_get_mime_type_for_file): 
	Allow passing in a struct stat * to avoid re-stat()ing. 
	Forgotten commit from an earlier entry.

	* src/xdgmimecache.c (cache_glob_lookup_literal):
	(cache_glob_lookup_fnmatch):
	(cache_glob_node_lookup_suffix): Change these functions to
	allow returning more than one mime type if identical globs
	match.

	* src/xdgmimemagic.h: 
	* src/xdgmimeglob.h: 
	* src/xdgmimemagic.c (_xdg_mime_magic_lookup_data): 
	* src/xdgmimeglob.c (_xdg_glob_hash_lookup_file_name): 
	Change these functions to allow returning more than one
	mime type if identical globs match.
	
	* src/xdgmimecache.c (_xdg_mime_cache_get_mime_type_for_file): 
	* src/xdgmime.c (xdg_mime_get_mime_type_for_file): 
	If multiple identical globs match, use magic to disambiguate.
	
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

	* xdgmime.c (xdg_mime_list_mime_parents): Prevent
	a segfault.

2005-10-18  Matthias Clasen  <mclasen@redhat.com>
	
	* src/xdgmime.c:
	* src/xdgmimecache.h:
	* src/xdgmimecache.c: Make the array of caches NULL-terminated
	and rename it to _caches.  (#4011)

	* src/xdgmime.h:
	* src/xdgmime.c: Add a struct statbuf * argument to 
	xdg_mime_get_mime_type_for_file().  (#3529)

	* src/test-mime.c: Adjust callers. Add License.

	* src/xdgmimecache.c: Make magic comparisons work correctly.

Thu Jun  9 23:55:25 2005  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmime.c (xdg_mime_init_from_directory): patch from
	federico to realloc the right size, #3506

2005-04-17  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimeint.c: fix gcc4 signedness warning

2005-04-17  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_matchlet_compare_to_data),
	(_xdg_mime_magic_matchlet_compare_level),
	(_xdg_mime_magic_lookup_data): when  magic patterns matches, check if
	there aren't subtypes with matching patterns too, and if so, favour
	the subtype over the parent type, should fix #2686

2005-04-16  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmime.c: (xdg_mime_init_from_directory): fix leak when
	mime.cache doesn't exist

2005-04-16  Christophe Fergeau  <teuf@gnome.org>

	* src/test-mime.c: (main): disabled call to xdg_mime_dump for now
	* src/xdgmimemagic.c: (_xdg_mime_magic_matchlet_compare_to_data):
	fixed off by 1 error when handling offsets, fixes bug #2050 and 
	partly bug #2359

Fri Apr  8 23:37:33 2005  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmimecache.c: Actually add the file.  Also, patch from
	Matthias Clasen <mclasen@redhat.com> to fix small bugs, #2939

Fri Apr  1 14:59:43 2005  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmimecache.c: Patch from Matthias Clasen to mmap the
	cached xdg file.

Mon Mar 28 13:58:32 2005  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmimeglob.c (_xdg_glob_hash_insert_text): patch from
	Matthias Clasen to handle globs that don't have '.' chars in
	them.  As an example 'foo~' should match '*~'

Mon Mar 21 13:16:12 2005  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmime.c (xdg_mime_shutdown): fix from  Axel Liljencrantz
	<f97-ali@nada.kth.se> to free parent_list in shutdown.

2005-01-10  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name): make previous
	commit actually work...

2005-01-10  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name): don't get
	confused by multiple dots in filenames when doing extension matching

2004-12-13  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmime.h:

	 wrap new API in XDG_ENTRY()

2004-12-13  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name):

	Do not assume the filename is UTF8. We just need to look
	for the dot which is ASCII.

2004-12-09  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeint.h:

	Remove spacings I introduced by mistake

2004-12-09  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimealias.c: (_xdg_mime_alias_read_from_file):
	* src/xdgmimeint.c: (_xdg_ucs4_to_lower):
	* src/xdgmimeint.h:
	* src/xdgmimeparent.c: (_xdg_mime_parent_read_from_file):

	Check in Mariano Suárez-Alvarez <msuarezalvarez@arnet.com.ar> patch
	for GNOME bug #160838.

2004-12-09  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_node_lookup_file_name):
	* src/xdgmimeint.c: (_xdg_ucs4_to_lower):
	* src/xdgmimeint.h:

	Follow the freedesktop spec about case sensitiveness. Fix #732

2004-12-08  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimeglob.c: (_xdg_mime_glob_read_from_file): backing out
	"fix" for bug #1048 since it frees memory that shouldn't be freed.

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimemagic.c: (_xdg_mime_magic_read_from_file):

	Check that fread succeeded reading all chars. Fix #1049

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmime.c:
	* src/xdgmimealias.c:
	* src/xdgmimeglob.c:
	* src/xdgmimeint.c:
	* src/xdgmimemagic.c:
	* src/xdgmimeparent.c:

	Include config.h. Fix #913

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimealias.c: (_xdg_mime_alias_list_lookup):

	Fix a typo

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmime.c: (xdg_mime_unalias_mime_type),
	(xdg_mime_mime_type_equal), (xdg_mime_mime_type_subclass),
	(xdg_mime_get_mime_parents):
	* src/xdgmime.h:

	Add apis to get parents and to unalias mime type

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimealias.c: (_xdg_mime_alias_list_lookup):
	* src/xdgmimeparent.c: (_xdg_mime_parent_list_lookup):

	Protect against stupid bsearch() implementations.  (#1961,
	Morten Welinder)

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeparent.c: (_xdg_mime_parent_read_from_file):

	Initialize the parent field of the newly allocate list 
	entry.  (#1916, Alex Larsson)

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeglob.c: (_xdg_mime_glob_read_from_file):

	Patch from Matthias Clasen <mclasen@redhat.com> to fix
	a mem leak. Bug #1048

2004-12-08  Marco Pesenti Gritti  <marco@gnome.org>

	* src/xdgmimeglob.h:

	Patch from Michael.Wilson@bull.net to fix compile error on AIX

Sun Nov  7 02:25:21 2004  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmime.h: Patch from Matthias Clasen <mclasen@redhat.com>
	to add alias and inheritence support.

2004-09-16  Christophe Fergeau  <teuf@gnome.org>

	* src/xdgmimeglob.c: (_xdg_glob_hash_free_nodes):
	* src/xdgmimemagic.c: (_xdg_mime_magic_free): fix memory leaks, 
	  fixes http://bugzilla.gnome.org/show_bug.cgi?id=152771 and
	  http://bugzilla.gnome.org/show_bug.cgi?id=152768

Mon Jul 19 00:23:00 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.c (xdg_mime_register_reload_callback): register a
	callback when we reload MIME data.

	* src/xdgmime.c (xdg_mime_remove_callback): Add capability to
	remove callback.

Sun Jul 18 20:56:22 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.c (xdg_mime_shutdown):
	(xdg_mime_init): reread data when it changes on disk.

Thu May 27 16:18:14 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.h: move xdg_mime_shutdown into the XDG_ENTRY guard.

Thu May 27 15:02:13 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmimemagic.c (_xdg_mime_magic_read_magic_file): patch from
	Hongli Lai <h.lai@chello.nl> to catch magic files that don't end
	with a '\n'.

Fri Apr 30 11:56:01 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmimemagic.c (_xdg_mime_magic_read_a_number): make the
	buffer the right size.  Reported by Morten Welinder, #136323

Sun Mar 21 23:56:46 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmimemagic.c: Patch from Arjan van de Ven
	<arjanv@redhat.com> to do s/fgetc/getc_unlocked/g.

Wed Mar 10 22:28:41 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmimemagic.c (_xdg_mime_magic_read_a_number): fix usage of
	isdigit.  Reported by Morten Welinder, #136323

	* src/xdgmimemagic.c (_xdg_mime_magic_read_magic_file): patch from
	Christophe Fergeau to reverse the order of the matchlet before
	adding it to the list.

	* src/xdgmimeint.h (_xdg_utf8_skip): patch from Alexander Larsson
	to make extern.

Wed Jan 21 09:29:41 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmimemagic.c (_xdg_mime_magic_insert_match): dropped
	patches.  Fix.

	* src/xdgmimeglob.c (_xdg_glob_hash_free_nodes): dropped patches.
	Fix.

Tue Jan 20 14:55:39 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.h (XDG_MIME_TYPE_UNKNOWN): move the definition so
	that it catches the XDG_ENTRY mangling.

	* src/xdgmimemagic.c: make some functions static

Tue Jan 20 14:34:26 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.c (xdg_mime_get_max_buffer_extents): add function so
	that it's easy to get the max buffer extents.

Tue Jan 20 12:55:55 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/Makefile: Test prefix code

	* src/xdgmime*.h: Fully use the prefix code

	* src/xdgmime.c: finish the syncing from both GTK+ and gnome-vfs.

Tue Jan 13 16:21:04 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/xdgmime.[ch] (XDG_MIME_TYPE_UNKNOWN): make an extern const
	char * so that comparisons can work.

	* src/xdgmimeint.c (_xdg_utf8_to_ucs4): patch from Dave Jones
	<davej@redhat.com> to make operations more explicit.

Tue Oct 28 15:09:06 2003  Jonathan Blandford  <jrb@redhat.com>

	* README: Add a readme, and clarify the licensing terms of the
	software.

Tue Oct 28 14:47:37 2003  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmime.c (xdg_mime_shutdown): implement shutdown.  This
	frees all memory and resets to an uninitialized state as best as
	possible.

Mon Oct 27 11:45:58 2003  Jonathan Blandford  <jrb@redhat.com>

	* src/xdgmimemagic.c (_xdg_mime_magic_read_a_number): strtol
	returns a long, not an int.  Thanks to Manish Singh for pointing
	this out.

	* src/xdgmimemagic.c (_xdg_mime_magic_parse_magic_line): change
	assertion to avoid a warning.

Tue Oct 21 15:56:55 2003  Jonathan Blandford  <jrb@gnome.org>

	* Makefile: add a simple makefile
	* src/Makefile: ditto

Tue Jul 22 15:37:45 2003  Jonathan Blandford  <jrb@gnome.org>

	* xdgmime/xdgmime.c (xdg_mime_init): use XDG_DATA_HOME instead of
	XDG_CONFIG_HOME.