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