1 2002-06-07 Angus Leeming <leeming@lyx.org>
3 Fixes needed to compile with Compaq cxx 6.5.
4 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
5 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
6 more than one instance of overloaded function "lyx::class_fun" matches
16 all c-library variables have been moved into namespace std.
17 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
19 * kill.C: rename signal.h as csignal.
21 * putenv.C: rename stdlib.h as cstdlib
23 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
25 * lxtl.h: remove unused file
27 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
34 * StrPool.C: remove unused files
44 * types.h: document and small cleanups
46 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
48 * switch from SigC signals to boost::signals.
50 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
53 * limited_stack.h: new template for limited-size
56 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
58 * filetools.C: do not include LSubstring.h
60 * lstrings.C: change include order
61 (regexMatch): use boost regex get rid of LRegex and LSubstring
63 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
66 * LSubstring.h: remove file
73 2002-05-24 Juergen Vigna <jug@sad.it>
75 * lyxsum.C: include local includes first (self containment)
77 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * forkedcall.h: use more specific smart_ptr header.
81 * lyxsum.C: move some using declarations around.
83 2002-05-03 Herbert Voss <voss@perce.de>
85 * filetools.C (getExtFromContents): only print the first 60 chars of
86 the scanned-string when debugging.
88 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * lyxstring.C: close to typo fix.
92 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
94 * filetools.C: add a using std::getline directive.
96 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
98 * lyxstring.C (operator>>): try a new version of the operator>>
100 2002-04-14 Herbert Voss <voss@perce.de>
102 * lstrings.[Ch]: move the getVectorFromString and the vice versa
103 from frontends/controllers/helper_funcs for better use in other
106 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
108 * tempname.C (make_tempfile): simplify the #ifdef block by using
109 #if defined and re-write the #warning as a #error because it's terminal.
111 2002-04-08 Herbert Voss <voss@perce.de>
113 * filetools.C (getExtFromContents): get tgif run
115 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
117 * filetools.C (getExtFromContents): re-format a little and remove
118 replicated "sgi" entry.
120 2002-04-07 Herbert Voss <voss@perce.de>
122 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
123 for the lyx-view in graphics (moved from ControlGraphics)
125 2002-04-07 Herbert Voss <voss@perce.de>
127 * filetools.C: fix bug for eps. scans now a whole line
129 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
131 * lyxstring.C (operator>>): use the better solution, this fixes a
132 "not able to read '\0'" bug.
134 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * translator.h: add missing typename
138 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
140 * filetools.C (LibScriptSearch): new command. Searches for scripts
141 in lyx data directories.
142 (LibScriptSearch): try to use split() correctly.
144 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * most files: ws cleanup
148 * Makefile.am: remove ld -r stuff
150 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
152 * Makefile.am (libsupport.la): special rules if partial linking
154 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
156 * forkedcontr.C: turn the timer off when their are no longer any
157 child processes running.
159 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * forkedcall.h: docy fix
162 change SignalType second type to be const ref.
164 * forkedcall.C: doxy fix
166 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
168 * lyxsum.C: compilation fix
170 2002-03-02 Herbert Voss <voss@perce.de>
172 * filetools.C: fix bug for xbm format and added some more debug
175 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * forkedcontr.h: make constructor public
179 * types.h: remove layout_type
181 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
183 * filetools.C (getExtFromContents): cleanup.
185 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
187 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
189 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
190 building outside of source tree.
192 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
195 * forkedcontr.[Ch]: new files. Asger's forked call controller is
196 re-born, with a working timer and a modified interface. The
197 startscript method is now passed a Signal rather than a pointer
198 to a callback function. This enables us to connect to the method of
199 a C++ class, if we so desire.
201 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
203 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
208 * nt_defines.h: moved from src/
210 2002-02-23 Herbert Voss <voss@perce.de>
212 * filetools.C: added more graphic formats
214 2002-02-18 Herbert Voss <voss@perce.de>
216 * filetools.C: (getExtFromContents) return the fileextension
217 if no format is detected.
219 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
221 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
222 as class SystemCall because one Systemcall instance represents a
223 single child process.
226 * Makefile.am: associated changes.
228 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
230 * syscall.C (Systemcalls): include <cstdlib>
232 2002-02-08 Herbert Voss <voss@perce.de>
234 * filetools.C: (getExtFromContents) adding Grace-format
237 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
240 * syssingleton.C: files removed.
242 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
243 uses it. Strip down the Systemcalls interface to make it brutally
244 obvious how unsophisticated it is.
246 2002-02-08 Herbert Voss <voss@perce.de>
248 * filetools.C: (getExtFromContents) adding TGIF-format
249 and return type "user" when no type is detected
251 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
255 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
257 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
259 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
261 * FileInfo.h: remove special cygwin code.
263 * filetools.C (do_popen): use os::read_mode().
265 * os_win32.C (read_mode):
266 * os_os2.C (read_mode):
267 * os_unix.C (read_mode): new method
269 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
270 Hentschel). This code should maybe be moved to os:: class.
272 2002-02-08 Herbert Voss <voss@perce.de>
274 * filetools.C: (unzipFile) fix typo
276 2002-02-06 Herbert Voss <voss@perce.de>
278 * filetools.[Ch]: fix some bugs for detecting zipped files
281 2002-02-04 Herbert Voss <voss@perce.de>
283 * filetools.[Ch]: add ifZippedFile() for zipped
286 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
288 * filetools.C (FileOpenSearch): remove duplicated line, probably
289 resulting from bad cut-and paste.
291 2002-01-31 Herbert Voss <voss@perce.de>
293 * filetools.[Ch]: add getExtFromContents(), which returns
294 the type of the (graphic) file
296 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
298 * copy.C (copy): open file in binary mode (for cygwin)
300 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
302 * lyxsum.C: remove #warnings and replaced them with runtime debug
305 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
307 * lyxalgo.h: include <algorithm>
309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
311 * lyx_algo.h: add a standard-conforming count to namespace lyx.
313 * lstrings.[Ch] (countChar): removed. Use lyx::count.
315 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
317 * filetools.C: fix use of FileInfo
320 * FileInfo.C: add Asserts and documentation
322 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
324 * os_win32.C: compilation fixes
326 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
328 * lstrings.h: do not include <cctype>
330 2001-12-12 Ben Stanley <bds02@uow.edu.au>
332 * lyxsum.C: portability fix for mmap patch
334 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
338 * lyxstring.C: change "while(" to "while ("
340 2001-12-03 Ben Stanley <bds02@uow.edu.au>
342 * lyxsum.C: Added mmap version of CRC and made it selected
343 by default where available. Used process_block for crc for speedup.
345 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
347 * filetools.C: more robust failure for DirList()
349 2001-11-29 André Pönitz <poenitz@gmx.net>
351 * types.h: introduce types for textclass numbers and layout numbers
353 2001-11-28 André Pönitz <poenitz@gmx.net>
355 * Makefile.am: put types.h in
357 2001-11-26 André Pönitz <poenitz@gmx.net>
359 * types.h: introduce types for paragraph positions and layout numbers
361 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
363 * filetools.C: remove dead code
365 * syscall.C: show prog in fail case
367 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
369 * filetools.C: code style cleanup
371 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
373 * os.h: remove spurious punctuation.
375 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
378 * LAssert.C: use new emergencyCleanup()
380 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
382 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
383 like GNU gettext does.
385 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
389 (findtexfile): oops! the change from last friday was wrong...
391 * os_win32.C (is_absolute_path):
392 * os_unix.C (is_absolute_path):
393 * os_os2.C (is_absolute_path): new method
395 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
397 * filetools.C (findtexfile): apply os::internal_path to the result.
399 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
404 * os.h: add internal_path method, which converts a unix-type file
405 name to the type known to the underlying file system (currently
406 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
408 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
410 * smart_ptr.h: new file
412 * utility.h: new file
414 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
417 * filetools.C (IsDirWriteable): fix this
419 2001-07-26 Baruch Even <baruch@lyx.org>
421 * lyxlib.h (float_equal): Added function to compare floats almost equal
422 (see function comment).
424 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
426 Consistent use of Lsstream.h:
427 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
429 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
431 * translator.h: (*it). -> it->
433 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
435 * filetools.C (DeleteAllFilesInDir): send debug output to
436 Debug::FILES instewad of Debug::ANY.
438 * DebugStream.h: remove gcc 2.8.x hack.
440 2001-06-26 The LyX Project <jug@sad.it>
443 * lstrings.C (escape): move method to escape non ascii characters
444 from insets label and ref to here.
446 2001-06-25 The LyX Project <jug@sad.it>
448 * filetools.C (IsLyXFilename):
449 (IsSGMLFilename): do case insensitive name matching
451 2001-06-24 The LyX Project <jug@sad.it>
453 * lstrings.C (compare_ascii_no_case): version of compare_no_case
454 which only considers case of ascii characters
456 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
459 2001-06-23 The LyX Project <jug@sad.it>
461 * textutils.h (IsPrintable): take into account unprintable spaces
463 (IsDigit): new function
464 (IsLetterCharOrDigit): use IsDigit
466 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
468 * filetools.C (findtexfile): strip final \r if necessary (for
471 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
474 * StrPool.C: removed // -*- C++ -*- as first line.
476 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * lyxsum.C (do_crc): switch to use boost::crc for generating the
481 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
486 * LSubstring.C: bring C functions in global namespace if
489 * lstrings.h (compare): use the std:: version of str[n]cmp only
492 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
494 * syscontr.C: add std::
496 * syscall.C: add std::
498 * lstrings.h (compare): add std::
500 * lstrings.C (prefixIs): add std::
504 * LSubstring.C (LSubstring): add std::
506 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
508 * lyxsum.C (sum): use istreambuf_iterator when available.
510 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
515 * lyxstring.C (operator): make const operator[] behave as
518 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
520 * Makefile.am (EXTRA_DIST): add the os_*.C files.
522 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
524 * filetools.C (MakeAbsPath): remove debugging statement
526 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
528 * FileInfo.h: X_OK workaround for cygwin
537 * filetools.h: Added os:: class.
541 * tempname.C: OS/2 fixes
543 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
545 * textutils.h: remvoe !NEW_INSETS cruft
547 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
550 * atoi.C: add using directives when needed for C functions
551 declared in std:: namespace.
553 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
555 * lstrings.C : add two helper structs, local_lowercase and
557 (lowercase): change to use std::transform
558 (uppercase): change to use std::transform
560 2001-04-25 Allan Rae <rae@lyx.org>
562 * lyxstring.C : Assert got moved and Lars missed a few.
564 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
566 * LAssert.h (Assert): put into namespace lyx
568 * lyxfunctional.h: put into namespace lyx
569 * translator.h: adjust
571 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
573 * lyxalgo.h: put into namespace lyx, add firster and copy_if
575 * FileInfo.h: inherit privately from noncopyable
578 2001-04-16 Allan Rae <rae@lyx.org>
580 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
581 as an unrecognised preprocessor directive. So ensure they're wrapped.
583 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
585 * several files: remove CXX_WORKING_NAMESPACES
587 * FileInfo.h: noncopyable is in namespace boost
590 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
592 * syscontr.h: fix header include
594 2001-02-28 Baruch Even <baruch@ev-en.org>
596 * filetools.C: Removed dependency on syscall.h
599 * syscall.C: Minor cleanings before I start to touch this code.
601 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
603 * filetools.C (CreateTmpDir): change umask to 0700.
605 2001-02-27 José Matos <jamatos@fep.up.pt>
607 * filetools.h (BasePath):
608 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
610 * filetools.C (IsLyXFilename):
611 * filetools.C (IsSGMLFilename): test if extension is suffix and not
614 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
618 * atoi.C: remove cruft
620 2001-02-06 albert chin <china@thewrittenword.com>
623 * fmt.C: use HAVE_DECL_SNPRINTF
625 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
627 * lyxstring.C: Fix some assertions.
629 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
631 * lstrings.C (strip): Add a fix for compilers with broken
632 string::find_last_not_of.
634 * filetools.C (AddPath): Simplify by using strip and frontStrip.
636 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
638 * lyxstring.C (rfind): Fix broken functions.
639 (find): Few optimizations.