]> git.lyx.org Git - lyx.git/blob - src/support/ChangeLog
bug fix (missing assingment of split result)
[lyx.git] / src / support / ChangeLog
1
2 2002-07-18  André Pönitz <poenitz@gmx.net>
3
4         * filetools.C (LibScriptSearch): bug fix
5
6 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7
8         * filetools.C (LyXReadLink): add bool 'resolve' to return link
9         contents as an absolute path
10
11 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12
13         * filetools.C (IsLyXFilename):
14         (IsSGMLFilename): use ascii_lowercase instead of lowercase
15
16         * lstrings.[Ch] (ascii_lowercase): new function
17         
18 2002-07-16  André Pönitz <poenitz@gmx.net>
19
20         * FileInfo.Ch: remove unneeded code
21
22 2002-06-20  Herbert Voss  <voss@perce.de>
23
24         * filetools.[C] (readExtFromContents): add support for
25         (x)fig format images
26                 
27 2002-06-26  André Pönitz <poenitz@gmx.net>
28
29         * filetools.[Ch]: small whitespace, more compact 'return' statement
30
31 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
32
33         * lyxalgo.h: add eliminate_duplicates
34
35 2002-06-17  Herbert Voss  <voss@perce.de>
36
37         * filetools.[C]: (readBB_from_PSFile) add a helperfunc
38         (readBB_lyxerrMessage) to get better lyxerr messages
39         (getExtFromContents) test epsi files in the right way
40                 
41         * DestroxLyXTmpDir.C: changed to true, to delete the
42         temporary unzipped files, too.
43
44 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
45
46         * putenv.C (putenv): putenv should never be found in std::
47
48         * kill.C (kill): kill should never be found in std::
49
50         * filetools.C: pclose and popen should never be found in std::
51
52 2002-06-07  Angus Leeming  <leeming@lyx.org>
53
54         Fixes needed to compile with Compaq cxx 6.5.
55         * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
56         lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
57         more than one instance of overloaded function "lyx::class_fun" matches
58         the argument list.
59
60         * filetools.C:
61         * kill.C:
62         * lstrings.C:
63         * putenv.C:
64         * snprintf.h:
65         * systemcall.C:
66         * utility.h:
67         all c-library variables have been moved into namespace std.
68         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
69
70         * kill.C: rename signal.h as csignal.
71
72         * putenv.C: rename stdlib.h as cstdlib
73
74 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
75
76         * lxtl.h: remove unused file
77
78 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
79
80         * Makefile.am:
81         * date.C:
82         * getUserName.C:
83         * fileblocks.c:
84         * StrPool.h:
85         * StrPool.C: remove unused files
86
87         * lyxalgo.h:
88         * lyxlib.h:
89         * mkdir.C:
90         * path.h:
91         * path.C:
92         * systemcall.C:
93         * textutils.h:
94         * translator.h:
95         * types.h: document and small cleanups
96
97 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
98
99         * switch from SigC signals to boost::signals.
100
101 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
102
103         * Makefile.am:
104         * limited_stack.h: new template for limited-size
105           stacks
106
107 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
108
109         * filetools.C: do not include LSubstring.h
110
111         * lstrings.C: change include order
112         (regexMatch): use boost regex get rid of LRegex and LSubstring
113
114         * Makefile.am (libsupport_la_SOURCES): delete regex and substring
115         stuff.
116
117         * LSubstring.h: remove file
118         * regex.c: ditto
119         * lyxregex.h: ditto
120         * LRegex.C: ditto
121         * LRegex.h: ditto
122         * LSubstring.C: ditto
123
124 2002-05-24  Juergen Vigna  <jug@sad.it>
125
126         * lyxsum.C: include local includes first (self containment)
127
128 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
129
130         * forkedcall.h: use more specific smart_ptr header.
131
132         * lyxsum.C: move some using declarations around.
133
134 2002-05-03  Herbert Voss  <voss@perce.de>
135
136         * filetools.C (getExtFromContents): only print the first 60 chars of
137         the scanned-string when debugging.
138
139 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
140
141         * lyxstring.C: close to typo fix.
142
143 2002-05-02  Angus Leeming  <a.leeming@ic.ac.uk>
144
145         * filetools.C: add a using std::getline directive.
146
147 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
148
149         * lyxstring.C (operator>>): try a new version of the operator>>
150
151 2002-04-14  Herbert Voss  <voss@perce.de>
152
153         * lstrings.[Ch]: move the getVectorFromString and the vice versa
154         from frontends/controllers/helper_funcs for better use in other
155         programs
156
157 2002-04-15  Angus Leeming  <a.leeming@ic.ac.uk>
158
159         * tempname.C (make_tempfile): simplify the #ifdef block by using
160         #if defined and re-write the #warning as a #error because it's terminal.
161
162 2002-04-08  Herbert Voss  <voss@perce.de>
163
164         * filetools.C (getExtFromContents): get tgif run
165
166 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
167
168         * filetools.C (getExtFromContents): re-format a little and remove
169         replicated "sgi" entry.
170
171 2002-04-07  Herbert Voss  <voss@perce.de>
172
173         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
174         for the lyx-view in graphics (moved from ControlGraphics)
175
176 2002-04-07  Herbert Voss  <voss@perce.de>
177
178         * filetools.C: fix bug for eps. scans now a whole line
179
180 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
181
182         * lyxstring.C (operator>>): use the better solution, this fixes a
183         "not able to read '\0'" bug.
184
185 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
186
187         * translator.h: add missing typename
188
189 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
190
191         * filetools.C (LibScriptSearch): new command. Searches for scripts
192         in lyx data directories.
193         (LibScriptSearch): try to use split() correctly.
194
195 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
196
197         * most files: ws cleanup
198
199         * Makefile.am: remove ld -r stuff
200
201 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
202
203         * Makefile.am (libsupport.la): special rules if partial linking
204
205 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
206
207         * forkedcontr.C: turn the timer off when their are no longer any
208         child processes running.
209
210 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
211
212         * forkedcall.h: docy fix
213         change SignalType second type to be const ref.
214
215         * forkedcall.C: doxy fix
216
217 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
218
219         * lyxsum.C: compilation fix
220
221 2002-03-02  Herbert Voss  <voss@perce.de>
222
223         * filetools.C: fix bug for xbm format and added some more debug
224         infos
225
226 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
227
228         * forkedcontr.h: make constructor public
229
230         * types.h: remove layout_type
231
232 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
233
234         * filetools.C (getExtFromContents): cleanup.
235
236         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
237
238 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
239
240         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
241         building outside of source tree.
242
243 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
244
245         * forkedcall.[Ch]:
246         * forkedcontr.[Ch]: new files. Asger's forked call controller is
247         re-born, with a working timer and a modified interface. The
248         startscript method is now passed a Signal rather than a pointer
249         to a callback function. This enables us to connect to the method of
250         a C++ class, if we so desire.
251
252         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
253
254 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
255
256         * Makefile.am:
257         * os2_defines.h:
258         * os2_errortable.h:
259         * nt_defines.h: moved from src/
260
261 2002-02-23  Herbert Voss  <voss@perce.de>
262
263         * filetools.C: added more graphic formats
264
265 2002-02-18  Herbert Voss  <voss@perce.de>
266
267         * filetools.C: (getExtFromContents) return the fileextension
268         if no format is detected.
269
270 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
271
272         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
273         as class SystemCall because one Systemcall instance represents a
274         single child process.
275
276         * filetools.C:
277         * Makefile.am: associated changes.
278
279 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
280
281         * syscall.C (Systemcalls): include <cstdlib>
282
283 2002-02-08  Herbert Voss  <voss@perce.de>
284
285         * filetools.C: (getExtFromContents) adding Grace-format
286         for filetypes
287
288 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
289
290         * syscontr.[Ch]:
291         * syssingleton.C: files removed.
292
293         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
294         uses it. Strip down the Systemcalls interface to make it brutally
295         obvious how unsophisticated it is.
296
297 2002-02-08  Herbert Voss  <voss@perce.de>
298
299         * filetools.C: (getExtFromContents) adding TGIF-format
300         and return type "user" when no type is detected
301
302 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
303
304         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
305
306 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
307
308         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
309
310 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
311
312         * FileInfo.h: remove special cygwin code.
313
314         * filetools.C (do_popen): use os::read_mode().
315
316         * os_win32.C (read_mode):
317         * os_os2.C (read_mode):
318         * os_unix.C (read_mode): new method
319
320         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
321         Hentschel). This code should maybe be moved to os:: class.
322
323 2002-02-08  Herbert Voss  <voss@perce.de>
324
325         * filetools.C: (unzipFile) fix typo
326
327 2002-02-06  Herbert Voss  <voss@perce.de>
328
329         * filetools.[Ch]: fix some bugs for detecting zipped files
330         adding unzipFile()
331
332 2002-02-04  Herbert Voss  <voss@perce.de>
333
334         * filetools.[Ch]: add ifZippedFile() for zipped
335         graphic files
336
337 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
338
339         * filetools.C (FileOpenSearch): remove duplicated line, probably
340         resulting from bad cut-and paste.
341
342 2002-01-31  Herbert Voss  <voss@perce.de>
343
344         * filetools.[Ch]: add getExtFromContents(), which returns
345         the type of the (graphic) file
346
347 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
348
349         * copy.C (copy): open file in binary mode (for cygwin)
350
351 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
352
353         * lyxsum.C: remove #warnings and replaced them with runtime debug
354         info.
355
356 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
357
358         * lyxalgo.h: include <algorithm>
359
360 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
361
362         * lyx_algo.h: add a standard-conforming count to namespace lyx.
363
364         * lstrings.[Ch] (countChar): removed. Use lyx::count.
365
366 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
367
368         * filetools.C: fix use of FileInfo
369
370         * FileInfo.h:
371         * FileInfo.C: add Asserts and documentation
372
373 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
374
375         * os_win32.C: compilation fixes
376
377 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
378
379         * lstrings.h: do not include <cctype>
380
381 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
382
383         * lyxsum.C: portability fix for mmap patch
384
385 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
386
387         * filetools.C:
388         * lstrings.C:
389         * lyxstring.C: change "while(" to "while ("
390
391 2001-12-03  Ben Stanley <bds02@uow.edu.au>
392
393         * lyxsum.C: Added mmap version of CRC and made it selected
394         by default where available. Used process_block for crc for speedup.
395
396 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
397
398         * filetools.C: more robust failure for DirList()
399
400 2001-11-29  André Pönitz <poenitz@gmx.net>
401
402         * types.h: introduce types for textclass numbers and layout numbers
403
404 2001-11-28  André Pönitz <poenitz@gmx.net>
405
406         * Makefile.am: put types.h in
407
408 2001-11-26  André Pönitz <poenitz@gmx.net>
409
410         * types.h: introduce types for paragraph positions and layout numbers
411
412 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
413
414         * filetools.C: remove dead code
415
416         * syscall.C: show prog in fail case
417
418 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
419
420         * filetools.C: code style cleanup
421
422 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
423
424         * os.h: remove spurious punctuation.
425
426 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
427
428         * LAssert.h:
429         * LAssert.C: use new emergencyCleanup()
430
431 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
432
433         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
434         like GNU gettext does.
435
436 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
437
438         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
439         several methods)
440         (findtexfile): oops! the change from last friday was wrong...
441
442         * os_win32.C (is_absolute_path):
443         * os_unix.C (is_absolute_path):
444         * os_os2.C (is_absolute_path): new method
445
446 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
447
448         * filetools.C (findtexfile): apply os::internal_path to the result.
449
450 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
451
452         * os_win32.C:
453         * os_unix.C:
454         * os_os2.C:
455         * os.h: add internal_path method, which converts a unix-type file
456         name to the type known to the underlying file system (currently
457         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
458
459 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
460
461         * smart_ptr.h: new file
462
463         * utility.h: new file
464
465 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
466
467         * filetools.h:
468         * filetools.C (IsDirWriteable): fix this
469
470 2001-07-26  Baruch Even  <baruch@lyx.org>
471
472         * lyxlib.h (float_equal): Added function to compare floats almost equal
473         (see function comment).
474
475 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
476
477         Consistent use of Lsstream.h:
478         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
479
480 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
481
482         * translator.h: (*it). -> it->
483
484 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
485
486         * filetools.C (DeleteAllFilesInDir): send debug output to
487         Debug::FILES instewad of Debug::ANY.
488
489         * DebugStream.h: remove gcc 2.8.x hack.
490
491 2001-06-26  The LyX Project  <jug@sad.it>
492
493         * lstrings.h:
494         * lstrings.C (escape): move method to escape non ascii characters
495         from insets label and ref to here.
496
497 2001-06-25  The LyX Project  <jug@sad.it>
498
499         * filetools.C (IsLyXFilename):
500         (IsSGMLFilename): do case insensitive name matching
501
502 2001-06-24  The LyX Project  <jug@sad.it>
503
504         * lstrings.C (compare_ascii_no_case): version of compare_no_case
505         which only considers case of ascii characters
506
507         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
508         sstream header.
509
510 2001-06-23  The LyX Project  <jug@sad.it>
511
512         * textutils.h (IsPrintable): take into account unprintable spaces
513         above 127.
514         (IsDigit): new function
515         (IsLetterCharOrDigit): use IsDigit
516
517 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
518
519         * filetools.C (findtexfile): strip final \r if necessary (for
520         cygwin)
521
522 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
523
524         * FileInfo.C:
525         * StrPool.C: removed // -*- C++ -*- as first line.
526
527 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
528
529         * lyxsum.C (do_crc): switch to use boost::crc for generating the
530         checksum.
531
532 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
533
534         * lstrings.C:
535         * syscall.C:
536         * syscontr.C:
537         * LSubstring.C: bring C functions in global namespace if
538         necessary.
539
540         * lstrings.h (compare): use the std:: version of str[n]cmp only
541         when it exists.
542
543 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
544
545         * syscontr.C: add std::
546
547         * syscall.C: add std::
548
549         * lstrings.h (compare): add std::
550
551         * lstrings.C (prefixIs): add std::
552         (suffixIs): ditto
553         (subst): ditto
554
555         * LSubstring.C (LSubstring): add std::
556
557 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
558
559         * lyxsum.C (sum): use istreambuf_iterator when available.
560
561 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
562
563         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
564         directly instead.
565
566         * lyxstring.C (operator): make const operator[] behave as
567         non-const and at.
568
569 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
570
571         * Makefile.am (EXTRA_DIST): add the os_*.C files.
572
573 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
574
575         * filetools.C (MakeAbsPath): remove debugging statement
576
577 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
578
579         * FileInfo.h: X_OK workaround for cygwin
580
581         * Makefile.am:
582         * os.C:
583         * os.h:
584         * os_os2.C:
585         * os_unix.C:
586         * os_win32.C:
587         * filetools.C:
588         * filetools.h: Added os:: class.
589
590         * rename.C:
591         * syscall.C:
592         * tempname.C: OS/2 fixes
593
594 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
595
596         * textutils.h: remvoe !NEW_INSETS cruft
597
598 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
599
600         * fmt.C:
601         * atoi.C: add using directives when needed for C functions
602         declared in std:: namespace.
603
604 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
605
606         * lstrings.C : add two helper structs, local_lowercase and
607         local_uppercase.
608         (lowercase): change to use std::transform
609         (uppercase): change to use std::transform
610
611 2001-04-25  Allan Rae  <rae@lyx.org>
612
613         * lyxstring.C : Assert got moved and Lars missed a few.
614
615 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
616
617         * LAssert.h (Assert): put into namespace lyx
618
619         * lyxfunctional.h: put into namespace lyx
620         * translator.h: adjust
621
622 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
623
624         * lyxalgo.h: put into namespace lyx, add firster and copy_if
625
626         * FileInfo.h: inherit privately from noncopyable
627         * path.h: ditto
628
629 2001-04-16  Allan Rae  <rae@lyx.org>
630
631         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
632         as an unrecognised preprocessor directive.  So ensure they're wrapped.
633
634 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
635
636         * several files: remove CXX_WORKING_NAMESPACES
637
638         * FileInfo.h: noncopyable is in namespace boost
639         * path.h: ditto
640
641 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
642
643         * syscontr.h: fix header include
644
645 2001-02-28  Baruch Even  <baruch@ev-en.org>
646
647         * filetools.C: Removed dependency on syscall.h
648
649         * syscall.h:
650         * syscall.C: Minor cleanings before I start to touch this code.
651
652 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
653
654         * filetools.C (CreateTmpDir): change umask to 0700.
655
656 2001-02-27  José Matos  <jamatos@fep.up.pt>
657
658         * filetools.h (BasePath):
659         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
660
661         * filetools.C (IsLyXFilename):
662         * filetools.C (IsSGMLFilename): test if extension is suffix and not
663         only contained.
664
665 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
666
667         * fmt.C:
668         * filetools.C:
669         * atoi.C: remove cruft
670
671 2001-02-06  albert chin  <china@thewrittenword.com>
672
673         * snprintf.h:
674         * fmt.C: use HAVE_DECL_SNPRINTF
675
676 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
677
678         * lyxstring.C: Fix some assertions.
679
680 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
681
682         * lstrings.C (strip): Add a fix for compilers with broken
683         string::find_last_not_of.
684
685         * filetools.C (AddPath): Simplify by using strip and frontStrip.
686
687 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
688
689         * lyxstring.C (rfind): Fix broken functions.
690         (find): Few optimizations.