1 2002-05-02 Herbert Voss <voss@perce.de>
3 * filetools.C: getline -> std::getline.
5 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * lyxstring.C (operator>>): try a new version of the operator>>
9 2002-04-14 Herbert Voss <voss@perce.de>
11 * lstrings.[Ch]: move the getVectorFromString and the vice versa
12 from frontends/controllers/helper_funcs for better use in other
15 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
17 * tempname.C (make_tempfile): simplify the #ifdef block by using
18 #if defined and re-write the #warning as a #error because it's terminal.
20 2002-04-08 Herbert Voss <voss@perce.de>
22 * filetools.C (getExtFromContents): get tgif run
24 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
26 * filetools.C (getExtFromContents): re-format a little and remove
27 replicated "sgi" entry.
29 2002-04-07 Herbert Voss <voss@perce.de>
31 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
32 for the lyx-view in graphics (moved from ControlGraphics)
34 2002-04-07 Herbert Voss <voss@perce.de>
36 * filetools.C: fix bug for eps. scans now a whole line
38 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
40 * lyxstring.C (operator>>): use the better solution, this fixes a
41 "not able to read '\0'" bug.
43 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * translator.h: add missing typename
47 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
49 * filetools.C (LibScriptSearch): new command. Searches for scripts
50 in lyx data directories.
51 (LibScriptSearch): try to use split() correctly.
53 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * most files: ws cleanup
57 * Makefile.am: remove ld -r stuff
59 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * Makefile.am (libsupport.la): special rules if partial linking
63 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
65 * forkedcontr.C: turn the timer off when their are no longer any
66 child processes running.
68 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
70 * forkedcall.h: docy fix
71 change SignalType second type to be const ref.
73 * forkedcall.C: doxy fix
75 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
77 * lyxsum.C: compilation fix
79 2002-03-02 Herbert Voss <voss@perce.de>
81 * filetools.C: fix bug for xbm format and added some more debug
84 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * forkedcontr.h: make constructor public
88 * types.h: remove layout_type
90 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
92 * filetools.C (getExtFromContents): cleanup.
94 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
96 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
98 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
99 building outside of source tree.
101 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
104 * forkedcontr.[Ch]: new files. Asger's forked call controller is
105 re-born, with a working timer and a modified interface. The
106 startscript method is now passed a Signal rather than a pointer
107 to a callback function. This enables us to connect to the method of
108 a C++ class, if we so desire.
110 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
112 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
117 * nt_defines.h: moved from src/
119 2002-02-23 Herbert Voss <voss@perce.de>
121 * filetools.C: added more graphic formats
123 2002-02-18 Herbert Voss <voss@perce.de>
125 * filetools.C: (getExtFromContents) return the fileextension
126 if no format is detected.
128 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
130 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
131 as class SystemCall because one Systemcall instance represents a
132 single child process.
135 * Makefile.am: associated changes.
137 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
139 * syscall.C (Systemcalls): include <cstdlib>
141 2002-02-08 Herbert Voss <voss@perce.de>
143 * filetools.C: (getExtFromContents) adding Grace-format
146 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
149 * syssingleton.C: files removed.
151 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
152 uses it. Strip down the Systemcalls interface to make it brutally
153 obvious how unsophisticated it is.
155 2002-02-08 Herbert Voss <voss@perce.de>
157 * filetools.C: (getExtFromContents) adding TGIF-format
158 and return type "user" when no type is detected
160 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
162 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
164 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
166 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
168 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * FileInfo.h: remove special cygwin code.
172 * filetools.C (do_popen): use os::read_mode().
174 * os_win32.C (read_mode):
175 * os_os2.C (read_mode):
176 * os_unix.C (read_mode): new method
178 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
179 Hentschel). This code should maybe be moved to os:: class.
181 2002-02-08 Herbert Voss <voss@perce.de>
183 * filetools.C: (unzipFile) fix typo
185 2002-02-06 Herbert Voss <voss@perce.de>
187 * filetools.[Ch]: fix some bugs for detecting zipped files
190 2002-02-04 Herbert Voss <voss@perce.de>
192 * filetools.[Ch]: add ifZippedFile() for zipped
195 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
197 * filetools.C (FileOpenSearch): remove duplicated line, probably
198 resulting from bad cut-and paste.
200 2002-01-31 Herbert Voss <voss@perce.de>
202 * filetools.[Ch]: add getExtFromContents(), which returns
203 the type of the (graphic) file
205 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
207 * copy.C (copy): open file in binary mode (for cygwin)
209 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
211 * lyxsum.C: remove #warnings and replaced them with runtime debug
214 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
216 * lyxalgo.h: include <algorithm>
218 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
220 * lyx_algo.h: add a standard-conforming count to namespace lyx.
222 * lstrings.[Ch] (countChar): removed. Use lyx::count.
224 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
226 * filetools.C: fix use of FileInfo
229 * FileInfo.C: add Asserts and documentation
231 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
233 * os_win32.C: compilation fixes
235 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
237 * lstrings.h: do not include <cctype>
239 2001-12-12 Ben Stanley <bds02@uow.edu.au>
241 * lyxsum.C: portability fix for mmap patch
243 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
247 * lyxstring.C: change "while(" to "while ("
249 2001-12-03 Ben Stanley <bds02@uow.edu.au>
251 * lyxsum.C: Added mmap version of CRC and made it selected
252 by default where available. Used process_block for crc for speedup.
254 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
256 * filetools.C: more robust failure for DirList()
258 2001-11-29 André Pönitz <poenitz@gmx.net>
260 * types.h: introduce types for textclass numbers and layout numbers
262 2001-11-28 André Pönitz <poenitz@gmx.net>
264 * Makefile.am: put types.h in
266 2001-11-26 André Pönitz <poenitz@gmx.net>
268 * types.h: introduce types for paragraph positions and layout numbers
270 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
272 * filetools.C: remove dead code
274 * syscall.C: show prog in fail case
276 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
278 * filetools.C: code style cleanup
280 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
282 * os.h: remove spurious punctuation.
284 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
287 * LAssert.C: use new emergencyCleanup()
289 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
291 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
292 like GNU gettext does.
294 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
298 (findtexfile): oops! the change from last friday was wrong...
300 * os_win32.C (is_absolute_path):
301 * os_unix.C (is_absolute_path):
302 * os_os2.C (is_absolute_path): new method
304 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * filetools.C (findtexfile): apply os::internal_path to the result.
308 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
313 * os.h: add internal_path method, which converts a unix-type file
314 name to the type known to the underlying file system (currently
315 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
317 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * smart_ptr.h: new file
321 * utility.h: new file
323 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
326 * filetools.C (IsDirWriteable): fix this
328 2001-07-26 Baruch Even <baruch@lyx.org>
330 * lyxlib.h (float_equal): Added function to compare floats almost equal
331 (see function comment).
333 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
335 Consistent use of Lsstream.h:
336 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
338 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
340 * translator.h: (*it). -> it->
342 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
344 * filetools.C (DeleteAllFilesInDir): send debug output to
345 Debug::FILES instewad of Debug::ANY.
347 * DebugStream.h: remove gcc 2.8.x hack.
349 2001-06-26 The LyX Project <jug@sad.it>
352 * lstrings.C (escape): move method to escape non ascii characters
353 from insets label and ref to here.
355 2001-06-25 The LyX Project <jug@sad.it>
357 * filetools.C (IsLyXFilename):
358 (IsSGMLFilename): do case insensitive name matching
360 2001-06-24 The LyX Project <jug@sad.it>
362 * lstrings.C (compare_ascii_no_case): version of compare_no_case
363 which only considers case of ascii characters
365 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
368 2001-06-23 The LyX Project <jug@sad.it>
370 * textutils.h (IsPrintable): take into account unprintable spaces
372 (IsDigit): new function
373 (IsLetterCharOrDigit): use IsDigit
375 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
377 * filetools.C (findtexfile): strip final \r if necessary (for
380 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
383 * StrPool.C: removed // -*- C++ -*- as first line.
385 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
387 * lyxsum.C (do_crc): switch to use boost::crc for generating the
390 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
395 * LSubstring.C: bring C functions in global namespace if
398 * lstrings.h (compare): use the std:: version of str[n]cmp only
401 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
403 * syscontr.C: add std::
405 * syscall.C: add std::
407 * lstrings.h (compare): add std::
409 * lstrings.C (prefixIs): add std::
413 * LSubstring.C (LSubstring): add std::
415 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
417 * lyxsum.C (sum): use istreambuf_iterator when available.
419 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
421 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
424 * lyxstring.C (operator): make const operator[] behave as
427 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * Makefile.am (EXTRA_DIST): add the os_*.C files.
431 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * filetools.C (MakeAbsPath): remove debugging statement
435 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
437 * FileInfo.h: X_OK workaround for cygwin
446 * filetools.h: Added os:: class.
450 * tempname.C: OS/2 fixes
452 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
454 * textutils.h: remvoe !NEW_INSETS cruft
456 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * atoi.C: add using directives when needed for C functions
460 declared in std:: namespace.
462 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
464 * lstrings.C : add two helper structs, local_lowercase and
466 (lowercase): change to use std::transform
467 (uppercase): change to use std::transform
469 2001-04-25 Allan Rae <rae@lyx.org>
471 * lyxstring.C : Assert got moved and Lars missed a few.
473 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
475 * LAssert.h (Assert): put into namespace lyx
477 * lyxfunctional.h: put into namespace lyx
478 * translator.h: adjust
480 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * lyxalgo.h: put into namespace lyx, add firster and copy_if
484 * FileInfo.h: inherit privately from noncopyable
487 2001-04-16 Allan Rae <rae@lyx.org>
489 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
490 as an unrecognised preprocessor directive. So ensure they're wrapped.
492 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
494 * several files: remove CXX_WORKING_NAMESPACES
496 * FileInfo.h: noncopyable is in namespace boost
499 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
501 * syscontr.h: fix header include
503 2001-02-28 Baruch Even <baruch@ev-en.org>
505 * filetools.C: Removed dependency on syscall.h
508 * syscall.C: Minor cleanings before I start to touch this code.
510 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
512 * filetools.C (CreateTmpDir): change umask to 0700.
514 2001-02-27 José Matos <jamatos@fep.up.pt>
516 * filetools.h (BasePath):
517 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
519 * filetools.C (IsLyXFilename):
520 * filetools.C (IsSGMLFilename): test if extension is suffix and not
523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
527 * atoi.C: remove cruft
529 2001-02-06 albert chin <china@thewrittenword.com>
532 * fmt.C: use HAVE_DECL_SNPRINTF
534 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
536 * lyxstring.C: Fix some assertions.
538 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
540 * lstrings.C (strip): Add a fix for compilers with broken
541 string::find_last_not_of.
543 * filetools.C (AddPath): Simplify by using strip and frontStrip.
545 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
547 * lyxstring.C (rfind): Fix broken functions.
548 (find): Few optimizations.