1 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * filetools.C (IsLyXFilename):
4 (IsSGMLFilename): use ascii_lowercase instead of lowercase
6 * lstrings.[Ch] (ascii_lowercase): new function
8 2002-07-16 André Pönitz <poenitz@gmx.net>
10 * FileInfo.Ch: remove unneeded code
12 2002-06-20 Herbert Voss <voss@perce.de>
14 * filetools.[C]: (readExtFromContents) add support for
17 2002-06-26 André Pönitz <poenitz@gmx.net>
19 * filetools.[Ch]: small whitespace, more compact 'return' statement
21 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
23 * lyxalgo.h: add eliminate_duplicates
25 2002-06-17 Herbert Voss <voss@perce.de>
27 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
28 (readBB_lyxerrMessage) to get better lyxerr messages
29 (getExtFromContents) test epsi files in the right way
31 * DestroxLyXTmpDir.C: changed to true, to delete the
32 temporary unzipped files, too.
34 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * putenv.C (putenv): putenv should never be found in std::
38 * kill.C (kill): kill should never be found in std::
40 * filetools.C: pclose and popen should never be found in std::
42 2002-06-07 Angus Leeming <leeming@lyx.org>
44 Fixes needed to compile with Compaq cxx 6.5.
45 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
46 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
47 more than one instance of overloaded function "lyx::class_fun" matches
57 all c-library variables have been moved into namespace std.
58 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
60 * kill.C: rename signal.h as csignal.
62 * putenv.C: rename stdlib.h as cstdlib
64 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
66 * lxtl.h: remove unused file
68 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
75 * StrPool.C: remove unused files
85 * types.h: document and small cleanups
87 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
89 * switch from SigC signals to boost::signals.
91 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
94 * limited_stack.h: new template for limited-size
97 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * filetools.C: do not include LSubstring.h
101 * lstrings.C: change include order
102 (regexMatch): use boost regex get rid of LRegex and LSubstring
104 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
107 * LSubstring.h: remove file
112 * LSubstring.C: ditto
114 2002-05-24 Juergen Vigna <jug@sad.it>
116 * lyxsum.C: include local includes first (self containment)
118 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * forkedcall.h: use more specific smart_ptr header.
122 * lyxsum.C: move some using declarations around.
124 2002-05-03 Herbert Voss <voss@perce.de>
126 * filetools.C (getExtFromContents): only print the first 60 chars of
127 the scanned-string when debugging.
129 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
131 * lyxstring.C: close to typo fix.
133 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
135 * filetools.C: add a using std::getline directive.
137 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
139 * lyxstring.C (operator>>): try a new version of the operator>>
141 2002-04-14 Herbert Voss <voss@perce.de>
143 * lstrings.[Ch]: move the getVectorFromString and the vice versa
144 from frontends/controllers/helper_funcs for better use in other
147 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
149 * tempname.C (make_tempfile): simplify the #ifdef block by using
150 #if defined and re-write the #warning as a #error because it's terminal.
152 2002-04-08 Herbert Voss <voss@perce.de>
154 * filetools.C (getExtFromContents): get tgif run
156 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
158 * filetools.C (getExtFromContents): re-format a little and remove
159 replicated "sgi" entry.
161 2002-04-07 Herbert Voss <voss@perce.de>
163 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
164 for the lyx-view in graphics (moved from ControlGraphics)
166 2002-04-07 Herbert Voss <voss@perce.de>
168 * filetools.C: fix bug for eps. scans now a whole line
170 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
172 * lyxstring.C (operator>>): use the better solution, this fixes a
173 "not able to read '\0'" bug.
175 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * translator.h: add missing typename
179 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * filetools.C (LibScriptSearch): new command. Searches for scripts
182 in lyx data directories.
183 (LibScriptSearch): try to use split() correctly.
185 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
187 * most files: ws cleanup
189 * Makefile.am: remove ld -r stuff
191 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
193 * Makefile.am (libsupport.la): special rules if partial linking
195 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
197 * forkedcontr.C: turn the timer off when their are no longer any
198 child processes running.
200 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
202 * forkedcall.h: docy fix
203 change SignalType second type to be const ref.
205 * forkedcall.C: doxy fix
207 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
209 * lyxsum.C: compilation fix
211 2002-03-02 Herbert Voss <voss@perce.de>
213 * filetools.C: fix bug for xbm format and added some more debug
216 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * forkedcontr.h: make constructor public
220 * types.h: remove layout_type
222 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
224 * filetools.C (getExtFromContents): cleanup.
226 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
228 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
230 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
231 building outside of source tree.
233 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
236 * forkedcontr.[Ch]: new files. Asger's forked call controller is
237 re-born, with a working timer and a modified interface. The
238 startscript method is now passed a Signal rather than a pointer
239 to a callback function. This enables us to connect to the method of
240 a C++ class, if we so desire.
242 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
244 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
249 * nt_defines.h: moved from src/
251 2002-02-23 Herbert Voss <voss@perce.de>
253 * filetools.C: added more graphic formats
255 2002-02-18 Herbert Voss <voss@perce.de>
257 * filetools.C: (getExtFromContents) return the fileextension
258 if no format is detected.
260 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
262 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
263 as class SystemCall because one Systemcall instance represents a
264 single child process.
267 * Makefile.am: associated changes.
269 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
271 * syscall.C (Systemcalls): include <cstdlib>
273 2002-02-08 Herbert Voss <voss@perce.de>
275 * filetools.C: (getExtFromContents) adding Grace-format
278 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
281 * syssingleton.C: files removed.
283 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
284 uses it. Strip down the Systemcalls interface to make it brutally
285 obvious how unsophisticated it is.
287 2002-02-08 Herbert Voss <voss@perce.de>
289 * filetools.C: (getExtFromContents) adding TGIF-format
290 and return type "user" when no type is detected
292 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
294 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
296 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
298 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
300 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
302 * FileInfo.h: remove special cygwin code.
304 * filetools.C (do_popen): use os::read_mode().
306 * os_win32.C (read_mode):
307 * os_os2.C (read_mode):
308 * os_unix.C (read_mode): new method
310 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
311 Hentschel). This code should maybe be moved to os:: class.
313 2002-02-08 Herbert Voss <voss@perce.de>
315 * filetools.C: (unzipFile) fix typo
317 2002-02-06 Herbert Voss <voss@perce.de>
319 * filetools.[Ch]: fix some bugs for detecting zipped files
322 2002-02-04 Herbert Voss <voss@perce.de>
324 * filetools.[Ch]: add ifZippedFile() for zipped
327 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
329 * filetools.C (FileOpenSearch): remove duplicated line, probably
330 resulting from bad cut-and paste.
332 2002-01-31 Herbert Voss <voss@perce.de>
334 * filetools.[Ch]: add getExtFromContents(), which returns
335 the type of the (graphic) file
337 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
339 * copy.C (copy): open file in binary mode (for cygwin)
341 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
343 * lyxsum.C: remove #warnings and replaced them with runtime debug
346 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
348 * lyxalgo.h: include <algorithm>
350 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
352 * lyx_algo.h: add a standard-conforming count to namespace lyx.
354 * lstrings.[Ch] (countChar): removed. Use lyx::count.
356 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
358 * filetools.C: fix use of FileInfo
361 * FileInfo.C: add Asserts and documentation
363 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
365 * os_win32.C: compilation fixes
367 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
369 * lstrings.h: do not include <cctype>
371 2001-12-12 Ben Stanley <bds02@uow.edu.au>
373 * lyxsum.C: portability fix for mmap patch
375 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * lyxstring.C: change "while(" to "while ("
381 2001-12-03 Ben Stanley <bds02@uow.edu.au>
383 * lyxsum.C: Added mmap version of CRC and made it selected
384 by default where available. Used process_block for crc for speedup.
386 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
388 * filetools.C: more robust failure for DirList()
390 2001-11-29 André Pönitz <poenitz@gmx.net>
392 * types.h: introduce types for textclass numbers and layout numbers
394 2001-11-28 André Pönitz <poenitz@gmx.net>
396 * Makefile.am: put types.h in
398 2001-11-26 André Pönitz <poenitz@gmx.net>
400 * types.h: introduce types for paragraph positions and layout numbers
402 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
404 * filetools.C: remove dead code
406 * syscall.C: show prog in fail case
408 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
410 * filetools.C: code style cleanup
412 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
414 * os.h: remove spurious punctuation.
416 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
419 * LAssert.C: use new emergencyCleanup()
421 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
423 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
424 like GNU gettext does.
426 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
428 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
430 (findtexfile): oops! the change from last friday was wrong...
432 * os_win32.C (is_absolute_path):
433 * os_unix.C (is_absolute_path):
434 * os_os2.C (is_absolute_path): new method
436 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * filetools.C (findtexfile): apply os::internal_path to the result.
440 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
445 * os.h: add internal_path method, which converts a unix-type file
446 name to the type known to the underlying file system (currently
447 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
449 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
451 * smart_ptr.h: new file
453 * utility.h: new file
455 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
458 * filetools.C (IsDirWriteable): fix this
460 2001-07-26 Baruch Even <baruch@lyx.org>
462 * lyxlib.h (float_equal): Added function to compare floats almost equal
463 (see function comment).
465 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
467 Consistent use of Lsstream.h:
468 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
470 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * translator.h: (*it). -> it->
474 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
476 * filetools.C (DeleteAllFilesInDir): send debug output to
477 Debug::FILES instewad of Debug::ANY.
479 * DebugStream.h: remove gcc 2.8.x hack.
481 2001-06-26 The LyX Project <jug@sad.it>
484 * lstrings.C (escape): move method to escape non ascii characters
485 from insets label and ref to here.
487 2001-06-25 The LyX Project <jug@sad.it>
489 * filetools.C (IsLyXFilename):
490 (IsSGMLFilename): do case insensitive name matching
492 2001-06-24 The LyX Project <jug@sad.it>
494 * lstrings.C (compare_ascii_no_case): version of compare_no_case
495 which only considers case of ascii characters
497 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
500 2001-06-23 The LyX Project <jug@sad.it>
502 * textutils.h (IsPrintable): take into account unprintable spaces
504 (IsDigit): new function
505 (IsLetterCharOrDigit): use IsDigit
507 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * filetools.C (findtexfile): strip final \r if necessary (for
512 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
515 * StrPool.C: removed // -*- C++ -*- as first line.
517 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
519 * lyxsum.C (do_crc): switch to use boost::crc for generating the
522 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * LSubstring.C: bring C functions in global namespace if
530 * lstrings.h (compare): use the std:: version of str[n]cmp only
533 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
535 * syscontr.C: add std::
537 * syscall.C: add std::
539 * lstrings.h (compare): add std::
541 * lstrings.C (prefixIs): add std::
545 * LSubstring.C (LSubstring): add std::
547 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
549 * lyxsum.C (sum): use istreambuf_iterator when available.
551 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
553 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
556 * lyxstring.C (operator): make const operator[] behave as
559 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
561 * Makefile.am (EXTRA_DIST): add the os_*.C files.
563 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * filetools.C (MakeAbsPath): remove debugging statement
567 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
569 * FileInfo.h: X_OK workaround for cygwin
578 * filetools.h: Added os:: class.
582 * tempname.C: OS/2 fixes
584 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * textutils.h: remvoe !NEW_INSETS cruft
588 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
591 * atoi.C: add using directives when needed for C functions
592 declared in std:: namespace.
594 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * lstrings.C : add two helper structs, local_lowercase and
598 (lowercase): change to use std::transform
599 (uppercase): change to use std::transform
601 2001-04-25 Allan Rae <rae@lyx.org>
603 * lyxstring.C : Assert got moved and Lars missed a few.
605 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
607 * LAssert.h (Assert): put into namespace lyx
609 * lyxfunctional.h: put into namespace lyx
610 * translator.h: adjust
612 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
614 * lyxalgo.h: put into namespace lyx, add firster and copy_if
616 * FileInfo.h: inherit privately from noncopyable
619 2001-04-16 Allan Rae <rae@lyx.org>
621 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
622 as an unrecognised preprocessor directive. So ensure they're wrapped.
624 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
626 * several files: remove CXX_WORKING_NAMESPACES
628 * FileInfo.h: noncopyable is in namespace boost
631 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
633 * syscontr.h: fix header include
635 2001-02-28 Baruch Even <baruch@ev-en.org>
637 * filetools.C: Removed dependency on syscall.h
640 * syscall.C: Minor cleanings before I start to touch this code.
642 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
644 * filetools.C (CreateTmpDir): change umask to 0700.
646 2001-02-27 José Matos <jamatos@fep.up.pt>
648 * filetools.h (BasePath):
649 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
651 * filetools.C (IsLyXFilename):
652 * filetools.C (IsSGMLFilename): test if extension is suffix and not
655 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
659 * atoi.C: remove cruft
661 2001-02-06 albert chin <china@thewrittenword.com>
664 * fmt.C: use HAVE_DECL_SNPRINTF
666 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
668 * lyxstring.C: Fix some assertions.
670 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
672 * lstrings.C (strip): Add a fix for compilers with broken
673 string::find_last_not_of.
675 * filetools.C (AddPath): Simplify by using strip and frontStrip.
677 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
679 * lyxstring.C (rfind): Fix broken functions.
680 (find): Few optimizations.