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