1 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * lstrings.h: correct comments for token and tokenPos
5 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7 * lyxstring.C (operator>>): replace code which works only with
8 _some_ versions of GNU STL with generic one
10 2002-07-18 Angus Leeming <leeming@lyx.org>
12 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
13 signal should it do so.
15 * Makefile.am: add FileMonitor.[Ch].
17 2002-07-18 André Pönitz <poenitz@gmx.net>
19 * filetools.C (LibScriptSearch): bug fix
21 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
23 * filetools.C (LyXReadLink): add bool 'resolve' to return link
24 contents as an absolute path
26 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
28 * filetools.C (IsLyXFilename):
29 (IsSGMLFilename): use ascii_lowercase instead of lowercase
31 * lstrings.[Ch] (ascii_lowercase): new function
33 2002-07-16 André Pönitz <poenitz@gmx.net>
35 * FileInfo.Ch: remove unneeded code
37 2002-06-20 Herbert Voss <voss@perce.de>
39 * filetools.[C] (readExtFromContents): add support for
42 2002-06-26 André Pönitz <poenitz@gmx.net>
44 * filetools.[Ch]: small whitespace, more compact 'return' statement
46 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
48 * lyxalgo.h: add eliminate_duplicates
50 2002-06-17 Herbert Voss <voss@perce.de>
52 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
53 (readBB_lyxerrMessage) to get better lyxerr messages
54 (getExtFromContents) test epsi files in the right way
56 * DestroxLyXTmpDir.C: changed to true, to delete the
57 temporary unzipped files, too.
59 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * putenv.C (putenv): putenv should never be found in std::
63 * kill.C (kill): kill should never be found in std::
65 * filetools.C: pclose and popen should never be found in std::
67 2002-06-07 Angus Leeming <leeming@lyx.org>
69 Fixes needed to compile with Compaq cxx 6.5.
70 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
71 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
72 more than one instance of overloaded function "lyx::class_fun" matches
82 all c-library variables have been moved into namespace std.
83 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
85 * kill.C: rename signal.h as csignal.
87 * putenv.C: rename stdlib.h as cstdlib
89 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * lxtl.h: remove unused file
93 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
100 * StrPool.C: remove unused files
110 * types.h: document and small cleanups
112 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * switch from SigC signals to boost::signals.
116 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
119 * limited_stack.h: new template for limited-size
122 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
124 * filetools.C: do not include LSubstring.h
126 * lstrings.C: change include order
127 (regexMatch): use boost regex get rid of LRegex and LSubstring
129 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
132 * LSubstring.h: remove file
137 * LSubstring.C: ditto
139 2002-05-24 Juergen Vigna <jug@sad.it>
141 * lyxsum.C: include local includes first (self containment)
143 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * forkedcall.h: use more specific smart_ptr header.
147 * lyxsum.C: move some using declarations around.
149 2002-05-03 Herbert Voss <voss@perce.de>
151 * filetools.C (getExtFromContents): only print the first 60 chars of
152 the scanned-string when debugging.
154 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
156 * lyxstring.C: close to typo fix.
158 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
160 * filetools.C: add a using std::getline directive.
162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
164 * lyxstring.C (operator>>): try a new version of the operator>>
166 2002-04-14 Herbert Voss <voss@perce.de>
168 * lstrings.[Ch]: move the getVectorFromString and the vice versa
169 from frontends/controllers/helper_funcs for better use in other
172 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
174 * tempname.C (make_tempfile): simplify the #ifdef block by using
175 #if defined and re-write the #warning as a #error because it's terminal.
177 2002-04-08 Herbert Voss <voss@perce.de>
179 * filetools.C (getExtFromContents): get tgif run
181 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
183 * filetools.C (getExtFromContents): re-format a little and remove
184 replicated "sgi" entry.
186 2002-04-07 Herbert Voss <voss@perce.de>
188 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
189 for the lyx-view in graphics (moved from ControlGraphics)
191 2002-04-07 Herbert Voss <voss@perce.de>
193 * filetools.C: fix bug for eps. scans now a whole line
195 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
197 * lyxstring.C (operator>>): use the better solution, this fixes a
198 "not able to read '\0'" bug.
200 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
202 * translator.h: add missing typename
204 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
206 * filetools.C (LibScriptSearch): new command. Searches for scripts
207 in lyx data directories.
208 (LibScriptSearch): try to use split() correctly.
210 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
212 * most files: ws cleanup
214 * Makefile.am: remove ld -r stuff
216 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * Makefile.am (libsupport.la): special rules if partial linking
220 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
222 * forkedcontr.C: turn the timer off when their are no longer any
223 child processes running.
225 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * forkedcall.h: docy fix
228 change SignalType second type to be const ref.
230 * forkedcall.C: doxy fix
232 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
234 * lyxsum.C: compilation fix
236 2002-03-02 Herbert Voss <voss@perce.de>
238 * filetools.C: fix bug for xbm format and added some more debug
241 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * forkedcontr.h: make constructor public
245 * types.h: remove layout_type
247 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
249 * filetools.C (getExtFromContents): cleanup.
251 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
253 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
255 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
256 building outside of source tree.
258 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
261 * forkedcontr.[Ch]: new files. Asger's forked call controller is
262 re-born, with a working timer and a modified interface. The
263 startscript method is now passed a Signal rather than a pointer
264 to a callback function. This enables us to connect to the method of
265 a C++ class, if we so desire.
267 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
269 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
274 * nt_defines.h: moved from src/
276 2002-02-23 Herbert Voss <voss@perce.de>
278 * filetools.C: added more graphic formats
280 2002-02-18 Herbert Voss <voss@perce.de>
282 * filetools.C: (getExtFromContents) return the fileextension
283 if no format is detected.
285 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
287 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
288 as class SystemCall because one Systemcall instance represents a
289 single child process.
292 * Makefile.am: associated changes.
294 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
296 * syscall.C (Systemcalls): include <cstdlib>
298 2002-02-08 Herbert Voss <voss@perce.de>
300 * filetools.C: (getExtFromContents) adding Grace-format
303 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
306 * syssingleton.C: files removed.
308 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
309 uses it. Strip down the Systemcalls interface to make it brutally
310 obvious how unsophisticated it is.
312 2002-02-08 Herbert Voss <voss@perce.de>
314 * filetools.C: (getExtFromContents) adding TGIF-format
315 and return type "user" when no type is detected
317 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
321 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
323 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
325 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * FileInfo.h: remove special cygwin code.
329 * filetools.C (do_popen): use os::read_mode().
331 * os_win32.C (read_mode):
332 * os_os2.C (read_mode):
333 * os_unix.C (read_mode): new method
335 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
336 Hentschel). This code should maybe be moved to os:: class.
338 2002-02-08 Herbert Voss <voss@perce.de>
340 * filetools.C: (unzipFile) fix typo
342 2002-02-06 Herbert Voss <voss@perce.de>
344 * filetools.[Ch]: fix some bugs for detecting zipped files
347 2002-02-04 Herbert Voss <voss@perce.de>
349 * filetools.[Ch]: add ifZippedFile() for zipped
352 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
354 * filetools.C (FileOpenSearch): remove duplicated line, probably
355 resulting from bad cut-and paste.
357 2002-01-31 Herbert Voss <voss@perce.de>
359 * filetools.[Ch]: add getExtFromContents(), which returns
360 the type of the (graphic) file
362 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * copy.C (copy): open file in binary mode (for cygwin)
366 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
368 * lyxsum.C: remove #warnings and replaced them with runtime debug
371 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
373 * lyxalgo.h: include <algorithm>
375 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
377 * lyx_algo.h: add a standard-conforming count to namespace lyx.
379 * lstrings.[Ch] (countChar): removed. Use lyx::count.
381 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
383 * filetools.C: fix use of FileInfo
386 * FileInfo.C: add Asserts and documentation
388 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
390 * os_win32.C: compilation fixes
392 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
394 * lstrings.h: do not include <cctype>
396 2001-12-12 Ben Stanley <bds02@uow.edu.au>
398 * lyxsum.C: portability fix for mmap patch
400 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
404 * lyxstring.C: change "while(" to "while ("
406 2001-12-03 Ben Stanley <bds02@uow.edu.au>
408 * lyxsum.C: Added mmap version of CRC and made it selected
409 by default where available. Used process_block for crc for speedup.
411 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
413 * filetools.C: more robust failure for DirList()
415 2001-11-29 André Pönitz <poenitz@gmx.net>
417 * types.h: introduce types for textclass numbers and layout numbers
419 2001-11-28 André Pönitz <poenitz@gmx.net>
421 * Makefile.am: put types.h in
423 2001-11-26 André Pönitz <poenitz@gmx.net>
425 * types.h: introduce types for paragraph positions and layout numbers
427 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
429 * filetools.C: remove dead code
431 * syscall.C: show prog in fail case
433 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
435 * filetools.C: code style cleanup
437 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
439 * os.h: remove spurious punctuation.
441 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
444 * LAssert.C: use new emergencyCleanup()
446 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
448 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
449 like GNU gettext does.
451 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
453 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
455 (findtexfile): oops! the change from last friday was wrong...
457 * os_win32.C (is_absolute_path):
458 * os_unix.C (is_absolute_path):
459 * os_os2.C (is_absolute_path): new method
461 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
463 * filetools.C (findtexfile): apply os::internal_path to the result.
465 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
470 * os.h: add internal_path method, which converts a unix-type file
471 name to the type known to the underlying file system (currently
472 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
474 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
476 * smart_ptr.h: new file
478 * utility.h: new file
480 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
483 * filetools.C (IsDirWriteable): fix this
485 2001-07-26 Baruch Even <baruch@lyx.org>
487 * lyxlib.h (float_equal): Added function to compare floats almost equal
488 (see function comment).
490 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
492 Consistent use of Lsstream.h:
493 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
495 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
497 * translator.h: (*it). -> it->
499 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
501 * filetools.C (DeleteAllFilesInDir): send debug output to
502 Debug::FILES instewad of Debug::ANY.
504 * DebugStream.h: remove gcc 2.8.x hack.
506 2001-06-26 The LyX Project <jug@sad.it>
509 * lstrings.C (escape): move method to escape non ascii characters
510 from insets label and ref to here.
512 2001-06-25 The LyX Project <jug@sad.it>
514 * filetools.C (IsLyXFilename):
515 (IsSGMLFilename): do case insensitive name matching
517 2001-06-24 The LyX Project <jug@sad.it>
519 * lstrings.C (compare_ascii_no_case): version of compare_no_case
520 which only considers case of ascii characters
522 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
525 2001-06-23 The LyX Project <jug@sad.it>
527 * textutils.h (IsPrintable): take into account unprintable spaces
529 (IsDigit): new function
530 (IsLetterCharOrDigit): use IsDigit
532 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
534 * filetools.C (findtexfile): strip final \r if necessary (for
537 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
540 * StrPool.C: removed // -*- C++ -*- as first line.
542 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
544 * lyxsum.C (do_crc): switch to use boost::crc for generating the
547 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
552 * LSubstring.C: bring C functions in global namespace if
555 * lstrings.h (compare): use the std:: version of str[n]cmp only
558 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * syscontr.C: add std::
562 * syscall.C: add std::
564 * lstrings.h (compare): add std::
566 * lstrings.C (prefixIs): add std::
570 * LSubstring.C (LSubstring): add std::
572 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * lyxsum.C (sum): use istreambuf_iterator when available.
576 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
578 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
581 * lyxstring.C (operator): make const operator[] behave as
584 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * Makefile.am (EXTRA_DIST): add the os_*.C files.
588 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * filetools.C (MakeAbsPath): remove debugging statement
592 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
594 * FileInfo.h: X_OK workaround for cygwin
603 * filetools.h: Added os:: class.
607 * tempname.C: OS/2 fixes
609 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * textutils.h: remvoe !NEW_INSETS cruft
613 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * atoi.C: add using directives when needed for C functions
617 declared in std:: namespace.
619 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
621 * lstrings.C : add two helper structs, local_lowercase and
623 (lowercase): change to use std::transform
624 (uppercase): change to use std::transform
626 2001-04-25 Allan Rae <rae@lyx.org>
628 * lyxstring.C : Assert got moved and Lars missed a few.
630 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
632 * LAssert.h (Assert): put into namespace lyx
634 * lyxfunctional.h: put into namespace lyx
635 * translator.h: adjust
637 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
639 * lyxalgo.h: put into namespace lyx, add firster and copy_if
641 * FileInfo.h: inherit privately from noncopyable
644 2001-04-16 Allan Rae <rae@lyx.org>
646 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
647 as an unrecognised preprocessor directive. So ensure they're wrapped.
649 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
651 * several files: remove CXX_WORKING_NAMESPACES
653 * FileInfo.h: noncopyable is in namespace boost
656 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
658 * syscontr.h: fix header include
660 2001-02-28 Baruch Even <baruch@ev-en.org>
662 * filetools.C: Removed dependency on syscall.h
665 * syscall.C: Minor cleanings before I start to touch this code.
667 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
669 * filetools.C (CreateTmpDir): change umask to 0700.
671 2001-02-27 José Matos <jamatos@fep.up.pt>
673 * filetools.h (BasePath):
674 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
676 * filetools.C (IsLyXFilename):
677 * filetools.C (IsSGMLFilename): test if extension is suffix and not
680 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
684 * atoi.C: remove cruft
686 2001-02-06 albert chin <china@thewrittenword.com>
689 * fmt.C: use HAVE_DECL_SNPRINTF
691 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
693 * lyxstring.C: Fix some assertions.
695 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
697 * lstrings.C (strip): Add a fix for compilers with broken
698 string::find_last_not_of.
700 * filetools.C (AddPath): Simplify by using strip and frontStrip.
702 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
704 * lyxstring.C (rfind): Fix broken functions.
705 (find): Few optimizations.