1 2002-05-24 Juergen Vigna <jug@sad.it>
3 * lyxsum.C: include local includes first (self containment)
5 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * forkedcall.h: use more specific smart_ptr header.
9 * lyxsum.C: move some using declarations around.
11 2002-05-03 Herbert Voss <voss@perce.de>
13 * filetools.C (getExtFromContents): only print the first 60 chars of
14 the scanned-string when debugging.
16 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * lyxstring.C: close to typo fix.
20 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
22 * filetools.C: add a using std::getline directive.
24 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * lyxstring.C (operator>>): try a new version of the operator>>
28 2002-04-14 Herbert Voss <voss@perce.de>
30 * lstrings.[Ch]: move the getVectorFromString and the vice versa
31 from frontends/controllers/helper_funcs for better use in other
34 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
36 * tempname.C (make_tempfile): simplify the #ifdef block by using
37 #if defined and re-write the #warning as a #error because it's terminal.
39 2002-04-08 Herbert Voss <voss@perce.de>
41 * filetools.C (getExtFromContents): get tgif run
43 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
45 * filetools.C (getExtFromContents): re-format a little and remove
46 replicated "sgi" entry.
48 2002-04-07 Herbert Voss <voss@perce.de>
50 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
51 for the lyx-view in graphics (moved from ControlGraphics)
53 2002-04-07 Herbert Voss <voss@perce.de>
55 * filetools.C: fix bug for eps. scans now a whole line
57 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * lyxstring.C (operator>>): use the better solution, this fixes a
60 "not able to read '\0'" bug.
62 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * translator.h: add missing typename
66 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
68 * filetools.C (LibScriptSearch): new command. Searches for scripts
69 in lyx data directories.
70 (LibScriptSearch): try to use split() correctly.
72 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
74 * most files: ws cleanup
76 * Makefile.am: remove ld -r stuff
78 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * Makefile.am (libsupport.la): special rules if partial linking
82 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
84 * forkedcontr.C: turn the timer off when their are no longer any
85 child processes running.
87 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
89 * forkedcall.h: docy fix
90 change SignalType second type to be const ref.
92 * forkedcall.C: doxy fix
94 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
96 * lyxsum.C: compilation fix
98 2002-03-02 Herbert Voss <voss@perce.de>
100 * filetools.C: fix bug for xbm format and added some more debug
103 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * forkedcontr.h: make constructor public
107 * types.h: remove layout_type
109 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
111 * filetools.C (getExtFromContents): cleanup.
113 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
115 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
117 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
118 building outside of source tree.
120 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
123 * forkedcontr.[Ch]: new files. Asger's forked call controller is
124 re-born, with a working timer and a modified interface. The
125 startscript method is now passed a Signal rather than a pointer
126 to a callback function. This enables us to connect to the method of
127 a C++ class, if we so desire.
129 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
131 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
136 * nt_defines.h: moved from src/
138 2002-02-23 Herbert Voss <voss@perce.de>
140 * filetools.C: added more graphic formats
142 2002-02-18 Herbert Voss <voss@perce.de>
144 * filetools.C: (getExtFromContents) return the fileextension
145 if no format is detected.
147 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
149 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
150 as class SystemCall because one Systemcall instance represents a
151 single child process.
154 * Makefile.am: associated changes.
156 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
158 * syscall.C (Systemcalls): include <cstdlib>
160 2002-02-08 Herbert Voss <voss@perce.de>
162 * filetools.C: (getExtFromContents) adding Grace-format
165 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
168 * syssingleton.C: files removed.
170 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
171 uses it. Strip down the Systemcalls interface to make it brutally
172 obvious how unsophisticated it is.
174 2002-02-08 Herbert Voss <voss@perce.de>
176 * filetools.C: (getExtFromContents) adding TGIF-format
177 and return type "user" when no type is detected
179 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
183 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
185 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
187 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
189 * FileInfo.h: remove special cygwin code.
191 * filetools.C (do_popen): use os::read_mode().
193 * os_win32.C (read_mode):
194 * os_os2.C (read_mode):
195 * os_unix.C (read_mode): new method
197 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
198 Hentschel). This code should maybe be moved to os:: class.
200 2002-02-08 Herbert Voss <voss@perce.de>
202 * filetools.C: (unzipFile) fix typo
204 2002-02-06 Herbert Voss <voss@perce.de>
206 * filetools.[Ch]: fix some bugs for detecting zipped files
209 2002-02-04 Herbert Voss <voss@perce.de>
211 * filetools.[Ch]: add ifZippedFile() for zipped
214 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
216 * filetools.C (FileOpenSearch): remove duplicated line, probably
217 resulting from bad cut-and paste.
219 2002-01-31 Herbert Voss <voss@perce.de>
221 * filetools.[Ch]: add getExtFromContents(), which returns
222 the type of the (graphic) file
224 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
226 * copy.C (copy): open file in binary mode (for cygwin)
228 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
230 * lyxsum.C: remove #warnings and replaced them with runtime debug
233 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
235 * lyxalgo.h: include <algorithm>
237 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
239 * lyx_algo.h: add a standard-conforming count to namespace lyx.
241 * lstrings.[Ch] (countChar): removed. Use lyx::count.
243 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
245 * filetools.C: fix use of FileInfo
248 * FileInfo.C: add Asserts and documentation
250 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
252 * os_win32.C: compilation fixes
254 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
256 * lstrings.h: do not include <cctype>
258 2001-12-12 Ben Stanley <bds02@uow.edu.au>
260 * lyxsum.C: portability fix for mmap patch
262 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
266 * lyxstring.C: change "while(" to "while ("
268 2001-12-03 Ben Stanley <bds02@uow.edu.au>
270 * lyxsum.C: Added mmap version of CRC and made it selected
271 by default where available. Used process_block for crc for speedup.
273 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
275 * filetools.C: more robust failure for DirList()
277 2001-11-29 André Pönitz <poenitz@gmx.net>
279 * types.h: introduce types for textclass numbers and layout numbers
281 2001-11-28 André Pönitz <poenitz@gmx.net>
283 * Makefile.am: put types.h in
285 2001-11-26 André Pönitz <poenitz@gmx.net>
287 * types.h: introduce types for paragraph positions and layout numbers
289 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
291 * filetools.C: remove dead code
293 * syscall.C: show prog in fail case
295 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
297 * filetools.C: code style cleanup
299 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
301 * os.h: remove spurious punctuation.
303 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
306 * LAssert.C: use new emergencyCleanup()
308 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
310 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
311 like GNU gettext does.
313 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
315 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
317 (findtexfile): oops! the change from last friday was wrong...
319 * os_win32.C (is_absolute_path):
320 * os_unix.C (is_absolute_path):
321 * os_os2.C (is_absolute_path): new method
323 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
325 * filetools.C (findtexfile): apply os::internal_path to the result.
327 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
332 * os.h: add internal_path method, which converts a unix-type file
333 name to the type known to the underlying file system (currently
334 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
336 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
338 * smart_ptr.h: new file
340 * utility.h: new file
342 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
345 * filetools.C (IsDirWriteable): fix this
347 2001-07-26 Baruch Even <baruch@lyx.org>
349 * lyxlib.h (float_equal): Added function to compare floats almost equal
350 (see function comment).
352 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
354 Consistent use of Lsstream.h:
355 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
357 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
359 * translator.h: (*it). -> it->
361 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
363 * filetools.C (DeleteAllFilesInDir): send debug output to
364 Debug::FILES instewad of Debug::ANY.
366 * DebugStream.h: remove gcc 2.8.x hack.
368 2001-06-26 The LyX Project <jug@sad.it>
371 * lstrings.C (escape): move method to escape non ascii characters
372 from insets label and ref to here.
374 2001-06-25 The LyX Project <jug@sad.it>
376 * filetools.C (IsLyXFilename):
377 (IsSGMLFilename): do case insensitive name matching
379 2001-06-24 The LyX Project <jug@sad.it>
381 * lstrings.C (compare_ascii_no_case): version of compare_no_case
382 which only considers case of ascii characters
384 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
387 2001-06-23 The LyX Project <jug@sad.it>
389 * textutils.h (IsPrintable): take into account unprintable spaces
391 (IsDigit): new function
392 (IsLetterCharOrDigit): use IsDigit
394 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * filetools.C (findtexfile): strip final \r if necessary (for
399 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
402 * StrPool.C: removed // -*- C++ -*- as first line.
404 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
406 * lyxsum.C (do_crc): switch to use boost::crc for generating the
409 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
414 * LSubstring.C: bring C functions in global namespace if
417 * lstrings.h (compare): use the std:: version of str[n]cmp only
420 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
422 * syscontr.C: add std::
424 * syscall.C: add std::
426 * lstrings.h (compare): add std::
428 * lstrings.C (prefixIs): add std::
432 * LSubstring.C (LSubstring): add std::
434 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
436 * lyxsum.C (sum): use istreambuf_iterator when available.
438 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
440 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
443 * lyxstring.C (operator): make const operator[] behave as
446 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
448 * Makefile.am (EXTRA_DIST): add the os_*.C files.
450 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
452 * filetools.C (MakeAbsPath): remove debugging statement
454 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
456 * FileInfo.h: X_OK workaround for cygwin
465 * filetools.h: Added os:: class.
469 * tempname.C: OS/2 fixes
471 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
473 * textutils.h: remvoe !NEW_INSETS cruft
475 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
478 * atoi.C: add using directives when needed for C functions
479 declared in std:: namespace.
481 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
483 * lstrings.C : add two helper structs, local_lowercase and
485 (lowercase): change to use std::transform
486 (uppercase): change to use std::transform
488 2001-04-25 Allan Rae <rae@lyx.org>
490 * lyxstring.C : Assert got moved and Lars missed a few.
492 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
494 * LAssert.h (Assert): put into namespace lyx
496 * lyxfunctional.h: put into namespace lyx
497 * translator.h: adjust
499 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
501 * lyxalgo.h: put into namespace lyx, add firster and copy_if
503 * FileInfo.h: inherit privately from noncopyable
506 2001-04-16 Allan Rae <rae@lyx.org>
508 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
509 as an unrecognised preprocessor directive. So ensure they're wrapped.
511 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
513 * several files: remove CXX_WORKING_NAMESPACES
515 * FileInfo.h: noncopyable is in namespace boost
518 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
520 * syscontr.h: fix header include
522 2001-02-28 Baruch Even <baruch@ev-en.org>
524 * filetools.C: Removed dependency on syscall.h
527 * syscall.C: Minor cleanings before I start to touch this code.
529 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
531 * filetools.C (CreateTmpDir): change umask to 0700.
533 2001-02-27 José Matos <jamatos@fep.up.pt>
535 * filetools.h (BasePath):
536 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
538 * filetools.C (IsLyXFilename):
539 * filetools.C (IsSGMLFilename): test if extension is suffix and not
542 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
546 * atoi.C: remove cruft
548 2001-02-06 albert chin <china@thewrittenword.com>
551 * fmt.C: use HAVE_DECL_SNPRINTF
553 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
555 * lyxstring.C: Fix some assertions.
557 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
559 * lstrings.C (strip): Add a fix for compilers with broken
560 string::find_last_not_of.
562 * filetools.C (AddPath): Simplify by using strip and frontStrip.
564 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
566 * lyxstring.C (rfind): Fix broken functions.
567 (find): Few optimizations.