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