]> git.lyx.org Git - lyx.git/blob - src/support/ChangeLog
better fix for bug 1523
[lyx.git] / src / support / ChangeLog
1 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * snprintf.[ch]: removed
4         
5         * Makefile.am (libsupport_la_SOURCES): remove snprintf
6
7 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * filetools.[Ch] (getExtFromContents): rename to
10         getFormatFromContents and return always a format
11
12 2004-10-25  Angus Leeming  <leeming@lyx.org>
13
14         * forkedcall.C (generateChild): strip quotes from each argument
15         of argv.
16
17 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
18
19         * pch.h: use proper signal include
20
21         * forkedcallqueue.C: remove unused include
22
23         * FileMonitor.h: Use the preferred calling for Boost.Signal
24         * forkedcall.h: ditto
25
26         * FileMonitor.C: use the new signal typedef
27
28 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
29
30         * forkedcall.h: remove include of <boost/function/funtion0.hpp>
31         * pch.h: ditto
32
33 2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * textutils.h (IsLetterCharOrDigit): remove
36
37 2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * filetools.C (LibScriptSearch): quote the path of the script, in
40         case it contains spaces
41
42 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
43
44         * tostr.C: reimplement using lexical_cast
45
46 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
47
48         * pch.h: do not use include boost/format.hpp, multiple symbols
49         will result (gcc bug)
50
51 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
52
53         * pch.h: new file
54
55         * Makefile.am: support pch
56
57 2004-08-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * globbing.C (FileFilterList): make sure that "All files (*)" is
60         always part of the filters list
61
62 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
63
64         * tostr.C, lstrings.C, globbing.C, filetools.C: change
65         "support/std_sstream.h" to <sstream>
66
67         * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
68         sstream.h
69         (std_sstream.h): delete file
70         (sstream.h): delete file
71
72 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
75         specifies a list of locales (thanks to Pablo Saraxtaga for the
76         initial patch).
77
78 2004-05-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
81         its po files when moved around; set default user directory to
82         ~/Library/Preferences/LyX/ for LyX/Mac.
83         (lyx_localedir): return the value that may have been computed in
84         setLyXPaths
85
86 2004-05-27  Kayvan Sylvan <kayvan@sylvan.com>
87
88         * Makefile.am (libsupport_la_SOURCES): remove reference to
89         nt_defines.h
90
91 2004-05-20  Angus Leeming  <leeming@lyx.org>
92
93         * debugstream.h: wrap the definition of debug_trait::DEBUG with
94         preprocessor guards that protect against a name clash with a
95         macro DEBUG. Such a macro is defined by the Qt library...
96
97 2004-04-27  Angus Leeming  <leeming@lyx.org>
98
99         * path_defines.{h,C.in}: expose top_srcdir, renamed from
100         lyx_top_srcdir.
101
102 2004-04-05  Angus Leeming  <leeming@lyx.org>
103
104         * filetools.C:
105         wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
106
107 2004-04-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * filetools.C (RunCommand): block SIGCHLD during popen/pclose
110         (actually Angus' fix).
111
112 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
113
114         * filetools.C (DeleteAllFilesInDir): delete directories with
115         rmdir(), unlink() does not work
116
117 2004-03-27  Angus Leeming  <leeming@lyx.org>
118
119         * forkedcontr.C (child_handler): squash warning about a
120         signed/unsigned comparison.
121         (handleCompletedProcesses): only output a warning about an error
122         waiting for the child if it is indeed an error ;-)
123
124 2004-03-26  Angus Leeming  <leeming@lyx.org>
125
126         * forkedcall.[Ch] (run): new function, replacing runBlocking,
127         runNonBlocking.
128
129         * forkedcall.C (generateChild): ensure that the code that splits
130         the command up into an array of words won't leak in the event of an
131         exception.
132
133         * forkedcontr.C: make it a little more robust.
134
135 2004-03-24  Angus Leeming  <leeming@lyx.org>
136
137         * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
138         of child proccesses and ascertain whether any have died. Instead use
139         the SIGCHLD signal emitted by the system to reap these zombies in the
140         maximally efficient manner. The subsequent emitting of the signal
141         associated with each child process *is* performed within the main
142         lyx event loop, thus ensuring that the code remains safe.
143
144         A detailed description of the design is to be found in forkedcontr.C.
145
146 2004-03-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * filetools.C (i18nLibFileSearch): simplify the logic a bit
149
150 2004-03-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * filetools.C (i18nLibFileSearch): fix the logic to match closely
153         what gettext does
154
155 2004-03-23  Angus Leeming  <leeming@lyx.org>
156
157         * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
158         clone to return a boost::shred_ptr rather than a std::auto_ptr.
159
160         * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
161         than raw pointers.
162
163 2004-03-22  Angus Leeming  <leeming@lyx.org>
164
165         * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
166         cruft left over from the removal of the Forks dialog.
167
168 2004-03-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
169
170         * filename.[Ch] (mangledFilename): make sure that mangled names are
171         unique
172
173 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
176         remove pathfor argument
177         * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
178         harder to create a usable temp dir
179         * filetools.C (CreateTmpDir): rename to createTmpDir
180         filetools.[Ch] (unzipFile): add argument for output filename
181         * filename.h: fix doxygen warning
182
183 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
184
185         * lstrings.h (contains_functor): delete
186         (contains): change into template, simplify
187
188         * lstrings.C (contains): remove both functions
189
190 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
191
192         * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
193         unique-erase idom.
194
195         * lstrings.h (contains_functor): inherit from
196         std::binary_function, remove typedefs.
197
198 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
199
200         * globbing.C: add using statement for std::distance, remove std::
201         from string.
202
203 2004-01-08  Angus Leeming  <leeming@lyx.org>
204
205         * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
206         list of available file filters and generate the corresponding vector.
207
208 2003-12-14  Ronald Florence <ron@18james.com>
209
210         * tostr.[hC]: added tostr(long unsigned int i).
211
212         * path_defines.C.in: determine system directory and set PATH for
213         relocatable LyX/Mac bundle.
214
215 2004-01-06  Angus Leeming  <leeming@lyx.org>
216
217         * globbing.C (glob): compilation fix for cygwin.
218
219 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
222         boost-inst.C
223         * BoostFormat.h: delete file
224         * boost-inst.C: delete fil
225
226         * lstrings.C: include boost/format.hpp
227
228 2004-01-05  Angus Leeming  <leeming@lyx.org>
229
230         * globbing.[Ch]: new files containing some globbing utilities.
231
232 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
233
234         * putenv.C: allocate the string before putting it into the
235         environment.
236
237         * lyxlib.h: adjust.
238
239 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
240
241         * tempname.C (tempName): use scoped_array for exception safety
242
243         * os_os2.C (init): use scoped_array for exception safety
244
245         * getcwd.C (getcwd): use scoped_array for exception safety
246
247         * forkedcontr.C (addCall): adjust
248
249         * forkedcall.h: make clone return a auto_ptr
250
251 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
252
253         * debugstream.h: add a default constructor that does not setup a
254         streambuf here.
255
256 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * socktools.C: honor CXX_GLOBAL_CSTD
259
260 2003-10-16  André Pönitz  <poenitz@gmx.net>
261
262         * filetools.C (ReplaceEnvironmentPath): set up patterns just once
263         using static variables.
264
265 2003-10-13  João Luis Meloni Assirati  <assirati@fma.if.usp.br>
266
267         * socktools.[Ch]: New files. Wrapper around socket system calls.
268
269 2003-10-13  Kayvan A. Sylvan  <kayvan@sylvan.com>
270
271         * socktools.C (SUN_LEN): add this MACRO definition for platforms
272         that do not define it themselves.
273
274 2003-10-08  Angus Leeming  <leeming@lyx.org>
275
276         * copied_ptr.h: get rid of the swap member function.
277
278 2003-10-08  Angus Leeming  <leeming@lyx.org>
279
280         Fix doxygen warnings.
281
282         * debugstream.h: \file debugStream.h -> \file debugstream.h
283
284         * os.h: move comment so that doxygen is not confused.
285
286 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287
288         * Makefile.am: fix typo.
289
290 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
291
292         * std_string.h: delete file
293
294 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * lstrings.C: Small fixes to build using STLport
297
298 2003-09-29  Angus Leeming  <leeming@lyx.org>
299
300         * filetools.C (ReplaceEnvironmentPath): make it work for both
301         ${HOME}/foo and $HOME/foo.
302
303 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
304
305         * debugstream.h: add file, updated version of the DebugStream
306
307         * DebugStream.C,DebugStream.h: delete files
308
309 2003-09-25  Angus Leeming  <leeming@lyx.org>
310
311         * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
312         * lstrings.[Ch]: (regexMatch): removed.
313
314 2003-09-25  Angus Leeming  <leeming@lyx.org>
315
316         * translator.h (add): new member function.
317
318 2003-09-16  Angus Leeming  <leeming@lyx.org>
319
320         * textutils.h: remove #include "paragraph.h". Remove functions
321         IsInsetChar and IsWordChar.
322
323 2003-09-15  Angus Leeming  <leeming@lyx.org>
324
325         * copied_ptr.h: re-jig to something that resembles Herb Sutter's
326         HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
327         his book as ValuePtr.
328         Use a memory_traits template parameter to create/destroy memory in a
329         flexible manner.
330
331 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
332
333         * tostr.C:
334         * lstrings.C:
335         * filetools.C: Remove usage of STRCONV
336
337         * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
338         lyxstring.h
339
340         * std_string.h: modify to always work with std::string, but if
341         with-included-string then use it through namespace lyx. Remove
342         STRCONV.
343
344         * lyxstring.[Ch]: remove files
345
346 2003-09-15  Angus Leeming  <leeming@lyx.org>
347
348         * translator.h: add #include <boost/assert.hpp>, so that the
349         template is self-contained.
350
351 2003-09-11  Angus Leeming  <leeming@lyx.org>
352
353         * cow_ptr.h:
354         * copied_ptr.h: added to the repository. Maybe temporarily.
355
356 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
357
358         * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
359
360         * several files: change Assert to BOOST_ASSERT
361
362         * LAssert.C:
363         * LAssert.h: remove files
364
365 2003-09-08  Angus Leeming  <leeming@lyx.org>
366
367         * filename.C:
368         * filetools.C: tell the world where to find author contact details.
369
370 2003-09-08  Angus Leeming  <leeming@lyx.org>
371
372         * boost-inst.C:
373         * filetools.C:
374         * forkedcallqueue.C:
375         * lstrings.C:
376         * lyxsum.C: remove redundant using directives.
377
378 2003-09-05  Angus Leeming  <leeming@lyx.org>
379
380         * lstrings.C: small bformat fix
381
382 2003-09-05  Angus Leeming  <leeming@lyx.org>
383
384         * std_istream.h: new file Just renaming of LIstream.h
385         * std_ostream.h: new file Just renaming of LIstream.h
386         * std_sstream.h: new file Just renaming of Lsstream.h
387         * std_string.h:  new file Just renaming of LString.h
388
389 2003-09-05  Angus Leeming  <leeming@lyx.org>
390
391         * lyxmanip.h:
392         * textutils.h:
393         ensure that the header file can be compiled stand-alone.
394
395 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
396
397         * lstrings.[Ch] (bformat): add a variant taking two ints.
398
399 2003-09-04  Angus Leeming  <leeming@lyx.org>
400
401         * filetools.h:
402         * filename.C:  move #include "os.h" out of the header file.
403
404 2003-09-04  Angus Leeming  <leeming@lyx.org>
405
406         * path.C (ctor, dtor): move out of line.
407
408 2003-09-03  Angus Leeming  <leeming@lyx.org>
409
410         * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
411         (mangledFilename): new function, returning a mangled version of the
412         absolute file name, suitable for use in the temp dir when, for example,
413         converting an image file to another format.
414         (isZipped, unzippedFilename): wrappers to global functions.
415
416         * filetools.[Ch] (copyFileToDir): removed.
417         (compare_timestamps): new function.
418
419 2003-09-03  Angus Leeming  <leeming@lyx.org>
420
421         * translator.h: Assert is in namespace lyx::support...
422
423 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
424
425         * Makefile.am: do not install path_defines.C in includes
426         (COMPRESSION): mention gzstream.h here
427
428 2003-08-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
429
430         * path_defines.C.in (setLyxPaths): re-introduce the code to check
431         whether lyx is run in place
432         (build_dir): renamed from build_lyxdir
433         (build_lyxdir): give this better semantics compatible with what
434         LibFileSearch expects.
435
436 2003-07-29  Angus Leeming  <leeming@lyx.org>
437
438         * filename.[Ch] (relFilename, outputFilename): the 'path' arg
439         defaults to string() because MakeRelPath can accept that.
440
441 2003-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
442
443         * Makefile.am: conditionalize USE_COMPRESSION.
444
445 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
446
447         * filetools.C (getExtFromContents): correct magic for gzip and
448         compress.
449
450         * path_defines.[Ch]: move lyx_localedir out of anon namespace
451
452         * gzstream.h: new fileq
453
454         * gzstream.C: new file
455
456 2003-07-27  Angus Leeming  <leeming@lyx.org>
457
458         * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
459         user_lyxdir): are now functions, not global vars.
460
461         * Makefile.am: set build_lyxdir at make time.
462
463 2003-07-27  Angus Leeming  <leeming@lyx.org>
464
465         * path_defines.{h,C.in}: new files. Store/set the various lyx
466         paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
467         user_lyxdir.
468
469         * Makefile.am: add some magic to enable the user to set the path to
470         the system-level lyx support files, the top of the lyx build tree
471         and the system-level lyx locale directory at _make_ time rather
472         than configure time.
473
474         * .cvsignore: add path_defines.C.
475
476 2003-07-26  Angus Leeming  <leeming@lyx.org>
477
478         * os.h: remove irrelevant discussion of system_tempdir.
479
480 2003-07-21  Angus Leeming  <leeming@lyx.org>
481
482         * filename.[Ch]: new files implementing class FileName.
483         * Makefile.am: add filename.[Ch].
484
485 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
486
487         * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
488         not allow it (at least not in this form.)
489
490 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
491
492         * os_win32.C: put namespace os in lyx::support.
493
494         * lstrings.C (bformat): call Assert from correct namespace.
495
496         * introduce namespace lyx::support
497
498 2003-06-30  André Pönitz  <poenitz@gmx.net>
499
500         * filetools.C:
501         * lstrings.C: re-enable --with-included-string
502
503 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
504
505         * filetools.h: fix some \param issue
506
507         * boost-inst.C: fix \file
508
509         * LAssert.h: fix \file
510
511 2003-06-20  Angus Leeming  <leeming@lyx.org>
512
513         * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
514
515 2003-06-18  Angus Leeming  <leeming@lyx.org>
516
517         * many files: add the standard blurb, "This file is part of LyX" etc
518
519 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
520
521         * limited_stack.h: make it have a const_iterator, add begin, and
522         end as interface.
523
524 2003-06-10  Angus Leeming  <leeming@lyx.org>
525
526         * filetools.C (copyFileToDir): ensure that temp files have unique names.
527
528 2003-06-04  André Pönitz  <poenitz@gmx.net>
529
530         * limited_stack.h (top): return reference instead of value
531
532 2003-06-02  Angus Leeming  <leeming@lyx.org>
533
534         * filetools.[Ch] (copyFileToDir): new helper function.
535
536         * os.h: remove trailing semi-colon from end of namespace os block.
537
538 2003-06-01  Angus Leeming  <leeming@lyx.org>
539
540         * filetools.h (LibScriptSearch): give the function a meaningful
541         description of what it now does.
542
543 2003-05-30  Angus Leeming  <leeming@lyx.org>
544
545         * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
546         this with the path to the script. If the script is not found, the "$$s/"
547         string is removed.
548
549 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
550
551         * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
552         char const *.
553
554 2003-05-19  André Pönitz  <poenitz@gmx.net>
555
556         * lstrings.C: add missing implementation of three-arg bformat
557
558         * lstrings.C: change rest of char * fmt -> string const & fmt
559
560
561 2003-05-15  André Pönitz  <poenitz@gmx.net>
562
563         * lstrings.[Ch]: use string const & instead of char const * for format
564
565 2003-05-12  André Pönitz  <poenitz@gmx.net>
566
567         * tostr.[Ch]: add long int overload
568
569 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
570
571         * lstrings.[Ch]: compile fix
572
573 2003-05-12  André Pönitz  <poenitz@gmx.net>
574
575         * lstrings.[Ch]: bformat() as wrapper around boost::format
576
577         * lyxstring.h: enable templatized constructor
578
579 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
580
581         * limited_stack.h: Change some comments, simplify a couple of
582         class functions.
583
584 2003-02-21  André Pönitz <poenitz@gmx.net>
585
586         * limited_stack.h: change underlying container to deque to
587           make this re-usable in mathed
588
589 2003-04-08  John Levon  <levon@movementarian.org>
590
591         * filetools.C: fix MakeDisplayPath() to not
592         lie (bug 993)
593
594 2003-03-30  John Levon  <levon@movementarian.org>
595
596         * Makefile.am:
597         * BoostFormat.h:
598         * boost-inst.C: moved from src/
599
600 2003-03-29  John Levon  <levon@movementarian.org>
601
602         * filetools.h:
603         * filetools.C: never call Alert directly from here
604
605 2003-03-12  John Levon  <levon@movementarian.org>
606
607         * textutils.h: remove META_NEWLINE
608
609 2003-02-27  Ling Li  <ling@caltech.edu>
610
611         * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
612         sort.
613
614 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
615
616         * forkedcontr.C (timer): remove bogus continue
617
618 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
619
620         * forkedcallqueue.[Ch]: added
621
622 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
623
624         * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
625         Emiting the signal can result in an arbitrary change to the list.
626
627 2003-02-25  Angus Leeming  <leeming@lyx.org>
628
629         * forkedcontr.C (timer): Use a while loop rather than for; makes it
630         easier to erase an element.
631
632 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
633
634         * forkedcontr.C (timer): don't start a running timer.
635
636 2003-02-21  André Pönitz <poenitz@gmx.net>
637
638         * filetools.C (PutEnv): removed (unused)
639
640 2003-02-17  John Levon  <levon@movementarian.org>
641
642         * forkedcall.h:
643         * forkedcall.C: add running()
644
645 2003-02-08  John Levon  <levon@movementarian.org>
646
647         * Makefile.am:
648         * lyxtime.h:
649         * lyxtime.C: add typedef for time_t, add current_time
650
651         * Makefile.am:
652         * userinfo.h:
653         * userinfo.C: add
654
655 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
656
657         * filetools.C (getExtFromContents): remove detection of epsi
658
659 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
660
661         * several files: ws changes
662
663 2002-11-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
664
665         * filetools.C (DirList): remove all ugly hacks and do it nice
666
667 2002-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
668
669         * lyxsum.C: an ugly hack to compile with non-gnu linkers
670
671 2002-11-12  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
672
673         * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
674         a solution that he likes and which actually works.
675
676 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
677
678         * lstrings.h (tostr): STRCONV
679
680         * lstrings.C (regexMatch): STRCONV
681         (getVectorFromString): STRCONV, manual copy into vector
682
683         * filetools.C (GetFileContents): STRCONV
684
685         * os.C: include config.h
686
687         * lstrings.C (getVectorFromString): rewrite to use
688         boost::tokenizer
689
690 2002-10-31  Angus Leeming  <leeming@lyx.org>
691
692         * forkedcall.C (generateChild): clean it up further.
693
694 2002-10-25  Angus Leeming  <leeming@lyx.org>
695
696         * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
697         and a minimal ForkedCall daughter class.
698
699         * forkedcontr.[Ch]: minimal changes reflecting the use of a
700         ForkedProcess base class responsible for launching all child proceses.
701
702 2002-09-25  Angus Leeming  <leeming@lyx.org>
703
704         * LIstream.h:
705         * LOstream.h: doxygen fixes.
706
707 2002-09-24  Angus Leeming  <leeming@lyx.org>
708
709         * most files: clean-up the license info.
710
711 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
712
713         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
714
715 2002-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
716
717         * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
718         since at least for Cygwin, the "rb" read_mode acceptable for
719         fopen() is illegal for popen(), whose mode argument *must* be "r"
720         or "w".
721
722         * filetools.C (RunCommand): Uses os::popen_read_mode() instead
723         of os::read_mode()
724
725 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
726
727         * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
728         utility.h
729
730         * smart_ptr.h: remove file
731         * utility.h: ditto
732
733 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
734
735         * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
736         class_fun and void_class_fun
737
738 2002-08-20  John Levon  <levon@movementarian.org>
739
740         * Makefile.am:
741         * fmt.C: remove
742
743 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
744
745         * textutils.h: formatting.
746
747 2002-08-08  John Levon  <levon@movementarian.org>
748
749         * limited_stack.h: default to 100 not 10
750
751 2002-08-01  John Levon  <levon@movementarian.org>
752
753         * forkedcall.C: more details on error
754
755 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
756
757         * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
758         also add a trim function that is the equiv of
759         strip(frontStrip(...)), also reimplement the functions
760         (improvements still possible.)
761
762         * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
763         * forkedcall.C (generateChild): ditto
764         * lstrings.C: ditto
765
766
767 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
768
769         * filetools.C (GetEnvPath): modify because of strip changes
770         (createDirectory): ditto
771         (findtexfile): ditto
772         * lstrings.[Ch] (isStrInt): ditto
773         (isStrUnsignedInt): ditto
774         (strToInt): ditto
775         (strToUnsignedInt): ditto
776         (isStrDbl): ditto
777         (contains): removed unneeded version of contains
778         (containsOnly): removed uneeded versions of containsOnly
779         (strip, frontStrip): removed unneded versions, changed argument types.
780
781 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
782
783         * filetools.C (RunCommand): Made public
784
785 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
786
787         * limited_stack.h: fix comment, remove un-needed header
788
789 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
790
791         * lstrings.h: correct comments for token and tokenPos
792
793 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
794
795         * lyxstring.C (operator>>): replace code which works only with
796         _some_ versions of GNU STL with generic one
797
798 2002-07-18  Angus Leeming  <leeming@lyx.org>
799
800         * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
801         signal should it do so.
802
803         * Makefile.am: add FileMonitor.[Ch].
804
805 2002-07-18  André Pönitz <poenitz@gmx.net>
806
807         * filetools.C (LibScriptSearch): bug fix
808
809 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
810
811         * filetools.C (LyXReadLink): add bool 'resolve' to return link
812         contents as an absolute path
813
814 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
815
816         * filetools.C (IsLyXFilename):
817         (IsSGMLFilename): use ascii_lowercase instead of lowercase
818
819         * lstrings.[Ch] (ascii_lowercase): new function
820
821 2002-07-16  André Pönitz <poenitz@gmx.net>
822
823         * FileInfo.Ch: remove unneeded code
824
825 2002-06-20  Herbert Voss  <voss@perce.de>
826
827         * filetools.[C] (readExtFromContents): add support for
828         (x)fig format images
829
830 2002-06-26  André Pönitz <poenitz@gmx.net>
831
832         * filetools.[Ch]: small whitespace, more compact 'return' statement
833
834 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
835
836         * lyxalgo.h: add eliminate_duplicates
837
838 2002-06-17  Herbert Voss  <voss@perce.de>
839
840         * filetools.[C]: (readBB_from_PSFile) add a helperfunc
841         (readBB_lyxerrMessage) to get better lyxerr messages
842         (getExtFromContents) test epsi files in the right way
843
844         * DestroxLyXTmpDir.C: changed to true, to delete the
845         temporary unzipped files, too.
846
847 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
848
849         * putenv.C (putenv): putenv should never be found in std::
850
851         * kill.C (kill): kill should never be found in std::
852
853         * filetools.C: pclose and popen should never be found in std::
854
855 2002-06-07  Angus Leeming  <leeming@lyx.org>
856
857         Fixes needed to compile with Compaq cxx 6.5.
858         * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
859         lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
860         more than one instance of overloaded function "lyx::class_fun" matches
861         the argument list.
862
863         * filetools.C:
864         * kill.C:
865         * lstrings.C:
866         * putenv.C:
867         * snprintf.h:
868         * systemcall.C:
869         * utility.h:
870         all c-library variables have been moved into namespace std.
871         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
872
873         * kill.C: rename signal.h as csignal.
874
875         * putenv.C: rename stdlib.h as cstdlib
876
877 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
878
879         * lxtl.h: remove unused file
880
881 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
882
883         * Makefile.am:
884         * date.C:
885         * getUserName.C:
886         * fileblocks.c:
887         * StrPool.h:
888         * StrPool.C: remove unused files
889
890         * lyxalgo.h:
891         * lyxlib.h:
892         * mkdir.C:
893         * path.h:
894         * path.C:
895         * systemcall.C:
896         * textutils.h:
897         * translator.h:
898         * types.h: document and small cleanups
899
900 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
901
902         * switch from SigC signals to boost::signals.
903
904 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
905
906         * Makefile.am:
907         * limited_stack.h: new template for limited-size
908           stacks
909
910 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
911
912         * filetools.C: do not include LSubstring.h
913
914         * lstrings.C: change include order
915         (regexMatch): use boost regex get rid of LRegex and LSubstring
916
917         * Makefile.am (libsupport_la_SOURCES): delete regex and substring
918         stuff.
919
920         * LSubstring.h: remove file
921         * regex.c: ditto
922         * lyxregex.h: ditto
923         * LRegex.C: ditto
924         * LRegex.h: ditto
925         * LSubstring.C: ditto
926
927 2002-05-24  Juergen Vigna  <jug@sad.it>
928
929         * lyxsum.C: include local includes first (self containment)
930
931 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
932
933         * forkedcall.h: use more specific smart_ptr header.
934
935         * lyxsum.C: move some using declarations around.
936
937 2002-05-03  Herbert Voss  <voss@perce.de>
938
939         * filetools.C (getExtFromContents): only print the first 60 chars of
940         the scanned-string when debugging.
941
942 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
943
944         * lyxstring.C: close to typo fix.
945
946 2002-05-02  Angus Leeming  <a.leeming@ic.ac.uk>
947
948         * filetools.C: add a using std::getline directive.
949
950 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
951
952         * lyxstring.C (operator>>): try a new version of the operator>>
953
954 2002-04-14  Herbert Voss  <voss@perce.de>
955
956         * lstrings.[Ch]: move the getVectorFromString and the vice versa
957         from frontends/controllers/helper_funcs for better use in other
958         programs
959
960 2002-04-15  Angus Leeming  <a.leeming@ic.ac.uk>
961
962         * tempname.C (make_tempfile): simplify the #ifdef block by using
963         #if defined and re-write the #warning as a #error because it's terminal.
964
965 2002-04-08  Herbert Voss  <voss@perce.de>
966
967         * filetools.C (getExtFromContents): get tgif run
968
969 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
970
971         * filetools.C (getExtFromContents): re-format a little and remove
972         replicated "sgi" entry.
973
974 2002-04-07  Herbert Voss  <voss@perce.de>
975
976         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
977         for the lyx-view in graphics (moved from ControlGraphics)
978
979 2002-04-07  Herbert Voss  <voss@perce.de>
980
981         * filetools.C: fix bug for eps. scans now a whole line
982
983 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
984
985         * lyxstring.C (operator>>): use the better solution, this fixes a
986         "not able to read '\0'" bug.
987
988 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
989
990         * translator.h: add missing typename
991
992 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
993
994         * filetools.C (LibScriptSearch): new command. Searches for scripts
995         in lyx data directories.
996         (LibScriptSearch): try to use split() correctly.
997
998 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
999
1000         * most files: ws cleanup
1001
1002         * Makefile.am: remove ld -r stuff
1003
1004 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1005
1006         * Makefile.am (libsupport.la): special rules if partial linking
1007
1008 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1009
1010         * forkedcontr.C: turn the timer off when their are no longer any
1011         child processes running.
1012
1013 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1014
1015         * forkedcall.h: docy fix
1016         change SignalType second type to be const ref.
1017
1018         * forkedcall.C: doxy fix
1019
1020 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
1021
1022         * lyxsum.C: compilation fix
1023
1024 2002-03-02  Herbert Voss  <voss@perce.de>
1025
1026         * filetools.C: fix bug for xbm format and added some more debug
1027         infos
1028
1029 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1030
1031         * forkedcontr.h: make constructor public
1032
1033         * types.h: remove layout_type
1034
1035 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
1036
1037         * filetools.C (getExtFromContents): cleanup.
1038
1039         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1040
1041 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1042
1043         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1044         building outside of source tree.
1045
1046 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1047
1048         * forkedcall.[Ch]:
1049         * forkedcontr.[Ch]: new files. Asger's forked call controller is
1050         re-born, with a working timer and a modified interface. The
1051         startscript method is now passed a Signal rather than a pointer
1052         to a callback function. This enables us to connect to the method of
1053         a C++ class, if we so desire.
1054
1055         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1056
1057 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1058
1059         * Makefile.am:
1060         * os2_defines.h:
1061         * os2_errortable.h:
1062         * nt_defines.h: moved from src/
1063
1064 2002-02-23  Herbert Voss  <voss@perce.de>
1065
1066         * filetools.C: added more graphic formats
1067
1068 2002-02-18  Herbert Voss  <voss@perce.de>
1069
1070         * filetools.C: (getExtFromContents) return the fileextension
1071         if no format is detected.
1072
1073 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1074
1075         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1076         as class SystemCall because one Systemcall instance represents a
1077         single child process.
1078
1079         * filetools.C:
1080         * Makefile.am: associated changes.
1081
1082 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1083
1084         * syscall.C (Systemcalls): include <cstdlib>
1085
1086 2002-02-08  Herbert Voss  <voss@perce.de>
1087
1088         * filetools.C: (getExtFromContents) adding Grace-format
1089         for filetypes
1090
1091 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1092
1093         * syscontr.[Ch]:
1094         * syssingleton.C: files removed.
1095
1096         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1097         uses it. Strip down the Systemcalls interface to make it brutally
1098         obvious how unsophisticated it is.
1099
1100 2002-02-08  Herbert Voss  <voss@perce.de>
1101
1102         * filetools.C: (getExtFromContents) adding TGIF-format
1103         and return type "user" when no type is detected
1104
1105 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1106
1107         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1108
1109 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1110
1111         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1112
1113 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1114
1115         * FileInfo.h: remove special cygwin code.
1116
1117         * filetools.C (do_popen): use os::read_mode().
1118
1119         * os_win32.C (read_mode):
1120         * os_os2.C (read_mode):
1121         * os_unix.C (read_mode): new method
1122
1123         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1124         Hentschel). This code should maybe be moved to os:: class.
1125
1126 2002-02-08  Herbert Voss  <voss@perce.de>
1127
1128         * filetools.C: (unzipFile) fix typo
1129
1130 2002-02-06  Herbert Voss  <voss@perce.de>
1131
1132         * filetools.[Ch]: fix some bugs for detecting zipped files
1133         adding unzipFile()
1134
1135 2002-02-04  Herbert Voss  <voss@perce.de>
1136
1137         * filetools.[Ch]: add ifZippedFile() for zipped
1138         graphic files
1139
1140 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1141
1142         * filetools.C (FileOpenSearch): remove duplicated line, probably
1143         resulting from bad cut-and paste.
1144
1145 2002-01-31  Herbert Voss  <voss@perce.de>
1146
1147         * filetools.[Ch]: add getExtFromContents(), which returns
1148         the type of the (graphic) file
1149
1150 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1151
1152         * copy.C (copy): open file in binary mode (for cygwin)
1153
1154 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1155
1156         * lyxsum.C: remove #warnings and replaced them with runtime debug
1157         info.
1158
1159 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1160
1161         * lyxalgo.h: include <algorithm>
1162
1163 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1164
1165         * lyx_algo.h: add a standard-conforming count to namespace lyx.
1166
1167         * lstrings.[Ch] (countChar): removed. Use lyx::count.
1168
1169 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1170
1171         * filetools.C: fix use of FileInfo
1172
1173         * FileInfo.h:
1174         * FileInfo.C: add Asserts and documentation
1175
1176 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
1177
1178         * os_win32.C: compilation fixes
1179
1180 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1181
1182         * lstrings.h: do not include <cctype>
1183
1184 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
1185
1186         * lyxsum.C: portability fix for mmap patch
1187
1188 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1189
1190         * filetools.C:
1191         * lstrings.C:
1192         * lyxstring.C: change "while(" to "while ("
1193
1194 2001-12-03  Ben Stanley <bds02@uow.edu.au>
1195
1196         * lyxsum.C: Added mmap version of CRC and made it selected
1197         by default where available. Used process_block for crc for speedup.
1198
1199 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1200
1201         * filetools.C: more robust failure for DirList()
1202
1203 2001-11-29  André Pönitz <poenitz@gmx.net>
1204
1205         * types.h: introduce types for textclass numbers and layout numbers
1206
1207 2001-11-28  André Pönitz <poenitz@gmx.net>
1208
1209         * Makefile.am: put types.h in
1210
1211 2001-11-26  André Pönitz <poenitz@gmx.net>
1212
1213         * types.h: introduce types for paragraph positions and layout numbers
1214
1215 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1216
1217         * filetools.C: remove dead code
1218
1219         * syscall.C: show prog in fail case
1220
1221 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
1222
1223         * filetools.C: code style cleanup
1224
1225 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
1226
1227         * os.h: remove spurious punctuation.
1228
1229 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
1230
1231         * LAssert.h:
1232         * LAssert.C: use new emergencyCleanup()
1233
1234 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1235
1236         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1237         like GNU gettext does.
1238
1239 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1240
1241         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1242         several methods)
1243         (findtexfile): oops! the change from last friday was wrong...
1244
1245         * os_win32.C (is_absolute_path):
1246         * os_unix.C (is_absolute_path):
1247         * os_os2.C (is_absolute_path): new method
1248
1249 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1250
1251         * filetools.C (findtexfile): apply os::internal_path to the result.
1252
1253 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
1254
1255         * os_win32.C:
1256         * os_unix.C:
1257         * os_os2.C:
1258         * os.h: add internal_path method, which converts a unix-type file
1259         name to the type known to the underlying file system (currently
1260         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1261
1262 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1263
1264         * smart_ptr.h: new file
1265
1266         * utility.h: new file
1267
1268 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
1269
1270         * filetools.h:
1271         * filetools.C (IsDirWriteable): fix this
1272
1273 2001-07-26  Baruch Even  <baruch@lyx.org>
1274
1275         * lyxlib.h (float_equal): Added function to compare floats almost equal
1276         (see function comment).
1277
1278 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1279
1280         Consistent use of Lsstream.h:
1281         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1282
1283 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1284
1285         * translator.h: (*it). -> it->
1286
1287 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1288
1289         * filetools.C (DeleteAllFilesInDir): send debug output to
1290         Debug::FILES instewad of Debug::ANY.
1291
1292         * DebugStream.h: remove gcc 2.8.x hack.
1293
1294 2001-06-26  The LyX Project  <jug@sad.it>
1295
1296         * lstrings.h:
1297         * lstrings.C (escape): move method to escape non ascii characters
1298         from insets label and ref to here.
1299
1300 2001-06-25  The LyX Project  <jug@sad.it>
1301
1302         * filetools.C (IsLyXFilename):
1303         (IsSGMLFilename): do case insensitive name matching
1304
1305 2001-06-24  The LyX Project  <jug@sad.it>
1306
1307         * lstrings.C (compare_ascii_no_case): version of compare_no_case
1308         which only considers case of ascii characters
1309
1310         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1311         sstream header.
1312
1313 2001-06-23  The LyX Project  <jug@sad.it>
1314
1315         * textutils.h (IsPrintable): take into account unprintable spaces
1316         above 127.
1317         (IsDigit): new function
1318         (IsLetterCharOrDigit): use IsDigit
1319
1320 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1321
1322         * filetools.C (findtexfile): strip final \r if necessary (for
1323         cygwin)
1324
1325 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
1326
1327         * FileInfo.C:
1328         * StrPool.C: removed // -*- C++ -*- as first line.
1329
1330 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1331
1332         * lyxsum.C (do_crc): switch to use boost::crc for generating the
1333         checksum.
1334
1335 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1336
1337         * lstrings.C:
1338         * syscall.C:
1339         * syscontr.C:
1340         * LSubstring.C: bring C functions in global namespace if
1341         necessary.
1342
1343         * lstrings.h (compare): use the std:: version of str[n]cmp only
1344         when it exists.
1345
1346 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1347
1348         * syscontr.C: add std::
1349
1350         * syscall.C: add std::
1351
1352         * lstrings.h (compare): add std::
1353
1354         * lstrings.C (prefixIs): add std::
1355         (suffixIs): ditto
1356         (subst): ditto
1357
1358         * LSubstring.C (LSubstring): add std::
1359
1360 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1361
1362         * lyxsum.C (sum): use istreambuf_iterator when available.
1363
1364 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1365
1366         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1367         directly instead.
1368
1369         * lyxstring.C (operator): make const operator[] behave as
1370         non-const and at.
1371
1372 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1373
1374         * Makefile.am (EXTRA_DIST): add the os_*.C files.
1375
1376 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1377
1378         * filetools.C (MakeAbsPath): remove debugging statement
1379
1380 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1381
1382         * FileInfo.h: X_OK workaround for cygwin
1383
1384         * Makefile.am:
1385         * os.C:
1386         * os.h:
1387         * os_os2.C:
1388         * os_unix.C:
1389         * os_win32.C:
1390         * filetools.C:
1391         * filetools.h: Added os:: class.
1392
1393         * rename.C:
1394         * syscall.C:
1395         * tempname.C: OS/2 fixes
1396
1397 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1398
1399         * textutils.h: remvoe !NEW_INSETS cruft
1400
1401 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1402
1403         * fmt.C:
1404         * atoi.C: add using directives when needed for C functions
1405         declared in std:: namespace.
1406
1407 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1408
1409         * lstrings.C : add two helper structs, local_lowercase and
1410         local_uppercase.
1411         (lowercase): change to use std::transform
1412         (uppercase): change to use std::transform
1413
1414 2001-04-25  Allan Rae  <rae@lyx.org>
1415
1416         * lyxstring.C : Assert got moved and Lars missed a few.
1417
1418 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1419
1420         * LAssert.h (Assert): put into namespace lyx
1421
1422         * lyxfunctional.h: put into namespace lyx
1423         * translator.h: adjust
1424
1425 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1426
1427         * lyxalgo.h: put into namespace lyx, add firster and copy_if
1428
1429         * FileInfo.h: inherit privately from noncopyable
1430         * path.h: ditto
1431
1432 2001-04-16  Allan Rae  <rae@lyx.org>
1433
1434         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1435         as an unrecognised preprocessor directive.  So ensure they're wrapped.
1436
1437 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1438
1439         * several files: remove CXX_WORKING_NAMESPACES
1440
1441         * FileInfo.h: noncopyable is in namespace boost
1442         * path.h: ditto
1443
1444 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
1445
1446         * syscontr.h: fix header include
1447
1448 2001-02-28  Baruch Even  <baruch@ev-en.org>
1449
1450         * filetools.C: Removed dependency on syscall.h
1451
1452         * syscall.h:
1453         * syscall.C: Minor cleanings before I start to touch this code.
1454
1455 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1456
1457         * filetools.C (CreateTmpDir): change umask to 0700.
1458
1459 2001-02-27  José Matos  <jamatos@fep.up.pt>
1460
1461         * filetools.h (BasePath):
1462         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1463
1464         * filetools.C (IsLyXFilename):
1465         * filetools.C (IsSGMLFilename): test if extension is suffix and not
1466         only contained.
1467
1468 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1469
1470         * fmt.C:
1471         * filetools.C:
1472         * atoi.C: remove cruft
1473
1474 2001-02-06  albert chin  <china@thewrittenword.com>
1475
1476         * snprintf.h:
1477         * fmt.C: use HAVE_DECL_SNPRINTF
1478
1479 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1480
1481         * lyxstring.C: Fix some assertions.
1482
1483 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1484
1485         * lstrings.C (strip): Add a fix for compilers with broken
1486         string::find_last_not_of.
1487
1488         * filetools.C (AddPath): Simplify by using strip and frontStrip.
1489
1490 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1491
1492         * lyxstring.C (rfind): Fix broken functions.
1493         (find): Few optimizations.