1 2002-04-14 Herbert Voss <voss@perce.de>
3 * lstrings.[Ch]: move the getVectorFromString and the vice versa
4 from frontends/controllers/helper_funcs for better use in other
7 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
9 * tempname.C (make_tempfile): simplify the #ifdef block by using
10 #if defined and re-write the #warning as a #error because it's terminal.
12 2002-04-08 Herbert Voss <voss@perce.de>
14 * filetools.C (getExtFromContents): get tgif run
16 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
18 * filetools.C (getExtFromContents): re-format a little and remove
19 replicated "sgi" entry.
21 2002-04-07 Herbert Voss <voss@perce.de>
23 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
24 for the lyx-view in graphics (moved from ControlGraphics)
26 2002-04-07 Herbert Voss <voss@perce.de>
28 * filetools.C: fix bug for eps. scans now a whole line
30 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * lyxstring.C (operator>>): use the better solution, this fixes a
33 "not able to read '\0'" bug.
35 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * translator.h: add missing typename
39 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
41 * filetools.C (LibScriptSearch): new command. Searches for scripts
42 in lyx data directories.
43 (LibScriptSearch): try to use split() correctly.
45 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * most files: ws cleanup
49 * Makefile.am: remove ld -r stuff
51 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
53 * Makefile.am (libsupport.la): special rules if partial linking
55 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
57 * forkedcontr.C: turn the timer off when their are no longer any
58 child processes running.
60 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
62 * forkedcall.h: docy fix
63 change SignalType second type to be const ref.
65 * forkedcall.C: doxy fix
67 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
69 * lyxsum.C: compilation fix
71 2002-03-02 Herbert Voss <voss@perce.de>
73 * filetools.C: fix bug for xbm format and added some more debug
76 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * forkedcontr.h: make constructor public
80 * types.h: remove layout_type
82 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
84 * filetools.C (getExtFromContents): cleanup.
86 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
88 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
90 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
91 building outside of source tree.
93 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
96 * forkedcontr.[Ch]: new files. Asger's forked call controller is
97 re-born, with a working timer and a modified interface. The
98 startscript method is now passed a Signal rather than a pointer
99 to a callback function. This enables us to connect to the method of
100 a C++ class, if we so desire.
102 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
104 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
109 * nt_defines.h: moved from src/
111 2002-02-23 Herbert Voss <voss@perce.de>
113 * filetools.C: added more graphic formats
115 2002-02-18 Herbert Voss <voss@perce.de>
117 * filetools.C: (getExtFromContents) return the fileextension
118 if no format is detected.
120 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
122 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
123 as class SystemCall because one Systemcall instance represents a
124 single child process.
127 * Makefile.am: associated changes.
129 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
131 * syscall.C (Systemcalls): include <cstdlib>
133 2002-02-08 Herbert Voss <voss@perce.de>
135 * filetools.C: (getExtFromContents) adding Grace-format
138 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
141 * syssingleton.C: files removed.
143 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
144 uses it. Strip down the Systemcalls interface to make it brutally
145 obvious how unsophisticated it is.
147 2002-02-08 Herbert Voss <voss@perce.de>
149 * filetools.C: (getExtFromContents) adding TGIF-format
150 and return type "user" when no type is detected
152 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
154 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
156 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
158 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
160 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
162 * FileInfo.h: remove special cygwin code.
164 * filetools.C (do_popen): use os::read_mode().
166 * os_win32.C (read_mode):
167 * os_os2.C (read_mode):
168 * os_unix.C (read_mode): new method
170 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
171 Hentschel). This code should maybe be moved to os:: class.
173 2002-02-08 Herbert Voss <voss@perce.de>
175 * filetools.C: (unzipFile) fix typo
177 2002-02-06 Herbert Voss <voss@perce.de>
179 * filetools.[Ch]: fix some bugs for detecting zipped files
182 2002-02-04 Herbert Voss <voss@perce.de>
184 * filetools.[Ch]: add ifZippedFile() for zipped
187 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
189 * filetools.C (FileOpenSearch): remove duplicated line, probably
190 resulting from bad cut-and paste.
192 2002-01-31 Herbert Voss <voss@perce.de>
194 * filetools.[Ch]: add getExtFromContents(), which returns
195 the type of the (graphic) file
197 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
199 * copy.C (copy): open file in binary mode (for cygwin)
201 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
203 * lyxsum.C: remove #warnings and replaced them with runtime debug
206 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
208 * lyxalgo.h: include <algorithm>
210 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
212 * lyx_algo.h: add a standard-conforming count to namespace lyx.
214 * lstrings.[Ch] (countChar): removed. Use lyx::count.
216 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
218 * filetools.C: fix use of FileInfo
221 * FileInfo.C: add Asserts and documentation
223 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
225 * os_win32.C: compilation fixes
227 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
229 * lstrings.h: do not include <cctype>
231 2001-12-12 Ben Stanley <bds02@uow.edu.au>
233 * lyxsum.C: portability fix for mmap patch
235 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * lyxstring.C: change "while(" to "while ("
241 2001-12-03 Ben Stanley <bds02@uow.edu.au>
243 * lyxsum.C: Added mmap version of CRC and made it selected
244 by default where available. Used process_block for crc for speedup.
246 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
248 * filetools.C: more robust failure for DirList()
250 2001-11-29 André Pönitz <poenitz@gmx.net>
252 * types.h: introduce types for textclass numbers and layout numbers
254 2001-11-28 André Pönitz <poenitz@gmx.net>
256 * Makefile.am: put types.h in
258 2001-11-26 André Pönitz <poenitz@gmx.net>
260 * types.h: introduce types for paragraph positions and layout numbers
262 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
264 * filetools.C: remove dead code
266 * syscall.C: show prog in fail case
268 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
270 * filetools.C: code style cleanup
272 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
274 * os.h: remove spurious punctuation.
276 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
279 * LAssert.C: use new emergencyCleanup()
281 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
283 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
284 like GNU gettext does.
286 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
290 (findtexfile): oops! the change from last friday was wrong...
292 * os_win32.C (is_absolute_path):
293 * os_unix.C (is_absolute_path):
294 * os_os2.C (is_absolute_path): new method
296 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * filetools.C (findtexfile): apply os::internal_path to the result.
300 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
305 * os.h: add internal_path method, which converts a unix-type file
306 name to the type known to the underlying file system (currently
307 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
309 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
311 * smart_ptr.h: new file
313 * utility.h: new file
315 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
318 * filetools.C (IsDirWriteable): fix this
320 2001-07-26 Baruch Even <baruch@lyx.org>
322 * lyxlib.h (float_equal): Added function to compare floats almost equal
323 (see function comment).
325 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
327 Consistent use of Lsstream.h:
328 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
330 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * translator.h: (*it). -> it->
334 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
336 * filetools.C (DeleteAllFilesInDir): send debug output to
337 Debug::FILES instewad of Debug::ANY.
339 * DebugStream.h: remove gcc 2.8.x hack.
341 2001-06-26 The LyX Project <jug@sad.it>
344 * lstrings.C (escape): move method to escape non ascii characters
345 from insets label and ref to here.
347 2001-06-25 The LyX Project <jug@sad.it>
349 * filetools.C (IsLyXFilename):
350 (IsSGMLFilename): do case insensitive name matching
352 2001-06-24 The LyX Project <jug@sad.it>
354 * lstrings.C (compare_ascii_no_case): version of compare_no_case
355 which only considers case of ascii characters
357 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
360 2001-06-23 The LyX Project <jug@sad.it>
362 * textutils.h (IsPrintable): take into account unprintable spaces
364 (IsDigit): new function
365 (IsLetterCharOrDigit): use IsDigit
367 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
369 * filetools.C (findtexfile): strip final \r if necessary (for
372 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
375 * StrPool.C: removed // -*- C++ -*- as first line.
377 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * lyxsum.C (do_crc): switch to use boost::crc for generating the
382 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * LSubstring.C: bring C functions in global namespace if
390 * lstrings.h (compare): use the std:: version of str[n]cmp only
393 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
395 * syscontr.C: add std::
397 * syscall.C: add std::
399 * lstrings.h (compare): add std::
401 * lstrings.C (prefixIs): add std::
405 * LSubstring.C (LSubstring): add std::
407 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
409 * lyxsum.C (sum): use istreambuf_iterator when available.
411 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
413 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
416 * lyxstring.C (operator): make const operator[] behave as
419 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
421 * Makefile.am (EXTRA_DIST): add the os_*.C files.
423 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
425 * filetools.C (MakeAbsPath): remove debugging statement
427 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
429 * FileInfo.h: X_OK workaround for cygwin
438 * filetools.h: Added os:: class.
442 * tempname.C: OS/2 fixes
444 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * textutils.h: remvoe !NEW_INSETS cruft
448 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
451 * atoi.C: add using directives when needed for C functions
452 declared in std:: namespace.
454 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
456 * lstrings.C : add two helper structs, local_lowercase and
458 (lowercase): change to use std::transform
459 (uppercase): change to use std::transform
461 2001-04-25 Allan Rae <rae@lyx.org>
463 * lyxstring.C : Assert got moved and Lars missed a few.
465 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
467 * LAssert.h (Assert): put into namespace lyx
469 * lyxfunctional.h: put into namespace lyx
470 * translator.h: adjust
472 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
474 * lyxalgo.h: put into namespace lyx, add firster and copy_if
476 * FileInfo.h: inherit privately from noncopyable
479 2001-04-16 Allan Rae <rae@lyx.org>
481 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
482 as an unrecognised preprocessor directive. So ensure they're wrapped.
484 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
486 * several files: remove CXX_WORKING_NAMESPACES
488 * FileInfo.h: noncopyable is in namespace boost
491 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
493 * syscontr.h: fix header include
495 2001-02-28 Baruch Even <baruch@ev-en.org>
497 * filetools.C: Removed dependency on syscall.h
500 * syscall.C: Minor cleanings before I start to touch this code.
502 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
504 * filetools.C (CreateTmpDir): change umask to 0700.
506 2001-02-27 José Matos <jamatos@fep.up.pt>
508 * filetools.h (BasePath):
509 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
511 * filetools.C (IsLyXFilename):
512 * filetools.C (IsSGMLFilename): test if extension is suffix and not
515 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
519 * atoi.C: remove cruft
521 2001-02-06 albert chin <china@thewrittenword.com>
524 * fmt.C: use HAVE_DECL_SNPRINTF
526 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
528 * lyxstring.C: Fix some assertions.
530 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
532 * lstrings.C (strip): Add a fix for compilers with broken
533 string::find_last_not_of.
535 * filetools.C (AddPath): Simplify by using strip and frontStrip.
537 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
539 * lyxstring.C (rfind): Fix broken functions.
540 (find): Few optimizations.