1 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * forkedcall.h: use more specific smart_ptr header.
5 * lyxsum.C: move some using declarations around.
7 2002-05-03 Herbert Voss <voss@perce.de>
9 * filetools.C (getExtFromContents): only print the first 60 chars of
10 the scanned-string when debugging.
12 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14 * lyxstring.C: close to typo fix.
16 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
18 * filetools.C: add a using std::getline directive.
20 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * lyxstring.C (operator>>): try a new version of the operator>>
24 2002-04-14 Herbert Voss <voss@perce.de>
26 * lstrings.[Ch]: move the getVectorFromString and the vice versa
27 from frontends/controllers/helper_funcs for better use in other
30 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
32 * tempname.C (make_tempfile): simplify the #ifdef block by using
33 #if defined and re-write the #warning as a #error because it's terminal.
35 2002-04-08 Herbert Voss <voss@perce.de>
37 * filetools.C (getExtFromContents): get tgif run
39 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
41 * filetools.C (getExtFromContents): re-format a little and remove
42 replicated "sgi" entry.
44 2002-04-07 Herbert Voss <voss@perce.de>
46 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
47 for the lyx-view in graphics (moved from ControlGraphics)
49 2002-04-07 Herbert Voss <voss@perce.de>
51 * filetools.C: fix bug for eps. scans now a whole line
53 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * lyxstring.C (operator>>): use the better solution, this fixes a
56 "not able to read '\0'" bug.
58 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * translator.h: add missing typename
62 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
64 * filetools.C (LibScriptSearch): new command. Searches for scripts
65 in lyx data directories.
66 (LibScriptSearch): try to use split() correctly.
68 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
70 * most files: ws cleanup
72 * Makefile.am: remove ld -r stuff
74 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * Makefile.am (libsupport.la): special rules if partial linking
78 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
80 * forkedcontr.C: turn the timer off when their are no longer any
81 child processes running.
83 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * forkedcall.h: docy fix
86 change SignalType second type to be const ref.
88 * forkedcall.C: doxy fix
90 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
92 * lyxsum.C: compilation fix
94 2002-03-02 Herbert Voss <voss@perce.de>
96 * filetools.C: fix bug for xbm format and added some more debug
99 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * forkedcontr.h: make constructor public
103 * types.h: remove layout_type
105 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
107 * filetools.C (getExtFromContents): cleanup.
109 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
111 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
113 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
114 building outside of source tree.
116 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
119 * forkedcontr.[Ch]: new files. Asger's forked call controller is
120 re-born, with a working timer and a modified interface. The
121 startscript method is now passed a Signal rather than a pointer
122 to a callback function. This enables us to connect to the method of
123 a C++ class, if we so desire.
125 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
127 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
132 * nt_defines.h: moved from src/
134 2002-02-23 Herbert Voss <voss@perce.de>
136 * filetools.C: added more graphic formats
138 2002-02-18 Herbert Voss <voss@perce.de>
140 * filetools.C: (getExtFromContents) return the fileextension
141 if no format is detected.
143 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
145 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
146 as class SystemCall because one Systemcall instance represents a
147 single child process.
150 * Makefile.am: associated changes.
152 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
154 * syscall.C (Systemcalls): include <cstdlib>
156 2002-02-08 Herbert Voss <voss@perce.de>
158 * filetools.C: (getExtFromContents) adding Grace-format
161 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
164 * syssingleton.C: files removed.
166 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
167 uses it. Strip down the Systemcalls interface to make it brutally
168 obvious how unsophisticated it is.
170 2002-02-08 Herbert Voss <voss@perce.de>
172 * filetools.C: (getExtFromContents) adding TGIF-format
173 and return type "user" when no type is detected
175 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
177 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
179 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
181 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
183 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
185 * FileInfo.h: remove special cygwin code.
187 * filetools.C (do_popen): use os::read_mode().
189 * os_win32.C (read_mode):
190 * os_os2.C (read_mode):
191 * os_unix.C (read_mode): new method
193 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
194 Hentschel). This code should maybe be moved to os:: class.
196 2002-02-08 Herbert Voss <voss@perce.de>
198 * filetools.C: (unzipFile) fix typo
200 2002-02-06 Herbert Voss <voss@perce.de>
202 * filetools.[Ch]: fix some bugs for detecting zipped files
205 2002-02-04 Herbert Voss <voss@perce.de>
207 * filetools.[Ch]: add ifZippedFile() for zipped
210 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
212 * filetools.C (FileOpenSearch): remove duplicated line, probably
213 resulting from bad cut-and paste.
215 2002-01-31 Herbert Voss <voss@perce.de>
217 * filetools.[Ch]: add getExtFromContents(), which returns
218 the type of the (graphic) file
220 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
222 * copy.C (copy): open file in binary mode (for cygwin)
224 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
226 * lyxsum.C: remove #warnings and replaced them with runtime debug
229 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
231 * lyxalgo.h: include <algorithm>
233 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
235 * lyx_algo.h: add a standard-conforming count to namespace lyx.
237 * lstrings.[Ch] (countChar): removed. Use lyx::count.
239 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
241 * filetools.C: fix use of FileInfo
244 * FileInfo.C: add Asserts and documentation
246 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
248 * os_win32.C: compilation fixes
250 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
252 * lstrings.h: do not include <cctype>
254 2001-12-12 Ben Stanley <bds02@uow.edu.au>
256 * lyxsum.C: portability fix for mmap patch
258 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
262 * lyxstring.C: change "while(" to "while ("
264 2001-12-03 Ben Stanley <bds02@uow.edu.au>
266 * lyxsum.C: Added mmap version of CRC and made it selected
267 by default where available. Used process_block for crc for speedup.
269 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
271 * filetools.C: more robust failure for DirList()
273 2001-11-29 André Pönitz <poenitz@gmx.net>
275 * types.h: introduce types for textclass numbers and layout numbers
277 2001-11-28 André Pönitz <poenitz@gmx.net>
279 * Makefile.am: put types.h in
281 2001-11-26 André Pönitz <poenitz@gmx.net>
283 * types.h: introduce types for paragraph positions and layout numbers
285 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
287 * filetools.C: remove dead code
289 * syscall.C: show prog in fail case
291 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
293 * filetools.C: code style cleanup
295 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
297 * os.h: remove spurious punctuation.
299 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
302 * LAssert.C: use new emergencyCleanup()
304 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
307 like GNU gettext does.
309 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
311 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
313 (findtexfile): oops! the change from last friday was wrong...
315 * os_win32.C (is_absolute_path):
316 * os_unix.C (is_absolute_path):
317 * os_os2.C (is_absolute_path): new method
319 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
321 * filetools.C (findtexfile): apply os::internal_path to the result.
323 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
328 * os.h: add internal_path method, which converts a unix-type file
329 name to the type known to the underlying file system (currently
330 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
332 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
334 * smart_ptr.h: new file
336 * utility.h: new file
338 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
341 * filetools.C (IsDirWriteable): fix this
343 2001-07-26 Baruch Even <baruch@lyx.org>
345 * lyxlib.h (float_equal): Added function to compare floats almost equal
346 (see function comment).
348 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
350 Consistent use of Lsstream.h:
351 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
353 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * translator.h: (*it). -> it->
357 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
359 * filetools.C (DeleteAllFilesInDir): send debug output to
360 Debug::FILES instewad of Debug::ANY.
362 * DebugStream.h: remove gcc 2.8.x hack.
364 2001-06-26 The LyX Project <jug@sad.it>
367 * lstrings.C (escape): move method to escape non ascii characters
368 from insets label and ref to here.
370 2001-06-25 The LyX Project <jug@sad.it>
372 * filetools.C (IsLyXFilename):
373 (IsSGMLFilename): do case insensitive name matching
375 2001-06-24 The LyX Project <jug@sad.it>
377 * lstrings.C (compare_ascii_no_case): version of compare_no_case
378 which only considers case of ascii characters
380 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
383 2001-06-23 The LyX Project <jug@sad.it>
385 * textutils.h (IsPrintable): take into account unprintable spaces
387 (IsDigit): new function
388 (IsLetterCharOrDigit): use IsDigit
390 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * filetools.C (findtexfile): strip final \r if necessary (for
395 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
398 * StrPool.C: removed // -*- C++ -*- as first line.
400 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
402 * lyxsum.C (do_crc): switch to use boost::crc for generating the
405 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * LSubstring.C: bring C functions in global namespace if
413 * lstrings.h (compare): use the std:: version of str[n]cmp only
416 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
418 * syscontr.C: add std::
420 * syscall.C: add std::
422 * lstrings.h (compare): add std::
424 * lstrings.C (prefixIs): add std::
428 * LSubstring.C (LSubstring): add std::
430 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
432 * lyxsum.C (sum): use istreambuf_iterator when available.
434 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
436 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
439 * lyxstring.C (operator): make const operator[] behave as
442 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
444 * Makefile.am (EXTRA_DIST): add the os_*.C files.
446 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
448 * filetools.C (MakeAbsPath): remove debugging statement
450 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
452 * FileInfo.h: X_OK workaround for cygwin
461 * filetools.h: Added os:: class.
465 * tempname.C: OS/2 fixes
467 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
469 * textutils.h: remvoe !NEW_INSETS cruft
471 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * atoi.C: add using directives when needed for C functions
475 declared in std:: namespace.
477 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
479 * lstrings.C : add two helper structs, local_lowercase and
481 (lowercase): change to use std::transform
482 (uppercase): change to use std::transform
484 2001-04-25 Allan Rae <rae@lyx.org>
486 * lyxstring.C : Assert got moved and Lars missed a few.
488 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
490 * LAssert.h (Assert): put into namespace lyx
492 * lyxfunctional.h: put into namespace lyx
493 * translator.h: adjust
495 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
497 * lyxalgo.h: put into namespace lyx, add firster and copy_if
499 * FileInfo.h: inherit privately from noncopyable
502 2001-04-16 Allan Rae <rae@lyx.org>
504 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
505 as an unrecognised preprocessor directive. So ensure they're wrapped.
507 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
509 * several files: remove CXX_WORKING_NAMESPACES
511 * FileInfo.h: noncopyable is in namespace boost
514 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
516 * syscontr.h: fix header include
518 2001-02-28 Baruch Even <baruch@ev-en.org>
520 * filetools.C: Removed dependency on syscall.h
523 * syscall.C: Minor cleanings before I start to touch this code.
525 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
527 * filetools.C (CreateTmpDir): change umask to 0700.
529 2001-02-27 José Matos <jamatos@fep.up.pt>
531 * filetools.h (BasePath):
532 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
534 * filetools.C (IsLyXFilename):
535 * filetools.C (IsSGMLFilename): test if extension is suffix and not
538 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
542 * atoi.C: remove cruft
544 2001-02-06 albert chin <china@thewrittenword.com>
547 * fmt.C: use HAVE_DECL_SNPRINTF
549 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
551 * lyxstring.C: Fix some assertions.
553 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
555 * lstrings.C (strip): Add a fix for compilers with broken
556 string::find_last_not_of.
558 * filetools.C (AddPath): Simplify by using strip and frontStrip.
560 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
562 * lyxstring.C (rfind): Fix broken functions.
563 (find): Few optimizations.