1 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3 * limited_stack.h: new template for limited-size
6 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * filetools.C: do not include LSubstring.h
10 * lstrings.C: change include order
11 (regexMatch): use boost regex get rid of LRegex and LSubstring
13 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
16 * LSubstring.h: remove file
23 2002-05-24 Juergen Vigna <jug@sad.it>
25 * lyxsum.C: include local includes first (self containment)
27 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
29 * forkedcall.h: use more specific smart_ptr header.
31 * lyxsum.C: move some using declarations around.
33 2002-05-03 Herbert Voss <voss@perce.de>
35 * filetools.C (getExtFromContents): only print the first 60 chars of
36 the scanned-string when debugging.
38 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
40 * lyxstring.C: close to typo fix.
42 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
44 * filetools.C: add a using std::getline directive.
46 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
48 * lyxstring.C (operator>>): try a new version of the operator>>
50 2002-04-14 Herbert Voss <voss@perce.de>
52 * lstrings.[Ch]: move the getVectorFromString and the vice versa
53 from frontends/controllers/helper_funcs for better use in other
56 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
58 * tempname.C (make_tempfile): simplify the #ifdef block by using
59 #if defined and re-write the #warning as a #error because it's terminal.
61 2002-04-08 Herbert Voss <voss@perce.de>
63 * filetools.C (getExtFromContents): get tgif run
65 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
67 * filetools.C (getExtFromContents): re-format a little and remove
68 replicated "sgi" entry.
70 2002-04-07 Herbert Voss <voss@perce.de>
72 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
73 for the lyx-view in graphics (moved from ControlGraphics)
75 2002-04-07 Herbert Voss <voss@perce.de>
77 * filetools.C: fix bug for eps. scans now a whole line
79 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * lyxstring.C (operator>>): use the better solution, this fixes a
82 "not able to read '\0'" bug.
84 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * translator.h: add missing typename
88 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
90 * filetools.C (LibScriptSearch): new command. Searches for scripts
91 in lyx data directories.
92 (LibScriptSearch): try to use split() correctly.
94 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
96 * most files: ws cleanup
98 * Makefile.am: remove ld -r stuff
100 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
102 * Makefile.am (libsupport.la): special rules if partial linking
104 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
106 * forkedcontr.C: turn the timer off when their are no longer any
107 child processes running.
109 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
111 * forkedcall.h: docy fix
112 change SignalType second type to be const ref.
114 * forkedcall.C: doxy fix
116 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
118 * lyxsum.C: compilation fix
120 2002-03-02 Herbert Voss <voss@perce.de>
122 * filetools.C: fix bug for xbm format and added some more debug
125 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
127 * forkedcontr.h: make constructor public
129 * types.h: remove layout_type
131 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
133 * filetools.C (getExtFromContents): cleanup.
135 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
137 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
139 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
140 building outside of source tree.
142 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
145 * forkedcontr.[Ch]: new files. Asger's forked call controller is
146 re-born, with a working timer and a modified interface. The
147 startscript method is now passed a Signal rather than a pointer
148 to a callback function. This enables us to connect to the method of
149 a C++ class, if we so desire.
151 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
153 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
158 * nt_defines.h: moved from src/
160 2002-02-23 Herbert Voss <voss@perce.de>
162 * filetools.C: added more graphic formats
164 2002-02-18 Herbert Voss <voss@perce.de>
166 * filetools.C: (getExtFromContents) return the fileextension
167 if no format is detected.
169 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
171 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
172 as class SystemCall because one Systemcall instance represents a
173 single child process.
176 * Makefile.am: associated changes.
178 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
180 * syscall.C (Systemcalls): include <cstdlib>
182 2002-02-08 Herbert Voss <voss@perce.de>
184 * filetools.C: (getExtFromContents) adding Grace-format
187 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
190 * syssingleton.C: files removed.
192 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
193 uses it. Strip down the Systemcalls interface to make it brutally
194 obvious how unsophisticated it is.
196 2002-02-08 Herbert Voss <voss@perce.de>
198 * filetools.C: (getExtFromContents) adding TGIF-format
199 and return type "user" when no type is detected
201 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
203 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
205 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
207 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
209 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
211 * FileInfo.h: remove special cygwin code.
213 * filetools.C (do_popen): use os::read_mode().
215 * os_win32.C (read_mode):
216 * os_os2.C (read_mode):
217 * os_unix.C (read_mode): new method
219 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
220 Hentschel). This code should maybe be moved to os:: class.
222 2002-02-08 Herbert Voss <voss@perce.de>
224 * filetools.C: (unzipFile) fix typo
226 2002-02-06 Herbert Voss <voss@perce.de>
228 * filetools.[Ch]: fix some bugs for detecting zipped files
231 2002-02-04 Herbert Voss <voss@perce.de>
233 * filetools.[Ch]: add ifZippedFile() for zipped
236 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
238 * filetools.C (FileOpenSearch): remove duplicated line, probably
239 resulting from bad cut-and paste.
241 2002-01-31 Herbert Voss <voss@perce.de>
243 * filetools.[Ch]: add getExtFromContents(), which returns
244 the type of the (graphic) file
246 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
248 * copy.C (copy): open file in binary mode (for cygwin)
250 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
252 * lyxsum.C: remove #warnings and replaced them with runtime debug
255 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
257 * lyxalgo.h: include <algorithm>
259 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
261 * lyx_algo.h: add a standard-conforming count to namespace lyx.
263 * lstrings.[Ch] (countChar): removed. Use lyx::count.
265 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
267 * filetools.C: fix use of FileInfo
270 * FileInfo.C: add Asserts and documentation
272 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
274 * os_win32.C: compilation fixes
276 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
278 * lstrings.h: do not include <cctype>
280 2001-12-12 Ben Stanley <bds02@uow.edu.au>
282 * lyxsum.C: portability fix for mmap patch
284 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
288 * lyxstring.C: change "while(" to "while ("
290 2001-12-03 Ben Stanley <bds02@uow.edu.au>
292 * lyxsum.C: Added mmap version of CRC and made it selected
293 by default where available. Used process_block for crc for speedup.
295 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
297 * filetools.C: more robust failure for DirList()
299 2001-11-29 André Pönitz <poenitz@gmx.net>
301 * types.h: introduce types for textclass numbers and layout numbers
303 2001-11-28 André Pönitz <poenitz@gmx.net>
305 * Makefile.am: put types.h in
307 2001-11-26 André Pönitz <poenitz@gmx.net>
309 * types.h: introduce types for paragraph positions and layout numbers
311 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
313 * filetools.C: remove dead code
315 * syscall.C: show prog in fail case
317 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
319 * filetools.C: code style cleanup
321 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
323 * os.h: remove spurious punctuation.
325 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
328 * LAssert.C: use new emergencyCleanup()
330 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
333 like GNU gettext does.
335 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
337 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
339 (findtexfile): oops! the change from last friday was wrong...
341 * os_win32.C (is_absolute_path):
342 * os_unix.C (is_absolute_path):
343 * os_os2.C (is_absolute_path): new method
345 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
347 * filetools.C (findtexfile): apply os::internal_path to the result.
349 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
354 * os.h: add internal_path method, which converts a unix-type file
355 name to the type known to the underlying file system (currently
356 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
358 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
360 * smart_ptr.h: new file
362 * utility.h: new file
364 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
367 * filetools.C (IsDirWriteable): fix this
369 2001-07-26 Baruch Even <baruch@lyx.org>
371 * lyxlib.h (float_equal): Added function to compare floats almost equal
372 (see function comment).
374 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
376 Consistent use of Lsstream.h:
377 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
379 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
381 * translator.h: (*it). -> it->
383 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
385 * filetools.C (DeleteAllFilesInDir): send debug output to
386 Debug::FILES instewad of Debug::ANY.
388 * DebugStream.h: remove gcc 2.8.x hack.
390 2001-06-26 The LyX Project <jug@sad.it>
393 * lstrings.C (escape): move method to escape non ascii characters
394 from insets label and ref to here.
396 2001-06-25 The LyX Project <jug@sad.it>
398 * filetools.C (IsLyXFilename):
399 (IsSGMLFilename): do case insensitive name matching
401 2001-06-24 The LyX Project <jug@sad.it>
403 * lstrings.C (compare_ascii_no_case): version of compare_no_case
404 which only considers case of ascii characters
406 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
409 2001-06-23 The LyX Project <jug@sad.it>
411 * textutils.h (IsPrintable): take into account unprintable spaces
413 (IsDigit): new function
414 (IsLetterCharOrDigit): use IsDigit
416 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
418 * filetools.C (findtexfile): strip final \r if necessary (for
421 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
424 * StrPool.C: removed // -*- C++ -*- as first line.
426 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
428 * lyxsum.C (do_crc): switch to use boost::crc for generating the
431 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
436 * LSubstring.C: bring C functions in global namespace if
439 * lstrings.h (compare): use the std:: version of str[n]cmp only
442 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
444 * syscontr.C: add std::
446 * syscall.C: add std::
448 * lstrings.h (compare): add std::
450 * lstrings.C (prefixIs): add std::
454 * LSubstring.C (LSubstring): add std::
456 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * lyxsum.C (sum): use istreambuf_iterator when available.
460 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
462 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
465 * lyxstring.C (operator): make const operator[] behave as
468 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
470 * Makefile.am (EXTRA_DIST): add the os_*.C files.
472 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * filetools.C (MakeAbsPath): remove debugging statement
476 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
478 * FileInfo.h: X_OK workaround for cygwin
487 * filetools.h: Added os:: class.
491 * tempname.C: OS/2 fixes
493 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
495 * textutils.h: remvoe !NEW_INSETS cruft
497 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
500 * atoi.C: add using directives when needed for C functions
501 declared in std:: namespace.
503 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * lstrings.C : add two helper structs, local_lowercase and
507 (lowercase): change to use std::transform
508 (uppercase): change to use std::transform
510 2001-04-25 Allan Rae <rae@lyx.org>
512 * lyxstring.C : Assert got moved and Lars missed a few.
514 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
516 * LAssert.h (Assert): put into namespace lyx
518 * lyxfunctional.h: put into namespace lyx
519 * translator.h: adjust
521 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
523 * lyxalgo.h: put into namespace lyx, add firster and copy_if
525 * FileInfo.h: inherit privately from noncopyable
528 2001-04-16 Allan Rae <rae@lyx.org>
530 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
531 as an unrecognised preprocessor directive. So ensure they're wrapped.
533 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
535 * several files: remove CXX_WORKING_NAMESPACES
537 * FileInfo.h: noncopyable is in namespace boost
540 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
542 * syscontr.h: fix header include
544 2001-02-28 Baruch Even <baruch@ev-en.org>
546 * filetools.C: Removed dependency on syscall.h
549 * syscall.C: Minor cleanings before I start to touch this code.
551 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
553 * filetools.C (CreateTmpDir): change umask to 0700.
555 2001-02-27 José Matos <jamatos@fep.up.pt>
557 * filetools.h (BasePath):
558 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
560 * filetools.C (IsLyXFilename):
561 * filetools.C (IsSGMLFilename): test if extension is suffix and not
564 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
568 * atoi.C: remove cruft
570 2001-02-06 albert chin <china@thewrittenword.com>
573 * fmt.C: use HAVE_DECL_SNPRINTF
575 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
577 * lyxstring.C: Fix some assertions.
579 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
581 * lstrings.C (strip): Add a fix for compilers with broken
582 string::find_last_not_of.
584 * filetools.C (AddPath): Simplify by using strip and frontStrip.
586 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
588 * lyxstring.C (rfind): Fix broken functions.
589 (find): Few optimizations.