1 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4 * limited_stack.h: new template for limited-size
7 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * filetools.C: do not include LSubstring.h
11 * lstrings.C: change include order
12 (regexMatch): use boost regex get rid of LRegex and LSubstring
14 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
17 * LSubstring.h: remove file
24 2002-05-24 Juergen Vigna <jug@sad.it>
26 * lyxsum.C: include local includes first (self containment)
28 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * forkedcall.h: use more specific smart_ptr header.
32 * lyxsum.C: move some using declarations around.
34 2002-05-03 Herbert Voss <voss@perce.de>
36 * filetools.C (getExtFromContents): only print the first 60 chars of
37 the scanned-string when debugging.
39 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * lyxstring.C: close to typo fix.
43 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
45 * filetools.C: add a using std::getline directive.
47 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * lyxstring.C (operator>>): try a new version of the operator>>
51 2002-04-14 Herbert Voss <voss@perce.de>
53 * lstrings.[Ch]: move the getVectorFromString and the vice versa
54 from frontends/controllers/helper_funcs for better use in other
57 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
59 * tempname.C (make_tempfile): simplify the #ifdef block by using
60 #if defined and re-write the #warning as a #error because it's terminal.
62 2002-04-08 Herbert Voss <voss@perce.de>
64 * filetools.C (getExtFromContents): get tgif run
66 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
68 * filetools.C (getExtFromContents): re-format a little and remove
69 replicated "sgi" entry.
71 2002-04-07 Herbert Voss <voss@perce.de>
73 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
74 for the lyx-view in graphics (moved from ControlGraphics)
76 2002-04-07 Herbert Voss <voss@perce.de>
78 * filetools.C: fix bug for eps. scans now a whole line
80 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * lyxstring.C (operator>>): use the better solution, this fixes a
83 "not able to read '\0'" bug.
85 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
87 * translator.h: add missing typename
89 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * filetools.C (LibScriptSearch): new command. Searches for scripts
92 in lyx data directories.
93 (LibScriptSearch): try to use split() correctly.
95 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
97 * most files: ws cleanup
99 * Makefile.am: remove ld -r stuff
101 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * Makefile.am (libsupport.la): special rules if partial linking
105 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
107 * forkedcontr.C: turn the timer off when their are no longer any
108 child processes running.
110 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
112 * forkedcall.h: docy fix
113 change SignalType second type to be const ref.
115 * forkedcall.C: doxy fix
117 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
119 * lyxsum.C: compilation fix
121 2002-03-02 Herbert Voss <voss@perce.de>
123 * filetools.C: fix bug for xbm format and added some more debug
126 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * forkedcontr.h: make constructor public
130 * types.h: remove layout_type
132 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
134 * filetools.C (getExtFromContents): cleanup.
136 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
138 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
140 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
141 building outside of source tree.
143 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
146 * forkedcontr.[Ch]: new files. Asger's forked call controller is
147 re-born, with a working timer and a modified interface. The
148 startscript method is now passed a Signal rather than a pointer
149 to a callback function. This enables us to connect to the method of
150 a C++ class, if we so desire.
152 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
154 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
159 * nt_defines.h: moved from src/
161 2002-02-23 Herbert Voss <voss@perce.de>
163 * filetools.C: added more graphic formats
165 2002-02-18 Herbert Voss <voss@perce.de>
167 * filetools.C: (getExtFromContents) return the fileextension
168 if no format is detected.
170 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
172 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
173 as class SystemCall because one Systemcall instance represents a
174 single child process.
177 * Makefile.am: associated changes.
179 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * syscall.C (Systemcalls): include <cstdlib>
183 2002-02-08 Herbert Voss <voss@perce.de>
185 * filetools.C: (getExtFromContents) adding Grace-format
188 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
191 * syssingleton.C: files removed.
193 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
194 uses it. Strip down the Systemcalls interface to make it brutally
195 obvious how unsophisticated it is.
197 2002-02-08 Herbert Voss <voss@perce.de>
199 * filetools.C: (getExtFromContents) adding TGIF-format
200 and return type "user" when no type is detected
202 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
204 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
206 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
208 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
210 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * FileInfo.h: remove special cygwin code.
214 * filetools.C (do_popen): use os::read_mode().
216 * os_win32.C (read_mode):
217 * os_os2.C (read_mode):
218 * os_unix.C (read_mode): new method
220 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
221 Hentschel). This code should maybe be moved to os:: class.
223 2002-02-08 Herbert Voss <voss@perce.de>
225 * filetools.C: (unzipFile) fix typo
227 2002-02-06 Herbert Voss <voss@perce.de>
229 * filetools.[Ch]: fix some bugs for detecting zipped files
232 2002-02-04 Herbert Voss <voss@perce.de>
234 * filetools.[Ch]: add ifZippedFile() for zipped
237 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
239 * filetools.C (FileOpenSearch): remove duplicated line, probably
240 resulting from bad cut-and paste.
242 2002-01-31 Herbert Voss <voss@perce.de>
244 * filetools.[Ch]: add getExtFromContents(), which returns
245 the type of the (graphic) file
247 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
249 * copy.C (copy): open file in binary mode (for cygwin)
251 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * lyxsum.C: remove #warnings and replaced them with runtime debug
256 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * lyxalgo.h: include <algorithm>
260 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
262 * lyx_algo.h: add a standard-conforming count to namespace lyx.
264 * lstrings.[Ch] (countChar): removed. Use lyx::count.
266 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
268 * filetools.C: fix use of FileInfo
271 * FileInfo.C: add Asserts and documentation
273 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
275 * os_win32.C: compilation fixes
277 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
279 * lstrings.h: do not include <cctype>
281 2001-12-12 Ben Stanley <bds02@uow.edu.au>
283 * lyxsum.C: portability fix for mmap patch
285 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
289 * lyxstring.C: change "while(" to "while ("
291 2001-12-03 Ben Stanley <bds02@uow.edu.au>
293 * lyxsum.C: Added mmap version of CRC and made it selected
294 by default where available. Used process_block for crc for speedup.
296 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
298 * filetools.C: more robust failure for DirList()
300 2001-11-29 André Pönitz <poenitz@gmx.net>
302 * types.h: introduce types for textclass numbers and layout numbers
304 2001-11-28 André Pönitz <poenitz@gmx.net>
306 * Makefile.am: put types.h in
308 2001-11-26 André Pönitz <poenitz@gmx.net>
310 * types.h: introduce types for paragraph positions and layout numbers
312 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
314 * filetools.C: remove dead code
316 * syscall.C: show prog in fail case
318 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
320 * filetools.C: code style cleanup
322 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
324 * os.h: remove spurious punctuation.
326 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
329 * LAssert.C: use new emergencyCleanup()
331 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
333 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
334 like GNU gettext does.
336 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
338 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
340 (findtexfile): oops! the change from last friday was wrong...
342 * os_win32.C (is_absolute_path):
343 * os_unix.C (is_absolute_path):
344 * os_os2.C (is_absolute_path): new method
346 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
348 * filetools.C (findtexfile): apply os::internal_path to the result.
350 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
355 * os.h: add internal_path method, which converts a unix-type file
356 name to the type known to the underlying file system (currently
357 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
359 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
361 * smart_ptr.h: new file
363 * utility.h: new file
365 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
368 * filetools.C (IsDirWriteable): fix this
370 2001-07-26 Baruch Even <baruch@lyx.org>
372 * lyxlib.h (float_equal): Added function to compare floats almost equal
373 (see function comment).
375 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
377 Consistent use of Lsstream.h:
378 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
380 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * translator.h: (*it). -> it->
384 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
386 * filetools.C (DeleteAllFilesInDir): send debug output to
387 Debug::FILES instewad of Debug::ANY.
389 * DebugStream.h: remove gcc 2.8.x hack.
391 2001-06-26 The LyX Project <jug@sad.it>
394 * lstrings.C (escape): move method to escape non ascii characters
395 from insets label and ref to here.
397 2001-06-25 The LyX Project <jug@sad.it>
399 * filetools.C (IsLyXFilename):
400 (IsSGMLFilename): do case insensitive name matching
402 2001-06-24 The LyX Project <jug@sad.it>
404 * lstrings.C (compare_ascii_no_case): version of compare_no_case
405 which only considers case of ascii characters
407 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
410 2001-06-23 The LyX Project <jug@sad.it>
412 * textutils.h (IsPrintable): take into account unprintable spaces
414 (IsDigit): new function
415 (IsLetterCharOrDigit): use IsDigit
417 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * filetools.C (findtexfile): strip final \r if necessary (for
422 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
425 * StrPool.C: removed // -*- C++ -*- as first line.
427 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
429 * lyxsum.C (do_crc): switch to use boost::crc for generating the
432 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
437 * LSubstring.C: bring C functions in global namespace if
440 * lstrings.h (compare): use the std:: version of str[n]cmp only
443 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * syscontr.C: add std::
447 * syscall.C: add std::
449 * lstrings.h (compare): add std::
451 * lstrings.C (prefixIs): add std::
455 * LSubstring.C (LSubstring): add std::
457 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
459 * lyxsum.C (sum): use istreambuf_iterator when available.
461 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
466 * lyxstring.C (operator): make const operator[] behave as
469 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
471 * Makefile.am (EXTRA_DIST): add the os_*.C files.
473 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
475 * filetools.C (MakeAbsPath): remove debugging statement
477 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
479 * FileInfo.h: X_OK workaround for cygwin
488 * filetools.h: Added os:: class.
492 * tempname.C: OS/2 fixes
494 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
496 * textutils.h: remvoe !NEW_INSETS cruft
498 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
501 * atoi.C: add using directives when needed for C functions
502 declared in std:: namespace.
504 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
506 * lstrings.C : add two helper structs, local_lowercase and
508 (lowercase): change to use std::transform
509 (uppercase): change to use std::transform
511 2001-04-25 Allan Rae <rae@lyx.org>
513 * lyxstring.C : Assert got moved and Lars missed a few.
515 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * LAssert.h (Assert): put into namespace lyx
519 * lyxfunctional.h: put into namespace lyx
520 * translator.h: adjust
522 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
524 * lyxalgo.h: put into namespace lyx, add firster and copy_if
526 * FileInfo.h: inherit privately from noncopyable
529 2001-04-16 Allan Rae <rae@lyx.org>
531 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
532 as an unrecognised preprocessor directive. So ensure they're wrapped.
534 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
536 * several files: remove CXX_WORKING_NAMESPACES
538 * FileInfo.h: noncopyable is in namespace boost
541 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
543 * syscontr.h: fix header include
545 2001-02-28 Baruch Even <baruch@ev-en.org>
547 * filetools.C: Removed dependency on syscall.h
550 * syscall.C: Minor cleanings before I start to touch this code.
552 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
554 * filetools.C (CreateTmpDir): change umask to 0700.
556 2001-02-27 José Matos <jamatos@fep.up.pt>
558 * filetools.h (BasePath):
559 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
561 * filetools.C (IsLyXFilename):
562 * filetools.C (IsSGMLFilename): test if extension is suffix and not
565 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
569 * atoi.C: remove cruft
571 2001-02-06 albert chin <china@thewrittenword.com>
574 * fmt.C: use HAVE_DECL_SNPRINTF
576 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
578 * lyxstring.C: Fix some assertions.
580 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
582 * lstrings.C (strip): Add a fix for compilers with broken
583 string::find_last_not_of.
585 * filetools.C (AddPath): Simplify by using strip and frontStrip.
587 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
589 * lyxstring.C (rfind): Fix broken functions.
590 (find): Few optimizations.