1 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3 * lyxstring.C (operator>>): replace code which works only with
4 _some_ versions of GNU STL with generic one
6 2002-07-18 Angus Leeming <leeming@lyx.org>
8 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
9 signal should it do so.
11 * Makefile.am: add FileMonitor.[Ch].
13 2002-07-18 André Pönitz <poenitz@gmx.net>
15 * filetools.C (LibScriptSearch): bug fix
17 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * filetools.C (LyXReadLink): add bool 'resolve' to return link
20 contents as an absolute path
22 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
24 * filetools.C (IsLyXFilename):
25 (IsSGMLFilename): use ascii_lowercase instead of lowercase
27 * lstrings.[Ch] (ascii_lowercase): new function
29 2002-07-16 André Pönitz <poenitz@gmx.net>
31 * FileInfo.Ch: remove unneeded code
33 2002-06-20 Herbert Voss <voss@perce.de>
35 * filetools.[C] (readExtFromContents): add support for
38 2002-06-26 André Pönitz <poenitz@gmx.net>
40 * filetools.[Ch]: small whitespace, more compact 'return' statement
42 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
44 * lyxalgo.h: add eliminate_duplicates
46 2002-06-17 Herbert Voss <voss@perce.de>
48 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
49 (readBB_lyxerrMessage) to get better lyxerr messages
50 (getExtFromContents) test epsi files in the right way
52 * DestroxLyXTmpDir.C: changed to true, to delete the
53 temporary unzipped files, too.
55 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * putenv.C (putenv): putenv should never be found in std::
59 * kill.C (kill): kill should never be found in std::
61 * filetools.C: pclose and popen should never be found in std::
63 2002-06-07 Angus Leeming <leeming@lyx.org>
65 Fixes needed to compile with Compaq cxx 6.5.
66 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
67 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
68 more than one instance of overloaded function "lyx::class_fun" matches
78 all c-library variables have been moved into namespace std.
79 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
81 * kill.C: rename signal.h as csignal.
83 * putenv.C: rename stdlib.h as cstdlib
85 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
87 * lxtl.h: remove unused file
89 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
96 * StrPool.C: remove unused files
106 * types.h: document and small cleanups
108 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * switch from SigC signals to boost::signals.
112 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
115 * limited_stack.h: new template for limited-size
118 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * filetools.C: do not include LSubstring.h
122 * lstrings.C: change include order
123 (regexMatch): use boost regex get rid of LRegex and LSubstring
125 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
128 * LSubstring.h: remove file
133 * LSubstring.C: ditto
135 2002-05-24 Juergen Vigna <jug@sad.it>
137 * lyxsum.C: include local includes first (self containment)
139 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * forkedcall.h: use more specific smart_ptr header.
143 * lyxsum.C: move some using declarations around.
145 2002-05-03 Herbert Voss <voss@perce.de>
147 * filetools.C (getExtFromContents): only print the first 60 chars of
148 the scanned-string when debugging.
150 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
152 * lyxstring.C: close to typo fix.
154 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
156 * filetools.C: add a using std::getline directive.
158 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
160 * lyxstring.C (operator>>): try a new version of the operator>>
162 2002-04-14 Herbert Voss <voss@perce.de>
164 * lstrings.[Ch]: move the getVectorFromString and the vice versa
165 from frontends/controllers/helper_funcs for better use in other
168 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
170 * tempname.C (make_tempfile): simplify the #ifdef block by using
171 #if defined and re-write the #warning as a #error because it's terminal.
173 2002-04-08 Herbert Voss <voss@perce.de>
175 * filetools.C (getExtFromContents): get tgif run
177 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
179 * filetools.C (getExtFromContents): re-format a little and remove
180 replicated "sgi" entry.
182 2002-04-07 Herbert Voss <voss@perce.de>
184 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
185 for the lyx-view in graphics (moved from ControlGraphics)
187 2002-04-07 Herbert Voss <voss@perce.de>
189 * filetools.C: fix bug for eps. scans now a whole line
191 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
193 * lyxstring.C (operator>>): use the better solution, this fixes a
194 "not able to read '\0'" bug.
196 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * translator.h: add missing typename
200 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
202 * filetools.C (LibScriptSearch): new command. Searches for scripts
203 in lyx data directories.
204 (LibScriptSearch): try to use split() correctly.
206 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
208 * most files: ws cleanup
210 * Makefile.am: remove ld -r stuff
212 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
214 * Makefile.am (libsupport.la): special rules if partial linking
216 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
218 * forkedcontr.C: turn the timer off when their are no longer any
219 child processes running.
221 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * forkedcall.h: docy fix
224 change SignalType second type to be const ref.
226 * forkedcall.C: doxy fix
228 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
230 * lyxsum.C: compilation fix
232 2002-03-02 Herbert Voss <voss@perce.de>
234 * filetools.C: fix bug for xbm format and added some more debug
237 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * forkedcontr.h: make constructor public
241 * types.h: remove layout_type
243 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
245 * filetools.C (getExtFromContents): cleanup.
247 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
249 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
251 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
252 building outside of source tree.
254 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
257 * forkedcontr.[Ch]: new files. Asger's forked call controller is
258 re-born, with a working timer and a modified interface. The
259 startscript method is now passed a Signal rather than a pointer
260 to a callback function. This enables us to connect to the method of
261 a C++ class, if we so desire.
263 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
265 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
270 * nt_defines.h: moved from src/
272 2002-02-23 Herbert Voss <voss@perce.de>
274 * filetools.C: added more graphic formats
276 2002-02-18 Herbert Voss <voss@perce.de>
278 * filetools.C: (getExtFromContents) return the fileextension
279 if no format is detected.
281 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
283 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
284 as class SystemCall because one Systemcall instance represents a
285 single child process.
288 * Makefile.am: associated changes.
290 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
292 * syscall.C (Systemcalls): include <cstdlib>
294 2002-02-08 Herbert Voss <voss@perce.de>
296 * filetools.C: (getExtFromContents) adding Grace-format
299 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
302 * syssingleton.C: files removed.
304 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
305 uses it. Strip down the Systemcalls interface to make it brutally
306 obvious how unsophisticated it is.
308 2002-02-08 Herbert Voss <voss@perce.de>
310 * filetools.C: (getExtFromContents) adding TGIF-format
311 and return type "user" when no type is detected
313 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
315 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
317 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
319 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
321 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
323 * FileInfo.h: remove special cygwin code.
325 * filetools.C (do_popen): use os::read_mode().
327 * os_win32.C (read_mode):
328 * os_os2.C (read_mode):
329 * os_unix.C (read_mode): new method
331 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
332 Hentschel). This code should maybe be moved to os:: class.
334 2002-02-08 Herbert Voss <voss@perce.de>
336 * filetools.C: (unzipFile) fix typo
338 2002-02-06 Herbert Voss <voss@perce.de>
340 * filetools.[Ch]: fix some bugs for detecting zipped files
343 2002-02-04 Herbert Voss <voss@perce.de>
345 * filetools.[Ch]: add ifZippedFile() for zipped
348 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
350 * filetools.C (FileOpenSearch): remove duplicated line, probably
351 resulting from bad cut-and paste.
353 2002-01-31 Herbert Voss <voss@perce.de>
355 * filetools.[Ch]: add getExtFromContents(), which returns
356 the type of the (graphic) file
358 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
360 * copy.C (copy): open file in binary mode (for cygwin)
362 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * lyxsum.C: remove #warnings and replaced them with runtime debug
367 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
369 * lyxalgo.h: include <algorithm>
371 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
373 * lyx_algo.h: add a standard-conforming count to namespace lyx.
375 * lstrings.[Ch] (countChar): removed. Use lyx::count.
377 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
379 * filetools.C: fix use of FileInfo
382 * FileInfo.C: add Asserts and documentation
384 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
386 * os_win32.C: compilation fixes
388 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
390 * lstrings.h: do not include <cctype>
392 2001-12-12 Ben Stanley <bds02@uow.edu.au>
394 * lyxsum.C: portability fix for mmap patch
396 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
400 * lyxstring.C: change "while(" to "while ("
402 2001-12-03 Ben Stanley <bds02@uow.edu.au>
404 * lyxsum.C: Added mmap version of CRC and made it selected
405 by default where available. Used process_block for crc for speedup.
407 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
409 * filetools.C: more robust failure for DirList()
411 2001-11-29 André Pönitz <poenitz@gmx.net>
413 * types.h: introduce types for textclass numbers and layout numbers
415 2001-11-28 André Pönitz <poenitz@gmx.net>
417 * Makefile.am: put types.h in
419 2001-11-26 André Pönitz <poenitz@gmx.net>
421 * types.h: introduce types for paragraph positions and layout numbers
423 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
425 * filetools.C: remove dead code
427 * syscall.C: show prog in fail case
429 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
431 * filetools.C: code style cleanup
433 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
435 * os.h: remove spurious punctuation.
437 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
440 * LAssert.C: use new emergencyCleanup()
442 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
444 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
445 like GNU gettext does.
447 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
451 (findtexfile): oops! the change from last friday was wrong...
453 * os_win32.C (is_absolute_path):
454 * os_unix.C (is_absolute_path):
455 * os_os2.C (is_absolute_path): new method
457 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * filetools.C (findtexfile): apply os::internal_path to the result.
461 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
466 * os.h: add internal_path method, which converts a unix-type file
467 name to the type known to the underlying file system (currently
468 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
470 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * smart_ptr.h: new file
474 * utility.h: new file
476 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
479 * filetools.C (IsDirWriteable): fix this
481 2001-07-26 Baruch Even <baruch@lyx.org>
483 * lyxlib.h (float_equal): Added function to compare floats almost equal
484 (see function comment).
486 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
488 Consistent use of Lsstream.h:
489 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
491 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * translator.h: (*it). -> it->
495 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
497 * filetools.C (DeleteAllFilesInDir): send debug output to
498 Debug::FILES instewad of Debug::ANY.
500 * DebugStream.h: remove gcc 2.8.x hack.
502 2001-06-26 The LyX Project <jug@sad.it>
505 * lstrings.C (escape): move method to escape non ascii characters
506 from insets label and ref to here.
508 2001-06-25 The LyX Project <jug@sad.it>
510 * filetools.C (IsLyXFilename):
511 (IsSGMLFilename): do case insensitive name matching
513 2001-06-24 The LyX Project <jug@sad.it>
515 * lstrings.C (compare_ascii_no_case): version of compare_no_case
516 which only considers case of ascii characters
518 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
521 2001-06-23 The LyX Project <jug@sad.it>
523 * textutils.h (IsPrintable): take into account unprintable spaces
525 (IsDigit): new function
526 (IsLetterCharOrDigit): use IsDigit
528 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * filetools.C (findtexfile): strip final \r if necessary (for
533 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
536 * StrPool.C: removed // -*- C++ -*- as first line.
538 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
540 * lyxsum.C (do_crc): switch to use boost::crc for generating the
543 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * LSubstring.C: bring C functions in global namespace if
551 * lstrings.h (compare): use the std:: version of str[n]cmp only
554 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
556 * syscontr.C: add std::
558 * syscall.C: add std::
560 * lstrings.h (compare): add std::
562 * lstrings.C (prefixIs): add std::
566 * LSubstring.C (LSubstring): add std::
568 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
570 * lyxsum.C (sum): use istreambuf_iterator when available.
572 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
577 * lyxstring.C (operator): make const operator[] behave as
580 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
582 * Makefile.am (EXTRA_DIST): add the os_*.C files.
584 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * filetools.C (MakeAbsPath): remove debugging statement
588 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
590 * FileInfo.h: X_OK workaround for cygwin
599 * filetools.h: Added os:: class.
603 * tempname.C: OS/2 fixes
605 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * textutils.h: remvoe !NEW_INSETS cruft
609 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
612 * atoi.C: add using directives when needed for C functions
613 declared in std:: namespace.
615 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * lstrings.C : add two helper structs, local_lowercase and
619 (lowercase): change to use std::transform
620 (uppercase): change to use std::transform
622 2001-04-25 Allan Rae <rae@lyx.org>
624 * lyxstring.C : Assert got moved and Lars missed a few.
626 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
628 * LAssert.h (Assert): put into namespace lyx
630 * lyxfunctional.h: put into namespace lyx
631 * translator.h: adjust
633 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
635 * lyxalgo.h: put into namespace lyx, add firster and copy_if
637 * FileInfo.h: inherit privately from noncopyable
640 2001-04-16 Allan Rae <rae@lyx.org>
642 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
643 as an unrecognised preprocessor directive. So ensure they're wrapped.
645 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
647 * several files: remove CXX_WORKING_NAMESPACES
649 * FileInfo.h: noncopyable is in namespace boost
652 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
654 * syscontr.h: fix header include
656 2001-02-28 Baruch Even <baruch@ev-en.org>
658 * filetools.C: Removed dependency on syscall.h
661 * syscall.C: Minor cleanings before I start to touch this code.
663 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
665 * filetools.C (CreateTmpDir): change umask to 0700.
667 2001-02-27 José Matos <jamatos@fep.up.pt>
669 * filetools.h (BasePath):
670 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
672 * filetools.C (IsLyXFilename):
673 * filetools.C (IsSGMLFilename): test if extension is suffix and not
676 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
680 * atoi.C: remove cruft
682 2001-02-06 albert chin <china@thewrittenword.com>
685 * fmt.C: use HAVE_DECL_SNPRINTF
687 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
689 * lyxstring.C: Fix some assertions.
691 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
693 * lstrings.C (strip): Add a fix for compilers with broken
694 string::find_last_not_of.
696 * filetools.C (AddPath): Simplify by using strip and frontStrip.
698 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
700 * lyxstring.C (rfind): Fix broken functions.
701 (find): Few optimizations.