]> git.lyx.org Git - features.git/blob - src/support/ChangeLog
Cleanup of getExtFromContents.
[features.git] / src / support / ChangeLog
1 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * filetools.C (getExtFromContents): cleanup.
4
5 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6
7         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
8         building outside of source tree.
9
10 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11
12         * forkedcall.[Ch]:
13         * forkedcontr.[Ch]: new files. Asger's forked call controller is
14         re-born, with a working timer and a modified interface. The
15         startscript method is now passed a Signal rather than a pointer
16         to a callback function. This enables us to connect to the method of
17         a C++ class, if we so desire.
18
19         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
20
21 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
22
23         * Makefile.am:
24         * os2_defines.h:
25         * os2_errortable.h:
26         * nt_defines.h: moved from src/
27  
28 2002-02-23  Herbert Voss  <voss@perce.de>
29
30         * filetools.C: added more graphic formats
31
32 2002-02-18  Herbert Voss  <voss@perce.de>
33
34         * filetools.C: (getExtFromContents) return the fileextension
35         if no format is detected.
36         
37 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
38
39         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
40         as class SystemCall because one Systemcall instance represents a
41         single child process.
42
43         * filetools.C:
44         * Makefile.am: associated changes.
45
46 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
47
48         * syscall.C (Systemcalls): include <cstdlib>
49
50 2002-02-08  Herbert Voss  <voss@perce.de>
51
52         * filetools.C: (getExtFromContents) adding Grace-format
53         for filetypes
54
55 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
56
57         * syscontr.[Ch]:
58         * syssingleton.C: files removed.
59
60         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
61         uses it. Strip down the Systemcalls interface to make it brutally
62         obvious how unsophisticated it is.
63
64 2002-02-08  Herbert Voss  <voss@perce.de>
65
66         * filetools.C: (getExtFromContents) adding TGIF-format
67         and return type "user" when no type is detected
68
69 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
70
71         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
72
73 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
74
75         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
76
77 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
78
79         * FileInfo.h: remove special cygwin code.
80
81         * filetools.C (do_popen): use os::read_mode().
82
83         * os_win32.C (read_mode): 
84         * os_os2.C (read_mode): 
85         * os_unix.C (read_mode): new method
86
87         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
88         Hentschel). This code should maybe be moved to os:: class.
89
90 2002-02-08  Herbert Voss  <voss@perce.de>
91
92         * filetools.C: (unzipFile) fix typo
93
94 2002-02-06  Herbert Voss  <voss@perce.de>
95
96         * filetools.[Ch]: fix some bugs for detecting zipped files 
97         adding unzipFile()
98
99 2002-02-04  Herbert Voss  <voss@perce.de>
100
101         * filetools.[Ch]: add ifZippedFile() for zipped
102         graphic files 
103
104 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
105
106         * filetools.C (FileOpenSearch): remove duplicated line, probably
107         resulting from bad cut-and paste.
108
109 2002-01-31  Herbert Voss  <voss@perce.de>
110
111         * filetools.[Ch]: add getExtFromContents(), which returns
112         the type of the (graphic) file 
113
114 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
115
116         * copy.C (copy): open file in binary mode (for cygwin)
117
118 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
119
120         * lyxsum.C: remove #warnings and replaced them with runtime debug
121         info. 
122
123 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
124
125         * lyxalgo.h: include <algorithm>
126
127 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
128
129         * lyx_algo.h: add a standard-conforming count to namespace lyx.
130
131         * lstrings.[Ch] (countChar): removed. Use lyx::count.
132
133 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
134
135         * filetools.C: fix use of FileInfo
136
137         * FileInfo.h:
138         * FileInfo.C: add Asserts and documentation
139  
140 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
141
142         * os_win32.C: compilation fixes
143
144 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
145
146         * lstrings.h: do not include <cctype>
147
148 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
149
150         * lyxsum.C: portability fix for mmap patch
151
152 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
153
154         * filetools.C:
155         * lstrings.C:
156         * lyxstring.C: change "while(" to "while ("
157
158 2001-12-03  Ben Stanley <bds02@uow.edu.au>
159
160         * lyxsum.C: Added mmap version of CRC and made it selected 
161         by default where available. Used process_block for crc for speedup.
162         
163 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
164
165         * filetools.C: more robust failure for DirList()
166
167 2001-11-29  André Pönitz <poenitz@gmx.net>
168         
169         * types.h: introduce types for textclass numbers and layout numbers
170
171 2001-11-28  André Pönitz <poenitz@gmx.net>
172         
173         * Makefile.am: put types.h in
174
175 2001-11-26  André Pönitz <poenitz@gmx.net>
176         
177         * types.h: introduce types for paragraph positions and layout numbers
178
179 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
180
181         * filetools.C: remove dead code
182  
183         * syscall.C: show prog in fail case
184  
185 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
186
187         * filetools.C: code style cleanup
188
189 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
190
191         * os.h: remove spurious punctuation.
192
193 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
194
195         * LAssert.h:
196         * LAssert.C: use new emergencyCleanup()
197  
198 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
199
200         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
201         like GNU gettext does.
202
203 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
204
205         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
206         several methods)
207         (findtexfile): oops! the change from last friday was wrong...
208
209         * os_win32.C (is_absolute_path): 
210         * os_unix.C (is_absolute_path): 
211         * os_os2.C (is_absolute_path): new method       
212
213 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
214
215         * filetools.C (findtexfile): apply os::internal_path to the result.
216
217 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
218
219         * os_win32.C: 
220         * os_unix.C:
221         * os_os2.C:
222         * os.h: add internal_path method, which converts a unix-type file
223         name to the type known to the underlying file system (currently
224         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
225
226 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
227
228         * smart_ptr.h: new file
229
230         * utility.h: new file
231
232 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
233
234         * filetools.h:
235         * filetools.C (IsDirWriteable): fix this
236  
237 2001-07-26  Baruch Even  <baruch@lyx.org>
238
239         * lyxlib.h (float_equal): Added function to compare floats almost equal
240         (see function comment).
241
242 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
243
244         Consistent use of Lsstream.h:
245         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
246
247 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
248
249         * translator.h: (*it). -> it->
250
251 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
252
253         * filetools.C (DeleteAllFilesInDir): send debug output to
254         Debug::FILES instewad of Debug::ANY.
255
256         * DebugStream.h: remove gcc 2.8.x hack.
257
258 2001-06-26  The LyX Project  <jug@sad.it>
259
260         * lstrings.h:
261         * lstrings.C (escape): move method to escape non ascii characters
262         from insets label and ref to here.
263
264 2001-06-25  The LyX Project  <jug@sad.it>
265
266         * filetools.C (IsLyXFilename): 
267         (IsSGMLFilename): do case insensitive name matching
268
269 2001-06-24  The LyX Project  <jug@sad.it>
270
271         * lstrings.C (compare_ascii_no_case): version of compare_no_case
272         which only considers case of ascii characters
273
274         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
275         sstream header.
276
277 2001-06-23  The LyX Project  <jug@sad.it>
278
279         * textutils.h (IsPrintable): take into account unprintable spaces
280         above 127.
281         (IsDigit): new function
282         (IsLetterCharOrDigit): use IsDigit
283
284 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
285
286         * filetools.C (findtexfile): strip final \r if necessary (for
287         cygwin)
288
289 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
290
291         * FileInfo.C:
292         * StrPool.C: removed // -*- C++ -*- as first line.
293
294 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
295
296         * lyxsum.C (do_crc): switch to use boost::crc for generating the
297         checksum.
298
299 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
300
301         * lstrings.C: 
302         * syscall.C:
303         * syscontr.C: 
304         * LSubstring.C: bring C functions in global namespace if
305         necessary. 
306
307         * lstrings.h (compare): use the std:: version of str[n]cmp only
308         when it exists.
309
310 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
311
312         * syscontr.C: add std::
313
314         * syscall.C: add std::
315
316         * lstrings.h (compare): add std::
317
318         * lstrings.C (prefixIs): add std::
319         (suffixIs): ditto
320         (subst): ditto
321
322         * LSubstring.C (LSubstring): add std::
323
324 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
325
326         * lyxsum.C (sum): use istreambuf_iterator when available.
327
328 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
329
330         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
331         directly instead.
332
333         * lyxstring.C (operator): make const operator[] behave as
334         non-const and at.
335
336 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
337
338         * Makefile.am (EXTRA_DIST): add the os_*.C files.
339
340 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
341
342         * filetools.C (MakeAbsPath): remove debugging statement
343
344 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
345
346         * FileInfo.h: X_OK workaround for cygwin
347
348         * Makefile.am:
349         * os.C:
350         * os.h:
351         * os_os2.C:
352         * os_unix.C:
353         * os_win32.C:
354         * filetools.C:
355         * filetools.h: Added os:: class.
356
357         * rename.C:
358         * syscall.C:
359         * tempname.C: OS/2 fixes
360
361 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
362
363         * textutils.h: remvoe !NEW_INSETS cruft
364
365 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
366
367         * fmt.C: 
368         * atoi.C: add using directives when needed for C functions
369         declared in std:: namespace.
370
371 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
372
373         * lstrings.C : add two helper structs, local_lowercase and
374         local_uppercase. 
375         (lowercase): change to use std::transform
376         (uppercase): change to use std::transform
377
378 2001-04-25  Allan Rae  <rae@lyx.org>
379
380         * lyxstring.C : Assert got moved and Lars missed a few.
381
382 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
383
384         * LAssert.h (Assert): put into namespace lyx
385
386         * lyxfunctional.h: put into namespace lyx
387         * translator.h: adjust
388
389 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
390
391         * lyxalgo.h: put into namespace lyx, add firster and copy_if
392
393         * FileInfo.h: inherit privately from noncopyable
394         * path.h: ditto
395
396 2001-04-16  Allan Rae  <rae@lyx.org>
397
398         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
399         as an unrecognised preprocessor directive.  So ensure they're wrapped. 
400
401 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
402
403         * several files: remove CXX_WORKING_NAMESPACES
404
405         * FileInfo.h: noncopyable is in namespace boost
406         * path.h: ditto
407
408 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
409
410         * syscontr.h: fix header include
411
412 2001-02-28  Baruch Even  <baruch@ev-en.org>
413
414         * filetools.C: Removed dependency on syscall.h
415
416         * syscall.h:
417         * syscall.C: Minor cleanings before I start to touch this code.
418
419 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
420
421         * filetools.C (CreateTmpDir): change umask to 0700.
422
423 2001-02-27  José Matos  <jamatos@fep.up.pt>
424
425         * filetools.h (BasePath):
426         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
427
428         * filetools.C (IsLyXFilename):
429         * filetools.C (IsSGMLFilename): test if extension is suffix and not
430         only contained.
431
432 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
433
434         * fmt.C: 
435         * filetools.C: 
436         * atoi.C: remove cruft
437
438 2001-02-06  albert chin  <china@thewrittenword.com>
439
440         * snprintf.h: 
441         * fmt.C: use HAVE_DECL_SNPRINTF
442         
443 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
444
445         * lyxstring.C: Fix some assertions.
446
447 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
448
449         * lstrings.C (strip): Add a fix for compilers with broken
450         string::find_last_not_of.
451
452         * filetools.C (AddPath): Simplify by using strip and frontStrip.
453
454 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
455
456         * lyxstring.C (rfind): Fix broken functions.
457         (find): Few optimizations.