]> git.lyx.org Git - features.git/blob - src/support/ChangeLog
04f9a86f399b56a660e14318de239f5fee40a94a
[features.git] / src / support / ChangeLog
1 2003-06-10  Angus Leeming  <leeming@lyx.org>
2
3         * filetools.C (copyFileToDir): ensure that temp files have unique names.
4
5 2003-06-04  André Pönitz  <poenitz@gmx.net>
6
7         * limited_stack.h (top): return reference instead of value
8
9 2003-06-02  Angus Leeming  <leeming@lyx.org>
10
11         * filetools.[Ch] (copyFileToDir): new helper function.
12
13         * os.h: remove trailing semi-colon from end of namespace os block.
14
15 2003-06-01  Angus Leeming  <leeming@lyx.org>
16
17         * filetools.h (LibScriptSearch): give the function a meaningful
18         description of what it now does.
19
20 2003-05-30  Angus Leeming  <leeming@lyx.org>
21
22         * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
23         this with the path to the script. If the script is not found, the "$$s/"
24         string is removed.
25
26 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
27
28         * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
29         char const *.
30
31 2003-05-19  André Pönitz  <poenitz@gmx.net>
32
33         * lstrings.C: add missing implementation of three-arg bformat
34
35         * lstrings.C: change rest of char * fmt -> string const & fmt
36
37
38 2003-05-15  André Pönitz  <poenitz@gmx.net>
39
40         * lstrings.[Ch]: use string const & instead of char const * for format
41
42 2003-05-12  André Pönitz  <poenitz@gmx.net>
43
44         * tostr.[Ch]: add long int overload
45
46 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
47
48         * lstrings.[Ch]: compile fix
49
50 2003-05-12  André Pönitz  <poenitz@gmx.net>
51
52         * lstrings.[Ch]: bformat() as wrapper around boost::format
53
54         * lyxstring.h: enable templatized constructor
55
56 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
57
58         * limited_stack.h: Change some comments, simplify a couple of
59         class functions.
60
61 2003-02-21  André Pönitz <poenitz@gmx.net>
62
63         * limited_stack.h: change underlying container to deque to
64           make this re-usable in mathed
65
66 2003-04-08  John Levon  <levon@movementarian.org>
67
68         * filetools.C: fix MakeDisplayPath() to not
69         lie (bug 993)
70
71 2003-03-30  John Levon  <levon@movementarian.org>
72
73         * Makefile.am:
74         * BoostFormat.h:
75         * boost-inst.C: moved from src/
76
77 2003-03-29  John Levon  <levon@movementarian.org>
78
79         * filetools.h:
80         * filetools.C: never call Alert directly from here
81
82 2003-03-12  John Levon  <levon@movementarian.org>
83
84         * textutils.h: remove META_NEWLINE
85
86 2003-02-27  Ling Li  <ling@caltech.edu>
87
88         * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
89         sort.
90
91 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
92
93         * forkedcontr.C (timer): remove bogus continue
94
95 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
96
97         * forkedcallqueue.[Ch]: added
98
99 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
100
101         * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
102         Emiting the signal can result in an arbitrary change to the list.
103
104 2003-02-25  Angus Leeming  <leeming@lyx.org>
105
106         * forkedcontr.C (timer): Use a while loop rather than for; makes it
107         easier to erase an element.
108
109 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
110
111         * forkedcontr.C (timer): don't start a running timer.
112
113 2003-02-21  André Pönitz <poenitz@gmx.net>
114
115         * filetools.C (PutEnv): removed (unused)
116
117 2003-02-17  John Levon  <levon@movementarian.org>
118
119         * forkedcall.h:
120         * forkedcall.C: add running()
121
122 2003-02-08  John Levon  <levon@movementarian.org>
123
124         * Makefile.am:
125         * lyxtime.h:
126         * lyxtime.C: add typedef for time_t, add current_time
127
128         * Makefile.am:
129         * userinfo.h:
130         * userinfo.C: add
131
132 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
133
134         * filetools.C (getExtFromContents): remove detection of epsi
135
136 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
137
138         * several files: ws changes
139
140 2002-11-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
141
142         * filetools.C (DirList): remove all ugly hacks and do it nice
143
144 2002-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
145
146         * lyxsum.C: an ugly hack to compile with non-gnu linkers
147
148 2002-11-12  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
149
150         * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
151         a solution that he likes and which actually works.
152
153 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
154
155         * lstrings.h (tostr): STRCONV
156
157         * lstrings.C (regexMatch): STRCONV
158         (getVectorFromString): STRCONV, manual copy into vector
159
160         * filetools.C (GetFileContents): STRCONV
161
162         * os.C: include config.h
163
164         * lstrings.C (getVectorFromString): rewrite to use
165         boost::tokenizer
166
167 2002-10-31  Angus Leeming  <leeming@lyx.org>
168
169         * forkedcall.C (generateChild): clean it up further.
170
171 2002-10-25  Angus Leeming  <leeming@lyx.org>
172
173         * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
174         and a minimal ForkedCall daughter class.
175
176         * forkedcontr.[Ch]: minimal changes reflecting the use of a
177         ForkedProcess base class responsible for launching all child proceses.
178
179 2002-09-25  Angus Leeming  <leeming@lyx.org>
180
181         * LIstream.h:
182         * LOstream.h: doxygen fixes.
183
184 2002-09-24  Angus Leeming  <leeming@lyx.org>
185
186         * most files: clean-up the license info.
187
188 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
189
190         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
191
192 2002-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
193
194         * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
195         since at least for Cygwin, the "rb" read_mode acceptable for
196         fopen() is illegal for popen(), whose mode argument *must* be "r"
197         or "w".
198
199         * filetools.C (RunCommand): Uses os::popen_read_mode() instead
200         of os::read_mode()
201
202 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
203
204         * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
205         utility.h
206
207         * smart_ptr.h: remove file
208         * utility.h: ditto
209
210 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
211
212         * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
213         class_fun and void_class_fun
214
215 2002-08-20  John Levon  <levon@movementarian.org>
216
217         * Makefile.am:
218         * fmt.C: remove
219
220 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
221
222         * textutils.h: formatting.
223
224 2002-08-08  John Levon  <levon@movementarian.org>
225
226         * limited_stack.h: default to 100 not 10
227
228 2002-08-01  John Levon  <levon@movementarian.org>
229
230         * forkedcall.C: more details on error
231
232 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
233
234         * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
235         also add a trim function that is the equiv of
236         strip(frontStrip(...)), also reimplement the functions
237         (improvements still possible.)
238
239         * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
240         * forkedcall.C (generateChild): ditto
241         * lstrings.C: ditto
242
243
244 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
245
246         * filetools.C (GetEnvPath): modify because of strip changes
247         (createDirectory): ditto
248         (findtexfile): ditto
249         * lstrings.[Ch] (isStrInt): ditto
250         (isStrUnsignedInt): ditto
251         (strToInt): ditto
252         (strToUnsignedInt): ditto
253         (isStrDbl): ditto
254         (contains): removed unneeded version of contains
255         (containsOnly): removed uneeded versions of containsOnly
256         (strip, frontStrip): removed unneded versions, changed argument types.
257
258 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
259
260         * filetools.C (RunCommand): Made public
261
262 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
263
264         * limited_stack.h: fix comment, remove un-needed header
265
266 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
267
268         * lstrings.h: correct comments for token and tokenPos
269
270 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
271
272         * lyxstring.C (operator>>): replace code which works only with
273         _some_ versions of GNU STL with generic one
274
275 2002-07-18  Angus Leeming  <leeming@lyx.org>
276
277         * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
278         signal should it do so.
279
280         * Makefile.am: add FileMonitor.[Ch].
281
282 2002-07-18  André Pönitz <poenitz@gmx.net>
283
284         * filetools.C (LibScriptSearch): bug fix
285
286 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
287
288         * filetools.C (LyXReadLink): add bool 'resolve' to return link
289         contents as an absolute path
290
291 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
292
293         * filetools.C (IsLyXFilename):
294         (IsSGMLFilename): use ascii_lowercase instead of lowercase
295
296         * lstrings.[Ch] (ascii_lowercase): new function
297
298 2002-07-16  André Pönitz <poenitz@gmx.net>
299
300         * FileInfo.Ch: remove unneeded code
301
302 2002-06-20  Herbert Voss  <voss@perce.de>
303
304         * filetools.[C] (readExtFromContents): add support for
305         (x)fig format images
306
307 2002-06-26  André Pönitz <poenitz@gmx.net>
308
309         * filetools.[Ch]: small whitespace, more compact 'return' statement
310
311 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
312
313         * lyxalgo.h: add eliminate_duplicates
314
315 2002-06-17  Herbert Voss  <voss@perce.de>
316
317         * filetools.[C]: (readBB_from_PSFile) add a helperfunc
318         (readBB_lyxerrMessage) to get better lyxerr messages
319         (getExtFromContents) test epsi files in the right way
320
321         * DestroxLyXTmpDir.C: changed to true, to delete the
322         temporary unzipped files, too.
323
324 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
325
326         * putenv.C (putenv): putenv should never be found in std::
327
328         * kill.C (kill): kill should never be found in std::
329
330         * filetools.C: pclose and popen should never be found in std::
331
332 2002-06-07  Angus Leeming  <leeming@lyx.org>
333
334         Fixes needed to compile with Compaq cxx 6.5.
335         * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
336         lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
337         more than one instance of overloaded function "lyx::class_fun" matches
338         the argument list.
339
340         * filetools.C:
341         * kill.C:
342         * lstrings.C:
343         * putenv.C:
344         * snprintf.h:
345         * systemcall.C:
346         * utility.h:
347         all c-library variables have been moved into namespace std.
348         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
349
350         * kill.C: rename signal.h as csignal.
351
352         * putenv.C: rename stdlib.h as cstdlib
353
354 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
355
356         * lxtl.h: remove unused file
357
358 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
359
360         * Makefile.am:
361         * date.C:
362         * getUserName.C:
363         * fileblocks.c:
364         * StrPool.h:
365         * StrPool.C: remove unused files
366
367         * lyxalgo.h:
368         * lyxlib.h:
369         * mkdir.C:
370         * path.h:
371         * path.C:
372         * systemcall.C:
373         * textutils.h:
374         * translator.h:
375         * types.h: document and small cleanups
376
377 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
378
379         * switch from SigC signals to boost::signals.
380
381 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
382
383         * Makefile.am:
384         * limited_stack.h: new template for limited-size
385           stacks
386
387 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
388
389         * filetools.C: do not include LSubstring.h
390
391         * lstrings.C: change include order
392         (regexMatch): use boost regex get rid of LRegex and LSubstring
393
394         * Makefile.am (libsupport_la_SOURCES): delete regex and substring
395         stuff.
396
397         * LSubstring.h: remove file
398         * regex.c: ditto
399         * lyxregex.h: ditto
400         * LRegex.C: ditto
401         * LRegex.h: ditto
402         * LSubstring.C: ditto
403
404 2002-05-24  Juergen Vigna  <jug@sad.it>
405
406         * lyxsum.C: include local includes first (self containment)
407
408 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
409
410         * forkedcall.h: use more specific smart_ptr header.
411
412         * lyxsum.C: move some using declarations around.
413
414 2002-05-03  Herbert Voss  <voss@perce.de>
415
416         * filetools.C (getExtFromContents): only print the first 60 chars of
417         the scanned-string when debugging.
418
419 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
420
421         * lyxstring.C: close to typo fix.
422
423 2002-05-02  Angus Leeming  <a.leeming@ic.ac.uk>
424
425         * filetools.C: add a using std::getline directive.
426
427 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
428
429         * lyxstring.C (operator>>): try a new version of the operator>>
430
431 2002-04-14  Herbert Voss  <voss@perce.de>
432
433         * lstrings.[Ch]: move the getVectorFromString and the vice versa
434         from frontends/controllers/helper_funcs for better use in other
435         programs
436
437 2002-04-15  Angus Leeming  <a.leeming@ic.ac.uk>
438
439         * tempname.C (make_tempfile): simplify the #ifdef block by using
440         #if defined and re-write the #warning as a #error because it's terminal.
441
442 2002-04-08  Herbert Voss  <voss@perce.de>
443
444         * filetools.C (getExtFromContents): get tgif run
445
446 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
447
448         * filetools.C (getExtFromContents): re-format a little and remove
449         replicated "sgi" entry.
450
451 2002-04-07  Herbert Voss  <voss@perce.de>
452
453         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
454         for the lyx-view in graphics (moved from ControlGraphics)
455
456 2002-04-07  Herbert Voss  <voss@perce.de>
457
458         * filetools.C: fix bug for eps. scans now a whole line
459
460 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
461
462         * lyxstring.C (operator>>): use the better solution, this fixes a
463         "not able to read '\0'" bug.
464
465 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
466
467         * translator.h: add missing typename
468
469 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
470
471         * filetools.C (LibScriptSearch): new command. Searches for scripts
472         in lyx data directories.
473         (LibScriptSearch): try to use split() correctly.
474
475 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
476
477         * most files: ws cleanup
478
479         * Makefile.am: remove ld -r stuff
480
481 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
482
483         * Makefile.am (libsupport.la): special rules if partial linking
484
485 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
486
487         * forkedcontr.C: turn the timer off when their are no longer any
488         child processes running.
489
490 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
491
492         * forkedcall.h: docy fix
493         change SignalType second type to be const ref.
494
495         * forkedcall.C: doxy fix
496
497 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
498
499         * lyxsum.C: compilation fix
500
501 2002-03-02  Herbert Voss  <voss@perce.de>
502
503         * filetools.C: fix bug for xbm format and added some more debug
504         infos
505
506 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
507
508         * forkedcontr.h: make constructor public
509
510         * types.h: remove layout_type
511
512 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
513
514         * filetools.C (getExtFromContents): cleanup.
515
516         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
517
518 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
519
520         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
521         building outside of source tree.
522
523 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
524
525         * forkedcall.[Ch]:
526         * forkedcontr.[Ch]: new files. Asger's forked call controller is
527         re-born, with a working timer and a modified interface. The
528         startscript method is now passed a Signal rather than a pointer
529         to a callback function. This enables us to connect to the method of
530         a C++ class, if we so desire.
531
532         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
533
534 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
535
536         * Makefile.am:
537         * os2_defines.h:
538         * os2_errortable.h:
539         * nt_defines.h: moved from src/
540
541 2002-02-23  Herbert Voss  <voss@perce.de>
542
543         * filetools.C: added more graphic formats
544
545 2002-02-18  Herbert Voss  <voss@perce.de>
546
547         * filetools.C: (getExtFromContents) return the fileextension
548         if no format is detected.
549
550 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
551
552         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
553         as class SystemCall because one Systemcall instance represents a
554         single child process.
555
556         * filetools.C:
557         * Makefile.am: associated changes.
558
559 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
560
561         * syscall.C (Systemcalls): include <cstdlib>
562
563 2002-02-08  Herbert Voss  <voss@perce.de>
564
565         * filetools.C: (getExtFromContents) adding Grace-format
566         for filetypes
567
568 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
569
570         * syscontr.[Ch]:
571         * syssingleton.C: files removed.
572
573         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
574         uses it. Strip down the Systemcalls interface to make it brutally
575         obvious how unsophisticated it is.
576
577 2002-02-08  Herbert Voss  <voss@perce.de>
578
579         * filetools.C: (getExtFromContents) adding TGIF-format
580         and return type "user" when no type is detected
581
582 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
583
584         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
585
586 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
587
588         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
589
590 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
591
592         * FileInfo.h: remove special cygwin code.
593
594         * filetools.C (do_popen): use os::read_mode().
595
596         * os_win32.C (read_mode):
597         * os_os2.C (read_mode):
598         * os_unix.C (read_mode): new method
599
600         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
601         Hentschel). This code should maybe be moved to os:: class.
602
603 2002-02-08  Herbert Voss  <voss@perce.de>
604
605         * filetools.C: (unzipFile) fix typo
606
607 2002-02-06  Herbert Voss  <voss@perce.de>
608
609         * filetools.[Ch]: fix some bugs for detecting zipped files
610         adding unzipFile()
611
612 2002-02-04  Herbert Voss  <voss@perce.de>
613
614         * filetools.[Ch]: add ifZippedFile() for zipped
615         graphic files
616
617 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
618
619         * filetools.C (FileOpenSearch): remove duplicated line, probably
620         resulting from bad cut-and paste.
621
622 2002-01-31  Herbert Voss  <voss@perce.de>
623
624         * filetools.[Ch]: add getExtFromContents(), which returns
625         the type of the (graphic) file
626
627 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
628
629         * copy.C (copy): open file in binary mode (for cygwin)
630
631 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
632
633         * lyxsum.C: remove #warnings and replaced them with runtime debug
634         info.
635
636 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
637
638         * lyxalgo.h: include <algorithm>
639
640 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
641
642         * lyx_algo.h: add a standard-conforming count to namespace lyx.
643
644         * lstrings.[Ch] (countChar): removed. Use lyx::count.
645
646 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
647
648         * filetools.C: fix use of FileInfo
649
650         * FileInfo.h:
651         * FileInfo.C: add Asserts and documentation
652
653 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
654
655         * os_win32.C: compilation fixes
656
657 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
658
659         * lstrings.h: do not include <cctype>
660
661 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
662
663         * lyxsum.C: portability fix for mmap patch
664
665 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
666
667         * filetools.C:
668         * lstrings.C:
669         * lyxstring.C: change "while(" to "while ("
670
671 2001-12-03  Ben Stanley <bds02@uow.edu.au>
672
673         * lyxsum.C: Added mmap version of CRC and made it selected
674         by default where available. Used process_block for crc for speedup.
675
676 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
677
678         * filetools.C: more robust failure for DirList()
679
680 2001-11-29  André Pönitz <poenitz@gmx.net>
681
682         * types.h: introduce types for textclass numbers and layout numbers
683
684 2001-11-28  André Pönitz <poenitz@gmx.net>
685
686         * Makefile.am: put types.h in
687
688 2001-11-26  André Pönitz <poenitz@gmx.net>
689
690         * types.h: introduce types for paragraph positions and layout numbers
691
692 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
693
694         * filetools.C: remove dead code
695
696         * syscall.C: show prog in fail case
697
698 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
699
700         * filetools.C: code style cleanup
701
702 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
703
704         * os.h: remove spurious punctuation.
705
706 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
707
708         * LAssert.h:
709         * LAssert.C: use new emergencyCleanup()
710
711 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
712
713         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
714         like GNU gettext does.
715
716 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
717
718         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
719         several methods)
720         (findtexfile): oops! the change from last friday was wrong...
721
722         * os_win32.C (is_absolute_path):
723         * os_unix.C (is_absolute_path):
724         * os_os2.C (is_absolute_path): new method
725
726 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
727
728         * filetools.C (findtexfile): apply os::internal_path to the result.
729
730 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
731
732         * os_win32.C:
733         * os_unix.C:
734         * os_os2.C:
735         * os.h: add internal_path method, which converts a unix-type file
736         name to the type known to the underlying file system (currently
737         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
738
739 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
740
741         * smart_ptr.h: new file
742
743         * utility.h: new file
744
745 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
746
747         * filetools.h:
748         * filetools.C (IsDirWriteable): fix this
749
750 2001-07-26  Baruch Even  <baruch@lyx.org>
751
752         * lyxlib.h (float_equal): Added function to compare floats almost equal
753         (see function comment).
754
755 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
756
757         Consistent use of Lsstream.h:
758         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
759
760 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
761
762         * translator.h: (*it). -> it->
763
764 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
765
766         * filetools.C (DeleteAllFilesInDir): send debug output to
767         Debug::FILES instewad of Debug::ANY.
768
769         * DebugStream.h: remove gcc 2.8.x hack.
770
771 2001-06-26  The LyX Project  <jug@sad.it>
772
773         * lstrings.h:
774         * lstrings.C (escape): move method to escape non ascii characters
775         from insets label and ref to here.
776
777 2001-06-25  The LyX Project  <jug@sad.it>
778
779         * filetools.C (IsLyXFilename):
780         (IsSGMLFilename): do case insensitive name matching
781
782 2001-06-24  The LyX Project  <jug@sad.it>
783
784         * lstrings.C (compare_ascii_no_case): version of compare_no_case
785         which only considers case of ascii characters
786
787         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
788         sstream header.
789
790 2001-06-23  The LyX Project  <jug@sad.it>
791
792         * textutils.h (IsPrintable): take into account unprintable spaces
793         above 127.
794         (IsDigit): new function
795         (IsLetterCharOrDigit): use IsDigit
796
797 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
798
799         * filetools.C (findtexfile): strip final \r if necessary (for
800         cygwin)
801
802 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
803
804         * FileInfo.C:
805         * StrPool.C: removed // -*- C++ -*- as first line.
806
807 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
808
809         * lyxsum.C (do_crc): switch to use boost::crc for generating the
810         checksum.
811
812 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
813
814         * lstrings.C:
815         * syscall.C:
816         * syscontr.C:
817         * LSubstring.C: bring C functions in global namespace if
818         necessary.
819
820         * lstrings.h (compare): use the std:: version of str[n]cmp only
821         when it exists.
822
823 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
824
825         * syscontr.C: add std::
826
827         * syscall.C: add std::
828
829         * lstrings.h (compare): add std::
830
831         * lstrings.C (prefixIs): add std::
832         (suffixIs): ditto
833         (subst): ditto
834
835         * LSubstring.C (LSubstring): add std::
836
837 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
838
839         * lyxsum.C (sum): use istreambuf_iterator when available.
840
841 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
842
843         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
844         directly instead.
845
846         * lyxstring.C (operator): make const operator[] behave as
847         non-const and at.
848
849 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
850
851         * Makefile.am (EXTRA_DIST): add the os_*.C files.
852
853 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
854
855         * filetools.C (MakeAbsPath): remove debugging statement
856
857 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
858
859         * FileInfo.h: X_OK workaround for cygwin
860
861         * Makefile.am:
862         * os.C:
863         * os.h:
864         * os_os2.C:
865         * os_unix.C:
866         * os_win32.C:
867         * filetools.C:
868         * filetools.h: Added os:: class.
869
870         * rename.C:
871         * syscall.C:
872         * tempname.C: OS/2 fixes
873
874 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
875
876         * textutils.h: remvoe !NEW_INSETS cruft
877
878 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
879
880         * fmt.C:
881         * atoi.C: add using directives when needed for C functions
882         declared in std:: namespace.
883
884 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
885
886         * lstrings.C : add two helper structs, local_lowercase and
887         local_uppercase.
888         (lowercase): change to use std::transform
889         (uppercase): change to use std::transform
890
891 2001-04-25  Allan Rae  <rae@lyx.org>
892
893         * lyxstring.C : Assert got moved and Lars missed a few.
894
895 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
896
897         * LAssert.h (Assert): put into namespace lyx
898
899         * lyxfunctional.h: put into namespace lyx
900         * translator.h: adjust
901
902 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
903
904         * lyxalgo.h: put into namespace lyx, add firster and copy_if
905
906         * FileInfo.h: inherit privately from noncopyable
907         * path.h: ditto
908
909 2001-04-16  Allan Rae  <rae@lyx.org>
910
911         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
912         as an unrecognised preprocessor directive.  So ensure they're wrapped.
913
914 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
915
916         * several files: remove CXX_WORKING_NAMESPACES
917
918         * FileInfo.h: noncopyable is in namespace boost
919         * path.h: ditto
920
921 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
922
923         * syscontr.h: fix header include
924
925 2001-02-28  Baruch Even  <baruch@ev-en.org>
926
927         * filetools.C: Removed dependency on syscall.h
928
929         * syscall.h:
930         * syscall.C: Minor cleanings before I start to touch this code.
931
932 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
933
934         * filetools.C (CreateTmpDir): change umask to 0700.
935
936 2001-02-27  José Matos  <jamatos@fep.up.pt>
937
938         * filetools.h (BasePath):
939         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
940
941         * filetools.C (IsLyXFilename):
942         * filetools.C (IsSGMLFilename): test if extension is suffix and not
943         only contained.
944
945 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
946
947         * fmt.C:
948         * filetools.C:
949         * atoi.C: remove cruft
950
951 2001-02-06  albert chin  <china@thewrittenword.com>
952
953         * snprintf.h:
954         * fmt.C: use HAVE_DECL_SNPRINTF
955
956 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
957
958         * lyxstring.C: Fix some assertions.
959
960 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
961
962         * lstrings.C (strip): Add a fix for compilers with broken
963         string::find_last_not_of.
964
965         * filetools.C (AddPath): Simplify by using strip and frontStrip.
966
967 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
968
969         * lyxstring.C (rfind): Fix broken functions.
970         (find): Few optimizations.