2 2002-07-18 André Pönitz <poenitz@gmx.net>
4 * filetools.C (LibScriptSearch): bug fix
6 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8 * filetools.C (LyXReadLink): add bool 'resolve' to return link
9 contents as an absolute path
11 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13 * filetools.C (IsLyXFilename):
14 (IsSGMLFilename): use ascii_lowercase instead of lowercase
16 * lstrings.[Ch] (ascii_lowercase): new function
18 2002-07-16 André Pönitz <poenitz@gmx.net>
20 * FileInfo.Ch: remove unneeded code
22 2002-06-20 Herbert Voss <voss@perce.de>
24 * filetools.[C] (readExtFromContents): add support for
27 2002-06-26 André Pönitz <poenitz@gmx.net>
29 * filetools.[Ch]: small whitespace, more compact 'return' statement
31 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
33 * lyxalgo.h: add eliminate_duplicates
35 2002-06-17 Herbert Voss <voss@perce.de>
37 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
38 (readBB_lyxerrMessage) to get better lyxerr messages
39 (getExtFromContents) test epsi files in the right way
41 * DestroxLyXTmpDir.C: changed to true, to delete the
42 temporary unzipped files, too.
44 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * putenv.C (putenv): putenv should never be found in std::
48 * kill.C (kill): kill should never be found in std::
50 * filetools.C: pclose and popen should never be found in std::
52 2002-06-07 Angus Leeming <leeming@lyx.org>
54 Fixes needed to compile with Compaq cxx 6.5.
55 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
56 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
57 more than one instance of overloaded function "lyx::class_fun" matches
67 all c-library variables have been moved into namespace std.
68 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
70 * kill.C: rename signal.h as csignal.
72 * putenv.C: rename stdlib.h as cstdlib
74 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * lxtl.h: remove unused file
78 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
85 * StrPool.C: remove unused files
95 * types.h: document and small cleanups
97 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * switch from SigC signals to boost::signals.
101 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
104 * limited_stack.h: new template for limited-size
107 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * filetools.C: do not include LSubstring.h
111 * lstrings.C: change include order
112 (regexMatch): use boost regex get rid of LRegex and LSubstring
114 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
117 * LSubstring.h: remove file
122 * LSubstring.C: ditto
124 2002-05-24 Juergen Vigna <jug@sad.it>
126 * lyxsum.C: include local includes first (self containment)
128 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
130 * forkedcall.h: use more specific smart_ptr header.
132 * lyxsum.C: move some using declarations around.
134 2002-05-03 Herbert Voss <voss@perce.de>
136 * filetools.C (getExtFromContents): only print the first 60 chars of
137 the scanned-string when debugging.
139 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * lyxstring.C: close to typo fix.
143 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
145 * filetools.C: add a using std::getline directive.
147 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * lyxstring.C (operator>>): try a new version of the operator>>
151 2002-04-14 Herbert Voss <voss@perce.de>
153 * lstrings.[Ch]: move the getVectorFromString and the vice versa
154 from frontends/controllers/helper_funcs for better use in other
157 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
159 * tempname.C (make_tempfile): simplify the #ifdef block by using
160 #if defined and re-write the #warning as a #error because it's terminal.
162 2002-04-08 Herbert Voss <voss@perce.de>
164 * filetools.C (getExtFromContents): get tgif run
166 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
168 * filetools.C (getExtFromContents): re-format a little and remove
169 replicated "sgi" entry.
171 2002-04-07 Herbert Voss <voss@perce.de>
173 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
174 for the lyx-view in graphics (moved from ControlGraphics)
176 2002-04-07 Herbert Voss <voss@perce.de>
178 * filetools.C: fix bug for eps. scans now a whole line
180 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * lyxstring.C (operator>>): use the better solution, this fixes a
183 "not able to read '\0'" bug.
185 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
187 * translator.h: add missing typename
189 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
191 * filetools.C (LibScriptSearch): new command. Searches for scripts
192 in lyx data directories.
193 (LibScriptSearch): try to use split() correctly.
195 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
197 * most files: ws cleanup
199 * Makefile.am: remove ld -r stuff
201 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * Makefile.am (libsupport.la): special rules if partial linking
205 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
207 * forkedcontr.C: turn the timer off when their are no longer any
208 child processes running.
210 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
212 * forkedcall.h: docy fix
213 change SignalType second type to be const ref.
215 * forkedcall.C: doxy fix
217 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
219 * lyxsum.C: compilation fix
221 2002-03-02 Herbert Voss <voss@perce.de>
223 * filetools.C: fix bug for xbm format and added some more debug
226 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * forkedcontr.h: make constructor public
230 * types.h: remove layout_type
232 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
234 * filetools.C (getExtFromContents): cleanup.
236 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
238 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
240 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
241 building outside of source tree.
243 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
246 * forkedcontr.[Ch]: new files. Asger's forked call controller is
247 re-born, with a working timer and a modified interface. The
248 startscript method is now passed a Signal rather than a pointer
249 to a callback function. This enables us to connect to the method of
250 a C++ class, if we so desire.
252 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
254 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
259 * nt_defines.h: moved from src/
261 2002-02-23 Herbert Voss <voss@perce.de>
263 * filetools.C: added more graphic formats
265 2002-02-18 Herbert Voss <voss@perce.de>
267 * filetools.C: (getExtFromContents) return the fileextension
268 if no format is detected.
270 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
272 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
273 as class SystemCall because one Systemcall instance represents a
274 single child process.
277 * Makefile.am: associated changes.
279 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
281 * syscall.C (Systemcalls): include <cstdlib>
283 2002-02-08 Herbert Voss <voss@perce.de>
285 * filetools.C: (getExtFromContents) adding Grace-format
288 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
291 * syssingleton.C: files removed.
293 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
294 uses it. Strip down the Systemcalls interface to make it brutally
295 obvious how unsophisticated it is.
297 2002-02-08 Herbert Voss <voss@perce.de>
299 * filetools.C: (getExtFromContents) adding TGIF-format
300 and return type "user" when no type is detected
302 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
304 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
306 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
308 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
310 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
312 * FileInfo.h: remove special cygwin code.
314 * filetools.C (do_popen): use os::read_mode().
316 * os_win32.C (read_mode):
317 * os_os2.C (read_mode):
318 * os_unix.C (read_mode): new method
320 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
321 Hentschel). This code should maybe be moved to os:: class.
323 2002-02-08 Herbert Voss <voss@perce.de>
325 * filetools.C: (unzipFile) fix typo
327 2002-02-06 Herbert Voss <voss@perce.de>
329 * filetools.[Ch]: fix some bugs for detecting zipped files
332 2002-02-04 Herbert Voss <voss@perce.de>
334 * filetools.[Ch]: add ifZippedFile() for zipped
337 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
339 * filetools.C (FileOpenSearch): remove duplicated line, probably
340 resulting from bad cut-and paste.
342 2002-01-31 Herbert Voss <voss@perce.de>
344 * filetools.[Ch]: add getExtFromContents(), which returns
345 the type of the (graphic) file
347 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
349 * copy.C (copy): open file in binary mode (for cygwin)
351 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * lyxsum.C: remove #warnings and replaced them with runtime debug
356 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
358 * lyxalgo.h: include <algorithm>
360 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
362 * lyx_algo.h: add a standard-conforming count to namespace lyx.
364 * lstrings.[Ch] (countChar): removed. Use lyx::count.
366 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
368 * filetools.C: fix use of FileInfo
371 * FileInfo.C: add Asserts and documentation
373 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
375 * os_win32.C: compilation fixes
377 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
379 * lstrings.h: do not include <cctype>
381 2001-12-12 Ben Stanley <bds02@uow.edu.au>
383 * lyxsum.C: portability fix for mmap patch
385 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
389 * lyxstring.C: change "while(" to "while ("
391 2001-12-03 Ben Stanley <bds02@uow.edu.au>
393 * lyxsum.C: Added mmap version of CRC and made it selected
394 by default where available. Used process_block for crc for speedup.
396 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
398 * filetools.C: more robust failure for DirList()
400 2001-11-29 André Pönitz <poenitz@gmx.net>
402 * types.h: introduce types for textclass numbers and layout numbers
404 2001-11-28 André Pönitz <poenitz@gmx.net>
406 * Makefile.am: put types.h in
408 2001-11-26 André Pönitz <poenitz@gmx.net>
410 * types.h: introduce types for paragraph positions and layout numbers
412 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
414 * filetools.C: remove dead code
416 * syscall.C: show prog in fail case
418 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
420 * filetools.C: code style cleanup
422 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
424 * os.h: remove spurious punctuation.
426 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
429 * LAssert.C: use new emergencyCleanup()
431 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
434 like GNU gettext does.
436 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
440 (findtexfile): oops! the change from last friday was wrong...
442 * os_win32.C (is_absolute_path):
443 * os_unix.C (is_absolute_path):
444 * os_os2.C (is_absolute_path): new method
446 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
448 * filetools.C (findtexfile): apply os::internal_path to the result.
450 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
455 * os.h: add internal_path method, which converts a unix-type file
456 name to the type known to the underlying file system (currently
457 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
459 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
461 * smart_ptr.h: new file
463 * utility.h: new file
465 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
468 * filetools.C (IsDirWriteable): fix this
470 2001-07-26 Baruch Even <baruch@lyx.org>
472 * lyxlib.h (float_equal): Added function to compare floats almost equal
473 (see function comment).
475 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
477 Consistent use of Lsstream.h:
478 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
480 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * translator.h: (*it). -> it->
484 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
486 * filetools.C (DeleteAllFilesInDir): send debug output to
487 Debug::FILES instewad of Debug::ANY.
489 * DebugStream.h: remove gcc 2.8.x hack.
491 2001-06-26 The LyX Project <jug@sad.it>
494 * lstrings.C (escape): move method to escape non ascii characters
495 from insets label and ref to here.
497 2001-06-25 The LyX Project <jug@sad.it>
499 * filetools.C (IsLyXFilename):
500 (IsSGMLFilename): do case insensitive name matching
502 2001-06-24 The LyX Project <jug@sad.it>
504 * lstrings.C (compare_ascii_no_case): version of compare_no_case
505 which only considers case of ascii characters
507 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
510 2001-06-23 The LyX Project <jug@sad.it>
512 * textutils.h (IsPrintable): take into account unprintable spaces
514 (IsDigit): new function
515 (IsLetterCharOrDigit): use IsDigit
517 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
519 * filetools.C (findtexfile): strip final \r if necessary (for
522 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
525 * StrPool.C: removed // -*- C++ -*- as first line.
527 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * lyxsum.C (do_crc): switch to use boost::crc for generating the
532 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * LSubstring.C: bring C functions in global namespace if
540 * lstrings.h (compare): use the std:: version of str[n]cmp only
543 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
545 * syscontr.C: add std::
547 * syscall.C: add std::
549 * lstrings.h (compare): add std::
551 * lstrings.C (prefixIs): add std::
555 * LSubstring.C (LSubstring): add std::
557 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
559 * lyxsum.C (sum): use istreambuf_iterator when available.
561 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
563 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
566 * lyxstring.C (operator): make const operator[] behave as
569 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
571 * Makefile.am (EXTRA_DIST): add the os_*.C files.
573 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
575 * filetools.C (MakeAbsPath): remove debugging statement
577 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
579 * FileInfo.h: X_OK workaround for cygwin
588 * filetools.h: Added os:: class.
592 * tempname.C: OS/2 fixes
594 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * textutils.h: remvoe !NEW_INSETS cruft
598 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
601 * atoi.C: add using directives when needed for C functions
602 declared in std:: namespace.
604 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * lstrings.C : add two helper structs, local_lowercase and
608 (lowercase): change to use std::transform
609 (uppercase): change to use std::transform
611 2001-04-25 Allan Rae <rae@lyx.org>
613 * lyxstring.C : Assert got moved and Lars missed a few.
615 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * LAssert.h (Assert): put into namespace lyx
619 * lyxfunctional.h: put into namespace lyx
620 * translator.h: adjust
622 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * lyxalgo.h: put into namespace lyx, add firster and copy_if
626 * FileInfo.h: inherit privately from noncopyable
629 2001-04-16 Allan Rae <rae@lyx.org>
631 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
632 as an unrecognised preprocessor directive. So ensure they're wrapped.
634 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
636 * several files: remove CXX_WORKING_NAMESPACES
638 * FileInfo.h: noncopyable is in namespace boost
641 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
643 * syscontr.h: fix header include
645 2001-02-28 Baruch Even <baruch@ev-en.org>
647 * filetools.C: Removed dependency on syscall.h
650 * syscall.C: Minor cleanings before I start to touch this code.
652 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
654 * filetools.C (CreateTmpDir): change umask to 0700.
656 2001-02-27 José Matos <jamatos@fep.up.pt>
658 * filetools.h (BasePath):
659 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
661 * filetools.C (IsLyXFilename):
662 * filetools.C (IsSGMLFilename): test if extension is suffix and not
665 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
669 * atoi.C: remove cruft
671 2001-02-06 albert chin <china@thewrittenword.com>
674 * fmt.C: use HAVE_DECL_SNPRINTF
676 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
678 * lyxstring.C: Fix some assertions.
680 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
682 * lstrings.C (strip): Add a fix for compilers with broken
683 string::find_last_not_of.
685 * filetools.C (AddPath): Simplify by using strip and frontStrip.
687 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
689 * lyxstring.C (rfind): Fix broken functions.
690 (find): Few optimizations.