1 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3 * limited_stack.h: fix comment, remove un-needed header
5 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7 * lstrings.h: correct comments for token and tokenPos
9 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11 * lyxstring.C (operator>>): replace code which works only with
12 _some_ versions of GNU STL with generic one
14 2002-07-18 Angus Leeming <leeming@lyx.org>
16 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
17 signal should it do so.
19 * Makefile.am: add FileMonitor.[Ch].
21 2002-07-18 André Pönitz <poenitz@gmx.net>
23 * filetools.C (LibScriptSearch): bug fix
25 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * filetools.C (LyXReadLink): add bool 'resolve' to return link
28 contents as an absolute path
30 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
32 * filetools.C (IsLyXFilename):
33 (IsSGMLFilename): use ascii_lowercase instead of lowercase
35 * lstrings.[Ch] (ascii_lowercase): new function
37 2002-07-16 André Pönitz <poenitz@gmx.net>
39 * FileInfo.Ch: remove unneeded code
41 2002-06-20 Herbert Voss <voss@perce.de>
43 * filetools.[C] (readExtFromContents): add support for
46 2002-06-26 André Pönitz <poenitz@gmx.net>
48 * filetools.[Ch]: small whitespace, more compact 'return' statement
50 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
52 * lyxalgo.h: add eliminate_duplicates
54 2002-06-17 Herbert Voss <voss@perce.de>
56 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
57 (readBB_lyxerrMessage) to get better lyxerr messages
58 (getExtFromContents) test epsi files in the right way
60 * DestroxLyXTmpDir.C: changed to true, to delete the
61 temporary unzipped files, too.
63 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * putenv.C (putenv): putenv should never be found in std::
67 * kill.C (kill): kill should never be found in std::
69 * filetools.C: pclose and popen should never be found in std::
71 2002-06-07 Angus Leeming <leeming@lyx.org>
73 Fixes needed to compile with Compaq cxx 6.5.
74 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
75 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
76 more than one instance of overloaded function "lyx::class_fun" matches
86 all c-library variables have been moved into namespace std.
87 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
89 * kill.C: rename signal.h as csignal.
91 * putenv.C: rename stdlib.h as cstdlib
93 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
95 * lxtl.h: remove unused file
97 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
104 * StrPool.C: remove unused files
114 * types.h: document and small cleanups
116 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
118 * switch from SigC signals to boost::signals.
120 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
123 * limited_stack.h: new template for limited-size
126 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * filetools.C: do not include LSubstring.h
130 * lstrings.C: change include order
131 (regexMatch): use boost regex get rid of LRegex and LSubstring
133 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
136 * LSubstring.h: remove file
141 * LSubstring.C: ditto
143 2002-05-24 Juergen Vigna <jug@sad.it>
145 * lyxsum.C: include local includes first (self containment)
147 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * forkedcall.h: use more specific smart_ptr header.
151 * lyxsum.C: move some using declarations around.
153 2002-05-03 Herbert Voss <voss@perce.de>
155 * filetools.C (getExtFromContents): only print the first 60 chars of
156 the scanned-string when debugging.
158 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
160 * lyxstring.C: close to typo fix.
162 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
164 * filetools.C: add a using std::getline directive.
166 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
168 * lyxstring.C (operator>>): try a new version of the operator>>
170 2002-04-14 Herbert Voss <voss@perce.de>
172 * lstrings.[Ch]: move the getVectorFromString and the vice versa
173 from frontends/controllers/helper_funcs for better use in other
176 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
178 * tempname.C (make_tempfile): simplify the #ifdef block by using
179 #if defined and re-write the #warning as a #error because it's terminal.
181 2002-04-08 Herbert Voss <voss@perce.de>
183 * filetools.C (getExtFromContents): get tgif run
185 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
187 * filetools.C (getExtFromContents): re-format a little and remove
188 replicated "sgi" entry.
190 2002-04-07 Herbert Voss <voss@perce.de>
192 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
193 for the lyx-view in graphics (moved from ControlGraphics)
195 2002-04-07 Herbert Voss <voss@perce.de>
197 * filetools.C: fix bug for eps. scans now a whole line
199 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * lyxstring.C (operator>>): use the better solution, this fixes a
202 "not able to read '\0'" bug.
204 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
206 * translator.h: add missing typename
208 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
210 * filetools.C (LibScriptSearch): new command. Searches for scripts
211 in lyx data directories.
212 (LibScriptSearch): try to use split() correctly.
214 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
216 * most files: ws cleanup
218 * Makefile.am: remove ld -r stuff
220 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
222 * Makefile.am (libsupport.la): special rules if partial linking
224 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
226 * forkedcontr.C: turn the timer off when their are no longer any
227 child processes running.
229 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
231 * forkedcall.h: docy fix
232 change SignalType second type to be const ref.
234 * forkedcall.C: doxy fix
236 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
238 * lyxsum.C: compilation fix
240 2002-03-02 Herbert Voss <voss@perce.de>
242 * filetools.C: fix bug for xbm format and added some more debug
245 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
247 * forkedcontr.h: make constructor public
249 * types.h: remove layout_type
251 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
253 * filetools.C (getExtFromContents): cleanup.
255 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
257 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
259 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
260 building outside of source tree.
262 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
265 * forkedcontr.[Ch]: new files. Asger's forked call controller is
266 re-born, with a working timer and a modified interface. The
267 startscript method is now passed a Signal rather than a pointer
268 to a callback function. This enables us to connect to the method of
269 a C++ class, if we so desire.
271 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
273 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
278 * nt_defines.h: moved from src/
280 2002-02-23 Herbert Voss <voss@perce.de>
282 * filetools.C: added more graphic formats
284 2002-02-18 Herbert Voss <voss@perce.de>
286 * filetools.C: (getExtFromContents) return the fileextension
287 if no format is detected.
289 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
291 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
292 as class SystemCall because one Systemcall instance represents a
293 single child process.
296 * Makefile.am: associated changes.
298 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
300 * syscall.C (Systemcalls): include <cstdlib>
302 2002-02-08 Herbert Voss <voss@perce.de>
304 * filetools.C: (getExtFromContents) adding Grace-format
307 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
310 * syssingleton.C: files removed.
312 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
313 uses it. Strip down the Systemcalls interface to make it brutally
314 obvious how unsophisticated it is.
316 2002-02-08 Herbert Voss <voss@perce.de>
318 * filetools.C: (getExtFromContents) adding TGIF-format
319 and return type "user" when no type is detected
321 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
323 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
325 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
327 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
329 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
331 * FileInfo.h: remove special cygwin code.
333 * filetools.C (do_popen): use os::read_mode().
335 * os_win32.C (read_mode):
336 * os_os2.C (read_mode):
337 * os_unix.C (read_mode): new method
339 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
340 Hentschel). This code should maybe be moved to os:: class.
342 2002-02-08 Herbert Voss <voss@perce.de>
344 * filetools.C: (unzipFile) fix typo
346 2002-02-06 Herbert Voss <voss@perce.de>
348 * filetools.[Ch]: fix some bugs for detecting zipped files
351 2002-02-04 Herbert Voss <voss@perce.de>
353 * filetools.[Ch]: add ifZippedFile() for zipped
356 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
358 * filetools.C (FileOpenSearch): remove duplicated line, probably
359 resulting from bad cut-and paste.
361 2002-01-31 Herbert Voss <voss@perce.de>
363 * filetools.[Ch]: add getExtFromContents(), which returns
364 the type of the (graphic) file
366 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
368 * copy.C (copy): open file in binary mode (for cygwin)
370 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
372 * lyxsum.C: remove #warnings and replaced them with runtime debug
375 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
377 * lyxalgo.h: include <algorithm>
379 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
381 * lyx_algo.h: add a standard-conforming count to namespace lyx.
383 * lstrings.[Ch] (countChar): removed. Use lyx::count.
385 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
387 * filetools.C: fix use of FileInfo
390 * FileInfo.C: add Asserts and documentation
392 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
394 * os_win32.C: compilation fixes
396 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
398 * lstrings.h: do not include <cctype>
400 2001-12-12 Ben Stanley <bds02@uow.edu.au>
402 * lyxsum.C: portability fix for mmap patch
404 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * lyxstring.C: change "while(" to "while ("
410 2001-12-03 Ben Stanley <bds02@uow.edu.au>
412 * lyxsum.C: Added mmap version of CRC and made it selected
413 by default where available. Used process_block for crc for speedup.
415 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
417 * filetools.C: more robust failure for DirList()
419 2001-11-29 André Pönitz <poenitz@gmx.net>
421 * types.h: introduce types for textclass numbers and layout numbers
423 2001-11-28 André Pönitz <poenitz@gmx.net>
425 * Makefile.am: put types.h in
427 2001-11-26 André Pönitz <poenitz@gmx.net>
429 * types.h: introduce types for paragraph positions and layout numbers
431 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
433 * filetools.C: remove dead code
435 * syscall.C: show prog in fail case
437 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
439 * filetools.C: code style cleanup
441 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
443 * os.h: remove spurious punctuation.
445 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
448 * LAssert.C: use new emergencyCleanup()
450 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
452 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
453 like GNU gettext does.
455 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
457 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
459 (findtexfile): oops! the change from last friday was wrong...
461 * os_win32.C (is_absolute_path):
462 * os_unix.C (is_absolute_path):
463 * os_os2.C (is_absolute_path): new method
465 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
467 * filetools.C (findtexfile): apply os::internal_path to the result.
469 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
474 * os.h: add internal_path method, which converts a unix-type file
475 name to the type known to the underlying file system (currently
476 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
478 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
480 * smart_ptr.h: new file
482 * utility.h: new file
484 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
487 * filetools.C (IsDirWriteable): fix this
489 2001-07-26 Baruch Even <baruch@lyx.org>
491 * lyxlib.h (float_equal): Added function to compare floats almost equal
492 (see function comment).
494 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
496 Consistent use of Lsstream.h:
497 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
499 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
501 * translator.h: (*it). -> it->
503 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
505 * filetools.C (DeleteAllFilesInDir): send debug output to
506 Debug::FILES instewad of Debug::ANY.
508 * DebugStream.h: remove gcc 2.8.x hack.
510 2001-06-26 The LyX Project <jug@sad.it>
513 * lstrings.C (escape): move method to escape non ascii characters
514 from insets label and ref to here.
516 2001-06-25 The LyX Project <jug@sad.it>
518 * filetools.C (IsLyXFilename):
519 (IsSGMLFilename): do case insensitive name matching
521 2001-06-24 The LyX Project <jug@sad.it>
523 * lstrings.C (compare_ascii_no_case): version of compare_no_case
524 which only considers case of ascii characters
526 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
529 2001-06-23 The LyX Project <jug@sad.it>
531 * textutils.h (IsPrintable): take into account unprintable spaces
533 (IsDigit): new function
534 (IsLetterCharOrDigit): use IsDigit
536 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
538 * filetools.C (findtexfile): strip final \r if necessary (for
541 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
544 * StrPool.C: removed // -*- C++ -*- as first line.
546 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * lyxsum.C (do_crc): switch to use boost::crc for generating the
551 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
556 * LSubstring.C: bring C functions in global namespace if
559 * lstrings.h (compare): use the std:: version of str[n]cmp only
562 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * syscontr.C: add std::
566 * syscall.C: add std::
568 * lstrings.h (compare): add std::
570 * lstrings.C (prefixIs): add std::
574 * LSubstring.C (LSubstring): add std::
576 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
578 * lyxsum.C (sum): use istreambuf_iterator when available.
580 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
585 * lyxstring.C (operator): make const operator[] behave as
588 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * Makefile.am (EXTRA_DIST): add the os_*.C files.
592 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
594 * filetools.C (MakeAbsPath): remove debugging statement
596 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
598 * FileInfo.h: X_OK workaround for cygwin
607 * filetools.h: Added os:: class.
611 * tempname.C: OS/2 fixes
613 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * textutils.h: remvoe !NEW_INSETS cruft
617 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * atoi.C: add using directives when needed for C functions
621 declared in std:: namespace.
623 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
625 * lstrings.C : add two helper structs, local_lowercase and
627 (lowercase): change to use std::transform
628 (uppercase): change to use std::transform
630 2001-04-25 Allan Rae <rae@lyx.org>
632 * lyxstring.C : Assert got moved and Lars missed a few.
634 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * LAssert.h (Assert): put into namespace lyx
638 * lyxfunctional.h: put into namespace lyx
639 * translator.h: adjust
641 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
643 * lyxalgo.h: put into namespace lyx, add firster and copy_if
645 * FileInfo.h: inherit privately from noncopyable
648 2001-04-16 Allan Rae <rae@lyx.org>
650 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
651 as an unrecognised preprocessor directive. So ensure they're wrapped.
653 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
655 * several files: remove CXX_WORKING_NAMESPACES
657 * FileInfo.h: noncopyable is in namespace boost
660 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
662 * syscontr.h: fix header include
664 2001-02-28 Baruch Even <baruch@ev-en.org>
666 * filetools.C: Removed dependency on syscall.h
669 * syscall.C: Minor cleanings before I start to touch this code.
671 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
673 * filetools.C (CreateTmpDir): change umask to 0700.
675 2001-02-27 José Matos <jamatos@fep.up.pt>
677 * filetools.h (BasePath):
678 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
680 * filetools.C (IsLyXFilename):
681 * filetools.C (IsSGMLFilename): test if extension is suffix and not
684 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
688 * atoi.C: remove cruft
690 2001-02-06 albert chin <china@thewrittenword.com>
693 * fmt.C: use HAVE_DECL_SNPRINTF
695 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
697 * lyxstring.C: Fix some assertions.
699 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
701 * lstrings.C (strip): Add a fix for compilers with broken
702 string::find_last_not_of.
704 * filetools.C (AddPath): Simplify by using strip and frontStrip.
706 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
708 * lyxstring.C (rfind): Fix broken functions.
709 (find): Few optimizations.