1 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8 * StrPool.C: remove unused files
18 * types.h: document and small cleanups
20 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * switch from SigC signals to boost::signals.
24 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
27 * limited_stack.h: new template for limited-size
30 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * filetools.C: do not include LSubstring.h
34 * lstrings.C: change include order
35 (regexMatch): use boost regex get rid of LRegex and LSubstring
37 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
40 * LSubstring.h: remove file
47 2002-05-24 Juergen Vigna <jug@sad.it>
49 * lyxsum.C: include local includes first (self containment)
51 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
53 * forkedcall.h: use more specific smart_ptr header.
55 * lyxsum.C: move some using declarations around.
57 2002-05-03 Herbert Voss <voss@perce.de>
59 * filetools.C (getExtFromContents): only print the first 60 chars of
60 the scanned-string when debugging.
62 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * lyxstring.C: close to typo fix.
66 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
68 * filetools.C: add a using std::getline directive.
70 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * lyxstring.C (operator>>): try a new version of the operator>>
74 2002-04-14 Herbert Voss <voss@perce.de>
76 * lstrings.[Ch]: move the getVectorFromString and the vice versa
77 from frontends/controllers/helper_funcs for better use in other
80 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
82 * tempname.C (make_tempfile): simplify the #ifdef block by using
83 #if defined and re-write the #warning as a #error because it's terminal.
85 2002-04-08 Herbert Voss <voss@perce.de>
87 * filetools.C (getExtFromContents): get tgif run
89 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
91 * filetools.C (getExtFromContents): re-format a little and remove
92 replicated "sgi" entry.
94 2002-04-07 Herbert Voss <voss@perce.de>
96 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
97 for the lyx-view in graphics (moved from ControlGraphics)
99 2002-04-07 Herbert Voss <voss@perce.de>
101 * filetools.C: fix bug for eps. scans now a whole line
103 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * lyxstring.C (operator>>): use the better solution, this fixes a
106 "not able to read '\0'" bug.
108 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * translator.h: add missing typename
112 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
114 * filetools.C (LibScriptSearch): new command. Searches for scripts
115 in lyx data directories.
116 (LibScriptSearch): try to use split() correctly.
118 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * most files: ws cleanup
122 * Makefile.am: remove ld -r stuff
124 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * Makefile.am (libsupport.la): special rules if partial linking
128 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
130 * forkedcontr.C: turn the timer off when their are no longer any
131 child processes running.
133 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
135 * forkedcall.h: docy fix
136 change SignalType second type to be const ref.
138 * forkedcall.C: doxy fix
140 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
142 * lyxsum.C: compilation fix
144 2002-03-02 Herbert Voss <voss@perce.de>
146 * filetools.C: fix bug for xbm format and added some more debug
149 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
151 * forkedcontr.h: make constructor public
153 * types.h: remove layout_type
155 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
157 * filetools.C (getExtFromContents): cleanup.
159 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
161 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
163 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
164 building outside of source tree.
166 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
169 * forkedcontr.[Ch]: new files. Asger's forked call controller is
170 re-born, with a working timer and a modified interface. The
171 startscript method is now passed a Signal rather than a pointer
172 to a callback function. This enables us to connect to the method of
173 a C++ class, if we so desire.
175 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
177 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
182 * nt_defines.h: moved from src/
184 2002-02-23 Herbert Voss <voss@perce.de>
186 * filetools.C: added more graphic formats
188 2002-02-18 Herbert Voss <voss@perce.de>
190 * filetools.C: (getExtFromContents) return the fileextension
191 if no format is detected.
193 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
195 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
196 as class SystemCall because one Systemcall instance represents a
197 single child process.
200 * Makefile.am: associated changes.
202 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
204 * syscall.C (Systemcalls): include <cstdlib>
206 2002-02-08 Herbert Voss <voss@perce.de>
208 * filetools.C: (getExtFromContents) adding Grace-format
211 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
214 * syssingleton.C: files removed.
216 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
217 uses it. Strip down the Systemcalls interface to make it brutally
218 obvious how unsophisticated it is.
220 2002-02-08 Herbert Voss <voss@perce.de>
222 * filetools.C: (getExtFromContents) adding TGIF-format
223 and return type "user" when no type is detected
225 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
227 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
229 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
231 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
233 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
235 * FileInfo.h: remove special cygwin code.
237 * filetools.C (do_popen): use os::read_mode().
239 * os_win32.C (read_mode):
240 * os_os2.C (read_mode):
241 * os_unix.C (read_mode): new method
243 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
244 Hentschel). This code should maybe be moved to os:: class.
246 2002-02-08 Herbert Voss <voss@perce.de>
248 * filetools.C: (unzipFile) fix typo
250 2002-02-06 Herbert Voss <voss@perce.de>
252 * filetools.[Ch]: fix some bugs for detecting zipped files
255 2002-02-04 Herbert Voss <voss@perce.de>
257 * filetools.[Ch]: add ifZippedFile() for zipped
260 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
262 * filetools.C (FileOpenSearch): remove duplicated line, probably
263 resulting from bad cut-and paste.
265 2002-01-31 Herbert Voss <voss@perce.de>
267 * filetools.[Ch]: add getExtFromContents(), which returns
268 the type of the (graphic) file
270 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
272 * copy.C (copy): open file in binary mode (for cygwin)
274 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
276 * lyxsum.C: remove #warnings and replaced them with runtime debug
279 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
281 * lyxalgo.h: include <algorithm>
283 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
285 * lyx_algo.h: add a standard-conforming count to namespace lyx.
287 * lstrings.[Ch] (countChar): removed. Use lyx::count.
289 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
291 * filetools.C: fix use of FileInfo
294 * FileInfo.C: add Asserts and documentation
296 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
298 * os_win32.C: compilation fixes
300 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
302 * lstrings.h: do not include <cctype>
304 2001-12-12 Ben Stanley <bds02@uow.edu.au>
306 * lyxsum.C: portability fix for mmap patch
308 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * lyxstring.C: change "while(" to "while ("
314 2001-12-03 Ben Stanley <bds02@uow.edu.au>
316 * lyxsum.C: Added mmap version of CRC and made it selected
317 by default where available. Used process_block for crc for speedup.
319 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
321 * filetools.C: more robust failure for DirList()
323 2001-11-29 André Pönitz <poenitz@gmx.net>
325 * types.h: introduce types for textclass numbers and layout numbers
327 2001-11-28 André Pönitz <poenitz@gmx.net>
329 * Makefile.am: put types.h in
331 2001-11-26 André Pönitz <poenitz@gmx.net>
333 * types.h: introduce types for paragraph positions and layout numbers
335 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
337 * filetools.C: remove dead code
339 * syscall.C: show prog in fail case
341 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
343 * filetools.C: code style cleanup
345 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
347 * os.h: remove spurious punctuation.
349 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
352 * LAssert.C: use new emergencyCleanup()
354 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
356 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
357 like GNU gettext does.
359 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
361 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
363 (findtexfile): oops! the change from last friday was wrong...
365 * os_win32.C (is_absolute_path):
366 * os_unix.C (is_absolute_path):
367 * os_os2.C (is_absolute_path): new method
369 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * filetools.C (findtexfile): apply os::internal_path to the result.
373 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
378 * os.h: add internal_path method, which converts a unix-type file
379 name to the type known to the underlying file system (currently
380 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
382 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * smart_ptr.h: new file
386 * utility.h: new file
388 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
391 * filetools.C (IsDirWriteable): fix this
393 2001-07-26 Baruch Even <baruch@lyx.org>
395 * lyxlib.h (float_equal): Added function to compare floats almost equal
396 (see function comment).
398 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
400 Consistent use of Lsstream.h:
401 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
403 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
405 * translator.h: (*it). -> it->
407 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
409 * filetools.C (DeleteAllFilesInDir): send debug output to
410 Debug::FILES instewad of Debug::ANY.
412 * DebugStream.h: remove gcc 2.8.x hack.
414 2001-06-26 The LyX Project <jug@sad.it>
417 * lstrings.C (escape): move method to escape non ascii characters
418 from insets label and ref to here.
420 2001-06-25 The LyX Project <jug@sad.it>
422 * filetools.C (IsLyXFilename):
423 (IsSGMLFilename): do case insensitive name matching
425 2001-06-24 The LyX Project <jug@sad.it>
427 * lstrings.C (compare_ascii_no_case): version of compare_no_case
428 which only considers case of ascii characters
430 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
433 2001-06-23 The LyX Project <jug@sad.it>
435 * textutils.h (IsPrintable): take into account unprintable spaces
437 (IsDigit): new function
438 (IsLetterCharOrDigit): use IsDigit
440 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * filetools.C (findtexfile): strip final \r if necessary (for
445 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
448 * StrPool.C: removed // -*- C++ -*- as first line.
450 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * lyxsum.C (do_crc): switch to use boost::crc for generating the
455 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
460 * LSubstring.C: bring C functions in global namespace if
463 * lstrings.h (compare): use the std:: version of str[n]cmp only
466 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
468 * syscontr.C: add std::
470 * syscall.C: add std::
472 * lstrings.h (compare): add std::
474 * lstrings.C (prefixIs): add std::
478 * LSubstring.C (LSubstring): add std::
480 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * lyxsum.C (sum): use istreambuf_iterator when available.
484 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
489 * lyxstring.C (operator): make const operator[] behave as
492 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
494 * Makefile.am (EXTRA_DIST): add the os_*.C files.
496 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
498 * filetools.C (MakeAbsPath): remove debugging statement
500 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
502 * FileInfo.h: X_OK workaround for cygwin
511 * filetools.h: Added os:: class.
515 * tempname.C: OS/2 fixes
517 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
519 * textutils.h: remvoe !NEW_INSETS cruft
521 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
524 * atoi.C: add using directives when needed for C functions
525 declared in std:: namespace.
527 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * lstrings.C : add two helper structs, local_lowercase and
531 (lowercase): change to use std::transform
532 (uppercase): change to use std::transform
534 2001-04-25 Allan Rae <rae@lyx.org>
536 * lyxstring.C : Assert got moved and Lars missed a few.
538 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
540 * LAssert.h (Assert): put into namespace lyx
542 * lyxfunctional.h: put into namespace lyx
543 * translator.h: adjust
545 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
547 * lyxalgo.h: put into namespace lyx, add firster and copy_if
549 * FileInfo.h: inherit privately from noncopyable
552 2001-04-16 Allan Rae <rae@lyx.org>
554 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
555 as an unrecognised preprocessor directive. So ensure they're wrapped.
557 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
559 * several files: remove CXX_WORKING_NAMESPACES
561 * FileInfo.h: noncopyable is in namespace boost
564 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
566 * syscontr.h: fix header include
568 2001-02-28 Baruch Even <baruch@ev-en.org>
570 * filetools.C: Removed dependency on syscall.h
573 * syscall.C: Minor cleanings before I start to touch this code.
575 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
577 * filetools.C (CreateTmpDir): change umask to 0700.
579 2001-02-27 José Matos <jamatos@fep.up.pt>
581 * filetools.h (BasePath):
582 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
584 * filetools.C (IsLyXFilename):
585 * filetools.C (IsSGMLFilename): test if extension is suffix and not
588 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
592 * atoi.C: remove cruft
594 2001-02-06 albert chin <china@thewrittenword.com>
597 * fmt.C: use HAVE_DECL_SNPRINTF
599 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
601 * lyxstring.C: Fix some assertions.
603 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
605 * lstrings.C (strip): Add a fix for compilers with broken
606 string::find_last_not_of.
608 * filetools.C (AddPath): Simplify by using strip and frontStrip.
610 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
612 * lyxstring.C (rfind): Fix broken functions.
613 (find): Few optimizations.