1 2002-06-17 Herbert Voss <voss@perce.de>
3 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
4 (readBB_lyxerrMessage) to get better lyxerr messages
5 (getExtFromContents) test epsi files in the right way
7 * DestroxLyXTmpDir.C: changed to true, to delete the
8 temporary unzipped files, too.
10 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * putenv.C (putenv): putenv should never be found in std::
14 * kill.C (kill): kill should never be found in std::
16 * filetools.C: pclose and popen should never be found in std::
18 2002-06-07 Angus Leeming <leeming@lyx.org>
20 Fixes needed to compile with Compaq cxx 6.5.
21 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
22 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
23 more than one instance of overloaded function "lyx::class_fun" matches
33 all c-library variables have been moved into namespace std.
34 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
36 * kill.C: rename signal.h as csignal.
38 * putenv.C: rename stdlib.h as cstdlib
40 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
42 * lxtl.h: remove unused file
44 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
51 * StrPool.C: remove unused files
61 * types.h: document and small cleanups
63 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * switch from SigC signals to boost::signals.
67 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
70 * limited_stack.h: new template for limited-size
73 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * filetools.C: do not include LSubstring.h
77 * lstrings.C: change include order
78 (regexMatch): use boost regex get rid of LRegex and LSubstring
80 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
83 * LSubstring.h: remove file
90 2002-05-24 Juergen Vigna <jug@sad.it>
92 * lyxsum.C: include local includes first (self containment)
94 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
96 * forkedcall.h: use more specific smart_ptr header.
98 * lyxsum.C: move some using declarations around.
100 2002-05-03 Herbert Voss <voss@perce.de>
102 * filetools.C (getExtFromContents): only print the first 60 chars of
103 the scanned-string when debugging.
105 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
107 * lyxstring.C: close to typo fix.
109 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
111 * filetools.C: add a using std::getline directive.
113 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * lyxstring.C (operator>>): try a new version of the operator>>
117 2002-04-14 Herbert Voss <voss@perce.de>
119 * lstrings.[Ch]: move the getVectorFromString and the vice versa
120 from frontends/controllers/helper_funcs for better use in other
123 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
125 * tempname.C (make_tempfile): simplify the #ifdef block by using
126 #if defined and re-write the #warning as a #error because it's terminal.
128 2002-04-08 Herbert Voss <voss@perce.de>
130 * filetools.C (getExtFromContents): get tgif run
132 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
134 * filetools.C (getExtFromContents): re-format a little and remove
135 replicated "sgi" entry.
137 2002-04-07 Herbert Voss <voss@perce.de>
139 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
140 for the lyx-view in graphics (moved from ControlGraphics)
142 2002-04-07 Herbert Voss <voss@perce.de>
144 * filetools.C: fix bug for eps. scans now a whole line
146 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
148 * lyxstring.C (operator>>): use the better solution, this fixes a
149 "not able to read '\0'" bug.
151 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
153 * translator.h: add missing typename
155 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
157 * filetools.C (LibScriptSearch): new command. Searches for scripts
158 in lyx data directories.
159 (LibScriptSearch): try to use split() correctly.
161 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
163 * most files: ws cleanup
165 * Makefile.am: remove ld -r stuff
167 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
169 * Makefile.am (libsupport.la): special rules if partial linking
171 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
173 * forkedcontr.C: turn the timer off when their are no longer any
174 child processes running.
176 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * forkedcall.h: docy fix
179 change SignalType second type to be const ref.
181 * forkedcall.C: doxy fix
183 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
185 * lyxsum.C: compilation fix
187 2002-03-02 Herbert Voss <voss@perce.de>
189 * filetools.C: fix bug for xbm format and added some more debug
192 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * forkedcontr.h: make constructor public
196 * types.h: remove layout_type
198 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
200 * filetools.C (getExtFromContents): cleanup.
202 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
204 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
206 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
207 building outside of source tree.
209 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
212 * forkedcontr.[Ch]: new files. Asger's forked call controller is
213 re-born, with a working timer and a modified interface. The
214 startscript method is now passed a Signal rather than a pointer
215 to a callback function. This enables us to connect to the method of
216 a C++ class, if we so desire.
218 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
220 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
225 * nt_defines.h: moved from src/
227 2002-02-23 Herbert Voss <voss@perce.de>
229 * filetools.C: added more graphic formats
231 2002-02-18 Herbert Voss <voss@perce.de>
233 * filetools.C: (getExtFromContents) return the fileextension
234 if no format is detected.
236 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
238 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
239 as class SystemCall because one Systemcall instance represents a
240 single child process.
243 * Makefile.am: associated changes.
245 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * syscall.C (Systemcalls): include <cstdlib>
249 2002-02-08 Herbert Voss <voss@perce.de>
251 * filetools.C: (getExtFromContents) adding Grace-format
254 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
257 * syssingleton.C: files removed.
259 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
260 uses it. Strip down the Systemcalls interface to make it brutally
261 obvious how unsophisticated it is.
263 2002-02-08 Herbert Voss <voss@perce.de>
265 * filetools.C: (getExtFromContents) adding TGIF-format
266 and return type "user" when no type is detected
268 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
270 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
272 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
274 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
276 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
278 * FileInfo.h: remove special cygwin code.
280 * filetools.C (do_popen): use os::read_mode().
282 * os_win32.C (read_mode):
283 * os_os2.C (read_mode):
284 * os_unix.C (read_mode): new method
286 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
287 Hentschel). This code should maybe be moved to os:: class.
289 2002-02-08 Herbert Voss <voss@perce.de>
291 * filetools.C: (unzipFile) fix typo
293 2002-02-06 Herbert Voss <voss@perce.de>
295 * filetools.[Ch]: fix some bugs for detecting zipped files
298 2002-02-04 Herbert Voss <voss@perce.de>
300 * filetools.[Ch]: add ifZippedFile() for zipped
303 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
305 * filetools.C (FileOpenSearch): remove duplicated line, probably
306 resulting from bad cut-and paste.
308 2002-01-31 Herbert Voss <voss@perce.de>
310 * filetools.[Ch]: add getExtFromContents(), which returns
311 the type of the (graphic) file
313 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
315 * copy.C (copy): open file in binary mode (for cygwin)
317 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * lyxsum.C: remove #warnings and replaced them with runtime debug
322 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
324 * lyxalgo.h: include <algorithm>
326 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
328 * lyx_algo.h: add a standard-conforming count to namespace lyx.
330 * lstrings.[Ch] (countChar): removed. Use lyx::count.
332 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
334 * filetools.C: fix use of FileInfo
337 * FileInfo.C: add Asserts and documentation
339 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
341 * os_win32.C: compilation fixes
343 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
345 * lstrings.h: do not include <cctype>
347 2001-12-12 Ben Stanley <bds02@uow.edu.au>
349 * lyxsum.C: portability fix for mmap patch
351 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * lyxstring.C: change "while(" to "while ("
357 2001-12-03 Ben Stanley <bds02@uow.edu.au>
359 * lyxsum.C: Added mmap version of CRC and made it selected
360 by default where available. Used process_block for crc for speedup.
362 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
364 * filetools.C: more robust failure for DirList()
366 2001-11-29 André Pönitz <poenitz@gmx.net>
368 * types.h: introduce types for textclass numbers and layout numbers
370 2001-11-28 André Pönitz <poenitz@gmx.net>
372 * Makefile.am: put types.h in
374 2001-11-26 André Pönitz <poenitz@gmx.net>
376 * types.h: introduce types for paragraph positions and layout numbers
378 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
380 * filetools.C: remove dead code
382 * syscall.C: show prog in fail case
384 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
386 * filetools.C: code style cleanup
388 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
390 * os.h: remove spurious punctuation.
392 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
395 * LAssert.C: use new emergencyCleanup()
397 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
400 like GNU gettext does.
402 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
404 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
406 (findtexfile): oops! the change from last friday was wrong...
408 * os_win32.C (is_absolute_path):
409 * os_unix.C (is_absolute_path):
410 * os_os2.C (is_absolute_path): new method
412 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
414 * filetools.C (findtexfile): apply os::internal_path to the result.
416 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
421 * os.h: add internal_path method, which converts a unix-type file
422 name to the type known to the underlying file system (currently
423 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
425 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
427 * smart_ptr.h: new file
429 * utility.h: new file
431 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
434 * filetools.C (IsDirWriteable): fix this
436 2001-07-26 Baruch Even <baruch@lyx.org>
438 * lyxlib.h (float_equal): Added function to compare floats almost equal
439 (see function comment).
441 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
443 Consistent use of Lsstream.h:
444 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
446 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * translator.h: (*it). -> it->
450 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
452 * filetools.C (DeleteAllFilesInDir): send debug output to
453 Debug::FILES instewad of Debug::ANY.
455 * DebugStream.h: remove gcc 2.8.x hack.
457 2001-06-26 The LyX Project <jug@sad.it>
460 * lstrings.C (escape): move method to escape non ascii characters
461 from insets label and ref to here.
463 2001-06-25 The LyX Project <jug@sad.it>
465 * filetools.C (IsLyXFilename):
466 (IsSGMLFilename): do case insensitive name matching
468 2001-06-24 The LyX Project <jug@sad.it>
470 * lstrings.C (compare_ascii_no_case): version of compare_no_case
471 which only considers case of ascii characters
473 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
476 2001-06-23 The LyX Project <jug@sad.it>
478 * textutils.h (IsPrintable): take into account unprintable spaces
480 (IsDigit): new function
481 (IsLetterCharOrDigit): use IsDigit
483 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
485 * filetools.C (findtexfile): strip final \r if necessary (for
488 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
491 * StrPool.C: removed // -*- C++ -*- as first line.
493 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
495 * lyxsum.C (do_crc): switch to use boost::crc for generating the
498 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
503 * LSubstring.C: bring C functions in global namespace if
506 * lstrings.h (compare): use the std:: version of str[n]cmp only
509 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
511 * syscontr.C: add std::
513 * syscall.C: add std::
515 * lstrings.h (compare): add std::
517 * lstrings.C (prefixIs): add std::
521 * LSubstring.C (LSubstring): add std::
523 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * lyxsum.C (sum): use istreambuf_iterator when available.
527 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
532 * lyxstring.C (operator): make const operator[] behave as
535 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * Makefile.am (EXTRA_DIST): add the os_*.C files.
539 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
541 * filetools.C (MakeAbsPath): remove debugging statement
543 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
545 * FileInfo.h: X_OK workaround for cygwin
554 * filetools.h: Added os:: class.
558 * tempname.C: OS/2 fixes
560 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
562 * textutils.h: remvoe !NEW_INSETS cruft
564 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * atoi.C: add using directives when needed for C functions
568 declared in std:: namespace.
570 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
572 * lstrings.C : add two helper structs, local_lowercase and
574 (lowercase): change to use std::transform
575 (uppercase): change to use std::transform
577 2001-04-25 Allan Rae <rae@lyx.org>
579 * lyxstring.C : Assert got moved and Lars missed a few.
581 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
583 * LAssert.h (Assert): put into namespace lyx
585 * lyxfunctional.h: put into namespace lyx
586 * translator.h: adjust
588 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
590 * lyxalgo.h: put into namespace lyx, add firster and copy_if
592 * FileInfo.h: inherit privately from noncopyable
595 2001-04-16 Allan Rae <rae@lyx.org>
597 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
598 as an unrecognised preprocessor directive. So ensure they're wrapped.
600 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
602 * several files: remove CXX_WORKING_NAMESPACES
604 * FileInfo.h: noncopyable is in namespace boost
607 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
609 * syscontr.h: fix header include
611 2001-02-28 Baruch Even <baruch@ev-en.org>
613 * filetools.C: Removed dependency on syscall.h
616 * syscall.C: Minor cleanings before I start to touch this code.
618 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
620 * filetools.C (CreateTmpDir): change umask to 0700.
622 2001-02-27 José Matos <jamatos@fep.up.pt>
624 * filetools.h (BasePath):
625 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
627 * filetools.C (IsLyXFilename):
628 * filetools.C (IsSGMLFilename): test if extension is suffix and not
631 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
635 * atoi.C: remove cruft
637 2001-02-06 albert chin <china@thewrittenword.com>
640 * fmt.C: use HAVE_DECL_SNPRINTF
642 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
644 * lyxstring.C: Fix some assertions.
646 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
648 * lstrings.C (strip): Add a fix for compilers with broken
649 string::find_last_not_of.
651 * filetools.C (AddPath): Simplify by using strip and frontStrip.
653 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
655 * lyxstring.C (rfind): Fix broken functions.
656 (find): Few optimizations.