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