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