1 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxstring.C (operator>>): try a new version of the operator>>
5 2002-04-14 Herbert Voss <voss@perce.de>
7 * lstrings.[Ch]: move the getVectorFromString and the vice versa
8 from frontends/controllers/helper_funcs for better use in other
11 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
13 * tempname.C (make_tempfile): simplify the #ifdef block by using
14 #if defined and re-write the #warning as a #error because it's terminal.
16 2002-04-08 Herbert Voss <voss@perce.de>
18 * filetools.C (getExtFromContents): get tgif run
20 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
22 * filetools.C (getExtFromContents): re-format a little and remove
23 replicated "sgi" entry.
25 2002-04-07 Herbert Voss <voss@perce.de>
27 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
28 for the lyx-view in graphics (moved from ControlGraphics)
30 2002-04-07 Herbert Voss <voss@perce.de>
32 * filetools.C: fix bug for eps. scans now a whole line
34 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * lyxstring.C (operator>>): use the better solution, this fixes a
37 "not able to read '\0'" bug.
39 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * translator.h: add missing typename
43 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
45 * filetools.C (LibScriptSearch): new command. Searches for scripts
46 in lyx data directories.
47 (LibScriptSearch): try to use split() correctly.
49 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * most files: ws cleanup
53 * Makefile.am: remove ld -r stuff
55 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * Makefile.am (libsupport.la): special rules if partial linking
59 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
61 * forkedcontr.C: turn the timer off when their are no longer any
62 child processes running.
64 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * forkedcall.h: docy fix
67 change SignalType second type to be const ref.
69 * forkedcall.C: doxy fix
71 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
73 * lyxsum.C: compilation fix
75 2002-03-02 Herbert Voss <voss@perce.de>
77 * filetools.C: fix bug for xbm format and added some more debug
80 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * forkedcontr.h: make constructor public
84 * types.h: remove layout_type
86 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
88 * filetools.C (getExtFromContents): cleanup.
90 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
92 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
94 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
95 building outside of source tree.
97 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
100 * forkedcontr.[Ch]: new files. Asger's forked call controller is
101 re-born, with a working timer and a modified interface. The
102 startscript method is now passed a Signal rather than a pointer
103 to a callback function. This enables us to connect to the method of
104 a C++ class, if we so desire.
106 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
108 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
113 * nt_defines.h: moved from src/
115 2002-02-23 Herbert Voss <voss@perce.de>
117 * filetools.C: added more graphic formats
119 2002-02-18 Herbert Voss <voss@perce.de>
121 * filetools.C: (getExtFromContents) return the fileextension
122 if no format is detected.
124 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
126 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
127 as class SystemCall because one Systemcall instance represents a
128 single child process.
131 * Makefile.am: associated changes.
133 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
135 * syscall.C (Systemcalls): include <cstdlib>
137 2002-02-08 Herbert Voss <voss@perce.de>
139 * filetools.C: (getExtFromContents) adding Grace-format
142 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
145 * syssingleton.C: files removed.
147 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
148 uses it. Strip down the Systemcalls interface to make it brutally
149 obvious how unsophisticated it is.
151 2002-02-08 Herbert Voss <voss@perce.de>
153 * filetools.C: (getExtFromContents) adding TGIF-format
154 and return type "user" when no type is detected
156 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
158 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
160 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
162 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
164 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
166 * FileInfo.h: remove special cygwin code.
168 * filetools.C (do_popen): use os::read_mode().
170 * os_win32.C (read_mode):
171 * os_os2.C (read_mode):
172 * os_unix.C (read_mode): new method
174 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
175 Hentschel). This code should maybe be moved to os:: class.
177 2002-02-08 Herbert Voss <voss@perce.de>
179 * filetools.C: (unzipFile) fix typo
181 2002-02-06 Herbert Voss <voss@perce.de>
183 * filetools.[Ch]: fix some bugs for detecting zipped files
186 2002-02-04 Herbert Voss <voss@perce.de>
188 * filetools.[Ch]: add ifZippedFile() for zipped
191 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * filetools.C (FileOpenSearch): remove duplicated line, probably
194 resulting from bad cut-and paste.
196 2002-01-31 Herbert Voss <voss@perce.de>
198 * filetools.[Ch]: add getExtFromContents(), which returns
199 the type of the (graphic) file
201 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
203 * copy.C (copy): open file in binary mode (for cygwin)
205 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
207 * lyxsum.C: remove #warnings and replaced them with runtime debug
210 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * lyxalgo.h: include <algorithm>
214 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
216 * lyx_algo.h: add a standard-conforming count to namespace lyx.
218 * lstrings.[Ch] (countChar): removed. Use lyx::count.
220 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
222 * filetools.C: fix use of FileInfo
225 * FileInfo.C: add Asserts and documentation
227 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
229 * os_win32.C: compilation fixes
231 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
233 * lstrings.h: do not include <cctype>
235 2001-12-12 Ben Stanley <bds02@uow.edu.au>
237 * lyxsum.C: portability fix for mmap patch
239 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * lyxstring.C: change "while(" to "while ("
245 2001-12-03 Ben Stanley <bds02@uow.edu.au>
247 * lyxsum.C: Added mmap version of CRC and made it selected
248 by default where available. Used process_block for crc for speedup.
250 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
252 * filetools.C: more robust failure for DirList()
254 2001-11-29 André Pönitz <poenitz@gmx.net>
256 * types.h: introduce types for textclass numbers and layout numbers
258 2001-11-28 André Pönitz <poenitz@gmx.net>
260 * Makefile.am: put types.h in
262 2001-11-26 André Pönitz <poenitz@gmx.net>
264 * types.h: introduce types for paragraph positions and layout numbers
266 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
268 * filetools.C: remove dead code
270 * syscall.C: show prog in fail case
272 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
274 * filetools.C: code style cleanup
276 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
278 * os.h: remove spurious punctuation.
280 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
283 * LAssert.C: use new emergencyCleanup()
285 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
287 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
288 like GNU gettext does.
290 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
292 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
294 (findtexfile): oops! the change from last friday was wrong...
296 * os_win32.C (is_absolute_path):
297 * os_unix.C (is_absolute_path):
298 * os_os2.C (is_absolute_path): new method
300 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
302 * filetools.C (findtexfile): apply os::internal_path to the result.
304 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
309 * os.h: add internal_path method, which converts a unix-type file
310 name to the type known to the underlying file system (currently
311 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
313 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
315 * smart_ptr.h: new file
317 * utility.h: new file
319 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
322 * filetools.C (IsDirWriteable): fix this
324 2001-07-26 Baruch Even <baruch@lyx.org>
326 * lyxlib.h (float_equal): Added function to compare floats almost equal
327 (see function comment).
329 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
331 Consistent use of Lsstream.h:
332 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
334 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
336 * translator.h: (*it). -> it->
338 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
340 * filetools.C (DeleteAllFilesInDir): send debug output to
341 Debug::FILES instewad of Debug::ANY.
343 * DebugStream.h: remove gcc 2.8.x hack.
345 2001-06-26 The LyX Project <jug@sad.it>
348 * lstrings.C (escape): move method to escape non ascii characters
349 from insets label and ref to here.
351 2001-06-25 The LyX Project <jug@sad.it>
353 * filetools.C (IsLyXFilename):
354 (IsSGMLFilename): do case insensitive name matching
356 2001-06-24 The LyX Project <jug@sad.it>
358 * lstrings.C (compare_ascii_no_case): version of compare_no_case
359 which only considers case of ascii characters
361 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
364 2001-06-23 The LyX Project <jug@sad.it>
366 * textutils.h (IsPrintable): take into account unprintable spaces
368 (IsDigit): new function
369 (IsLetterCharOrDigit): use IsDigit
371 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
373 * filetools.C (findtexfile): strip final \r if necessary (for
376 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
379 * StrPool.C: removed // -*- C++ -*- as first line.
381 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
383 * lyxsum.C (do_crc): switch to use boost::crc for generating the
386 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
391 * LSubstring.C: bring C functions in global namespace if
394 * lstrings.h (compare): use the std:: version of str[n]cmp only
397 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
399 * syscontr.C: add std::
401 * syscall.C: add std::
403 * lstrings.h (compare): add std::
405 * lstrings.C (prefixIs): add std::
409 * LSubstring.C (LSubstring): add std::
411 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
413 * lyxsum.C (sum): use istreambuf_iterator when available.
415 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
417 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
420 * lyxstring.C (operator): make const operator[] behave as
423 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
425 * Makefile.am (EXTRA_DIST): add the os_*.C files.
427 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * filetools.C (MakeAbsPath): remove debugging statement
431 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
433 * FileInfo.h: X_OK workaround for cygwin
442 * filetools.h: Added os:: class.
446 * tempname.C: OS/2 fixes
448 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * textutils.h: remvoe !NEW_INSETS cruft
452 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * atoi.C: add using directives when needed for C functions
456 declared in std:: namespace.
458 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * lstrings.C : add two helper structs, local_lowercase and
462 (lowercase): change to use std::transform
463 (uppercase): change to use std::transform
465 2001-04-25 Allan Rae <rae@lyx.org>
467 * lyxstring.C : Assert got moved and Lars missed a few.
469 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
471 * LAssert.h (Assert): put into namespace lyx
473 * lyxfunctional.h: put into namespace lyx
474 * translator.h: adjust
476 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * lyxalgo.h: put into namespace lyx, add firster and copy_if
480 * FileInfo.h: inherit privately from noncopyable
483 2001-04-16 Allan Rae <rae@lyx.org>
485 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
486 as an unrecognised preprocessor directive. So ensure they're wrapped.
488 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
490 * several files: remove CXX_WORKING_NAMESPACES
492 * FileInfo.h: noncopyable is in namespace boost
495 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
497 * syscontr.h: fix header include
499 2001-02-28 Baruch Even <baruch@ev-en.org>
501 * filetools.C: Removed dependency on syscall.h
504 * syscall.C: Minor cleanings before I start to touch this code.
506 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
508 * filetools.C (CreateTmpDir): change umask to 0700.
510 2001-02-27 José Matos <jamatos@fep.up.pt>
512 * filetools.h (BasePath):
513 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
515 * filetools.C (IsLyXFilename):
516 * filetools.C (IsSGMLFilename): test if extension is suffix and not
519 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
523 * atoi.C: remove cruft
525 2001-02-06 albert chin <china@thewrittenword.com>
528 * fmt.C: use HAVE_DECL_SNPRINTF
530 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
532 * lyxstring.C: Fix some assertions.
534 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
536 * lstrings.C (strip): Add a fix for compilers with broken
537 string::find_last_not_of.
539 * filetools.C (AddPath): Simplify by using strip and frontStrip.
541 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
543 * lyxstring.C (rfind): Fix broken functions.
544 (find): Few optimizations.