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