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