1 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * filetools.C (LyXReadLink): add bool 'resolve' to return link
4 contents as an absolute path
6 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8 * filetools.C (IsLyXFilename):
9 (IsSGMLFilename): use ascii_lowercase instead of lowercase
11 * lstrings.[Ch] (ascii_lowercase): new function
13 2002-07-16 André Pönitz <poenitz@gmx.net>
15 * FileInfo.Ch: remove unneeded code
17 2002-06-20 Herbert Voss <voss@perce.de>
19 * filetools.[C]: (readExtFromContents) add support for
22 2002-06-26 André Pönitz <poenitz@gmx.net>
24 * filetools.[Ch]: small whitespace, more compact 'return' statement
26 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
28 * lyxalgo.h: add eliminate_duplicates
30 2002-06-17 Herbert Voss <voss@perce.de>
32 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
33 (readBB_lyxerrMessage) to get better lyxerr messages
34 (getExtFromContents) test epsi files in the right way
36 * DestroxLyXTmpDir.C: changed to true, to delete the
37 temporary unzipped files, too.
39 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * putenv.C (putenv): putenv should never be found in std::
43 * kill.C (kill): kill should never be found in std::
45 * filetools.C: pclose and popen should never be found in std::
47 2002-06-07 Angus Leeming <leeming@lyx.org>
49 Fixes needed to compile with Compaq cxx 6.5.
50 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
51 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
52 more than one instance of overloaded function "lyx::class_fun" matches
62 all c-library variables have been moved into namespace std.
63 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
65 * kill.C: rename signal.h as csignal.
67 * putenv.C: rename stdlib.h as cstdlib
69 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
71 * lxtl.h: remove unused file
73 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
80 * StrPool.C: remove unused files
90 * types.h: document and small cleanups
92 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
94 * switch from SigC signals to boost::signals.
96 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
99 * limited_stack.h: new template for limited-size
102 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
104 * filetools.C: do not include LSubstring.h
106 * lstrings.C: change include order
107 (regexMatch): use boost regex get rid of LRegex and LSubstring
109 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
112 * LSubstring.h: remove file
117 * LSubstring.C: ditto
119 2002-05-24 Juergen Vigna <jug@sad.it>
121 * lyxsum.C: include local includes first (self containment)
123 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * forkedcall.h: use more specific smart_ptr header.
127 * lyxsum.C: move some using declarations around.
129 2002-05-03 Herbert Voss <voss@perce.de>
131 * filetools.C (getExtFromContents): only print the first 60 chars of
132 the scanned-string when debugging.
134 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * lyxstring.C: close to typo fix.
138 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
140 * filetools.C: add a using std::getline directive.
142 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
144 * lyxstring.C (operator>>): try a new version of the operator>>
146 2002-04-14 Herbert Voss <voss@perce.de>
148 * lstrings.[Ch]: move the getVectorFromString and the vice versa
149 from frontends/controllers/helper_funcs for better use in other
152 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
154 * tempname.C (make_tempfile): simplify the #ifdef block by using
155 #if defined and re-write the #warning as a #error because it's terminal.
157 2002-04-08 Herbert Voss <voss@perce.de>
159 * filetools.C (getExtFromContents): get tgif run
161 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
163 * filetools.C (getExtFromContents): re-format a little and remove
164 replicated "sgi" entry.
166 2002-04-07 Herbert Voss <voss@perce.de>
168 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
169 for the lyx-view in graphics (moved from ControlGraphics)
171 2002-04-07 Herbert Voss <voss@perce.de>
173 * filetools.C: fix bug for eps. scans now a whole line
175 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * lyxstring.C (operator>>): use the better solution, this fixes a
178 "not able to read '\0'" bug.
180 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * translator.h: add missing typename
184 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
186 * filetools.C (LibScriptSearch): new command. Searches for scripts
187 in lyx data directories.
188 (LibScriptSearch): try to use split() correctly.
190 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * most files: ws cleanup
194 * Makefile.am: remove ld -r stuff
196 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * Makefile.am (libsupport.la): special rules if partial linking
200 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
202 * forkedcontr.C: turn the timer off when their are no longer any
203 child processes running.
205 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * forkedcall.h: docy fix
208 change SignalType second type to be const ref.
210 * forkedcall.C: doxy fix
212 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
214 * lyxsum.C: compilation fix
216 2002-03-02 Herbert Voss <voss@perce.de>
218 * filetools.C: fix bug for xbm format and added some more debug
221 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * forkedcontr.h: make constructor public
225 * types.h: remove layout_type
227 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
229 * filetools.C (getExtFromContents): cleanup.
231 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
233 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
235 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
236 building outside of source tree.
238 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
241 * forkedcontr.[Ch]: new files. Asger's forked call controller is
242 re-born, with a working timer and a modified interface. The
243 startscript method is now passed a Signal rather than a pointer
244 to a callback function. This enables us to connect to the method of
245 a C++ class, if we so desire.
247 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
249 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
254 * nt_defines.h: moved from src/
256 2002-02-23 Herbert Voss <voss@perce.de>
258 * filetools.C: added more graphic formats
260 2002-02-18 Herbert Voss <voss@perce.de>
262 * filetools.C: (getExtFromContents) return the fileextension
263 if no format is detected.
265 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
267 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
268 as class SystemCall because one Systemcall instance represents a
269 single child process.
272 * Makefile.am: associated changes.
274 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
276 * syscall.C (Systemcalls): include <cstdlib>
278 2002-02-08 Herbert Voss <voss@perce.de>
280 * filetools.C: (getExtFromContents) adding Grace-format
283 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
286 * syssingleton.C: files removed.
288 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
289 uses it. Strip down the Systemcalls interface to make it brutally
290 obvious how unsophisticated it is.
292 2002-02-08 Herbert Voss <voss@perce.de>
294 * filetools.C: (getExtFromContents) adding TGIF-format
295 and return type "user" when no type is detected
297 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
301 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
303 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
305 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
307 * FileInfo.h: remove special cygwin code.
309 * filetools.C (do_popen): use os::read_mode().
311 * os_win32.C (read_mode):
312 * os_os2.C (read_mode):
313 * os_unix.C (read_mode): new method
315 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
316 Hentschel). This code should maybe be moved to os:: class.
318 2002-02-08 Herbert Voss <voss@perce.de>
320 * filetools.C: (unzipFile) fix typo
322 2002-02-06 Herbert Voss <voss@perce.de>
324 * filetools.[Ch]: fix some bugs for detecting zipped files
327 2002-02-04 Herbert Voss <voss@perce.de>
329 * filetools.[Ch]: add ifZippedFile() for zipped
332 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
334 * filetools.C (FileOpenSearch): remove duplicated line, probably
335 resulting from bad cut-and paste.
337 2002-01-31 Herbert Voss <voss@perce.de>
339 * filetools.[Ch]: add getExtFromContents(), which returns
340 the type of the (graphic) file
342 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
344 * copy.C (copy): open file in binary mode (for cygwin)
346 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
348 * lyxsum.C: remove #warnings and replaced them with runtime debug
351 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * lyxalgo.h: include <algorithm>
355 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
357 * lyx_algo.h: add a standard-conforming count to namespace lyx.
359 * lstrings.[Ch] (countChar): removed. Use lyx::count.
361 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
363 * filetools.C: fix use of FileInfo
366 * FileInfo.C: add Asserts and documentation
368 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
370 * os_win32.C: compilation fixes
372 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
374 * lstrings.h: do not include <cctype>
376 2001-12-12 Ben Stanley <bds02@uow.edu.au>
378 * lyxsum.C: portability fix for mmap patch
380 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * lyxstring.C: change "while(" to "while ("
386 2001-12-03 Ben Stanley <bds02@uow.edu.au>
388 * lyxsum.C: Added mmap version of CRC and made it selected
389 by default where available. Used process_block for crc for speedup.
391 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
393 * filetools.C: more robust failure for DirList()
395 2001-11-29 André Pönitz <poenitz@gmx.net>
397 * types.h: introduce types for textclass numbers and layout numbers
399 2001-11-28 André Pönitz <poenitz@gmx.net>
401 * Makefile.am: put types.h in
403 2001-11-26 André Pönitz <poenitz@gmx.net>
405 * types.h: introduce types for paragraph positions and layout numbers
407 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
409 * filetools.C: remove dead code
411 * syscall.C: show prog in fail case
413 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
415 * filetools.C: code style cleanup
417 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
419 * os.h: remove spurious punctuation.
421 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
424 * LAssert.C: use new emergencyCleanup()
426 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
428 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
429 like GNU gettext does.
431 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
435 (findtexfile): oops! the change from last friday was wrong...
437 * os_win32.C (is_absolute_path):
438 * os_unix.C (is_absolute_path):
439 * os_os2.C (is_absolute_path): new method
441 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
443 * filetools.C (findtexfile): apply os::internal_path to the result.
445 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
450 * os.h: add internal_path method, which converts a unix-type file
451 name to the type known to the underlying file system (currently
452 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
454 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
456 * smart_ptr.h: new file
458 * utility.h: new file
460 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
463 * filetools.C (IsDirWriteable): fix this
465 2001-07-26 Baruch Even <baruch@lyx.org>
467 * lyxlib.h (float_equal): Added function to compare floats almost equal
468 (see function comment).
470 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
472 Consistent use of Lsstream.h:
473 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
475 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * translator.h: (*it). -> it->
479 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
481 * filetools.C (DeleteAllFilesInDir): send debug output to
482 Debug::FILES instewad of Debug::ANY.
484 * DebugStream.h: remove gcc 2.8.x hack.
486 2001-06-26 The LyX Project <jug@sad.it>
489 * lstrings.C (escape): move method to escape non ascii characters
490 from insets label and ref to here.
492 2001-06-25 The LyX Project <jug@sad.it>
494 * filetools.C (IsLyXFilename):
495 (IsSGMLFilename): do case insensitive name matching
497 2001-06-24 The LyX Project <jug@sad.it>
499 * lstrings.C (compare_ascii_no_case): version of compare_no_case
500 which only considers case of ascii characters
502 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
505 2001-06-23 The LyX Project <jug@sad.it>
507 * textutils.h (IsPrintable): take into account unprintable spaces
509 (IsDigit): new function
510 (IsLetterCharOrDigit): use IsDigit
512 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
514 * filetools.C (findtexfile): strip final \r if necessary (for
517 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
520 * StrPool.C: removed // -*- C++ -*- as first line.
522 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
524 * lyxsum.C (do_crc): switch to use boost::crc for generating the
527 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
532 * LSubstring.C: bring C functions in global namespace if
535 * lstrings.h (compare): use the std:: version of str[n]cmp only
538 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
540 * syscontr.C: add std::
542 * syscall.C: add std::
544 * lstrings.h (compare): add std::
546 * lstrings.C (prefixIs): add std::
550 * LSubstring.C (LSubstring): add std::
552 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
554 * lyxsum.C (sum): use istreambuf_iterator when available.
556 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
558 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
561 * lyxstring.C (operator): make const operator[] behave as
564 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
566 * Makefile.am (EXTRA_DIST): add the os_*.C files.
568 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
570 * filetools.C (MakeAbsPath): remove debugging statement
572 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
574 * FileInfo.h: X_OK workaround for cygwin
583 * filetools.h: Added os:: class.
587 * tempname.C: OS/2 fixes
589 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
591 * textutils.h: remvoe !NEW_INSETS cruft
593 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * atoi.C: add using directives when needed for C functions
597 declared in std:: namespace.
599 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
601 * lstrings.C : add two helper structs, local_lowercase and
603 (lowercase): change to use std::transform
604 (uppercase): change to use std::transform
606 2001-04-25 Allan Rae <rae@lyx.org>
608 * lyxstring.C : Assert got moved and Lars missed a few.
610 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * LAssert.h (Assert): put into namespace lyx
614 * lyxfunctional.h: put into namespace lyx
615 * translator.h: adjust
617 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * lyxalgo.h: put into namespace lyx, add firster and copy_if
621 * FileInfo.h: inherit privately from noncopyable
624 2001-04-16 Allan Rae <rae@lyx.org>
626 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
627 as an unrecognised preprocessor directive. So ensure they're wrapped.
629 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
631 * several files: remove CXX_WORKING_NAMESPACES
633 * FileInfo.h: noncopyable is in namespace boost
636 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
638 * syscontr.h: fix header include
640 2001-02-28 Baruch Even <baruch@ev-en.org>
642 * filetools.C: Removed dependency on syscall.h
645 * syscall.C: Minor cleanings before I start to touch this code.
647 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
649 * filetools.C (CreateTmpDir): change umask to 0700.
651 2001-02-27 José Matos <jamatos@fep.up.pt>
653 * filetools.h (BasePath):
654 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
656 * filetools.C (IsLyXFilename):
657 * filetools.C (IsSGMLFilename): test if extension is suffix and not
660 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
664 * atoi.C: remove cruft
666 2001-02-06 albert chin <china@thewrittenword.com>
669 * fmt.C: use HAVE_DECL_SNPRINTF
671 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
673 * lyxstring.C: Fix some assertions.
675 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
677 * lstrings.C (strip): Add a fix for compilers with broken
678 string::find_last_not_of.
680 * filetools.C (AddPath): Simplify by using strip and frontStrip.
682 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
684 * lyxstring.C (rfind): Fix broken functions.
685 (find): Few optimizations.