1 2002-07-18 Angus Leeming <leeming@lyx.org>
3 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
4 signal should it do so.
6 * Makefile.am: add FileMonitor.[Ch].
8 2002-07-18 André Pönitz <poenitz@gmx.net>
10 * filetools.C (LibScriptSearch): bug fix
12 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14 * filetools.C (LyXReadLink): add bool 'resolve' to return link
15 contents as an absolute path
17 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * filetools.C (IsLyXFilename):
20 (IsSGMLFilename): use ascii_lowercase instead of lowercase
22 * lstrings.[Ch] (ascii_lowercase): new function
24 2002-07-16 André Pönitz <poenitz@gmx.net>
26 * FileInfo.Ch: remove unneeded code
28 2002-06-20 Herbert Voss <voss@perce.de>
30 * filetools.[C] (readExtFromContents): add support for
33 2002-06-26 André Pönitz <poenitz@gmx.net>
35 * filetools.[Ch]: small whitespace, more compact 'return' statement
37 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
39 * lyxalgo.h: add eliminate_duplicates
41 2002-06-17 Herbert Voss <voss@perce.de>
43 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
44 (readBB_lyxerrMessage) to get better lyxerr messages
45 (getExtFromContents) test epsi files in the right way
47 * DestroxLyXTmpDir.C: changed to true, to delete the
48 temporary unzipped files, too.
50 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
52 * putenv.C (putenv): putenv should never be found in std::
54 * kill.C (kill): kill should never be found in std::
56 * filetools.C: pclose and popen should never be found in std::
58 2002-06-07 Angus Leeming <leeming@lyx.org>
60 Fixes needed to compile with Compaq cxx 6.5.
61 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
62 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
63 more than one instance of overloaded function "lyx::class_fun" matches
73 all c-library variables have been moved into namespace std.
74 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
76 * kill.C: rename signal.h as csignal.
78 * putenv.C: rename stdlib.h as cstdlib
80 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
82 * lxtl.h: remove unused file
84 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
91 * StrPool.C: remove unused files
101 * types.h: document and small cleanups
103 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * switch from SigC signals to boost::signals.
107 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
110 * limited_stack.h: new template for limited-size
113 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * filetools.C: do not include LSubstring.h
117 * lstrings.C: change include order
118 (regexMatch): use boost regex get rid of LRegex and LSubstring
120 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
123 * LSubstring.h: remove file
128 * LSubstring.C: ditto
130 2002-05-24 Juergen Vigna <jug@sad.it>
132 * lyxsum.C: include local includes first (self containment)
134 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * forkedcall.h: use more specific smart_ptr header.
138 * lyxsum.C: move some using declarations around.
140 2002-05-03 Herbert Voss <voss@perce.de>
142 * filetools.C (getExtFromContents): only print the first 60 chars of
143 the scanned-string when debugging.
145 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
147 * lyxstring.C: close to typo fix.
149 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
151 * filetools.C: add a using std::getline directive.
153 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
155 * lyxstring.C (operator>>): try a new version of the operator>>
157 2002-04-14 Herbert Voss <voss@perce.de>
159 * lstrings.[Ch]: move the getVectorFromString and the vice versa
160 from frontends/controllers/helper_funcs for better use in other
163 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
165 * tempname.C (make_tempfile): simplify the #ifdef block by using
166 #if defined and re-write the #warning as a #error because it's terminal.
168 2002-04-08 Herbert Voss <voss@perce.de>
170 * filetools.C (getExtFromContents): get tgif run
172 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
174 * filetools.C (getExtFromContents): re-format a little and remove
175 replicated "sgi" entry.
177 2002-04-07 Herbert Voss <voss@perce.de>
179 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
180 for the lyx-view in graphics (moved from ControlGraphics)
182 2002-04-07 Herbert Voss <voss@perce.de>
184 * filetools.C: fix bug for eps. scans now a whole line
186 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
188 * lyxstring.C (operator>>): use the better solution, this fixes a
189 "not able to read '\0'" bug.
191 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
193 * translator.h: add missing typename
195 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
197 * filetools.C (LibScriptSearch): new command. Searches for scripts
198 in lyx data directories.
199 (LibScriptSearch): try to use split() correctly.
201 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * most files: ws cleanup
205 * Makefile.am: remove ld -r stuff
207 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
209 * Makefile.am (libsupport.la): special rules if partial linking
211 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
213 * forkedcontr.C: turn the timer off when their are no longer any
214 child processes running.
216 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * forkedcall.h: docy fix
219 change SignalType second type to be const ref.
221 * forkedcall.C: doxy fix
223 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
225 * lyxsum.C: compilation fix
227 2002-03-02 Herbert Voss <voss@perce.de>
229 * filetools.C: fix bug for xbm format and added some more debug
232 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
234 * forkedcontr.h: make constructor public
236 * types.h: remove layout_type
238 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
240 * filetools.C (getExtFromContents): cleanup.
242 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
244 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
246 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
247 building outside of source tree.
249 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
252 * forkedcontr.[Ch]: new files. Asger's forked call controller is
253 re-born, with a working timer and a modified interface. The
254 startscript method is now passed a Signal rather than a pointer
255 to a callback function. This enables us to connect to the method of
256 a C++ class, if we so desire.
258 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
260 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
265 * nt_defines.h: moved from src/
267 2002-02-23 Herbert Voss <voss@perce.de>
269 * filetools.C: added more graphic formats
271 2002-02-18 Herbert Voss <voss@perce.de>
273 * filetools.C: (getExtFromContents) return the fileextension
274 if no format is detected.
276 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
278 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
279 as class SystemCall because one Systemcall instance represents a
280 single child process.
283 * Makefile.am: associated changes.
285 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
287 * syscall.C (Systemcalls): include <cstdlib>
289 2002-02-08 Herbert Voss <voss@perce.de>
291 * filetools.C: (getExtFromContents) adding Grace-format
294 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
297 * syssingleton.C: files removed.
299 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
300 uses it. Strip down the Systemcalls interface to make it brutally
301 obvious how unsophisticated it is.
303 2002-02-08 Herbert Voss <voss@perce.de>
305 * filetools.C: (getExtFromContents) adding TGIF-format
306 and return type "user" when no type is detected
308 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
310 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
312 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
314 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
316 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
318 * FileInfo.h: remove special cygwin code.
320 * filetools.C (do_popen): use os::read_mode().
322 * os_win32.C (read_mode):
323 * os_os2.C (read_mode):
324 * os_unix.C (read_mode): new method
326 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
327 Hentschel). This code should maybe be moved to os:: class.
329 2002-02-08 Herbert Voss <voss@perce.de>
331 * filetools.C: (unzipFile) fix typo
333 2002-02-06 Herbert Voss <voss@perce.de>
335 * filetools.[Ch]: fix some bugs for detecting zipped files
338 2002-02-04 Herbert Voss <voss@perce.de>
340 * filetools.[Ch]: add ifZippedFile() for zipped
343 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
345 * filetools.C (FileOpenSearch): remove duplicated line, probably
346 resulting from bad cut-and paste.
348 2002-01-31 Herbert Voss <voss@perce.de>
350 * filetools.[Ch]: add getExtFromContents(), which returns
351 the type of the (graphic) file
353 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
355 * copy.C (copy): open file in binary mode (for cygwin)
357 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
359 * lyxsum.C: remove #warnings and replaced them with runtime debug
362 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * lyxalgo.h: include <algorithm>
366 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
368 * lyx_algo.h: add a standard-conforming count to namespace lyx.
370 * lstrings.[Ch] (countChar): removed. Use lyx::count.
372 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
374 * filetools.C: fix use of FileInfo
377 * FileInfo.C: add Asserts and documentation
379 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
381 * os_win32.C: compilation fixes
383 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
385 * lstrings.h: do not include <cctype>
387 2001-12-12 Ben Stanley <bds02@uow.edu.au>
389 * lyxsum.C: portability fix for mmap patch
391 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
395 * lyxstring.C: change "while(" to "while ("
397 2001-12-03 Ben Stanley <bds02@uow.edu.au>
399 * lyxsum.C: Added mmap version of CRC and made it selected
400 by default where available. Used process_block for crc for speedup.
402 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
404 * filetools.C: more robust failure for DirList()
406 2001-11-29 André Pönitz <poenitz@gmx.net>
408 * types.h: introduce types for textclass numbers and layout numbers
410 2001-11-28 André Pönitz <poenitz@gmx.net>
412 * Makefile.am: put types.h in
414 2001-11-26 André Pönitz <poenitz@gmx.net>
416 * types.h: introduce types for paragraph positions and layout numbers
418 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
420 * filetools.C: remove dead code
422 * syscall.C: show prog in fail case
424 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
426 * filetools.C: code style cleanup
428 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
430 * os.h: remove spurious punctuation.
432 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
435 * LAssert.C: use new emergencyCleanup()
437 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
439 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
440 like GNU gettext does.
442 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
444 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
446 (findtexfile): oops! the change from last friday was wrong...
448 * os_win32.C (is_absolute_path):
449 * os_unix.C (is_absolute_path):
450 * os_os2.C (is_absolute_path): new method
452 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * filetools.C (findtexfile): apply os::internal_path to the result.
456 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
461 * os.h: add internal_path method, which converts a unix-type file
462 name to the type known to the underlying file system (currently
463 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
465 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
467 * smart_ptr.h: new file
469 * utility.h: new file
471 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
474 * filetools.C (IsDirWriteable): fix this
476 2001-07-26 Baruch Even <baruch@lyx.org>
478 * lyxlib.h (float_equal): Added function to compare floats almost equal
479 (see function comment).
481 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
483 Consistent use of Lsstream.h:
484 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
486 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
488 * translator.h: (*it). -> it->
490 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
492 * filetools.C (DeleteAllFilesInDir): send debug output to
493 Debug::FILES instewad of Debug::ANY.
495 * DebugStream.h: remove gcc 2.8.x hack.
497 2001-06-26 The LyX Project <jug@sad.it>
500 * lstrings.C (escape): move method to escape non ascii characters
501 from insets label and ref to here.
503 2001-06-25 The LyX Project <jug@sad.it>
505 * filetools.C (IsLyXFilename):
506 (IsSGMLFilename): do case insensitive name matching
508 2001-06-24 The LyX Project <jug@sad.it>
510 * lstrings.C (compare_ascii_no_case): version of compare_no_case
511 which only considers case of ascii characters
513 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
516 2001-06-23 The LyX Project <jug@sad.it>
518 * textutils.h (IsPrintable): take into account unprintable spaces
520 (IsDigit): new function
521 (IsLetterCharOrDigit): use IsDigit
523 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * filetools.C (findtexfile): strip final \r if necessary (for
528 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
531 * StrPool.C: removed // -*- C++ -*- as first line.
533 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
535 * lyxsum.C (do_crc): switch to use boost::crc for generating the
538 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
543 * LSubstring.C: bring C functions in global namespace if
546 * lstrings.h (compare): use the std:: version of str[n]cmp only
549 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
551 * syscontr.C: add std::
553 * syscall.C: add std::
555 * lstrings.h (compare): add std::
557 * lstrings.C (prefixIs): add std::
561 * LSubstring.C (LSubstring): add std::
563 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
565 * lyxsum.C (sum): use istreambuf_iterator when available.
567 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
569 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
572 * lyxstring.C (operator): make const operator[] behave as
575 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * Makefile.am (EXTRA_DIST): add the os_*.C files.
579 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
581 * filetools.C (MakeAbsPath): remove debugging statement
583 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
585 * FileInfo.h: X_OK workaround for cygwin
594 * filetools.h: Added os:: class.
598 * tempname.C: OS/2 fixes
600 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * textutils.h: remvoe !NEW_INSETS cruft
604 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
607 * atoi.C: add using directives when needed for C functions
608 declared in std:: namespace.
610 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * lstrings.C : add two helper structs, local_lowercase and
614 (lowercase): change to use std::transform
615 (uppercase): change to use std::transform
617 2001-04-25 Allan Rae <rae@lyx.org>
619 * lyxstring.C : Assert got moved and Lars missed a few.
621 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
623 * LAssert.h (Assert): put into namespace lyx
625 * lyxfunctional.h: put into namespace lyx
626 * translator.h: adjust
628 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
630 * lyxalgo.h: put into namespace lyx, add firster and copy_if
632 * FileInfo.h: inherit privately from noncopyable
635 2001-04-16 Allan Rae <rae@lyx.org>
637 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
638 as an unrecognised preprocessor directive. So ensure they're wrapped.
640 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
642 * several files: remove CXX_WORKING_NAMESPACES
644 * FileInfo.h: noncopyable is in namespace boost
647 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
649 * syscontr.h: fix header include
651 2001-02-28 Baruch Even <baruch@ev-en.org>
653 * filetools.C: Removed dependency on syscall.h
656 * syscall.C: Minor cleanings before I start to touch this code.
658 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
660 * filetools.C (CreateTmpDir): change umask to 0700.
662 2001-02-27 José Matos <jamatos@fep.up.pt>
664 * filetools.h (BasePath):
665 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
667 * filetools.C (IsLyXFilename):
668 * filetools.C (IsSGMLFilename): test if extension is suffix and not
671 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
675 * atoi.C: remove cruft
677 2001-02-06 albert chin <china@thewrittenword.com>
680 * fmt.C: use HAVE_DECL_SNPRINTF
682 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
684 * lyxstring.C: Fix some assertions.
686 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
688 * lstrings.C (strip): Add a fix for compilers with broken
689 string::find_last_not_of.
691 * filetools.C (AddPath): Simplify by using strip and frontStrip.
693 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
695 * lyxstring.C (rfind): Fix broken functions.
696 (find): Few optimizations.