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