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