1 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
3 * lyxalgo.h: add eliminate_duplicates
5 2002-06-17 Herbert Voss <voss@perce.de>
7 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
8 (readBB_lyxerrMessage) to get better lyxerr messages
9 (getExtFromContents) test epsi files in the right way
11 * DestroxLyXTmpDir.C: changed to true, to delete the
12 temporary unzipped files, too.
14 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * putenv.C (putenv): putenv should never be found in std::
18 * kill.C (kill): kill should never be found in std::
20 * filetools.C: pclose and popen should never be found in std::
22 2002-06-07 Angus Leeming <leeming@lyx.org>
24 Fixes needed to compile with Compaq cxx 6.5.
25 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
26 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
27 more than one instance of overloaded function "lyx::class_fun" matches
37 all c-library variables have been moved into namespace std.
38 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
40 * kill.C: rename signal.h as csignal.
42 * putenv.C: rename stdlib.h as cstdlib
44 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
46 * lxtl.h: remove unused file
48 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
55 * StrPool.C: remove unused files
65 * types.h: document and small cleanups
67 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * switch from SigC signals to boost::signals.
71 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
74 * limited_stack.h: new template for limited-size
77 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * filetools.C: do not include LSubstring.h
81 * lstrings.C: change include order
82 (regexMatch): use boost regex get rid of LRegex and LSubstring
84 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
87 * LSubstring.h: remove file
94 2002-05-24 Juergen Vigna <jug@sad.it>
96 * lyxsum.C: include local includes first (self containment)
98 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * forkedcall.h: use more specific smart_ptr header.
102 * lyxsum.C: move some using declarations around.
104 2002-05-03 Herbert Voss <voss@perce.de>
106 * filetools.C (getExtFromContents): only print the first 60 chars of
107 the scanned-string when debugging.
109 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
111 * lyxstring.C: close to typo fix.
113 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
115 * filetools.C: add a using std::getline directive.
117 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
119 * lyxstring.C (operator>>): try a new version of the operator>>
121 2002-04-14 Herbert Voss <voss@perce.de>
123 * lstrings.[Ch]: move the getVectorFromString and the vice versa
124 from frontends/controllers/helper_funcs for better use in other
127 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
129 * tempname.C (make_tempfile): simplify the #ifdef block by using
130 #if defined and re-write the #warning as a #error because it's terminal.
132 2002-04-08 Herbert Voss <voss@perce.de>
134 * filetools.C (getExtFromContents): get tgif run
136 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
138 * filetools.C (getExtFromContents): re-format a little and remove
139 replicated "sgi" entry.
141 2002-04-07 Herbert Voss <voss@perce.de>
143 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
144 for the lyx-view in graphics (moved from ControlGraphics)
146 2002-04-07 Herbert Voss <voss@perce.de>
148 * filetools.C: fix bug for eps. scans now a whole line
150 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
152 * lyxstring.C (operator>>): use the better solution, this fixes a
153 "not able to read '\0'" bug.
155 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * translator.h: add missing typename
159 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
161 * filetools.C (LibScriptSearch): new command. Searches for scripts
162 in lyx data directories.
163 (LibScriptSearch): try to use split() correctly.
165 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * most files: ws cleanup
169 * Makefile.am: remove ld -r stuff
171 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
173 * Makefile.am (libsupport.la): special rules if partial linking
175 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
177 * forkedcontr.C: turn the timer off when their are no longer any
178 child processes running.
180 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * forkedcall.h: docy fix
183 change SignalType second type to be const ref.
185 * forkedcall.C: doxy fix
187 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
189 * lyxsum.C: compilation fix
191 2002-03-02 Herbert Voss <voss@perce.de>
193 * filetools.C: fix bug for xbm format and added some more debug
196 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * forkedcontr.h: make constructor public
200 * types.h: remove layout_type
202 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
204 * filetools.C (getExtFromContents): cleanup.
206 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
208 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
210 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
211 building outside of source tree.
213 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
216 * forkedcontr.[Ch]: new files. Asger's forked call controller is
217 re-born, with a working timer and a modified interface. The
218 startscript method is now passed a Signal rather than a pointer
219 to a callback function. This enables us to connect to the method of
220 a C++ class, if we so desire.
222 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
224 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
229 * nt_defines.h: moved from src/
231 2002-02-23 Herbert Voss <voss@perce.de>
233 * filetools.C: added more graphic formats
235 2002-02-18 Herbert Voss <voss@perce.de>
237 * filetools.C: (getExtFromContents) return the fileextension
238 if no format is detected.
240 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
242 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
243 as class SystemCall because one Systemcall instance represents a
244 single child process.
247 * Makefile.am: associated changes.
249 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
251 * syscall.C (Systemcalls): include <cstdlib>
253 2002-02-08 Herbert Voss <voss@perce.de>
255 * filetools.C: (getExtFromContents) adding Grace-format
258 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
261 * syssingleton.C: files removed.
263 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
264 uses it. Strip down the Systemcalls interface to make it brutally
265 obvious how unsophisticated it is.
267 2002-02-08 Herbert Voss <voss@perce.de>
269 * filetools.C: (getExtFromContents) adding TGIF-format
270 and return type "user" when no type is detected
272 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
274 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
276 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
278 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
280 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
282 * FileInfo.h: remove special cygwin code.
284 * filetools.C (do_popen): use os::read_mode().
286 * os_win32.C (read_mode):
287 * os_os2.C (read_mode):
288 * os_unix.C (read_mode): new method
290 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
291 Hentschel). This code should maybe be moved to os:: class.
293 2002-02-08 Herbert Voss <voss@perce.de>
295 * filetools.C: (unzipFile) fix typo
297 2002-02-06 Herbert Voss <voss@perce.de>
299 * filetools.[Ch]: fix some bugs for detecting zipped files
302 2002-02-04 Herbert Voss <voss@perce.de>
304 * filetools.[Ch]: add ifZippedFile() for zipped
307 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
309 * filetools.C (FileOpenSearch): remove duplicated line, probably
310 resulting from bad cut-and paste.
312 2002-01-31 Herbert Voss <voss@perce.de>
314 * filetools.[Ch]: add getExtFromContents(), which returns
315 the type of the (graphic) file
317 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * copy.C (copy): open file in binary mode (for cygwin)
321 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
323 * lyxsum.C: remove #warnings and replaced them with runtime debug
326 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
328 * lyxalgo.h: include <algorithm>
330 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
332 * lyx_algo.h: add a standard-conforming count to namespace lyx.
334 * lstrings.[Ch] (countChar): removed. Use lyx::count.
336 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
338 * filetools.C: fix use of FileInfo
341 * FileInfo.C: add Asserts and documentation
343 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
345 * os_win32.C: compilation fixes
347 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
349 * lstrings.h: do not include <cctype>
351 2001-12-12 Ben Stanley <bds02@uow.edu.au>
353 * lyxsum.C: portability fix for mmap patch
355 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
359 * lyxstring.C: change "while(" to "while ("
361 2001-12-03 Ben Stanley <bds02@uow.edu.au>
363 * lyxsum.C: Added mmap version of CRC and made it selected
364 by default where available. Used process_block for crc for speedup.
366 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
368 * filetools.C: more robust failure for DirList()
370 2001-11-29 André Pönitz <poenitz@gmx.net>
372 * types.h: introduce types for textclass numbers and layout numbers
374 2001-11-28 André Pönitz <poenitz@gmx.net>
376 * Makefile.am: put types.h in
378 2001-11-26 André Pönitz <poenitz@gmx.net>
380 * types.h: introduce types for paragraph positions and layout numbers
382 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
384 * filetools.C: remove dead code
386 * syscall.C: show prog in fail case
388 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
390 * filetools.C: code style cleanup
392 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
394 * os.h: remove spurious punctuation.
396 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
399 * LAssert.C: use new emergencyCleanup()
401 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
403 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
404 like GNU gettext does.
406 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
408 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
410 (findtexfile): oops! the change from last friday was wrong...
412 * os_win32.C (is_absolute_path):
413 * os_unix.C (is_absolute_path):
414 * os_os2.C (is_absolute_path): new method
416 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
418 * filetools.C (findtexfile): apply os::internal_path to the result.
420 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
425 * os.h: add internal_path method, which converts a unix-type file
426 name to the type known to the underlying file system (currently
427 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
429 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
431 * smart_ptr.h: new file
433 * utility.h: new file
435 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
438 * filetools.C (IsDirWriteable): fix this
440 2001-07-26 Baruch Even <baruch@lyx.org>
442 * lyxlib.h (float_equal): Added function to compare floats almost equal
443 (see function comment).
445 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
447 Consistent use of Lsstream.h:
448 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
450 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * translator.h: (*it). -> it->
454 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
456 * filetools.C (DeleteAllFilesInDir): send debug output to
457 Debug::FILES instewad of Debug::ANY.
459 * DebugStream.h: remove gcc 2.8.x hack.
461 2001-06-26 The LyX Project <jug@sad.it>
464 * lstrings.C (escape): move method to escape non ascii characters
465 from insets label and ref to here.
467 2001-06-25 The LyX Project <jug@sad.it>
469 * filetools.C (IsLyXFilename):
470 (IsSGMLFilename): do case insensitive name matching
472 2001-06-24 The LyX Project <jug@sad.it>
474 * lstrings.C (compare_ascii_no_case): version of compare_no_case
475 which only considers case of ascii characters
477 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
480 2001-06-23 The LyX Project <jug@sad.it>
482 * textutils.h (IsPrintable): take into account unprintable spaces
484 (IsDigit): new function
485 (IsLetterCharOrDigit): use IsDigit
487 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
489 * filetools.C (findtexfile): strip final \r if necessary (for
492 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
495 * StrPool.C: removed // -*- C++ -*- as first line.
497 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
499 * lyxsum.C (do_crc): switch to use boost::crc for generating the
502 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
507 * LSubstring.C: bring C functions in global namespace if
510 * lstrings.h (compare): use the std:: version of str[n]cmp only
513 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
515 * syscontr.C: add std::
517 * syscall.C: add std::
519 * lstrings.h (compare): add std::
521 * lstrings.C (prefixIs): add std::
525 * LSubstring.C (LSubstring): add std::
527 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * lyxsum.C (sum): use istreambuf_iterator when available.
531 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
533 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
536 * lyxstring.C (operator): make const operator[] behave as
539 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
541 * Makefile.am (EXTRA_DIST): add the os_*.C files.
543 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
545 * filetools.C (MakeAbsPath): remove debugging statement
547 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
549 * FileInfo.h: X_OK workaround for cygwin
558 * filetools.h: Added os:: class.
562 * tempname.C: OS/2 fixes
564 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
566 * textutils.h: remvoe !NEW_INSETS cruft
568 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
571 * atoi.C: add using directives when needed for C functions
572 declared in std:: namespace.
574 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
576 * lstrings.C : add two helper structs, local_lowercase and
578 (lowercase): change to use std::transform
579 (uppercase): change to use std::transform
581 2001-04-25 Allan Rae <rae@lyx.org>
583 * lyxstring.C : Assert got moved and Lars missed a few.
585 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * LAssert.h (Assert): put into namespace lyx
589 * lyxfunctional.h: put into namespace lyx
590 * translator.h: adjust
592 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * lyxalgo.h: put into namespace lyx, add firster and copy_if
596 * FileInfo.h: inherit privately from noncopyable
599 2001-04-16 Allan Rae <rae@lyx.org>
601 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
602 as an unrecognised preprocessor directive. So ensure they're wrapped.
604 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
606 * several files: remove CXX_WORKING_NAMESPACES
608 * FileInfo.h: noncopyable is in namespace boost
611 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
613 * syscontr.h: fix header include
615 2001-02-28 Baruch Even <baruch@ev-en.org>
617 * filetools.C: Removed dependency on syscall.h
620 * syscall.C: Minor cleanings before I start to touch this code.
622 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
624 * filetools.C (CreateTmpDir): change umask to 0700.
626 2001-02-27 José Matos <jamatos@fep.up.pt>
628 * filetools.h (BasePath):
629 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
631 * filetools.C (IsLyXFilename):
632 * filetools.C (IsSGMLFilename): test if extension is suffix and not
635 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
639 * atoi.C: remove cruft
641 2001-02-06 albert chin <china@thewrittenword.com>
644 * fmt.C: use HAVE_DECL_SNPRINTF
646 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
648 * lyxstring.C: Fix some assertions.
650 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
652 * lstrings.C (strip): Add a fix for compilers with broken
653 string::find_last_not_of.
655 * filetools.C (AddPath): Simplify by using strip and frontStrip.
657 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
659 * lyxstring.C (rfind): Fix broken functions.
660 (find): Few optimizations.