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