]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1bfb78a556b73415c90521ed9a12cd6a4ebce6fa
[lyx.git] / src / ChangeLog
1 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * cursor.C (insert): use for_each instead of explicit for loop
4
5         * bufferlist.C (getFileNames): use std::transform and
6         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
7
8         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
9         for loop
10
11         * buffer.C (changeLanguage): use for_each instead of explicit for
12         loop
13         (hasParWithID): implement using getParFromID
14
15         * LaTeXFeatures.C: ws change only
16
17         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
18         to cleanup a bit.
19
20         * BufferView_pimpl.C (trackChanges): use for_each instead of
21         expilicit for loop
22
23 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * lyxlength.C (asLatexString): rewrite so that it does not use
26         snprintf anymore
27
28 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * text3.C (specialChar, dispatch): make sure cursor moves to the
31         right after inserting an inset
32
33 2004-11-02  José Matos  <jamatos@lyx.org>
34
35         * output_docbook.C (docbook):
36         * paragraph.C (getID):
37         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
38         garantee that the output is always legal.
39
40         * tabular.C (docbook):
41         * outputprams.[Ch]: remove mixed contents.
42
43 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
44
45         * text2.C (setCounter): prevent endless loop
46
47 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * exporter.C (copyFile): use the mover instead of support::copy()
50         * exporter.C (Export): pass format and latex name to copyFile()
51         * exporter.h (addExternalFile): document
52         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
53
54 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
57
58 2004-10-30  José Matos  <jamatos@lyx.org>
59
60         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
61         text and no inset or font change. This allows to use CDATA
62         sections just for the whole paragraph.
63
64 2004-10-30  José Matos  <jamatos@lyx.org>
65
66         * paragraph.C (getFirstWord): remove unused variable.
67
68 2004-10-30  José Matos  <jamatos@lyx.org>
69
70         * paragraph.C (getFirstWord): the content should always be escaped
71         there.
72         (simpleDocBookOnePar):
73         * output_docbook.C (makeEnvironment): replace reference to CDATA
74         to style pass_thru.
75
76 2004-10-30  José Matos  <jamatos@lyx.org>
77
78         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
79
80 2004-10-30  José Matos  <jamatos@lyx.org>
81
82         * output_docbook.C (makeParagraphs):
83         * paragraph.[Ch] (emptyTag): for docbook and company, if the
84         standard paragraph has only a given type of content drop the wrapper.
85
86 2004-10-29  José Matos  <jamatos@lyx.org>
87
88         * output_docbook.C (makeEnvironment):
89         * sgml.C (openTag):
90         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
91
92 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
93
94         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
95         (cleanID): sanitize any id.
96
97 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * buffer.C, lyxlex_pimpl.C:
100         * lyxlex_pimpl.C (setFile):
101         s/getExtFromContents/getFormatFromContents/
102
103 2004-10-28  José Matos  <jamatos@lyx.org>
104
105         * output_docbook.C (makeEnvironment): move id to broadest possible
106         scope.
107
108         * sgml.C (openTag): apply substitution of <> for all attributes.
109
110 2004-10-28  José Matos  <jamatos@lyx.org>
111
112         * buffer.C (makeLinuxDocFile, makeDocBookFile):
113         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
114         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
115
116         * sgml.[Ch]: new version for open and closeTag for paragraph and
117         for strings. Now they handle the ids of paragraphs.
118
119 2004-10-26  Angus Leeming  <leeming@lyx.org>
120
121         * Makefile.am: add mover.[Ch].
122
123         * converter.C (convert, move): use the new Movers to move external
124         files to the temp directory.
125
126         * lyx_main.C (init): ensure that the global system_movers data
127         is initialised.
128
129         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
130         preferences file.
131
132         * mover.[Ch]: new files, defining a Mover as a utility to move an
133         external file between directories and, if necessary, manipulate this
134         file using a helper script.
135
136 2004-10-25  José Matos  <jamatos@lyx.org>
137
138         * output_docbook.C (makeCommand): merge two if's that tested the
139         same condition.
140
141 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * sgml.C (escapeString): fix warning in a better way
144
145 2004-10-25  José Matos  <jamatos@lyx.org>
146
147         * sgml.C (escapeString): import the require boosts header file for
148         tie, and avoid a signed unsigned comparison.
149
150 2004-10-25  José Matos  <jamatos@lyx.org>
151
152         * sgml.h: add #include <string>
153
154 2004-10-25  José Matos  <jamatos@lyx.org>
155
156         * sgml.[Ch] (escapeString): new function to escape all the string.
157
158 2004-10-24  José Matos  <jamatos@lyx.org>
159
160         * paragraph.[Ch] (getFirstWord): new function to get the first
161         word. Useful for description.
162         (simpleDocBookOnePar): remove depth argument, add another that
163         says where to start the paragraph.
164
165         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
166         use the new functions to fix cleanly the support for descriptions.
167
168 2004-10-24  José Matos  <jamatos@lyx.org>
169
170         * buffer.C (makeLinuxDocFile, makeDocBookFile):
171         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
172         * output_linuxdoc.C (linuxdocParagraphs):
173         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
174         add buffer as argument.
175
176 2004-10-24  José Matos  <jamatos@lyx.org>
177
178         * output_docbook.C (makeEnvironment, searchEnvironment): place
179         CDATA inside paragraphs and fix scope for listitems.
180
181 2004-10-24  José Matos  <jamatos@lyx.org>
182
183         * output_docbook.C: remove using statement for stack.
184
185 2004-10-23  José Matos  <jamatos@lyx.org>
186
187         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
188         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
189         docbook. The new scheme is recursive and makes use of iterators, the
190         same as latex export works.
191         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
192         directly with the paragraph contents. This code was moved up to
193         output_docbook.C (docbookParagraphs).
194         * sgml.C (openTag, closeTag): removed unneeded newlines.
195         (closeEnvTags) removed.
196
197 2003-10-23  André Pönitz  <poenitz@gmx.net>
198
199         * undo.C (textUndoOrRedo):
200         * dociterator.C (asDocIterator): work around crash
201
202         * cursor.C (getStatus): replace ASSERT by more verbose error message
203           and manual correction of the problem. Should increase stability
204           while providing more sensible information.
205
206 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
209
210         * bufferlist.C (previous, next): new methods
211
212         * lfuns.h:
213         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
214
215 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
216
217         * buffer.C (makeDocBookFile): add dsssl stylesheet control
218         entities to preamble.
219
220 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
221
222         * messages.C (Pimpl): strip off translation context information
223
224 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
227         the cursor is correct (bug 1694)
228
229 2004-10-13  José Matos  <jamatos@lyx.org>
230
231         * output_docbook.C (docbookParagraphs): fix closing tags in the
232         end of the document.
233
234 2004-10-09  José Matos  <jamatos@lyx.org>
235
236         * buffer.C: format up to 237.
237         * bufferparams.C (write): use tostr to convert booleans to strings.
238
239 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
240
241         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
242
243 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * LaTeX.C: implement use of babel language in xindy.
246
247 2004-10-05  José Matos  <jamatos@lyx.org>
248
249         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
250         Add new translators to help reading and writing the lyx file.
251
252 2004-10-05  José Matos  <jamatos@lyx.org>
253
254         * ParagraphParameters.C (read):
255         * text.C (readParToken): replace nexToken by more appropriate lex
256         methods.
257
258 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
259
260         * LaTeX.C (runMakeIndex):
261         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
262         (usually 'makeindex') configurable.
263
264         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
265         with a variable rather than with a number.
266
267 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * output_latex.C (TeXOnePar): make sure font setting is the first
270         thing that gets output (and the last at the end). Should fix bug
271         1404.
272
273 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * pch.h: use proper signal include
276
277         * LaTeX.h: Use preferred calling of Boost.Signal
278         * buffer.h: ditto
279
280 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
281
282         * pch.h: dont include <boost/function/function0.hpp>
283
284         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
285
286         * paragraph_pimpl.h: remove usage of ShareContainer
287
288         * paragraph_pimpl.C: remove initialization of ShareContainer.
289
290 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         Fix bug #1666
293
294         * BufferView.C (putSelectionAt): change the semantics when
295         backwards == true: now, this just swaps cursor and anchor wrt the
296         forward case
297
298         * BufferView.h (putSelectionAt): add some documentation
299
300         * lyxfind.C (findBackwards): rewrite using while(). In particular,
301         make sure backwardChar is done at least once (to avoid getting
302         stuck)
303         (findNextChange): use putSelectionAt in the forward direction
304         (operator()): use Paragraph::isWord
305
306 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
307
308         * Spacing.C (set): c_str fix
309
310 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * lyx_cb.C (Reconfigure): quote the name of configure script in
313         case it contains spaces
314
315 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
316
317         * client: new dir
318
319         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
320         (BOOST_LIBS): use top_buildir when looking for the file
321
322 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
323
324         * pch.h: do not use include boost/format.hpp, multiple symbols
325                 will result (gcc bug)
326
327
328 2004-08-23  José Matos  <jamatos@lyx.org>
329
330         * bufferparams.C (readToken): fix reading of the author field.
331
332 2004-08-20  José Matos  <jamatos@lyx.org>
333
334         * lyxrc.C: remove support/translator.h inclusion since it is not used.
335
336 2004-08-20  José Matos  <jamatos@lyx.org>
337
338         * lyxlex.[Ch] (findToken): remove function.
339
340         * ParagraphParameters.C (findToken):
341         * bufferparams.C (findToken): replace call for previous function
342         with local copy. This local function has one more argument, the
343         read string argument.
344
345 2004-08-16  José Matos  <jamatos@lyx.org>
346
347         * ParagraphParameters.C (write):
348         * Spacing.C (writeFile):
349         * bufferparams.C (writeLaTeX):
350         * lyx_cb.C (Reconfigure):
351         * paragraph.C (write):
352         * tabular.C (write): remove unnecessary space at end of line.
353
354
355 2004-08-16  José Matos  <jamatos@lyx.org>
356
357         * text.C (readParagraph): remove debug message.
358
359 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
362         crash
363
364         * output_plaintext.C (asciiParagraph): set depth correctly
365
366         * outputparams.h: add member depth
367
368         * paragraph_funcs.C (ownerPar): remove.
369
370         * text2.C (setCounter): remove first_pit; comment out some
371         non-working code that uses ownerPar
372
373         * BufferView.C (getParentLanguage): remove. Not used anymore, and
374         uses ownerPar
375
376 2004-08-16  José Matos  <jamatos@lyx.org>
377
378         * text.C (readParToken, readParagraph, read): report all unknown tokens.
379         For the same level of importance use the same chanel to report problems.
380         (read): add code to deal with \begin_body and \end_body.
381
382
383 2004-08-15  José Matos  <jamatos@lyx.org>
384
385         * lyxlex.C (getString): fix comment, buffer::readBody is now
386         buffer:readDocument.
387
388         * tex-strings.C (string_papersize): Default -> default,
389         Custom -> custom, for consistency with other options.
390
391 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
392
393         * pch.h: new file
394
395         * Makefile.am: support pch
396
397 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * text.C (readParToken): remove the static LyXFont variable and
400         pass it as a parameter instead. This fixes a nasty bug where an
401         inset will be inserted with a bad font in some situations
402         (readParagraph): adapt
403
404         * text2.C (setCounter): reduce number of calls to pars_[pit]
405
406         * text.C (singleWidth): add an assert, fix a test
407
408         * rowpainter.C (paintText): reduce number of calls to singleWidth
409
410         * paragraph.C (isHfill):
411         (isNewline): ws only
412
413 2004-08-14  André Pönitz  <poenitz@gmx.net>
414
415         * text.C:
416         * text2.C:
417         * rowpainter.C:
418         * lyxtext.h (several functions): use a Paragraph & argument
419         instead of par_type
420
421 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * metricsinfo.h: add a new field ltr_pos to PainterInfo
424
425         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
426
427         * text.C (singleWidth): remove useless test
428
429 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * tabular.h: remove bogus comments
432
433         * tabular.C (getDescentOfRow):
434         (isPartOfMultiColumn): add assertions
435
436         * lyxlength.C (inPixels): remove #warning
437
438 2004-08-14  André Pönitz  <poenitz@gmx.net>
439
440         * paragraph.h: inline getChar()
441
442         * BufferView.h: remove unused declarations
443
444 2004-08-14  José Matos  <jamatos@lyx.org>
445
446         * Buffer.[Ch] (readDocument): new name for old readBody.
447         * Buffer.C: new file format, new keywords: \begin_document,
448         \begin_header, \begin_body, \end_body.
449
450         * bufferparams.C (readToken): replace all calls to lex.nextToken
451         by lex.next(). Do the same to eatLine except where really needed.
452
453         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
454         line when writing to the lyx file.
455
456         * output_plaintext.C (asciiParagraph): fix Bibliography style
457         handling.
458
459         * text.C (read): fix end of file handling.
460
461 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * MenuBackend.C (Menu::operator[]): new method to access
464         individual menu items
465         (Menu::hasFunc): new method. search for an item that corresponds
466         to a given func
467         (MenuBackend::specialMenu): new method
468         (MenuBackend::expand): if a special menu has been set, skip
469         entries whose func() appears in this menu
470
471 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
472
473         * text3.C: use Debug::DEBUG a bit more
474
475         * text.C (leftMargin): try to simplify a tiny bit change var x to
476         l_margin. Dont output the wide margins always.
477         (rightMargin): no margin in inner texts
478
479         * rowpainter.h (nestMargin): new func
480         (changebarMargin): new func
481         (rightMargin): new func
482
483         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
484         now functions.
485         (paintLast): ditto
486
487         * factory.C (createInset): modify setDrawFrame
488
489         * cursor.C: use Debug::DEBUG a bit more
490
491 2004-08-14  André Pönitz  <poenitz@gmx.net>
492
493         * coordcache.[Ch]:
494         * Makefile.am: new files to accomodate an 'external' (x,y)-position
495         cache for all insets in (at least partially) visible (top-level)
496         paragraphs.
497
498         * BufferView_pimpl.C: reset external coord cache before every update.
499         This means the coord cache only contains valid entries.
500
501 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
502
503         bug 1096
504         * BufferView_pimpl.C (getInsetByCode): move function out of class
505         and change in to a template in anon namespace. Also fix to do what
506         suits us better.
507
508 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
509
510         bug 1305
511         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
512         of char
513         (breakParagraph): rename par to par_offset and use a local
514         reference. Add code to keep the language over a rebreak.
515         (breakParagraphConservative): rename par to par_offset, use a
516         local reference
517         (mergeParagraph): ditto
518         (outerHook): ditto
519         (isFirstInSequence): ditto
520         (outerFont): rename pit to par_offset
521
522         * paragraph.C: ws change
523         * paragraph.h: ditto
524         * text3.C: ditto
525         * text.C: ditto
526
527 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
530         treatment for ']'
531
532         * paragraph.C (simpleTeXOnePar): when we have a \item with
533         optional argument, enclose the argument with curly brackets (in
534         case it contains a closing square bracket)
535
536         * text2.C (editXY):
537         * text2.C (editXY):
538         * text3.C (checkInsetHit): constify
539
540 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
543         documents (bug 1629)
544
545 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         Fix toggling of collapsable insets with the mouse (bug 1558)
548
549         * lyxfunc.C (dispatch): adapt to LCursor changes
550
551         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
552         make sure that dispatch is not invoked twice
553
554         * cursor.C (needsUpdate): new method
555         (dispatch): return void
556         (result): new method, to access the DispatchResult of the cursor.
557
558 2004-08-13  José Matos  <jamatos@lyx.org>
559
560         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
561
562 2004-08-13  André Pönitz  <poenitz@gmx.net>
563
564         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
565
566         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
567           multiple cells
568
569 2004-08-12  André Pönitz  <poenitz@gmx.net>
570
571         * text3.C: take out the 'cursor right' form insertInset and only
572         do it in those places when it is really needed. Fixes crash on
573         C-m...
574
575 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
578
579         * BufferView_pimpl.C (setBuffer): initialize the current font of
580         the underlying LyXText
581
582 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * kbsequence.C (print): use UI native formatting for menu
585         shortcuts
586
587         * text.C (insertChar): call Paragraph::insertChar with a font
588         argument (cosmetic)
589
590         * paragraph.C (insertInset, insertChar): the version that takes a
591         LyXFont argument is now a wrapper around the other one (the
592         opposite used to be true).
593
594         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
595         argument. Font setting is done in Paragraph now.
596
597 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         * outputparams.h: add new members intitle and lang.
600
601         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
602         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
603
604 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * text3.C (dispatch): remove special handling of button 4 and 5,
607         it is now taken care of in the frontend code.
608
609 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
610
611         * Spacing.h: add <string> (STLPort compile fix)
612
613 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
614
615         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
616
617 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
618
619         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
620         to bool.
621
622         * converter.C (showMessage): inherit from unary_function, make
623         operator() const.
624
625         * buffer.C (writeFile): initialize retval
626
627         * InsetList.h: rename private variable list to list_
628         * InsetList.[Ch]: adjust accordingly.
629
630 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
631
632         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
633         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
634         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
635         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
636         * ParagraphParameters.C, LaTeXFeatures.C: replace
637         "support/std_sstream.h" with <sstream>
638
639 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
642         * lyxsocket.C (LyXServerSocket): ditto
643         (serverCallback): ditto
644
645 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
646
647         * LaTeXFeatures.C: check release date when loading jurabib.
648
649 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * lyxserver.C (startPipe): call register_socket_callback
652         (endPipe): call unregister_socket_callback
653
654 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
657         (LyXServerSocket): register the callback
658         (LyXServerSocket): unregister the callback
659         (fd): delete function
660         (serverCallback): improve error checking and setup the callbacks.
661         (dataCallback): change arg to fd.
662         (writeln): new func (copied fro the client socket) used for server
663         write to client.
664         (LyXDataSocket): simplify
665         (~LyXDataSocket): close ann unregiser callback
666         (server): delete function
667         (fd): delete function
668         (readln): small changes, improve some std::string usage
669         (writeln): constify a bit
670
671 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
674         Qt frontend
675
676 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * BufferView_pimpl.C (setBuffer): set the layout combox value only
679         after it has been populated
680
681 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * text2.C (insertInset): move cursor when inserting inset.
684
685 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * kbmap.C (findbindings): a couple of new methods. returns a
688         container of kb_sequence objects. The real work is done by the
689         private recursive version
690         (printbindings): uses findbindings to print out a bracketed list
691         of bindings (renamed from findbinding).
692
693         * MenuBackend.C (binding): use kb_keymap::findbindings
694
695         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
696
697 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
698
699         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
700
701 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * paragraph.C (isWord): return true on insets that report
704         isLetter().
705
706         * text.C (getWord): use Paragraph::isWord to decide what is in a
707         word and what is not; fix bug 1609.
708
709 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
710
711         * tex-strings.C: add "none" to string_paperpackages[], fixes
712         off-by-one-error in the paperpackage selection.
713
714         * lyxlex.[Ch]:
715         * tex-strings.[Ch]: char const * string[n]
716         -> char const * const string[]
717
718 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
721         command, return early.
722
723 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
724
725         * debug.h: add DEBUG to enum and fix size of ANY.
726
727         * debug.C: add support for Debug::DEBUG
728         (showTags): cast errorTags.level to unsigned int
729
730         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
731         (redoCurrentBuffer): ditto
732         (updateScrollbar): ditto
733         * cursor.C (dispatch): ditto
734         * text2.C (setLayout): ditto
735         (setFont): ditto
736         (updateCounters): ditto
737         (editXY): ditto
738         (deleteEmptyParagraphMechanism): ditto
739
740 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
743         annotations to cleanup the Makefile slightly.
744
745 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * lyxrc.C: do not set user_email to a default value but use empty
748         instead. The entry used to be translated, which does not work
749         since at the point where lyxrc is constructed there is no
750         translation service available
751
752         * messages.C (getLocaleDir): remove and use directly
753         lyx_localedir() instead
754
755 2004-06-02  Angus Leeming  <leeming@lyx.org>
756
757         Fix crash caused by dereferencing null pointer 'exportdata' in
758         OutputParams by creating a new ExportData variable on the heap,
759         storing it in a boost::shared_ptr.
760         The crash was triggered when generating an Instant Preview
761         of an external inset.
762
763         * Makefile.am: add outputparams.C
764
765         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
766         (c-tor): allocate memory to it.
767
768         * exporter.C (c-tor): associated changes.
769
770 2004-06-01  Angus Leeming  <leeming@lyx.org>
771
772         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
773         contains data before calling isInset(0). (Bug 1513.)
774
775 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * exporter.C (checkOverwrite): new method
778         * exporter.C (copyFile): new method
779         * exporter.C (Export): copy referenced files to the document dir
780         * exporter.[Ch]: new class ExportedFile
781         * exporter.[Ch]: new class ExportData. Contains currently the
782         names of referenced external files
783         * outputparams.h: add exportdata member.
784
785 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
788         version.C-tmp
789
790 2004-05-19  Angus Leeming  <leeming@lyx.org>
791
792         * LaTeXFeatures.C:
793         * ToolbarBackend.C:
794         * bufferparams.C:
795         * lyxfunc.C: small changes due to the introduction of namespace
796         lyx::frontend and the moving of namespace biblio to lyx::biblio.
797
798 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
799
800         * text3.C (dispatch): supress update when only moving the cursor
801         * cursor.C (selHandle): remove commented code
802
803 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
804
805         * paragraph.C (startTeXParParams): correct column count
806         * CutAndPaste.C (pasteSelection): remove const_cast
807         * output_docbook.C (docbookParagraphs): remove const_cast
808         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
809         const_cast and return ParagraphList::const_iterator
810         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
811         * output_plaintext.C (writeFileAscii): remove const_cast
812         * paragraph.[Ch] (simpleTeXOnePar): make const
813         * paragraph_funcs.C (outerPar): use const iterators
814         * paragraph_pimpl.C (validate): use const iterators
815         * text.C (setHeightOfRow): use const iterators
816
817 2004-05-17  Angus Leeming  <leeming@lyx.org>
818
819         * lfuns.h:
820         * LyXAction.C (init): new LFUN_INSET_REFRESH.
821
822         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
823         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
824         if the citation engine has changed.
825
826 2004-05-14  José Matos  <jamatos@lyx.org>
827
828         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
829         if the textclass does not provide it. Have it different for sgml and
830         xml.
831         support the language of document.
832         * output_docbook.C (docbookParagraphs):
833         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
834         first anchor as the id of the paragraph, remove special case code.
835         * sgml.C (escapeChar): escape only < & >.
836
837 2004-05-14  Angus Leeming  <leeming@lyx.org>
838
839         * bufferparams.h: move biblio::CiteEngine enum here to minimize
840         dependencies on src/frontends/controllers/biblio.h. Define a
841         CiteEngine_enum wrapper class to enable the enum to be forward
842         declared.
843
844 2004-05-12  Angus Leeming  <leeming@lyx.org>
845
846         * buffer.C: up LYX_FORMAT to 234.
847         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
848         use_numerical_citations with a single biblio::CiteEngine cite_engine
849         variable.
850         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
851
852 2004-05-13  José Matos  <jamatos@lyx.org>
853
854         * converter.h:
855         * converter.C (Converter, readFlags): add xml member.
856         * outputparams.h: add XML flavor.
857         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
858
859 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * lyxfunc.C (dispatch):
862         (getStatus): fix handling of LFUN_SEQUENCE
863
864 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * debug.C (showLevel): do not forget the end-of-line marker
867
868 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * kbmap.C (read): do not stop parsing a bind file when an error
871         occurs (bug 1575)
872
873 2004-04-29  Angus Leeming  <leeming@lyx.org>
874
875         * cursor.C:
876         * factory.C:
877         * pariterator.C:
878         * text2.C: wrap a bunch of #warning statements
879         inside #ifdef WITH_WARNINGS blocks.
880
881 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
882
883         * buffer.C: increment format to 233.
884
885 2004-04-28  Angus Leeming  <leeming@lyx.org>
886
887         * BufferView_pimpl.C:
888         * lyxfunc.C:
889         * text3.C:
890         s/updateToolbar()/updateToolbars()/
891         s/Toolbar.h/Toolbars.h/
892
893 2004-04-28  Angus Leeming  <leeming@lyx.org>
894
895         * BufferView.[Ch] (c-tor):
896         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
897         No longer passes these data to the WorkArea generator.
898
899 2004-04-28  Angus Leeming  <leeming@lyx.org>
900
901         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
902
903 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
904
905         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
906
907 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
908
909         * output_latex.C (TeXEnvironment): make sure that there is a line
910         break before \end{foo} for the last paragraph of a document
911         (TeXOnePar): if the paragraph is at the end of the document (or
912         inset) and the language has to be reset, then make sure that the
913         line break is _before_ the language command, not after (fixes bug
914         1225); also make sure that the language reset command is the first
915         thing after the paragraph (to ensure proper nesting of
916         environments and thus fix bug 1404)
917
918 2004-04-21  John Levon  <levon@movementarian.org>
919
920         * ToolbarBackend.h:
921         * ToolbarBackend.C: make "name" be a programmatic name
922         and a gui_name field.
923
924         * lyxfunc.C: display the minibuffer on M-x
925
926 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
929         (bug 1526)
930
931 2004-04-19  Angus Leeming  <leeming@lyx.org>
932
933         * BufferView_pimpl.C (setBuffer): changed preview interface.
934
935         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
936         possible values.
937
938 2004-04-19  John Levon  <levon@movementarian.org>
939
940         * BufferView_pimpl.C:
941         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
942
943 2004-04-05  Angus Leeming  <leeming@lyx.org>
944
945         * text.C (redoParagraphs): add call to updateCounters(), thereby
946         fixing the missing "Figure #:" label from the caption of a
947         figure float.
948
949 2004-04-13  Angus Leeming  <leeming@lyx.org>
950
951         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
952         cursor is clicked out of an inset.
953
954 2004-04-13  Angus Leeming  <leeming@lyx.org>
955
956         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
957         than an InsetOld one.
958
959 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
960
961         * format.[Ch]: add editor to Format
962         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
963         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
964
965 2004-04-08  André Pönitz  <poenitz@gmx.net>
966
967         * metricsinfo.h: remove PainterInfo::width member
968
969 2004-04-08  Angus Leeming  <leeming@lyx.org>
970
971         * lyx_sty.C (boldsymbol_def): modify so that it outputs
972         "\providecommand" rather than "\newcommand", thereby preventing
973         clashes with packages that define "\boldsymbol" themselves.
974         Eg, beamer.
975
976 2004-04-08  Angus Leeming  <leeming@lyx.org>
977
978         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
979         thereby squashing an unnecessary warning.
980
981 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
982
983         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
984         setBuffer()
985
986 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
987
988         * BufferView.C (setCursor): call redoParagraph (some insets could
989         have been opened)
990         (putSelectionAt): remove the 'double update' trick
991
992         * BufferView_pimpl.C (fitCursor): call refreshPar
993         (workAreaDispatch): remove an uneeded update call
994         (dispatch): remove some manual update calls
995
996         * cursor.[Ch]: remove cached_y_, updatePos
997         (selHandle): set noUpdate when appropriate
998
999         * lyxfunc.C (dispatch): track if we need an update
1000
1001         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1002
1003         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1004         (paintSelection): cheap optimization, do not call cursorX when not
1005         needed
1006         (paintPars): change signature
1007         (refreshPar): add
1008         (paintText): adjust
1009         (paintTextInset): adjust
1010
1011         * text.C: adjust
1012
1013 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * lengthcommon.C: compilation fix: remove explicit array size from
1016         unit_name[] and friends
1017
1018 2004-04-05  Angus Leeming  <leeming@lyx.org>
1019
1020         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1021
1022         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1023         present only for the preferences dialog.
1024         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1025
1026 2004-04-05  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1029         to enable the frontends to export changes to lyxrc correctly.
1030
1031         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1032
1033 2004-04-07  André Pönitz  <poenitz@gmx.net>
1034
1035         * cursor.[Ch] (selClear, adjust): remove math
1036
1037         * cursor_slice.C: more agressive assert
1038
1039         * lyxfunc.C:
1040         * BufferView_pimpl.C: rework mouse event dispatch
1041
1042         * dociterator.C:
1043         * paragraph.C:
1044         * text2.C:
1045         * text3.C: adjust
1046
1047 2004-04-05  André Pönitz  <poenitz@gmx.net>
1048
1049         * cursor.[Ch] (valign, halign...): remove unneeded functions
1050
1051 2004-04-05  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyxlength.[Ch] (unit_name et al.): const-correct.
1054
1055 2004-04-05  Angus Leeming  <leeming@lyx.org>
1056
1057         * BufferView_pimpl.C:
1058         * buffer.C:
1059         * counters.C:
1060         * cursor.C:
1061         * lyxfunc.C
1062         * paragraph.C:
1063         * pariterator.C:
1064         * text.C:
1065         * text2.C:
1066         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1067
1068 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1069
1070         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1071
1072 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1075         * BufferView_pimpl.[Ch] (getStatus)
1076         * BufferView.[Ch] (getStatus): add
1077         * lyxfunc.C (getStatus): move lfuns handled in
1078         BufferView::dispatch to te function above
1079         * Cursor.C (setSelection): set selection() = true
1080
1081 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1084
1085 2004-03-31  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyxfunc.C (dispatch): Fall through to the generic
1088         Dialogs::show("preamble").
1089
1090 2004-03-31  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyxfunc.C (dispatch): Fall through to the generic
1093         Dialogs::show("spellchecker").
1094
1095 2004-03-31  Angus Leeming  <leeming@lyx.org>
1096
1097         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1098         preferences dialog.
1099
1100 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1101
1102         * BufferView.C
1103         * cursor.[Ch]
1104         * dociterator.[Ch]:
1105         * insetiterator.[Ch]:
1106         * lyxfind.C:
1107         * lyxfunc.C:
1108         * pariterator.[Ch]:
1109         * text2.C:
1110         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1111
1112 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1115         insets where we are putting the cursor.
1116
1117 2004-03-31  Angus Leeming  <leeming@lyx.org>
1118
1119         * lfuns.h:
1120         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1121
1122         * lyxrc.[Ch] (read, write): overloaded member functions taking
1123         a std::[io]stream arguments.
1124
1125         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1126
1127 2004-03-31  Angus Leeming  <leeming@lyx.org>
1128
1129         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1130         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1131
1132         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1133         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1134
1135 2004-03-31  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1138         the LFUN_ALL_INSETS_TOGGLE code.
1139
1140 2004-03-30  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1143         has died. Fall through to the generic Dialogs::show("document").
1144
1145 2004-03-30  Angus Leeming  <leeming@lyx.org>
1146
1147         * lfuns.h:
1148         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1149         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1150
1151         * lyxfunc.C (getStatus, dispatch): define the actions for these
1152         lfuns. Little more than a cut and pste job from ControlDocument.C
1153
1154         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1155
1156 2004-03-30  Angus Leeming  <leeming@lyx.org>
1157
1158         * lfuns.h:
1159         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1160         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1161
1162         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1163         open/closed state of ollapsable insets. Usage:
1164
1165         all-inset-toggle <state> <name>, where
1166         <state> == "open" || "closed" || "toggle" and
1167         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1168
1169         * lyxtext.h, text2.C (toggleInset): removed.
1170
1171         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1172         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1173         now passes LFUN_INSET_TOGGLE to the found inset.
1174
1175         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1176         is now invoked as "all-insets-toggle toggle branch".
1177
1178 2004-03-30  Angus Leeming  <leeming@lyx.org>
1179
1180         * dociterator.C:
1181         * insetiterator.C:
1182         * pariterator.[Ch]: added/corrected header blurb.
1183
1184 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * dociterator.[Ch]: add an inset_ member
1187         (backwardPos): implemented
1188         (backwardPos, forwardPos): use inset_ when the stack is empty.
1189         (doc_iterator_begin, doc_iterator_end): implemented
1190         * pariterator.[Ch]: adjust, add begin, end
1191         * insetiterator.[Ch]: adjust, add begin, end
1192         * cursor.C:
1193         * document.C:
1194         * BufferView.C:
1195         * BufferView_pimpl.C:
1196         * CutAndPaste.C: adjust
1197
1198 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * buffer.C: increment file format to 232.
1201         * LaTeXFeatures.C: add bibtopic package.
1202         * bufferparams.[Ch]: param \use_bibtopic.
1203
1204         * lyxrc.[Ch]: add lyxrc bibtex_command
1205         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1206
1207         * buffer.C: increment file format to 231.
1208
1209 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1210
1211         * dociterator.C: implement forwardPar
1212         * iterators.[Ch]: remove, replaced by
1213         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1214         * BufferView.C:
1215         * BufferView_pimpl.C:
1216         * CutAndPaste.C:
1217         * buffer.C:
1218         * bufferview_funcs.C:
1219         * cursor.C:
1220         * lyxfind.C
1221         * lyxfunc.C
1222         * paragraph_funcs.C
1223         * toc.C:
1224         * Makefile.am: adjust
1225
1226 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * CutAndPaste.C (pasteSelection): fix 2 crashes
1229         (eraseSelection): fix a crash
1230         * paragraph_funcs.C: remove a warning
1231
1232 2004-03-28  Angus Leeming  <leeming@lyx.org>
1233
1234         * lfuns.h:
1235         * LyXAction.C (init): new LFUN_PRINT.
1236
1237         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1238
1239 2004-03-27  Angus Leeming  <leeming@lyx.org>
1240
1241         * lfuns.h:
1242         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1243
1244         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1245
1246 2004-03-27  Angus Leeming  <leeming@lyx.org>
1247
1248         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1249         insetlist always contains non-null pointers to insets.
1250
1251 2004-03-26  Angus Leeming  <leeming@lyx.org>
1252
1253         * src/BufferView_pimpl.C:
1254         * src/CutAndPaste.C:
1255         * src/buffer.C:
1256         * src/iterators.C:
1257         * src/output_plaintext.C:
1258         * src/outputparams.h:
1259         * src/paragraph_funcs.C:
1260         * src/rowpainter.C:
1261         * src/text.C:
1262         * src/text2.C:
1263         * src/frontends/controllers/ControlErrorList.C:
1264         * src/frontends/gtk/FileDialogPrivate.C:
1265         * src/frontends/gtk/GPainter.C:
1266         * src/frontends/gtk/GToolbar.C:
1267         * src/frontends/qt2/QRef.C:
1268         * src/mathed/math_scriptinset.C: squash compiler warnings.
1269
1270 2004-03-26  Angus Leeming  <leeming@lyx.org>
1271
1272         * ispell.C (LaunchIspell::start):
1273         * lyx_cb.C (AutoSaveBuffer::start):
1274         invoke run(DontWait) rather than runNonBlocking().
1275
1276 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1279
1280 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * kbsequence.C (print): adjust
1283
1284         * kbmap.C (printKeySym): rename and change signature
1285         (printKey): use LyXKeySym::print()
1286
1287 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1288
1289         * undo.C: add using std::advance to compile for stlport
1290
1291 2004-03-24  Angus Leeming  <leeming@lyx.org>
1292
1293         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1294         it leads to a crash when no buffer is present.
1295
1296 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297             Martin Vermeer  <martin.vermeer@hut.fi>
1298
1299         * lyxfunc.C (dispatch):
1300         * bufferparams.C (readToken): use the new LColor::setColor
1301
1302         * LColor.[Ch] (setColor): new version that takes two strings as
1303         argument and creates a new color entry if necessary
1304
1305 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1306
1307         * buffer.C (makeLaTeXFile): if the main latex file that is
1308         processed is usually a subdocument of some master, then pretend
1309         for a while that it is actually the master
1310
1311 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1312
1313         * buffer.C (getLabelList):
1314         (getBibkeyList): use getMasterBuffer()
1315         (getMasterBuffer): new method. Returns the main document in the
1316         case where one is using included documents.
1317
1318 2004-03-25  André Pönitz  <poenitz@gmx.net>
1319
1320         * Makefile.am:
1321         * iterators.[Ch]:
1322         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1323
1324         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1325
1326         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1327         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1328
1329         * ParameterStruct.h: merge with ParagraphParameters
1330
1331         * lyxtext.h: remove LyXText::parOffset() and getPar()
1332
1333         * text3.C: Remove all 'manual' update calls. We do now one per user
1334         interaction which is completely sufficient.
1335
1336         * Bidi.C:
1337         * BufferView.[Ch]:
1338         * BufferView_pimpl.C:
1339         * FontIterator.[Ch]:
1340         * MenuBackend.C:
1341         * ParagraphParameters.[Ch]:
1342         * buffer.C:
1343         * buffer.h:
1344         * bufferlist.C:
1345         * cursor.[Ch]:
1346         * cursor_slice.[Ch]:
1347         * dociterator.[Ch]:
1348         * errorlist.[Ch]:
1349         * factory.C:
1350         * lfuns.h:
1351         * lyxfind.C:
1352         * lyxfunc.C:
1353         * output_docbook.[Ch]:
1354         * output_latex.[Ch]:
1355         * output_linuxdoc.[Ch]:
1356         * output_plaintext.[Ch]:
1357         * paragraph.[Ch]:
1358         * paragraph_funcs.[Ch]:
1359         * paragraph_pimpl.[Ch]:
1360         * rowpainter.C:
1361         * tabular.[Ch]:
1362         * text.C:
1363         * text2.C:
1364         * toc.C:
1365         * undo.[Ch]: adjust
1366
1367         * frontends/controllers/ControlDocument.C:
1368         * frontends/controllers/ControlErrorList.C:
1369         * frontends/controllers/ControlSpellchecker.C:
1370         * insets/inset.C:
1371         * insets/inset.h:
1372         * insets/insetbase.h:
1373         * insets/insetbibitem.C:
1374         * insets/insetbox.C:
1375         * insets/insetbranch.C:
1376         * insets/insetcaption.C:
1377         * insets/insetcharstyle.C:
1378         * insets/insetcharstyle.h:
1379         * insets/insetcollapsable.C:
1380         * insets/insetcollapsable.h:
1381         * insets/insetert.C:
1382         * insets/insetfloat.C:
1383         * insets/insetfoot.C:
1384         * insets/insetmarginal.C:
1385         * insets/insetnote.C:
1386         * insets/insetoptarg.C:
1387         * insets/insettabular.C:
1388         * insets/insettext.C:
1389         * insets/insettext.h:
1390         * insets/insetwrap.C:
1391         * mathed/math_mboxinset.C:
1392         * mathed/math_nestinset.C:
1393         * mathed/math_scriptinset.C:
1394         * mathed/math_scriptinset.h:
1395         * support/types.h:
1396
1397 2004-03-24  Angus Leeming  <leeming@lyx.org>
1398
1399         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1400         deal with any child processes that have finished but are waiting to
1401         communicate this fact to the rest of LyX.
1402
1403 2004-03-24  Angus Leeming  <leeming@lyx.org>
1404
1405         64-bit compile fixes.
1406
1407         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1408         (c-tor): pass lyx::pos_types rather than ints.
1409
1410         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1411         lyx::pos_type.
1412
1413         * text.C (Delete): compile fix.
1414         (getPar): ensure that function declaration is the same as that in
1415         the header file.
1416
1417 2004-03-23  Angus Leeming  <leeming@lyx.org>
1418
1419         * ispell.C (LaunchIspell):
1420         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1421         a boost::shred_ptr rather than a std::auto_ptr.
1422
1423 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1426         handle LFUN_FILE_INSERT_*
1427
1428         * lyxrc.C (setDefaults, getDescription, output, read):
1429         * lyxrc.h: remove ps_command
1430
1431 2004-03-22  Angus Leeming  <leeming@lyx.org>
1432
1433         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1434         Ensure that error_handler is processed once only and that all data
1435         is saved before attempting to output any warning messages.
1436
1437         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1438
1439 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1440
1441         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1442
1443 2004-03-19  André Pönitz  <poenitz@gmx.net>
1444
1445         * cursor.[Ch] (reset): take main text inset as argument
1446
1447         * BufferView: adjust
1448         * BufferView_pimpl.C: adjust
1449
1450         * paragraph.[Ch]: fix completely broken operator=()
1451
1452 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * LColor.C (getFromLyXName): make sure that the color name is used
1455         as lowercase.
1456
1457 2004-03-17  Angus Leeming  <leeming@lyx.org>
1458
1459         * lfuns.h:
1460         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1461
1462         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1463         dialog and to kill a forked process.
1464
1465 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * text2.C (setCursorFromCoordinates): fix font problem
1468
1469 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1470
1471         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1472         bogus "rebuild cursor" code
1473
1474 2004-03-11  André Pönitz  <poenitz@gmx.net>
1475
1476         * buffer.[Ch]: use InsetText instead of LyXText as container for
1477         the main lyx text.
1478
1479         * dociterator.[Ch]: drop the BufferView * member which is not needed
1480         anymore after the change to buffer.C
1481
1482         * paragraph_funcs.C:
1483         * text.C:
1484         * text2.C:
1485         * BufferView.[Ch]:
1486         * BufferView_pimpl.[Ch]:
1487         * cursor.[Ch]:
1488         * cursor_slice.[Ch]: adjust
1489
1490         * text3.C: fix bug in mathDispatch
1491
1492 2004-03-08  André Pönitz  <poenitz@gmx.net>
1493
1494         * undo.[Ch]: use 'StableDocumentIterator' as base for
1495         the Undo struct.
1496
1497 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1498
1499         * LaTeXFeatures.C:
1500         * bufferparams.[Ch]: add jurabib support and param.
1501
1502         * LaTeX.C: add FIXME/comment.
1503
1504 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1505
1506         * buffer.C: increment file format to 230.
1507
1508 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1509
1510         * cursor.C (dispatch): avoid infinite loops
1511
1512 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * rowpainter.C (paintSelection): fix x coordinates
1515
1516 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * text.C (rowBreakPoint): fix breaking before displayed insets
1519
1520 2004-03-01  André Pönitz  <poenitz@gmx.net>
1521
1522         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1523
1524         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1525
1526         * Makefile.am:
1527         * BufferView.C:
1528         * BufferView_pimpl.C:
1529         * buffer.C:
1530         * lyxfind.C:
1531         * lyxfunc.C:
1532         * text.C:
1533         * text2.C:
1534         * text3.C: adjust
1535
1536 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1537
1538         * lyxtext.h:
1539         * text.C:
1540         * text2.C:
1541         * rowpainter.C:
1542         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1543         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1544
1545 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1546
1547         * Bidi.[Ch] (computeTables): const correctness
1548         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1549         fill_hfill, fill_label_hfill and x from Row
1550         * lyxtext.h: prepareToPrint returns a RowMetrics
1551         * rowPainter.C: adjust
1552         * text.C (prepareToPrint): use width, not textWidth. adjust
1553         (redoParagraphInternal, cursorX): adjust
1554         * text2.C (getColumnNearX): adjust
1555         (init): put a default value to the top LyXText::width
1556
1557 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1560
1561 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * lyxtext.h: add FontIterator class
1564
1565         * text.C (FontIterator, operator*, operator->, operator++): add
1566         (rowBreakPoint, setRowWidth): adjust (fixing a
1567         rebreaking bug)
1568
1569 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * BufferView_pimpl.C (workAreaDispatch): allow also
1572         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1573
1574 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * text.C (rowBreakPoint): fix a bug showing with very large insets
1577
1578 2004-02-25  André Pönitz  <poenitz@gmx.net>
1579
1580         * text3.C:
1581         * cursor.[Ch]: move some mathed specific code to mathed
1582
1583 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1584
1585         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1586         use_tempdir in preferences
1587         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1588         tempfile creation
1589         * lyx_main.C: ensure that tempdir is valid
1590         * lyxlex.h: correct typo
1591         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1592         * paragraph.[Ch] (isMultiLingual): make const
1593         * cursor.[Ch] (openable): make const
1594
1595 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1596
1597         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1598
1599 2004-02-20  André Pönitz  <poenitz@gmx.net>
1600
1601         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1602
1603         * cursor.[Ch]: prepare for localized getStatus()
1604
1605         * lyxtext.h:
1606         * tabular.C:
1607         * text.C:
1608         * text2.C:
1609         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1610
1611 2004-02-20  André Pönitz  <poenitz@gmx.net>
1612
1613         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1614
1615 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * text2.C (setCursorFromCoordinates): switch to absolute coords
1618         (cursorUp): adjust
1619         (cursorDown): adjust
1620         * text3.C (dispatch): adjust
1621
1622 2004-02-16  André Pönitz  <poenitz@gmx.net>
1623
1624         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1625           insets/ChangeLog)
1626
1627         * cursor_slice.[Ch]: remove unneeded acessor function
1628
1629         * lyxtext.h: rename rtl() to isRTL()
1630
1631         * rowpainter.C:
1632         * tabular.C:
1633         * text.C:
1634         * text2.C:
1635         * text3.C: adjust
1636
1637 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1638
1639         * rowpainter.C (paintSelection): coord fix
1640
1641 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642
1643         * Spacing.C: compile fix
1644
1645 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * cursor.C (dispatch): restore current_ before returning
1648
1649 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * text2.C (cursorUp, cursorDown): fix coords
1652         (moveUp): fix crash
1653
1654 2004-02-12  André Pönitz  <poenitz@gmx.net>
1655
1656         * lyxtext.h:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: add LCursor & parameter to most cursor movement functions
1660           remove usage of LyXText::cursorRow() and cursorPar()
1661
1662         * cursor.[Ch]: add textRow() needed members
1663
1664         * BufferView.C:
1665         * BufferView_pimpl.C:
1666         * paragraph.[Ch]:
1667         * BufferView.C:
1668         * BufferView_pimpl.C: adjust
1669
1670 2004-02-11  André Pönitz  <poenitz@gmx.net>
1671
1672         * lyxfunc.C:
1673         * BufferView.[Ch]:
1674         * BufferView_pimpl.C: shift undo/redo handling
1675
1676         * cursor.[Ch]: fix mathed crash
1677
1678         * lyxfind.C:
1679         * lyxtext.h: move selectionAsText to LCursor
1680
1681         * output_latex.C:
1682         * paragraph.C:
1683         * text.C:
1684         * text2.C:
1685         * text3.C: adjust
1686
1687         * rowpainter.C: fix excessive drawing
1688
1689 2004-02-06  André Pönitz  <poenitz@gmx.net>
1690
1691         * BufferView.[Ch]:
1692         * BufferView_pimpl.[Ch]:
1693         * text3.C: move some text specific LFUN handling
1694
1695 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * text3.C (checkInsetHit): adjust coords
1698         * text2.C (getColumnNearX): adjust coords
1699         (edit): adjust coords
1700         * text.C (getRowNearY): add two asserts
1701
1702 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1703
1704         * converter.C:
1705         * format.C: add using std::distance to compile on gcc 2.95/stlport
1706
1707 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1708
1709         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1710
1711 2004-02-04  André Pönitz  <poenitz@gmx.net>
1712
1713         * BufferView.[Ch] (insertInset):
1714         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1715
1716         * text2.C:
1717         * text3.C: adjust
1718
1719 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1720
1721         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1722         on the default clause of the switch
1723         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1724         wasn't catched by LCursor::dispatch
1725
1726 2004-02-03  André Pönitz  <poenitz@gmx.net>
1727
1728         * BufferView.C:
1729         * cursor.[Ch]: some additional asserts
1730
1731         * undo.[Ch]: remove LyXText dependency in interface
1732
1733         * lyxfunc.C: adjust
1734
1735         * lyxtext.h (firstPar, lastPar): remove dead functions
1736
1737         * text.C:
1738         * text2.C:
1739         * text3.C:
1740         * paragraph.[Ch]: adjust
1741
1742 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * lyxfind.C (find): fix argument order in call to ::find
1745
1746 2004-02-02  André Pönitz  <poenitz@gmx.net>
1747
1748         * cursor.[Ch]: remove direct access to anchor
1749
1750         * text.C: remove findText() hack
1751
1752 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * iterators.[Ch] (lockPath): remove in favour of...
1755         * BufferView.[Ch] (setCursor): this addition
1756         * BufferView.C (putSelectionAt): adjust
1757         * undo.C (performUndoOrRedo): adjust
1758         * lyxfunc.C (dispatch): adjust
1759
1760 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * iterators.C (lockPath): add a missing slice
1763         * undo.C (performUndoOrRedo): remove redundant positioning code
1764
1765 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1766
1767         * vc-backend.C (scanMaster): ";" -> ';'
1768
1769 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1770
1771         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1772         std::binary_function
1773
1774         * lyxtextclass.C (compare_name): rename to...
1775         (LayoutNamesEqual): ...this
1776
1777         * lyxlex_pimpl.C (compare_tags): inherit from
1778         std::binary_function, put back into anon namespace
1779
1780         * lyxfind.C (MatchString): inherig from std::binary_function
1781         (findChange): use empty() istead of !size()
1782
1783         * format.C (FormatNamesEqual): new functor
1784         (getFormat): use it
1785         (getNumber): use it
1786         (add): use it
1787         (erase): use it
1788         (setViewer): use it
1789
1790         * converter.C (compare_Converter): rename to...
1791         (ConverterEqual): ...this, and fixup a bit.
1792         (getConverter): use it, and make function const
1793         (getNumber): use it, and make function const
1794         (add): use it
1795         (erase): use it:
1796
1797         * bufferlist.C: add using boost::bind
1798
1799         * MenuBackend.C (MenuNamesEqual): new functor
1800         (hasMenu): use it, and make function const
1801         (hasSubmenu): use nested bind to get rid of compare_memfun.
1802
1803 2004-01-30  André Pönitz  <poenitz@gmx.net>
1804
1805         * BufferView_pimpl.C:
1806         * cursor.C:
1807         * cursor.h:
1808         * cursor_slice.[Ch]:
1809         * lyxfunc.C:
1810         * lyxtext.h:
1811         * paragraph_funcs.C:
1812         * paragraph_funcs.h:
1813         * rowpainter.C:
1814         * text.C:
1815         * text2.C:
1816         * text3.C: move some of the edit(x,y) handling to the insets
1817         some coordinate changes.
1818
1819 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1820
1821         * text.C: add using statements for std::advance and std::distance
1822
1823         * paragraph.C: add using statement for std::distance
1824
1825         * lyxfind.C: add using statement for std::advance
1826
1827         * cursor.C (region): remove std:: from swap
1828         (openable): use nucleus in stead of operator->
1829
1830         * BufferView.C: add using statements for std::distance and std::swap
1831
1832 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1833
1834         * iterators.C: Remove the pimple, move the needed structures to
1835         the header file. Create accessor for the positions stack.
1836         (asPosIterator): remove function
1837
1838         * PosIterator.C (PosIterator): move constructors to top of file
1839         (PosIterator): reimplement the constructor taking a ParIterator in
1840         terms of setFrom.
1841         (setFrom): new function
1842         (operator!=): inline it
1843
1844 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * lyxfind.C (replaceAll): use std::advance
1847
1848         * iterators.h: inherit from std::iterator.
1849
1850         * PosIterator.C (advance, distance): remove
1851         * PosIterator.h: interit from std::iterator.
1852
1853 2004-01-26  André Pönitz  <poenitz@gmx.net>
1854
1855         * BufferView.[Ch]:
1856         * BufferView_pimpl.[Ch]:
1857         * InsetList.[Ch]:
1858         * PosIterator.[Ch]:
1859         * buffer.h:
1860         * bufferview_funcs.C:
1861         * cursor.[Ch]:
1862         * cursor_slice.h:
1863         * factory.[Ch]:
1864         * iterators.[Ch]:
1865         * lyxfind.C:
1866         * lyxfunc.C:
1867         * lyxtext.h:
1868         * output_docbook.C:
1869         * output_latex.C:
1870         * output_linuxdoc.C:
1871         * output_plaintext.C:
1872         * paragraph.[Ch]:
1873         * paragraph_funcs.[Ch]:
1874         * paragraph_pimpl.[Ch]:
1875         * rowpainter.C:
1876         * tabular.C:
1877         * tabular.h:
1878         * text.C:
1879         * text2.C:
1880         * text3.C: more IU:  dumps most of the rest of the mathcursor
1881     implementation into cursor.[Ch]; "globalize" a bit of it.
1882
1883 2004-01-25  Angus Leeming  <leeming@lyx.org>
1884
1885         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1886
1887 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1888
1889         * LaTeXFeatures.h: add nice_ and nice() const
1890         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1891
1892 2004-01-20  André Pönitz  <poenitz@gmx.net>
1893
1894         * BufferView.[Ch]:
1895         * BufferView_pimpl.C:
1896         * PosIterator.C:
1897         * bufferview_funcs.C:
1898         * cursor.[Ch]:
1899         * cursor_slice.[Ch]:
1900         * factory.C:
1901         * iterators.C:
1902         * lyx_cb.C:
1903         * lyxfind.C:
1904         * lyxfunc.C:
1905         * lyxtext.h:
1906         * rowpainter.C:
1907         * text.C:
1908         * text2.C:
1909         * text3.C:
1910         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1911           LCursor and mathcursor parts to LCursor and InsetBase.
1912
1913 2004-01-15  André Pönitz  <poenitz@gmx.net>
1914
1915         * cursor_slice.[Ch]: add a few covienience functions
1916
1917         * funcrequest.[Ch]: remove BufferView * member
1918
1919         * BufferView_pimpl.C:
1920         * cursor.C:
1921         * factory.[Ch]:
1922         * lyxfind.[Ch]:
1923         * lyxfunc.C:
1924         * lyxtext.h:
1925         * text3.C:
1926         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1927
1928 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1929
1930         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1931         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1932
1933 2004-01-13  André Pönitz  <poenitz@gmx.net>
1934
1935         * textcursor.[Ch]:
1936         * lyxtext.h: hide cursor and selection anchor behind accessor function
1937
1938         * BufferView.C:
1939         * BufferView_pimpl.[Ch]:
1940         * PosIterator.C:
1941         * bufferview_funcs.C:
1942         * cursor.h:
1943         * lyxfind.C:
1944         * lyxfunc.C:
1945         * text.C:
1946         * text2.C:
1947         * text3.C:
1948         * undo.C: adjust
1949
1950         * cursor.h:
1951         * cursor_slice.[Ch]: some integer type changes for inset unification
1952
1953         * lyxcursor.[hC]: remove, it's CursorSlice now.
1954
1955         * Makefile.am:
1956         * BufferView_pimpl.[Ch]:
1957         * bufferview_funcs.C:
1958         * cursor_slice.C:
1959         * lyxtext.h:
1960         * text.C:
1961         * text2.C:
1962         * text3.C:
1963         * textcursor.[Ch]: adjust
1964
1965 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1966
1967         * text2.C (undoSpan): add and use
1968         * text.C (breakParagraph): use undoSpan (fix bug 578)
1969         * lyxtext.h: adjust
1970
1971 2004-01-08  Angus Leeming  <leeming@lyx.org>
1972
1973         * BufferView_pimpl.C (MenuInsertLyXFile):
1974         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1975         * lyxfunc.C (menuNew, open, doImport):
1976         FileFilterList change to the FileDialog open and save functions.
1977
1978 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1979
1980         * ShareContainer.h: make isEqual and isUnique adaptable
1981
1982         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1983
1984 2004-01-07  Angus Leeming  <leeming@lyx.org>
1985
1986         * LyXAction.C:
1987         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1988
1989         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1990
1991         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1992         functions replacing find, replace and replaceAll.
1993
1994         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1995         LFUN_WORDFIND(FORWARD|BACKWARD).
1996
1997 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * text.C (breakParagraph): remove an outdated #warning
2000
2001 2004-01-07  André Pönitz  <poenitz@gmx.net>
2002
2003         * lyxfind.C: somewhat clearer logic
2004
2005         * text.C: prevent crash in cursorX on unitialized row cache
2006
2007 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2008
2009         * lyxcursor.[Ch] (operator>): add
2010         * textcursor.C (selStart, selEnd): use std::min and std::max
2011
2012 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2013
2014         * Chktex.C: include boost/format.hpp
2015
2016 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2017
2018         * InsetList.C: replace functor MathcIt with adaptable functor
2019         InsetTablePosLess
2020         (insetIterator): modify accordingly
2021
2022         * BranchList.h: move the BranchNamesEqual functor here from...
2023         * BranchList.C: ... to here
2024
2025         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2026         SameName and match.
2027         (add): replace a finding loop with std::find_if.
2028
2029 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2030
2031         * output_docbook.C: moving LatexParam functionality into
2032         .layout files
2033
2034 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2035
2036         * buffer.C: increment format to 229.
2037
2038 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2039
2040         * LaTeXFeatures.C:
2041         * lyx_sty.[Ch]: remove minipageindent_def
2042
2043         * LyXAction.C:
2044         * factory.C:
2045         * lfuns.h:
2046         * lyxfunc.C:
2047         * text3.C: remove LFUN_INSET_MINIPAGE
2048
2049 2003-12-28  Angus Leeming  <leeming@lyx.org>
2050
2051         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2052
2053 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2054
2055         * text2.C (setParagraph): fix off-by-one crash
2056
2057 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2058
2059         * output_docbook.C: header stuff for AGU
2060
2061 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * text2.C (redoCursor): remove
2064         * text.C:
2065         * text3.C:
2066         * BufferView_pimpl.C: remove calls to redoCursor and
2067         setCursor(cursor.par(), cursor.pos()) all around
2068
2069 2003-12-15  Angus Leeming  <leeming@lyx.org>
2070
2071         * buffer.C: up the format to 228.
2072
2073 2003-12-15  André Pönitz  <poenitz@gmx.net>
2074
2075         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2076         slices
2077
2078         * Makefile.am:
2079
2080         * BufferView_pimpl.C:
2081         * cursor.[Ch]:
2082         * lyxcursor.[Ch]:
2083         * rowpainter.[Ch]:
2084         * lyxtext.h:
2085         * text.C:
2086         * text2.C:
2087         * text3.C: adjust
2088
2089 2003-12-15  Angus Leeming  <leeming@lyx.org>
2090
2091         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2092         than getFromGUIName to manipulate the color.
2093
2094 2003-12-14  Angus Leeming  <leeming@lyx.org>
2095
2096         * BranchList.[Ch]: minimize the API.
2097         (Branch::getBranch, getColor): now return a 'const &'.
2098         (Branch::setSelected) now returns a bool set to true if the
2099         selection status changes.
2100         (BranchList::clear, size, getColor, setColor, setSelected,
2101         allBranches, allSelected, separator): removed.
2102         (BranchList::find): new functions, returning the Branch with
2103         the given name.
2104         (BranchList::add, remove): return a bool indicating that
2105         the operation was successful.
2106
2107         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2108         new InsetBranch::isBranchSlected member function.
2109
2110         * LColor.[Ch]: mimimize the API.
2111         (fill): renamed as addColor and made private.
2112         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2113         versions of these functions taking a string arg have been removed.
2114
2115         * bufferparams.C (readToken):
2116         * lyxfunc.C (dispatch):
2117         * lyxrc.C (read): changes due to the altered BranchList and
2118         LColor APIs.
2119
2120         * factory.C (createInset, readInset): changes due to altered
2121         InsetBranch c-tor.
2122
2123 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2124
2125         * factory.C:
2126         * lyxfunc.C: remove insetminipage. "minipage-insert"
2127         now produces a frameless minipage box inset.
2128
2129 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * textcursor.[Ch] (selStart,selEnd): add new methods
2132         remove selection::start, end, use LyXCursor::operator<
2133         * lyxcursor.[Ch] (operator<): add
2134         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2135         * BufferView.[Ch] (unsetXSel): add
2136         * text2.C (clearSelection): use unsetXSel,adjust
2137         * text.C: adjust
2138         * text3.C: adjust
2139         * rowpainter.C: adjust
2140         * bufferview_funcs.C (put_selection_at): adjust
2141
2142 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * BufferView_pimpl.C: small coord. correction
2145
2146 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2149         dragging over the splash screen.
2150
2151 2003-12-11  Angus Leeming  <leeming@lyx.org>
2152
2153         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2154         as it is now handled in LyXText::dispatch.
2155
2156         * text3.C (doInsertInset): remove a level of nesting.
2157
2158 2003-12-11  Angus Leeming  <leeming@lyx.org>
2159
2160         * factory.C (createInset): changes due to the changed interface to
2161         InsetCommandMailer::string2params.
2162
2163 2003-12-10  Angus Leeming  <leeming@lyx.org>
2164
2165         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2166         'dialog-show-new-inset <inset name>'
2167
2168 2003-12-10  Angus Leeming  <leeming@lyx.org>
2169
2170         * buffer.C: up the format to 227.
2171
2172         * factory.C: the box inset is now identified simply by 'Box'.
2173
2174 2003-12-10  Angus Leeming  <leeming@lyx.org>
2175
2176         * buffer.C: up the format to 226.
2177
2178         * factory.C: the note inset is now identified simply by 'Note'.
2179
2180 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2181
2182         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2183         when a pit is enough. Standarize a couple of loops.
2184
2185 2003-12-05  Angus Leeming  <leeming@lyx.org>
2186
2187         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2188         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2189         data to the re-worked "log" dialog.
2190
2191 2003-12-03  André Pönitz  <poenitz@gmx.net>
2192
2193         * PosIterator.C:
2194         * iterators.C:
2195         * lyxtext.h:
2196         * output_latex.C:
2197         * paragraph_funcs.C:
2198         * text.C:
2199         * text2.C: use Inset::getText instead of Inset::getParagraph
2200
2201 2003-12-03  André Pönitz  <poenitz@gmx.net>
2202
2203         * buffer.[Ch]:
2204         * lyxtext.h:
2205         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2206         InsetText::read() as LyXText::read()
2207
2208 2003-12-02  Angus Leeming  <leeming@lyx.org>
2209
2210         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2211         type. Add a comment in the implementation that the function uses
2212         the stream's bad() function rather than fail() as the std::streams
2213         would do.
2214
2215 2003-12-02  André Pönitz  <poenitz@gmx.net>
2216
2217         * lyxlex.[Ch]: make interface more similar to std::stream
2218
2219         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2220
2221 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2222
2223         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2224
2225 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2226
2227         * vspace.[Ch]: remove VSpace::NONE
2228
2229 2003-12-01  André Pönitz  <poenitz@gmx.net>
2230
2231         * buffer.[Ch]:
2232         * lyxtext.h: move ParagraphList member to LyXText
2233         rename LyXText::ownerParagraphs to LyXText::paragraph
2234
2235         * CutAndPaste.C:
2236         * bufferview_funcs.C:
2237         * iterators.[Ch]:
2238         * lyx_cb.C:
2239         * paragraph.C:
2240         * rowpainter.C:
2241         * tabular.C:
2242         * text.C:
2243         * text2.C:
2244         * text3.C: adjust
2245
2246         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2247
2248         * undo.C: fix cursor positioning
2249
2250 2003-12-01  John Levon  <levon@movementarian.org>
2251
2252         * BufferView_pimpl.C: fix a crash on exit with
2253         a buffer open
2254
2255 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2256
2257         * BranchList.C: fix setSelected() method.
2258
2259 2003-11-28  André Pönitz  <poenitz@gmx.net>
2260
2261         * ParagraphParameters.[Ch]:
2262         * ParameterStruct.h: remove space above/below from Paragraph to
2263          InsetVSpace
2264
2265         * BufferView_pimpl.C:
2266         * factory.C:
2267         * lyxfunc.C:
2268         * lyxtext.h:
2269         * output_latex.C:
2270         * paragraph.C:
2271         * paragraph_funcs.C:
2272         * rowpainter.[Ch]:
2273         * text.C:
2274         * text2.C:
2275         * text3.C: adjust
2276
2277 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2278
2279         * factory.C: Syntax change for CharStyles
2280
2281 2003-11-28  André Pönitz  <poenitz@gmx.net>
2282
2283         * BufferView.[Ch]:
2284         * BufferView.[Ch]:
2285         * buffer.[Ch]:
2286         * buffer.[Ch]: move LyXText member
2287
2288 2003-11-28  André Pönitz  <poenitz@gmx.net>
2289
2290         * BufferView.[Ch]: make LyXText * text a private member
2291
2292         * BufferView_pimpl.C:
2293         * cursor.C:
2294         * iterators.C:
2295         * lyx_cb.C:
2296         * lyxfind.C:
2297         * lyxtext.h:
2298         * rowpainter.[Ch]:
2299         * text.C:
2300         * text2.C:
2301         * undo.C: adjust
2302
2303         * output_plaintext.C: cleanup
2304
2305 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * buffer.C:
2308         * lyxtextclass.[Ch]: parametrize SGML document header
2309
2310 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2311
2312         * converter.[Ch]:
2313         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2314         getFlavor().
2315
2316 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * text2.C (setFont): rework using PosIterator (no more recursive)
2319         (setCharFont): no more needed
2320         (setLayout): no more selection cursors fiddling (done by redoCursor)
2321         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2322         destroy remaining ones)
2323
2324 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2325
2326         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2327         * lyxtext.h: ditto
2328         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2329         selection cursors
2330         * lyxfunc.C: adjust
2331         * text3.C: adjust + re-allow multi par depth changes
2332         * textcursor.C: simplify a bit
2333
2334 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2335
2336         * src/buffer.C:
2337         * src/lyxlayout.C:
2338         * src/lyxlayout.h:
2339         * src/lyxtext.h:
2340         * src/output_docbook.C:
2341         * src/output_latex.C:
2342         * src/paragraph.C:
2343         * src/paragraph.h:
2344         * src/sgml.C:
2345         * src/sgml.h:
2346         * src/text2.C: Introducing a number of tags parametrizing various
2347         XML formats that we may want to support
2348
2349 2003-11-25  André Pönitz  <poenitz@gmx.net>
2350
2351         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2352
2353         * lyxtext.h (leftMargin/rightMargin): simplify interface
2354
2355         * rowpainter.C:
2356         * text.C:
2357         * text2.C:
2358         * text3.C: adjust
2359
2360 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2361
2362         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2363         master file to any child files. Fixes bug 546.
2364
2365 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2366
2367         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2368
2369 2003-11-24  André Pönitz  <poenitz@gmx.net>
2370
2371         * rowpainter.C: simplification
2372
2373         * text2.C (updateCounters): remove call to redoParagraph on
2374         changed labels as this is far too expensive.
2375
2376 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2377
2378         * converter.C (convert): fix a crash: this function gets
2379         called with buffer == 0 from importer code.
2380
2381 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2382
2383         * text3.C (cursorPrevious): make sure that we do not compare
2384         iterators form different containers.
2385         (cursorNext): ditto
2386
2387         * rowpainter.C (paintSelection): make sure that we do not compare
2388         iterators from different containers.
2389
2390         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2391         iterators from different ParagraphList containers.
2392         [NEXT] ditto
2393
2394         * text2.C (LyXText): change order of initialization slightly
2395         (operator=): new function. copy all variables except cache_par_
2396         (moveUp): make sure that we do not compare iterators from
2397         different ParagraphList constainers.
2398         (moveDown): ditto
2399
2400         * text.C (firstPar): new function
2401         (lastPar): new function
2402         (endPar): new function
2403
2404         * lyxtext.h: move things around and group public functions, public
2405         variables, private functions, private variables
2406
2407 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2408
2409         * factory.C: change call to InsetERT constructor to avoid
2410         additional invocation of method status
2411         * text2.C (toggleInset): remove redundant update() call
2412         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2413         instead of a Bufferview pointer
2414
2415 2003-11-21  André Pönitz  <poenitz@gmx.net>
2416
2417         * rowpainter.C: simplification
2418
2419 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * text3.C (dispatch): make possible to extend a word/row selection
2422         with the mouse
2423
2424 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2425
2426         * lyxtext.h: x0_,y0_ -> xo_,yo_
2427         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2428         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2429         * rowpainter.C (paintRows): paint full paragraphs
2430
2431 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2434         screen coordinates)
2435
2436 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * lyxtext.h: add x0_, y0_
2439         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2440         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2441
2442 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * text2.C (setCursorIntern): move the x_target update here *
2445         * text3.C: change some bv() to true/false in calls to
2446         cursorUp/Down/Right/Left
2447         * cursor.C: use helper function.
2448
2449 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2450
2451         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2452         * paragraph_funcs.[Ch]: correct comment
2453         * rowpainter.C: do not paint selections away from bv->cursor()
2454         Fix a long standing selection painting bug.
2455         * text3.C: generalize mouse-selection code to LyXTexts other that
2456         top one
2457         * textcursor.C: do not use y coords if we can use par offsets
2458
2459 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2462         cursor position after e.g. inset insert)
2463
2464 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * lyxfind.C (replace): adjust to locking removal + some
2467         code simplification
2468
2469 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2472         of the path
2473
2474 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2475
2476         * lyxlayout.[Ch]:
2477         * output_docbook.C: XML sanitation: new layout
2478         parameters InnerTag and CommandDepth
2479
2480 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * BufferView_pimpl.C:
2483         * factory.C:
2484         * text3.C: Fix the insertion and modification of button-style
2485         insets
2486
2487 2003-11-13  André Pönitz  <poenitz@gmx.net>
2488
2489         * InsetList.[Ch]: remove deleteLyXText
2490
2491         * paragraph.[Ch]: cache beginOfBody position
2492
2493         * Bidi.C:
2494         * text.C:
2495         * text2.C:
2496         * text3.C: remove superfluous update() calls
2497
2498         * vspace.C: cleanup
2499
2500 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2503         * BufferView.C (fitLockedInsetCursor): remove
2504         * cursor.[Ch] (getDim): add
2505         * text.C (getRowNearY): add faster version
2506         * text3.C: remove some update calls
2507
2508 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2509
2510         * LaTeXFeatures.C:
2511         * LyXAction.C:
2512         * MenuBackend.C:
2513         * MenuBackend.h:
2514         * dispatchresult.h:
2515         * factory.C:
2516         * lfuns.h:
2517         * lyxfunc.C:
2518         * lyxtextclass.C:
2519         * lyxtextclass.h:
2520         * text3.C: The Character Style /XML short element patch.
2521
2522 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2523
2524         * text3.C:
2525         * factory.C: Small step to solving 'unable to insert some insets'
2526         problem
2527
2528 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2529
2530         * cursor.[Ch] (updatePos): new function for updating the y
2531         position of the tip inset
2532         * bufferview_funcs.C (put_selection_at):
2533         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2534
2535 2003-11-11  André Pönitz  <poenitz@gmx.net>
2536
2537         * text.C: remove big comment on invalid Paragraph pointers as it is
2538         not valid anymore
2539
2540 2003-11-11  André Pönitz  <poenitz@gmx.net>
2541
2542         * text_funcs.[Ch]: merge with ...
2543
2544         * text.C: ... this
2545
2546         * lyxtext.h:
2547         * text2.C:
2548         * text3.C: adjust
2549
2550         * Makefile.am: remove text_funcs.[Ch]
2551
2552 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2553
2554         * cursor.C (getPos): return absolute cached y coord
2555
2556         * BufferView_pimpl.C (fitCursor): new simplistic code
2557         (workAreaDispatch): add a fitCursor call
2558
2559 2003-11-10  André Pönitz  <poenitz@gmx.net>
2560
2561         * BufferView.[Ch]:
2562         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2563
2564 2003-11-10  André Pönitz  <poenitz@gmx.net>
2565
2566         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2567         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2568         indicate that the cursor needs to leave an inset
2569
2570         * lyxtext.h: remove inset locking
2571
2572         * cursor.[Ch]: re-implement functionality provided by inset locking
2573
2574         * BufferView.[Ch]:
2575         * BufferView_pimpl.[Ch]:
2576         * LyXAction.C:
2577         * bufferview_funcs.[Ch]:
2578         * factory.C:
2579         * funcrequest.[Ch]:
2580         * iterators.C:
2581         * lyx_cb.C:
2582         * lyxfind.C:
2583         * lyxfunc.C:
2584         * text.C:
2585         * text2.C:
2586         * text3.C:
2587         * undo.C: adjust
2588
2589 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2590
2591         * PosIterator.[Ch]: replace the stack with a vector, add inset
2592         accesor
2593         * iterators.[C]: adjust
2594
2595 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2596
2597         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2598         replaced
2599         * paragraph_funcs.C (readParToken): put the correct id in the
2600         error item, not the id of the top paragraph
2601
2602 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2605         * bufferview_funcs.C (put_selection_at): use the above
2606
2607 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2610
2611 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         * output_linuxdoc.h:
2614         * output_plaintext.h:
2615         * output.h:
2616         * output_docbook.h: add #include statements
2617
2618 2003-11-05  José Matos  <jamatos@lyx.org>
2619
2620         * output_docbook.[Ch]:
2621         * output_latex.[Ch]:
2622         * output_linuxdoc.[Ch]:
2623         * output_plaintext.[Ch]: New files for output formats.
2624         * output.[Ch]: New file for helper functions.
2625
2626         * buffer.[Ch]:
2627         * paragraph_funcs.[Ch]: output functions moved to new files.
2628
2629         * outputparams.h: rename of latexrunparams.h
2630
2631         * LaTeX.[Ch]:
2632         * buffer.[Ch]:
2633         * bufferlist.[Ch]:
2634         * converter.[Ch]:
2635         * exporter.C:
2636         * paragraph.[Ch]:
2637         * paragraph_funcs.[Ch]:
2638         * paragraph_pimpl.[Ch]:
2639         * tabular.[Ch]: rename ascii to plaintext
2640         and LatexRunParams to OutputParams.
2641
2642 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * iterators.[Ch] (text): require bv argument
2645         * undo.C (recordUndo):
2646         * lyxfunc.C (dispatch):
2647         * bufferview_funcs.C (put_selection_at): adjust
2648
2649 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2650
2651         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2652
2653 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2654
2655         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2656         nestings
2657
2658 2003-11-04  André Pönitz  <poenitz@gmx.net>
2659
2660         * cursor.[Ch]: restructure
2661
2662         * BufferView.[Ch]:
2663         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2664
2665         * iterators.[Ch] (asCursor): remove
2666
2667         * lfuns.h: remove LFUN_INSET_EDIT
2668
2669         * lyxfunc.C:
2670         * tabular.C:
2671         * text.C:
2672         * text2.C:
2673         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2674
2675 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * lyxfind.[Ch]: complete overhaul
2678         * BufferView_pimpl.C:
2679         * lyxfunc.C: adjust
2680         * paragraph.[Ch] (insert): add
2681
2682 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * BufferView.[Ch]:
2685         * lyxtext.h:
2686         * text.C: remove dead spellcheck code
2687
2688 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2689
2690         * dispatchresult.h: add a val setter
2691
2692         * cursor.C (dispatch): use a tempvar for data_[i]
2693
2694 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * PosIterator.[Ch]: compile fix
2697
2698 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * text.C (cursorPar): deactivate the cursor cache
2701
2702 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2705
2706 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2707
2708         * text3.C (dispatch): adjust for new DisptchResult semantics.
2709
2710         * lyxfunc.C (dispatch): handle update when return from
2711         Cursor::dispatch, adjust for new DispatchResult semantics.
2712
2713         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2714         DispatchResult(true) mean to not update. Add class functions for
2715         setting dispatched and update, as well as reading.
2716
2717         * cursor.C (dispatch): don't handle update here
2718
2719 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2722         * trans_mgr.C: adjust
2723
2724         * paragraph_funcs.C (readParToken): exception safety
2725
2726         * lyxvc.h: store the vcs pointer in a scoped_ptr
2727         * lyxvc.C: adjust
2728
2729         * lyxsocket.C (serverCallback): exception safety
2730
2731         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2732
2733         * ispell.C (clone): make it return a auto_ptr
2734
2735         * factory.C (createInset): exception safety
2736         (readInset): exception safety
2737
2738         * bufferlist.C (newBuffer): exception safety
2739
2740         * Thesaurus.C (Thesaurus): use initialization for aik_
2741
2742         * MenuBackend.C (expandToc): exception safety.
2743
2744 2003-11-03  André Pönitz  <poenitz@gmx.net>
2745
2746         * buffer.C:
2747         * buffer.h:
2748         * bufferview_funcs.C: remove getInsetFromId()
2749
2750         * lyxcursor.[Ch]:
2751         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2752
2753         * lyxfunc.C:
2754         * text2.C:
2755         * text3.C: adjust
2756
2757 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2758
2759         * PosIterator.C (distance, advance): new
2760         * bufferview_funcs.[Ch] (put_selection_at): new
2761         * iterators.[Ch] (lockPath): new
2762
2763 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2764
2765         * iterators.[Ch] (asPosIterator): added
2766         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2767         * PosIterator.[Ch]: added
2768
2769 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * text3.C:
2772         * lyxfunc.C:
2773         * cursor.C (dispatch):
2774         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2775
2776         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2777         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2778         contructor, add a class function dispatched. Remove operator>=
2779
2780 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2781
2782         * debug.C: only use the default constructor for debugstream
2783         (lyxerr) here.
2784
2785         * main.C (main): include debug.h and setup the lyxerr streambuf
2786         here.
2787
2788 2003-10-31  José Matos  <jamatos@lyx.org>
2789
2790         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2791
2792         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2793         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2794         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2795         * paragraph_pimpl.C (simpleTeXSpecialC):
2796         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2797         add LatexRunParams argument.
2798
2799         * exporter.C (Export): change call accordingly.
2800
2801         * latexrunparams.h: add new member to take care of the other backends.
2802 2003-10-30  José Matos  <jamatos@lyx.org>
2803
2804         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2805         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2806         factorise code for paragraph output.
2807         * buffer.[Ch]:
2808         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2809         move functions.
2810
2811 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2812
2813         * text3.C (dispatch):
2814         * lyxfunc.C (dispatch):
2815         * cursor.C (dispatch):
2816         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2817
2818         * dispatchresult.h: make the dispatch_result_t ctor explicit
2819
2820 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * sgml.[Ch]:
2823         * buffer.C: small refactoring of docbook stuff
2824
2825 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2828         meaning.
2829
2830 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2833         operator dispatch_result_t, and operators for == != and >=
2834
2835         * cursor.C (dispatch): adjust for operator dispatch_result_t
2836         removal. comment out call to update
2837
2838         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2839
2840 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * text3.C:
2843         * text2.C:
2844         * text.C:
2845         * lyxtext.h:
2846         * lyxfunc.C:
2847         * cursor.C:
2848         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2849         (dispatch):
2850
2851         * dispatchresult.h: new file, DispatchResult broken out of
2852         insets/insetbase.h
2853
2854         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2855
2856 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * text.C (rowBreakPoint): put a hack inside #if 0
2859
2860 2003-10-28  André Pönitz  <poenitz@gmx.net>
2861
2862         * lyxtext.h:
2863         * metricsinfo.C:
2864         * paragraph_funcs.C:
2865         * rowpainter.C:
2866         * text.C:
2867         * text2.C: general cleanup (lots of small stuff)
2868
2869 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * text2.C (cursorEnd): simple fix to the "end key goes to one
2872         before the end on last row" bug
2873
2874 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * text.C (backspace): fix the "zombie characters"
2877
2878 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2881
2882 2003-10-27  André Pönitz  <poenitz@gmx.net>
2883
2884         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2885
2886         * factory.C: handle new InsetPagebreak, InsetLine
2887
2888         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2889         and move handling into new InsetPagebreak, InsetLine
2890
2891         * BufferView_pimpl.C:
2892         * LyXAction.C:
2893         * ParagraphParameters.C:
2894         * ParameterStruct.h:
2895         * lyxfunc.C:
2896         * lyxtext.h:
2897         * paragraph.C:
2898         * paragraph.h:
2899         * paragraph_funcs.C:
2900         * paragraph_pimpl.C:
2901         * rowpainter.C:
2902         * text.C:
2903         * text2.C:
2904         * text3.C: adjust
2905
2906 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * text.C:
2909         * lyxrow_funcs.[Ch]:
2910         * Bidi.C:
2911         * paragraph.C:
2912         * lyxtext.h:
2913         * rowpainter.C:
2914         * text2.C:
2915         * text3.C: remove lastPos uses in favour of Row::endpos
2916
2917 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * undo.C (performUndoOrRedo): fix two crashes by setting a
2920         cursor by hand and reordering some calls. Use bv->lockInset instead
2921         of inset->edit because the latter loses cursor information
2922
2923 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2926         by Martin
2927         (rowBreakPoint): fix width. change point to point + 1.
2928         Add a missing check.
2929
2930 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * MenuBackend.C:
2933         * lyxfunc.C: fix (at least partly) the problems
2934         with the Nav menu and headers inside branch insets
2935         reported by Kayvan
2936
2937 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * paragraph.C (getChar): add strong asserts
2940
2941         * lyxrow_funcs.C (lastPos): remove hideous hack
2942
2943         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2944         (fill): adjust to that (avoid an infinite loop)
2945
2946 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2949
2950 2003-10-23  André Pönitz  <poenitz@gmx.net>
2951
2952         * RowList_fwd.h: change list<> to vector<> to gain speed
2953         after suggestion from Alfredo
2954
2955 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * lyxtext.h: move the bidi stuff from here...
2958         * text.C: and here
2959         * text2.C: and here
2960         * Bidi.[Ch]: ... to here
2961
2962 2003-10-23  André Pönitz  <poenitz@gmx.net>
2963
2964         * lyxtext.h:
2965         * text.C (isLastRow, isFirstRow): new functions
2966
2967         * paragraph.h: new width cache member
2968
2969         * rowpainter.C: replace RowList::iterator with Row & where possible
2970
2971         * lyxfunc.C: replace several view()->text with a single call
2972
2973         * toc.C: fix 'unused' warning
2974
2975 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2978         when woring with stream::pos_type
2979         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2980
2981 2003-10-22  André Pönitz  <poenitz@gmx.net>
2982
2983         * lyxtext.h:
2984         * text.C: use Row & instead of RowList::iterator
2985
2986         * lyxrow.h: rename end() to endpos()
2987
2988         * rowpainter.C:
2989         * text.C:
2990         * text2.C: adjust
2991
2992 2003-10-22  Angus Leeming  <leeming@lyx.org>
2993
2994         * buffer.[Ch] (fully_loaded): new member function, returning true
2995         only when the file has been loaded fully.
2996         Used to prevent the premature generation of previews and by the
2997         citation inset to prevent computation of the natbib-style label.
2998
2999         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3000         templates are all set up.
3001
3002         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3003
3004 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * text.C: fixed an "oops" in the "is a bit silly"
3007         bug fix
3008
3009 2003-10-21  André Pönitz  <poenitz@gmx.net>
3010
3011         * FuncStatus.[Ch]: small stuff, whitespace
3012
3013         * lyxfont.[Ch]: operator<<() for debug reasons
3014
3015         * lyxfunc.C:
3016         * lyxrow_funcs.C:
3017         * lyxtext.h: whitespace, spelling
3018
3019         * paragraph.C: naming of variables
3020
3021         * text.C:
3022         * text2.C: small stuff
3023
3024
3025 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * text.C: (1) finish off the inset display() work;
3028         (2) fix the "is a bit silly" bug (accessing char
3029         past end of par).
3030
3031 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * text.C: re-introduce display() for insets, fixing the
3034         various bugs (stretch of line above, math inset
3035         positioning, ...)
3036
3037 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * text.C (rightMargin): remove spurious semicolon
3040
3041         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3042         1415)
3043
3044 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3045
3046         * text3.C: fix one crash due to wrong cursor def
3047
3048 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * vc-backend.C (scanMaster): make the regex static
3051
3052         * LaTeX.C (scanAuxFile): make the regexs static
3053
3054         * text3.C (doInsertInset, dispatch, dispatch):
3055         * text2.C (cursorUp, cursorDown):
3056         * text.C (selectNextWordToSpellcheck):
3057         * BufferView_pimpl.C (dispatch):
3058         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3059
3060 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * lyxsocket.C: include <cerrno>
3063
3064 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * lyxfunc.C (dispatch): remove textcache stuff
3067
3068         * bufferlist.C (release): remove textcache stuff
3069         (closeAll): ditto
3070
3071         * TextCache.C: delete file
3072         * TextCache.h: delete file
3073
3074         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3075
3076         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3077         delete of the bv_->text.
3078         (resizeCurrentBuffer): remove texcache stuff
3079         (workAreaResize): ditto
3080
3081 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3084         action.
3085
3086 2003-10-16  André Pönitz  <poenitz@gmx.net>
3087
3088         * lyxrow.[Ch]:
3089         * paragraph.h:
3090         * rowpainter.C:
3091         * text.C:
3092         * text2.C:
3093         * text3.C: speed up by storing y positions per paragraph plus per-row
3094         offset instead of having a 'full' y position in the row.
3095
3096 2003-10-15  André Pönitz  <poenitz@gmx.net>
3097
3098         * iterators.[Ch]:
3099         * iterators.[Ch]:
3100         * undo.[Ch]: make undo aware of inner insets
3101
3102 2003-10-14  Angus Leeming  <leeming@lyx.org>
3103
3104         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3105         static member functions LyX::ref() and LyX::cref.
3106         (lastfiles): new accessor functions for the new lastfiles_ member var.
3107         (addLyXView, views_): add a new LyXView to the list of views_.
3108         (updateInset): loop over all LyXViews to call their own updateInset
3109         member function, returning a pointer to the Buffer owning the inset.
3110
3111         * BufferView_pimpl.C (loadLyXFile):
3112         * MenuBackend.C (expandLastfiles):
3113         * bufferlist.C (MenuWrite, QuitLyX):
3114         lastfiles is no longer a global variable.
3115         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3116
3117         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3118         static function. Access through LyX::cref().emergencyCleanup().
3119
3120 2003-10-14  André Pönitz  <poenitz@gmx.net>
3121
3122         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3123
3124         * undo.[Ch]: restoring part of 'undo in insets'
3125
3126         * Makefile.am:
3127         * undo_funcs.[Ch]: merge with undo.[Ch]
3128
3129         * tabular.C: small cleansing stuff
3130
3131 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3132
3133         * paragraph_funcs.C (readParToken): report unknown insets as error
3134         boxes. Use the outer paragraph as location (also for unknown
3135         tokens).
3136
3137         * factory.C (readInset): do not abort on reading an unknown inset.
3138         Eat it and return 0.
3139
3140 2003-10-13  Angus Leeming  <leeming@lyx.org>
3141
3142         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3143
3144         * lyxrc.C: displayTranslator is now a function,
3145         declared in GraphicsTypes.h.
3146
3147 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3148
3149         * format.C: new placeholder $$a to pass the socket address.
3150
3151         * bufferlist.[Ch]: new function getBufferFromTmp.
3152
3153         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3154           files in the temporary dir.
3155
3156 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3157
3158         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3159
3160         * Makefile.am: add lyxsocket.[Ch].
3161
3162         * lyx_main.C (error_handler): handle SIGPIPE.
3163
3164 2003-10-13  André Pönitz  <poenitz@gmx.net>
3165
3166         * BufferView_pimpl.C:
3167         * lyxtext.h:
3168         * text.C:
3169         * text2.C:
3170         * text3.C:
3171         * undo_funcs.[Ch]: use paroffset_type instead of
3172           ParagraphList::iterators to prevent multiple conversion
3173           (and get a more robust interface)
3174
3175 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3178         * lyxtext.h: ditto
3179         * text3.C (dispatch): ditto
3180
3181 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3182
3183         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3184         move the onlyfile, use onlyfile instead of foundfile in a couple
3185         of places.
3186
3187         * DepTable.C (update): flush the error stream a bit more
3188
3189 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * lyxserver.C (callback): adjust
3192
3193         * lyxfunc.C (getStatus): add a missing brace in commented code
3194         (ensureBufferClean): reindent
3195         (dispatch): delete version taking a string
3196
3197 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * LaTeX.C (deplog): move found file handlig from here...
3200         (handleFoundFile): .. to new function here.
3201         (deplog): make sure to discover several files mentioned on the
3202         same log line.
3203
3204 2003-10-10  André Pönitz  <poenitz@gmx.net>
3205
3206         * lyxfunc.C:
3207         * lyxtext.h:
3208         * tabular.C:
3209         * text.C:
3210         * text2.C:
3211         * text3.C: fix some of the tabular crashes
3212
3213 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3214
3215         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3216
3217         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3218
3219 2003-10-09  André Pönitz  <poenitz@gmx.net>
3220
3221         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3222
3223         * BufferView.C:
3224         * BufferView_pimpl.C:
3225         * bufferview_funcs.C:
3226         * lyx_cb.C:
3227         * lyxcursor.C:
3228         * lyxfind.C:
3229         * lyxfunc.C:
3230         * lyxtext.h:
3231         * text.C:
3232         * text2.C:
3233         * text3.C:
3234         * text_funcs.[Ch]:
3235         * textcursor.[Ch]:
3236         * undo_funcs.C: adjust
3237
3238 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * text2.C (incrementItemDepth): new function, use a backtracking
3241         algorithm to discover the correct item depth.
3242         (resetEnumCounterIfNeeded): new function, use a backtracking
3243         algorithm to discover if counter reset is needed.
3244         (setCounter): use them. Simplify a bit. Add different labels for
3245         different item depths for itemize.
3246
3247         * paragraph.C (Paragraph): remove initialization of enumdepth
3248         (operator=): ditto
3249
3250         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3251         enumerate and itemize. Change the type of itemdepth to signed char.
3252
3253 2003-10-08  André Pönitz  <poenitz@gmx.net>
3254
3255         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3256           thing assignable.
3257         * text.C:
3258         * text2.C: adjust
3259
3260         * tabular.[Ch]: fix crash after 'row-insert'
3261
3262 2003-10-08  Angus Leeming  <leeming@lyx.org>
3263
3264         Fix doxygen warnings.
3265
3266         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3267         Remove CutAndPaste:: prefix from header file declaration.
3268
3269         * LColor.h (fill): remove LColor:: prefix from declaration.
3270
3271         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3272         use lyx::depth_type rather than Paragraph::depth_type so that
3273         header file and .C file match.
3274
3275         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3276
3277         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3278         * aspell.C: \file aspell_local.C -> \file aspell.C
3279         * gettext.C: \file gettext.C -> \file src/gettext.C
3280         * gettext.h: \file gettext.h -> \file src/gettext.h
3281         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3282         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3283         * text.C: \file text.C -> \file src/text.C
3284
3285         * toc.C: move comment so that doxygen is not confused.
3286
3287 2003-10-07  Angus Leeming  <leeming@lyx.org>
3288
3289         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3290
3291 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3292
3293         * aspell.C:
3294         * aspell_local.h: add forgotten std::string's.
3295
3296 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3297
3298         * LaTeXFeatures.C:
3299         * LyXAction.C:
3300         * factory.C:
3301         * lfuns.h:
3302         * lyxfunc.C:
3303         * text3.C: The Box patch. Fancybox support, minipage, parbox
3304
3305 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3306
3307         * CutAndPaste.h:
3308         * DepTable.h:
3309         * FloatList.h:
3310         * LaTeXFeatures.h:
3311         * ParagraphParameters.h:
3312         * TextCache.h:
3313         * Thesaurus.h:
3314         * bufferlist.h:
3315         * exporter.h:
3316         * importer.h:
3317         * lastfiles.h:
3318         * lyxfind.h:
3319         * lyxfont.h:
3320         * lyxlex.h:
3321         * lyxtextclasslist.h:
3322         * messages.h:
3323         * paragraph.h:
3324         * paragraph_pimpl.C:
3325         * textcursor.h: add <string> and other small fixes to make Lars'
3326         std::string patch compile with STLport.
3327
3328 2003-10-06  Angus Leeming  <leeming@lyx.org>
3329
3330         * LColor.h: Add missing #include <string>.
3331
3332 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * All most all file in all subdirs: Make <string> be the prefered
3335         way of getting to std::string, add using declarations.
3336
3337 2003-10-06  André Pönitz  <poenitz@gmx.net>
3338
3339         * metricsinfo.C: initialize LyXFont before changing attribute.
3340         (fixes the 'math in \emph is upright' bug)
3341
3342 2003-10-06  André Pönitz  <poenitz@gmx.net>
3343
3344         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3345
3346 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3347
3348         * graph.C:
3349         * paragraph_pimpl.C: Small fixes to build using STLport
3350
3351 2003-10-02  André Pönitz  <poenitz@gmx.net>
3352
3353         * lyxfunc.C:
3354         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3355
3356 2003-10-01  André Pönitz  <poenitz@gmx.net>
3357
3358         * factory.C: assert early
3359
3360 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * lyx_main.C: remove the global debug object
3363
3364         * debug.h: adjust for new debugstream
3365
3366         * debug.C: adjust for new debugstream and keep the global debug
3367         object here.
3368
3369 2003-09-22  Angus Leeming  <leeming@lyx.org>
3370
3371         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3372         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3373         an incomplete class LyXFont.
3374
3375 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3376
3377         * factory.C: bug fix in branches
3378
3379 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * lyxfunc.C (processKeySym): adjust
3382         (dispatch): adjust
3383         (dispatch): change arg name from ev to func, adjust
3384         (sendDispatchMessage): ditto
3385
3386         * lyx_main.C (defaultKeyBindings): adjust keybindings
3387         (deadKeyBindings): ditto
3388
3389         * kbsequence.C (addkey): return a FuncRequest
3390
3391         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3392
3393         * kbmap.C (bind): take a FuncRequest as arg, adjust
3394         (read): adjust
3395         (lookup): adjust
3396         (defkey): change to take a FuncRequest as arg, adjust
3397         (findbinding): take a FuncRequest as arg, adjust.
3398
3399         * funcrequest.h (operator=): added
3400
3401         * funcrequest.C (FuncRequest): default kb_action changed from
3402         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3403
3404         * buffer.C (dispatch): simplify
3405         (dispatch): adjust to take a FuncRequest as arg, adjust
3406
3407         * boost.C (assertion_failed): change assertion message slightly
3408
3409         * ToolbarBackend.C (read): simplify
3410
3411         * MenuBackend.C (binding): adjust call to findbinding, add a
3412         message if no binding is found.
3413         (read): simplify
3414         (expandToc): correct by adding a empty FuncRequest
3415
3416         * LyXAction.C: include <boost/assert.hpp>
3417         (isPseudoAction): delete function
3418         (LookupFunc): change name to...
3419         (lookupFunc): this. change return type to FuncRequest.
3420         (getActionName): take kb_action as arg, simplify
3421         (funcHasFlag): add an assert, simplify.
3422
3423 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * toc.C (action): return a FuncRequest, simplify
3426
3427         * lyxfunc.C (processKeySym): adjust
3428         (getStatus): delete version that takes an int.
3429         (getStatus): adjust
3430         (dispatch): delete version that takes action as int
3431         (dispatch): adjust
3432         (sendDispatchMessage): simplify and adjust
3433
3434         * funcrequest.C (getArg): take unsigned int as arg
3435
3436         * ToolbarBackend.C (read): adjust
3437         (add): delete version that takes func as a string.
3438         (getIton): take a FuncRequest as arg
3439
3440         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3441         action.
3442
3443         * MenuBackend.C (MenuItem): add a new construct that only takes a
3444         Kind, simplify the constructor use for submenus.
3445         (add): adjust
3446         (expandLastfiles): adjust
3447         (expandDocuments): adjust
3448         (expandFormats): adjust
3449         (expandFloatListInsert): adjust
3450         (expandFloatInsert): adjust
3451         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3452
3453         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3454         Remove class variables lyx_pseudo_map and lyx_arg_map
3455
3456         * LyXAction.C (searchActionArg): delete function
3457         (getPseudoAction): delete function
3458         (retrieveActionArg): delete function
3459         (LookupFunc): make it return kb_action, simplify.
3460         (getActionName): simplify
3461
3462         * factory.C (createInset): fix new bug
3463
3464 2003-09-19  Angus Leeming  <leeming@lyx.org>
3465
3466         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3467         masterFilename_ parameter in the include inset.
3468
3469         * factory.C (createInset): changes due to the changes to InsetInclude.
3470
3471 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3472
3473         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3474
3475 2003-09-18  Angus Leeming  <leeming@lyx.org>
3476
3477         * buffer.C:
3478         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3479         Inset::fillWithBibKeys.
3480         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3481
3482 2003-09-18  Angus Leeming  <leeming@lyx.org>
3483
3484         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3485         variables.
3486         (ctor): pass and store a 'Buffer const &'
3487         (buffer): new member function.
3488
3489         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3490         '*this' to the LaTeXFeatures ctor.
3491
3492 2003-09-18  Angus Leeming  <leeming@lyx.org>
3493
3494         * LColor.h:
3495         * lyxfont.C:
3496         * lyxfont.h:
3497         * lyxtext.h:
3498         * text.C: rename EnumLColor as LColor_color.
3499
3500 2003-09-18  Angus Leeming  <leeming@lyx.org>
3501
3502         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3503         remove #include "insets/insetbase.h" from cursor.h.
3504
3505 2003-09-18  Angus Leeming  <leeming@lyx.org>
3506
3507         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3508         InsetOld_code to remove #include "inset.h".
3509
3510         * iterators.C: add #include "insets/inset.h"
3511
3512 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * BufferView.C: remove more locking stuff that apparently doesn't
3515         do anything sensible.
3516
3517 2003-09-16  André Pönitz  <poenitz@gmx.net>
3518
3519         * paragraph.[Ch]:
3520         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3521           performance boost.
3522
3523 2003-09-16  Angus Leeming  <leeming@lyx.org>
3524
3525         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3526
3527         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3528         arg/return type.
3529
3530         * paragraph.h: remove #include "lyxfont.h". Forward declare
3531         LyXFont_size.
3532
3533 2003-09-16  Angus Leeming  <leeming@lyx.org>
3534
3535         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3536         of support/textutils.h.
3537         (isWord): move the contents of support/textutils.h's IsWordChar here.
3538
3539         * buffer.C:
3540         * lyxfind.C:
3541         * rowpainter.C:
3542         * text.C:
3543         * text2.C: add #include "paragraph.h".
3544
3545         * rowpainter.C:
3546         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3547
3548 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * main.C:
3551         * lyx_main.C:
3552         * lyx_cb.C:
3553         * buffer.C:
3554         * LaTeX.C: use namespace alias for lyx::support::os
3555
3556 2003-09-16  Angus Leeming  <leeming@lyx.org>
3557
3558         * bufferparams.C:
3559         * bufferview_funcs.C:
3560         * factory.C:
3561         * lyxfunc.C:
3562         * paragraph_pimpl.C:
3563         * rowpainter.C:
3564         * text.C: add #include "LColor.h".
3565
3566 2003-09-16  Angus Leeming  <leeming@lyx.org>
3567
3568         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3569         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3570         return LyXFont &.
3571         Store the FontBits::color variable as an int rather than as an
3572         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3573         file.
3574
3575         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3576         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3577         string calls together.
3578
3579         * lyxrc.C: add #include "LColor.h".
3580
3581 2003-09-15  Angus Leeming  <leeming@lyx.org>
3582
3583         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3584         a cow_ptr.
3585
3586 2003-09-15  Angus Leeming  <leeming@lyx.org>
3587
3588         * LColor.h: add an EnumLColor wrapper for LColor::color.
3589
3590         * lyxfont.[Ch] (color, setColor, realColor):
3591         * lyxtext.h, text.C (backgroundColor):
3592         pass EnumLColor args to/from the functions, rather than LColor::color
3593         ones.
3594
3595         * lyxfont.h:
3596         * lyxtext.h: forward declare EnumLColor.
3597
3598         * lyx_main.C: add #include "LColor.h".
3599
3600 2003-09-15  Angus Leeming  <leeming@lyx.org>
3601
3602         * .cvsignore: add lyx-gtk.
3603
3604 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * Chktex.C
3607         * LaTeX.C
3608         * LaTeXFeatures.C
3609         * ParagraphParameters.C
3610         * Spacing.C
3611         * buffer.C
3612         * bufferparams.C
3613         * bufferview_funcs.C
3614         * chset.C
3615         * counters.C
3616         * funcrequest.C
3617         * lyxfont.C
3618         * lyxgluelength.C
3619         * lyxlength.C
3620         * paragraph.C
3621         * paragraph_funcs.C
3622         * text3.C
3623         * vc-backend.C: remove usage of STRCONV
3624
3625 2003-09-15  Angus Leeming  <leeming@lyx.org>
3626
3627         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3628         explicitly define the color passed to the painter.
3629
3630 2003-09-15  Angus Leeming  <leeming@lyx.org>
3631
3632         * bufferparams.C (BufferParams): reorder member initializers to avoid
3633         compiler warning.
3634
3635 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3638         * text.C (updateRowPositions): remove an unusual nop
3639
3640 2003-09-12  André Pönitz  <poenitz@gmx.net>
3641
3642         * BufferView_pimpl.C:
3643         * Bullet.C:
3644         * layout.h:
3645         * lyxfunc.C:
3646         * lyxlayout.[Ch]:
3647         * lyxtextclass.C:
3648         * rowpainter.C:
3649         * text.C:
3650         * text2.C:
3651         * Counters.[Ch]: finish the 'automatic counters' job
3652
3653 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3654
3655         * aspell.C: include <boost/assert.cpp> (compile fix)
3656
3657 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3658
3659         * boost.C (assertion_failed): use lyx::support::abort instead of
3660         assert.
3661
3662 2003-09-10  Angus Leeming  <leeming@lyx.org>
3663
3664         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3665         with their _fwd progeny.
3666
3667 2003-09-09  Angus Leeming  <leeming@lyx.org>
3668
3669         134 files throughtout the source tree: replace 'using namespace abc;'
3670         directives with the appropriate 'using abc::xyz;' declarations.
3671
3672 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3673
3674         * boost.C (emergencyCleanup): moved here from LAssert.c
3675         (assertion_failed): new function, called by BOOST_ASSERT
3676
3677         * several files: change Assert to BOOST_ASSERT
3678
3679 2003-09-09  Angus Leeming  <leeming@lyx.org>
3680
3681         * buffer.[Ch]: Add an Impl class and move Buffer's member
3682         variables into it. As a result move several header files out of
3683         buffer.h.
3684
3685         Add header files to lots of .C files all over the tree as a result.
3686
3687 2003-09-09  Angus Leeming  <leeming@lyx.org>
3688
3689         * buffer.[Ch]: make Buffer's member variables private. Add
3690         accessor functions.
3691
3692         Lots of changes all over the tree as a result.
3693
3694 2003-09-08  Angus Leeming  <leeming@lyx.org>
3695
3696         * graph.C: #include <config.h>.
3697
3698 2003-09-08  Angus Leeming  <leeming@lyx.org>
3699
3700         * BranchList.C:
3701         * BufferView.C:
3702         * BufferView_pimpl.C:
3703         * CutAndPaste.C:
3704         * DepTable.C:
3705         * LaTeX.C:
3706         * LaTeXFeatures.C:
3707         * LyXAction.C:
3708         * MenuBackend.C:
3709         * TextCache.C:
3710         * aspell.C:
3711         * buffer.C:
3712         * bufferlist.C:
3713         * changes.C:
3714         * chset.C:
3715         * converter.C:
3716         * counters.C:
3717         * debug.C:
3718         * graph.C:
3719         * ispell.C:
3720         * lyx_cb.C:
3721         * lyxfind.C:
3722         * lyxfunc.C:
3723         * lyxlex_pimpl.C:
3724         * lyxrc.C:
3725         * lyxrow.C:
3726         * paragraph.C:
3727         * rowpainter.C:
3728         * texrow.C:
3729         * text.C:
3730         * text2.C:
3731         * toc.C: remove redundant using directives.
3732
3733 2003-09-07  Angus Leeming  <leeming@lyx.org>
3734
3735         * LaTeXFeatures.h: remove #include "support/types.h".
3736         * ToolbarBackend.h: remove #include <algorithm>.
3737         * changes.h: remove #include <ctime>.
3738         * debug.h: remove #include <iosfwd>.
3739         * graph.h: remove #include "support/std_string.h".
3740         * lyx_main.h: remove #include <csignal>.
3741         * lyxlex_pimpl.h: remove #include <fstream>.
3742         * sgml.h: remove #include <algorithm>, <utility>.
3743         * toc.h: remove #include "support/std_ostream.h".
3744         Add #include <iosfwd>.
3745
3746 2003-09-07  Angus Leeming  <leeming@lyx.org>
3747
3748         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3749
3750         * converter.h: forward declare LatexRunParams.
3751         * encoding.h: remove #include "lyxrc.h".
3752         * lyxtext.h: remove #include "LColor.h".
3753         * lyxtextclass.h: remove #include "support/types.h".
3754         * trans.h: remove #include "tex-accent.h".
3755         * trans_mgr.h: remove #include "tex-accent.h".
3756         * insets/inset.h: remove #include "support/types.h", <vector>.
3757         * insets/insetcollapsable.h: remove #include "LColor.h".
3758         * insets/insetinclude.h: remove #include "dimension.h".
3759         * insets/insetlatexaccent.h: remove #include "dimension.h".
3760         * insets/insetoptarg.h:: remove #include "insettext.h".
3761         * insets/insettext.h: remove #include "dimension.h",
3762         <boost/shared_ptr.hpp>
3763
3764         * insets/renderers.h: add #include "dimension.h".
3765         * insets/updatableinset.h: add #include "support/types.h".
3766
3767         * many .C files: Associated changes.
3768
3769 2003-09-06  Angus Leeming  <leeming@lyx.org>
3770
3771         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3772         one, inside testInvariant.
3773
3774         * PrinterParams.C: new file.
3775         * PrinterParams.[Ch]: move the function bodies out of line.
3776
3777 2003-09-06  Angus Leeming  <leeming@lyx.org>
3778
3779         * ParagraphParameters.h: forward declare ParameterStruct rather than
3780         including its header file.
3781         (depth): moved out-of-line.
3782
3783 2003-09-06  Angus Leeming  <leeming@lyx.org>
3784
3785         * BufferView_pimpl.h:
3786         * kbmap.h:
3787         * kbsequence.h:
3788         * lyxfunc.h: forward declare LyXKeySym rather than
3789         #include "frontends/LyXKeySym.h".
3790
3791         * BufferView_pimpl.C:
3792         * kbmap.C:
3793         * kbsequence.C:
3794         * lyxfunc.C: associated changes.
3795
3796 2003-09-06  Angus Leeming  <leeming@lyx.org>
3797
3798         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3799         As a result, can remove the #include "insets/inset.h" from BufferView.h
3800
3801 2003-09-06  Angus Leeming  <leeming@lyx.org>
3802
3803         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3804         As a result, can remove the #include "insets/inset.h" from BufferView.h
3805
3806 2003-09-06  Angus Leeming  <leeming@lyx.org>
3807
3808         * buffer_funcs.C:
3809         * buffer.h:
3810         * bufferlist.C:
3811         * BufferView.C:
3812         * bufferview_funcs.C:
3813         * BufferView_pimpl.C:
3814         * CutAndPaste.C:
3815         * lyx_cb.C:
3816         * lyxfunc.C:
3817         * paragraph.h:
3818         * ParagraphParameters.C:
3819         * tabular.C:
3820         * text3.C:
3821         * toc.C:
3822         * undo_funcs.C:
3823         * frontends/controllers/ControlDocument.C:
3824         * insets/insetcaption.C: rearrange the #includes into some sort of
3825         coherent order.
3826
3827         * buffer.h: remove #includes ErrorList.h, undo.h
3828
3829 2003-09-06  Angus Leeming  <leeming@lyx.org>
3830
3831         * support/types.h: add a 'depth_type' typedef, used to store the
3832         nesting depth of a paragraph.
3833
3834         * paragraph.h:
3835         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3836         defining explicitly.
3837
3838         * buffer.h:
3839         * paragraph_funcs.h:
3840         * ParagraphParameters.h:
3841         * sgml.h: use lyx::depth_type rather than Paragraph or
3842         ParameterStruct's depth_type.
3843
3844         * buffer.h
3845         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3846
3847         * BufferView.C:
3848         * BufferView_pimpl.C:
3849         * CutAndPaste.C:
3850         * ParagraphParameters.C:
3851         * buffer_funcs.C:
3852         * bufferlist.C:
3853         * bufferview_funcs.C:
3854         * lyx_cb.C:
3855         * lyxfunc.C:
3856         * tabular.C:
3857         * text3.C:
3858         * toc.C:
3859         * undo_funcs.C:
3860         * frontends/LyXView.C:
3861         * frontends/controllers/ControlDocument.C:
3862         * frontends/controllers/ControlErrorList.C:
3863         * insets/insetbibitem.C:
3864         * insets/insetbranch.C:
3865         * insets/insetcaption.C:
3866         * insets/insetcollapsable.C:
3867         * insets/insetenv.C:
3868         * insets/insetert.C:
3869         * insets/insetfloat.C:
3870         * insets/insetfoot.C:
3871         * insets/insetfootlike.C:
3872         * insets/insetnewline.C:
3873         * insets/insetquotes.C:
3874         * insets/insettabular.C:
3875         * insets/insettext.C:
3876         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3877
3878         * frontends/controllers/ControlChanges.C: #include "changes.h".
3879
3880 2003-09-06  Angus Leeming  <leeming@lyx.org>
3881
3882         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3883         than #including paragraph.h.
3884
3885         * ParagraphList.h:
3886         * RowList.h: deleted. Superfluous.
3887
3888         * CutAndPaste.h:
3889         * iterators.h:
3890         * lyxcursor.h:
3891         * lyxtext.h:
3892         * text_funcs.h:
3893         * undo.h:
3894         * undo_funcs.h:
3895         * insets/inset.h:
3896         * insets/insettext.h: use ParagraphList_fwd.h rather than
3897         ParagraphList.h.
3898
3899         * paragraph.h: don't forward declare ParagraphList.
3900
3901         * buffer.h:
3902         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3903         rather than ParagraphList.h. paragraph.h is still needed for the
3904         Paragraph::depth_type parameters.
3905
3906         * textcursor.h: enable it to compile stand-alone in light of the
3907         above changes.
3908
3909         * bufferview_funcs.C:
3910         * iterators.C:
3911         * lyxfunc.C:
3912         * lyxrow_funcs.C:
3913         * paragraph.C:
3914         * rowpainter.C:
3915         * text.C:
3916         * text2.C:
3917         * text3.C:
3918         * text_funcs.C:
3919         * textcursor.C:
3920         * undo.C:
3921         * frontends/controllers/ControlParagraph.C:
3922         * frontends/controllers/ControlTabular.C:
3923         * insets/insetmarginal.C:
3924         * insets/insetminipage.C:
3925         * insets/insetnote.C:
3926         * insets/insetoptarg.C: add header files needed to compile again.
3927
3928 2003-09-06  Angus Leeming  <leeming@lyx.org>
3929
3930         * RowList_fwd.h: new file, forward-declaring Row rather than
3931         #including lyxrow.h.
3932
3933         * lyxrow_funcs.h:
3934         * lyxtext.h:
3935         * paragraph.h:
3936         * insets/insettext.h: use it instead of RowList.h
3937
3938         * bufferview_funcs.C:
3939         * lyxfunc.C:
3940         * lyxrow_funcs.C:
3941         * paragraph.C:
3942         * rowpainter.C:
3943         * text.C:
3944         * text2.C:
3945         * text3.C: #include "RowList.h".
3946
3947 2003-09-05  Angus Leeming  <leeming@lyx.org>
3948
3949         * factory.C (createInset):
3950         * vspace.C (c-tor): replace sscanf call with an istringstream.
3951         * ispell.C: re-add missing HP/UX headers.
3952         * lyxserver.C: re-add missing  os2 headers.
3953
3954 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3955
3956         * BranchList.C:
3957         * graph.C:
3958         * ispell.C:
3959         * lastfiles.C:
3960         * lyx_cb.C:
3961         * lyxserver.C:
3962         * texrow.C:
3963         * text3.C: re-add missing system headers, needed for 2.95.2.
3964
3965 2003-09-05  Angus Leeming  <leeming@lyx.org>
3966
3967         Changes most place everywhere due to the removal of using directives
3968         from support/std_sstream.h.
3969
3970 2003-09-05  Angus Leeming  <leeming@lyx.org>
3971
3972         Replace LString.h with support/std_string.h,
3973         Lsstream.h with support/std_sstream.h,
3974         support/LIstream.h with support/std_istream.h,
3975         support/LOstream.h with support/std_ostream.h.
3976
3977         Changes resulting throughout the tree.
3978
3979 2003-09-05  Angus Leeming  <leeming@lyx.org>
3980
3981         * sgml.h: ensure that the header file can be compiled stand-alone.
3982         * *.C: strip out redundant #includes. (320 in total.)
3983
3984 2003-09-04  Angus Leeming  <leeming@lyx.org>
3985
3986         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3987         here (from getPackages).
3988
3989         * debug.[Ch]: add a new EXTERNAL tag.
3990
3991 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3992
3993         * text2.C (cursorEnd): simplify
3994         (setCursor): adjust
3995         (getColumnNearX): adjust
3996
3997         * text.C (computeBidiTables): adjust
3998         (fill): adjust
3999
4000         * rowpainter.C (paintChars): adjust
4001         (paintSelection): adjust
4002         (paintChangeBar): adjust
4003         (paintText): adjust
4004
4005         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4006         lastPos instead.
4007         (numberOfSeparators): adjust
4008
4009 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4010
4011         * LyXAction.C:
4012         * box.[Ch]:
4013         * lfuns.h:
4014         * lyxfunc.C:
4015         * text3.C: Restricts the mouse click functionality
4016         of insets like bibtex, include, toc and floatlist to the visible
4017         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4018         up the dialogs. Cursor has to be in front of the inset (i.e.
4019         start of row) for this to function.
4020
4021 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4022
4023         * bufferview_funcs.C (currentState): output row information
4024
4025 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4026
4027         * bufferview_funcs.C (currentState): output paragraph position
4028
4029 2003-09-04  Angus Leeming  <leeming@lyx.org>
4030
4031         * FloatList.h: move out #include "Floating.h".
4032         * LaTeX.h: move out #include "DepTable.h".
4033         * LyXAction.h: move out #include "funcrequest.h".
4034         * buffer.h: move out #include "author.h", "iterators.h".
4035         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4036         * lyx_main.h: move out #include "errorlist.h".
4037         * lyxfunc.h: move out #include "FuncStatus.h".
4038         * lyxtext: move out #include "lyxcursor.h".
4039         * paragraph_pimpl.h: move out #include "counters.h".
4040
4041 2003-09-03  Angus Leeming  <leeming@lyx.org>
4042
4043         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4044         preamble_snippets list, enabling us to add snippets to the preamble
4045         only if the snippet was not there already.
4046
4047 2003-09-04  Angus Leeming  <leeming@lyx.org>
4048
4049         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4050
4051 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4054         update
4055
4056 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4057
4058         * BranchList.C: point fix, earlier forgotten
4059
4060 2003-09-02  Angus Leeming  <leeming@lyx.org>
4061
4062         * box.C (contains): renamed from 'contained' after a fantastic
4063         amount of hot air.
4064
4065 2003-09-02  John Levon  <levon@movementarian.org>
4066
4067         * BufferView.C:
4068         * lyxcursor.h:
4069         * lyxcursor.C:
4070         * lyxfunc.C:
4071         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4072
4073 2003-09-02  John Levon  <levon@movementarian.org>
4074
4075         * text2.C: simplification of cursorEnd(), including partial
4076         fix for bug 1376
4077
4078 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * buffer.C (readFile): add a space
4081
4082 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4083
4084         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4085
4086 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * buffer.C (readFile): new function, take a filename and a
4089         ParagraphList::iterator
4090         (readFile): adjust
4091         (readFile): adjust, make it private. don't use setStream, make
4092         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4093         always contain the filename.
4094
4095         * BufferView.C (insertLyXFile): simplify and make it work for
4096         gzipped files.
4097
4098 2003-08-30  John Levon  <levon@movementarian.org>
4099
4100         * Makefile.am: fix dist (from Kayvan)
4101
4102 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * most files: change to use const Buffer refs
4105
4106 2003-08-27  André Pönitz  <poenitz@gmx.net>
4107
4108         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4109         on top of ownerPar().
4110
4111 2003-08-27  John Levon  <levon@movementarian.org>
4112
4113         * funcrequest.C: properly initialise POD members
4114
4115 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * lyxtext.h (top_y): move top_y from here
4118         * text.C:
4119         * text2.C:
4120         * text3.C:
4121         * BufferView.[Ch]:
4122         * BufferView_pimpl.[Ch]: to here
4123         * frontends/screen.C:
4124         * insets/insettabular.C:
4125         * insets/insettext.C: adjust
4126         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4127
4128 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * BufferView.[Ch]:
4131         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4132
4133 2003-08-26  André Pönitz  <poenitz@gmx.net>
4134
4135         * paragraph_func.[Ch] (outerPar): new function
4136
4137         * paragraph.C:
4138         * paragraph_funcs.C:
4139         * paragraph_funcs.h:
4140         * paragraph_pimpl.C:
4141         * text2.C: remove Inset::par_owner
4142
4143 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4144
4145         * lyxrow_funcs.C:
4146         * lyxtext.h:
4147         * text.C:
4148         * text2.C: eliminates the needFullRow/display() stuff
4149         altogether, putting the logic in metrics/draw in the insets.
4150
4151 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * text2.C (redoParagraphInternal, redoParagraphs):
4154         * text.C (redoParagraph): add a call to updateRowPositions at the
4155         end of each 'metrics-like' call. Remove all others.
4156         (getRow): remove the 'y-computing' version.
4157         (getRowNearY): do not compute nor return the real y. Solve the
4158         'y < 0' problem and simplify.
4159
4160 2003-08-22  Angus Leeming  <leeming@lyx.org>
4161
4162         * *.[Ch]: clean-up of licence and author blurbs.
4163         Also move config.h out of a few .h files and into a few .C files.
4164
4165 2003-08-22  André Pönitz  <poenitz@gmx.net>
4166
4167         * lyxrow.[Ch]: add x_ and *fill_ members
4168
4169         * lyxtext.h:
4170         * text.C:
4171         * rowpainter.C:
4172         * text2.C: adjust/remove prepareToPrint() calls
4173
4174 2003-08-22  André Pönitz  <poenitz@gmx.net>
4175
4176         * lyxrow.[Ch]: add  end_ member
4177
4178         * lyxrow_funcs.C: use LyXRow::end_
4179
4180         * lyxtext.h (singleWidth): add LyXFont parameter
4181
4182         * rowpainter.C:
4183         * text2.C: adjust LyXText::singleWidth() calls
4184
4185         * text.C (redoParagraph): simplify row breaking logic
4186
4187
4188 2003-08-19  André Pönitz  <poenitz@gmx.net>
4189
4190         * funcrequest.C: initialize button_ member
4191
4192         * text3.C:
4193         * rowpainter.[Ch]: interface consolidation
4194
4195 2003-08-18  André Pönitz  <poenitz@gmx.net>
4196
4197         * BufferView.C:
4198         * BufferView_pimpl.C:
4199         * lyxfind.C:
4200         * paragraph_funcs.C:
4201         * rowpainter.C:
4202         * text3.C: remove LyXScreen::draw() and fitCursor calls
4203
4204         * BranchList.h: remove spurious semicolons
4205
4206         * MenuBackend.C: fix branchlist related crash
4207
4208 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4209
4210         * BranchList.[Ch]:
4211         * InsetList.[Ch]:
4212         * LColor.[Ch]:
4213         * LyXAction.C:
4214         * Makefile.am:
4215         * MenuBackend.[Ch]:
4216         * bufferparams.[Ch]:
4217         * factory.C:
4218         * lfuns.h:
4219         * lyxfunc.C:
4220         * text3.C: implements the 'branch inset'
4221         idea. This allows the output of various versions of a document
4222         from a single source version, selectively outputing or suppressing
4223         output of parts of the text.
4224         This implementation contains a 'branch list editor' in a separate
4225         tab of the document settings dialog. Branches are user definable
4226         and have a "display colour" to distinguish them on-screen.
4227
4228         ColorHandler was somewhat cleaned up.
4229         (1) make possible a dynamically growing LColor list by allowing
4230         the graphic context cache to grow along (vector);
4231         (2) eliminate an IMHO unnecessary step in colour allocation.
4232
4233 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4234
4235         * BufferView_pimpl.C: compile fix
4236
4237 2003-08-15  André Pönitz  <poenitz@gmx.net>
4238
4239         * rowpainter.C: remove extra metrics calls
4240
4241         * lyxtext.h: merge the two constructors into a single one,
4242           pass reference to owner's par list
4243
4244         * BufferView_pimpl.C:
4245         * text.C:
4246         * text2.C: adjust
4247
4248 2003-08-15  André Pönitz  <poenitz@gmx.net>
4249
4250         * lyxrow_funcs.[Ch]:
4251         * lyxtext.h:
4252         * paragraph.h:
4253         * paragraph_funcs.C:
4254         * rowpainter.C:
4255         * text.C:
4256         * text2.C:
4257         * text3.C:
4258         * text_funcs.C: split LyXText::rowlist_ into individual
4259         Paragraph::rows_ chunks
4260
4261         * BufferView.[Ch]:
4262         * BufferView_pimpl.[Ch]:
4263         * lyxfind.C:
4264         * lyxtext.h:
4265         * text3.C: remove toggleSelection()
4266
4267 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4268
4269         * bufferlist.C: beautify two alerts (shorter text of buttons)
4270         * buffer.C: Remove redundant ' ' from message
4271         * tabular.h:
4272         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4273         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4274         rename VALIGN_CENTER to VALIGN_MIDDLE
4275
4276 2003-08-11  André Pönitz  <poenitz@gmx.net>
4277
4278         * lyxtext.h (getPar):
4279         * text.C: new function
4280
4281 2003-08-11  André Pönitz  <poenitz@gmx.net>
4282
4283         * Makefile.am:
4284         * tracer.[Ch]: remove unneeded files
4285
4286         * InsetList.[Ch]: remove resizeInsetsLyXText()
4287
4288         * lyxtext.h:
4289         * text.C:
4290         * text2.C:
4291         * text3.C: merge insertParagraphs() and appendParagraph()
4292         remove breakAgain(), update()
4293
4294         * BufferView_pimpl.[Ch]:
4295         * bufferview_funcs.[Ch]:
4296         * lyxfunc.C:
4297         * paragraph.[Ch]:
4298         * rowpainter.C:
4299         * tabular.C: adjust after text & InsetList changes.
4300
4301 2003-08-08  André Pönitz  <poenitz@gmx.net>
4302
4303         * text.C (insertChar, backspace): replace rowlist fiddling
4304         with rebreak of full par
4305
4306         * lyxtext.h:
4307         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4308         checkParagraph, updateInset): removed
4309
4310 2003-08-07  André Pönitz  <poenitz@gmx.net>
4311
4312         * paragraph.C:
4313         * text3.C: merge some LFUN handlers, remove dead code
4314
4315 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4316
4317         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4318
4319 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * text2.C (DEPM): fix part of bug 1255 and 1256
4322
4323 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4324
4325         * BufferView_pimpl.C (workAreaDispatch): change to use
4326         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4327         that are no mouse related.
4328
4329 2003-08-05  André Pönitz  <poenitz@gmx.net>
4330
4331         * BufferView.[Ch]:
4332         * BufferView_pimpl.[Ch]:
4333         * bufferview_funcs.C:
4334         * text2.C:
4335         * text3.C: rip out "deep update"
4336
4337         * textcursor.[Ch] (last_sel_cursor): remove unused member
4338
4339 2003-08-04  André Pönitz  <poenitz@gmx.net>
4340
4341         * BufferView.[Ch]:
4342         * BufferView_pimpl.[Ch]:
4343         * ParagraphParameters.C:
4344         * bufferview_funcs.C:
4345         * lyx_cb.C:
4346         * lyxfind.C:
4347         * lyxfunc.C:
4348         * text.C:
4349         * text2.C:
4350         * text3.C: replace "complicated" BufferView::update(...) calls with
4351         simpler ones.
4352
4353         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4354
4355 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4356
4357         * Makefile.am (lyx_SOURCES): add paper.h
4358
4359 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4360
4361         * Makefile.am: move things around so that both lyx-qt and
4362         lyx-xforms can be built (according to --with-frontend). Then lyx
4363         is a symbolic link to lyx-[firstfrontend]
4364
4365 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4366
4367         * Always use std::endl with lyxerr
4368
4369 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4370
4371         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4372
4373 2003-08-01  André Pönitz  <poenitz@gmx.net>
4374
4375         * BufferView.[Ch]:
4376         * BufferView_pimpl.[Ch]:
4377         * lyxfunc.C:
4378         * text3.C: merge BufferView::repaint() and BufferView::update()
4379
4380 2003-08-01  José Matos  <jamatos@lyx.org>
4381
4382         * buffer.[Ch]: file_format is no longer a buffer data element.
4383
4384 2003-08-01  André Pönitz  <poenitz@gmx.net>
4385
4386         * BufferView.C:
4387         * lyxtext.h:
4388         * text.C:
4389         * text2.C: make redoParagraph more independent of current cursor
4390
4391         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4392         * text.C:
4393         * text2.C: remove unneeded members
4394
4395 2003-07-30  André Pönitz  <poenitz@gmx.net>
4396
4397         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4398
4399         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4400           create a single function...
4401
4402         * paragraph_funcs.C (moveItem): ... here.
4403
4404         * text.C:
4405           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4406
4407 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4408
4409         * LColor.[Ch]: Add comment and greyedout logical colors.
4410
4411 2003-07-30  André Pönitz  <poenitz@gmx.net>
4412
4413         * tabular.C: don't use Assert too heavily. This crashes where it
4414           shouldn't
4415
4416 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4419         is disabled (bug 1232)
4420
4421 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4422
4423         * factory.C: limited 'arg' scope
4424
4425 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4426
4427         * factory.C: fixed Note submenu issues
4428
4429 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * factory.C: submenu for Note/Comment/Greyedout
4432
4433 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * lyx_main.C (LyX):
4436         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4437
4438 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4439
4440         * LaTeXFeatures.C:
4441         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4442         greyedout. Patch provided by Jürgen Spitzmüller.
4443
4444 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4445
4446         * kbmap.C (read): fix error message when reading bind files
4447
4448 2003-07-29  Angus Leeming  <leeming@lyx.org>
4449
4450         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4451         certainly does not do what it purports to do. I am doing it, and
4452         us, a favour by killing it.
4453
4454 2003-07-28  José Matos  <jamatos@lyx.org>
4455
4456         * buffer.C (readBody, do_writeFile):
4457         * paragraph.C(readParagraph): \end_document replaces \the_end.
4458
4459 2003-07-29  André Pönitz  <poenitz@gmx.net>
4460
4461         * BufferView.[Ch]:
4462         * BufferView_pimpl.[Ch]:
4463         * lyxfunc.C:
4464         * text2.C:
4465         * text3.C:
4466         * textcursor.[Ch]: remove toggleToggle & Co
4467
4468 2003-07-28  José Matos  <jamatos@fep.up.pt>
4469
4470         * buffer.C (readParagraph):
4471         * params_func (readParToken, readParagraph):
4472         * paragraph.C (write): \layout -> \begin_layout.
4473
4474 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyxlex_pimpl.C (setFile): clean up slightly.
4477
4478         * bufferparams.h: add compressed var
4479
4480         * buffer_funcs.C (readFile): adjust for LyXLex change
4481         (newFile): ditto + simplify
4482
4483         * buffer.C (writeFile): handle writing of compressed files
4484
4485         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4486         Check if the file is compressed and set a bufferparm if so.
4487
4488         * Makefile.am (lyx_LDADD): remove explicit -lz
4489
4490 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4491
4492         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4493         makeDocBookFile): put the real LyX version in the first line of
4494         the file
4495
4496         * version.h:
4497         * version.C.in: remove lyx_docversion
4498
4499         * tabular.C (write_attribute): add a template-based version to
4500         write enums properly
4501
4502 2003-07-28  André Pönitz  <poenitz@gmx.net>
4503
4504         * lyxtext.h:
4505         * text.C:
4506         * text2.C:
4507         * text3.C: use doubles again for x-coordinates. They are needed.
4508
4509 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * messages.C (getLocaleDir): use lyx_localedir()
4512
4513         * lyxlex_pimpl.C (setFile): compress stuff
4514
4515         * buffer.C (writeFile): add some compression stuff
4516         (do_writeFile): new func, dont call expliti close... will this
4517         breake anything?
4518
4519         * Makefile.am (lyx_LDADD): add -lz
4520
4521 2003-07-28  José Matos  <jamatos@fep.up.pt>
4522
4523         * buffer.C: increment file format.
4524         * paragraph_funcs (readParagraph, readParToken):
4525         * paragraph.C (readParagraph): add \end_layout.
4526
4527 2003-07-27  Angus Leeming  <leeming@lyx.org>
4528
4529         * Makefile.am: remove special casing for configure-time setting of
4530         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4531
4532         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4533         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4534
4535 2003-07-26  André Pönitz  <poenitz@gmx.net>
4536
4537         * paragraph_func.[Ch]:
4538         * paragraph.C (realizeFont): inline it whereever it is used
4539
4540         * rowpainter.C:
4541         * text.C:
4542         * text2.C:
4543         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4544
4545
4546 2003-07-26  André Pönitz  <poenitz@gmx.net>
4547
4548         *       lyxtext.h:
4549         * text.C:
4550         * text2.C: get rid of LyXText::need_break_row
4551
4552 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * toc.[Ch]: put namespace toc inside namespace lyx
4555
4556         * MenuBackend.C (expandToc2): adjust for lyx::toc
4557         (expandToc): ditto
4558
4559         * lyxfunc.C (dispatch): adjust for lyx::find
4560
4561         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4562         lyx::find instead. Reorganize a bit.
4563         (LyXReplace): rename to replace
4564         (LyXFind): rename to find
4565
4566         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4567         (dispatch): ditto
4568
4569 2003-07-26  André Pönitz  <poenitz@gmx.net>
4570
4571         * text.C (setHeightOfRow): restrict scope of temporary variable
4572
4573         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4574           code (never has been used?)
4575
4576 2003-07-27  Asger Alstrup  <alstrup@local>
4577
4578         * text.C (fill): Optimise algorithm to exploit that we can reuse
4579         the LyXFont for many characters.
4580         (setHeightOfRow): Same thing.
4581         (rowBreakPoint): Same thing.
4582
4583 2003-07-26  Asger Alstrup  <alstrup@local>
4584
4585         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4586
4587         * text.C (singleWidth): Spurious font copying in hot-spot
4588         singleWidth avoided. Reorder tests for arabic for efficiency.
4589
4590         * text.C (fill): handle empty paragraphs better.
4591
4592 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4593
4594         * ispell.C:
4595         * encoding.h: add includes
4596
4597         * lyxrc.C: remove reading of bind files
4598
4599         * lyx_main.C (init): setup bindings and menus only if we have a
4600         gui.
4601
4602         * kbmap.C (read): new method. Do the actual reading of bind
4603         files.
4604
4605         * converter.C (dvipdfm_options):
4606         * bufferparams.C:
4607         * lyxrc.C (read):
4608         (output): adapt PAPER_* enums.
4609
4610         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4611
4612         * bufferparams.h: remove paper-related enums from there
4613
4614         * paper.h: New file. A trivial header file to hold paper-related
4615         enums. It should later expand to contain many paper-related
4616         horrors access.
4617
4618         * lyxrc.C: declare extern displayTranslator
4619
4620 2003-07-27  José Matos  <jamatos@fep.up.pt>
4621
4622         * tabular.[Ch] (linuxdoc): add support for tables and figures
4623         (linuxdoc).
4624
4625 2003-07-27  José Matos  <jamatos@fep.up.pt>
4626
4627         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4628         consistency in both functions.
4629         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4630
4631 2003-07-26  Asger Alstrup  <alstrup@local>
4632
4633         * rowpainter.C (paintRows): Change algorithm to work directly on
4634         the insets rather than asking every character in the document
4635         whether its an inset.
4636
4637 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * buffer.C (openFileWrite): factorize some code
4640
4641 2003-07-26  Angus Leeming  <leeming@lyx.org>
4642
4643         * lyx_cb.C:
4644         * lyx_main.[Ch]: replace occurances of system_tempdir with
4645         os::getTmpDir().
4646
4647 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * rename Inset to InsetOld
4650
4651 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4652
4653         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4654         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4655         which I think is a bit clearer. EDIT is gone, since it was
4656         premature optimisation, and broken for mathed anyway.
4657         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4658         with cursor positioning in insets as well (math insets still do not
4659         work, but that's a different story anyway.) It mysteriously
4660         crashes sometimes with undo in the first paragraph, but I'm fairly
4661         confident that this is a compiler bug.
4662
4663 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * paragraph.C (Paragraph): adjust for new clone return type
4666         (operator==): ditto
4667         (copyIntoMinibuffer): ditto
4668
4669 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4670
4671         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4672         by not having a special case, and always doing a full rebreak of
4673         the document after undo.
4674
4675 2003-07-23  Angus Leeming  <leeming@lyx.org>
4676
4677         * factory.C (createInset): InsetExternal::setParams now takes a
4678         Buffer const * arg.
4679
4680 2003-07-23  Angus Leeming  <leeming@lyx.org>
4681
4682         * factory.C (createInset): changed interface to the external and
4683         graphics mailers' string2params functions.
4684
4685 2003-07-23  Angus Leeming  <leeming@lyx.org>
4686
4687         * factory.C (createInset): pass a
4688         Buffer const * parameter to InsetExternalMailer's string2params.
4689
4690 2003-07-22  John Levon  <levon@movementarian.org>
4691
4692         * Thesaurus.h: include the right aiksaurus header
4693
4694 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4695
4696         * MenuBackend.C (expand): check menu shortcuts unconditionally
4697
4698 2003-07-21  Angus Leeming  <leeming@lyx.org>
4699
4700         * factory.C (createInset): pass a
4701         buffer_path parameter to InsetGraphicsMailer's string2params.
4702
4703 2003-07-21  Angus Leeming  <leeming@lyx.org>
4704
4705         * BufferView_pimpl.C (buffer):
4706         * buffer.C (d-tor):
4707         * lyx_main.C (LyX):
4708         * lyxfunc.C (dispatch):
4709         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4710         rather than the grfx shortcut.
4711
4712 2003-07-21  André Pönitz  <poenitz@gmx.net>
4713
4714         * rowpainter.C: remove unused variables
4715
4716         * tabular_funcs.C:
4717         * tabular_funcs.h: move to tabular.C
4718         * Makefile.am: adjust
4719
4720         * tabular.[Ch]: basic optical cleaning
4721
4722         * author.h: pass references, not values
4723
4724 2003-07-18  André Pönitz  <poenitz@gmx.net>
4725
4726         * lyxtext.h:
4727         * metricsinfo.C:
4728         * metricsinfo.h:
4729         * rowpainter.C:
4730         * text.C:
4731         * text2.C:
4732         * text3.C: two-phase drawing for InsetText and InsetTabular
4733         some float -> int changes.
4734
4735 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * lyx_main.C: fix the fix
4738
4739 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * lyx_main.C: fix a crash in batch mode if no files specified
4742         * converter.C: ws
4743
4744 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * format.[Ch] (papersize): moved to BufferParams
4747         * converter.[Ch] (dvips_options): moved to BufferParams
4748         (dvipdfm_options): moved to anon namespace
4749         * bufferparams.[Ch]: added above functions.
4750
4751 2003-07-17  André Pönitz  <poenitz@gmx.net>
4752
4753         * lyxtext.h:
4754         * rowpainter.C:
4755         * text2.C: don't call inset->update() anymore
4756
4757         * metricsinfo.[Ch]: add convenience constructor
4758
4759 2003-07-16  André Pönitz  <poenitz@gmx.net>
4760
4761         * lyxcursor.[Ch]:
4762         * lyxfunc.[Ch]:
4763         * text.C:
4764         * text2.C: replace the LyXCursor::irow_ member with
4765          on-demand computation of the value
4766
4767 2003-07-16  John Levon  <levon@movementarian.org>
4768
4769         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4770
4771 2003-07-15  André Pönitz  <poenitz@gmx.net>
4772
4773         * text.C:
4774         * text2.C: remove no more needed refresh_row
4775
4776 2003-07-15  André Pönitz  <poenitz@gmx.net>
4777
4778         * lyxtext.h:
4779         * rowpainter.C:
4780         * text2.C:
4781         * text3.C: refresh_status tristate -> need_update bool
4782
4783 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * lyxtext.h (init): remove reinit argument (act as if always true)
4786         * text2.C: adjust to that
4787
4788 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4789
4790         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4791         * text3.C: use it to delete selections in some cases
4792         (bugs 441, 673, 702, 954).
4793
4794 2003-07-14  André Pönitz  <poenitz@gmx.net>
4795
4796         * rowpainter.[Ch]: reduce interface
4797
4798 2003-07-14  André Pönitz  <poenitz@gmx.net>
4799
4800         * BufferView_pimpl.C:
4801         * text2.C: adjust after removing unused BufferView * argument
4802
4803 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * text2.C (init): fix a crash fired on resize
4806
4807 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * buffer.[Ch]: added new closing signal
4810         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4811         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4812         BufferView::Pimpl via the closing the signal
4813
4814 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * buffer.[Ch]: take out all bv-related from buffer
4817         * BufferView.C:
4818         * BufferView_pimpl.[Ch]: connect to new signals
4819         * CutAndPaste.C: removed useless asserts
4820         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4821         * lyxvc.[Ch]:
4822         * vc-backend.[Ch]:
4823         * lyxfunc.C: moved view-related funciontality from vc here
4824         * paragraph.C: removed outdated comments
4825         * text.C: ws
4826
4827 2003-07-10  André Pönitz  <poenitz@gmx.net>
4828
4829         * BufferView_pimpl.C:
4830         * tabular.h:
4831         * tabular_funcs.C:
4832         * text.C:
4833         * text2.C: remove InsetText::InnerCache, clean up consequences
4834
4835 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4836
4837         * ispell.C: fix two typos in error messages
4838
4839 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4840
4841         * Extend Note inset to other forms of annotation like Comment
4842         and Greyedout. Right button click gives dialog.
4843
4844         Files modified or added (+):
4845
4846         * insetnote.[Ch]
4847         * FormNote.[Ch]      +
4848         * ControlNote.[Ch]   +
4849         * form_note.fd       +
4850         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4851         frontends/controllers
4852         * xforms/Dialogs.C
4853         * factory.C
4854
4855 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4856
4857         * aspell.C: add missing namespace lyx::support
4858
4859 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4860
4861         * BufferView.[Ch] (newFile): Add
4862         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4863         * LaTeX.[Ch] (message): added this signal and use it
4864         * buffer.[Ch] (busy, message): added these signals and use them
4865         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4866         * converter.C:
4867         * exporter.C:
4868         * format.C:
4869         * importer.C: use buffer signals instead of direct bv calling
4870         * lyx_cb.[Ch] (ShowMessage): removed
4871         * lyx_main.C:
4872         * lyxfunc.C:
4873         * paragraph_funcs.C:
4874         * text2.C: use buffer signals
4875
4876 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * introduce namespace lyx::graphics
4879
4880 2003-07-02  André Pönitz  <poenitz@gmx.net>
4881
4882         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4883
4884 2003-07-01  André Pönitz  <poenitz@gmx.net>
4885
4886         * text.C:
4887         * text2.C:
4888         * text3.C:
4889         * text_funcs.[Ch]:
4890         * textcursor.h:
4891         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4892           text*.C to text_func.C
4893
4894 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * introduce namespace lyx::support
4897
4898 2003-06-30  André Pönitz  <poenitz@gmx.net>
4899
4900         * Chktex.C:
4901         * funcrequest.C:
4902         * lyxtext.h:
4903         * text.C: re-enable --with-included-string
4904
4905 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * textcursor.C: add <config.h>
4908
4909         * text.C (getWord): remove const from word_location arg
4910
4911         * lyxvc.C (getLogFile): fix const type order
4912
4913         * lyxtext.h: remove const from word_location arg, add arg name
4914
4915         * lyxlayout.h: currect type on labeltype.
4916
4917         * importer.C: correct \file
4918
4919         * converter.C (intToFormat): use std:: on ret val, ws changes
4920
4921         * bufferlist.h: correct \file
4922
4923         * buffer.C (makeLinuxDocFile): fix const type order
4924         (makeDocBookFile): ditto
4925         (fillWithBibKeys): use std:: on stdlib args.
4926
4927         * CutAndPaste.C: fix authors.
4928         (availableSelections): use std:: on return vector
4929
4930 2003-06-27  André Pönitz  <poenitz@gmx.net>
4931
4932         * BufferView_pimpl.C:
4933         * bufferview_funcs.C:
4934         * lyxcursor.C:
4935         * lyxcursor.h:
4936         * lyxfunc.C:
4937         * lyxtext.h:
4938         * rowpainter.C:
4939         * text.C:
4940         * text2.C:
4941         * text3.C: remove LyXCursor::row_ member
4942
4943         * lyxtext.h:
4944         * text.C: rename fullRebreak() to partialRebreak() and implement
4945           a fullRebreak() that really bereks fully
4946
4947         * textcursor.h: new struct for cursor-related data
4948
4949 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4950
4951         * lyx_main.C (LyX): get full path of document loaded on the
4952         command line
4953
4954 2003-06-26  André Pönitz  <poenitz@gmx.net>
4955
4956         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4957           remove unused/broken operator>,<,>=.
4958
4959         *       text.C: remove only use of broken operator<= in an Assert().
4960
4961 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4962
4963         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4964         moved errorlist_.clear to showErrorList
4965
4966 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4967
4968         * converter.C (scanLog, runLaTeX):
4969         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4970         move the bv->showErrorList call to the callers
4971         * lyxfunc.C: i.e. here...
4972         * text2.C: and here
4973         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4974         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4975         namespace, the second to...
4976         * buffer_funcs (BufferFormat, parseErrors): added
4977         * errorlist.C (ErrorList(TeXErrors const &)): removed
4978
4979 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4980
4981         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4982
4983 2003-06-24  "Garst R. Reese" <reese@isn.net>
4984
4985         * debug.C: fix typo
4986
4987 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4988
4989         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4990
4991         * version.C.in: change docversion to 1.4
4992
4993 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * buffer.C: fix a bug just introduced
4996
4997 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * buffer.[Ch]: added the parseError signal and use it, removed
5000         sgmlError
5001         * BufferView.[Ch] (addError): moved to ...
5002         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5003         to the Buffer::parseError signal to catch (guess what) parse errors
5004         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5005
5006 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5009         ability to create a buffer and to return an existing one from
5010         the list. Moved these functions to...
5011         * buffer_funcs.[Ch]: added
5012         * BufferView.[Ch] (loadLyXFile): added
5013         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5014         job removed from bufferlist::loadLyXFile.
5015         * buffer.C (setReadOnly): make it work without view
5016         (i.e added an if (users))
5017
5018 2003-06-19  Angus Leeming  <leeming@lyx.org>
5019
5020         * lfuns.h:
5021         * LyXAction.C (init):
5022         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5023         with LFUN_DIALOG_SHOW <name> <data>.
5024
5025 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5026
5027         * CutAndPaste.C (availableSelections): small compilation fix for
5028         ancient (gcc 2.9x) compilers
5029
5030 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * text3.C (cursorNext): add tmp var
5033
5034         * text2.C (updateCounters): for function calling out of for clause
5035         (replaceSelectionWithString): ditto
5036         (insertStringAsParagraphs): ditto
5037         (getColumnNearX): add tmp var
5038         (setCursorFromCoordinates): add tmp var
5039         (cursorDownParagraph): add tmp var
5040         (deleteEmptyParagraphMechanism): add tmp var
5041
5042         * text.C (insertChar): add tmp var
5043
5044         * rowpainter.C (paintDepthBar): add tmp var
5045
5046         * CutAndPaste.C (availableSelections): potentially check all
5047         paragraphs in a cut to fill the shown strings.
5048
5049 2003-06-18  André Pönitz  <poenitz@gmx.net>
5050
5051         * kbmap.[Ch]: use vector<> instead of list<>
5052
5053 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5054
5055         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5056         pasteSelection with index
5057
5058         * text2.C (pasteSelection): modify, call pasteSelection with index
5059
5060         * paragraph.C (asString): reimplement version with no interval to
5061         call the one with interval.
5062
5063         * lyxtext.h: add index arg to pasteSelection
5064
5065         * MenuBackend.C (MenuItem): handle PasteRecent
5066         (Menu::read::Menutags): add md_pasterecent
5067         (read): handle it
5068         (expandPasteRecent): new function
5069         (expand): use it
5070
5071         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5072
5073         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5074         the limited stack
5075         (availableSelections): new function
5076
5077 2003-06-17  Angus Leeming  <leeming@lyx.org>
5078
5079         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5080
5081 2003-06-17  Angus Leeming  <leeming@lyx.org>
5082
5083         * lfuns.h:
5084         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5085
5086         * lyxfunc.C (dispatch): invoke it.
5087
5088 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5089
5090         * iterators.C (operator++, ParPosition): reintroduce some
5091         const_cast for the benefit of older compilers.
5092
5093 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5094
5095         * text3.C (dispatch): do not modify clipboard when doing
5096         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5097         LFUN_DELETE_SKIP on a selection selection
5098
5099 2003-06-16  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView.C:
5102         * buffer.C:
5103         * buffer.h:
5104         * paragraph.C:
5105         * tabular.[Ch]: IU of clone() and getLabelList();
5106
5107 2003-06-13  André Pönitz  <poenitz@gmx.net>
5108
5109         * tabular.h: compactification
5110
5111 2003-06-12  André Pönitz  <poenitz@gmx.net>
5112
5113         * tabular.C:
5114         * tabular.h:
5115         * tabular_funcs.h: some renaming plus whitespace
5116
5117 2003-06-12  André Pönitz  <poenitz@gmx.net>
5118
5119         * BufferView.C:
5120         * BufferView_pimpl.C:
5121         * CutAndPaste.C:
5122         * buffer.C:
5123         * iterators.[Ch]:
5124         * lyxfunc.C:
5125         * text.C:
5126         * toc.C: Return a Paragraph & for ParIterator::operator*()
5127
5128 2003-06-11  John Levon  <levon@movementarian.org>
5129
5130         * lyx_main.C:
5131         * ToolbarBackend.h:
5132         * ToolbarBackend.C: add "Toolbars" section and
5133         put the flags there
5134
5135 2003-06-10  Angus Leeming  <leeming@lyx.org>
5136
5137         * lfuns.h:
5138         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5139
5140         * lyxfunc.C (dispatch): invoke it.
5141
5142 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * main.C: protect <ios> with HAVE_IOS
5145         (main): protect sync_with_stdio with HAVE_IOS
5146
5147 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5148
5149         * text2.C (cutSelection): adjust
5150         (pasteSelection): adjust
5151
5152         * messages.C: handle get of empty string
5153
5154         * main.C (main): use sync_with_stdio(false)
5155
5156         * lyxfunc.C (dispatch): adjust
5157
5158         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5159         (WriteAs): remove unneeded BufferView arg.
5160
5161         * bufferparams.h: use correct types on papersize, papersize2 and
5162         paperpackage.
5163
5164         * bufferparams.C (readToken): adjust for type
5165         (writeLaTeX): add missing cases to switch.
5166
5167         * bufferlist.C (quitWriteBuffer): adjust
5168         (close): adjust
5169
5170         * buffer.C (asciiParagraph): remove some commented code.
5171
5172         * CutAndPaste.C: remove current_view extern variable.
5173         (cutSelection): add BufferParams arg.
5174         (eraseSelection): add BufferParams arg.
5175         (pasteSelection): add Buffer const & arg
5176
5177 2003-06-07  John Levon  <levon@movementarian.org>
5178
5179         * buffer.C:
5180         * paragraph_funcs.C:
5181         * paragraph_pimpl.C:
5182         * text.C:
5183         * text2.C:
5184         * paragraph.h:
5185         * paragraph.C: allow InsetERT to freely space lines,
5186         and some consolidation of code
5187
5188 2003-06-06  José Matos  <jamatos@fep.up.pt>
5189
5190         * buffer.C (makeDocBookFile): fix bug #821
5191
5192 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5195
5196 2003-06-04  Angus Leeming  <leeming@lyx.org>
5197
5198         * buffer.C: bump format to 224.
5199
5200 2003-06-05  André Pönitz  <poenitz@gmx.net>
5201
5202         * text2.C (redoParagraphs): remove two const_cast<>
5203
5204 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5205
5206         * ParagraphList.h: remove last remnants of NO_STD_LIST
5207
5208 2003-06-03  Angus Leeming  <leeming@lyx.org>
5209
5210         * factory.C (createInset): small change to the way InsetExternal's params
5211         are set.
5212
5213 2003-06-04  André Pönitz  <poenitz@gmx.net>
5214
5215         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5216
5217         * paragraph_pimpl.h:
5218         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5219
5220         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5221
5222         * undo_funcs.C: make some simple cases of undo work again
5223
5224 2003-06-03  John Levon  <levon@movementarian.org>
5225
5226         * ispell.C: HPUX doesn't have sys/select.h
5227         (from Albert Chin)
5228
5229 2003-06-03  John Levon  <levon@movementarian.org>
5230
5231         * CutAndPaste.C: update tabular and include inset
5232         buffer references
5233
5234         * buffer.h:
5235         * paragraph.h:
5236         * paragraph.C: remove owningBuffer(), don't pass Buffer
5237         to clone()
5238
5239         * factory.C: insetGraphicsParams changed
5240
5241 2003-06-02  John Levon  <levon@movementarian.org>
5242
5243         * LyXAction.C:
5244         * factory.C:
5245         * lfuns.h:
5246         * lyxfunc.C:
5247         * text3.C: remove insetparent
5248
5249 2003-06-02  John Levon  <levon@movementarian.org>
5250
5251         * buffer.h:
5252         * buffer.C: fix inset_iterator.end(), move out of line
5253         (bug 1149)
5254
5255 2003-06-01  John Levon  <levon@movementarian.org>
5256
5257         * text3.C: use a proper cut/paste when doing inset
5258         insert (from Jürgen Spitzmüller)
5259
5260 2003-06-01  John Levon  <levon@movementarian.org>
5261
5262         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5263
5264 2003-05-30  André Pönitz  <poenitz@gmx.net>
5265
5266         * rowpainter.C: unify second drawing phase
5267
5268 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * trans_mgr.C: remove one case of current_view
5271
5272         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5273
5274         * paragraph_funcs.h: remove paragraph.h include
5275
5276         * paragraph.h: delete NO_STD_LIST stuff
5277
5278         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5279
5280         * buffer.h: remove paragraph.h include
5281
5282         * ParagraphList.C: delete file
5283
5284         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5285
5286         * toc.C (getTocList): adjust
5287
5288         * paragraph_pimpl.C (validate): adjust
5289
5290         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5291
5292         * paragraph.C (Paragraph): adjust
5293         (getPositionOfInset): use const_iterator, adjust
5294         (bibitem): use const_iterator, adjust
5295         (setInsetOwner): adjust
5296
5297         * iterators.C (operator++): adjust
5298
5299         * InsetList.[Ch]: Replace selfmade iterator with standard
5300         vector::iterator also introduce const_iterator. Remove getPos,
5301         getInset and setInset from InsetTable. Adjust accordingly.
5302
5303         * BufferView.C (lockInset): adjust
5304         (ChangeInsets): adjust
5305
5306         * tabular.[Ch]: delete commented same_id functions
5307
5308 2003-05-28  John Levon  <levon@movementarian.org>
5309
5310         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5311
5312 2003-05-28  André Pönitz  <poenitz@gmx.net>
5313
5314         * metricsinfo.[Ch]: remove 'fullredraw' member
5315
5316 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5317
5318         * lyxtextclass.C (operator): remove caching.
5319
5320 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * text3.C: adjust
5323
5324         * text2.C (cursorBottom): adjust
5325         (setCounter): use ParagraphList::find, adjust
5326
5327         * text.C (workWidth): use ParagraphList::find, adjust
5328
5329         * lyxcursor.C (LyXCursor): adjust
5330
5331         * buffer.C (inset_iterator): adjust
5332
5333         * ParagraphList.h: make iterator(value_type) private, make
5334         ParagraphList a friend of iterator.
5335
5336         * ParagraphList.C (find): new function
5337
5338         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5339
5340 2003-05-27  André Pönitz  <poenitz@gmx.net>
5341
5342         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5343
5344 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5345
5346         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5347
5348 2003-05-26  John Levon  <levon@movementarian.org>
5349
5350         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5351
5352 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * remove same_id from function signatures, adjust.
5355
5356 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5357
5358         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5359
5360         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5361
5362         * paragraph.C (Paragraph): get rid of same_ids parameter
5363
5364         * ParagraphList.C (insert): adjust
5365         (push_back): adjust
5366
5367 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * paragraph_funcs.C (breakParagraph): adjust
5370         (breakParagraphConservative): adjust
5371
5372         * buffer.C (readParagraph): adjust
5373
5374         * ParagraphList.C (insert): take a reference instead of a pointer
5375         (insert): adjust
5376
5377         * paragraph.[Ch] (id): new function
5378
5379         * bufferlist.C (newFile): adjust
5380
5381         * ParagraphList.C (ParagraphList): adjust
5382         (assign): adjust
5383         (push_back): take a reference instead of a pointer.
5384
5385         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5386
5387         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5388         instead.
5389
5390         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5391         set else use old code.
5392
5393         * ParagraphList.C: remove all NO_NEXT code and only compile this
5394         code of NO_STD_LIST is set.
5395
5396 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5397
5398         * BufferView_pimpl.C:
5399         * TextCache.C:
5400         * TextCache.h:
5401         * bufferlist.C:
5402         * errorlist.h:
5403         * format.C:
5404         * format.h:
5405         * graph.C:
5406         * lyxfunc.C:
5407         * lyxrc.C:
5408         * graphics/GraphicsConverter.C:
5409         * graphics/PreviewLoader.C: header adjustment
5410
5411 2003-05-23  Angus Leeming  <leeming@lyx.org>
5412
5413         * LaTeXFeatures.[Ch] (useBabel): new method.
5414         * bufferparams.C (writeLaTeX): use it.
5415
5416 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * ParagraphList.h (set): remove unused function.
5419
5420 2003-05-23  André Pönitz  <poenitz@gmx.net>
5421
5422         * BufferView.C:
5423         * BufferView_pimpl.C:
5424         * buffer.C:
5425         * buffer.h:
5426         * lyxfunc.C:
5427         * undo_funcs.C: setUndo reworked
5428
5429         * iterators.[Ch]: add access to topmost ParagraphList
5430
5431         * lyxtext.[Ch] (workWidth): add a const
5432
5433 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * texrow.[Ch] (increasePos): remove function
5436         * exporter.C (export): removed unused var and outdated comment
5437
5438 2003-05-23  Angus Leeming  <leeming@lyx.org>
5439
5440         * latexrunparams.h: rename fragile as moving_arg.
5441         * paragraph.C (simpleTeXOnePar): ditto.
5442         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5443
5444 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5447         (createUndo): ditto
5448         (textUndoOrRedo): comment out a currently unused var.
5449
5450         * paragraph.h (NO_NEXT): enable NO_NEXT
5451
5452         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5453
5454         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5455
5456         * exporter.C (Export): adjust for removeAutoInsets removal.
5457
5458         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5459
5460         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5461
5462         * BufferView.[Ch] (removeAutoInsets): delete function
5463
5464 2003-05-22  Angus Leeming  <leeming@lyx.org>
5465
5466         * latexrunparams.h: add a free_spacing variable.
5467
5468         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5469         to pass moving_arg, as the data is stored in runparams.fragile.
5470
5471         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5472         to Inset::latexOptional or to simpleTeXOnePar.
5473
5474         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5475         free_spacing arg to Inset::latexOptional.
5476
5477         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5478         free_spacing arg.
5479
5480 2003-05-22  Angus Leeming  <leeming@lyx.org>
5481
5482         * latexrunparams.h: add fragile and use_babel variables.
5483
5484         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5485         * buffer.C (makeLaTeXFile): store this returned value in
5486         runparams.use_babel, thus passing it to the inset::latex methods.
5487
5488         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5489         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5490
5491         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5492         longer has a fragile arg, as it is stored in runparams.fragile.
5493
5494         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5495         moving_arg parameter as the data is stored in runparams.fragile.
5496
5497         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5498         a fragile parameter as the data is stored in runparams.fragile.
5499
5500 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5503
5504 2003-05-22  Angus Leeming  <leeming@lyx.org>
5505
5506         * latexrunparams.h: add a 'bool nice' which defaults to false.
5507
5508         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5509         now encapsulated within runparams.
5510
5511         * bufferlist.C (updateIncludedTeXfiles):
5512         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5513
5514 2003-05-22  Angus Leeming  <leeming@lyx.org>
5515
5516         * latexrunparams.h: new file containing struct LatexRunParams.
5517         * Makefile.am: add new file.
5518
5519         * LaTeX.[Ch] (c-tor, run):
5520         * buffer.[Ch] (makeLaTeXFile):
5521         * bufferlist.[Ch] (updateIncludedTeXfiles):
5522         * converter.C (convert, scanLog):
5523         * converter.[Ch] (runLaTeX):
5524         * exporter.C (Export):
5525         * paragraph.[Ch] (simpleTeXOnePar):
5526         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5527         * paragraph_funcs.[Ch] (latexParagraphs):
5528         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5529         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5530         pass around a LatexRunParams parameter.
5531
5532 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * paragraph.[Ch]: remove unused constructor
5535
5536         * ParagraphList.C (erase): new function, taking two iterators
5537
5538 2003-05-22  André Pönitz  <poenitz@gmx.net>
5539
5540         * undo_funcs.C: remove duplicated code
5541
5542         * iterator.[Ch]: operator=
5543
5544 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * tabular.C (SetMultiColumn): ws changes
5547
5548         * rowpainter.C (paintFirst): get rid of a ->previous
5549
5550         * lyx_cb.C (getPossibleLabel): parlist simplification
5551
5552         * BufferView.C (ChangeInsets): simplify slightly.
5553
5554 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5555
5556         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5557         * lfuns.h: new LFUN_SPACE
5558         * lyxfunc.C: protected space has a new lfun
5559         * paragraph_funcs.C: read new space insets
5560         * text3.C:
5561         * factory.C: handle new space insets
5562
5563 2003-05-22  André Pönitz  <poenitz@gmx.net>
5564
5565         * BufferView.C:
5566         * BufferView_pimpl.C:
5567         * buffer.[Ch]:
5568         * lyxfunc.C:
5569         * undo_funcs.C: return a ParIterator from getParFromID.
5570
5571         * iterators.[Ch]: add two const's
5572
5573 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * toc.C (getTocList): adjust
5576
5577         * iterators.[Ch]: rework for parlist
5578
5579         * buffer.C (par_iterator_begin): adjust
5580         (par_iterator_end): adjust
5581
5582         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5583
5584         * BufferView.C (removeAutoInsets): adjust
5585         (ChangeInsets): adjust
5586
5587 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5588
5589         * text.C (top_y): fix bug 1110
5590
5591 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5592
5593         * errorlist.[Ch]: added
5594         * buffer.C:
5595         * BufferView.[Ch]:
5596         * BufferView_pimpl.C:
5597         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5598         instead
5599
5600 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * Makefile.am: ensure that lyx is relinked upon changes to the
5603         various "convenience" libs.
5604
5605 2003-05-20  Angus Leeming  <leeming@lyx.org>
5606
5607         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5608         files are compiled in alphabetical order again.
5609
5610         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5611
5612 2003-05-19  Angus Leeming  <leeming@lyx.org>
5613
5614         * gettext.[Ch]: remove "char const * _(char const *)".
5615
5616 2003-05-19  André Pönitz  <poenitz@gmx.net>
5617
5618         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5619
5620         * Makefile.am:
5621         * BufferView.C:
5622         * DepTable.h:
5623         * LaTeXFeatures.C:
5624         * buffer.C:
5625         * lyxfont.C:
5626         * lyxlex.h:
5627         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5628
5629 2003-05-19  André Pönitz  <poenitz@gmx.net>
5630
5631         * buffer.C:
5632         * lyxlayout.[Ch]:
5633         * lyxtextclass.[Ch]:
5634         * paragraph.C:
5635         * paragraph_funcs.[Ch]:
5636         * text2.C:
5637         * text3.C: more insetenv work
5638
5639 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * ParagraphParameters.C (params2string): small bug fixed
5642
5643 2003-05-16  André Pönitz  <poenitz@gmx.net>
5644
5645         * debug.C:
5646         * bufferview_funcs.C: patch from Kornel Benko to prevent
5647           crash when _(...) is called twice in a statement
5648
5649 2003-05-16  André Pönitz  <poenitz@gmx.net>
5650
5651         * BufferView.C:
5652         * lyxfunc.C:
5653         * text.C:
5654         * text2.C:
5655         * text3.C:
5656         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5657
5658 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * lyx_main.C (init): remove spurious static_cast
5661
5662 2003-05-14  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView.C: fix format string
5665
5666 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * BufferView.[Ch] (insertErrors): removed
5669         * BufferView.[Ch] (showErrorList): added
5670         * buffer.C (runChkTeX):
5671         * converter.C (scanLog): call showErrorList instead of inserterrors
5672
5673 2003-05-13  André Pönitz  <poenitz@gmx.net>
5674
5675         * BufferView_pimpl.C:
5676         * buffer.C:
5677         * bufferview_func.C:
5678         * MenuBackend.C:
5679         * lyxfunc.C:
5680         * lyxrc.C:
5681         * tex-accent.C:
5682         * text3.C:
5683         * toc.C:
5684         * tabular_funcs.h: tostr() from its own header
5685
5686         * ParagraphParameters.C:
5687         * ToolbarBackend.C:
5688         * bufferparams.C:
5689         * format.C:
5690         * lyxlex_pimpl.C:
5691         * text3.C: STRCONV()
5692
5693 2003-05-12  André Pönitz  <poenitz@gmx.net>
5694
5695         * BufferView.C:
5696         * BufferView_pimpl.C:
5697         * CutAndPaste.C:
5698         * LaTeX.C:
5699         * LaTeXFeatures.C:
5700         * ParagraphParameters.C:
5701         * buffer.C:
5702         * bufferlist.C:
5703         * bufferparams.C:
5704         * bufferview_funcs.C:
5705         * converter.C:
5706         * counters.C:
5707         * debug.C:
5708         * exporter.C:
5709         * format.C:
5710         * importer.C:
5711         * lyx_cb.C:
5712         * lyx_main.C:
5713         * lyxfont.C:
5714         * lyxfunc.C:
5715         * lyxvc.C:
5716         * paragraph.C:
5717         * paragraph_funcs.C:
5718         * tabular.C:
5719         * tabular_funcs.C:
5720         * text2.C:
5721         * text3.C:  boost::format -> bformat  all over the place
5722
5723
5724 2003-05-09  André Pönitz  <poenitz@gmx.net>
5725
5726         * LColor.[Ch]: Pimpl the #include <map> away
5727
5728 2003-05-09  John Levon  <levon@movementarian.org>
5729
5730         * bufferlist.C: never remove emergency saves
5731
5732 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * Makefile.am: better lib building
5735
5736 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5739         instead.
5740         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5741         (simpleTeXSpecialChars): adjust
5742         (simpleTeXSpecialChars): adjust
5743         * paragraph.C (simpleTeXOnePar): adjust
5744         * buffer.C (makeLaTeXFile): adjust
5745
5746         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5747
5748         * text2.C (changeDepth): parlist cleanup
5749         (getColumnNearX): ditto
5750
5751         * rowpainter.C (getLabelFont): parlist cleanup
5752
5753         * bufferlist.C (newFile): parlist cleanup
5754
5755         * CutAndPaste.C (eraseSelection): parlist cleanup
5756
5757         * BufferView_pimpl.C (trackChanges): parlist cleanup
5758         (dispatch): ditto
5759
5760         * BufferView.C (lockInset): parlist cleanup.
5761         (ChangeInsets): ditto
5762
5763 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * CutAndPaste.h: Update file header.
5766
5767         * CutAndPaste.C: Update file header.
5768         Store the parts cut out of the Document in a limited_stack.
5769         (copySelection): adjust
5770         (pasteSelection): new function, takes the index in the limited stack.
5771         (nrOfParagraphs): adjust
5772         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5773         simplify error inset insertion.
5774         (checkPastePossible): adjust
5775
5776 2003-05-06  John Levon  <levon@movementarian.org>
5777
5778         * text2.C: don't cast wrap inset to float
5779
5780 2003-05-05  André Pönitz  <poenitz@gmx.net>
5781
5782         * iterator.C:
5783         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5784
5785         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5786           few naked Paragraph *.
5787
5788 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5789
5790         * bufferparams.C: Output warning if a document with missing
5791         TeX document class is loaded
5792         * exporter.C: Disable TeX exports if the document class is missing
5793         * lyxtextclass.C:
5794         * lyxtextclass.h:
5795         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5796         isTeXClassAvailable()
5797
5798 2003-05-03  John Levon  <levon@movementarian.org>
5799
5800         * BufferView.h:
5801         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5802         explicit cursor show/hide
5803
5804         * BufferView_pimpl.h:
5805         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5806         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5807
5808         * lyxfunc.C: hide cursor before dispatching.
5809
5810         * lyx_cb.C:
5811         * lyxfind.C:
5812         * text.C:
5813         * text3.C: remove explicit cursor hides
5814
5815 2003-05-02  André Pönitz  <poenitz@gmx.net>
5816
5817         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5818
5819         * undo_funcs.C:
5820         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5821           linked lists
5822
5823         * text2.C: tiny whitespace
5824
5825 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * undo_funcs.C: almost only ws changes.
5828
5829         * ParagraphList.C (splice): just return if pl is empty.
5830
5831 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * ParagraphList.C (splice): new function.
5834
5835         * CutAndPaste.C (pasteSelection): use it
5836
5837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * CutAndPaste.C (pasteSelection): remove the last next and
5840         previous from this file.
5841
5842 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * CutAndPaste.C (pasteSelection): more clean up, user proper
5845         ParagraphList functions for pasteing.
5846
5847         * ParagraphList.C (insert): new function, three arg insert
5848
5849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * ParagraphList.C (insert): new function, three arg insert
5852
5853         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5854         not on paragraphs.
5855
5856 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5859
5860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5863
5864 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5867         (copySelection): clean up a bit.
5868         (pasteSelection): use make_pair
5869
5870         * ParagraphList.C (ParagraphList): implement copy constructor
5871         (operator=): implement, base on copy constructor.
5872         (assign): new func
5873
5874         * paragraph.C (erase): return a bool
5875
5876         * paragraph_pimpl.C (erasePos): remove function, move contents...
5877         (erase): ... here. Return a bool.
5878         (erase): call erase instead of erasePos.
5879
5880 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5881
5882         * ParagraphList.h: define PitPosPair
5883         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5884         ParagraphList, fix a bug on pasting multiple pars
5885         * text2.C: change interface to C&P
5886
5887 2003-04-30  André Pönitz  <poenitz@gmx.net>
5888
5889         * undo_func.C: revert part of yesterday's patch 2
5890
5891 2003-04-30  John Levon  <levon@movementarian.org>
5892
5893         * LColor.C: s/tabular/table/
5894
5895 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * text3.C (dispatch): do not convert iterator -> pointer
5898         * undo_funcs.C (setCursorParUndo): ditto
5899         * text_funcs.C (transposeChars): ditto
5900
5901         * text2.C (setLayout): ws changes only
5902
5903         * text.C (breakParagraph): do not convert iterator -> pointer
5904         (insertChar): ditto
5905         (acceptChange): ditto
5906         (rejectChange): ditto
5907         (changeCase): ditto
5908         (Delete): ditto
5909         (backspace): ditto
5910
5911         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5912         pointer
5913
5914 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5915
5916         * text3.C (gotoInset): YABG (yet another bad getChar)
5917
5918 2003-04-29  André Pönitz  <poenitz@gmx.net>
5919
5920         * paragraph.h: make operator= private unimplemented as long as
5921           it is unusable
5922
5923         * ParagraphList.C: whitespace
5924
5925         * paragraph.[Ch]:
5926         * paragraph_pimpl.[Ch]:
5927         * paragraph_funcs.C:
5928         * CutAndPaste.C:
5929         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5930
5931         * text2.C:
5932           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5933
5934 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5935
5936         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5937         * paragraph.[Ch] (erase):
5938         * paragraph_pimpl.[Ch] (erase): change return type and value
5939         * text2.C (cutSelection): some rework
5940
5941 2003-04-28  John Levon  <levon@movementarian.org>
5942
5943         * bufferlist.C: changes for unsaved changes dialog
5944
5945 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * bufferlist.C (newFile): set language (messages_) for new
5948         documents also.
5949
5950         * buffer.C (readFile): ws changes only.
5951
5952 2003-04-28  André Pönitz  <poenitz@gmx.net>
5953
5954         * undo_funcs.C:
5955         * lyxfunc.C:
5956         * buffer.[Ch]:
5957         * BufferView_pimpl.C:
5958         * BufferView.C: getParFromID related ParagraphList::iterator changes
5959
5960 2003-04-28  André Pönitz  <poenitz@gmx.net>
5961
5962         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5963           Changes
5964
5965 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * messages.C: remove one more localedir class variable.
5968
5969 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * messages.C (getLocaleDir): singleton generation function
5972         (Pimpl): use it.
5973         (Messages): add a default constructor.
5974
5975         * main.C (main): do not setup localedir here, do not call
5976         gettext_init.
5977
5978         * gettext.C (_): use it.
5979         (gettext_init): delete funciton
5980
5981 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * gettext.C (getLyXMessages): new singleton generating function.
5984
5985         * buffer.C (updateDocLang): adjust
5986
5987         * Makefile.am (messages.o): add target
5988         (main.o): remove target
5989
5990 2003-04-27  John Levon  <levon@movementarian.org>
5991
5992         * bufferlist.C:
5993         * lyx_cb.C:
5994         * lyxfunc.C:
5995         * lyxvc.C: specify cancel button in Alert::prompt
5996
5997 2003-04-26  John Levon  <levon@movementarian.org>
5998
5999         * text3.C:
6000         * lyxfunc.C:
6001         * lfuns.h:
6002         * LyXAction.C: add LFUN_INSET_SETTINGS
6003
6004         * lyxfunc.C: don't enable tabular-feature when there's
6005         just any locking inset
6006
6007 2003-04-26  John Levon  <levon@movementarian.org>
6008
6009         * bufferlist.C: re-add Cancel to buffer close question
6010
6011         * lyxfunc.C: fix import UI a bit
6012
6013 2003-04-25  John Levon  <levon@movementarian.org>
6014
6015         * gettext.C: remove the broken asserts for now
6016
6017 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * messages.C: make case where setlocale cannot comply work better.
6020
6021         * buffer.C (updateDocLang): new function
6022         (changeLanguage): use it
6023         (readFile): use it
6024
6025         * text2.C (setCounter): use B_ a bit.
6026
6027         * lyxlayout.C (Read): be sure to trim the label strings.
6028
6029         * messages.C (Messages): fix typo in comment
6030
6031         * buffer.C (readFile): set message_ after file is loaded.
6032         (makeDocBookFile): remove double return
6033         (changeLanguage): reset message_ upon language change.
6034         (B_): new func, use this to get translated buffer strings.
6035
6036         * main.C: add myself and Jean Marc as authors.
6037
6038 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * messages.[hC]: pimplify Messages, and three different pimpls to be
6041         used in different circumstances.
6042
6043         * gettext.[Ch]: change for use with new message code.
6044
6045 2003-04-24 André Pönitz <poenitz@gmx.net>
6046
6047         * factory.C: support for eqref
6048
6049 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * messages.[Ch]: add missing char
6052
6053         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6054
6055         * messages.[Ch]: New files
6056
6057 2003-04-18  John Levon  <levon@movementarian.org>
6058
6059         * BufferView.h:
6060         * BufferView.C:
6061         * BufferView_pimpl.C:
6062         * lfuns.h:
6063         * LyXAction.C:
6064         * lyxtext.h:
6065         * text2.C: remove layout-copy/paste (bug 778)
6066
6067 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6068
6069         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6070
6071 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6072
6073         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6074         if they succeed. Act accordingly.
6075
6076 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * text2.C (setCharFont): adjust
6079         (setCounter): adjust
6080         (insertStringAsLines): adjust
6081
6082         * text.C (leftMargin): adjust
6083         (setHeightOfRow): adjust
6084
6085         * rowpainter.C (paintFirst): adjust
6086         (paintLast): adjust
6087
6088         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6089         (outerHook): ditto
6090         (isFirstInSequence): ditto
6091         (getEndLabel): ditto
6092         (outerFont): adjust
6093
6094         * paragraph.C (getParLanguage): comment out some hard stuff.
6095
6096         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6097         (sgmlError): ditto
6098         (simpleDocBookOnePar): ditto
6099         (makeDocBookFile): use ParagraphList::iterator
6100
6101         * CutAndPaste.C (pasteSelection): adjust
6102
6103 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * text2.C (getFont): adjust
6106         (getLayoutFont): adjust
6107         (getLabelFont): adjust
6108
6109         * paragraph_funcs.C (TeXOnePar): adjust
6110
6111         * buffer.C (simpleLinuxDocOnePar): adjust
6112         (simpleDocBookOnePar): adjust
6113
6114         * CutAndPaste.C (pasteSelection): adjust
6115
6116         * BufferView.C (getEncoding): adjust
6117
6118         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6119
6120 2003-04-16  John Levon  <levon@movementarian.org>
6121
6122         * lyxfind.C: use parlist stuff for search/changes
6123
6124 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6127
6128         * text2.C (deleteEmptyParagraphMechanism): adjust
6129
6130         * text2.[Ch] (ownerParagraph): delete func (both of them
6131
6132 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6135
6136 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * ParagraphList.C: prepare for NO_NEXT
6139
6140 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * text2.C (getFont): adjust
6143         (getLayoutFont): adjust
6144         (getLabelFont): adjust
6145
6146         * paragraph.C (getFont): adjust
6147         (getLabelFont): adjust
6148         (getLayoutFont): adjust
6149
6150         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6151
6152 2003-04-15  John Levon  <levon@movementarian.org>
6153
6154         From Angus Leeming
6155
6156         * lyx_main.C: handle Include in .ui files
6157
6158 2003-04-15  John Levon  <levon@movementarian.org>
6159
6160         * MenuBackend.C: make the doc files length shorter
6161
6162         * ToolbarBackend.h:
6163         * ToolbarBackend.C: handle toolbar placement flags,
6164         Minibuffer
6165
6166 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6169         adjust
6170
6171         * paragraph_funcs.C (TeXOnePar): adjust
6172
6173         * paragraph.C (getLabelFont): add outerfont arg, adjust
6174         (getLayoutFont): ditto
6175         (simpleTeXOnePar): adjust
6176
6177         * paragraph_pimpl.C (realizeFont): delete func
6178
6179 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6182         row argument, constify cur argument.
6183
6184 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * text2.C (getFont): adjust
6187         (getLayoutFont): adjust
6188         (getLabelFont): adjust
6189
6190         * paragraph_funcs.C (TeXOnePar): adjust
6191         (outerFont): new func...
6192         (realizeFont): ...moved out from here, changed this to facilitate
6193         transition
6194
6195         * paragraph.C (getFont): take outerfont as arg, adjust
6196         (simpleTeXOnePar): add outerfont arg, adjust
6197
6198         * buffer.C (simpleLinuxDocOnePar): adjust
6199         (simpleDocBookOnePar): adjust
6200
6201         * CutAndPaste.C (pasteSelection): adjust
6202
6203         * BufferView.C (getEncoding): adjust
6204
6205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * text2.C (setCharFont): adjust
6208         (setCounter): adjust
6209
6210         * text.C (leftMargin): adjust
6211         (setHeightOfRow): adjust
6212
6213         * rowpainter.C (paintFirst): adjust
6214         (paintLast): adjust
6215
6216         * paragraph_pimpl.C (realizeFont): adjust
6217
6218         * paragraph.C (isFirstInSequence): move from here...
6219         * paragraph_funcs.C (isFirstInSequence): ...to here
6220
6221         * paragraph.C (outerHook): move from here...
6222         * paragraph_funcs.C (outerHook): ...to here
6223
6224         * paragraph.C (depthHook): move from here...
6225         * paragraph_funcs.C (depthHook): ...to here
6226
6227         * paragraph.C (getEndLabel): move from here...
6228         * paragraph_funcs.C (getEndLabel): ...to here
6229
6230         * text2.C (realizeFont): move from here...
6231         * paragraph_funcs.C (realizeFont): ...to here
6232
6233 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6236
6237 2003-04-14  Angus Leeming  <leeming@lyx.org>
6238
6239         * LColor.[Ch]: scrap LColor mathcursor.
6240
6241 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * lyxlex.[Ch] (text): delete function
6244         * trans.C (Load): adjust
6245         * paragraph_funcs.C (readParToken): adjust
6246
6247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6250         vector<char> instead of a char[].
6251
6252         * lyxlex_pimpl.C (getString): adjust
6253         (next): adjust
6254         (lex): use getString
6255         (eatLine): adjust
6256         (nextToken): adjust
6257
6258         * lyxlex.C (text): use pimpl_->getString()
6259         (getBool): ditto
6260         (findToken): ditto
6261
6262 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6265         (makeFontEntriesLayoutSpecific): temp var for par.size()
6266         (setLayout): temp var for ownerParagraphs().end()
6267         (fullRebreak): temp var for rows().end()
6268         (selectionAsString): temp var for boost::next(startpit), realize
6269         that the while really is a regular for loop.
6270         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6271         setCursor in one place.
6272         (setParagraph): temp vr for ownerParagraphs().end()
6273         (updateCounters): make the while loop a for loop
6274         (cutSelection): temp var for ownerParagraphs().end()
6275         (updateInset): make the do {} while() a regular for loop
6276         (getCursorX): use temp vars
6277         (setCurrentFont): use temp vars
6278         (getColumnNearX): use temp vars
6279
6280 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * text.C (transformChar): use temp var for getChar
6283         (computeBidiTables): use temp var for row->par()
6284         (fill): move temp vars for row->par() and pit->layout() earlier in
6285         the function.
6286         (labelFill): use temp var for row->par()
6287         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6288         asc and desc, realize that pit never changes and that firstpit is
6289         just a duplicate and not needed. Exchange rit->par() with pit in a
6290         lot of places.
6291         (breakAgain): use a temp var for boost::next(rit)
6292         (breakAgainOneRow): ditto
6293         (breakParagraph): use a temp var for rows().begin()
6294         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6295         (cursorRightOneWord): use temp var for cursor.par() and
6296         cursor.pos(), remove usage of tmpcursor.
6297         (cursorLeftOneWord): use temp var for cursor.par() and
6298         cursor.pos() only set cur at end of function.
6299
6300 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * text.C, text2.C: exchange all usage of Paragraph::next with
6303         boost::next(ParagraphList::iterator)
6304
6305         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6306
6307         * text2.C (cursorTop): simplify implementation
6308         (cursorBottom): ditto
6309         (setParagraph): use ParagraphList::iterator
6310         (setCurrentFont): adjust
6311         (getColumnNearX): adjust
6312         (cursorRight): adjust
6313         (cursorLeft): remove usage of Paragraph::previous
6314         (cursorUpParagraph): ditto
6315         (deleteEmptyParagraphMechanism): slight cleanup
6316
6317         * text.C (isBoundary): take a Paragraph const & instead of a
6318         pointer as arg.
6319         (addressBreakPoint): ditto
6320         (leftMargin): remove usage of Paragraph::previous.
6321         (setHeightOfRow): ditto
6322         (cursorLeftOneWord): ditto
6323         (selectNextWordToSpellcheck): ditto
6324         (Delete): ditto
6325         (backspace): ditto
6326         (breakParagraph): remove one usage of Paragraph::next
6327         (redoParagraph): ditto
6328         (acceptChange): ditto
6329         (insertChar): adjust
6330         (rowBreakPoint): adjust
6331
6332         * bufferview_funcs.C (toggleAndShow): adjust
6333
6334 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6335
6336         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6337         methods to access it.
6338         * lyxtext.h:
6339         * text.C: Added updateRowPositions to compute all row positions.
6340         Make top_y and getRowNearY() to use the cached y position
6341
6342 2003-04-11  John Levon  <levon@movementarian.org>
6343
6344         * text.C (rowBreakPoint): reintroduce the labelEnd
6345         checks, code copied from the row fill stuff. Deep voodoo.
6346
6347         * text.C (fill): add a comment and debugging for the
6348         next poor soul.
6349
6350 2003-04-11  John Levon  <levon@movementarian.org>
6351
6352         * text.C: make sure fullrow insets get wrapped to the next line,
6353         even when they're in a manual label
6354
6355 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * text2.C (insertParagraph): make it take ParagraphList::iterator
6358         as arg.
6359         (setLayout): make it return ParagraphList::iterator
6360         (redoParagraphs): ditto
6361         (setCounter): ditto
6362         (checkParagraph): ditto
6363
6364         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6365
6366         * text2.C: adjust several funcs.
6367         (realizeFont): take a ParagraphList::iterator as arg.
6368         (getLayoutFont): ditto
6369         (getLabelFont): ditto
6370         (setCharFont): ditto
6371
6372         * text.C: adjust several funcs.
6373
6374 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6375
6376         * text.C (selectNextWordToSpellcheck): don't accidentally
6377         skip insets
6378
6379 2003-04-10  John Levon  <levon@movementarian.org>
6380
6381         * ToolbarBackend.C (getIcon): special handling for
6382         LFUN_MATH_DELIM
6383
6384 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * text2.C (cursorRight): a getChar assert fixed
6387
6388 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * text2.C (getFont): change to take a ParagraphList::iterator
6391         instead of Paragraph*
6392         Adjust several functions.
6393
6394         * text.C (transformChar): change to take a ParagraphList::iterator
6395         instead of Paragraph*
6396         (singleWidth): ditto
6397         Adjust several functions.
6398
6399         * rowpainter.C: adjust several functions
6400         * rowpainter.h:store a ParagraphList::iterator and not a
6401         Paragraph&.
6402
6403
6404 2003-04-09  John Levon  <levon@movementarian.org>
6405
6406         * lyxfunc.C:
6407         * lfuns.h:
6408         * LyXAction.h:
6409         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6410         and the "help" bits as well
6411
6412 2003-04-09  John Levon  <levon@movementarian.org>
6413
6414         * ToolbarBackend.h:
6415         * ToolbarBackend.C: allow multiple toolbars
6416
6417 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * undo_funcs.C (setCursorParUndo): adjust
6420
6421         * text_funcs.C (transposeChars): adjust
6422
6423         * text3.C (gotoNextInset): adjust
6424         (dispatch): adjust
6425
6426         * text2.C (setLayout): adjust
6427         (changeDepth): adjust
6428         (setFont): adjust
6429         (redoParagraphs): adjust
6430         (selectionAsString): adjust
6431         (setParagraph): adjust
6432         (insertInset): adjust
6433         (cutSelection): adjust
6434         (copySelection): adjust
6435         (pasteSelection): adjust
6436         (insertStringAsLines): adjust
6437         (updateInset): adjust
6438         (setCursor): change to take a ParagraphList::iterator parameter
6439         (setCursorIntern): change to take a ParagraphList::iterator parameter
6440         (setCurrentFont): adjust
6441         (cursorLeft): adjust
6442         (cursorRight): adjust
6443         (deleteEmptyParagraphMechanism): adjust
6444
6445         * text.C (breakParagraph): adjust
6446         (insertChar): adjust
6447         (acceptChange): adjust
6448         (rejectChange): adjust
6449         (selectNextWordToSpellcheck): adjust
6450         (changeCase): adjust
6451         (Delete): adjust
6452         (backspace): adjust
6453
6454         * lyxfind.C (SearchForward): adjust
6455         (SearchBackward): adjust
6456         (nextChange): adjust
6457
6458         * lyxcursor.C (par): adjust
6459
6460         * lyxcursor.h: store a ParagraphList::iterator instead of a
6461         Paragraph*
6462
6463         * lyx_cb.C (getPossibleLabel): adjust
6464
6465         * bufferview_funcs.C (toggleAndShow): adjust
6466
6467         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6468         (dispatch): adjust
6469
6470         * BufferView.C (removeAutoInsets): adjust
6471         (lockedInsetStoreUndo): adjust
6472
6473 2003-04-09  John Levon  <levon@movementarian.org>
6474
6475         * ToolbarBackend.C: try icon without argument
6476         if with argument fails
6477
6478 2003-04-08  John Levon  <levon@movementarian.org>
6479
6480         * ToolbarBackend.h:
6481         * ToolbarBackend.C: add getIcon(), handle tooltip,
6482         and change from "Icon" to "Item".
6483
6484 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6485
6486         * BufferView.C (lockInset): another bad getchar crunched
6487
6488 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6489
6490         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6491         again)
6492
6493 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * lyxfind.C (searchForward, searchBackwards): bug 782
6496
6497 2003-04-07  John Levon  <levon@movementarian.org>
6498
6499         * paragraph.C: remove dead comment
6500
6501         * text.C: remove troublesome depth-fiddling code
6502         in leftMargin() and rightMargin() (bug 1017)
6503
6504         * text.C: fix breaking of rows in nested lists
6505         (bug 1004)
6506
6507         * text2.C (updateCounters): fix up depth values
6508         (bug 1013)
6509
6510 2003-04-07  John Levon  <levon@movementarian.org>
6511
6512         * BufferView_pimpl.C: clear message when doc finishes resizing,
6513         and after a mouse event
6514
6515         * lyxfunc.C: clear message after exiting inset
6516
6517 2003-04-07  John Levon  <levon@movementarian.org>
6518
6519         * bufferview_funcs.C: show math status not outside
6520         status in the statusbar
6521
6522 2003-04-07  John Levon  <levon@movementarian.org>
6523
6524         * lyxfunc.C: note status changed after a depth change
6525
6526 2003-04-04  Angus Leeming  <leeming@lyx.org>
6527
6528         * LaTeX.h: move AuxInfo operator==, != out of line.
6529         Remove LaTeX virtual destructor; nothing derives from it.
6530         Move operator()() out of public area and rename it startscript().
6531         Change protected for private.
6532
6533 2003-04-04  Angus Leeming  <leeming@lyx.org>
6534
6535         * lyxfunc.C:
6536         * text2.C: remove unneeded #includes.
6537
6538 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * text2.C (dEPM): fix the heigth of the next row
6541
6542 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6543
6544         * text.C: squashed an invalid getChar requester + some ws changes
6545
6546 2003-04-03  John Levon  <levon@movementarian.org>
6547
6548         * bufferview_funcs.h:
6549         * bufferview_funcs.C:
6550         * lyxfunc.C:
6551         * lyxtext.h:
6552         * text2.C: make getStatus work for the env depth lfuns
6553
6554 2003-04-03  John Levon  <levon@movementarian.org>
6555
6556         * bufferview_funcs.h:
6557         * bufferview_funcs.C:
6558         * lyxfunc.C:
6559         * lyxtext.h:
6560         * text2.C: parlistize decDepth(), by merging it with incDepth()
6561
6562 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * lyxrow.h: store a ParagraphList::iterator instead of a
6565         Paragraph* and adjust other class functions to suit.
6566
6567         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6568         above.
6569
6570 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * text2.C (setCursor): do not anchor to cursor row for the time being
6573
6574 2003-04-02  John Levon  <levon@movementarian.org>
6575
6576         * LyXAction.C:
6577         * lfuns.h:
6578         * lyx_main.C:
6579         * lyxtext.h:
6580         * text.C:
6581         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6582
6583 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * paragraph.h: make ParagraphList and ParagraphList::iterator
6586         friends of Paragraph.
6587
6588         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6589
6590         * ParagraphList.C: Use the private next_ and previous_ from
6591         Paragraph.
6592
6593 2003-04-01  John Levon  <levon@movementarian.org>
6594
6595         * ToolbarBackend.h:
6596         * ToolbarBackend.C:
6597         * Makefile.am: rename, remove defaults gunk
6598
6599         * MenuBackend.h:
6600         * MenuBackend.C: remove defaults gunk
6601
6602         * Languages.h:
6603         * Languages.C: remove defaults gunk
6604
6605         * lyx_main.h:
6606         * lyx_main.C: error out if files couldn't be found.
6607
6608 2003-04-02  John Levon  <levon@movementarian.org>
6609
6610         * text2.C: make incDepth() use parlist
6611
6612 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * undo_funcs.C (firstUndoParagraph): adjust
6615
6616         * text3.C (gotoInset): adjust
6617         (dispatch): adjust, and rewrite loop.
6618
6619         * text2.C (init): adjust, and rewrite loop.
6620         (redoParagraphs): adjust
6621         (updateInset): adjust, and rewrite loop.
6622         (deleteEmptyParagraphMechanism): adjust
6623
6624         * tabular.C (LyXTabular): adjust
6625         (SetMultiColumn): adjust
6626         (TeXRow): adjust
6627
6628         * lyxtext.[Ch] (ownerParagraph): delete function
6629         (ownerParagraphs): new function returns a ParagraphList.
6630
6631         * BufferView.C (removeAutoInsets): adjust
6632         (insertErrors): adjust
6633         (setCursorFromRow): adjust
6634
6635 2003-04-01  Angus Leeming  <leeming@lyx.org>
6636
6637         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6638         in the frontends.
6639
6640 2003-04-02  John Levon  <levon@movementarian.org>
6641
6642         * lyxtext.h:
6643         * text.C:
6644         * Makefile.am:
6645         * text_funcs.h:
6646         * text_funcs.C: make transposeChars a free function
6647
6648         * lyxrow_funcs.C: remove wrong comment
6649
6650 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * lyxtext.h: adjust
6653         * rowpainter.C: adjust
6654         * text.C: adjust
6655         * text2.C: adjust
6656         * text3.C: adjust
6657
6658         * lyxrow_funcs. [Ch]: new files
6659
6660         * lyxrow.[Ch]: remove next and previous pointers
6661         (next,previous): remove accessor functions
6662         (isParEnd): move to lyxrow_funcs
6663         (lastPos): move to lyxrow_funcs
6664         (nextRowIsAllInset): move to lyxrow_funcs
6665         (lastPrintablePos): move to lyxrow_funcs
6666         (numberOfSeparators): move to lyxrow_funcs
6667         (numberOfHfills): move to lyxrow_funcs
6668         (numberOfLabelHfills): move to lyxrow_funcs
6669         (hfillExpansion): move to lyxrow_funcs
6670
6671         * lyxfunc.C: adjust
6672
6673         * bufferview_funcs.C (toggleAndShow): adjust
6674
6675         * RowList.h: Remove class RowList from file leave just a
6676         std::list<Row>.
6677
6678         * RowList.C: delete file
6679
6680         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6681         and lyxrow_funcs.h
6682
6683 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * text3.C (cursorPrevious): adjust
6686         (cursorNext): adjust
6687         (dispatch): adjust
6688
6689         * text2.C (redoHeightOfParagraph): adjust
6690         (redoDrawingOfParagraph): adjust
6691         (setCursor): adjust
6692
6693         * text.C (breakParagraph): adjust
6694         (insertChar): adjust
6695         (backspace): adjust
6696
6697         * rowpainter.C (RowPainter): adjust
6698         (leftMargin): simplify and adjust
6699         (most rowpainter functions): adjust.
6700
6701         * rowpainter.h: store the row as RowList::iterator not as Row*
6702
6703         * lyxcursor.C (row): taka RowList::iterator as arg
6704         (irow): ditto
6705
6706         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6707         of Row*.
6708
6709 2003-04-01  Angus Leeming  <leeming@lyx.org>
6710
6711         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6712         stuff like bool Bool.
6713
6714 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6715
6716         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6717         rewrite a loop
6718
6719 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6722         RowList::iterator.
6723
6724         * lyxtext.h (rows): drop one version and leve a const variant that
6725         returns a RowList::iterator.
6726
6727 2003-03-31  Angus Leeming  <leeming@lyx.org>
6728
6729         * text.C (fill): ensure that the signature is the same as that in the
6730         header file.
6731
6732 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * text2.C (redoParagraphs): adjust
6735         (updateCounters): adjust
6736         (checkParagraph): adjust
6737         (getColumnNearX): adjust and reformat a bit.
6738
6739         * text.C (top_y): adjust
6740         (workWidth): adjust
6741         (leftMargin): adjust
6742         (prepareToPrint): adjust
6743         (getRow): adjust
6744         (getRowNearY): adjust
6745
6746         * lyxtext.h: make rowlist_ mutable.
6747
6748         * RowList.h: add const_iterator
6749         * RowList.C: adjust for RowList::const_iterator.
6750
6751         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6752         adjust.
6753
6754 2003-03-31  John Levon  <levon@movementarian.org>
6755
6756         * lyxrc.h:
6757         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6758
6759         * lyx_main.C: set default fonts from using lyx_gui funcs
6760
6761         * exporter.C: pdf_mode moved from lyxrc
6762
6763         * lyx_cb.C:
6764         * lyxfunc.C: changes from above
6765
6766 2003-03-31  John Levon  <levon@movementarian.org>
6767
6768         * lyx_main.C: fix to the last fix
6769
6770 2003-03-31  John Levon  <levon@movementarian.org>
6771
6772         * bufferlist.C: "Load original" -> "Load Original"
6773
6774         * converter.C:
6775         * exporter.C:
6776         * importer.C:
6777         * lyx_main.C:
6778         * format.C: more Alert cleanups
6779
6780 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text2.C (removeParagraph): make it take a RowList::iterator as
6783         arg, adjust.
6784         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6785         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6786
6787         * text.C (anchor_row): make it take a RowList::iterator as arg,
6788         adjust.
6789         (computeBidiTables): make it take a const reference to Row instead
6790         of Row pointer, adjust.
6791         (leftMargin): make it take a RowList::iterator as arg, adjust.
6792         (rowBreakPoint): adjust
6793         (breakAgainOneRow): make it take a RowList::iterator as arg,
6794         adjust.
6795         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6796
6797         * bufferview_funcs.C (toggleAndShow): adjust
6798
6799 2003-03-30  John Levon  <levon@movementarian.org>
6800
6801         * Makefile.am:
6802         * BoostFormat.h:
6803         * boost-inst.C: moved to support
6804
6805         * several files: changes as a result
6806
6807 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * text2.C (LyXText): adjust.
6810         (init): adjust
6811         (removeRow): make it take a RowList::iterator as arg, adjust.
6812         (fullRebreak): adjust
6813         (deleteEmptyParagraphMechanism): adjust
6814         (clearPaint): adjust
6815         (postPaint): adjust
6816
6817         * text.C (top_y): adjust
6818         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6819         (breakAgain): make it take a RowList::iterator as arg, adjust.
6820         (breakParagraph): adjust
6821         (insertChar): adjust
6822         (backspace): adjust
6823
6824         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6825         need_break_row, and refresh_row.
6826
6827         * text3.C (dispatch): adjust
6828
6829         * text2.C (checkParagraph): adjust
6830         (setCursor): adjust
6831         (setCursorFromCoordinates): adjust
6832
6833         * text.C (top_y): adjust
6834         (workWidth): adjust
6835         (getRow): make it return a RowList::iterator, adjust
6836         (getRowNearY): make it return a RowList::iterator, adjust
6837
6838         * text2.C (init): adjust
6839         (insertRow): remove function
6840         (insertParagraph): adjust
6841         (redoParagraphs): adjust
6842         (fullRebreak): adjust
6843         (updateCounters): adjust
6844
6845         * text.C (top_y): rewrite to use RowList iterators.
6846         (top_y): adjust
6847         (setHeightOfRow): rewrite to sue RowList iterators.
6848         (appendParagraph): adjust
6849         (breakAgain): adjust
6850         (breakAgainOneRow): adjust
6851         (breakParagraph): adjust
6852         (getRow): adjust
6853         (getRowNearY): adjust, and remove commented code.
6854
6855         * lyxtext.h (firstRow): delete function
6856         (lastRow): delete function
6857         (rows): new function (const and non-const versions.)
6858         (insertRow): delete function
6859
6860         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6861
6862 2003-03-29  John Levon  <levon@movementarian.org>
6863
6864         * BufferView_pimpl.C: always update scrollbar top
6865         because pasting text when we're anchored could mean we
6866         miss an update altogether
6867
6868 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * text2.C (init): use rowlist_.end() and not 0.
6871         (insertRow): change to take a RowList::iterator as arg, adjust
6872         for this.
6873         (insertParagraph): change to take a RowList::iterator as arg,
6874         adjust for this.
6875         (redoParagraphs): remove some debug msgs.
6876
6877         * text.C (appendParagraph): change to take a RowList::iterator
6878         arg, adjust for this.
6879         (breakAgain): add an assert
6880         (breakAgainOneRow): ditto
6881
6882 2003-03-29  John Levon  <levon@movementarian.org>
6883
6884         * text2.C: do not clear selection after inc/decDepth
6885         (bug 550)
6886
6887 2003-03-29  John Levon  <levon@movementarian.org>
6888
6889         * BufferView.C:
6890         * buffer.C: fix broken strerrors according to Lars
6891
6892 2003-03-29  John Levon  <levon@movementarian.org>
6893
6894         * converters.C: more Alert cleanups
6895
6896 2003-03-29  John Levon  <levon@movementarian.org>
6897
6898         * bufferview_funcs.C: remove pointless Alert
6899
6900         * buffer.C: fix confusing error message when
6901         a template is chmoded 000
6902
6903 2003-03-29  John Levon  <levon@movementarian.org>
6904
6905         * BufferView.C:
6906         * BufferView.h:
6907         * BufferView_pimpl.C: Alert fixes
6908
6909         * Makefile.am:
6910         * tabular.C:
6911         * tabular-old.C: remove unused table compat reading
6912
6913 2003-03-29  John Levon  <levon@movementarian.org>
6914
6915         * BufferView.C:
6916         * buffer.C:
6917         * lyx_cb.h:
6918         * lyx_cb.C: more Alert cleanups
6919
6920         * lyxfunc.C: don't allow chktex if not latex document
6921
6922 2003-03-29  John Levon  <levon@movementarian.org>
6923
6924         * lyx_cb.C:
6925         * BufferView.C:
6926         * buffer.C: warnings pushed down from support/,
6927         kill err_alert
6928
6929 2003-03-29  John Levon  <levon@movementarian.org>
6930
6931         * lyxfunc.C: safety check for C-r (revert)
6932
6933 2003-03-29  John Levon  <levon@movementarian.org>
6934
6935         * bufferlist.h:
6936         * bufferlist.C: several UI fixes using Alert::prompt.
6937         Fix the pointless looping quit code. Fix stupid revert
6938         behaviour (bug 938)
6939
6940         * lyxvc.h:
6941         * lyxvc.C:
6942         * lyx_cb.C: use Alert::prompt
6943
6944         * lyx_main.C: remove a silly question
6945
6946         * lyxfunc.C: remove a couple of silly questions,
6947         use Alert::prompt
6948
6949 2003-03-28  John Levon  <levon@movementarian.org>
6950
6951         * text2.C: fix bug 974 (End on empty par)
6952
6953 2003-03-28  John Levon  <levon@movementarian.org>
6954
6955         * BufferView_pimpl.C:
6956         * LyXAction.C:
6957         * lfuns.h: remove do-nothing math greek lfuns
6958
6959 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * lyxgluelength.h (isValidGlueLength): add default arg on
6962         parameter 2. Remove default arg from friend in class.
6963
6964         * lyxlength.h (isValidLength): add default arg on parameter 2.
6965         Remove default arg from friend in class.
6966
6967         * text2.C (LyXText): adjust, initialize refresh_row.
6968         (init): adjust
6969         (removeRow): adjust
6970         (insertRow): adjust
6971         (insertParagraph): adjst
6972         (redoParagraphs): adjust
6973         (fullRebreak): adjust
6974         (updateCounters): adjust
6975         (deleteEmptyParagraphMechanism): first attempt at fixing a
6976         crashing bug.
6977
6978         * text.C (top_y): adjust
6979         (setHeightOfRow): adjust
6980         (getRow): adjust
6981         (getRowNearY): adjust
6982
6983         * lyxtext.h: include RowList.h
6984         (~LyXText): not needed anymore, deleted.
6985         (firstRow): modify for RowList
6986         (lastRow): new function
6987         Delete firstrow and lastrow class variables, add a Rowlist
6988         rowlist_ class variable.
6989
6990         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6991         paragraph is empty.
6992
6993         * RowList.C (insert): fix case where it == begin().
6994
6995 2003-03-26  Angus Leeming  <leeming@lyx.org>
6996
6997         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6998         the thesaurus dialog.
6999
7000 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7003
7004         * RowList.[Ch]: new files
7005
7006         * ParagraphList.C (erase): handle the case where it == begin
7007         correctly.
7008
7009 2003-03-25  John Levon  <levon@movementarian.org>
7010
7011         * Makefile.am:
7012         * aspell_local.h:
7013         * aspell.C: add new aspell support
7014
7015         * lyxrc.h:
7016         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7017         have it accessible.
7018
7019 2003-03-25  Angus Leeming  <leeming@lyx.org>
7020
7021         * lfuns.h:
7022         * LyXAction.C (init): new LFUN_INSET_INSERT.
7023
7024         * BufferView_pimpl.C (dispatch): split out part of the
7025         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7026
7027         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7028         LFUN_INSET_APPLY.
7029
7030 2003-03-25  Angus Leeming  <leeming@lyx.org>
7031
7032         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7033
7034 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7035
7036         * text2.C:
7037         * text3.C: remove useless row->height(0)
7038
7039 2003-03-25  John Levon  <levon@movementarian.org>
7040
7041         * lyxtext.h:
7042         * text2.C:
7043         * text3.C: rename the refreshing stuff to better names
7044
7045 2003-03-24  John Levon  <levon@movementarian.org>
7046
7047         * BufferView_pimpl.h:
7048         * BufferView_pimpl.C: update layout choice on a mouse
7049         press/release
7050
7051 2003-03-23  John Levon  <levon@movementarian.org>
7052
7053         * Makefile.am: fix commandtags.h reference
7054
7055 2003-03-22  John Levon  <levon@movementarian.org>
7056
7057         * BufferView_pimpl.C:
7058         * lyxtext.h:
7059         * rowpainter.C:
7060         * rowpainter.h:
7061         * text.C:
7062         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7063
7064 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * lyxtext.h:
7067         * text.C: take the rtl methods out of line
7068
7069 2003-03-21 André Pönitz <poenitz@gmx.net>
7070
7071         * metricsinfo.[Ch]: new files containing structures to be passed around
7072         during the two-phase-drawing...
7073
7074 2003-03-21 André Pönitz <poenitz@gmx.net>
7075
7076         * lyxtextclass.C: read 'environment' tag.
7077
7078 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * text2.C (removeRow): fix bug 964
7081
7082 2003-03-20  John Levon  <levon@movementarian.org>
7083
7084         * rowpainter.C:
7085         * text.C:
7086         * text2.C: paint cleanups. Inset::update() dropped font
7087         parameter
7088
7089 2003-03-19  John Levon  <levon@movementarian.org>
7090
7091         * lyxfunc.C: only fitcursor/markDirty if available()
7092
7093 2003-03-19  John Levon  <levon@movementarian.org>
7094
7095         * commandtags.h: rename to ...
7096
7097         * lfuns.h: ... this, and renumber / cleanup
7098
7099 2003-03-19  John Levon  <levon@movementarian.org>
7100
7101         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7102         fit the cursor after an lfun
7103
7104         * BufferView.h:
7105         * BufferView.C:
7106         * BufferView_pimpl.h:
7107         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7108
7109         * LyXAction.C: layout-character should have ReadOnly
7110
7111         * ParagraphParameters.C:
7112         * buffer.C:
7113         * bufferview_funcs.C:
7114         * lyx_cb.C:
7115         * lyxfind.C:
7116         * lyxtext.h:
7117         * text.C:
7118         * text2.C:
7119         * text3.C:
7120         * undo_funcs.C: changes from above
7121
7122 2003-03-18  John Levon  <levon@movementarian.org>
7123
7124         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7125         remove it from update()
7126
7127         * lyxfunc.C: update layout choice after an lfun
7128
7129         * text3.C: remove extra updateLayoutChoice()s
7130
7131 2003-03-18  John Levon  <levon@movementarian.org>
7132
7133         * text.C: top_y change means full repaint, fix
7134         a drawing bug with cursor movement
7135
7136 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7137
7138         * lyxtext.h:
7139         * text.C:
7140         * text2.C: anchor row on setCursor
7141
7142 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7143
7144         * lyxtext.h: remove almost all mutable keywords
7145         * text.C:
7146         * text2.C:
7147         * text3.C: remove const keywords accordingly
7148
7149 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7152         anon namespace
7153         (TeXEnvironment): ditto
7154         (TeXOnePar): ditto
7155
7156 2003-03-17  John Levon  <levon@movementarian.org>
7157
7158         * text.C (rowBreakPoint): remove attempt to fix displayed
7159         math insets inside a manual label
7160
7161 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * lyxtext.h: remove BufferView* as first arg from almost all class
7164         functions.
7165         * other files: adjust.
7166
7167 2003-03-17  John Levon  <levon@movementarian.org>
7168
7169         * lyxtext.h:
7170         * undo_funcs.C:
7171         * text2.C: more paint cleanups
7172
7173         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7174
7175         * rowpainter.h:
7176         * rowpainter.C: remove "smart" background painting code
7177
7178 2003-03-16  John Levon  <levon@movementarian.org>
7179
7180         * lyxtext.h:
7181         * text.C:
7182         * text2.C:
7183         * text3.C: add helper functions for setting refresh_row/y
7184
7185 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7186
7187         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7188         newline inset which *can* get inserted in the pass_thru layouts.
7189         This is primarily for literate documents.
7190
7191 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7192
7193         * buffer.C: increment LYX_FORMAT to 223
7194
7195 2003-03-14 André Pönitz <poenitz@gmx.net>
7196
7197         * textclass.h: prepare for environment handling, ws changes
7198         * lyxlayout.C: read latexheader and latexfooter tags
7199
7200 2003-03-14  John Levon  <levon@movementarian.org>
7201
7202         * text2.C: rewrite ::status() a bit
7203
7204 2003-03-13  John Levon  <levon@movementarian.org>
7205
7206         * lyxtext.h: add some docs
7207
7208 2003-03-13  John Levon  <levon@movementarian.org>
7209
7210         * lyxtext.h:
7211         * text.C:
7212         * text2.C:
7213         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7214
7215 2003-03-13  John Levon  <levon@movementarian.org>
7216
7217         * text3.C: fix appendix redrawing
7218
7219 2003-03-13  John Levon  <levon@movementarian.org>
7220
7221         * text.C (setHeightOfRow):
7222         * rowpainter.h:
7223         * rowpainter.C: make appendix mark have the text
7224           "Appendix" so the user knows what it is
7225
7226         * LColor.h:
7227         * LColor.C: s/appendixline/appendix/ from above
7228
7229 2003-03-13  John Levon  <levon@movementarian.org>
7230
7231         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7232
7233         * text.C: fix a getChar(pos) bug properly
7234
7235 2003-03-13  Angus Leeming  <leeming@lyx.org>
7236
7237         * commandtags.h:
7238         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7239         Probably only temporary. Let's see how things pan out.
7240
7241         * BufferView.C (unlockInset):
7242         * BufferView_pimpl.C (fitCursor):
7243         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7244
7245         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7246         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7247
7248         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7249         new functions that convert ParagraphParameters to and from a string.
7250
7251         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7252         BufferView::Pimpl's dispatch.
7253         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7254
7255 2003-03-13 André Pönitz <poenitz@gmx.net>
7256
7257         * lyxfunc.C:
7258         * text3.C:
7259         * factory.C: make it aware of InsetEnv
7260
7261 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * text2.C (setCursor): never ask for one past last
7264         (setCursor): add some debugging messages.
7265
7266         * text.C (singleWidth): never ask for one past last
7267         (singleWidth): ditto
7268         (leftMargin): ditto
7269         (rightMargin): ditto
7270         (rowBreakPoint): ditto
7271         (setHeightOfRow): ditto
7272         (prepareToPrint): ditto
7273
7274         * rowpainter.C (paintBackground): never ask for one past last
7275         (paintText): never ask for one past last
7276
7277         * paragraph_pimpl.C (getChar): make the assert stricter, never
7278         allow the one past last pos to be taken
7279
7280         * paragraph.C (getChar): ws changes only
7281
7282         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7283         (numberOfSeparators): ditto
7284         (numberOfHfills): ditto
7285
7286 2003-03-12  John Levon  <levon@movementarian.org>
7287
7288         * author.h:
7289         * author.C:
7290         * bufferparams.h:
7291         * bufferparams.C:
7292         * paragraph_funcs.C: fix per-buffer authorlists
7293
7294 2003-03-12  John Levon  <levon@movementarian.org>
7295
7296         * text.C: fix newline in right address
7297
7298 2003-03-12  Angus Leeming  <leeming@lyx.org>
7299
7300         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7301         duplicate those in LyXFunc::dispatch.
7302
7303         * commandtags.h:
7304         * LyXAction.C:
7305         * ToolbarDefaults.C:
7306         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7307         Add LFUN_FONTFREE_UPDATE.
7308
7309         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7310         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7311
7312         * bufferview_func.[Ch]: several new functions to facilliate
7313         transfer of data to and from the character dialog.
7314
7315 2003-03-12  John Levon  <levon@movementarian.org>
7316
7317         * buffer.C:
7318         * paragraph.h:
7319         * paragraph.C:
7320         * paragraph_funcs.C:
7321         * paragraph_pimpl.C:
7322         * sgml.C:
7323         * tabular.C:
7324         * text.C:
7325         * text3.C: remove META_NEWLINE in favour of an inset
7326
7327         * rowpainter.h:
7328         * rowpainter.C: remove paintNewline (done by inset)
7329
7330 2003-03-12  John Levon  <levon@movementarian.org>
7331
7332         * paragraph_pimpl.C: complain about bad getChar()s
7333         for a while at least
7334
7335 2003-03-12  John Levon  <levon@movementarian.org>
7336
7337         * buffer.h:
7338         * buffer.C: move paragraph read into a separate function,
7339         a little renaming to reflect that.
7340
7341         * bufferparams.h:
7342         * bufferparams.C: remove the author_ids map, not necessary now
7343
7344         * factory.h:
7345         * factory.C: moved Buffer::readInset to here
7346
7347         * paragraph_funcs.h:
7348         * paragraph_funcs.C: readParagraph free function moved from
7349         buffer.C
7350
7351         * tabular.C: name change
7352
7353 2003-03-12  John Levon  <levon@movementarian.org>
7354
7355         * buffer.C:
7356         * ParagraphParameters.C: move par params input to
7357         a read() method
7358
7359         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7360         behave like a normal read from the stream wrt reading
7361         a line vs. a \\token
7362
7363 2003-03-12  John Levon  <levon@movementarian.org>
7364
7365         * paragraph.C:
7366         * ParagraphParameters.h:
7367         * ParagraphParameters.C: move output code to a
7368         ::write() method
7369
7370 2003-03-12  John Levon  <levon@movementarian.org>
7371
7372         * BufferView.C (insertLyXFile):
7373         * buffer.h:
7374         * buffer.C:
7375         * tabular.C: use a parlist iterator for creating the
7376           document.
7377
7378 2003-03-12  John Levon  <levon@movementarian.org>
7379
7380         * buffer.C: make current_change static local not
7381           static file-scope
7382
7383 2003-03-12  John Levon  <levon@movementarian.org>
7384
7385         * buffer.C: fix insertStringAsLines for change tracking
7386
7387 2003-03-12  John Levon  <levon@movementarian.org>
7388
7389         * BufferView.C:
7390         * tabular.C:
7391         * buffer.h:
7392         * buffer.C:
7393         * bufferparams.h:
7394         * bufferparams.C: move author list into params. Rename some
7395           functions. Move the header reading into a separate token
7396           loop. Move the header token reading into BufferParams.
7397
7398 2003-03-12  John Levon  <levon@movementarian.org>
7399
7400         * changes.C: put debug inside lyxerr.debugging() checks
7401
7402 2003-03-11 André Pönitz <poenitz@gmx.net>
7403
7404         * factory.C: make it aware of InsetHFill
7405
7406 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7407
7408         * buffer.C (latexParagraphs): move function from here...
7409         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7410         args.
7411
7412 2003-03-10  Angus Leeming  <leeming@lyx.org>
7413
7414         * LyXAction.C (init): fix bug in poplating array with multiple entries
7415         with the same LFUN (spotted by JMarc).
7416
7417 2003-03-10  John Levon  <levon@movementarian.org>
7418
7419         * text.C:
7420         * text2.C: move getColumnNearX() near its
7421         only call site
7422
7423 2003-03-10  John Levon  <levon@movementarian.org>
7424
7425         * text.C: fix break before a minipage
7426
7427 2003-03-10  John Levon  <levon@movementarian.org>
7428
7429         * text.C: fix the last commit
7430
7431 2003-03-09  John Levon  <levon@movementarian.org>
7432
7433         * lyxtext.h:
7434         * text.C:
7435         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7436         bug 365 (don't break before insets unless needed). Don't
7437         return a value > last under any circumstances.
7438
7439 2003-03-09  Angus Leeming  <leeming@lyx.org>
7440
7441         * BufferView_pimpl.C (trackChanges, dispatch): call
7442         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7443
7444 2003-03-09  Angus Leeming  <leeming@lyx.org>
7445
7446         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7447         than Dialogs::showAboutlyx().
7448
7449 2003-03-09  Angus Leeming  <leeming@lyx.org>
7450
7451         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7452         than Dialogs::showTabularCreate().
7453
7454 2003-03-09  John Levon  <levon@movementarian.org>
7455
7456         * lyxtext.h:
7457         * text.C:
7458         * text2.C: 3rd arg to nextBreakPoint was always the same.
7459           Use references.
7460
7461 2003-03-08  John Levon  <levon@movementarian.org>
7462
7463         * lyxrow.C:
7464         * paragraph.C:
7465         * paragraph.h:
7466         * rowpainter.C:
7467         * text.C:
7468         * text2.C: Remove the "main" bit from the "main body"
7469           notion.
7470
7471 2003-03-08  John Levon  <levon@movementarian.org>
7472
7473         * text.C (leftMargin): The left margin of an empty
7474         manual label paragraph should not include the label width
7475         string length.
7476
7477         * text.C (prepareToPrint): don't attempt to measure hfills
7478         for empty manual label paragraphs - the answer should be 0
7479
7480 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * CutAndPaste.C: remove commented code and reindent.
7483
7484 2003-03-08  John Levon  <levon@movementarian.org>
7485
7486         * lyxfunc.h:
7487         * lyxfunc.C: move reloadBuffer()
7488
7489         * BufferView.h:
7490         * BufferView.C: to here
7491
7492         * lyxvc.C: add comment
7493
7494         * vc-backend.h:
7495         * vc-backend.C: call bv->reload() to avoid
7496           getStatus() check on MENURELOAD
7497
7498 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7499
7500         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7501         to an old format .dep file.
7502
7503 2003-03-07  Angus Leeming  <leeming@lyx.org>
7504
7505         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7506         when the LFUN_MOUSE_RELEASE should have been handled by
7507         inset->localDispatch.
7508
7509 2003-03-07  Angus Leeming  <leeming@lyx.org>
7510
7511         * BufferView_pimpl.C (dispatch):
7512         * LyXAction.C (init):
7513         * ToolbarDefaults.C (init):
7514         * commandtags.h:
7515         * lyxfunc.C (getStatus):
7516         remove LFUN_INSET_GRAPHICS.
7517
7518         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7519
7520 2003-03-07  Angus Leeming  <leeming@lyx.org>
7521
7522         * commandtags.h:
7523         * LyXAction.C (init):
7524         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7525
7526         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7527
7528         * commandtags.h:
7529         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7530
7531         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7532         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7533
7534 2003-03-07  Angus Leeming  <leeming@lyx.org>
7535
7536         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7537         remove "ert".
7538
7539 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * ParagraphList.C (front): new function
7542         (back): implement
7543
7544 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7545
7546         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7547         and top_row_offset_. removed var first_y.
7548         * text.C (top_y):
7549         * text2.C (LyXText, removeRow):
7550         * text3.C:
7551         * BufferView_pimpl.C:
7552         use these methods instead of using first_y
7553
7554 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * text2.C (pasteSelection): adjust for checkPastePossible
7557
7558         * CutAndPaste.C: remove Paragraph * buf and replace with
7559         ParagraphList paragraphs.
7560         (DeleteBuffer): delete
7561         (cutSelection): change the tc type to textclass_type
7562         (copySelection): change the tc type to textclass_type
7563         (copySelection): adjust for ParagraphList
7564         (pasteSelection): change the tc type to textclass_type
7565         (pasteSelection): adjust for Paragraphlist
7566         (nrOfParagraphs): simplify for ParagraphList
7567         (checkPastePossible): simplify for ParagraphList
7568         (checkPastePossible): remove unused arg
7569
7570         * ParagraphList.C (insert): handle the case where there are no
7571         paragraphs yet.
7572
7573         * CutAndPaste.h: make CutAndPaste a namespace.
7574
7575         * text3.C (dispatch): adjust
7576
7577         * text.C (breakParagraph): add a ParagraphList as arg
7578
7579         * paragraph_funcs.C (breakParagraph): change to take a
7580         BufferParams and a ParagraphList as args.
7581         (breakParagraphConservative): ditto
7582         (mergeParagraph): ditto
7583         (TeXDeeper): add a ParagraphList arg
7584         (TeXEnvironment): ditto
7585         (TeXOnePar): ditto
7586
7587         * buffer.C (readLyXformat2): adjust
7588         (insertStringAsLines): adjust
7589         (latexParagraphs): adjust
7590
7591         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7592         (cutSelection): adjust
7593         (pasteSelection): adjust
7594
7595         * BufferView_pimpl.C (insertInset): adjust
7596
7597 2003-03-05  Angus Leeming  <leeming@lyx.org>
7598
7599         * commandtags.h:
7600         * LyXAction.C (init):
7601         * BufferView_pimpl.C (dispatch):
7602         * lyxfunc.C (getStatus):
7603         remove LFUN_CHILD_INSERT.
7604
7605         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7606
7607 2003-03-05  Angus Leeming  <leeming@lyx.org>
7608
7609         * commandtags.h:
7610         * LyXAction.C (init):
7611         * src/factory.C (createInset):
7612         * lyxfunc.C (getStatus):
7613         * text3.C (dispatch):
7614         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7615
7616         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7617
7618 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * ParagraphList.C (insert): handle insert right before end()
7621         (erase): fix cases where it can be first or last paragraph.
7622
7623 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7626         Paragraph::next and Paragraph::previous
7627         (TeXOnePar): ditto
7628
7629         * text.C (breakParagraph): adjust
7630
7631         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7632         BufferParams& as arg.
7633         (breakParagraph): use ParagraphList::insert
7634         (breakParagraphConservative): take a Buffer* instead of a
7635         BufferParams& as arg.
7636         (breakParagraphConservative): use ParagraphList::insert.
7637
7638         * buffer.C (insertStringAsLines): un-const it
7639         (insertStringAsLines): adjust
7640
7641         * ParagraphList.C (insert): new function
7642
7643         * CutAndPaste.C (pasteSelection): adjust
7644
7645         * text.C (backspace): adjust
7646
7647         * tabular.C (SetMultiColumn): adjust
7648
7649         * CutAndPaste.C (cutSelection): adjust
7650         (pasteSelection): adjust
7651
7652         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7653         Buffer const * as arg
7654
7655         * ParagraphList.C (erase): new function
7656         * paragraph_funcs.C (mergeParagraph): use it
7657         (mergeParagraph): make it take a Buffer* instead of a
7658         BufferParams* as arg
7659
7660         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7661         as arg
7662         (breakParagraphConservative): ditto
7663
7664         * paragraph.h: remove the breakParagraph friend
7665
7666         * paragraph.C (eraseIntern): new function
7667         (setChange): new function
7668
7669         * paragraph_funcs.C (mergeParagraph): make it take a
7670         ParagraphList::iterator instead of a Paragraph *, adjust
7671         accordingly.
7672
7673         * paragraph.h: move an #endif so that the change tracking stuff
7674         also works in the NO_NEXT case.
7675
7676 2003-03-04  Angus Leeming  <leeming@lyx.org>
7677
7678         * commandtags.h:
7679         * LyXAction.C: new LFUN_INSET_MODIFY.
7680
7681         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7682         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7683
7684 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * several files: ws changes only
7687
7688         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7689         (TeXEnvironment): ditto
7690         (TeXDeeper): ditto
7691
7692         * buffer.C (makeLaTeXFile): adjust
7693         (latexParagraphs): make it take ParagraphList::iterator as args
7694
7695 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * buffer.C (latexParagraphs): adjust
7698
7699         * paragraph.C (TeXOnePar): move function...
7700         (optArgInset): move function...
7701         (TeXEnvironment): move function...
7702         * paragraph_pimpl.C (TeXDeeper): move function...
7703         * paragraph_funcs.C: ...here
7704
7705         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7706
7707 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * buffer.C (readInset): remove compability code for old Figure and
7710         InsetInfo insets
7711
7712 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * buffer.C: ws changes
7715         (readInset):
7716
7717         * BufferView_pimpl.C: ditto
7718         * author.C: ditto
7719         * buffer.h: ditto
7720         * bufferlist.h: ditto
7721         * changes.h: ditto
7722         * lyxfunc.C: ditto
7723
7724 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7725
7726         * converter.[Ch]: split into itself +
7727         * graph.[Ch]
7728         * format.[Ch]
7729         * Makefile.am: += graph.[Ch] + format.[Ch]
7730         * MenuBackend.C
7731         * buffer.C
7732         * exporter.C
7733         * importer.C
7734         * lyx_main.C
7735         * lyxfunc.C
7736         * lyxrc.C: added #include "format.h"
7737
7738 2003-02-27  Angus Leeming  <leeming@lyx.org>
7739
7740         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7741           a label.
7742
7743         * factory.C (createInset): add "label" to the factory.
7744
7745         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7746           string and do no more.
7747
7748 2003-02-27  Angus Leeming  <leeming@lyx.org>
7749
7750         * commandtags.h:
7751         * LyXAction.C (init):
7752         * factory.C (createInset):
7753         * BufferView_pimpl.C (dispatch):
7754           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7755
7756         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7757
7758         * lyxfunc.C (dispatch):
7759         * text3.C (dispatch): pass name to params2string.
7760
7761 2003-02-26  Angus Leeming  <leeming@lyx.org>
7762
7763         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7764           blocks together.
7765           Rearrange the ~includes. Strip out the unnecessary ones.
7766
7767         * factory.C (createInset): reformat.
7768           create new insets for the various LFUN_XYZ_APPLY lfuns.
7769
7770 2003-02-26  John Levon  <levon@movementarian.org>
7771
7772         * lyxrow.h:
7773         * lyxrow.C: add isParStart,isParEnd helpers
7774
7775         * paragraph.h: make isInserted/DeletedText take refs
7776
7777         * paragraph_funcs.h:
7778         * paragraph_funcs.C: remove #if 0'd code
7779
7780         * lyxtext.h:
7781         * text3.C:
7782         * text2.C:
7783         * text.C: use lyxrow helpers above.
7784           Move draw and paint routines to RowPainter.
7785           Make several methods use refs not pointers.
7786           Make backgroundColor() const.
7787           Add markChangeInDraw(), isInInset().
7788           Merge changeRegionCase into changeCase.
7789           Make workWidth() shouldn't-happen code into an Assert.
7790
7791         * rowpainter.h:
7792         * rowpainter.C: new class for painting a row.
7793
7794         * vspace.h:
7795         * vspace.C: make inPixels take a ref
7796
7797 2003-02-26  Angus Leeming  <leeming@lyx.org>
7798
7799         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7800         LFUN_REF_APPLY.
7801
7802 2003-02-25  John Levon  <levon@movementarian.org>
7803
7804         * ispell.C: give the forked command a more accurate name
7805
7806 2003-02-22  John Levon  <levon@movementarian.org>
7807
7808         * toc.h:
7809         * toc.C: make TocItem store an id not a Paragraph *
7810           (bug #913)
7811
7812 2003-02-21  Angus Leeming  <leeming@lyx.org>
7813
7814         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7815           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7816           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7817           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7818           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7819           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7820
7821         * BufferView_pimpl.C (dispatch):
7822         * LyXAction.C (init):
7823         * factory.C (createInset):
7824         * lyxfunc.C (getStatus, dispatch):
7825         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7826
7827 2003-02-21  Angus Leeming  <leeming@lyx.org>
7828
7829         * BufferView_pimpl.C (MenuInsertLyXFile):
7830         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7831         * lyxfunc.C (menuNew, open, doImport):
7832           no longer pass a LyXView & to fileDlg.
7833
7834 2003-02-21  Angus Leeming  <leeming@lyx.org>
7835
7836         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7837         * LyXAction.C: change, BIBKEY to BIBITEM.
7838         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7839         Change InsetBibKey to InsetBibitem.
7840         Change BIBKEY_CODE to BIBITEM_CODE.
7841         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7842         * factory.C: replace insetbib.h with insetbibitem.h.
7843         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7844         * paragraph.C: replace insetbib.h with insetbibitem.h.
7845         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7846         Change bibkey() to bibitem().
7847         * text.C: remove insetbib.h.
7848         * text2.C: replace insetbib.h with insetbibitem.h.
7849         change bibkey() to bibitem().
7850         * text3.C: remove insetbib.h.
7851         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7852
7853 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7854
7855         * lyxrc.C (output): enclose user email in quotes (in case there are
7856         several words)
7857
7858 2003-02-18  John Levon  <levon@movementarian.org>
7859
7860         * buffer.h: add std::
7861
7862 2003-02-17  John Levon  <levon@movementarian.org>
7863
7864         * SpellBase.h:
7865         * ispell.h:
7866         * ispell.C:
7867         * pspell.h:
7868         * pspell.C: reworking. Especially in ispell, a large
7869           number of clean ups and bug fixes.
7870
7871         * lyxfunc.C: fix revert to behave sensibly
7872
7873 2003-02-17 André Pönitz <poenitz@gmx.net>
7874
7875         * LyXAction.C:
7876         * commandtags.h: new LFUN_INSERT_BIBKEY
7877
7878         * layout.h:
7879         * lyxlayout.C:
7880         * buffer.C:
7881         * factory.C:
7882         * text.C:
7883         * text2.C:
7884         * text3.C:
7885         * paragraph.[Ch]:
7886         * paragraph_func.C: remove special bibkey handling
7887
7888 2003-02-17  John Levon  <levon@movementarian.org>
7889
7890         * text.C (Delete): fix case where delete at the end of
7891           the very first paragraph would not merge the pars
7892
7893 2003-02-17  John Levon  <levon@movementarian.org>
7894
7895         * lyxrow.C: fix lastPrintablePos()
7896
7897 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * bufferparams.C (writeLaTeX): add a std:here
7900
7901         * buffer.C: and remove a using directive there
7902
7903 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7904
7905         * buffer.C (makeLaTeXFile): move the code that generates the
7906           preamble...
7907
7908         * bufferparams.C (writeLaTeX): ... in this new method
7909
7910         * LaTeXFeatures.C (getEncodingSet): make const
7911           (getLanguages): make const
7912
7913         * MenuBackend.C (binding): returns the binding associated to this
7914           action
7915           (add): sets the status of each item by calling getStatus. Adds
7916           some intelligence.
7917           (read): add support for OptSubMenu
7918           (expand): remove extra separator at the end of expanded menu
7919
7920 2003-02-15  John Levon  <levon@movementarian.org>
7921
7922         * BufferView.C:
7923         * BufferView_pimpl.C:
7924         * bufferlist.h:
7925         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7926           inset code that had no actual effect. Remove unneeded status
7927           code.
7928
7929 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7930
7931         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7932           in preamble
7933
7934 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7935
7936         * text.C (drawLengthMarker): also draw an arrow marker for
7937           symbolic lengths (medskip...)
7938
7939 2003-02-14  John Levon  <levon@movementarian.org>
7940
7941         * tabular.h:
7942         * tabular.C: better method names
7943
7944 2003-02-14  John Levon  <levon@movementarian.org>
7945
7946         * BufferView_pimpl.C:
7947         * bufferlist.C:
7948         * buffer.C:
7949         * converter.C:
7950         * lyx_cb.C:
7951         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7952           it's a more accurate name. Remove some pointless uses.
7953
7954 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7955
7956         * text2.C (LyXText): change order of initilizers to shut off
7957           warnings
7958
7959 2003-02-14  John Levon  <levon@movementarian.org>
7960
7961         * buffer.C: use ParIterator for getParFromID()
7962
7963         * paragraph.h:
7964         * paragraph.C:
7965         * paragraph_pimpl.h:
7966         * paragraph_pimpl.C: remove unused getParFromID()
7967
7968 2003-02-14  John Levon  <levon@movementarian.org>
7969
7970         * buffer.C: remove some very old #if 0'd parse code
7971
7972 2003-02-13  John Levon  <levon@movementarian.org>
7973
7974         * text.h:
7975         * text.C:
7976         * text2.C: move hfillExpansion(), numberOfSeparators(),
7977           rowLast(), rowLastPrintable(), numberofHfills(),
7978           numberOfLabelHfills() ...
7979
7980         * lyxrow.h:
7981         * lyxrow.C: ... to member functions here.
7982
7983         * paragraph.h:
7984         * paragraph.C:
7985         * lyxtext.h:
7986         * text.C: remove LyXText::beginningOfMainBody(), and call
7987           p->beginningOfMainBody() directly. Move the check for
7988           LABEL_MANUAL into the latter.
7989
7990         * text.h:
7991         * text.C:
7992         * text2.C:
7993         * vspace.C:
7994         * BufferView.h:
7995         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7996
7997         * text.h:
7998         * text.C:
7999         * text2.C:
8000         * text3.C:
8001         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8002           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8003
8004 2003-02-13  John Levon  <levon@movementarian.org>
8005
8006         * CutAndPaste.C: remove debug
8007
8008 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8009
8010         * paragraph.C (asString): remove two unused variables
8011
8012         * lyxtextclass.C (readTitleType):
8013           (Read):
8014           (LyXTextClass): handle new members titletype_ and titlename_
8015
8016         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8017
8018 2003-02-09  John Levon  <levon@movementarian.org>
8019
8020         * buffer.h:
8021         * buffer.C: replace hand-coded list with a map for the dep clean
8022
8023 2003-02-08  John Levon  <levon@movementarian.org>
8024
8025         * LaTeX.C: consolidate code into showRunMessage() helper
8026
8027 2003-02-08  John Levon  <levon@movementarian.org>
8028
8029         * lyxfind.C:
8030         * lyxtext.h:
8031         * text2.C:
8032         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8033           and pass the size in explicitly
8034
8035         * BufferView_pimpl.h:
8036         * BufferView_pimpl.C:
8037         * BufferView.h:
8038         * BufferView.C: add getCurrentChange()
8039
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C: handle change lfuns
8042
8043         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8044           for changes. Mark pasted paragraphs as new.
8045
8046         * support/lyxtime.h:
8047         * support/lyxtime.C:
8048         * DepTable.C: abstract time_t as lyx::time_type
8049
8050         * LColor.h:
8051         * LColor.C: add colours for new text, deleted text, changebars
8052
8053         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8054           package use "usenames" option.
8055
8056         * commandtags.h:
8057         * lyxfunc.C:
8058         * LyXAction.C: add change lfuns
8059
8060         * Makefile.am:
8061         * author.h:
8062         * author.C: author handling
8063
8064         * buffer.h:
8065         * buffer.C: add a per-buffer author list, with first entry as
8066           current author. Handle new .lyx tokens for change tracking. Output
8067           author list to .lyx file. Output dvipost stuff to .tex preamble.
8068           Bump lyx format to 222.
8069
8070         * bufferlist.h:
8071         * bufferlist.C: add setCurrentAuthor() to reset current author details
8072           in all buffers.
8073
8074         * bufferparams.h:
8075         * bufferparams.C: add param for tracking
8076
8077         * bufferview_funcs.C: output change info in minibuffer
8078
8079         * Makefile.am:
8080         * changes.h:
8081         * changes.C: add change-tracking structure
8082
8083         * debug.h:
8084         * debug.C: add CHANGES debug flag
8085
8086         * lyxfind.h:
8087         * lyxfind.C: add code for finding the next change piece
8088
8089         * lyxrc.h:
8090         * lyxrc.C: add user_name and user_email
8091
8092         * lyxrow.h:
8093         * lyxrow.C: add a metric for the top of the text line
8094
8095         * lyxtext.h:
8096         * text.C: implement accept/rejectChange()
8097
8098         * lyxtext.h:
8099         * text.C: paint changebars. Paint new/deleted text in the chosen
8100         colours. Strike through deleted text.
8101
8102         * paragraph.h:
8103         * paragraph.C:
8104         * paragraph_pimpl.h:
8105         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8106           in the current change to the insert functions. Rework erase to
8107           mark text as deleted, adding an eraseIntern() and a range-based
8108           erase(). Implement per-paragraph change lookup and
8109           accept/reject.
8110
8111         * paragraph_funcs.C: Fixup paste for change tracking.
8112
8113         * tabular.C: mark added row/columns as new.
8114
8115         * text.C: fix rowLast() to never return -1. Don't allow
8116           spellchecking of deleted text. Track transpose changes. Don't
8117           allow paragraph break or merge where appropriate.
8118
8119         * text2.C: leave cursor at end of selection after a cut.
8120
8121 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8122
8123         * text.C (getLengthMarkerHeight):
8124         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8125         visible on screen too.
8126
8127 2003-02-07  John Levon  <levon@movementarian.org>
8128
8129         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8130
8131 2003-02-05  Angus Leeming  <leeming@lyx.org>
8132
8133         * lyxserver.C (read_ready): revert my patch of 11 September last year
8134         as it sends PC cpu through the roof. Presumably this means that
8135         the lyxserver will no longer run on an Alpha...
8136
8137 2003-01-30  Angus Leeming  <leeming@lyx.org>
8138
8139         * factory.C (createInset): create an InsetCommandParam of type "index"
8140         and use it to 'do the right thing'.
8141
8142         * text2.C (getStringToIndex): ensure that cursor position is always
8143         reset to the reset_cursor position.
8144
8145 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8146
8147         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8148         disabled.
8149
8150 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8151
8152         * bufferview.C:
8153         * lyxcb.C:
8154         * lyxfunc.C: Output messages with identical spelling, punctuation,
8155         and spaces
8156
8157 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8158
8159         * MenuBackend.C (expandFormats): List only viewable export formats
8160         in "View" menu
8161
8162         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8163         message
8164
8165         * lyxfunc.C (getStatus): Make sure that formats other than
8166         "fax" can also be disabled
8167
8168 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8169
8170         * text3.C (dispatch): put the lfuns that insert insets in 3
8171         groups, and call doInsertInset with appropriate arguments.
8172         (doInsertInset): new function, that creates an inset and inserts
8173         it according to some boolean parameters.
8174
8175 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * buffer.C (readFile): remember to pass on 'par' when calling
8178         readFile recursively.
8179
8180 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8181
8182         * MenuBackend.C (expandFormats): add "..." to import formats.
8183
8184 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8185
8186         * paragraph.C (asString): Remove XForms RTL hacks.
8187
8188 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8189         * buffer.C: fix typo
8190
8191 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * Makefile.am (LIBS): delete var
8194         (lyx_LDADD): add @LIBS@ here instead.
8195
8196 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8197
8198         * Clarify the meaning of "wheel mouse jump"
8199
8200 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8201
8202         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8203         tabular in a float
8204
8205 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8206
8207         * importer.C (Loaders): do not preallocate 3 elements in the
8208         vector, since one ends up with 6 elements otherwise
8209
8210 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8211
8212         * DepTable.C (write): write the file name as last element of the
8213         .dep file (because it may contain spaces)
8214         (read): read info in the right order
8215
8216 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8217
8218         * paragraph_pimpl.C (simpleTeXBlanks):
8219         (simpleTeXSpecialChars):
8220         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8221
8222         * tabular.C (latex): add some missing case statements. Reindent.
8223
8224         * MenuBackend.C (expandToc): remove unused variable.
8225
8226 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8227
8228         * LColor.C:
8229         * LaTeX.C:
8230         * LyXAction.C:
8231         * MenuBackend.C:
8232         * buffer.C:
8233         * exporter.C:
8234         * lyxfunc.C:
8235         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8236         and the like.
8237
8238 2003-01-05  John Levon  <levon@movementarian.org>
8239
8240         * BufferView.h:
8241         * BufferView.C: add getEncoding()
8242
8243         * kbsequence.h:
8244         * kbsequence.C: do not store last keypress
8245
8246         * lyxfunc.h:
8247         * lyxfunc.C: store last keypress here instead. Pass encoding
8248           to getISOEncoded()
8249
8250 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8251
8252         * lyx_main.C (init): remove annoying error message when following
8253         symbolic links (bug #780)
8254
8255 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * text.C (insertChar):
8258         * lyxrc.C (getDescription): remove extra spaces
8259
8260 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8261
8262         * lyxrc.C (getDescription): remove extra spaces
8263
8264 2002-12-20  John Levon  <levon@movementarian.org>
8265
8266         * text3.C: hack fix for page up/down across tall rows
8267
8268 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8269
8270         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8271         not been invoked
8272
8273 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8274
8275         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8276         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8277         thesaurus is not compiled in
8278
8279 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8280
8281         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8282
8283 2002-12-16  Angus Leeming  <leeming@lyx.org>
8284
8285         * lyxrc.[Ch]:
8286         * lyx_main.C (init): remove override_x_deadkeys stuff.
8287
8288 2002-12-12  John Levon  <levon@movementarian.org>
8289
8290         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8291           insert. Only remove shift modifier under strict
8292           circumstances.
8293
8294 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8295
8296         * MenuBackend.C (expandToc): fix crash.
8297
8298 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * MenuBackend.C (expandToc): gettext on float names.
8301
8302 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8303
8304         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8305         implement bool empty() [bug 490]
8306
8307 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8308
8309         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8310
8311 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * several files: ws changes
8314
8315 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * text2.C (setCounter): clean up a bit, use boost.format.
8318         (updateCounters): initialize par upon declaration.
8319
8320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8321         if the layout exists. We do not just store the layout any more.
8322         (SwitchLayoutsBetweenClasses): use boost.format
8323
8324 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8325
8326         * converter.C (convert): if from and to files are the same, use a
8327         temporary files as intermediary
8328
8329 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8330
8331         * commandtags.h:
8332         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8333
8334 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8335
8336         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8337
8338 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * tabular.C (asciiPrintCell): use string(size, char) instead of
8341         explicit loop.
8342
8343         * sgml.C (openTag): fix order of arguments to string constructor
8344         (closeTag): ditto
8345
8346         * lyxfunc.C (dispatch): use boost.format
8347
8348         * lots of files: change "c" -> 'c'
8349
8350 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8351
8352         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8353
8354 2002-11-25  Angus Leeming  <leeming@lyx.org>
8355
8356         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8357
8358         * lyx_main.C (init): compile fix.
8359
8360 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * lyx_cb.C (start): boost.formatify
8363         do not include <iostream>
8364
8365         * lengthcommon.C: ws only
8366
8367         * boost-inst.C,BoostFormat.h: add more explict instantations
8368
8369 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * lots of files: handle USE_BOOST_FORMAT
8372
8373 2002-11-21  John Levon  <levon@movementarian.org>
8374
8375         * pspell.C: fix compile
8376
8377 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8378
8379         * lyxfunc.C (dispatch): use boost::format
8380         (open): ditto
8381         (doImport): ditto
8382
8383         * lyxfont.C (stateText): use boost::format
8384
8385         * lyx_main.C (LyX): use boost::format
8386         (init): ditto
8387         (queryUserLyXDir): ditto
8388         (readRcFile): ditto
8389         (parse_dbg): ditto
8390         (typedef boost::function): use the recommened syntax.
8391
8392         * importer.C (Import): use boost::format
8393
8394         * debug.C (showLevel): use boost::format
8395
8396         * converter.C (view): use boost::format
8397         (convert): ditto
8398         (move): ditto
8399         (scanLog): ditto
8400
8401         * bufferview_funcs.C (currentState): use boost::format
8402
8403         * bufferlist.C (emergencyWrite): use boost::format
8404
8405         * buffer.C (readLyXformat2): use boost::format
8406         (parseSingleLyXformat2Token): ditto
8407
8408         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8409
8410         * LaTeX.C (run): use boost::format
8411
8412         * Chktex.C (scanLogFile): use boost::format
8413
8414         * BufferView_pimpl.C (savePosition): use boost::format
8415         (restorePosition): ditto
8416         (MenuInsertLyXFile): ditto
8417
8418         * BoostFormat.h: help file for explicit instation.
8419
8420 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8421
8422         * tabular.C (latex): Support for block alignment in fixed width
8423         columns.
8424
8425 2002-11-17  John Levon  <levon@movementarian.org>
8426
8427         * BufferView_pimpl.C:
8428         * lyx_cb.C:
8429         * lyxfunc.C: split filedialog into open/save
8430
8431 2002-11-08  Juergen Vigna  <jug@sad.it>
8432
8433         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8434         by my last patch (hopefully).
8435
8436 2002-11-08  John Levon  <levon@movementarian.org>
8437
8438         * iterators.h:
8439         * iterators.C:
8440         * buffer.h:
8441         * buffer.C:
8442         * paragraph.h:
8443         * paragraph.C:
8444         * toc.h:
8445         * toc.C: ParConstIterator, and use it (from Lars)
8446
8447 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8448
8449         * lyxtextclass.[Ch]: revise and add doxygen comments
8450
8451 2002-11-07  John Levon  <levon@movementarian.org>
8452
8453         * text.C: fix progress value for spellchecker
8454
8455         * toc.C: fix navigate menu for insetwrap inside minipage
8456
8457         * paragraph_funcs.C: added FIXME for suspect code
8458
8459 2002-11-07  John Levon  <levon@movementarian.org>
8460
8461         * BufferView_pimpl.C: fix redrawing of insets
8462           on buffer switch
8463
8464 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8465
8466         * text2.C (updateCounters): fix bug 668
8467
8468 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * text3.C (dispatch): Do not make the buffer dirty when moving the
8471         cursor.
8472
8473 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * vc-backend.C: STRCONV
8476         (scanMaster): ditto
8477
8478         * text2.C (setCounter): STRCONV
8479
8480         * paragraph.C (asString): STRCONV
8481
8482         * lyxlength.C (asString): STRCONV
8483         (asLatexString): ditto
8484
8485         * lyxgluelength.C (asString): STRCONV
8486         (asLatexString): ditto
8487
8488         * lyxfunc.C (dispatch): STRCONV
8489         (open): ditto
8490
8491         * lyxfont.C (stateText): STRCONV
8492
8493         * importer.C (Import): STRCONV
8494
8495         * counters.C (labelItem): STRCONV
8496         (numberLabel): ditto
8497         (numberLabel): remove unused ostringstream o
8498
8499         * chset.C: STRCONV
8500         (loadFile): ditto
8501
8502         * bufferview_funcs.C (currentState): STRCONV
8503
8504         * buffer.C (readFile): STRCONV
8505         (asciiParagraph): ditto
8506         (makeLaTeXFile): ditto
8507
8508         * Spacing.C (writeEnvirBegin): STRCONV
8509
8510         * LaTeXFeatures.C (getLanguages): STRCONV
8511         (getPackages): ditto
8512         (getMacros): ditto
8513         (getBabelOptions): ditto
8514         (getTClassPreamble): ditto
8515         (getLyXSGMLEntities): ditto
8516         (getIncludedFiles): ditto
8517
8518         * LaTeX.C: STRCONV
8519         (run): ditto
8520         (scanAuxFile): ditto
8521         (deplog): ditto
8522
8523         * LString.h: add the STRCONV macros
8524
8525         * BufferView_pimpl.C (savePosition): STRCONV
8526         (restorePosition): ditto
8527         (MenuInsertLyXFile): ditto
8528
8529         * vc-backend.C (scanMaster): change from submatch[...] to
8530         submatch.str(...)
8531
8532         * funcrequest.C: include config.h
8533
8534         * factory.C: include config.h
8535
8536         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8537
8538         * box.C: include config.h
8539
8540         * LaTeX.C (scanAuxFile): change from submatch[...] to
8541         submatch.str(...)
8542         (deplog): ditto
8543
8544 2002-10-25  Angus Leeming  <leeming@lyx.org>
8545
8546         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8547
8548         * ispell.[Ch] (setError): new method.
8549         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8550         Use setError() insetead of goto END.
8551
8552         * lyx_cb.C (AutoSave): move out child process into new class
8553         AutoSaveBuffer.
8554
8555 2002-10-30  John Levon  <levon@movementarian.org>
8556
8557         * text3.C: make start appendix undoable
8558
8559 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8560
8561         * lyxlength.C (inPixels): Fix returned value.
8562
8563         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8564         environment.
8565
8566 2002-10-24  Angus Leeming  <leeming@lyx.org>
8567
8568         * lyxgluelength.h: no need to forward declare BufferParams
8569         or BufferView, so don't.
8570
8571 2002-10-21  John Levon  <levon@movementarian.org>
8572
8573         * BufferView.C: menuUndo ->undo, redo
8574
8575         * BufferView.h: document, remove dead, make some methods private
8576
8577         * paragraph_funcs.h:
8578         * paragraph_funcs.C:
8579         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8580
8581         * buffer.h:
8582         * buffer.C:
8583         * sgml.h:
8584         * sgml.C: move sgml open/close tag into sgml.C
8585
8586         * bufferview_funcs.h: unused prototype
8587
8588         * lyxfunc.h:
8589         * lyxfunc.C: remove unused
8590
8591         * lyxtext.h:
8592         * text.C: remove unused
8593
8594 2002-10-21  John Levon  <levon@movementarian.org>
8595
8596         * BufferView.h:
8597         * BufferView.C:
8598         * BufferView_pimpl.h:
8599         * BufferView_pimpl.C: fix mouse wheel handling based on
8600           patch from Darren Freeman
8601
8602 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8605
8606 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * lyxlength.C (inPixels): Fix hanfling of negative length.
8609         Fix LyXLength::MU case.
8610
8611 2002-10-16  John Levon  <levon@movementarian.org>
8612
8613         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8614
8615 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8616
8617         * converter.C (view): add support for $$i (file name) and $$p
8618         (file path) for the viewer command. If $$i is not specified, then
8619         it is appended to the command (for compatibility with old syntax)
8620
8621 2002-10-14  Juergen Vigna  <jug@sad.it>
8622
8623         * undo_funcs.C (textHandleUndo): alter the order in which the
8624         new undopar is added to the LyXText, as we have to set first
8625         the right prev/next and then add it as otherwise the rebuild of
8626         LyXText is not correct. Also reset the cursor to the right paragraph,
8627         with this IMO we could remove the hack in "redoParagraphs()".
8628
8629 2002-10-09  Angus Leeming  <leeming@lyx.org>
8630
8631         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8632         to turn off an optimisation if a new inset is to be inserted.
8633
8634 2002-10-11 André Pönitz <poenitz@gmx.net>
8635
8636         * lyxtext.h: make some functions public to allow access
8637         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8638
8639 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8640
8641         * text3.C (dispatch): when changing layout, avoid an infinite loop
8642         [bug #652]
8643
8644 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8645
8646         * lyxrc.C (read): treat a viewer or converter command of "none" as
8647         if it were empty.
8648
8649         * MenuBackend.C (expandFormats): for an update, also allow the
8650         formats that are not viewable
8651
8652         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8653         script if it is newer than the lyxrc.defaults in user directory
8654
8655 2002-10-07 André Pönitz <poenitz@gmx.net>
8656
8657         * text.C: Vitaly Lipatov's small i18n fix
8658
8659 2002-09-25  Angus Leeming  <leeming@lyx.org>
8660
8661         * ispell.h: doxygen fix.
8662
8663 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8664
8665         * buffer.h (readFile): Add a new argument to the method, to allow
8666         reading of old-format templates.
8667
8668 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8669
8670         * toc.C (getTocList): Get TOC from InsetWrap.
8671
8672 2002-09-16  John Levon  <levon@movementarian.org>
8673
8674         * lyxfunc.C: check tabular for cut/copy too
8675
8676 2002-09-12  John Levon  <levon@movementarian.org>
8677
8678         * LyXAction.C: tidy
8679
8680         * factory.h:
8681         * factory.C: add header
8682
8683         * paragraph_funcs.h:
8684         * paragraph_funcs.C: cleanup
8685
8686 2002-09-11  John Levon  <levon@movementarian.org>
8687
8688         * PrinterParams.h: odd/even default to true
8689
8690 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8691
8692         * PrinterParams.h: update printer parameters for new xforms dialog
8693
8694 2002-09-11  Angus Leeming  <leeming@lyx.org>
8695
8696         * lyxserver.C (read_ready): re-write to make it more transparent
8697         and to make it work in coherent fashion under Tru64 Unix.
8698
8699 2002-09-11  André Pönitz <poenitz@gmx.net>
8700
8701         * commandtags.h:
8702         * LyXAction.C:
8703         * text3.C: implement LFUN_WORDSEL
8704
8705 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8706
8707         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8708         make floatlist_ a boost::shared_ptr<FloatList>
8709
8710         * lyxtextclass.C: include FloatList.h
8711         (LyXTextClass): initialize floatlist_
8712         (TextClassTags): add TC_NOFLOAT
8713         (Read): match "nofloat" to TC_NOFLOAT and use it.
8714         (readFloat): modify call to floatlist_
8715         (floats): ditto
8716         (floats): ditto
8717
8718         * FloatList.[Ch] (FloatList): remove commented out float
8719         initialization.
8720         (erase): new function
8721
8722 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * MenuBackend.C (expandToc): fix crash when there is no document
8725         open
8726
8727 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8728
8729         * many files: Add insetwrap.
8730
8731 2002-09-09  John Levon  <levon@movementarian.org>
8732
8733         * text2.C: remove confusing and awkward depth wraparound
8734
8735 2002-09-09  John Levon  <levon@movementarian.org>
8736
8737         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8738
8739         * buffer.h:
8740         * buffer.C: remove getIncludeonlyList()
8741
8742         * paragraph.C:
8743         * lyxfunc.C: remove headers
8744
8745 2002-09-09  Juergen Vigna  <jug@sad.it>
8746
8747         * text.C (getColumnNearX): fix form Michael this is most
8748         probably a cut&paste bug.
8749
8750 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8753
8754         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8755         references, ws changes.
8756
8757         * text2.C (init): update counters after init
8758         (insertParagraph): no need to set counter on idividual paragraphs.
8759         (setCounter): access the counters object in the textclass object
8760         on in the buffer object.
8761         (updateCounters): ditto
8762
8763         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8764         shared_ptr<Counters> to avoid loading counters.h in all
8765         compilation units.
8766         (LyXTextClass): initialize ctrs_
8767         (TextClassTags): add TC_COUNTER, and ...
8768         (Read): use it here.
8769         (CounterTags): new tags
8770         (readCounter): new function
8771         (counters): new funtion
8772         (defaultLayoutName): return a const reference
8773
8774         * counters.C (Counters): remove contructor
8775         (newCounter): remove a couple of unneeded statements.
8776         (newCounter): simplify a bit.
8777         (numberLabel): some small formatting changes.
8778
8779         * buffer.[Ch]: remove all traces of counters, move the Counters
8780         object to the LyXTextClass.
8781
8782 2002-09-06  Alain Castera  <castera@in2p3.fr>
8783
8784         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8785         package to set the horizontal alignment on fixed width columns.
8786
8787         * lyx_sty.C:
8788         * lyx_sty.h: added tabularnewline macro def.
8789
8790         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8791
8792 2002-09-06  John Levon  <levon@movementarian.org>
8793
8794         * LyXAction.C: tooltips for sub/superscript
8795
8796         * MenuBackend.C: a bit more verbose
8797
8798         * lyxfunc.C: tiny clean
8799
8800         * undo_funcs.C: document undo_frozen
8801
8802 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * counters.C (Counters): add missing algorithm counter.
8805
8806         * text2.C (setCounter): lookup the counter with layouts latexname
8807         instead of by section number.
8808         (setCounter): use a hackish way to lookup the correct enum
8809         counter.
8810         a float name->type change
8811         reset enum couners with counter name directly instead of depth value.
8812
8813         * counters.C (Counters): remove the push_backs, change to use the
8814         float type not the float name.
8815         (labelItem): remove unused string, float name->type change
8816
8817         * counters.h: don't include vector, loose the enums and sects vectors
8818
8819 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8820
8821         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8822         (Read): add float->TC_FLOAT to textclassTags
8823         (Read): and handle it in the switch
8824         (readFloat): new function
8825
8826         * FloatList.C (FloatList): comment out the hardcoded float
8827         definitions.
8828
8829         * lyxlayout.h: ws change.
8830
8831 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8834
8835 2002-09-03  Angus Leeming  <leeming@lyx.org>
8836
8837         * BufferView_pimpl.h: qualified name is not allowed in member
8838         declaration: WorkArea & Pimpl::workarea() const;
8839
8840         * factory.C: added using std::endl directive.
8841
8842         * text3.C: added using std::find and std::vector directives.
8843
8844 2002-08-29  André Pönitz <poenitz@gmx.net>
8845
8846         * lyxtext.h:
8847         * text2.C: remove unused member number_of_rows
8848
8849         * Makefile.am:
8850         * BufferView2.C: remove file, move contents to...
8851         * BufferView.C: ... here
8852
8853         * BufferView_pimpl.C:
8854         * factory.C: move more inset creation to factory
8855
8856         * vspace.C: avoid direct usage of LyXText, ws changes
8857
8858         * BufferView.[Ch]:
8859                 don't provide direct access to WorkArea, use two simple
8860                 acessors haveSelction() and workHeight() instead
8861
8862
8863 2002-08-29  John Levon  <levon@movementarian.org>
8864
8865         * BufferView_pimpl.C (dispatch): do not continue when
8866           no buffer
8867
8868 2002-08-28  André Pönitz <poenitz@gmx.net>
8869
8870         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8871
8872         * BufferView.h:
8873         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8874
8875 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8876
8877         * buffer.C: increment LYX_FORMAT to 221
8878
8879         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8880         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8881
8882         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8883
8884         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8885
8886 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * factory.C (createInset): use LyXTextClass::floats
8889
8890         * MenuBackend.C (expandFloatListInsert):
8891         (expandFloatInsert):
8892         (expandToc):
8893
8894         * text2.C (setCounter):
8895
8896         * LaTeXFeatures.C (useFloat):
8897         (getFloatDefinitions):
8898
8899         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8900
8901         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8902         floatlist_, with accessor floats().
8903
8904         * FloatList.h: remove global FloatList
8905
8906 2002-08-26  André Pönitz <poenitz@gmx.net>
8907
8908         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8909
8910         * BufferView.h:
8911         * BufferView2.C:
8912         * BufferView_pimpl.C:
8913         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8914
8915 2002-08-25  John Levon  <levon@movementarian.org>
8916
8917         * LyXAction.C: fix margin note description
8918
8919 2002-08-24  John Levon  <levon@movementarian.org>
8920
8921         * buffer.C:
8922         * bufferlist.C:
8923         * bufferview_funcs.C:
8924         * lyxfont.C:
8925         * undo_funcs.C: cleanups
8926
8927         * lyxfunc.C: disable CUT/COPY when no selection
8928
8929 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8930
8931         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8932         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8933
8934         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8935         Add backward compatibility to "mono", "gray" and "no".
8936
8937 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8938
8939         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8940         (and file_format >= 200).
8941
8942 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8945
8946 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8947
8948         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8949
8950 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8951
8952         * BufferView_pimpl.C:
8953         * LyXAction.C:
8954         * buffer.C:
8955         * commandtags.h:
8956         * lyxfunc.C:
8957         * paragraph.[Ch]:
8958         * text2.C:
8959         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8960         inset and code to make it  work with the paragraph code. The inset
8961         can be anywhere in the paragraph, but will only do the expected
8962         thing in LaTeX if the layout file contains the parameter line
8963                         OptionalArgs    1
8964         (or more generally, a nonzero value) for that layout.
8965
8966 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8967
8968         * paragraph.h: remove the declaration of undefined counters class
8969         function.
8970
8971 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8972
8973         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8974         Dr. Richard Hawkins.
8975
8976 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * paragraph_funcs.h: remove some unneeded includes
8979
8980         * text.C (backspace): pasteParagraph now in global scipe
8981
8982         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8983         (pasteSelection): ditto
8984
8985         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8986         * paragraph_funcs.C (pasteParagraph): ... here
8987
8988 2002-08-20  André Pönitz <poenitz@gmx.net>
8989
8990         * commandtags.h: new LFUNs for swapping/copying table row/colums
8991
8992         * LyXAction.C:
8993         * lyxfunc.C: support for new lfuns
8994
8995 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * tabular.C:
8998         * buffer.[Ch]: remove NO_COMPABILITY stuff
8999
9000 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * boost.C (throw_exception): new file, with helper function for
9003         boost compiled without exceptions.
9004
9005         * paragraph.h:
9006         * lyxlength.C:
9007         * buffer.C:
9008         * ParameterStruct.h:
9009         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9010
9011         * bufferlist.C (emergencyWriteAll): use boost bind
9012
9013         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9014
9015         * text.C: include paragraph_funcs.h
9016         (breakParagraph): breakParagraph is now in global scope
9017
9018         * paragraph_funcs.[Ch]: new files
9019
9020         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9021         global scope
9022
9023         * buffer.C: include paragraph_funcs.h
9024         (insertStringAsLines): breakParagraph is now in global scope
9025
9026         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9027         paragraph_funcs.C
9028
9029         * CutAndPaste.C: include paragraph_funcs.h
9030         (cutSelection): breakParagraphConservative is now in global scope
9031         (pasteSelection): ditto
9032
9033         * buffer.h: declare oprator== and operator!= for
9034         Buffer::inset_iterator
9035
9036         * bufferlist.C (emergencyWrite): don't use fmt(...)
9037
9038         * text3.C: add using std::endl
9039
9040         * BufferView.C (moveCursorUpdate): remove default arg
9041
9042 2002-08-20  André Pönitz <poenitz@gmx.net>
9043
9044         * buffer.[Ch]: move inline functions to .C
9045
9046         * BufferView2.C:
9047         * BufferView_pimpl.C:
9048         * text.C:
9049         * buffer.[Ch]: use improved inset_iterator
9050
9051         * buffer.C:
9052         * paragraph.[Ch]: write one paragraph at a time
9053
9054 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9055
9056         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9057         style if style is not specified.
9058
9059 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9060
9061         * text2.C (setCounter): when searching for right label for a
9062         caption, make sure to recurse to parent insets (so that a caption
9063         in a minipage in a figure float works) (bug #568)
9064
9065 2002-08-20  André Pönitz <poenitz@gmx.net>
9066
9067         * text3.C: new file for LyXText::dispatch() and helpers
9068
9069         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9070
9071         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9072
9073 2002-08-19  André Pönitz <poenitz@gmx.net>
9074
9075         * lyxtext.h:
9076         * text.C: new LyXText::dispatch()
9077
9078         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9079
9080 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9081
9082         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9083
9084         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9085         Hebrew text.
9086
9087 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * Makefile.am: use $(variables) instead of @substitutions@
9090
9091 2002-08-15  André Pönitz <poenitz@gmx.net>
9092
9093         * lyxfunc.C:
9094         * BufferView_pimpl.C: streamlining mathed <-> outer world
9095         interaction
9096
9097         * commandtags.h:
9098         * LyXAction.C: remove unused LFUN_MATH
9099
9100 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9101
9102         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9103
9104 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9105
9106         * paragraph.C (Paragraph): reformat a bit
9107         (cutIntoMinibuffer): use builtin InsetList function instad of
9108         doing it manually.
9109         (getInset): ditto
9110
9111         * buffer.C: include boost/bind.hpp, add using std::for_each
9112         (writeFileAscii): use ParagraphList iterators
9113         (validate): use for_each for validate traversal of paragraphs
9114         (getBibkeyList): use ParagraphList iterators
9115         (resizeInsets): use for_each to resizeInsetsLyXText for all
9116         paragraphs.
9117         (getParFromID): use ParagraphList iterators
9118
9119         * BufferView2.C (lockInset): use paragraph list and iterators
9120
9121 2002-08-14  John Levon  <levon@movementarian.org>
9122
9123         * lyxserver.C: remove spurious xforms include
9124
9125 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9128
9129 2002-08-13  André Pönitz <poenitz@gmx.net>
9130
9131         * LyXAction.[Ch]:
9132         * lyxfunc.C: further cleaning
9133
9134 2002-08-13  André Pönitz <poenitz@gmx.net>
9135
9136         * funcrequest.h: new constructor
9137
9138         * funcrequest.C: move stuff here from .h
9139
9140         * Makefile.am:
9141         * BufferView_pimpl.C:
9142         * LyXAction.C:
9143         * toc.C:
9144         * lyxfunc.C: subsequent changes
9145
9146         * lyxfunc.h: new view() member function
9147
9148         * lyxfunc.C: subsequent changes
9149
9150 2002-08-13  Angus Leeming  <leeming@lyx.org>
9151
9152         * BufferView2.C:
9153         * BufferView_pimpl.C:
9154         * buffer.C:
9155         * converter.C:
9156         * importer.C:
9157         * lyxfunc.C:
9158         * lyxvc.C:
9159         * toc.C:
9160         * vc-backend.C:
9161         changes due to the changed LyXView interface that now returns references
9162         to member variables not pointers.
9163
9164 2002-08-13  Angus Leeming  <leeming@lyx.org>
9165
9166         * WordLangTuple (word, lang_code): return references to strings,
9167         not strings.
9168
9169         * BufferView.h:
9170         * SpellBase.h:
9171         * lyxtext.h: forward-declare WordLangTuple.
9172
9173         * BufferView2.C:
9174         * ispell.C:
9175         * pspell.C:
9176         * text.C: #include "WordLangTuple.h".
9177
9178         * lyxtext.h:
9179         * text.C: (selectNextWordToSpellcheck): constify return type.
9180
9181 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9182
9183         * buffer.C:
9184         * buffer.h:
9185         * lyxtext.h:
9186         * paragraph.C:
9187         * paragraph_pimpl.h:
9188         * text.C:
9189         * text2.C:
9190         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9191         suggested by Angus.
9192         Made updateCounter always count from start of buffer, and removed
9193         second argument (par).
9194         Reverted floats number display to '#'. Perhaps I'll try again when the
9195         code base is sanitized a bit.
9196
9197 2002-08-12  Angus Leeming  <leeming@lyx.org>
9198
9199         * buffer.[Ch] (getLabelList): constify.
9200
9201 2002-08-07  André Pönitz <poenitz@gmx.net>
9202
9203         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9204
9205         * funcrequest.h: extension to keep mouse (x,y) position
9206
9207 2002-08-12  Juergen Vigna  <jug@sad.it>
9208
9209         * BufferView2.C (insertErrors): forbid undo when inserting error
9210         insets.
9211
9212         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9213
9214 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9215
9216         * ParagraphList.[Ch]: new files
9217
9218         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9219
9220         * BufferView2.C (lockInset): ParagraphList changes
9221         * toc.C: ditto
9222         * text2.C: ditto
9223         * bufferlist.C: ditto
9224         * buffer.h: ditto
9225         * buffer.C: ditto
9226
9227 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9228
9229         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9230         unused class variable counter_,
9231
9232         * paragraph.[Ch] (getFirstCounter): delete unused function
9233
9234         * counters.C: include LAssert.h
9235         (reset): add a new function with no arg, change other version to
9236         not have def. arg and to not allow empty arg.
9237
9238         * text2.C (setCounter): remove empty arg from call to Counters::reset
9239
9240 2002-08-11  John Levon  <levon@movementarian.org>
9241
9242         * Makefile.am: add WordLangTuple.h
9243
9244 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9247         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9248
9249         * insets/insettext.C: InsetList changes
9250
9251         * graphics/GraphicsSupport.C (operator()): InsetList changes
9252
9253         * toc.C (getTocList): InsetList changes
9254
9255         * paragraph_pimpl.[Ch]: InsetList changes
9256
9257         * paragraph.[Ch]: InsetList changes
9258
9259         * buffer.C (inset_iterator): InsetList changes
9260         (setParagraph): ditto
9261         * buffer.h (inset_iterator): ditto
9262         * iterators.C (operator++): ditto
9263         * iterators.h: ditto
9264
9265         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9266
9267         * InsetList.[Ch]: new files, most InsetList handling moved out of
9268         paragraph.C.
9269
9270         * BufferView2.C (removeAutoInsets): InsetList changes
9271         (lockInset): ditto
9272         (ChangeInsets): ditto
9273
9274 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9275
9276         * paragraph_pimpl.h (empty): new function
9277
9278         * paragraph.[Ch] (empty): new function
9279
9280         * other files: use the new Paragraph::empty function
9281
9282 2002-08-09  John Levon  <levon@movementarian.org>
9283
9284         * lyxtext.h: remove unused refresh_height
9285
9286 2002-08-09  John Levon  <levon@movementarian.org>
9287
9288         * Makefile.am:
9289         * sgml.h:
9290         * sgml.C:
9291         * buffer.C:
9292         * paragraph.h:
9293         * paragraph.C: move sgml char escaping out of paragraph
9294
9295         * paragraph.h:
9296         * paragraph.C: remove id setter
9297
9298         * buffer.C:
9299         * paragraph.C:
9300         * paragraph_pimpl.C: remove dead tex_code_break_column
9301
9302         * bufferview_funcs.C: small cleanup
9303
9304         * lyxfunc.C: remove dead proto
9305
9306         * lyxtext.h: make some stuff private. Remove some dead stuff.
9307
9308         * lyxgluelength.C: make as[LyX]String() readable
9309
9310 2002-08-08  John Levon  <levon@movementarian.org>
9311
9312         * LyXAction.h:
9313         * LyXAction.C:
9314         * MenuBackend.C:
9315         * ToolbarDefaults.C:
9316         * lyxfunc.C:
9317         * lyxrc.C:
9318         * toc.C: lyxaction cleanup
9319
9320 2002-08-08  John Levon  <levon@movementarian.org>
9321
9322         * BufferView2.C: small cleanup
9323
9324         * lyxfind.h:
9325         * lyxfind.C: move unnecessary header into the .C
9326
9327 2002-08-08  John Levon  <levon@movementarian.org>
9328
9329         * funcrequest.h: just tedious nonsense
9330
9331         * lyx_main.h:
9332         * lyx_main.C: cleanups
9333
9334         * buffer.C:
9335         * vspace.C: remove dead header lyx_main.h
9336
9337 2002-08-07  Angus Leeming  <leeming@lyx.org>
9338
9339         * Paragraph.[Ch]:
9340         * paragraph_pimpl.h:
9341         Forward declare class Counters in paragraph.h by moving the ctrs member
9342         variable into Paragraph::Pimpl.
9343         (counters): new method, returning a reference to pimpl_->ctrs.
9344
9345         * text2.C: ensuing changes.
9346
9347 2002-08-07  John Levon  <levon@movementarian.org>
9348
9349         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9350
9351         * BufferView_pimpl.C: announce X selection on double/triple
9352           click
9353
9354         * lyx_main.C: use correct bool in batch dispatch
9355
9356         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9357
9358 2002-08-07  André Pönitz <poenitz@gmx.net>
9359
9360         * funcrequest.h: new class to wrap a kb_action and its argument
9361
9362         * BufferView.[Ch]:
9363         * BufferView_pimpl[Ch]:
9364         * LaTeX.C:
9365         * LyXAction.[Ch]:
9366         * lyxfunc.[Ch]:
9367         * lyxrc.C: subsequent changes
9368
9369
9370 2002-08-07  John Levon  <levon@movementarian.org>
9371
9372         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9373           document options change.
9374
9375 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9376
9377         * counters.[Ch]
9378         * text2.C
9379         * paragraph.[Ch]
9380         * makefile.am: move counters functionality over from
9381         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9382
9383 2002-08-06  John Levon  <levon@movementarian.org>
9384
9385         * WordLangTuple.h: new file for word + language code tuple
9386
9387         * SpellBase.h:
9388         * pspell.h:
9389         * pspell.C:
9390         * ispell.h:
9391         * ispell.C:
9392         * lyxtext.h:
9393         * text.C:
9394         * text2.C:
9395         * BufferView.h:
9396         * BufferView2.C: use WordLangTuple
9397
9398         * layout.h:
9399         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9400
9401 2002-08-06  John Levon  <levon@movementarian.org>
9402
9403         * lyx_main.C: fix cmdline batch handling
9404
9405 2002-08-06  André Pönitz <poenitz@gmx.net>
9406
9407         * lyxrc.C: set default for show_banner to true
9408
9409 2002-08-06  John Levon  <levon@movementarian.org>
9410
9411         * pspell.C: fix a crash, and allow new aspell to work
9412
9413 2002-08-06  John Levon  <levon@movementarian.org>
9414
9415         * lyxfunc.C:
9416         * kbmap.C: small cleanup
9417
9418         * vspace.h:
9419         * vspace.C: add const
9420
9421 2002-08-05  John Levon  <levon@movementarian.org>
9422
9423         * LyXAction.C: back to tabular-insert
9424
9425 2002-08-04  John Levon  <levon@movementarian.org>
9426
9427         * BufferView.h:
9428         * BufferView.C: cosmetic change
9429
9430         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9431
9432         * bufferlist.C:
9433         * buffer.h:
9434         * buffer.C:
9435         * lyxcb.h:
9436         * lyxcb.C:
9437         * lyxserver.C:
9438         * lyxvc.C:
9439         * vc-backend.C:
9440         * BufferView2.C: purge all "Lyx" not "LyX" strings
9441
9442         * lyxcursor.h:
9443         * lyxcursor.C: attempt to add some documentation
9444
9445         * lyxfunc.C:
9446         * commandtags.h:
9447         * LyXAction.C:
9448         * ToolbarDefaults.C:
9449         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9450           merge with LFUN_TABULAR_INSERT
9451
9452         * Makefile.am:
9453         * SpellBase.h:
9454         * ispell.h:
9455         * ispell.C:
9456         * pspell.h:
9457         * pspell.C: split up i/pspell implementations into separate
9458           files, many cleanups
9459
9460         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9461
9462         * text2.C: some cleanup
9463
9464         * lyxfunc.C: don't check for isp_command == "none" any more, it
9465           didn't make any sense
9466
9467 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9468
9469         * counters.[Ch]
9470         * text2.C
9471         * paragraph.[Ch]
9472         * makefile.am: move counters functionality over
9473         from text2.C/paragraph.[Ch] to counters.[Ch], and
9474         make proper C++.
9475 2002-08-02  John Levon  <levon@movementarian.org>
9476
9477         * buffer.C: s/lyxconvert/lyx2lyx/
9478
9479 2002-08-02  Angus Leeming  <leeming@lyx.org>
9480
9481         * lyxlex.C: revert John's change as it breaks reading of the user
9482         preamble.
9483
9484 2002-08-02  Angus Leeming  <leeming@lyx.org>
9485
9486         * importer.C (Import):
9487         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9488         changes due to LyXView::view() now returning a boost::shared_ptr.
9489
9490 2002-08-02  John Levon  <levon@movementarian.org>
9491
9492         * lyxlex.C: small cleanup
9493
9494 2002-08-02  John Levon  <levon@movementarian.org>
9495
9496         * text2.C (status): small cleanup, no logic change
9497
9498 2002-08-01  John Levon  <levon@movementarian.org>
9499
9500         * buffer.h:
9501         * buffer.C (writeFile): don't output alerts, caller
9502           handles this
9503
9504         * bufferlist.C:
9505         * lyx_cb.C: from above
9506
9507         * lyxfunc.C: allow to open non-existent files
9508
9509 2002-07-31  John Levon  <levon@movementarian.org>
9510
9511         * lyxserver.C: don't let incidental errors get
9512           in the way (errno)
9513
9514 2002-07-30  John Levon  <levon@movementarian.org>
9515
9516         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9517
9518 2002-07-30  John Levon  <levon@movementarian.org>
9519
9520         * lyxserver.h:
9521         * lyxserver.C: remove I/O callback too
9522
9523 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9526         log.
9527
9528 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9529
9530         * many files: strip,frontStrip -> trim,ltrim,rtrim
9531
9532 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9533
9534         * PrinterParams.h: remove extern containsOnly, and include
9535         support/lstrings.h instead.
9536
9537         * LaTeX.C (scanAuxFile): modify because of strip changes
9538         (deplog): ditto
9539         * buffer.C (makeLaTeXFile): ditto
9540         * bufferparams.C (writeFile): ditt
9541         * lyxfont.C (stateText): ditto
9542         * lyxserver.C (read_ready): ditto
9543         * vc-backend.C (scanMaster): ditto
9544
9545         * BufferView_pimpl.h: ws changes
9546
9547         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9548
9549 2002-07-26  André Pönitz <poenitz@gmx.net>
9550
9551         * kb_sequence.C: remove unnedred usings
9552
9553 2002-07-26  Juergen Vigna  <jug@sad.it>
9554
9555         * lyxfind.C (LyXReplace): we have to check better if the returned
9556         text is not of theLockingInset()->getLockingInset().
9557
9558 2002-07-25  Juergen Vigna  <jug@sad.it>
9559
9560         * lyxfind.C (LyXReplace): don't replace if we don't get the
9561         right LyXText.
9562
9563         * undo_funcs.C (createUndo): remove debugging code.
9564
9565 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9566
9567         * buffer.C (parseSingleLyXformat2Token): Use default placement
9568         when reading old floats.
9569
9570         * FloatList.C (FloatList): Change the default placement of figure
9571         and tables to "tbp".
9572
9573 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * MenuBackend.C: using std::max
9576
9577 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * MenuBackend.C (expandToc):
9580         (expandToc2): code moved from xforms menu frontend. It is now
9581         generic and TOCs are transparent to menu frontends.
9582
9583 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * toc.C (getTocList): protect against buf=0
9586
9587         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9588         Menu as first parameter. Now, this calls itself recursively to
9589         expand a whole tree (this will be useful for TOC handling)
9590         (expandFloatInsert): remove 'wide' version of floats
9591
9592         * MenuBackend.h (submenuname): returns the name of the submenu.
9593         (submenu): returns the submenu itself, provided it has been
9594         created by MenuBackend::expand
9595
9596 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9597
9598         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9599         insets which have noFontChange == true. (bug #172)
9600
9601 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9602
9603         * BufferView_pimpl.C: add connection objects and use them...
9604         (Pimpl): here.
9605
9606 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9607
9608         * MenuBackend.C (expandLastfiles):
9609         (expandDocuments):
9610         (expandFormats):
9611         (expandFloatListInsert):
9612         (expandFloatInsert):
9613         (expand): split expand in parts
9614
9615 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9616
9617         * lyx_gui.C: use lyx_gui::exit()
9618
9619 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * LyXAction.C: show the failing pseudo action
9622
9623 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9624
9625         * buffer.C (readFile): Run the lyxconvert script in order to read
9626         old files.
9627
9628 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * LyXAction.C:
9631         * commandtags.h:
9632         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9633
9634 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * LyXAction.C:
9637         * commandtags.h:
9638         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9639
9640 2002-07-22  Herbert Voss  <voss@lyx.org>
9641
9642         * lengthcommon.C:
9643         * lyxlength.[Ch]: add support for the vertical lengths
9644
9645 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * toc.[Ch]: std:: fixes
9648
9649 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * lyxrc.C: do not include lyx_main.h
9652
9653         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9654         for layouts
9655
9656         * lyxrc.C:
9657         * encoding.C:
9658         * bufferlist.C:
9659         * BufferView2.C: include "lyxlex.h"
9660
9661         * tabular.h:
9662         * bufferparams.h: do not #include "lyxlex.h"
9663
9664         * lyxtextclasslist.C (Add): remove method
9665         (classlist): renamed to classlist_
9666
9667         * paragraph_pimpl.C:
9668         * paragraph.C:
9669         * text2.C:
9670         * CutAndPaste.C:
9671         * bufferview_funcs.C:
9672         * bufferlist.C:
9673         * text.C:
9674         * LaTeXFeatures.C:
9675         * buffer.C:
9676         * toc.C (getTocList): use BufferParams::getLyXTextClass
9677
9678         * toc.C (getTocList): use InsetFloat::addToToc
9679
9680         * toc.[Ch]: new files, containing helper functions to handle table
9681         of contents
9682
9683         * lyxfunc.C (dispatch): no need to remove spaces around command
9684         given as a string
9685         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9686         first command of the sequence; it is not very clever, but I do not
9687         have a better idea, actually
9688
9689         * LyXAction.C (LookupFunc): make sure to remove space at the
9690         beginning and end of the command
9691
9692 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * MenuBackend.C (getMenubar): new method: return the menubar of
9695         this menu set
9696         (read): treat differently reading of menu and menubar (in
9697         particular, the menubar has no name now)
9698         (Menu::menubar): remove
9699
9700         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9701         saving is finished
9702
9703 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9704
9705         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9706         a bibitem inset in a RTL paragraph.
9707
9708 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * paragraph_pimpl.C: constify
9711
9712         * BufferView_pimpl.C:
9713         * LaTeX.C:
9714         * lyxfunc.C: fix dispatch in a nicer way
9715
9716 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9717
9718         * lyxfunc.C (dispatch):
9719         * BufferView_pimpl.C:
9720         * BufferView_pimpl.h:
9721         * BufferView.C:
9722         * BufferView.h: rename Dispatch() to dispatch()
9723
9724         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9725
9726         * lyxlayout.C (Read): honor DependsOn tag
9727
9728         * lyxlayout.[Ch] (depends_on): new method
9729
9730         * version.C.in: update lyx_docversion
9731
9732         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9733
9734         * paragraph.C (validate): remove from here...
9735         * paragraph_pimpl.C (validate): ... and move here
9736         (isTextAt): make it const
9737
9738         * buffer.C (getLists): ws cleanup
9739
9740 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9741
9742         * language.C (read): Use iso8859-1 encoding in latex_lang
9743         (this prevents LyX from crashing when using iso10646-1 encoding).
9744
9745 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * text2.C (toggleInset): if cursor is inside an inset, close the
9748         inset and leave cursor _after_ it
9749
9750 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * lyxfunc.C: move minibuffer completion handling out of here
9753
9754 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * BufferView_pimpl.C:
9757         * LaTeX.C: fix dispatch calls
9758
9759 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9760
9761         * text.C (drawChars): Fix Arabic text rendering.
9762
9763 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * LyXAction.C:
9766         * commandtags.h:
9767         * lyxfunc.C: remove message-push/pop
9768
9769         * lyxserver.C:
9770         * lyxfunc.h:
9771         * lyxfunc.C: rationalise some code by removing verboseDispatch
9772           in favour of a bool argument to dispatch()
9773
9774 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * lyx_main.C (init): make sure to read symlinks as absolute paths
9777
9778 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * lyxfunc.h:
9781         * lyxfunc.C: no need for commandshortcut to be a member
9782
9783 2002-07-15  André Pönitz <poenitz@gmx.net>
9784
9785         * converter.C: add support for $$s (scripts from lib/scripts dir)
9786         * lyx_main.C: white space
9787
9788 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * bufferlist.C:
9791         * lyxrc.h:
9792         * lyxrc.C: remove second exit confirmation
9793
9794 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * BufferView.h:
9797         * BufferView.C:
9798         * BufferView2.C:
9799         * BufferView_pimpl.h:
9800         * BufferView_pimpl.C:
9801         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9802
9803 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9804
9805         * MenuBackend.C (expand): add numeric shortcuts to document menu
9806
9807         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9808
9809 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * lyxfont.C (setLyXFamily):
9812         (setLyXSeries):
9813         (setLyXShape):
9814         (setLyXSize):
9815         (setLyXMisc):
9816         (lyxRead):
9817         * debug.C (value):
9818         * buffer.C (asciiParagraph): use ascii_lowercase
9819
9820 2002-07-15  Mike Fabian  <mfabian@suse.de>
9821
9822         * lyxlex_pimpl.C (search_kw):
9823         * lyxlex.C (getLongString):
9824         * converter.h (operator<):
9825         * converter.C (operator<):
9826         * buffer.C (parseSingleLyXformat2Token):
9827         (asciiParagraph):
9828         * ToolbarDefaults.C (read):
9829         * MenuBackend.C (checkShortcuts):
9830         (read):
9831         * LColor.C (getFromGUIName):
9832         (getFromLyXName): use the compare_ascii_no_case instead of
9833         compare_no_case, because in turkish, 'i' is not the lowercase
9834         version of 'I', and thus turkish locale breaks parsing of tags.
9835
9836 2002-07-16  Angus Leeming  <leeming@lyx.org>
9837
9838         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9839         now takes a Buffer const & argument.
9840
9841 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * BufferView.C (resize): check there's a buffer to resize
9844
9845 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * lyxfunc.C: remove dead code
9848
9849         * lyxserver.h:
9850         * lyxserver.C: use lyx_guii::set_read_callback
9851
9852 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9853
9854         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9855         an inset in a RTL paragraph.
9856
9857 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * lyxfunc.C: repaint after a font size update
9860
9861 2002-07-15  André Pönitz <poenitz@gmx.net>
9862
9863         * lyxlength.C: inBP should be able to return negative values
9864
9865 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * lyxfunc.C: use lyx_gui::update_fonts()
9868
9869 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * lyxfunc.C: use lyx_gui::update_color()
9872
9873 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * bufferlist.C:
9876         * lyxfunc.h:
9877         * lyxfunc.C:
9878         * lyxrc.h:
9879         * lyxrc.C: remove file->new asks for name option, and let
9880           buffer-new take an argument
9881
9882 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * BufferView_pimpl.C: remove unneeded extra repaint()
9885
9886 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * LyXAction.C: allow command-sequence with NoBuffer
9889
9890         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9891
9892 2002-07-10  Angus Leeming  <leeming@lyx.org>
9893
9894         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9895
9896 2002-07-09  Angus Leeming  <leeming@lyx.org>
9897
9898         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9899
9900 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * lengthcommon.h: whitespace
9903
9904         * lyxfunc.C: update scrollbar after goto paragraph
9905
9906         * lyxtext.h: factor out page break drawing, and fix it so
9907           page break/added space paints as selected nicely
9908
9909 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * BufferView_pimpl.C: add FIXMEs, clean up a little
9912
9913 2002-07-09  André Pönitz <poenitz@gmx.net>
9914
9915         * lyxfont.[Ch]: support for wasy symbols
9916
9917 2002-07-08  André Pönitz <poenitz@gmx.net>
9918
9919         * BufferView_pimpl.C: apply John's patch for #93.
9920
9921 2002-07-05  Angus Leeming  <leeming@lyx.org>
9922
9923         * BufferView_pimpl.C (buffer): generate previews if desired.
9924
9925         * LColor.h: add "preview" to the color enum.
9926
9927         * LColor.C (LColor): add a corresponding entry to the items array.
9928
9929         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9930         with this buffer.
9931
9932 2002-07-05  Angus Leeming  <leeming@lyx.org>
9933
9934         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9935         The body of the code is now in the method that is passed an ostream &
9936         rather than a file name.
9937         Pass an additional only_preamble parameter, useful for the forthcoming
9938         preview stuff.
9939
9940 2002-07-03  André Pönitz <poenitz@gmx.net>
9941
9942         * lyxfunc.C: simplify getStatus() a bit for math stuff
9943
9944 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9945
9946         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9947
9948 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * text.C (changeRegionCase): do not change case of all the
9951         document when region ends at paragraph end (bug #461)
9952
9953 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * paragraph.C (startTeXParParams):
9956         (endTeXParParams): add \protect when necessary
9957
9958 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * BufferView_pimpl.C (workAreaExpose): remove warning
9961
9962 2002-06-27  Angus Leeming  <leeming@lyx.org>
9963
9964         * Makefile.am: add lyxlayout_ptr_fwd.h.
9965
9966 2002-06-26  André Pönitz <poenitz@gmx.net>
9967
9968         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9969
9970 2002-06-25  Angus Leeming  <leeming@lyx.org>
9971
9972         * lyxfunc.C (dispatch): Comment out the call to
9973         grfx::GCache::changeDisplay. The method no longer exists now that the
9974         pixmap generation part of the graphics loader has been moved into
9975         InsetGraphics.
9976
9977 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9978
9979         * text2.C: layout as layout
9980
9981         * text.C: layout as layout
9982
9983         * tabular.C (OldFormatRead): layout as layout
9984
9985         * paragraph_pimpl.C (TeXDeeper): layout as layout
9986         (realizeFont): layout as layout
9987
9988         * paragraph.C (writeFile): layout as layout
9989         (validate): layout as layout
9990         (getFont): layout as layout
9991         (getLabelFont): layout as layout
9992         (getLayoutFont): layout as layout
9993         (breakParagraph): layout as layout
9994         (stripLeadingSpaces): layout as layout
9995         (getEndLabel): layout as layout
9996         (getMaxDepthAfter): layout as layout
9997         (applyLayout): layout as layout
9998         (TeXOnePar): layout as layout
9999         (simpleTeXOnePar): layout as layout
10000         (TeXEnvironment): layout as layout
10001         (layout): layout as layout
10002         (layout): layout as layout
10003
10004         * lyxtextclass.C (compare_name): new functor to work with
10005         shared_ptr, layout as layout
10006         (Read): layout as layout
10007         (hasLayout): layout as layout
10008         (operator): layout as layout
10009         (delete_layout): layout as layout
10010         (defaultLayout): layout as layout
10011
10012         * lyxlayout_ptr_fwd.h: new file
10013
10014         * lyxlayout.C (Read): layout as layout
10015
10016         * lyx_cb.C (MenuInsertLabel): layout as layout
10017
10018         * bufferlist.C (newFile): layout as layout
10019
10020         * buffer.C (readLyXformat2): layout as layout
10021         (parseSingleLyXformat2Token): layout as layout
10022         (insertStringAsLines): layout as layout
10023         (asciiParagraph): layout as layout
10024         (latexParagraphs): layout as layout
10025         (makeLinuxDocFile): layout as layout
10026         (simpleLinuxDocOnePar): layout as layout
10027         (makeDocBookFile): layout as layout
10028         (simpleDocBookOnePar): layout as layout
10029         (getLists): layout as layout
10030
10031         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10032
10033         * CutAndPaste.C (cutSelection): layout as layout
10034         (pasteSelection): layout as layout
10035         (SwitchLayoutsBetweenClasses): layout as layout
10036
10037         * BufferView_pimpl.C (Dispatch): layout as layout
10038         (smartQuote): layout as layout
10039
10040         * BufferView2.C (unlockInset): layout as layout
10041
10042 2002-06-24  André Pönitz <poenitz@gmx.net>
10043
10044         * lyxfunc.C: fix #487
10045
10046 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * lyxrc.h:
10049         * lyxrc.C:
10050         * lyxfunc.C: remove display_shortcuts, show_banner
10051
10052 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10053
10054         * Buffer_pimpl.C: oops, update on resize
10055
10056 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * buffer.C:
10059         * converter.C:
10060         * exporter.C:
10061         * lyxfunc.C:
10062         * BufferView.h:
10063         * BufferView.C: use repaint()
10064
10065         * BufferView_pimpl.h:
10066         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10067           as it's a clearer description. Remove superfluous
10068           redraws.
10069
10070 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * text.C: fix bug 488. Not ideal, but getting
10073           getWord() to work properly for the insets that
10074           matter is more difficult ...
10075
10076 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * BufferView_pimpl.C:
10079         * LyXAction.C:
10080         * commandtags.h:
10081         * lyxfunc.C: remove the six million index lyxfuncs to just
10082           one, and DTRT (bug 458)
10083
10084 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * BufferView.h:
10087         * BufferView.C:
10088         * BufferView_pimpl.h:
10089         * BufferView_pimpl.C: clean up resize() stuff,
10090           and unnecessary updateScreen()s
10091
10092 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * BufferView.h:
10095         * BufferView.C:
10096         * BufferView_pimpl.h:
10097         * BufferView_pimpl.C:
10098         * lyxfind.h:
10099         * lyxfind.C:
10100         * minibuffer.C: remove focus management of workarea,
10101           not needed. Use screen's greyOut()
10102
10103 2002-06-17  Herbert Voss  <voss@lyx.org>
10104
10105         * converter.C: (convert) do not post a message, when converting
10106         fails, let the calling function decide what to do in this case
10107
10108 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * lyxfunc.C: tidy up a little
10111
10112 2002-06-16    <alstrup@diku.dk>
10113
10114         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10115         Got rid of FORMS_H_LOCATION include. Now we are
10116         GUII.
10117
10118 2002-06-15  LyX Development team  <lyx@rilke>
10119
10120         * buffer.[Ch] (sgmlOpenTag):
10121         (sgmlCloseTag): Added support for avoiding pernicious mixed
10122         content. Return number of lines written.
10123
10124         (makeLinuxDocFile):
10125         (makeDocBookFile): Fixed calls to sgml*Tag.
10126         Simple white space clean.
10127
10128         (simpleDocBookOnePar): Simple white space clean.
10129
10130         * tabular.[Ch] (docBook): Renamed to docbook and got another
10131         argument to related with the pernicious mixed content.
10132
10133         (docbookRow): Fixed calls for docbook inset method.
10134
10135 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10136
10137         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10138         so it's X11 independent.
10139
10140         * kb*.[Ch]: ditto.
10141
10142         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10143
10144 2002-06-15  Lyx Development team  <lyx@electronia>
10145
10146         * intl.h: Renamed getTrans to getTransManager.
10147
10148 2002-06-14  Angus Leeming  <leeming@lyx.org>
10149
10150         * Makefile.am: nuke forgotten stl_string_fwd.h.
10151
10152 2002-06-12  Angus Leeming  <leeming@lyx.org>
10153
10154         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10155
10156 2002-06-13  Angus Leeming  <leeming@lyx.org>
10157
10158         * LaTeX.C:
10159         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10160
10161 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10162
10163         * kbmap.C (getiso): add support for cyrillic and greek
10164
10165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * BufferView.h:
10168         * BufferView.C:
10169         * BufferView_pimpl.h:
10170         * BufferView_pimpl.C: move bogus scrolling logic
10171           to xforms
10172
10173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * lyxfunc.C:
10176         * BufferView_pimpl.C: view->resize() change
10177
10178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * BufferView_pimpl.C: topCursorVisible
10181           prototype change
10182
10183 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * Makefile.am:
10186         * lyx_gui.h:
10187         * lyx_gui.C: move to frontends/
10188
10189         * main.C:
10190         * lyx_main.h:
10191         * lyx_main.C: changes from above
10192
10193 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * intl.C:
10196         * intl.h:
10197         * kbmap.C:
10198         * kbsequence.C:
10199         * lyx_cb.C:
10200         * lyx_main.C: minor tidy
10201
10202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * BufferView_pimpl.h:
10205         * BufferView_pimpl.C:
10206         * BufferView.h:
10207         * BufferView.C: make painter() const,
10208           remove dead code
10209
10210         * BufferView2.C: use screen() accessor
10211
10212         * lyx_main.h:
10213         * lyx_main.C: some minor cleanup
10214
10215 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * BufferView_pimpl.h:
10218         * BufferView_pimpl.C: remove enter/leaveView,
10219           use workHeight()
10220
10221 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * BufferView.h:
10224         * BufferView.C:
10225         * BufferView2.C:
10226         * BufferView_pimpl.h:
10227         * BufferView_pimpl.C: only construct screen once,
10228           rename
10229
10230         * lyxrc.C: remove pointless comment
10231
10232 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * BufferView.h:
10235         * BufferView.C: remove active() and belowMouse()
10236
10237         * BufferView_pimpl.h:
10238         * BufferView_pimpl.C: use workarea() not workarea_,
10239           and make it use a scoped_ptr instead
10240
10241 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10242
10243         * lyx_gui.C: add debug message on BadWindow
10244
10245 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10246
10247         * sp_spell.C: fdopen is not part of the C++ standard.
10248
10249         * paragraph.C (InsetIterator): use >= instead of ==
10250
10251 2002-06-07  Angus Leeming  <leeming@lyx.org>
10252
10253         Fixes needed to compile with Compaq cxx 6.5.
10254         * BufferView_pimpl.C:
10255         * DepTable.C:
10256         * buffer.C:
10257         * converter.C:
10258         * encoding.C:
10259         * lyx_gui.C:
10260         * lyx_main.C:
10261         * lyxtextclasslist.C:
10262         * minibuffer.C:
10263         * sp_spell.C:
10264         * tabular_funcs.C:
10265         * vc-backend.C:
10266         all c-library variables have been moved into namespace std. Wrap
10267         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10268
10269         * lyxlength.C:
10270         * tabular-old.C:
10271         * tabular.C:
10272         Add a using std::abs declaration.
10273
10274         * kbmap.h (modifier_pair):
10275         * paragraph.h (InsetTable, InsetList):
10276         * lyxfont.h (FontBits):
10277         type definition made public.
10278
10279         * bufferlist.C (emergencyWriteAll): the compiler complains that
10280         there is more than one possible lyx::class_fun template to choose from.
10281         I re-named the void specialisation as lyx::void_class_fun.
10282
10283         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10284
10285         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10286         the compiler is is unable to find tostr in write_attribute.
10287
10288 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * buffer.C (sgmlError): hide #warning
10291
10292 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * xtl/*: get rid of xtl, which is not in use anyway
10295
10296         * LyXAction.C (init):
10297         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10298         were unimplemented xtl experimentation
10299
10300 2002-06-04  André Pönitz <poenitz@gmx.net>
10301
10302         * lyxfunc.C: disable array operation on simple formulae
10303
10304 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * converter.C: constify a bit
10307
10308 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * lyx_gui.C: check xforms version correctly
10311
10312 2002-04-30  Herbert Voss  <voss@lyx.org>
10313
10314         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10315         "keep" option
10316
10317 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10320           attempt to register it with a VCS)
10321
10322 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * lyx_main.C (init): honor variables LYX_DIR_13x and
10325         LYX_USERDIR_13x
10326
10327 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10328
10329         * buffer.h:
10330         * buffer.C:
10331         * lyx_main.C: fix a crash on bad command line,
10332           and give a useful exit status on error
10333
10334         * lyxfunc.C (doImport): allow -i lyx to work
10335
10336 2002-03-30  André Pönitz <poenitz@gmx.net>
10337
10338         * lyxfunc.C: mathed font changes
10339
10340 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * LaTeX.C:
10343         * importer.h:
10344         * importer.C:
10345         * lyx_sty.h:
10346         * lyx_sty.C:
10347         * lyxlex.C:
10348         * lyxrow.h:
10349         * lyxtext.h:
10350         * paragraph.h:
10351         * paragraph.C:
10352         * texrow.h:
10353         * texrow.C:
10354         * text.C:
10355         * trans_mgr.h: srcdocs, and some minor cleanups
10356
10357 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10360         call getFont all the time)
10361
10362 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10363
10364         * switch from SigC signals to boost::signals
10365
10366 2002-05-29  André Pönitz <poenitz@gmx.net>
10367
10368         * paragraph_pimpl.C (getChar): don't call size() too often...
10369
10370 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * paragraph_pimpl.C (insertChar): do not try to update tables when
10373         appending (pos == size())
10374
10375         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10376         in order to reduce drastically the number of comparisons needed to
10377         parse a large document
10378
10379 2002-05-29  André Pönitz <poenitz@gmx.net>
10380
10381         * text.C:
10382         * text2.C:
10383         * lyxtextclass.C:
10384         * sp_pspell.h:
10385         * textclasslist.[Ch]:
10386         * sp_ispell.h: whitespace change
10387
10388 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10389
10390         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10391         lyxaction directly now.
10392
10393 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * trans.C:
10396         * lyxfont.C:
10397         * lyxvc.C: remove unused headers
10398
10399 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * Makefile.am:
10402         * buffer.h:
10403         * undostack.h:
10404         * undostack.C:
10405         * undo_funcs.h:
10406         * undo_funcs.C: some cleanups. Use shared_ptr
10407           and a template for the undo stacks.
10408
10409 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * BufferView_pimpl.h:
10412         * BufferView_pimpl.C:
10413         * kbmap.h:
10414         * kbmap.C:
10415         * kbsequence.h:
10416         * kbsequence.C:
10417         * lyxfunc.h:
10418         * lyxfunc.C:
10419         * text2.C: use key_state/mouse_state
10420
10421 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10424         and LSubstring
10425
10426         * chset.C: change include order
10427         (loadFile): use boost regex and get rid of LRegex and LSubstring
10428
10429         * Makefile.am (BOOST_LIBS): new variable
10430         (lyx_LDADD): use it
10431
10432         * LaTeX.C: change include order.
10433         (scanAuxFile): use boost regex and get rid of LRegex and
10434         LSubstring
10435         (deplog): ditto
10436
10437 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * ColorHandler.h:
10440         * ColorHandler.C:
10441         * FontInfo.h:
10442         * FontInfo.C: moved to frontends/xforms/
10443
10444         * FontLoader.h:
10445         * FontLoader.C: moved into frontends for GUIIzation
10446
10447         * Makefile.am:
10448         * lyx_gui.C:
10449         * lyxfont.C:
10450         * lyxfunc.C: changes from above
10451
10452 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * LColor.C: remove spurious X include
10455
10456         * BufferView_pimpl.C:
10457         * Makefile.am:
10458         * font.h:
10459         * font.C:
10460         * text.C:
10461         * text2.C: move font metrics to frontends/
10462
10463 2002-05-24  Juergen Vigna  <jug@sad.it>
10464
10465         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10466         setting the undo_cursor.
10467
10468         * ParagraphParameters.h: include local includes first.
10469
10470 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * BufferView_pimpl.C:
10473         * BufferView_pimpl.h:
10474         * Makefile.am:
10475         * WorkArea.h:
10476         * WorkArea.C:
10477         * screen.C: move WorkArea into frontends/
10478
10479         * lyxscreen.h:
10480         * screen.C:
10481         * text.C:
10482         * BufferView.C:
10483         * BufferView2.C: move LyXScreen into frontends/
10484
10485         * lyxlookup.h:
10486         * lyxlookup.C:
10487         * lyx_gui.C: move lyxlookup into frontends/xforms/
10488
10489 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * BufferView2.C:
10492         * BufferView_pimpl.C:
10493         * FontLoader.C:
10494         * LyXView.h:
10495         * LyXView.C:
10496         * Makefile.am:
10497         * WorkArea.C:
10498         * XFormsView.h:
10499         * XFormsView.C:
10500         * buffer.C:
10501         * bufferlist.C:
10502         * bufferview_funcs.C:
10503         * converter.C:
10504         * importer.C:
10505         * lyx_cb.C:
10506         * lyx_gui.C:
10507         * lyx_main.C:
10508         * lyx_find.C:
10509         * lyxfunc.C:
10510         * lyxvc.C:
10511         * minibuffer.C:
10512         * text.C:
10513         * text2.C:
10514         * trans.C:
10515         * vc-backend.C: move LyX/XFormsView into frontends/
10516
10517 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * Makefile.am:
10520         * PainterBase.C:
10521         * PainterBase.h:
10522         * Painter.C:
10523         * Painter.h:
10524         * WorkArea.C:
10525         * WorkArea.h:
10526         * screen.C:
10527         * tabular.C:
10528         * text.C:
10529         * text2.C: move Painter to frontends/
10530
10531 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10532
10533         * buffer.C: comment out some some code that depend upon lyx_format
10534         < 220
10535
10536         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10537         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10538
10539         * buffer.h (NO_COMPABILITY): turn off compability
10540
10541         * ColorHandler.C: include scoped_array.hpp
10542
10543         * font.C: Use more specific smart_ptr header.
10544         * Painter.C: ditto
10545         * gettext.C: ditto
10546         * ShareContainer.h: ditto
10547         * lyx_main.h: ditto
10548         * kbmap.h: ditto
10549         * FontInfo.h: ditto
10550         * BufferView_pimpl.h: ditto
10551         * ColorHandler.h: ditto
10552
10553         * kbmap.C (defkey): change call to shared_ptr::reset
10554
10555 2002-05-21  Juergen Vigna  <jug@sad.it>
10556
10557         * buffer.C (insertErtContents): fix to insert ert asis if it is
10558         non empty. Skip it completely if it contains only whitespaces.
10559
10560 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * BufferView_pimpl.C:
10563         * BufferView2.C: clear selection on paste (bug 393)
10564
10565 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * DepTable.C: include ctime
10568
10569 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10570
10571         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10572
10573 2002-05-14  Juergen Vigna  <jug@sad.it>
10574
10575         * text.C (breakParagraph): fixed function to honor the keepempty
10576         layout in the right maner and also to permit the right breaking
10577         algorithm on empty or non empyt keepempty paragraphs.
10578
10579         * paragraph.C (breakParagraph): we have to check also if the par
10580         is really empty (!size()) for isempty otherwise we do the wrong
10581         paragraph break.
10582
10583 2002-05-10  Juergen Vigna  <jug@sad.it>
10584
10585         * buffer.[Ch] : The following are only changes to the ert
10586         compatibility read reading old LaTeX layout and font stuff and
10587         convert it to ERTInsets.
10588
10589         * buffer.h: added isErtInset().
10590
10591         * buffer.C (struct ErtComp): add a fromlayout bool to check
10592         if we're inside a LaTeX layout.
10593         (isErtInset): new helper function.
10594         (insertErtContents): look for other ert insets before this one
10595         and insert the contents there, so that we don't have subsequent
10596         ERT insets with nothing between them. This way we create only one
10597         inset with multiple paragraphs. Also check if we don't insert only
10598         spaces ' ' as they are ignored anyway afterwards in the .tex file
10599         so if we have only spaces we will ignore this latex part in the
10600         new file.
10601         (parseSingleLyXformat2Token \\layout): better compatibility when
10602         reading layout-latex stuff.
10603         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10604         language tag.
10605         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10606         stuff after reading the inset only get the information back from
10607         the stack.
10608
10609 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10612
10613         * LaTeXFeatures.C (getBabelOptions): New method.
10614
10615 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * BufferView_pimpl.C (Dispatch): work around missing argument for
10618         'layout'
10619
10620 2002-05-08  Juergen Vigna  <jug@sad.it>
10621
10622         * text.C (leftMargin): handle paragraph leftindent.
10623
10624         * paragraph.C (writeFile): write the new \\leftindent tag.
10625         (validate): handle leftindent code.
10626         (TeXEnvironment): handle paragraphleftindent code again.
10627
10628         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10629
10630         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10631         for paragrap_extra indent code and new token \\leftindent.
10632         (latexParagraphs): handle the leftindent as environment.
10633
10634         * ParameterStruct.h: added leftindent support.
10635
10636         * ParagraphParameters.C (leftIndent): added support functions for
10637         the paragraph left indent.
10638
10639         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10640         more appropriate.
10641
10642 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10643
10644         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10645         inside insetERT.
10646
10647         * text.C (computeBidiTables): No bidi in insetERT.
10648
10649         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10650         in RTL documents.
10651
10652 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10653
10654         * version.C.in: pre 5
10655
10656 2002-05-02  José Matos  <jamatos@fep.up.pt>
10657         * buffer.C (makeDocBookFile): white space changes, add newline to
10658         command styles.
10659         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10660
10661         * tabular.C (docBook): fix typo.
10662
10663 2002-05-03  Juergen Vigna  <jug@sad.it>
10664
10665         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10666         change in LyXText as we can not be sure it was not freed.
10667         (drawOneRow): remove unused code.
10668
10669         * text.C (drawInset): redo the calculation of the need_break_row as
10670         it could have a row which was already freed.
10671         (draw): look at the return value of drawInset and return false if
10672         it also returned false.
10673         (paintRowText): look at the return value of draw and return false if
10674         it also returned false.
10675
10676         * lyxtext.h: added bool return type to drawInset() and draw() so that
10677         if we have a change in the row so that the rowbreak has to be redone
10678         we abort drawing as it will be called again.
10679
10680 2002-05-02  Juergen Vigna  <jug@sad.it>
10681
10682         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10683         a change in the maintext also if we're inside an inset.
10684         (Dispatch): set the cursor again after a break line and after the
10685         screen has been updated as it could be we're in a different row.
10686
10687         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10688         to set the cursor behind the pargraph with > size().
10689         (setCursor): check also for the same paragraph when checking where
10690         to put the cursor if we have a NFR inset.
10691
10692         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10693         parts of layout read further up as it still was in the wrong
10694         position.
10695
10696 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * screen.C (drawFromTo): change sine fullRebreak always return
10699         true.
10700
10701         * buffer.C (parseSingleLyXformat2Token): reindent some
10702
10703         * BufferView_pimpl.C (update): change since fullRebreak always
10704         return true.
10705         (Dispatch): git rid of the last hardcoded "Standard"s.
10706
10707 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * text2.[Ch] (fullRebreak): make it return void now that we always
10710         returned true.
10711
10712 2002-04-30  Juergen Vigna  <jug@sad.it>
10713
10714         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10715         ert compatibility check for "latex" layout.
10716
10717 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10720         minipages: use col% instead of p%, and also use the current font.
10721         (makeLaTeXFile): Fix use babel condition.
10722         (parseSingleLyXformat2Token): Correct font when reading old floats.
10723
10724 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10725
10726         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10727         inserting list of floats.
10728
10729 2002-04-25  Herbert Voss  <voss@lyx.org>
10730
10731         * MenuBackend.C (expand): don't add the graphics extensions to the
10732         export menu
10733
10734 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10737         non-existing layout, do not complain if it was the default layout
10738         of the original class (bug #342)
10739
10740 2002-04-24  Juergen Vigna  <jug@sad.it>
10741
10742         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10743         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10744
10745 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * buffer.C (getBibkeyList): If using \bibliography, return the
10748         option field with the reference itself. Enables us to provide natbib
10749         support when using \bibliography.
10750
10751 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10752
10753         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10754
10755         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10756         natbib is provided by the LaTeX class.
10757
10758 2002-04-23  Juergen Vigna  <jug@sad.it>
10759
10760         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10761         Wakeup functions.
10762
10763         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10764
10765 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10768
10769         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10770         ensuremath around textordmasculine, textordfeminine and
10771         textdegree.
10772
10773 2002-04-19  Juergen Vigna  <jug@sad.it>
10774
10775         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10776         reinitializing the buffer otherwise row-dimensions may be wrong.
10777         (update): reset also the selection cursors if they do exits otherwise
10778         their x/y positions may be wrong.
10779
10780         * text2.C (cursorDown): don't enter the inset if we came from a row
10781         above and are one row over the inset.
10782
10783         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10784         really leaving an inset.
10785
10786 2002-04-18  Juergen Vigna  <jug@sad.it>
10787
10788         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10789         of the selected paragraph does not have the selected layout also if
10790         the last one had!
10791
10792         * text2.C (setLayout): fixed bug which did not change last selected
10793         paragraph.
10794
10795         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10796         changed the read and substituted \\end_float with \\end_inset!
10797
10798         * BufferView_pimpl.C (cursorPrevious):
10799         (cursorNext): fixed to make it work with rows heigher than the work
10800         area without moving the cursor only the draw of the row.
10801         (workAreaMotionNotify): fix jumping over high rows.
10802
10803 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10804
10805         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10806         Ressler.
10807
10808 2002-04-16  Juergen Vigna  <jug@sad.it>
10809
10810         * text2.C (setCursor): set also the irow().
10811         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10812         (cursorUp):
10813         (cursorDown): support for locking an inset if the x_fix value goes
10814         inside it. That way I can transverse insets too with cursor up/down.
10815
10816         * lyxrow.h: added irow helper function same as other (i) functions.
10817
10818         * BufferView_pimpl.C (cursorPrevious):
10819         (cursorNext): fixed for insets!
10820
10821 2002-04-15  Juergen Vigna  <jug@sad.it>
10822
10823         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10824         position otherwise it is wrong in some cases.
10825
10826         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10827         inside the inset before the call.
10828
10829 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10830
10831         * buffer.[Ch] (getBibkeyList): make it const.
10832
10833 2002-04-12  Juergen Vigna  <jug@sad.it>
10834
10835         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10836
10837         * text2.C (getCursorX): new helper function
10838         (setCursor): compute also ix_
10839         (setCursorFromCoordinates): set also ix.
10840
10841         * lyxcursor.h: added ix_ and helper functions.
10842
10843         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10844
10845         * buffer.C (insertStringAsLines): dont break paragraph if the this
10846         paragraph is inside an inset which does not permit it!
10847
10848         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10849         also with no chars on this paragraph.
10850         (paintRowText): only paint stuff if it's inside the workarea!
10851
10852         * paragraph.C (breakParagraph): honor keepempty flag and break the
10853         paragraph always below not above.
10854
10855         * BufferView2.C (unlockInset): update the paragraph layout on inset
10856         unlock as we changed paragraph in such a case.
10857
10858         * lyxfind.C (LyXFind): clear the former selection if not found!
10859
10860         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10861         again called in insertChar().
10862
10863         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10864         an inset which uses the whole row!
10865         (rightMargin): ditto.
10866         (insertChar): force a rebreak if we inserted an inset!
10867
10868 2002-03-28  Herbert Voss  <voss@lyx.org>
10869
10870         * lyxlength.[Ch]: add inBP() to get the right PS-point
10871         units (BigPoint). With inPixels we have rounding errors
10872
10873 2002-04-11  Juergen Vigna  <jug@sad.it>
10874
10875         * text2.C (setCursorFromCoordinates): set iy to the right value.
10876         (setCursor): add check if row->previous exists!
10877
10878         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10879         an old float_type as this was the case in the old code!
10880
10881         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10882
10883         * BufferView2.C (showLockedInsetCursor): use iy
10884         (fitLockedInsetCursor): ditto
10885
10886         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10887         locked insets as there we have the right value now.
10888
10889         * lyxcursor.C: added iy_ variable and iy functions to set to the
10890         baseline of cursor-y of the locked inset.
10891
10892         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10893         (setCursor): fixed for insets which need a full row.
10894
10895         * text.C (rowLastPrintable): don't ignore the last space when before
10896         an inset which needs a full row.
10897         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10898         as last character of a row when before a inset which needs a full row.
10899
10900 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10901
10902         * version.C.in: update date
10903
10904         * text2.C (fullRebreak): try to always return true and see what
10905         happens...
10906
10907 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * MenuBackend.C (expand): use Floating::listName
10910
10911         * FloatList.C (FloatList): add listName argument to the built-in
10912         floats
10913
10914         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10915         text associated with the float.
10916
10917 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10918
10919         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10920
10921 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10922
10923         * ShareContainer.h: add a couple of missing typenames.
10924
10925 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10926
10927         * lyxrc.C (getDescription): use _() correctly rather than N_().
10928
10929 2002-03-28  Herbert Voss  <voss@lyx.org>
10930
10931         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10932         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10933
10934 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10937         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10938
10939 2002-03-29  Juergen Vigna  <jug@sad.it>
10940
10941         * lyxfunc.C (dispatch): add a missing fitCursor call.
10942
10943         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10944         it was scrolled by a cursor move, so return the bool status.
10945
10946         * BufferView.C (fitCursor): return the bool flag also to the outside
10947         world as this is needed.
10948
10949         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10950
10951         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10952         call the edit() as it is not needed (and wrong) IMO.
10953         (workAreaButtonPress): set the screen_first variable before evt.
10954         unlock the inset as this may change screen_first and then we have
10955         a wrong y position for the click!
10956
10957 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * MenuBackend.C (expand): another translation that I missed
10960
10961 2002-03-28  Juergen Vigna  <jug@sad.it>
10962
10963         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10964
10965         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10966
10967 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10970
10971         * MenuBackend.C (expand): fix export/view/update when there is no
10972         document open.
10973
10974 2002-03-27  Herbert Voss  <voss@lyx.org>
10975
10976         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10977         and text%
10978
10979 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * bufferview_funcs.C (currentState): only show paragraph number
10982         for is DEVEL_VERSION is set.
10983
10984         * lyxfunc.C (dispatch): put warning in INFO channel
10985
10986         * MenuBackend.C (expand): translate the name of floats
10987
10988         * FloatList.C (FloatList): mark the float names for translation
10989
10990         * converter.C (convert): use LibScriptSearch
10991
10992 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10993
10994         * MenuBackend.C (defaults): fix default menu (we might as well get
10995         rid of it...)
10996
10997 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10998
10999         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11000         directory.
11001
11002 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11003
11004         * lyxvc.C: reorder includes.
11005
11006 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11009           properly
11010
11011 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * CutAndPaste.C: change layouts earlier on paste
11014           to avoid crashing when calling getFont()
11015
11016 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11017
11018         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11019         irritating #error.
11020
11021 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * WorkArea.C: remove 'Pending' debug message.
11024
11025         * most files: ws cleanup
11026
11027         * buffer.[Ch]: ws changes
11028
11029         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11030
11031 2002-03-21  Juergen Vigna  <jug@sad.it>
11032
11033         * tabular.C (SetMultiColumn): collapse also the contents of the
11034         cells and set the last border right. Added a Buffer const * param.
11035
11036 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11039         linking or not.
11040
11041 2002-03-19  Juergen Vigna  <jug@sad.it>
11042
11043         * text2.C (clearSelection): reset also xsel_cache.
11044
11045         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11046         where it needs to be called (John tells us to do so too :)
11047         (selectionLost): reset sel_cache.
11048
11049         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11050
11051 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * text2.C (setCursorIntern): put debuging code in INSETS channel
11054
11055 2002-03-19  André Pönitz <poenitz@gmx.net>
11056
11057         * lyxfunc.C: tiny whitespace change
11058
11059 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * ToolbarDefaults.C (init):
11062         * LyXAction.C (init):
11063         * commandtags.h:
11064         * BufferView_pimpl.C (Dispatch):
11065         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11066
11067 2002-03-19  Allan Rae  <rae@lyx.org>
11068
11069         * exporter.C (Export): removeAutoInsets before doing anything else.
11070         While I've just introduced a dependency on BufferView this really is
11071         the best place to clean the buffer otherwise you need to cleanup in
11072         a dozen places before calling export or cleanup in a dozen functions
11073         that export calls.
11074
11075         * converter.C (runLaTeX):
11076         (scanLog): Better handling of removeAutoInsets and screen updates.
11077
11078         * lyxfunc.C (dispatch): small whitespace changes
11079
11080 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * WorkArea.C (C_WorkAreaEvent): return a value.
11083         (event_cb): return 1 if we handled the event, 0 otherwise.
11084
11085         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11086
11087 2002-03-18  Juergen Vigna  <jug@sad.it>
11088
11089         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11090         (GetAdditionalWidth): ditto.
11091         (RightLine): ditto.
11092         (LeftLine): ditto.
11093
11094         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11095         inset if we're there actually (probably not used right now but this
11096         is the direction to go for unifying code).
11097         (paste): disable code to clear the selection.
11098
11099         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11100         inside an InsetText and move the check further up as it is in the
11101         wrong place.
11102
11103         * text2.C (pasteSelection): set a selection over the pasted text.
11104
11105 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11106
11107         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11108         and libgraphics to build on Cygwin.
11109
11110 2002-03-15  Juergen Vigna  <jug@sad.it>
11111
11112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11113         inserting an Inset into the paragraph. I know this is not the best
11114         fix but we already use current_view in CutAndPaste so we will remove
11115         all of it's using at the same time.
11116
11117         * buffer.C (sgmlError): deactivated function till it is rewritten in
11118         the right mode, now it can create problems.
11119
11120         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11121         before accessing it.
11122
11123 2002-03-14  Juergen Vigna  <jug@sad.it>
11124
11125         * undo_funcs.C (textHandleUndo): do the right thing when updating
11126         the inset after the undo/redo.
11127
11128         * text2.C (setCursor): just some testcode for #44 not ready yet.
11129
11130         * undo_funcs.C (textHandleUndo): set the next() and previous()
11131         pointers of the paragraph to 0 before deleting otherwise we have
11132         problems with the Paragraph::[destructor].
11133
11134         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11135         on a paragraph insertion.
11136
11137 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * buffer.C (asciiParagraph): use += operator for char append to
11140         string.
11141
11142         * paragraph.C (getFontSettings): compare >= not just >
11143         (highestFontInRange): ditto
11144         (setFont): ditto
11145
11146 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * paragraph.C: change several algorithm to be more appripriate for
11149         the problem domain. This is lookip in FontList and in the InsetList.
11150
11151 2002-03-13  André Pönitz <poenitz@gmx.net>
11152
11153         * commandtags.h:
11154         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11155
11156 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * commandtags.h:
11159         * LyXAction.C:
11160         * lyxfunc.C:
11161         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11162
11163 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * Painter.C (display): anon helper function, adjust code for this
11166         change.
11167         (pixmap): remove function.
11168
11169         * Painter.h: remove private display variable.
11170
11171         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11172
11173 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11174
11175         * WorkArea.[Ch]: remove figinset_canvas cruft.
11176
11177 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * lyxtextclass.C (operator): add one item cache optimization.
11180
11181         * bufferlist.h: doxy changes
11182
11183         * bufferlist.C: ws changes
11184
11185         * DepTable.[Ch] (ext_exist): place const in the right spot.
11186
11187         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11188         call resizeInsets.
11189         (workAreaExpose): call resizeInsets when the with BufferView changes.
11190         (Dispatch): adjust for protectedBlank removal
11191         (specialChar): call updateInset if the insert went ok.
11192
11193         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11194         specialChar instead.
11195
11196         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11197
11198         * BufferView.h: doxy change
11199
11200         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11201
11202         * lyxtextclass.C (operator[]): remove non-const version
11203         (defaultLayout): remove non-const version
11204
11205 2002-03-12  Juergen Vigna  <jug@sad.it>
11206
11207         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11208         did resize the LyXText too.
11209
11210         * buffer.C (readLyXformat2): set layout information on newly allocated
11211         paragraphs.
11212
11213         * tabular.C (OldFormatRead): set layout information on the paragraph.
11214
11215 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11216
11217         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11218
11219 2002-03-11  Juergen Vigna  <jug@sad.it>
11220
11221         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11222         plainly wrong.
11223         (resizeCurrentBuffer): force also the insets to resize themselfes.
11224         (moveCursorUpdate): fixed up for InsetText.
11225
11226 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11227
11228         * commandtags.h:
11229         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11230         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11231         value of Dialogs::tooltipsEnabled().
11232         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11233
11234 2002-03-08  Juergen Vigna  <jug@sad.it>
11235
11236         * BufferView_pimpl.C (updateInset): update inset inside inset also
11237         if it isn't inside theLockingInset().
11238
11239 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * buffer.C (asciiParagraph): redo some of the word and line length
11242         handling.
11243         (getLists): look for Caption instead of caption.
11244
11245 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * buffer.C (Buffer): initialize niceFile to true
11248         (makeLaTeXFile):
11249         (makeLinuxDocFile):
11250         (makeDocBookFile): make sure niceFile is true on exit
11251
11252 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11253
11254         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11255
11256 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11257
11258         * LyXSendto.C: remove.
11259         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11260         * lyx_gui.C: remove now-redundant comment.
11261         * ColorHandler.h: remove forward declaration of class WorkArea.
11262         * lyxfunc.C: remove #include "WorkArea.h".
11263
11264 2002-03-07  Juergen Vigna  <jug@sad.it>
11265
11266         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11267         got moved away with the DEPM and also set the inset_owner always
11268         right which before could have been omitted.
11269
11270 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11273         wanted layout is not found.
11274
11275 2002-03-07  Juergen Vigna  <jug@sad.it>
11276
11277         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11278
11279 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * paragraph.C (breakParagraph): use default layout not layout of
11282         prev paragraph.
11283         (Paragraph): clear ParagraphParameters.
11284
11285 2002-03-06  Juergen Vigna  <jug@sad.it>
11286
11287         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11288         otherwise it would not be a valid lenght. Fixed a special case in
11289         the minipage compatibility read where we end the document with a
11290         minipage.
11291
11292         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11293         was set as it could be 0 for InsetTexts first entry.
11294
11295 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * paragraph.C (writeFile): if layout is empty write out
11298         defaultLayoutName().
11299
11300         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11301         file without named layout we set layout to defaultLayoutName().
11302
11303 2002-03-06  Juergen Vigna  <jug@sad.it>
11304
11305         * CutAndPaste.C (copySelection): set layout for new paragraph.
11306
11307         * text.C (prepareToPrint): leave ERT inset left aligned
11308         (leftMargin): don't indent paragraphs inside ERT insets
11309
11310 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * paragraph.C (breakParagraph): dont call clear do the work manually
11313
11314         * paragraph.[Ch] (clear): remove function
11315
11316 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * paragraph.C (Paragraph): dont call clear, the work has already
11319         been done.
11320
11321         * lyxtextclass.C (operator): assert if n is empty
11322
11323         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11324         work manually instead.
11325
11326 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * BufferView_pimpl.C: protect selectionLost against text == 0
11329
11330 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * text.C (breakParagraph): fix a setting layout to '0' problem.
11333
11334 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11335
11336         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11337         final location of file, for the included files, and graphics.
11338
11339 2002-03-05  Juergen Vigna  <jug@sad.it>
11340
11341         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11342
11343 2002-03-04  Juergen Vigna  <jug@sad.it>
11344
11345         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11346
11347         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11348         last column of multicolumn cells.
11349         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11350
11351 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11352
11353         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11354         file if it doesn't go to a temporary file.
11355
11356         * buffer.C (sgmlOpenTag):
11357         (sgmlCloseTag):  remove extra newline insertion.
11358
11359 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * text.C (getRowNearY): comment out debug msg
11362
11363 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * text2.C: first -> first_y
11366
11367         * text.C (getRowNearY): add some attemts at a possible
11368         optimization, not working.
11369
11370         * tabular.[Ch]: add BufferParams to several function so that newly
11371         created paragraph can be initialized to he default layotu for the
11372         buffers textclass.
11373
11374         * tabular-old.C (ReadOld): add buf->params to call of Init
11375
11376         * screen.C: rename text->first to text->first_y
11377
11378         * paragraph.C (breakParagraph): always set layout in the broken
11379         paragraph
11380
11381         * lyxtextclass.C (Read): remove lowercase
11382         (hasLayout): ditto
11383         (operator): ditto
11384         (delete_layout): ditto
11385
11386         * lyxtext.h: rename first -> first_y
11387
11388         * lyxlayout.C (Read): remove lowercase
11389         (name): ditto
11390         (setName): ditto
11391         (obsoleted_by): ditto
11392
11393         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11394
11395         * buffer.C (insertErtContents): add params are to InsetERT
11396         (parseSingleLyXformat2Token): add code to check if a paragraphs
11397         layout really exist.
11398         (parseSingleLyXformat2Token): add params to several inset
11399         constructors
11400         (asciiParagraph): remove lowercase, do the layout comparisons with
11401         no_case
11402
11403         * BufferView_pimpl.C (cursorNext): first -> first_y
11404         (resizeCurrentBuffer): first -> first_y
11405         (updateScrollbar): first -> first_y
11406         (scrollCB): first -> first_y
11407         (workAreaMotionNotify): first -> first_y
11408         (workAreaButtonPress): first -> first_y
11409         (checkInsetHit): first -> first_y
11410         (cursorPrevious): first -> first_y
11411         (cursorNext): first -> first_y
11412         (Dispatch): add buffer_->params to severl inset contructors
11413
11414 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11415
11416         * lyxlayout.C (Read): remove some debug info that I forgot.
11417
11418         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11419         clean up the code slightly.
11420         (makeLinuxDocFile): ditto
11421         (makeDocBookFile): ditto
11422
11423         * text2.C: layout as string
11424
11425         * text.C: layout as string
11426
11427         * paragraph_pimpl.C: layout as string
11428
11429         * paragraph.[Ch]: layout as string
11430
11431         * lyxtextclasslist.[Ch]: layout as string
11432
11433         * lyxtextclass.[Ch]: layout as string
11434
11435         * lyxtext.h: layout as string
11436
11437         * lyxlayout.[Ch]: layout as string
11438
11439         * lyx_cb.C: layout as string
11440
11441         * bufferview_funcs.C: layout as string
11442
11443         * bufferparams.C: layout as string
11444
11445         * buffer.C: layout as string
11446
11447         * LyXView.[Ch]: layout as string
11448
11449         * LaTeXFeatures.[Ch]: layout as string
11450
11451         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11452
11453         * BufferView_pimpl.C: change current_layout to string, remove
11454         lyx::layout_type.
11455         (Dispatch):
11456         (smartQuote):
11457         (insertInset):
11458         (workAreaButtonRelease): layout as string
11459
11460         * BufferView2.C (unlockInset): adjust
11461
11462         * vspace.C (asLatexCommand): use an explict temp variable.
11463
11464 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * Makefile.am: use FRONTEND_*
11467
11468 2002-03-01  Juergen Vigna  <jug@sad.it>
11469
11470         * tabular.C (SetWidthOfMulticolCell): changed to something better
11471         I hope but still work in progress.
11472         (recalculateMulticolumnsOfColumn): renamed function from
11473         recalculateMulticolCells as it is more appropriate now.
11474         (SetWidthOfCell): calculate multicols better.
11475
11476 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11479
11480         * lyxfunc.C (processKeySym): print sequence also if it is
11481         `deleted' (complete)
11482
11483         * kbsequence.C (print): print sequence even if it is deleted
11484         (complete would be a better word, actually).
11485
11486         * lyxfunc.C (dispatch): print complete options after a prefix key
11487
11488         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11489
11490 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11491
11492         * text2.C (setCharFont): eliminate setCharFont code duplication.
11493
11494 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11497         LFUN_TABULAR_FEATURE (bug #177)
11498
11499 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11500
11501         * Makefile.am: remove figure.h
11502
11503 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11504
11505         * Bufferview_pimpl.C:
11506         * CutAndPasteC:
11507         * LaTeX.C:
11508         * LyXSendto.C:
11509         * buffer.C:
11510         * bufferlist.C:
11511         * converter.C:
11512         * language.C:
11513         * lyxfunc.C:
11514         * lyxvc.C:
11515         * paragraph.C:
11516         * text.C:
11517         * text2.C: remove #include "lyx_gui_misc.h".
11518
11519         * LaTeX.C: added #include <cstdio>
11520
11521 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11524         that the paragraph following this one can have.
11525
11526         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11527
11528         * vspace.C (asLatexCommand): fix bogus gcc warning
11529
11530         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11531
11532 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11533
11534         * text2.C (setLayout): get rid of redundant code
11535
11536 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11537
11538         * text2.C (incDepth): make sure depth cannot be increased beyond
11539         reasonable values.
11540
11541 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11542
11543         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11544         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11545
11546         * PainterBase.h (image):
11547         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11548         a LyXImage const *.
11549
11550 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * BufferView.C:
11553         * BufferView.h:
11554         * BufferView_pimpl.C:
11555         * BufferView_pimpl.h:
11556         * LaTeXFeatures.C:
11557         * LyXAction.C:
11558         * LyXView.C:
11559         * Makefile.am:
11560         * UpdateList.h:
11561         * UpdateList.C:
11562         * buffer.C:
11563         * figure.h:
11564         * figureForm.C:
11565         * figureForm.h:
11566         * figure_form.C:
11567         * figure_form.h:
11568         * lyx_cb.C:
11569         * lyx_gui.C:
11570         * lyx_gui_misc.C:
11571         * lyxfunc.C:
11572         * sp_base.h:
11573         * sp_ispell.h:
11574         * sp_pspell.h:
11575         * sp_spell.C: remove fig inset, and the crap house of
11576           cards that follows it
11577
11578 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * Makefile.am:
11581         * lyxserver.C:
11582         * os2_defines.h:
11583         * os2_errortable.h:
11584         * nt_defines.h: move .h into support/
11585
11586         * vms_defines.h: remove
11587
11588         * WorkArea.C: add space in debug output
11589
11590         * text2.C:
11591         * paragraph.C:
11592         * buffer.C: add WITH_WARNINGS
11593
11594         * vc-backend.h:
11595         * vc-backend.C:
11596         * bufferlist.C: s/retrive/retrieve/, add docs
11597
11598         * vspace.h:
11599         * vspace.C:
11600         * kbmap.h:
11601         * lyxlength.h:
11602         * lyxgluelength.h:
11603         * length_common.h:
11604         * chset.h:
11605         * chset.C: add docs
11606
11607         * lyxgui.C: add ID to X error handler
11608
11609         * lyxtestclass.c: fix typo
11610
11611 2002-02-26  Juergen Vigna  <jug@sad.it>
11612
11613         * tabular_funcs.C (write_attribute): changed so that some default
11614         attributes are not written at all.
11615         (getTokenValue): set default values before trying to read the
11616         value so we have the return value always set as default if we don't
11617         find the token we search for.
11618
11619         * tabular.C (Write): write bools as bools not as strings!
11620
11621 2002-02-22  Juergen Vigna  <jug@sad.it>
11622
11623         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11624         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11625
11626         * text.C (leftMargin): don't add an indent for paragraphs inside
11627         tabular cells (fix #208).
11628
11629 2002-02-21  José Matos  <jamatos@fep.up.pt>
11630
11631         * tabular.C (docBook): fixed support for long tables.
11632
11633 2002-02-20  Juergen Vigna  <jug@sad.it>
11634
11635         * text2.C (getFont): get the drawing font of the Inset if this
11636         paragraph is inside an inset (only important for InsetERT for now).
11637
11638         * buffer.C (insertErtContents): use new lanugage params in ERT
11639         constructor.
11640
11641         * CutAndPaste.C: commenting out seemingly uneeded code.
11642
11643 2002-02-19  Allan Rae  <rae@lyx.org>
11644
11645         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11646         Iterators might be simple to use but they also get invalidated.
11647         (removeAutoInsets): renamed saved cursor tracking variables and added
11648         some comments to clarify what everything does.
11649
11650 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11651
11652         * Chktex.C:
11653         * LaTeX.C:
11654         * LyXSendto.C:
11655         * converter.C:
11656         * lyx_cb.C:
11657         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11658         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11659
11660         * lyxfunc.C:
11661         * vc-backend.h: remove #include "support/syscall.h"
11662
11663         * LaTeX.C:
11664         * LyXSendto.C:
11665         * converter.C: rearrange #includes in Lars' approved fashion.
11666
11667         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11668         forward declare class Timeout in the header file.
11669
11670         * XFormsView.C: changes due to the above.
11671
11672         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11673         similar to LyXView.
11674
11675         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11676         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11677
11678 2002-02-18  José Matos  <jamatos@fep.up.pt>
11679
11680         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11681         insets contents.
11682
11683 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11684
11685         * a lot of small ws changes
11686         * add a lot of using std::XXX
11687         * use std construcs some places where approp.
11688         * use some exisint stuff from lyxfunctional where approp.
11689         * Make file changes to use partial linking (lets test this now...)
11690
11691 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11692
11693         * Chktex.C:
11694         * buffer.C:
11695         remove #include "support/syscontr.h" as it's redundant. Always has been.
11696
11697         * Chktex.C:
11698         * LaTeX.C:
11699         * LyXSendto.C:
11700         * converter.C:
11701         * lyx_cb.C:
11702         * vc-backend.C:
11703         change Systemcalls::System to Systemcalls::Wait and
11704         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11705         No change of functionality, just reflects the stripped down Systemcalls
11706         class.
11707
11708 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * debug.[Ch]: add a GRAPHICS type to the enum.
11711
11712 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11715
11716         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11717         there is an inset.
11718
11719 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11720
11721         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11722         match the changes below.
11723
11724         * text2.C (toggleInset): if there is not editable inset at cursor
11725         position, try to see if cursor is _inside_ a collapsable inset
11726         and close it.
11727
11728 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11729
11730         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11731         document menu has a nice checkbox
11732
11733 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * lyxlength.C (asLatexString): change PW to output as percent of
11736         \textwidth.
11737
11738         * lengthcommon.C: change '%' to 't%'
11739
11740         * lyxfunc.C (dispatch): a few comments from Martin
11741
11742 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * WorkArea.h:
11745         * WorkArea.C:
11746         * BufferView_pimpl.h:
11747         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11748           the X selection.
11749
11750 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11751
11752         * vspace.C (inPixels): fix compiler warning
11753
11754 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * lyxfunc.C (getStatus): fix status message for disabled commands.
11757
11758 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * BufferView_pimpl.C: fix crash on close buffer
11761         during selection (#227)
11762
11763 2002-01-27  Herbert Voss  <voss@lyx.org>
11764
11765         * buffer.C: link old Figure to new graphic inset
11766
11767 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11768
11769         * FontLoader.C (getFontinfo): Change the latex font names in order
11770         to match the names of type1inst.
11771
11772 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11773
11774         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11775
11776         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11777         (extchanged): ditto
11778         (ext_exist): ditto
11779         (remove_files_with_extension): ditto
11780         (remove_file): ditto
11781         (write): ditto
11782
11783         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11784         document is smaller than the work area height. Do not initialize
11785         static variables to 0.
11786
11787 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11788
11789         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11790
11791         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11792         LFUN_LAYOUT_PARAGRAPHS.
11793
11794         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11795         tabular. It is possible to provide a possible cell, which will
11796         typically be the actcell from the corresponding insettabular
11797
11798         * lyxfunc.C (getStatus): small cleanup; disable
11799         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11800         true
11801
11802 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11803
11804         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11805
11806         * paragraph.C (startTeXParParams):
11807         (endTeXParParams): new methods. The LaTeX code to
11808         start/end paragraph formatting
11809         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11810         empty (fixes bug #200)
11811
11812         * vspace.C (inPixels): adapt to the change below
11813         (inPixels): [later] more cleanups (remove unused variables)
11814
11815         * lyxlength.C (inPixels): change to use a width and a height as
11816         parameter.
11817
11818 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11821         Replaced with \paperwidth
11822
11823         * DepTable.C (insert): add std:: qualifier
11824
11825 2002-01-18  Allan Rae  <rae@lyx.org>
11826
11827         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11828         updated also?
11829
11830         * text.C (drawInset): Turned out I didn't know enough about how
11831         rebreaking worked.  This fixes most of the redraw problems.  I see
11832         an occasional cursor trail when a line is broken now and the cursor
11833         placement can seem out by a few pixels also after a rebreak.
11834
11835 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * buffer.C (parseSingleLyXformat2Token): update because minipage
11838         width is now a LyXLength
11839
11840         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11841
11842         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11843         math insets
11844
11845 2002-01-17  Juergen Vigna  <jug@sad.it>
11846
11847         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11848
11849         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11850         is set correctly and the inset is updated correctly.
11851
11852 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11855         the beginning of the loop.
11856
11857 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * lyxrc.C: improve help for use_scalable_fonts
11860
11861 2002-01-17  Allan Rae  <rae@lyx.org>
11862
11863         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11864
11865 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11868         make sure to set their inset_owner to the right value (bug #171)
11869
11870 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11871
11872         * DepTable.h
11873         * DepTable.C: Implement mtime checking to reduce time spent doing
11874         CRCs.
11875
11876 2002-01-16  Juergen Vigna  <jug@sad.it>
11877
11878         * tabular.C (GetAdditionalHeight): one of error fixed.
11879
11880         * lyxrc.C (output): small fix in writing use_pspell.
11881
11882 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11883
11884         * sp_base.h: #include LString.h
11885
11886 2002-01-16  Allan Rae  <rae@lyx.org>
11887
11888         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11889         Can someone check this please?
11890
11891         * text.C (drawInset): It was possible that p.row would be removed by
11892         breakAgainOneRow upsetting a few other settings.  There may be another
11893         small tweak possible by setting need_break_row = 0 when p.row has been
11894         removed but I don't know enough about the logic here.
11895
11896 2002-01-15  Allan Rae  <rae@lyx.org>
11897
11898         * text.C (insertChar): removed conditional truism.
11899
11900         * BufferView2.C (removeAutoInsets): More tweaks.
11901         cur_par_prev could be a stray pointer.  Check for trailing empty line
11902         in case last line was cur_par and only had an error inset on it.
11903
11904 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11907         absolute
11908
11909         * vc-backend.C (most methods):
11910         * exporter.C (Export):
11911         * converter.C (convert):
11912         (runLaTeX):
11913         * LyXSendto.C (SendtoApplyCB):
11914         * lyxfunc.C (dispatch):
11915         (menuNew):
11916         (open):
11917         (doImport):
11918         * lyx_cb.C (AutoSave):
11919         (InsertAsciiFile):
11920         * BufferView_pimpl.C (MenuInsertLyXFile):
11921         * buffer.C (runChktex): use Buffer::filePath().
11922
11923         * buffer.h: rename filename to filename_; rename filepath to
11924         filepath_ and make it private
11925         (filePath): new method
11926
11927         * buffer.C (writeFile): use fileName()
11928         (getLatexName):
11929
11930         * lyx_main.C (init): fix starting  of LyX when the binary is a
11931         link from so,ewhere else.
11932
11933         * minibuffer.C: include <cctype> for isprint
11934
11935 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11936
11937         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11938         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11939         name clash with InsetCollapsable's width function.
11940
11941 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * lastfiles.C: include <iterator>
11944
11945 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11946
11947         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11948         std::count.
11949
11950         * buffer.C (makeLaTeXFile): ditto.
11951         Also make loop operation more transparent.
11952
11953 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11954
11955         * ToolbarDefaults.C: remove trailing comma closing namespace.
11956
11957         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11958
11959         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11960         as in WorkArea.
11961
11962         * trans.C (Load): comment out unused variable, allowed.
11963
11964 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * minibuffer.[Ch] (append_char): new method to recieve input from the
11967         drop-down completion browser. If a key was pressed, then recieve this
11968         char and append it to the existing string.
11969         (peek_event): modify the positioning data passed to the completion
11970         browser so that it can be placed above the minibuffer rather than below.
11971 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * LyXAction.C (init): alloe error-next for readonly documents.
11974
11975         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11976         count.
11977
11978 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * bufferlist.C (readFile): create the buffer _after_ checking that
11981         the file exists.
11982
11983         * lyxfunc.C (verboseDispatch): fix handling of arguments
11984
11985         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11986
11987         * lyxrc.C: use string::erase() instead of initializing to "".
11988
11989
11990 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * BufferView_pimpl.h:
11993         * BufferView_pimpl.C:
11994         * WorkArea.h:
11995         * WorkArea.C:
11996         * text2.C: tell X when we have made a selection for copying
11997
11998 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * BufferView_pimpl.C (MenuInsertLyXFile):
12001         * lyxfunc.C (menuNew):
12002         (open):
12003         (doImport): add shortcuts to directory buttons
12004
12005         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12006         open a float)
12007
12008         * lyxfunc.C (setStatusMessage):
12009         (getStatusMessage): new methods
12010         (getStatus):use setStatusMessage instead of setErrorMessage
12011         (dispatch): when function is disabled, set error message here
12012         [instead of in getStatus previously]
12013
12014         * BufferView_pimpl.C (workAreaButtonRelease): update
12015         toolbar/menubar here too.
12016
12017 2002-01-13  Allan Rae  <rae@lyx.org>
12018
12019         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12020         Now seems indestructible.  Remaining task is to audit all other
12021         code affected by deleteEmptyParagraphMechanism.  One small quirk
12022         left is that an empty document with an error in the preamble can
12023         be made to report an error but no error box appears.  I don't know
12024         where it goes.
12025         (removeAutoInsets): Improved comments.
12026
12027 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * Thesaurus.h:
12030         * Thesaurus.C: update for Aiksaurus 0.14
12031
12032 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * text2.C (firstParagraph): removed member function, all uses
12035         replaces with ownerParagraph
12036         (redoParagraphs): here
12037         (updateInset): here
12038         (toggleAppendix): here
12039         * BufferView2.C (insertErrors): here
12040         (setCursorFromRow): here
12041
12042 2002-01-13  Allan Rae  <rae@lyx.org>
12043
12044         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12045         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12046         There is still a way to segfault this although you may have to do this
12047         multiple times: Have an InsetERT with an unknown command in it.
12048         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12049         <down-arrow>, <Enter> again, View->DVI, BANG!
12050
12051         * text2.C (setCursor):
12052         (deleteEmptyParagraphMechanism):
12053         * lyxtext.h (setCursor):
12054         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12055         Making use of the return value may help fix other bugs.
12056
12057 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12058
12059         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12060
12061         * LyXView.C (updateMenubar): call MenuBar::update here
12062         (updateToolbar): but not here
12063         (showState): do not update toolbar/menubar
12064
12065         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12066         should need to care about that.
12067
12068         * lyxfunc.C (verboseDispatch): simplify a bit
12069         (getStatus): have a version which takes a pseudoaction, and
12070         another which requires a (kb_action,string).
12071
12072         * LyXAction.C (retrieveActionArg): make it work also when action
12073         is not a pseudo-action.
12074         (getActionName): simplify a bit
12075         (helpText):
12076
12077 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * lyxfunc.C (verboseDispatch): new families of methods with
12080         several ways to specify a command and a bool to indicate whether
12081         the command name and shortcut should be displayed in minibuffer
12082         (eventually, we could extend that to a finer bitmask like
12083         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12084         (dispatch): the pristine dispatch command which just, well,
12085         dispatchs! Note it still sets its result to minibuffer; I'm not
12086         sure we want that.
12087
12088         * lyxfunc.h: remove setHintMessage
12089
12090         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12091
12092 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * BufferView_pimpl.C (specialChar): delete new inset if we have
12095         not been able to insert it.
12096
12097         * kbmap.C: revert to using int instead of kb_action, since all we
12098         are dealing with is pseudo-actions.
12099
12100         * LyXAction.C (searchActionArg): change to return int instead of
12101         kb_action, since the result is a pseudoaction.
12102
12103 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * buffer.C (insertErtContents): Fix (partially) the font bug.
12106
12107 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12110         as the other one is broken on my machine!
12111
12112 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12113
12114         * commandtags.h:
12115         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12116
12117 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12120         reflect their actual use. Provide compatibility code for older lyxrc
12121         files.
12122
12123         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12124         FL_NORMAL_STYLE.
12125         change names of popup font variables in line with the changes to lyxrc.C
12126
12127 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12128
12129         * buffer.C (asciiParagraph): avoid outputing a word twice after
12130         an inset.
12131
12132         * lyxrc.C (getDescription): document that document_path and
12133         template_path can be empty.
12134
12135 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * LaTeXFeatures.C (getMacros):
12138         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12139
12140         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12141
12142         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12143         getPackages.
12144         (getPackages): rename feature "floats" to "float". Use an array to
12145         iterate over 'simple' features (i.e. just a \usepackage). Add
12146         handling of "amsmath" (renamed from "amsstyle").
12147
12148 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12149
12150         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12151         features list.
12152
12153 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12156         FuncStaus::FuncStatus & FuncStaus::some_method().
12157
12158 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12159
12160         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12161         of the func_satus stuff. Edited and massaged in various ways by
12162         JMarc.
12163
12164         * lyxfunc.C (getStatus): use FuncStatus
12165
12166 2002-01-08  Juergen Vigna  <jug@sad.it>
12167
12168         * text.C (nextBreakPoint): use function Inset::isChar().
12169
12170         * paragraph.C (TeXOnePar): use function
12171         Inset::forceDefaultParagraphs.
12172
12173         * buffer.C (latexParagraphs): use function
12174         Inset::forceDefaultParagraphs.
12175
12176 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12177
12178         * lyx_gui.C (init): set the style of the menu popups to
12179         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12180
12181 2002-01-07  Juergen Vigna  <jug@sad.it>
12182
12183         * text.C (setHeightOfRow): small fix
12184         (prepareToPrint): don't look at alignment if we don't have the place
12185         for doing it.
12186
12187 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * box.C: New file. Move the Box methods and functions out of box.h,
12190         following Lars' suggestion.
12191
12192 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12193
12194         * box.h: #include "support/LOstream.h", needed for inlined function.
12195
12196         * lyxtextclass.C:
12197         * lyxtextclasslist.C: added some using std declarations.
12198
12199 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * box.h: make signed dimensions to allow insets wider than
12202           the screen (bug #162)
12203
12204         * BufferView_pimpl.C: add some insetHit debug
12205
12206 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * vc-backend.C: add FIXME
12209
12210 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * lyxfunc.C (getStatus): enable code for showing math font status
12213         in toolbar/menu.
12214
12215 2002-01-07  Juergen Vigna  <jug@sad.it>
12216
12217         * text.C (nextBreakPoint): removed debug output not needed anymore.
12218
12219 2002-01-06  Juergen Vigna  <jug@sad.it>
12220
12221         * text.C (nextBreakPoint): fixed up this function we had this bug
12222         since ever but now hopefully we break row better.
12223         (insertChar): we have to check if an inset is the next char as it
12224         could now happen that a large inset is causing a break.
12225
12226 2002-01-05  Juergen Vigna  <jug@sad.it>
12227
12228         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12229         if it doesn't like to be drawed.
12230
12231 2002-01-04  Juergen Vigna  <jug@sad.it>
12232
12233         * BufferView2.C (lockInset): forgot to set a cursor.
12234
12235         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12236
12237 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12238
12239         * FormMathsPanel.C:
12240         * FormMathsPanel.h
12241         * MathsSymbols.C:
12242         * form_maths_panel.C:
12243         * form_maths_panel.h:
12244         * form_maths_panel.fd: implemented sub- and super- buttons in math
12245         panel.
12246
12247         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12248         (or ^ space) to be used as in TeX (req'd by André).
12249
12250         * lyxfunc.C: Allow ^ and _ again to be used both as
12251         super/subscript (mathed) and as themselves (in text).
12252
12253 2002-01-03  Allan Rae  <rae@lyx.org>
12254
12255         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12256         "LyX" or the filename of the current buffer if it has one.  This is a
12257         modified form of John Levon's patch.
12258
12259         * XFormsView.C (setWindowTitle): also set icon title.
12260
12261         * LyXView.h (setWindowTitle): signature changed.
12262         * XFormsView.h (setWindowTitle): ditto.
12263
12264 2002-01-02  Juergen Vigna  <jug@sad.it>
12265
12266         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12267
12268 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * screen.C (topCursorVisible): introduce a temp var for
12271         text->cursor.row(), handle the case where this row is null. (kindo
12272         hachish)
12273
12274         * text2.C (setCursor): add a couple of asserts.
12275
12276         * paragraph.h (inset_iterator): add -> operator
12277
12278         * paragraph.[Ch] (autoDeleteInsets): remove member function
12279
12280         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12281         cursor pos correctly and handle inset deletion by itself.
12282         (insertErrors): move iterator declaration out of for expression
12283
12284         * lyxtextclass.C: add <algorithm>
12285
12286         * Makefile.am: added the new files to sources, removed layout.C
12287
12288         * layout.C: removed file
12289
12290         * layout.h: remove LYX_DUMMY_LAYOUT
12291
12292         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12293         layout.
12294
12295         * lyxlayout.[Ch]:
12296         * lyxtextclass.[Ch]:
12297         * lyxtextclasslist.[Ch]: new files
12298
12299         * include order changes to a lot of files, also changes because of
12300         the six new files.
12301
12302 2001-12-27  Juergen Vigna  <jug@sad.it>
12303
12304         * buffer.C (asciiParagraph): more fixes.
12305
12306         * tabular.C (ascii): make ascii export support export of only the
12307         data separated by a column-delimiter.
12308         (ascii): better support for ascii export.
12309
12310         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12311
12312 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * tabular_funcs.C: use a "using std::getline" instead of the
12315         previous fix from Angus (necessary for cxx + lyxstring)
12316
12317 2001-12-24  Juergen Vigna  <jug@sad.it>
12318
12319         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12320
12321         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12322         problems. First check a minipage also if we have some ert-contents
12323         (not only on par->size(), second set the right depth of the paragraph
12324         on the relink to the root-paragraph-list!
12325
12326         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12327         which then did not anymore update the main paragraphs on undo/redo!
12328
12329 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12332         code. Support all font-changing funcs (even those which are not in
12333         menu currently). Support for reporting font settings in
12334         mathed (disabled until Andre provides a function on mathed's side).
12335
12336         * func_status.h (toggle): small helper function to set toggle
12337         state on a flag.
12338
12339 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * tabular_funcs.C: getline -> std::getline
12342
12343 2001-12-21  Juergen Vigna  <jug@sad.it>
12344
12345         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12346         accessed and could be 0 (I couldn't generate this but it seems
12347         Michael could!).
12348
12349 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12352         * tabular_funcs.h: here and include iosfwd
12353
12354 2001-12-20  Juergen Vigna  <jug@sad.it>
12355
12356         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12357         inside inset but undo_par was.
12358
12359 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * Thesaurus.C: always include <config.h> in sources.
12362
12363         * Painter.h:
12364         * lyxlookup.h:
12365         * box.h: do not include <config.h> in header files
12366
12367         * text.C (paintLastRow): remove unused variable
12368
12369         * text.C (transformChar):
12370         (insertChar):
12371         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12372
12373         * Painter.C (text):
12374         * font.C (width): rewrite to use uppercase() instead of
12375         islower/toupper.
12376
12377         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12378
12379 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * lyxfind.C: clean up of find failure position change
12382
12383 2001-12-20  Juergen Vigna  <jug@sad.it>
12384
12385         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12386
12387         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12388         (TeXRow): added to LaTeX a single tabular row.
12389         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12390         (Latex): simplified and finally good LT-h/f support.
12391         (various_functions): just small adaptions for LT-h/f support.
12392
12393         * tabular_funcs.[hC]: added and moved here all not classfunctions
12394         of LyXTabular.
12395
12396 2001-12-19  Juergen Vigna  <jug@sad.it>
12397
12398         * tabular.[Ch]: better support for longtabular options (not finished
12399         yet!)
12400
12401 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * text.C (paintLastRow): use the label font instead of the font of
12404         the last character to compute the size of *_BOX. This makes more
12405         sense and avoids a crash with empty paragraphs.
12406         Use Painter::rectangle to draw EMPTY_BOX.
12407
12408 2001-12-19  Juergen Vigna  <jug@sad.it>
12409
12410         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12411         the paragraphs if the replaced paragraph is not the first one!
12412         Tried to delete not used paragraphs but does not work yet so for
12413         now it's inside #ifdef's and by default off!
12414
12415 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12416
12417         * MenuBackend.C: include "lyx_main.h" instead of declaring
12418         lastfiles (actually was declared as LastFiles* instead of a
12419         scoped_ptr).
12420
12421 2001-12-17  Juergen Vigna  <jug@sad.it>
12422
12423         * tabular.C (AppendColumn): applied John's fix
12424
12425 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * BufferView.h:
12428         * BufferView.C:
12429         * BufferView_pimpl.h:
12430         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12431
12432         * Makefile.am:
12433         * box.h: new start of class for above
12434
12435         * lyxfunc.C: ignore space-only minibuffer dispatches.
12436           Show the command name when it doesn't exist
12437
12438         * minibuffer.C: don't add empty lines to the history
12439
12440         * minibuffer.C: add a space on dropdown completion
12441
12442 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * text.C: fix line above/below drawing in insets
12445
12446 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * lyxlength.C (LyXLength): Initialize private variables.
12449
12450 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12451
12452         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12453         when inserting error insets.
12454
12455 2001-12-13  Juergen Vigna  <jug@sad.it>
12456
12457         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12458         actually sometimes the before-paragraph.
12459         (setUndo): don't clear the redostack if we're not actually undoing!
12460
12461 2001-12-06  Juergen Vigna  <jug@sad.it>
12462
12463         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12464         and fixed redoing of main paragraph, so we can use it now ;)
12465
12466         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12467
12468 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12469
12470         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12471         Juergen's request
12472
12473 2001-12-13  André Pönitz <poenitz@gmx.net>
12474
12475         * undostack.[Ch]:
12476         * undo_func.C: minor cleanup
12477
12478 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12481         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12482         font in urw-fonts package which is marked as -urw-fontspecific and
12483         does not work (incidentally, changing the encoding in the
12484         fonts.dir of this package to -adobe-fontspecific fixes the
12485         problem).
12486
12487         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12488         is a crash when undoing first paragraph (Juergen, please take a
12489         look). THis does not mean the undo fix is wrong, just that it
12490         uncovers problems.
12491
12492         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12493         the (Paragraph*) version when needed instead of duplicating the
12494         code.
12495
12496         * text.C (workWidth): use Inset::parOwner to find out where the
12497         inset has been inserted. This is a huge performance gain for large
12498         documents with lots of insets. If Inset::parOwner is not set, fall
12499         back on the brute force method
12500
12501         * paragraph_pimpl.C (insertInset):
12502         * paragraph.C (Paragraph):
12503         (cutIntoMinibuffer): set parOwner of insets when
12504         inserting/removing them
12505
12506         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12507
12508 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12509
12510         * commandtags.h:
12511         * LyXAction.C:
12512         * lyx_main.C:
12513         * lyxfunc.C:
12514         * mathed/formulabase.C:
12515         * mathed/math_cursor.[Ch]:
12516         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12517
12518
12519 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12520
12521         * lyxlength.[Ch] (operator!=): new function
12522
12523 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * text.C (workWidth): use Inset::parOwner to find out where the
12526         inset has been inserted. This is a huge performance gain for large
12527         documents with lots of insets. If Inset::parOwner is not set, fall
12528         back on the brute force method
12529
12530         * paragraph_pimpl.C (insertInset):
12531         * paragraph.C (Paragraph):
12532         (cutIntoMinibuffer): set parOwner of insets when
12533         inserting/removing them
12534
12535         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12536
12537 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12538
12539         * tabular-old.C (getTokenValue):
12540         * tabular.C (getTokenValue):
12541         (write_attribute): new versions for LyXLength
12542         (everywhere): adjust the use of widths
12543
12544         * tabular.h: change the type of widths from string to LyXLength
12545
12546 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12547
12548         * paragraph.C: fixed missing line number count when exporting
12549         Environments to LaTeX file
12550
12551         * buffer.C: added informational message for checking line numbers.
12552
12553 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12554
12555         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12556         paragraph, do the 'double space' part, but not the 'empty
12557         paragraph' one.
12558
12559         * text.C (workWidth): small optimization
12560         (getLengthMarkerHeight): use minimal size for negative lengths.
12561
12562 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12563
12564         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12565
12566         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12567
12568 2001-12-11  André Pönitz <poenitz@gmx.net>
12569
12570         * FontLoader.C:
12571         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12572
12573 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * text2.C: keep selection on a setFont()
12576
12577 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * lyx_cb.C: another bv->text misuse, from insert label
12580
12581 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * kbsequence.h:
12584         * kbsequence.C: re-instate nmodifier mask
12585
12586 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12587
12588         * lyx_main.h: make lyxGUI private.
12589
12590 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * lyxfind.C: place the cursor correctly on failed search
12593
12594 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * text.C (getLengthMarkerHeight): for small heights, the arrows
12597         are not always on top/bottom of the text
12598         (drawLengthMarker): smaller arrows; take the left margin in
12599         account; draw also vfills.
12600         (paintFirstRow):
12601         (paintLastRow): remove special code for vfill and standard spaces,
12602         since everything is handled in drawLengthMarker now.
12603
12604 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * buffer.C (insertErtContents): try to handle font and language
12607         interaction a bit better.g
12608
12609         * ColorHandler.C (updateColor): change the hash to cover the whole
12610         LColor enum, ws cleanup
12611         (getGCLinepars): ditto
12612         (getGCLinepars): only lookup in the linecache once.
12613
12614 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12615
12616         * iterators.C (operator++): Make the iterator more robust
12617
12618         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12619         (John's patch)
12620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12621
12622 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * lyxtext.h:
12625         * text.C: better added space drawing
12626
12627 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * LyXView.C:
12630         * BufferView2.C: fix layout combo update on inset unlock
12631
12632 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * Makefile.am: don't compile unused files
12635
12636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * lyxfunc.C:
12639         * commandtags.h:
12640         * LyXAction.C: remove old LFUN_LAYOUTNO
12641
12642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * paragraph_pimpl.h:
12645         * paragraph_pimpl.C: isTextAt() doesn't need font param
12646
12647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * lyxlex.h:
12650         * lyxlex.C: little cleanup
12651
12652 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * BufferView_pimpl.C: fix insertAscii for insets
12655
12656 2001-12-05  Juergen Vigna  <jug@sad.it>
12657
12658         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12659         set the right font on the "multi" paragraph paste!
12660
12661 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * trans_decl.h:
12664         * trans_mgr.[Ch]:
12665         * trans.[Ch]:
12666         * lyxgluelength.C:
12667         * lyxlength.C: remove out-commented code.
12668
12669         * BufferView_pimpl:
12670         * CutAndPaste.C:
12671         * DepTable.C:
12672         * buffer.C:
12673         * chset.C:
12674         * lastfiles.C:
12675         * lyxlex.C:
12676         * lyxlex_pimpl.C:
12677         * lyxserver.C:
12678         * screen.C:
12679         * tabular-old.C:
12680         * tabular.C:
12681         * text.C:
12682         * trans_mgr.C:
12683         * vc-backend.C: change "while(" to "while ("
12684
12685         * lyxlength.[Ch]: add zero function to check if length is zero or
12686         not
12687         * lyxgluelength.C: use it
12688
12689 2001-12-05  Allan Rae  <rae@lyx.org>
12690
12691         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12692         Works for 2.95.3, from what I understand of Garst's reports this should
12693         work for other g++ versions.  We're screwed if the abs(int) definition
12694         changed between bugfix releases of gcc.
12695
12696 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * text.C: fix chapter label offset !
12699
12700 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyxtext.h:
12703         * text.C: fix hfill at end of line, clean up
12704
12705 2001-12-04  Juergen Vigna  <jug@sad.it>
12706
12707         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12708         that we force an update of the inset and it's owners if neccessary.
12709
12710 2001-12-03  Juergen Vigna  <jug@sad.it>
12711
12712         * text.C (rowLast): simplified code
12713
12714 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * lyxfunc.C: fix show options on timeout
12717
12718 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * screen.C (topCursorVisible): scroll half a page when the cursor
12721         reached top of bottom of screen
12722
12723 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * minibuffer.C: deactivate on loss of focus
12726
12727 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * vspace.[Ch] (operator!=): add operator.
12730
12731 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * BufferView_pimpl.C: refuse to open an inset when
12734         there's a selection.
12735
12736 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * BufferView_pimpl.C: allow to click on RHS of full row insets
12739
12740 2001-11-30  Juergen Vigna  <jug@sad.it>
12741
12742         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12743         insets for undo reasons.
12744
12745 2001-11-28  André Pönitz <poenitz@gmx.net>
12746
12747         * vspace.[Ch]: cosmetical changes
12748
12749 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * LyXAction.h:
12752         * LyXAction.C:
12753         * lyxfunc.h:
12754         * lyxfunc.C:
12755         * kbmap.h:
12756         * kbmap.C:
12757         * lyxrc.C:
12758         * kbsequence.h:
12759         * kbsequence.C: part re-write of old kb code
12760
12761         * Painter.C:
12762         * WorkArea.C: remove Lgb_bug_find_hack
12763
12764 2001-11-30  José Matos <jamatos@fep.up.pt>
12765
12766         * buffer.C (makeDocBookFile): add a comment to point a hack.
12767         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12768         Fixed a double write of labels.
12769
12770 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12771
12772         * LaTeX.C:
12773         * LaTeX.h Fixed bug in LaTeX class where it would not
12774         re-run latex if no depfiles were changed, but the .dvi was removed.
12775
12776 2001-11-28  André Pönitz <poenitz@gmx.net>
12777
12778         * all the files from the change on 2001/11/26:
12779         use lyx::layout_type instead of LyXTextClass::size_type
12780         use lyx::textclass_type instead of LyXTextClassList::size_type
12781
12782 2001-11-29  Juergen Vigna  <jug@sad.it>
12783
12784         * text.C: added support for paragraph::isFreeSpacing()
12785
12786         * buffer.C: same as above
12787
12788         * paragraph.h: inserted isFreeSpacing() function to enable
12789         FreeSpacing inside InsetERT.
12790
12791         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12792         of the paragraph's in the cut/copy buffer to 0!
12793
12794         * text2.C (removeRow): remove the assert as it can!
12795
12796         * lyxtext.h: added helper function firstRow returning firstrow and
12797         made firstrow private again.
12798
12799         * BufferView2.C (lockInset): don't relock if we're already locked!
12800
12801         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12802         the only paragraph.
12803         (removeRow): added Assert::(firstrow)
12804
12805         * debug.C: forgot to add INSETTEXT here.
12806
12807 2001-11-28  Juergen Vigna  <jug@sad.it>
12808
12809         * sp_spell.C (initialize): changed error text to more general
12810         spellchecker command use (not only ispell!)
12811
12812         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12813
12814         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12815
12816 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * vspace.C: initialise lyxgluelength on failure
12819
12820 2001-11-28  Allan Rae  <rae@lyx.org>
12821
12822         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12823         declaration & definition that looks like a function declaration.
12824
12825 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * BufferView2.C (copy):
12828         (copyEnvironment): do not clear the selection when doing a copy.
12829
12830         * text.C (paintFirstRow): compilation fix
12831
12832 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12833
12834         * tabular.C (Latex): correct line count when writing latex.
12835
12836 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12837
12838         * paragraph_pimpl.h:
12839         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12840           bug a bit
12841
12842 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * text.C:
12845         * LColor.h:
12846         * LColor.C: change vfillline->added_space
12847
12848         * text.C: add markers and text for added space
12849
12850         * vspace.C: fix comment
12851
12852 2001-11-28  André Pönitz <poenitz@gmx.net>
12853
12854         * paragraph.C: whitespace changes
12855         * all the other files from the change on 2001/11/26:
12856         change *::pos_type into lyx::pos_type
12857
12858 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12861         language of the document when inserting error insets.
12862
12863 2001-11-26  André Pönitz <poenitz@gmx.net>
12864
12865         * BufferView_pimpl.[Ch]:
12866         *       CutAndPaste.C:
12867         * buffer.[Ch]:
12868         * lyxcursor.[Ch]:
12869         * lyxfind.C:
12870         * lyxfunc.C:
12871         * lyxrow.[Ch]:
12872         * paragraph.[Ch]:
12873         * paragraph_pimpl.[Ch]:
12874         * sp_spell.C:
12875         * text.C:
12876         * text2.C: reduce header dependencies, introduce type for positions
12877
12878 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12879
12880         * <various>: change to use Alert.h
12881
12882 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12885         when encountering an unknown token.
12886         (readLyXformat2): Show an error message if there were unknown tokens.
12887
12888 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12889
12890         * BufferView2.C:
12891         * BufferView_pimpl.C:
12892         * buffer.C:
12893         * paragraph.h:
12894         * text.C:
12895         * text2.C: use par->isInset()
12896
12897 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * paragraph_pimpl.h:
12900         * paragraph_pimpl.C: cleanup
12901
12902 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * text2.C (removeRow):
12905         * text.C (setHeightOfRow): remove useless (and costly) call to
12906         getRow.
12907
12908 2001-11-20  Allan Rae  <rae@lyx.org>
12909
12910         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12911         Now need Inset*::checkInsertChar() to return true for appropriate
12912         cases so that the characters in the minibuffer will actually be
12913         inserted.
12914
12915 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * text.C: change the order of the includes.
12918         (workWidth): initialize it at once.
12919         (workWidth): make maxw unsigned
12920         (setHeightOfRow): remove unused variable (inset)
12921         (selectSelectedWord): remove unused variable (inset)
12922         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12923
12924 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12925
12926         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12927         server is not running.
12928         (openConnection):
12929         (closeConnection): add debug info when server is disabled.
12930
12931         * ColorHandler.C (getGCForeground): send debug message to GUI
12932         channel.
12933
12934         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12935
12936         * kbmap.C (bind): modify because return conventions of
12937         kb_sequence::parse have changed.
12938
12939         * kbsequence.C (parse): only ignore spaces and not any stupid
12940         control character. This avoids tests like s[i] <= ' ', which are
12941         guaranteed to fail with 8bit characters and signed chars.
12942         Change return code to string::npos when there have been no error
12943         (0 was a bad idea when error is at first character)
12944
12945 2001-11-14  José Matos  <jamatos@fep.up.pt>
12946
12947         * buffer.h:
12948         * buffer.C (simpleDocBookOnePar): removed unused argument.
12949
12950 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12953         insets which are part of a word. Paragraph::isLetter takes care of
12954         that now. Use Paragraph::isInset to identify insets.
12955         (selectSelectedWord): do not test for hyphenation break.
12956
12957         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12958         that protected spaces are considered as spaces.
12959
12960         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12961         Inset::isLetter.
12962
12963 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyxserver.h:
12966         * lyxserver.C: fix it. and small cleanup.
12967
12968 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * BufferView_pimpl.C: use inline helpers
12971
12972         * LaTeXFeatures.h:
12973         * LaTeXFeatures.C: fix typos
12974
12975         * Spacing.h:
12976         * Spacing.C: move spacing_string into class
12977
12978         * ToolbarDefaults.C: move stuff into namespace anon
12979
12980         * layout.h: update enum
12981
12982         * lyxfunc.C: use better debug
12983
12984         * minibuffer.h: fix typo
12985
12986         * debug.h:
12987         * debug.C:
12988         * WorkArea.C: add and use Debug::WORKAREA
12989
12990         * lyxtext.h:
12991         * text.C:
12992         * text2.C: code re-organisation, inline helpers
12993
12994 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12995
12996         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12997         std::vector.empty().
12998
12999 2001-11-09  Allan Rae  <rae@lyx.org>
13000
13001         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13002         '\n's after tables.  Tabular and ERT inset work now makes this no
13003         longer necessary.
13004
13005 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13006
13007         * minibuffer.h:
13008         * minibuffer.C: fix crash, improve drop-down completion
13009
13010 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * lyxserver.h:
13013         * lyxserver.C: invalidate fd's when doing endPipe()
13014
13015 2001-11-08  José Matos  <jamatos@fep.up.pt>
13016
13017         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13018         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13019
13020         * paragraph.h:
13021         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13022
13023 2001-11-07  José Matos  <jamatos@fep.up.pt>
13024
13025         * buffer.h:
13026         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13027         const qualifier.
13028
13029         * buffer.C (sgmlOpenTag):
13030         * buffer.C (sgmlCloseTag): removed debug info.
13031
13032         * buffer.h (sgmlOpenTag):
13033         * buffer.h (sgmlCloseTag): made public.
13034
13035 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * buffer.C (saveParamsAsDefaults):
13038         * lyx_cb.C (MenuLayoutSave): remove
13039
13040         * LyXAction.C (init):
13041         * commandtags.h:
13042         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13043
13044 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * buffer.C (setPaperStuff): removed from here...
13047
13048         * bufferparams.C (setPaperStuff): ... and moved there.
13049
13050 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13051
13052         * minibuffer.h:
13053         * minibuffer.C:
13054         * XFormsView.C: add support for drop-down completion
13055
13056 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13059         commands.
13060
13061 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13062
13063         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13064         disabled.
13065
13066 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * lyx_main.C: change ref to known bugs
13069
13070 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13071
13072         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13073         to work around older babel problems.
13074
13075 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13076
13077         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13078
13079 2001-10-24  Juergen Vigna  <jug@sad.it>
13080
13081         * tabular-old.C (ReadOld): below variable changes reflected.
13082
13083         * tabular.[Ch]: added ltType struct for longtable header/footer
13084         defines and changed all instances where they are used. Added
13085         future support for double top/bottom rows.
13086
13087 2001-10-24  José Matos  <jamatos@fep.up.pt>
13088
13089         * buffer.h (docbookHandleCaption):
13090         * buffer.C (docbookHandleCaption): removed unused function.
13091         (makeDocBookFile): moved docbook supported version to v4.1.
13092
13093 2001-10-24  José Matos  <jamatos@fep.up.pt>
13094
13095         * tabular.h:
13096         * tabular.C (docbookRow): new function to export docbook code of a row.
13097         (DocBook): now honors the longtable flags.
13098
13099 2001-10-23  José Matos  <jamatos@fep.up.pt>
13100
13101         * LaTeXFeatures.h:
13102         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13103         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13104
13105         * buffer.C (makeLinuxDocFile):
13106         (makeDocBookFile): reworked the preamble, more clean, and with
13107         support for lyx defined entities. Changed the document declaration
13108         to be more XML friendly.
13109
13110         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13111         if we need to output XML that should be done with a filter.
13112
13113 2001-10-22  Juergen Vigna  <jug@sad.it>
13114
13115         * sp_pspell.h (class PSpell): add alive function needed in the
13116         controller to see if the spellchecker could be started.
13117
13118 2001-10-22  Juergen Vigna  <jug@sad.it>
13119
13120         * buffer.C (insertStringAsLines): modify the font for inserting
13121         chars in certain conditions by calling checkInsertChar(font).
13122
13123 2001-10-19  Juergen Vigna  <jug@sad.it>
13124
13125         * text.C (workWidth): use getRow instead of wrong algorithm.
13126         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13127
13128 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13129
13130         * lyxserver.h:
13131         * lyxserver.C:
13132         * lyx_main.h:
13133         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13134
13135 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * text.C (workWidth): do not search for the exact row when
13138         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13139         optimization for big documents.
13140
13141 2001-10-18  Juergen Vigna  <jug@sad.it>
13142
13143         * text.C (workWidth): new function with added Inset * parameter.
13144
13145 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13146
13147         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13148
13149         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13150         change return type of getColumnNearX.
13151
13152
13153         * text.C (changeRegionCase): use uppercase/lowercase instead of
13154         toupper/tolower.
13155         (leftMargin):
13156         (rightMargin): simplify code by factoring out the uses of
13157         textclasslist.
13158         (labelFill):
13159         (numberOfHfills):
13160         (setHeightOfRow):
13161         (appendParagraph): use Paragraph::size_type
13162
13163 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * vspace.C (asLatexString): add a missing break
13166
13167 2001-10-15  Herbert Voss  <voss@perce.de>
13168
13169         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13170
13171 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13172
13173         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13174         is not available.
13175
13176 2001-10-10  André Pönitz <poenitz@gmx.net>
13177
13178         * lyxfunc.C: removed greek_kb_flag.
13179
13180 2001-10-10  Herbert Voss  <voss@perce.de>
13181
13182         * lyx_main.C: delete global string help_lyxdir.
13183
13184 2001-10-09  Herbert Voss  <voss@perce.de>
13185
13186         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13187
13188         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13189
13190         * lyx_main.C: added global string help_lyxdir.
13191
13192         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13193
13194 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13195
13196         * lyxrc.C (set_font_norm_type): support iso8859-4
13197
13198 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13199
13200         * LaTeX.C (deplog): add another regex for MikTeX
13201
13202 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13203
13204         * lyxrc.C (set_font_norm_type): support iso8859-3
13205
13206 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13207
13208         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13209
13210         * LaTeXFeatures.C: remove special case of french and index
13211
13212         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13213         before \begin{document}). This solves several incompatibilities.
13214
13215 2001-10-03  Garst Reese  <reese@isn.net>
13216
13217         * lyx_cb.C: change CheckTex error msg.
13218
13219 2001-10-03  José Matos  <jamatos@fep.up.pt>
13220
13221         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13222
13223 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * .cvsignore: update
13226
13227         * lyx_main.C (commandLineVersionInfo): use new style version info.
13228
13229         * buffer.C (writeFile):
13230         (makeLaTeXFile):
13231         (makeLinuxDocFile):
13232         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13233
13234         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13235
13236         * version.h: update to use stuff in version.C
13237
13238         * version.C.in: new file. Contains version information determined
13239         at compile time. This is a merging of version.h and
13240         version_info.h.in.
13241
13242 2001-10-03  Juergen Vigna  <jug@sad.it>
13243
13244         * BufferView_pimpl.C (update): don't change "dirty" status in
13245         updateInset call.
13246
13247 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13248
13249         * WorkArea.C (c-tor): re-position version string slightly.
13250
13251 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13252
13253         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13254         revert to previous code.
13255
13256         WorkArea.[Ch]: (show, destroySplash): methods removed.
13257
13258         WorkArea.C: rework code so that it's an amalgam of the codes before and
13259         after the splash screen was moved to WorkArea.
13260
13261 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * lyxrc.C (read):
13264         * vspace.C (inPixels):
13265         (lyx_advance):
13266         * kbmap.C (bind):
13267         * buffer.C (insertStringAsLines):
13268         (asciiParagraph): fix types to be large enough
13269
13270         * lyxlex_pimpl.h: change member status from short to int
13271
13272         * layout.h: fix type of endlabeltype
13273
13274         * kbmap.C (bind):
13275         * kbsequence.C (parse): change return type to string::size_type
13276
13277         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13278         variable
13279
13280         * Bullet.C (bulletSize):
13281         (bulletEntry): do not use short ints as parameters
13282
13283         * BufferView2.C (insertLyXFile): change a char to an int.
13284
13285         * WorkArea.C (WorkArea): remove unneeded floats in computation
13286
13287 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13288
13289         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13290
13291         * paragraph.C (asString): Do not ignore newline/hfill chars when
13292         copying to the clipboard.
13293
13294 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13295
13296         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13297         after a multi-line inset.
13298
13299 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * paragraph.C (validate): Set NeedLyXFootnoteCode
13302
13303 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13306         and decrease-error to decrease.
13307
13308 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13311         it more readable (should be equivalent)
13312
13313 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13314
13315         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13316
13317 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13320         of a cursor (row, etc.) after a character has been deleted
13321         (deleteEmptyParagraphMechanism): call the method above on _all_
13322         cursors held by the LyXText when a double space has been
13323         detected/deleted.
13324
13325 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13328         pixmap.
13329         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13330
13331         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13332         background. Use greyOut() and the new show() methods to toggle between
13333         the foreground and background. Add code to remove the splash after
13334         its initial showing.
13335
13336         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13337         (create_forms): no longer call Dialogs::showSplash.
13338
13339 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * .cvsignore: add version_info.h
13342
13343 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * version_info.h.in: new file
13346
13347         * Makefile.am: add version_info.h.in
13348
13349         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13350         version_info.h instead of VERSION_INFO
13351
13352 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13353
13354         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13355         The ERT inset now returns string().
13356
13357 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * lyxtext.h, text.C (selectNextWord): renamed as
13360         selectNextWordToSpellcheck.
13361
13362         * text.C (selectNextWordToSpellcheck): Modified to not select
13363         words inside an ERT inset.
13364
13365 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * lyx_cb.C (MenuLayoutSave): change a bit the question
13368
13369         * sp_base.h: include <sys/types.h>
13370
13371 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13372
13373         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13374
13375 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13376
13377         * several files: fix typos in user-visible strings
13378
13379 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * text2.C (pasteSelection): do not set the selection, since it
13382         will be cleared later. Actually, the intent was to fix the way the
13383         selection was set, but I figured rmoving the code was just as good.
13384
13385 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13386
13387         * FontLoader.C (available): Check if font is available without
13388         loading the font.
13389
13390 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13391
13392         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13393
13394 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13395
13396         * lyxrc.[Ch]: added display_graphics variable and associated code.
13397
13398 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * bufferparams.C (hasClassDefaults): new method. Returns true if
13401         the buffer parameters correspond to known class defaults
13402
13403 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * XFormsView.C (show): set minimum size to the main window.
13406
13407 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * text2.C (copySelection):
13410         (cutSelection):
13411         * lyxfind.C (LyXReplace):
13412         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13413         LyXText::selectionAsString.
13414
13415         * paragraph.C (asString): add "label" argument to the second form
13416
13417         * text2.C (selectionAsString): add "label" argument and pass it to
13418         Paragraph::asString.
13419
13420 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * lyx_main.C (commandLineHelp): remove version information
13423
13424 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13425
13426         * lyx_main.C: add -version commandline option
13427
13428 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.h: make the optional constructor arg required instead.
13431         some modifications to other files because of this.
13432
13433         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13434
13435         * lyxserver.C (C_LyXComm_callback): make it static
13436
13437         * lyx_main.C (error_handler): make it static
13438
13439         * lyx_gui.C (LyX_XErrHandler): make it static
13440
13441         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13442
13443         * WorkArea.C: make the extern "C" methods static.
13444
13445         * Makefile.am (lyx_LDADD): simplify
13446
13447 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13450         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13451
13452         * LyXAction.C (init):
13453         * lyxfunc.C (dispatch): associated code removal.
13454
13455 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * lyxfont.h (isSymbolFont): shut off warning
13458
13459         * text.C (setHeightOfRow):
13460         (getVisibleRow): fix crash with empty paragraphs which have a
13461         bottom line
13462
13463 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13464
13465         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13466         code.
13467
13468 2001-09-04  José Matos  <jamatos@fep.up.pt>
13469         * buffer.C
13470         * buffer.h
13471         * tabular.C (docbook): rename docBook method to docbook.
13472
13473 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * Makefile.am: add dependencies to main.o.
13476
13477 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13478
13479         * FontLoader.C (available): Return false if !lyxrc.use_gui
13480
13481 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13482
13483         * FontInfo.C (query):
13484         * converter.C (view):
13485         * importer.C (Import):
13486         * exporter.C (Export): Can not -> cannot.
13487
13488 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * BufferView_pimpl.C: allow to create index inset even if
13491           string is empty
13492
13493 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * buffer.C (getLists): replace boost::tie code with an explicit pair
13496         as boost::tie can break some compilers.
13497
13498         * iterators.h: Added a std:: declaration to the return type of
13499         ParIterator::size.
13500
13501 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13504           case.
13505
13506 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13507
13508         * iterators.[Ch]: New files. Provide paragraph iterators.
13509
13510         * buffer.C (changeLanguage): Use paragraph iterators.
13511         (isMultiLingual): ditto
13512
13513         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13514
13515 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13516
13517         * FontLoader.C: Support for cmr font.
13518
13519 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13520
13521         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13522         (available): New method.
13523
13524         * FontInfo.C (getFontname): Use scalable fonts even when
13525         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13526         found.
13527
13528 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13529
13530         * converter.C (Formats::view): reverted! Incorrect fix.
13531
13532 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * converter.C (Formats::view): only output the -paper option
13535         if the dvi viewer is xdvi, thereby fixing bug #233429.
13536
13537 2001-08-23  Herbert Voss  <voss@perce>
13538
13539         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13540
13541 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * Spacing.h (Spacing): Set space to Default on in the default
13544         constructor.
13545
13546 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * vc-backend.h (RCS::versionString): add RCS to version
13549         (CVS::versionString): add CVS to version
13550
13551         * vc-backend.C (scanMaster): do not add CVS to version.
13552         (scanMaster): do not add RCS to version
13553
13554         * lyxvc.C (versionString): new method
13555
13556         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13557
13558 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * Spacing.C (set): initialize fval
13561
13562 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13563
13564         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13565         " or \.
13566
13567 2001-08-16  Juergen Vigna  <jug@sad.it>
13568
13569         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13570
13571 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * BufferView_pimpl.C:
13574         * figureForm.C:
13575         * lyxtext.h:
13576         * text2.C: setParagraph takes linespacing now
13577
13578 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13579
13580         * LyxAction.C: add internal LFUN_CITATION_INSERT
13581
13582         * LyXView.C: actually apply fix
13583
13584         * bufferlist.C: fix open non-existent file
13585
13586         * lyxfind.C: fix indentation
13587
13588         * lyxfunc.C: remove unneeded assert, fix typo
13589
13590 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * MenuBackend.C: use "Floatname List"
13593
13594 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13597         when converting LaTeX layout to insetERT.
13598         Generate a non-collapsed float when reading old float
13599
13600 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13601
13602         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13603         ERT insets.
13604
13605 2001-08-13  Juergen Vigna  <jug@sad.it>
13606
13607         * text.C (fill): return 0 instead of 20 as this seems to be the more
13608         correct value.
13609
13610 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13613         lyxrc.font_norm.
13614
13615 2001-08-13  Juergen Vigna  <jug@sad.it>
13616
13617         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13618         casesensitive off.
13619         (SearchBackward): comment out the unlocking of the inset_owner this
13620         should not be needed!
13621
13622 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * Many files: Remove inherit_language, and add latex_language
13625
13626         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13627         collapsible insets.
13628
13629 2001-08-10  Juergen Vigna  <jug@sad.it>
13630
13631         * text.C (prepareToPrint): fixed hfill-width in draw!
13632
13633         * BufferView2.C (selectLastWord): save the selection cursor as this
13634         now is cleared in the function LyXText::clearSelection!
13635
13636 2001-08-08  Juergen Vigna  <jug@sad.it>
13637
13638         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13639         BACKSPACE type functions.
13640
13641         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13642         is only cutted from the document but not put in the cut-buffer, where
13643         still the old stuff should be.
13644
13645         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13646
13647         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13648
13649         * tabular.C (SetWidthOfCell): fixed special case where the width
13650         was not updated!
13651         (LeftLine): handle '|' in align_special.
13652         (RightLine): ditto
13653         (LeftAlreadyDrawed): ditto
13654         (SetWidthOfCell): ditto
13655
13656 2001-08-07  Juergen Vigna  <jug@sad.it>
13657
13658         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13659
13660 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13663         * lyxlex.[hC]: ditto
13664
13665 2001-08-06  Juergen Vigna  <jug@sad.it>
13666
13667         * text.C (getVisibleRow): fix up row clearing a bit.
13668
13669 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * minibuffer.C: make sure the X server sees the changes in the input.
13672
13673 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * paragraph.C (getFont): split into...
13676         (getLabelFont): this
13677         (getLayoutFont): and this
13678         * paragraph_pimpl.C (realizeFont): calling this
13679
13680         * text2.C (getFont): split into...
13681         (getLayoutFont): this
13682         (getLabelFont): and this
13683         (realizeFont): all three calling this
13684
13685         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13686         files where used.
13687
13688 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13691
13692 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13693
13694         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13695         layouts from the Quote inset insertion.
13696
13697 2001-08-03  Juergen Vigna  <jug@sad.it>
13698
13699         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13700
13701         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13702         only if status not is already CHANGED_IN_DRAW (second level).
13703
13704         * text.C (draw): don't set the need_break_row when inside an
13705         InsetText LyXText.
13706
13707 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * buffer.C (parseSingleLyXformat2Token): handle more latex
13710         conversion cases.
13711
13712         * bufferview_funcs.[hC]: change function names to
13713         begin with small char, adjust other files.
13714
13715 2001-08-02  André Pönitz <poenitz@gmx.net>
13716
13717         * lyxfunc.C:
13718         BufferView_pimpl.C: remove broken special code for math-greek
13719
13720 2001-08-02  Juergen Vigna  <jug@sad.it>
13721
13722         * BufferView_pimpl.C (update): redone this function so that we
13723         update the text again if there was a CHANGE_IN_DRAW.
13724
13725         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13726         (drawFromTo): added a new internal bool which is used by draw() and
13727         redraw() function.
13728         (general): some cursor drawing problems fixed.
13729
13730 2001-08-01  Juergen Vigna  <jug@sad.it>
13731
13732         * lyxfind.C (LyXFind): fixed
13733         (SearchForward): ditto
13734         (SearchBackward): ditto
13735
13736         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13737         spurius drawing of the cursor in the main area.
13738
13739         * text2.C (status): small fix which could lead to a segfault!
13740         (clearSelection): remove unneeded BufferView param.
13741
13742 2001-08-01  André Pönitz <poenitz@gmx.net>
13743
13744         * lyxfunc.C: small change due to changed mathed interface
13745
13746 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13749
13750 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * lyxfunc.c: fail gracefully if file doesn't exist
13753
13754         * LyXSendto.C:
13755         * buffer.C:
13756         * lyxfunc.C:
13757         * BufferView_pimpl.C: IsDirWriteable() proto changed
13758
13759         * LyXView.C: fix updateWindowTitle() to store the last title
13760
13761 2001-07-31  Juergen Vigna  <jug@sad.it>
13762
13763         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13764         the font (wrong since using of Paragraph::highestFontInRange).
13765
13766         * paragraph.C (highestFontInRange): added a default_size parameter.
13767
13768         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13769         (setHeightOfRow): reformat
13770
13771 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * converter.[hC] + affected files: move to (inital-char)lowercase
13774         function names.
13775
13776         * ParagraphParameters.C (ParagraphParameters): remove commented code
13777
13778         * PainterBase.[Ch]: remove commented code
13779
13780         * LaTeXFeatures.h: add "bool floats" for float.sty
13781
13782         * LaTeXFeatures.C (LaTeXFeatures): init floats
13783         (require): handle float
13784         (getPackages): do it with floats
13785
13786 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * BufferView_pimpl.C (Dispatch): improve handling of
13789         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13790
13791         * commandtags.h: #include lyxfont.h here temporarily to avoid
13792         keybinding bug.
13793
13794         * bufferlist.h: include LString.h here.
13795
13796 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * text2.C (getStringToIndex): new method.
13799
13800 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13801
13802         * *: Reduced header file dependencies all over.
13803
13804 2001-07-30  Baruch Even  <baruch@lyx.org>
13805
13806         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13807
13808 2001-07-29  Baruch Even  <baruch@lyx.org>
13809
13810         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13811
13812 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * ParameterStruct.h (endif): add a default constructor to make
13815         sure that all variables is initialized.
13816
13817         * ParagraphParameters.C (ParagraphParameters): adjust
13818
13819 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13822         index; also, check that there is something to index, and that it
13823         does not span over several paragraphs.
13824         (doubleClick): use WHOLE_WORD_STRICT for double click.
13825
13826         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13827
13828         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13829         scheme.
13830
13831 2001-07-26  Baruch Even  <baruch@lyx.org>
13832
13833         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13834         an InsetFig figure, backwards compatible reading of old figure code.
13835
13836 2001-07-27  Juergen Vigna  <jug@sad.it>
13837
13838         * text2.C: font.realize function adaption.
13839
13840         * text.C (draw): add a warnings lyxerr text if needed.
13841
13842         * layout.C: font.realize function adaption.
13843
13844         * language.C: add inherit_language and implement it's handlings
13845
13846         * bufferview_funcs.C (StyleReset): remove language parameter from
13847         font creation (should be language_inherit now).
13848
13849         * bufferparams.C (writeFile): handle ignore_language.
13850
13851         * paragraph.C (getFontSettings): the language has to be resolved
13852         otherwise we have problems in LyXFont!
13853
13854         * lyxfont.C (lyxWriteChanges): added document_language parameter
13855         (update): removed unneeded language parameter
13856
13857         * paragraph.C (validate): fixed wrong output of color-package when
13858         using interface colors for certain fonts in certain environments,
13859         which should not seen as that on the final output.
13860
13861 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * BufferView_pimpl.C:
13864         * Thesaurus.h:
13865         * Thesaurus.C:
13866         * Makefile.am:
13867         * commandtags.h:
13868         * LyXAction.C: add thesaurus support
13869
13870         * lyxfind.h:
13871         * lyxfind.C: add "once" parameter, for thesaurus, to not
13872           move to the next match
13873
13874 2001-07-26  Juergen Vigna  <jug@sad.it>
13875
13876         * lyxfont.C (realize): honor ignore_language too!
13877         (resolved): ditto.
13878
13879         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13880
13881         * text.C (draw): one place more for ignore_language to not draw
13882         itself!
13883
13884 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13885
13886         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13887
13888 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13891         the minipage conversion problem.
13892
13893 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13894
13895         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13896         insert an inset.
13897
13898 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * BufferView.h: don't forward declare WorkArea
13901
13902         * BufferView.C: don't include WorkArea.h
13903
13904 2001-07-25  André Pönitz <poenitz@gmx.net>
13905
13906         * commandtags.h:
13907         * LyXAction.C:
13908         * lyxfunc.C:  new LFUN 'math-space'
13909
13910         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13911
13912 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * text2.C (toggleInset): call open/close
13915
13916 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13917
13918         * lyxfunc.C (dispatch): add debug for the disabled case
13919
13920         * font.C (buttonText): make similar to rectText
13921
13922         * buffer.C (readInset): comment out parsing of insetlist and
13923         insttheorem
13924
13925         * PainterBase.C (rectText): small correction
13926
13927         * BufferView_pimpl.C: comment out insettheorem and insetlist
13928         * LyXAction.C: ditto
13929         * commandtags.h: ditto
13930
13931 2001-07-24  Juergen Vigna  <jug@sad.it>
13932
13933         * text.C (draw): honor the ignore_language.
13934
13935         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13936
13937 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13940         char inset.
13941
13942 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13943
13944         * lyxtext.h: remove unused (and unimplemented) methods
13945
13946 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13947
13948         * text.C (getVisibleRow): honor background color
13949
13950         * PainterBase.h:
13951         * Painter.h: remove default color argument for fillRectangle
13952
13953         * text.C (backgroundColor): new method
13954
13955 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * text.C (getVisibleRow): adjust
13958
13959         * font.[Ch] (rectText): new method, metrics
13960         (buttonText): new method, metrics
13961
13962         * PainterBase.[hC]: make rectText and buttonText always draw and take
13963         fewer paramteres.
13964
13965 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13966
13967         * ToolbarDefaults.C (read):
13968         * MenuBackend.C (read): allow escaping in all strings
13969
13970         * BufferView_pimpl.C (insertAndEditInset): new method.
13971         (Dispatch): use insertAndEditInset whenever appropriate.
13972
13973         * BufferView_pimpl.C (insertNote): removed
13974
13975         * BufferView_pimpl.C (smartQuote): new method, moved from
13976         BufferView; if an insetquote cannot be inserted, insert a '"'
13977         character instead.
13978
13979         * BufferView2.C: remove insertCorrectQuote();
13980
13981         * lyxfunc.C (getStatus): Add support for all remaingin
13982         inset-insert lfuns.
13983
13984         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13985
13986         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13987         command (necessary to pass " as parameter of self-insert.
13988
13989         * text.C (selectWordWhenUnderCursor):
13990         (selectWord): add word_location parameter
13991         (selectWordWhenUnderCursor): same + remove special code for word
13992         boundary.
13993         (selectNextWord): use kind() to guess type of insetspecialchar,
13994         not latex().
13995
13996         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13997         (insertErtContents): create ert insets as collapsed.
13998         (readInset): better compatibility code for Info inset.
13999
14000 2001-07-20  Juergen Vigna  <jug@sad.it>
14001
14002         * lyxfunc.C (dispatch): use always LyXFind now!
14003
14004         * text2.C (init): add a reinit flag so that the LyXText can be
14005         reinited instead of deleted and reallocated (used in InsetText).
14006
14007         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14008
14009         * text.C: ditto
14010
14011         * text2.C: ditto
14012
14013 2001-07-18  Juergen Vigna  <jug@sad.it>
14014
14015         * text.C (selectNextWord): handle insets inside inset by calling
14016         always the bv->text functions so that we can go up the_locking_inset!
14017
14018         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14019         in strange locations when inside an inset!
14020
14021         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14022         handling to include insets.
14023
14024         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14025
14026 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * LyXAction.C (init):
14029         * commandtags.h:
14030         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14031         LIGATURE_BREAK, since the name is so stupid.
14032
14033 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14036         InsetInfos.
14037
14038         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14039
14040         * sp_form.[Ch]: remove.
14041
14042         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14043
14044         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14045         InsetInfo.
14046
14047         * src/buffer.C (readInset): ditto.
14048
14049 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14050
14051         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14052         menuSeparator(), endOfSentenceDot(), ldots() and
14053         hyphenationPoint(), which are therefore removed.
14054         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14055
14056         * LyXAction.C (init):
14057         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14058
14059         * paragraph.C (getWord): removed.
14060
14061         * BufferView_pimpl.C (Dispatch): use last word or selection for
14062         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14063
14064         * lyx_main.C (queryUserLyXDir): do not ask before creating
14065         user_dir, except if it has been named explicitely.
14066
14067 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14068
14069         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14070         a document of zero size.
14071
14072 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14073
14074         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14075         approriately in the c-tor and in require().
14076         (getPackages): output the appropriate LaTeX for natbib support.
14077
14078         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14079         variables "use_natbib" and "use_numerical_citations" when reading the
14080         LyX file.
14081         (readInset): read the various natbib cite commands.
14082         (validate): white-space change.
14083
14084         * bufferparams.[Ch]: new variables "bool use_natbib" and
14085         "bool use_numerical_citations".
14086         (writeFile): output them in the LyX file.
14087
14088 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14089
14090         * lyxfunc.C (getStatus): add support for all the inset insertion
14091         commands.
14092
14093         * text2.C (insertInset):
14094         * paragraph.C (insetAllowed):
14095         * BufferView_pimpl.C (insertInset): update to take in account the
14096         renaming of insertInsetAllowed
14097
14098         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14099
14100         * text2.C (getInset): new method. returns inset at cursor position.
14101
14102         * BufferView_pimpl.C (Dispatch): changes because of this.
14103
14104         * LyXAction.C (init): rename open-stuff to inset-toggle.
14105
14106         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14107
14108         * text2.C (toggleInset): renamed from openStuff; use
14109         Inset::open().
14110
14111 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14112
14113         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14114
14115         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14116
14117 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * buffer.C (readLyXformat2): Add filename to the error dialog
14120
14121 2001-07-18  Juergen Vigna  <jug@sad.it>
14122
14123         * tabular.C (GetCellNumber): put an assert here instead of the check!
14124
14125 2001-07-17  Juergen Vigna  <jug@sad.it>
14126
14127         * BufferView_pimpl.C (toggleSelection): adapted too.
14128
14129         * text.C (selectNextWord): adapted for use with insets.
14130         (selectSelectedWord): ditto
14131
14132 2001-07-17  Juergen Vigna  <jug@sad.it>
14133
14134         * sp_spell.C (PSpell): fix initialitation order.
14135
14136 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * paragraph.C: spacing
14139
14140 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14141
14142         * sp_spell.C: repair language selection for pspell
14143
14144 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14145
14146         * lyxfunc.h: change more methods to begin with lower char.
14147
14148 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14151         for unknown layouts.
14152
14153 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * buffer.C (readLyXformat2): Generate an error dialog if there are
14156         unknown layouts.
14157
14158 2001-07-16  Juergen Vigna  <jug@sad.it>
14159
14160         * sp_spell.C: always compile ISpell part.
14161
14162         * lyxrc.C: added use_pspell entry and it's handling.
14163
14164 2001-07-13  Juergen Vigna  <jug@sad.it>
14165
14166         * sp_spell.C: removed double includes.
14167
14168 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14169
14170         Consistent use of Lsstream.h:
14171         * Lsstream.h: added using std::stringstream for consistencies sake.
14172
14173         * buffer.C: removed using std::stringstream
14174
14175         * lyxfont.C (stateText):
14176         * paragraph.C (asString):
14177         * text.C (selectNextWord, selectSelectedWord):
14178         * text2.C (setCounter):
14179         * vspace.C (asString, asLatexString):
14180         std::ostringstream -> ostringstream.
14181
14182 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14183
14184         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14185         * commandtags.h: add LFUN_HELP_ABOUTLYX
14186         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14187
14188 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14189
14190         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14191         cursorToggle()
14192         * lyx_gui_misc.C: remove spellchecker
14193         * lyxfunc.C: showSpellchecker
14194         * sp_base.h: added
14195         * sp_ispell.h: added
14196         * sp_pspell.h: added
14197         * sp_spell.C: added
14198         * sp_form.[Ch]: removed
14199         * spellchecker.[Ch]: removed
14200
14201 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14202
14203         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14204         is set.
14205         (simpleTeXSpecialChars): Simply print the input character without
14206         any special translation if pass_thru is set.
14207
14208         * layout.h: Added bool pass_thru to layout class for being able to
14209         implement pass through of a paragraph for Literate Programming.
14210
14211         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14212         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14213         * layout.C (Read): add "passthru" to list of layout tags and add
14214         code to set the pass_thru boolean when it is read.
14215
14216 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * trans_decl.h: remove allowed from KmodInfo
14219
14220         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14221         remove allowed code
14222         (Load): adjust
14223
14224         * paragraph_pimpl.C (erase): use boost::prior
14225
14226         * Painter.C (text): use data() instead of c_str() when length is
14227         also provided.
14228         * WorkArea.C (putClipboard): ditto
14229         * font.h (width): ditto
14230
14231         * BufferView2.C: use it-> instead of (*it). for iterators
14232         * texrow.C: ditto
14233         * paragraph_pimpl.C: ditto
14234         * paragraph.C: ditto
14235         * minibuffer.C: ditto
14236         * language.C: ditto
14237         * kbmap.C: ditto
14238         * encoding.C: ditto
14239         * counters.C: ditto
14240         * converter.C: ditto
14241         * chset.C: ditto
14242         * Variables.C: ditto
14243         * TextCache.C: ditto
14244         * MenuBackend.C: ditto
14245         * LyXAction.C: ditto
14246         * LColor.C: ditto
14247         * FloatList.C: ditto
14248         * DepTable.C: ditto
14249         * ColorHandler.C (LyXColorHandler): ditto
14250
14251 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14254
14255         * text2.C (openStuff): reintroduce this method (which had been
14256         nuked in NEW_INSETS frenzy).
14257
14258         * lyxfunc.C (Dispatch): when an action has not been handled, use
14259         its name in the error message, not its number.
14260
14261         * paragraph.C (inInset): change method name to begin with lowercase.
14262
14263         * undo_funcs.C:
14264         * text2.C: updates because of this.
14265
14266 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * ToolbarDefaults.C (add): add spaces in error message
14269
14270 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14273         (readLyXformat2): rename return_par to first_par, use lyxlex's
14274         pushToken and remove the manual push handling.
14275         (parseSingleLyXformat2Token): add another ert comp. variable:
14276         in_tabular, rename return_par to first_par. handle newlines better
14277
14278 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14279
14280         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14281
14282 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * text2.C (getParFromID): removed
14285
14286         * buffer.C (getParFromID): new method moved form lyxtext.
14287         * BufferView2.C (insertErrors): adjust
14288         (setCursorFromRow): adjust
14289         * BufferView_pimpl.C (restorePosition): adjust
14290         * lyxfunc.C (Dispatch): adjust
14291         * undo_funcs.C (textUndo): adjust
14292         (textRedo): adjust
14293         (textHandleUndo): adjust
14294         (textHandleUndo): adjust
14295
14296 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * buffer.C: up' the LYX_FORMAT
14299
14300         * lyxfont.h: turn NO_LATEX on as default
14301
14302         * buffer.C (insertErtContents): new methods of tex style compability.
14303         (parseSingleLyXformat2Token): use it several places.
14304         * tabular.C (OldFormatRead): and here
14305
14306 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * text2.C: remove some commented code.
14309         reindent file.
14310
14311         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14312         * trans.C: changes because of the above.
14313
14314 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * text2.C (setCounter): Fix counters bug with bibliography layout.
14317
14318 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14321         own member functions
14322         (simpleTeXSpecialChars): ditto
14323
14324 2001-07-06  Juergen Vigna  <jug@sad.it>
14325
14326         * a lot of files: changed the access to LyXText::status and the
14327         call of undo-functions.
14328
14329         * undo.[Ch]: added a inset_id to the undo informations.
14330
14331         * undo_funcs.[Ch]: added and moved here all undo functions.
14332
14333         * lyxtext.h: give the status enum a weight, made status_ a private
14334         variable and made accessor functions for it, removed the whole bunch
14335         of undo-functions as they are now in their own file, make some
14336         functions publically available. Added function ownerParagraph with
14337         int parameter.
14338
14339         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14340         made InInset() a const function, added getParFromID() function.
14341
14342         * buffer.[Ch]: added const version for inset_iterator functions,
14343         added getInsetFromID() function.
14344
14345         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14346         changed undo functions for new version.
14347
14348 2001-07-05  Juergen Vigna  <jug@sad.it>
14349
14350         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14351         unknow mechanism does not call the proper constructor but only this
14352         one also if I request the other!?
14353
14354 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14357
14358         * text2.C (LyXText): use initialization lists.
14359
14360         * lyxtext.h (Selection): initialize set_ and mark_
14361         (init): remove method
14362
14363 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14364
14365         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14366
14367 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * screen.[Ch]: change method names to begin with lowercase
14370
14371         * BufferView_pimpl.C (updateScrollbar): simplify further and
14372         hopefully make it a bit faster.
14373
14374 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14375
14376         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14377         calling directly xforms functions.
14378
14379         * Painter.C (Painter):
14380         * lyx_cb.C (MenuWrite):
14381         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14382         fl_display.
14383
14384         * lyx_gui.C: remove bogus guiruntime extern declaration.
14385
14386 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14389         in NEW_INSETS
14390         (redoDrawingOfParagraph): ditto
14391         (redoParagraphs): ditto
14392         (cutSelection): don't create a object for CutAndPaste use the
14393         static method directly
14394         (pasteSelection): ditto
14395
14396         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14397         LyXview (+ rename)
14398
14399 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * modifications to some other files because of this.
14402
14403         * Makefile.am (lyx_SOURCES): add XFormsView
14404
14405         * XFormsView.[Ch]: new files
14406
14407         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14408         the main window. Move the gui dependent stuff to XFormsView
14409
14410 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14411
14412         * tabular.C (GetCellInset): update cur_cell also in the row/col
14413         version of this function.
14414
14415         * lyxfunc.C: no need to include figure_form.h here.
14416
14417         * FontLoader.h:
14418         * lyxfunc.h:
14419         * lyxscreen.h:
14420         * text2.C:
14421         * lyxvc.C: no need to include forms.h here.
14422
14423 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14424
14425         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14426
14427         * lyxfunc.C (Dispatch):
14428         * Spacing.C (set):
14429         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14430         constructor argument.
14431
14432 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * paragraph.C (Paragraph): dont't clear, and just set layout.
14435         (makeSameLayout): use params's copy contructor.
14436
14437         * ParagraphParameters.[Ch] (makeSame): delete method
14438
14439 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * Variables.[Ch]: fix indentation, rename set to isSet
14442
14443 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14444
14445         * lyxfunc.C (Dispatch): fix typo
14446
14447 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14448
14449         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14450         upper_bound.
14451
14452         * bufferlist.C: include assert.h for emergencyWrite().
14453
14454 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14457           give up at last (bug #425202) !
14458
14459 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * lyx_gui_misc.C:
14462         * sp_form.h:
14463         * sp_form.C:
14464         * spellchecker.h:
14465         * spellchecker.C: strip spellchecker options and bring up
14466           preferences tab instead
14467
14468 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14471         the istringstream constructor
14472
14473 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * paragraph.C (getLayout): fix return value
14476
14477         * paragraph.h: do not declare getLayout as inline.
14478
14479         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14480
14481 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * lyxcursor.h (operator<): new func
14484         (operator>): new func
14485         (operator>=): new func
14486         (operator<=): new func
14487
14488         * text.C (changeCase): use selection.start and selection.end
14489         (changeRegionCase): require from to be <= to. Require par to be a
14490         valid paragraph.
14491
14492         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14493
14494 2001-06-27  Juergen Vigna  <jug@sad.it>
14495
14496         * text.C (cursorLeftOneWord): changed to return the cursor and added
14497         overlay with BufferView * parameter which calls this one.
14498         (getWord): added
14499         (selectWord): use new getWord function.
14500         (changeCase): renamed from changeWordCase as and extended to work
14501         also on selections.
14502
14503         * lyxtext.h: added enum word_location
14504
14505         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14506         changeCase as this operates now also on selections.
14507
14508 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14509
14510         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14511
14512         * many files: send debug output to Debug::INFO instead of
14513         Debug::ANY.
14514
14515         * converter.C (View):
14516         (Convert):
14517         (Move): send debug output to Debug::FILES instead of console.
14518
14519 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14520
14521         * lyxfunc.C (getStatus): use func_status
14522
14523         * func_status.h: new header, describing the results of
14524         LyXFunc::getStatus;
14525
14526         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14527         LFUN_MATH_HALIGN.
14528
14529 2001-06-25  The LyX Project  <jug@sad.it>
14530
14531         * buffer.C (sgmlOpenTag):
14532         (sgmlCloseTag):
14533         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14534
14535 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * text2.C: remove some dead code
14538
14539         * tabular.C (GetCellInset): store the last cell checked (gotten)
14540
14541         * tabular.h: add the helper for the speedup
14542
14543         * lyxtext.h: remove some dead code
14544
14545 2001-06-26  The LyX Project  <Asger>
14546
14547         * paragraph.C: Change export to LaTeX of alignment to
14548         \begin{center} and family for better roundtrip work with reLyX.
14549
14550         * Tune the math drawing a bit.
14551
14552 2001-06-25  The LyX Project  <Asger>
14553
14554         * LColor.C (LColor): New color for math background. New color
14555         for buttons.
14556
14557 2001-06-25  The LyX Project  <jug@sad.it>
14558
14559         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14560
14561         * lyxfunc.C (Open):
14562         * bufferlist.C (newFile): do not restrict to files ending with
14563         .lyx
14564
14565         * BufferView_pimpl.C (MenuInsertLyXFile):
14566
14567 2001-06-24  The LyX Project  <jug@sad.it>
14568
14569         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14570         of compare_no_case
14571
14572 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * lyxtext.h: rename most methods to begin with a small char.
14575         Lots of changes because of this.
14576
14577         * paragraph.C (Paragraph): do not call fitToSize
14578         (erase): call Pimpl::erase
14579         (insertChar): call Pimpl::insertChar
14580         (insertInset): call Pipl::insertInset
14581         (breakParagraph): do not call fitToSize
14582         (breakParagraphConservative): do not call fitToSize
14583         (fitToSize): remove method
14584
14585         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14586
14587 2001-06-24  The LyX Project  <Asger>
14588
14589         * Fix Qt compilation^2
14590
14591 2001-06-24  The LyX Project  <jug@sad.it>
14592
14593         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14594         depthHook(getDepth()-1).
14595
14596         * paragraph.h:
14597         * ParagraphParameters.h:
14598         * ParameterStruct.h: change type of depth to unsigned int ==
14599         depth_type. Many adaptations to other files before of that.
14600
14601 2001-06-24  The LyX Project  <Asger>
14602
14603         * Fix Qt compilation.
14604
14605 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14606
14607         * paragraph.h: renamed several methods to begin with small letter.
14608         several changes to many parts of the code because of this.
14609
14610 2001-06-23  The LyX Project  <jug@sad.it>
14611
14612         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14613         rewritten to discard all double spaces when KeepEmpty is off
14614         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14615         to only handle newlines but not fiddle with spaces and friends.
14616
14617         * lyxfunc.C (MenuNew): when doing 'new from template', use
14618         template_path as default directory
14619
14620 2001-06-23  The LyX Project  <Asger>
14621
14622         * Clean-up of header file includes all over
14623         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14624
14625 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14626
14627         * paragraph.h: renamed from lyxparagraph.h
14628
14629 2001-06-23  Asger  <lyx@violet.home.sad.it>
14630
14631         * Buffer.h: Removed Buffer::resize
14632         * BufferList.h: Removed BufferList::resize
14633         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14634         the document lazily when we change the width, or the font settings.
14635
14636 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14637
14638         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14639
14640 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * buffer.h: remove out of date comment
14643
14644 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * lyxscreen.h:
14647         * screen.C: fix "theoretical" GC leak
14648
14649 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14650
14651         * LaTeX.C (scanAuxFile):
14652         (deplog): remove trailing \r when reading stream (useful under
14653         win32)
14654
14655 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14656
14657         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14658         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14659         and BufferView::theLockingInset(Inset*), so should use them and not
14660         access bv_->text->the_locking_inset directly.
14661
14662         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14663
14664 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14665
14666         * Makefile.am:
14667         * tex-defs.h: remove old unused file
14668
14669 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14670
14671         * BufferView_pimpl.C: fix typo, remove minibuffer message
14672           when buffer has loaded
14673
14674 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14675
14676         * lyxfunc.C (Dispatch): use stringstream
14677         (MenuNew): use stringstream
14678         (Open): use stringstream
14679
14680         * importer.C (Import): use stringstream
14681
14682         * bufferview_funcs.C (CurrentState): use stringstream
14683
14684         * LaTeX.C (run): use stringstream
14685
14686         * BufferView_pimpl.C (savePosition): use stringstream
14687         (restorePosition): use stringstream
14688         (MenuInsertLyXFile): use stringstream
14689
14690 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14691
14692         * BufferView.C:
14693         * Bullet.C:
14694         * ColorHandler.C:
14695         * FontInfo.C:
14696         * FontLoader.C:
14697         * LColor.C:
14698         * LaTeXFeatures.C:
14699         * Painter.C:
14700         * gettext.C:
14701         * lyx_gui_misc.C:
14702         * lyxserver.C:
14703         * vspace.C: removed // -*- C++ -*- as first line.
14704
14705         * lyxfind.h:
14706         * version.h: added // -*- C++ -*- as first line.
14707
14708 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14709
14710         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14711
14712         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14713         of string
14714
14715 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14718         of floats.
14719
14720 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * gettext.C: include LString.h even when --disable-nls is on.
14723
14724 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14725
14726         * converter.h (Get): changed argument type from int to
14727         FormatList::size_type to avoid unnecessary conversion.
14728
14729         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14730         before using it.
14731
14732 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * gettext.h: include LString.h even when --disable-nls is on.
14735
14736 2001-06-07  Juergen Vigna  <jug@sad.it>
14737
14738         * text.C (BreakAgain): subst spaces with tabs.
14739
14740         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14741         (resizeInsetsLyXText): set force on resizeLyXText.
14742
14743 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * gettext.h (gettext_init):
14746         (locale_init): use a real definition instead of a macro
14747
14748 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14749
14750         * Bufferview_pimpl.C:
14751         * LColor.h:
14752         * LColor.C: further lcolor tidies
14753
14754 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * BufferView_pimpl.C (updateScrollbar): simplify.
14757
14758         * BufferView2.C: don't include insets/insetinfo.h, change
14759         prototype for insertInset and call the Pimpl version. let
14760         updateInset call Pimpl version.
14761
14762         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14763         gotoInset to BufferView::Pimpl
14764
14765 2001-06-01  Juergen Vigna  <jug@sad.it>
14766
14767         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14768         inside a LockingInset (is the update needed at all?).
14769
14770 2001-05-31  Juergen Vigna  <jug@sad.it>
14771
14772         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14773         here not the old one otherwise how should we compare it afterwards
14774         if it's the same!
14775
14776 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * lyxfont.C:
14779         * tabular.C:
14780         * tabular-old.C:
14781         * FontInfo.C: bring C functions into global namespace when
14782         necessary
14783
14784 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * LString.h: make sure config.h has been loaded before LString.h.
14787
14788         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14789         (one for each char read by EatLine!).
14790
14791         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14792         variables.
14793
14794 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14795
14796         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14797         to the same as the par we break from
14798
14799 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14802
14803         * MenuBackend.C (expand): also create menu entries for wide
14804         versions of the floats.
14805
14806         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14807
14808         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14809
14810         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14811         frontends/Makefile.am
14812
14813         * text2.C: adjust
14814         * text.C: adjust
14815
14816
14817         * tabular.C (getTokenValue): add std::
14818
14819         * tabular-old.C (getTokenValue): add std::
14820         (getTokenValue): ditto
14821         (getTokenValue): ditto
14822
14823         * screen.C (ToggleSelection): adjust
14824
14825         * lyxtext.h: put selection cursors inside a Selection struct.
14826
14827         * lyxfunc.C (moveCursorUpdate): adjust
14828
14829         * lyxfont.C (latexWriteStartChanges): add std::
14830
14831         * lyxfind.C: adjust
14832
14833         * font.h: delete with(char const *, LyXFont const &)
14834
14835         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14836
14837         * FontInfo.C (getFontname): add std::
14838
14839         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14840         (workAreaButtonPress): adjust
14841         (tripleClick): adjust
14842         (update): adjust
14843         (moveCursorUpdate): adjust
14844         (Dispatch): adjust
14845
14846         * BufferView2.C (gotoInset): adjust
14847
14848 2001-05-30  Juergen Vigna  <jug@sad.it>
14849
14850         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14851         to check pspell I add this as default as I now have new pspell
14852         libraries and they seem to use this.
14853
14854 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * text2.C (CutSelection): make the cursor valid before the call to
14857         ClearSelection.
14858
14859 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14862         relied on 0 terminated strings and other horrors. Bug found due to
14863         the new assert in lyxstring!
14864
14865         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14866         KP_ keys.
14867
14868 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14871         to latinkeys.bind.
14872
14873         * lyxfunc.C (processKeySym): change method of getting to the
14874         self-insert char.
14875
14876         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14877         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14878         * BufferView_pimpl.[Ch]: here as private methods.
14879
14880 2001-05-28  Juergen Vigna  <jug@sad.it>
14881
14882         * text.C (SetHeightOfRow): added the update() call again as it is
14883         needed to initialize inset dimensions!
14884
14885 2001-05-16  Juergen Vigna  <jug@sad.it>
14886
14887         * text2.C (SetCharFont): Add new function with BufferView * and
14888         bool toggleall parameters for setting insets internal fonts.
14889         (SetFont): Freeze the undo as we may change fonts in Insets and
14890         all this change should be inside only one Undo!
14891
14892         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14893         setting font's in insets as for them we have the SetFont function!
14894
14895 2001-05-15  Juergen Vigna  <jug@sad.it>
14896
14897         * text2.C (ClearSelection): to be sure we REALLY don't have any
14898         selection anymore!
14899
14900         * tabular.C (TeXCellPreamble): fixed the left border problem for
14901         multicolumn cells.
14902
14903 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14904
14905         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14906         dependancy file
14907
14908 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14911         LFUN_BREAKPARAGRAPH.
14912
14913         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14914         help test to "internal only", similar for LFUN_INSERT_URL
14915
14916         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14917         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14918         auto_region_delete and deadkeys.
14919
14920 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * LColor.h:
14923         * LColor.C: remove some dead entries, tidy a little
14924
14925 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14928         commented code.
14929         (Dispatch): implement LFUN_ESCAPE
14930
14931         * commandtags.h: add LFUN_ESCAPE
14932
14933         * LyXAction.C (init): add entry for LFUN_ESCAPE
14934
14935         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14936         Remove commented code.
14937         (insertNote): moved here
14938         (open_new_inset): moved here
14939
14940         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14941         BufferView_pimpl
14942
14943 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * kbmap.C (findbinding): clean it up and make it work correctly.
14946
14947         * lyx_main.C (init): do not pass argc and argv as parameters
14948
14949 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14950
14951         * buffer.C: fix path for OS/2 & Win32
14952
14953         * lyx_gui.C:
14954         * lyx_main:
14955         * lyx_main.C: Added os:: class.
14956
14957         * os2_defines.h: update
14958
14959 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14962         better by trying again with reduced state.
14963
14964 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * lyxrc.C (read): print error about invalid key sequence only when
14967         debugging (because not all latinX keysyms are known to some X
14968         servers)
14969
14970         * kbsequence.C (getiso): add a few std:: qualifiers
14971         (getiso): comment out extra return statement.
14972
14973 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14976         handling.
14977         (Dispatch): enhance the accent inset a bit. (not perfect)
14978
14979 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14980
14981         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14982
14983 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * bufferlist.C (emergencyWrite): fix assert() call
14986
14987 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14988
14989         * text.C (InsertChar): Added trivial patch to only send the "you
14990         can not do multiple spaces this way" message once during a
14991         session.
14992
14993 2001-05-08  Baruch Even  <baruch@lyx.org>
14994
14995         * Makefile.am: Changed order of libraries to get LyX to link properly
14996         with the gnome frontend.
14997
14998 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14999
15000         * LaTeXFeatures.h: add a std:: qualifier
15001
15002 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * paragraph.C (String): use stringstream
15005
15006 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * paragraph.C (writeFile): remove footflag arg
15009
15010         * buffer.C (makeLaTeXFile): use stringstream
15011         (latexParagraphs): remove footnot gurba
15012
15013         * LaTeXFeatures.C (getPackages): use stringstream
15014         (getMacros): likewise
15015         (getTClassPreamble): likewise
15016         (getFloatDefinitions): new method
15017
15018         * paragraph.C (writeFile): reindent
15019         (Erase): reindent
15020
15021         * WorkArea.h: revert the xpos + etc changes.
15022
15023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15024
15025         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15026
15027         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15028         (pasteSelection): likewise
15029         * text2.C (CreateUndo): likewise
15030
15031 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15032
15033         * minibuffer.C (peek_event): temporarily reduce the functionality
15034         of the minibuffer (to allow args on lfuns)
15035
15036         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15037         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15038
15039         * buffer.C (readInset): add compability reading of old float
15040         lists, add reading of new style float list.
15041         (readInset): avoid reevaluation of inscmd.getCmdName()
15042         (getLists): reindent
15043
15044         * MenuBackend.C (MenuItem): implement parsing of
15045         md_floatlistinsert and md_floatinsert.
15046         (expand::LastFiles): move initalizaton of iterators out of loop,
15047         avoid reevaluation.
15048         (expand::Documents): introduce typdedef vector<string> Strings,
15049         and use it.
15050         (expand::ExportFormats): introduce typedef vector<Format const *>
15051         Formats, and use it.
15052         (expand): implement FloatListInsert and FloatInsert.
15053
15054         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15055         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15056         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15057
15058         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15059         handling.
15060         (Dispatch::LFUN_FLOAT_LIST): implement
15061
15062 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15063
15064         * LaTeX.C (run): Fix problem with --export code.
15065
15066 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15067
15068         * BufferView.[Ch] (workarea): removed.
15069         (getClipboard) new method; wrapper for workarea()->getClipboard()
15070
15071         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15072         bug.
15073
15074         * WorkArea.h (width, height, xpos, ypos): These methods all
15075         returned the dimensions of the work_area sub-area of WorkArea,
15076         resulting in a position error if the WorkArea were resized. Now
15077         return the dimensions of the entire WorkArea.
15078
15079         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15080
15081 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15082
15083         * LaTeX.C (deplog): correct the syntax of regex reg1
15084
15085 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086
15087         * undo.C: remove !NEW_INSETS cruft
15088
15089 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * text2.C: remove !NEW_INSETS cruft
15092
15093         * text.C: remove !NEW_INSETS cruft
15094
15095         * tabular.C: remove !NEW_INSETS cruft
15096
15097         * spellchecker.C: remove !NEW_INSETS cruft
15098
15099         * lyxtext.h: remove !NEW_INSETS cruft
15100
15101         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15102
15103         * lyxfunc.C: remove !NEW_INSETS cruft
15104
15105         * lyxfind.C: remove !NEW_INSETS cruft
15106
15107         * lyx_cb.C: remove !NEW_INSETS cruft
15108
15109         * figureForm.C: remove  !NEW_INSETS cruft
15110
15111         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15112
15113         * buffer.[Ch]: remove !NEW_INSETS cruft
15114
15115         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15116
15117         * CutAndPaste.C: remove !NEW_INSETS cruft
15118
15119         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15120
15121         * BufferView2.C: remove !NEW_INSETS cruft
15122
15123         * BufferView.h: remove !NEW_INSETS cruft
15124
15125 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * Lsstream.h: include LString.h before the sstream headers to
15128         fix problem with gcc 2.95.3 and lyxstring
15129
15130 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * lyx_main.C: add using directives when needed for C functions
15133         declared in std:: namespace.
15134
15135 2001-04-27  Juergen Vigna  <jug@sad.it>
15136
15137         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15138         (SetHeightOfRow): comment out the update call should not be needed!
15139
15140 2001-04-13  Juergen Vigna  <jug@sad.it>
15141
15142         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15143         (LyXTabular): tried to minimize operator= operations (and realized
15144         hopfully Lars wish).
15145
15146 2001-04-27  Juergen Vigna  <jug@sad.it>
15147
15148         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15149
15150 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15153
15154         * buffer.C (readInset): hack to make listof algorithm work
15155
15156         * BufferView_pimpl.C: hack to make listof algorithm work
15157
15158 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15159
15160         * LyXAction.C: removed all !NEW_INSETS cruft
15161         (init): moved lfun_item in method
15162
15163         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15164
15165 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15166
15167         * BufferView2.C (theLockingInset): white space.
15168
15169 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * minibuffer.C: include <iostream>
15172
15173         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15174
15175         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15176
15177         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15178
15179         * text.[Ch] (TransposeChars): new method
15180
15181 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * call message directly through LyXView instead of through LyXFunc
15184         * BufferView2.C: adjust
15185         * BufferView_pimpl.C: adjust
15186         * FontLoader.C: adjust
15187         * buffer.C: adjust
15188         * bufferview_funcs.C: adjust
15189         * converter.C: adjust
15190         * figureForm.C: adjust
15191         * importer.C: adjust
15192         * lyx_cb.C: adjust
15193         * lyx_gui_misc.C: adjust
15194         * lyxfunc.C: adjust
15195         * lyxvc.C: adjust
15196         * text2.C: adjust
15197         + more files in subdirs
15198
15199         * lyxparagraph.h (size): move up int file
15200         (GetLayout): ditto
15201
15202         * adjust all uses of Assert to lyx::Assert.
15203
15204         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15205         lyxfunctional in namespace lyx
15206         * layout.C (hasLayout): ditto
15207         (GetLayout): ditto
15208         (GetLayout): ditto
15209         (delete_layout): ditto
15210         (NumberOfClass): ditto
15211         * converter.C (GetFormat): ditto
15212         (GetNumber): ditto
15213         (Add): ditto
15214         (Delete): ditto
15215         (SetViewer): ditto
15216         * bufferlist.C (getFileNames): ditto
15217         (emergencyWriteAll): ditto
15218         (exists): ditto
15219         (getBuffer): ditto
15220         * MenuBackend.C (hasSubmenu): ditto
15221         (hasMenu): ditto
15222         (getMenu): ditto
15223         * BufferView_pimpl.C (getInsetByCode): ditto
15224
15225 2001-04-18  Juergen Vigna  <jug@sad.it>
15226
15227         * vspace.C (asLatexString): fixed the 100% problem.
15228
15229 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * lyxfunc.C (Dispatch):
15232         * minibuffer.C:
15233         * minibuffer.h: add a few std:: qualifiers
15234
15235 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * minibuffer.[Ch]: reimplement so that commands is initiated and
15238         run from lyxfunc, simplified som handling, and made the completion
15239         and history code for complete. wip.
15240
15241         * lyxfunc.C (processKeySym): call message
15242         (miniDispatch): new temporary method
15243         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15244         (LFUN_MESSAGE): implement
15245         (LFUN_MESSAGE_PUSH): implement
15246         (LFUN_MESSAGE_POP): implement
15247         (initMiniBuffer): the initial/defualt minibuffer message.
15248
15249         * lyxfont.[Ch]: inline some more getters
15250
15251         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15252
15253         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15254
15255         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15256         (AutoSave): use LFUN_MESSAGE
15257         (Reconfigure): ditto
15258
15259         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15260
15261         * figureForm.C: use LFUN_MESSAGE
15262
15263         * converter.C (runLaTeX): use LFUN_MESSAGE
15264
15265         * bufferview_funcs.C: use LFUN_MESSAGE
15266         (Melt): ditto
15267         (changeDepth): ditto
15268
15269         * bufferparams.h: use boost::
15270
15271         * bufferlist.h: inherit privately from noncopyable
15272
15273         * bufferlist.C (loadLyXFile): remove some commented code.
15274
15275         * buffer.C (runChktex): use LFUN_MESSAGE
15276
15277         * ShareContainer.h: inherit privately from noncopyable
15278
15279         * ParagraphParameters.[hC] (depth): inline it.
15280
15281         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15282         methods.
15283         (message): new method
15284         (messagePush): ditto
15285         (messagePop): ditto
15286         (show): init minibuffer
15287         (showState): direct call
15288
15289         * LaTeX.[Ch]: inherit privately from noncopyable
15290         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15291         instead of WriteStatus.
15292
15293         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15294
15295         * BufferView_pimpl.C (buffer): don't init minibuffer
15296         (workAreaButtonPress): use LFUN_MESSAGE
15297         (workAreaButtonRelease): ditto
15298         (savePosition): ditto
15299         (restorePosition): ditto
15300         (MenuInsertLyXFile): ditto
15301         (workAreaExpose): don't init minibuffer
15302         (update): remove commented code, simplify
15303
15304         * BufferView2.C (openStuff): use LFUN_MESSAGE
15305         (toggleFloat): ditto
15306         (menuUndo): ditto
15307         (menuRedo): ditto
15308         (copyEnvironment): ditto
15309         (pasteEnvironment): ditto
15310         (copy): ditto
15311         (cut): ditto
15312         (paste): ditto
15313         (gotoInset): ditto
15314         (updateInset): remove some commented code
15315
15316         * lastfiles.h: inherit privately from noncopyable
15317         * layout.h: ditto
15318         * lyx_gui.h: ditto
15319         * lyx_main.h: ditto
15320         * lyxlex.h: ditto
15321         * lyxlex_pimpl.h: ditto
15322
15323         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15324         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15325         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15326
15327         * LyXAction.h: inherit privately from noncopyable, add methods
15328         func_begin, func_end, returning iterators to the func map.
15329
15330         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15331         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15332         (func_begin): new method
15333         (func_end): new method
15334
15335         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15336         and not)
15337         (copySelection): ditto
15338         (pasteSelection): ditto
15339
15340         * BufferView.C: whitespace change
15341         * BufferView.h: inherit privately from noncopyable
15342
15343 2001-04-16  Allan Rae  <rae@lyx.org>
15344
15345         * tabular-old.C (l_getline):
15346         * spellchecker.C (sc_check_word):
15347         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15348         an unrecognised preprocessor directive.  So ensure they're wrapped.
15349
15350 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15351
15352         * src/exporter.C (Export): Give an error message when path to file
15353         contains spaces.
15354
15355 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15356
15357         * LaTeX.C (deplog): Always check that foundfile exists.
15358
15359 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15360
15361         * lyx_main.h:
15362         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15363
15364 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * tabular.[Ch] (getLabelList): implement new method
15367
15368         * minibuffer.h: comment ouf setTiimer
15369
15370         * minibuffer.C (ExecutingCB): constify res
15371         (peek_event): constify s
15372         (Set): constify ntext
15373         (Init): constify nicename
15374
15375         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15376
15377         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15378         (savePosition): use two params to Minibuffer::Set
15379         (restorePosition): ditto
15380
15381 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15382
15383         * lyx_main.C: include language.h
15384
15385         * Makefile.am (lyx_main.o): add language.h
15386
15387 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * exporter.C:
15390         * paragraph.C:
15391         * screen.C:
15392         * tabular.C:
15393         * CutAndPaste.C: include gettext.h
15394
15395         * lyxfont.h: remove old hack with ON and OFF.
15396
15397         * lyxparagraph.h:
15398         * lyxfont.h: do not include language.h...
15399
15400         * BufferView2.C:
15401         * LaTeXFeatures.C:
15402         * Painter.C:
15403         * bufferview_funcs.C:
15404         * font.C:
15405         * lyxfont.C:
15406         * text.C:
15407         * text2.C:
15408         * trans_mgr.C:
15409         * paragraph.C: ... but do it here instead
15410
15411 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15412
15413         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15414
15415         * tabular.C: small reformat
15416
15417         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15418         NEW_INSETS version
15419         (GetChar): ditto
15420         (BreakParagraph): ditto
15421         (SetOnlyLayout): ditto
15422         (SetLayout): ditto
15423
15424         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15425         with one arg less.
15426
15427         * lastfiles.C: removed most using decl, add std:: where needed
15428
15429         * buffer.C: ws changes
15430
15431         * MenuBackend.C (class compare_format): put into anon namespace
15432         (expand): constify label, names, action, action2
15433         (expand):
15434
15435         * text.C (SingleWidth): constify font
15436         (IsBoundary): constify rtl2
15437         (GetVisibleRow): constify ww
15438
15439         * LaTeX.C (deplog): constify logfile
15440
15441         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15442         start_x, end_x
15443         (workAreaExpose): constify widthChange, heightChange
15444
15445         * lyxrow.C (par): moved
15446         (height): moved
15447         (next): moved
15448         * lyxrow.h: as inlines here
15449
15450         * lyxfont.h (shape): moved from lyxfont.C
15451         (emph): moved from lyxfont.C
15452
15453         * lyxfont.C (LyXFont): use initialization list for all
15454         constructors
15455         (shape): move to lyxfont.h as inline
15456         (emph): move to lyxfont.h as inline
15457
15458
15459 2001-04-04  Juergen Vigna  <jug@sad.it>
15460
15461         * vspace.C: had to include stdio.h for use of sscanf
15462
15463 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15464
15465         * BufferView.h:
15466         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15467         independent of xforms.
15468
15469 2001-04-02  Juergen Vigna  <jug@sad.it>
15470
15471         * spellchecker.C: fixed namespace placing!
15472
15473 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15474
15475         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15476         the LyXParagraph * is 0.
15477
15478 2001-03-29  Juergen Vigna  <jug@sad.it>
15479
15480         * vspace.C: added support for %, c%, p%, l%.
15481         (stringFromUnit): added helper function.
15482         (asLatexString): changed to give right results for the %-values.
15483
15484         * buffer.C: convert the widthp in a width%.
15485
15486 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15487
15488         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15489         figureForm.[Ch].
15490
15491         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15492         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15493
15494         * lyx_cb.[Ch]: see above.
15495
15496         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15497         form1.[Ch].
15498
15499         * form1.[Ch]:
15500         * lyx.[Ch]: replaced by figure_form.[Ch].
15501
15502         * lyx_gui.C:
15503         * lyx_gui_misc.C:
15504         * lyxfunc.C: changed headers associated with above changes.
15505
15506 2001-03-27  Juergen Vigna  <jug@sad.it>
15507
15508         * BufferView_pimpl.C: set the temporary cursor right!
15509
15510 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15511
15512         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15513
15514 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15515
15516         * LString.h: removed "using std::getline"!
15517
15518         * BufferView_pimpl.C (Dispatch): changes due to changes in
15519         InsetInclude::Params.
15520
15521         * buffer.C (tag_name): removed redundant break statements as they were
15522         producing lots of warnings with my compiler.
15523
15524 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * LString.h: add "using std::getline" when using the real <string>.
15527
15528 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15529
15530         * buffer.C: removed bitset usage.
15531         PAR_TAG moved to an anonymous name space.
15532         (tag_name): new funtion, also in the anonymous namespace.
15533         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15534         (makeDocBookFile): clean code. Completed transition from string arrays
15535         to string vectors.
15536         (SimpleDocBookOnePar): code clean.
15537
15538 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15539
15540         * tabular.C: add some comments.
15541
15542 2001-03-22  Juergen Vigna  <jug@sad.it>
15543
15544         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15545         compatibility read a bit and fixed bug with minipage in different
15546         depth.
15547
15548 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15549
15550         * buffer.C (pop_tag): removed.
15551         (push_tag): removed.
15552         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15553         array replaced with vector. Added support for CDATA sections.
15554         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15555         at any nest level.
15556         (makeDocBookFile): XML conformant declaration of CDATA section,
15557         fixed bug related to <emphasis> in the first paragraph char.
15558         (sgmlOpenTag): exclude empty tags.
15559         (sgmlCloseTag): ditto.
15560
15561         * buffer.h (pop_tag): removed.
15562         (push_tag): removed.
15563
15564 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * language.h (Languages): added size_type and size().
15567
15568 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15569
15570         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15571         response on compability reading of minipages. One probliem is that
15572         the old usage of minipages was «flertydig»
15573
15574         * several files here and in subdirs: don't use static at file
15575         scope use anon namespaces instead.
15576
15577 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15578
15579         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15580         LaTeX output. This is necessary for Literate document
15581         processing.
15582
15583 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15584
15585         * buffer.C: insert hfill when needed.
15586
15587         * tabular.C (l_getline): use string::erase, small whitespace change.
15588
15589         * BufferView_pimpl.C: try the anon namespace.
15590         * WorkArea.C: ditto
15591
15592 2001-03-16  Juergen Vigna  <jug@sad.it>
15593
15594         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15595         otherwise it won't open options-dialogs.
15596
15597         * buffer.C: honor pextraWidth(p) on converting minipages.
15598
15599         * tabular.C (l_getline): changed the functions to strip trailing \r.
15600
15601 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * BufferView_pimpl.C:
15604         * minibuffer..C: added "using SigC::slot" declaration.
15605
15606 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15607
15608         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15609
15610         * text2.C: ditto
15611
15612         * text.C: ditto
15613
15614         * paragraph.C: ditto
15615
15616         * lyxtext.h: NO_PEXTRA
15617
15618         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15619
15620         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15621         * ParameterStruct.h: ditto
15622         * ParagraphParameters.h: ditto
15623         * lyxparagraph.h: ditto
15624
15625 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15626
15627         * buffer.C: add compability for minipage alignment.
15628         (latexParagraphs): remove unwanted pextra check.
15629
15630         * several files: remove CXX_WORKING_NAMESPACES
15631
15632         * buffer.C (pop_tag): tie is in namespace boost
15633
15634         * BufferView.h: noncopyable is in namespace boost
15635         * lyxlex.h: ditto
15636         * lyx_main.h: ditto
15637         * lyx_gui.h: ditto
15638         * layout.h: ditto
15639         * lastfiles.h: ditto
15640         * bufferlist.h: ditto
15641         * ShareContainer.h: ditto
15642         * LyXView.h: ditto
15643         * LyXAction.h: ditto
15644         * LaTeX.h: ditto
15645
15646 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15647
15648         * Merging changes from BRANCH_MVC back into HEAD.
15649
15650         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15651
15652 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * BufferView_pimpl.C: change from intl.C
15655
15656         * combox.h:
15657         * combox.C:
15658         * Makefile.am: move combox.*
15659
15660         * form1.h:
15661         * form1.C:
15662         * lyx_gui.C:
15663         * intl.h:
15664         * intl.C: remove dialog (covered by prefs)
15665
15666 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * lyxfunc.C (Dispatch): removed redundant break statement.
15669
15670 2001-03-14  Juergen Vigna  <jug@sad.it>
15671
15672         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15673
15674 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15675
15676         * buffer.C: add hack to fix compability reading of minipages.
15677
15678 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15679
15680         * buffer.C (getLists): Cleanup.
15681
15682 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * lyxfont.C (update): don't honor toggleall on font size.
15685
15686 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15687
15688         * bmtable.c:
15689         * bmtable.h:
15690         * Makefile.am: moved to frontends/xforms/
15691
15692         * lyx_gui_misc.C:
15693         * lyxfunc.C:
15694         * BufferView_pimpl.C: changes for moved mathpanel
15695
15696 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15697
15698         * gettext.h: fix gettext_init() in --disable-nls
15699
15700 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15703
15704 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15705
15706         * lyx.C:
15707         * lyx.h: strip external form
15708
15709 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15710
15711         * BufferView_pimpl.C: add comment, destroySplash()
15712
15713 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15714
15715         * BufferView_pimpl.C:
15716         * LyXAction.C:
15717         * buffer.C:
15718         * commandtags.h:
15719         * lyxfunc.C: use re-worked insetinclude
15720
15721 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15722
15723         * buffer.C: add using std::stringstream.
15724
15725         * lyx_cb.C: readd using std::ios.
15726
15727         * buffer.C: add using std::map.
15728
15729         * BufferView_pimpl.C: add using std::vector.
15730
15731         * ShareContainer.h: add std:: to swap.
15732
15733         * buffer.h: add some typedefs
15734         * buffer.C (getLists): use them
15735         (getLists): renamed from getTocList.
15736         add a counter for the different float types and use it in the
15737         generated string.
15738         (getLists): use the same counter for the NEW_INSETS and the "non"
15739         NEW_INSETS
15740
15741         * lyx_cb.h: remove unused items, includes, using etc.
15742
15743         * ShareContainer.h: remove some commented code, add more comments
15744         and "documentation".
15745
15746 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15747
15748         * buffer.C (getTocList): make the list also when NEW_INSETS is
15749         defined.
15750
15751         * buffer.h: remove TocType
15752
15753         * buffer.C (getTocList): change to return a map<string,
15754         vector<TocItem> >, implement for dynamic number of list.
15755
15756         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15757         * text2.C (PasteSelection): adjust
15758         * CutAndPaste.C (pasteSelection): adjust
15759
15760         * FloatList.C (FloatList): update from the new_insets branch.
15761         * Floating.[Ch]: ditto
15762         * LaTeXFeatures.C: ditto
15763         * buffer.C: ditto
15764         * lyxlex_pimpl.C: ditto
15765
15766         * paragraph.C (Last): remove when NEW_INSETS is defined.
15767
15768         * other file: changes because of the above.
15769
15770 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15771
15772         * lyxparagraph.h: rename next to next_, previous to previous_,
15773         make them private for NEW_INSETS. Rename Next() to next(),
15774         Previous() to previous().
15775
15776         * other files: changes because of the above.
15777
15778 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * BufferView.h:
15781         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15782         problem.
15783
15784 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15785
15786         * main.C (main): pass lyx_localedir to gettext_init().
15787
15788         * gettext.h: remove locale_init and gettext_init macros
15789
15790         * gettext.C (locale_init): new function
15791         (gettext_init): new function
15792
15793         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15794         setlocale().
15795
15796 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15797
15798         * Moved credits to frontends:
15799         * credits.[Ch]: removed
15800         * credits_form.[Ch]: removed
15801         * lyx_gui_misc.C: remove credits stuff
15802         * Makefile.am:
15803
15804 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15805
15806         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15807
15808         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15809         unneeded destructor.
15810
15811         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15812         a standalone pointer again.
15813
15814         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15815
15816 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15817
15818         * Makefile.am:
15819         * filedlg.h:
15820         * filedlg.C:
15821         * LyXAction.C:
15822         * ToolbarDefaults.C:
15823         * bufferlist.C:
15824         * commandtags.h:
15825         * form1.C:
15826         * form1.h:
15827         * lyx_cb.C:
15828         * lyx_cb.h:
15829         * lyxfunc.h:
15830         * lyxfunc.C:
15831         * BufferView_pimpl.C: use new file dialog in GUII
15832
15833         * lyx_cb.h:
15834         * lyx_cb.C: remove LayoutsCB to Toolbar
15835
15836 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15837
15838         * ShareContainer.h (get): add std:: qualifier
15839
15840 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * ShareContainer.h: define a proper ShareContainer::value_type
15843         type (and use typename to please compaq cxx)
15844
15845 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15846
15847         * lyxparagraph.h: move serveral local vars to
15848         ParameterStruct/ParagraphParameters., use ShareContainer in
15849         FontTable., make vars in FontTable private and add getter and
15850         setter.
15851
15852         * paragraph.C: changes because of the above.
15853
15854         * lyxfont.h: remove copy constructor and copy assignment. (the
15855         default ones is ok), move number inside FontBits. move inlines to
15856         lyxfont.C
15857
15858         * lyxfont.C: add number to initializaton of statics, move several
15859         inlines here. constify several local vars. some whitespace
15860         cleanup. Dont hide outerscope variables.
15861
15862         * Spacing.h: add two new constructors to match the set methods.
15863
15864         * ShareContainer.h: new file, will perhaps be moved to support
15865
15866         * ParameterStruct.h: new file
15867
15868         * ParagraphParameters.h: new file
15869
15870         * ParagraphParameters.C: new file
15871
15872         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15873         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15874
15875         * BufferView_pimpl.C: ParagraphParameter changes.
15876         * buffer.C: Likewise.
15877         * bufferview_funcs.C: Likewise.
15878         * text.C: Likewise.
15879         * text2.C: Likewise.
15880
15881 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * lyxfind.C (LyXReplace): do not redefine default argument in
15884         implementation.
15885         (IsStringInText): ditto
15886         (SearchForward): ditto
15887         (SearchBackward): ditto
15888
15889 2001-03-06  Juergen Vigna  <jug@sad.it>
15890
15891         * lyxfind.C (IsStringInText): put parentes around expressions.
15892
15893 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15894
15895         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15896
15897 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15898
15899         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15900
15901         * stl_string_fwd.h: add comment
15902
15903         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15904
15905         * tabular.h:
15906         * tabular.C: remove unused DocBook methods
15907
15908         * intl.C:
15909         * language.C:
15910         * paragraph.C:
15911         * buffer.C:
15912         killed DO_USE_DEFAULT_LANGUAGE
15913
15914 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * lyx_gui.C: do not include language.h.
15917
15918         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15919         arguments in function implementation.
15920
15921 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15922
15923         * BufferView_pimpl.C: add <ctime>
15924
15925 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15926
15927         * BufferView_pimpl.C: add using std::find_if
15928
15929 2001-02-27  José Matos  <jamatos@fep.up.pt>
15930
15931         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15932         by OnlyPath.
15933
15934 2001-02-11  José Matos  <jamatos@fep.up.pt>
15935
15936         * buffer.C (makeDocBookFile): command styles now have a parameter as
15937         "title" by default.
15938
15939 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15940
15941         * layout_forms.[Ch]: removed
15942         * lyx_cb.[Ch]: out character
15943         * lyx_gui.C: out character
15944         * lyx_gui_misc.C: out character
15945         * bufferview_funcs.C: : out character,
15946         added toggleall as parameter in ToggleAndShow
15947
15948 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15951
15952         * text2.C (SetCurrentFont): Disable number property at boundary.
15953
15954 2001-02-26  Juergen Vigna  <jug@sad.it>
15955
15956         * lyxfunc.C (getStatus): added a string argument override function so
15957         that this is correctly called from LyXFunc::Dispatch if it contains a
15958         do_not_use_argument which is used!
15959         (Dispatch): added check for "custom" export and call appropriate func.
15960
15961 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15962
15963         * lyxrc.C: Add language_command_local, language_use_babel and
15964         language_global_options.
15965
15966         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15967
15968         * buffer.C (makeLaTeXFile): Use language_use_babel and
15969         language_global_options.
15970
15971 2001-02-23  Juergen Vigna  <jug@sad.it>
15972
15973         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15974         which works with LyXText and putted it inside BufferView. Here now we
15975         only call for that part the BufferView::Dispatch() function.
15976
15977         * BufferView.C (Dispatch): added.
15978
15979         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15980         functions which needs to use a LyXText over from LyXFunc.
15981         (MenuInsertLyXFile): added
15982         (getInsetByCode): added
15983         (moveCursorUpdate): added
15984         (static TEXT): added
15985
15986 2001-02-22  Juergen Vigna  <jug@sad.it>
15987
15988         * BufferView_pimpl.C (update): call a status update to see if LyXText
15989         needs it.
15990
15991 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15992
15993         * vc-backend.C (revert): implement for CVS
15994         (getLog): implement for CVS
15995
15996 2001-02-20  Juergen Vigna  <jug@sad.it>
15997
15998         * text2.C (ClearSelection): added BufferView param for inset_owner call
15999
16000         * lyxfunc.C (TEXT): added this function and use it instead of
16001         directly owner->view()-text of getLyXText().
16002
16003 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16004
16005         * src/layout_forms.C: out preamble
16006         * src/layout_forms.h: out preamble
16007         * src/lyx_cb.C: out preamble
16008         * src/lyx_cb.h: out preamble
16009         * src/lyx_gui.C: out preamble
16010         * src/lyx_gui_misc.C: out preamble
16011         * src/lyxfunc.C: connect with guii preamble
16012
16013 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16014
16015         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16016
16017 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16020         whether to run bibtex.
16021
16022 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16025
16026 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16027
16028         * Makefile.am (lyx_SOURCES): removed bibforms.h
16029
16030         * vspace.h: doxygen
16031
16032         * text.C (GetVisibleRow): make several local vars const
16033
16034         * tabular.C: small cleanup.
16035
16036         * lyxserver.C (callback): use compare instead of strncmp
16037
16038         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16039         inlines to after class or to paragraph.C
16040
16041         * lyxfont.h: remove friend operator!=
16042
16043         * converter.h: move friend bool operator< to non friend and after
16044         class def.
16045
16046         * combox.h: small cleanup
16047
16048         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16049         to inlines after class def.
16050
16051         * buffer.C (pop_tag): use string operations instead of strcmp
16052
16053         * bmtable.c: doxygen, small cleanup
16054
16055         * LaTeX.h: remove friend operator==
16056
16057 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16058
16059         * screen.C:
16060         * lyxrc.[Ch]:
16061         * lyxfunc.C:
16062         * lyxfont.[Ch]:
16063         * lyx_cb.C:
16064         * intl.[Ch]:
16065         * commandtags.h:
16066         * buffer.C:
16067         * WorkArea.[Ch]:
16068         * LyXAction.C:
16069         * BufferView_pimpl.C:
16070         * BufferView.[Ch]: remove cruft
16071
16072 2001-02-14  Juergen Vigna  <jug@sad.it>
16073
16074         * lyxfunc.C: removed #if 0 unused code
16075
16076         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16077
16078         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16079
16080         * text2.C (SetSelection): added a BufferView * parameter
16081
16082 2001-02-13  Juergen Vigna  <jug@sad.it>
16083
16084         * lyxfunc.C (Dispatch): fixed protected blank problem.
16085         * BufferView2.C (protectedBlank): added LyxText * parameter.
16086
16087         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16088         (AppendColumn): same as above for column_info.
16089
16090         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16091         (moveCursorUpdate): use a LyXText param for support of InsetText.
16092
16093         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16094         (tripleClick): ditto
16095
16096         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16097
16098         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16099
16100         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16101
16102         * text2.C (SetSelection): set correct update status if inset_owner
16103         (ToggleFree): ditto
16104
16105 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16106
16107         * tabular.C: remove some commented code.
16108
16109 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16110
16111         * BufferView_pimpl.C: call hideSplash()
16112
16113         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16114
16115         * include_form.h:
16116         * bibforms.h: remove
16117
16118         * lyxfunc.C:
16119         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16120           add LFUN_CHILD_CREATE
16121
16122         * counters.h: fix tiny typo
16123
16124         * lyx_cb.C:
16125         * lyx.h:
16126         * lyx_gui.C:
16127         * lyx.C: move splash to frontends/xforms/
16128
16129         * lyx_gui_misc.C: move Include and Bibform to frontends
16130
16131         * lyxvc.h: clarify comment
16132
16133         * vspace.C: tiny housekeeping
16134
16135 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16136
16137         * text.C (PrepareToPrint): RTL Fix.
16138
16139         * paragraph.C (GetUChar): New method.
16140         (String):  Use GetUChar.
16141
16142         * buffer.C (asciiParagraph): Use GetUChar.
16143
16144 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16145
16146         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16147
16148 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16149
16150         * buffer.h:
16151         * buffer.C: rename to getLogName(), handle
16152           build log / latex log nicely
16153
16154 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16155
16156         * MenuBackend.C:
16157         * MenuBackend.h: remove support for reference menuitem type.
16158
16159 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16160
16161         * BufferView_pimpl.C: housekeeping
16162         * BufferView_pimpl.h:
16163         * LyXView.h:
16164         * Makefile.am:
16165         * Timeout.C:
16166         * Timeout.h:
16167         * minibuffer.h: move Timeout GUI-I
16168
16169 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16170
16171         * lyxrc.C (read): Update converters data-structures.
16172
16173 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16174
16175         * LaTeX.h (operator!=): add operator != for Aux_Info
16176
16177 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16178
16179         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16180
16181         * LaTeXLog.C: deleted, useful code moved to Buffer
16182
16183         * buffer.h:
16184         * buffer.C: new function getLatexLogName()
16185
16186         * lyx_gui_misc.C:
16187         * lyx_gui.C:
16188         * lyxvc.C:
16189         * lyxvc.h:
16190         * lyxfunc.C: use frontends for LaTeX and VC logs
16191
16192 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * LaTeX.h: yet another std:: that Allan forgot.
16195
16196         * Variables.C (set): renamed from isset(), because this clashes
16197         with some HP-UX macros (grr).
16198
16199 2001-02-06  Allan Rae  <rae@lyx.org>
16200
16201         * LaTeX.h: Another bug fix.  Missing std:: this time.
16202
16203 2001-02-04  Allan Rae  <rae@lyx.org>
16204
16205         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16206         floats problem. I've left it commented out because it's not quite
16207         correct.  It should also test that the current object is a table or
16208         figure inset.  But I haven't gotten around to figuring out how to do
16209         that.  I *think* it'll be something like: "table" == inset.type()
16210
16211         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16212         bool.
16213
16214 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16215
16216         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16217         all the citation/databases/styles in the auxilary file.
16218         (run): Rerun latex if there was a babel language error.
16219
16220 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16221
16222         * text.C (Backspace): Preserve the font when changing newline char
16223         with a space.
16224         (BreakParagraph): If the cursor is before a space, delete the space.
16225
16226         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16227
16228 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16229
16230         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16231         new argument (code).
16232         (ChangeCitationsIfUnique): New method.
16233
16234         * paragraph.C (GetPositionOfInset): Handle bibkey.
16235
16236 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * BufferView_pimpl.h: change type of Position::par_pos to
16239         LyXParagraph::size_type.
16240
16241 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16242
16243         * BufferView_pimpl.C (savePosition, restorePosition): Write
16244         messages to minibuffer.
16245
16246 2001-01-28  José Matos  <jamatos@fep.up.pt>
16247
16248         * buffer.C (makeDocBookFile): adds support for document language.
16249         A silly restriction on the name of LatexCommand types where removed.
16250         Added support for CDATA sections, allows to chars unescaped, used
16251         among others in code, to avoid escape < and >.
16252
16253 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16254
16255         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16256         saved positions instrad of a stack. Furthermore, a position is
16257         stored using paragraph id/paragraph position.
16258
16259         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16260         Remove LFUN_REF_BACK.
16261
16262 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16263
16264         * converter.C (dvipdfm_options): New method.
16265
16266 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * vspace.C (isValidLength): Fix for empty input string.
16269
16270 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16271
16272         * LyXAction.C (init): change description of LFUN_FIGURE to
16273         "Insert Graphics"
16274
16275 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16276
16277         * LaTeX.C: add using directive
16278
16279 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16280
16281         * MenuBackend.C (expand): Fix the sorting of the formats.
16282
16283 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16284
16285         * lyx_main.C: tiny error message fix
16286
16287 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16290         calling fl_initialize(). This fixes the problem with ',' as
16291         decimal separator in text files.
16292
16293 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * trans.C (process): Fix the keymap bug.
16296
16297 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16298
16299         * LaTeX.C (scanAuxFiles): New method. Provides support for
16300         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16301         (scanLogFile) Scan for "run BibTeX" messages.
16302
16303         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16304         OT1 font encoding. Also, load the aecompl package if the ae
16305         package is loaded.
16306
16307         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16308
16309 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16310
16311         * texrow.C (increasePos): turn two error messages into debug
16312         messages.
16313
16314 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16315
16316         * LaTeX.C (scanAux): Handle the \@input macro.
16317         (runBibTeX): Use scanAux().
16318
16319         * language.C (latex_options_): New field.
16320
16321         * LaTeXFeatures.C (getMacros): Add language macros.
16322
16323         * buffer.C (makeLaTeXFile): Small fix.
16324
16325 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16328
16329         * text2.C: add a using directive.
16330
16331 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16332
16333         * BufferView2.C:
16334         * lyx_gui_misc.h:
16335         * lyxfr1.C:
16336         * lyxfunc.C: kill LyXBell.
16337
16338 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16339
16340         * text.C (IsBoundary): Remove the error message
16341
16342         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16343
16344         * lyxrc.C (setDefaults): Correct initialization value for
16345         font_norm_type.
16346
16347 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16348
16349         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16350         gotoError().
16351
16352         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16353         and GotoNextNote().
16354
16355         * src/LyXAction.C: Added reference-next.
16356
16357         * text.C (InsertChar): Use contains instead of strchr.
16358
16359         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16360
16361 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16362
16363         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16364         alignment commands (when needed).
16365
16366         * text.C (InsertChar): Add ':' to number separator chars.