]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
make gettting the file format from file contents work in the correct way ;-)
[lyx.git] / src / ChangeLog
1 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * format.[Ch] (getFormatFromFile): new method
4         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
5
6 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
9
10 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (dispatch): remove the verbose argument
13         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
14         instead
15
16         * kbmap.C (defkey): set the origin of func to KEYBOARD
17
18         * MenuBackend.C (MenuItem): 
19         * ToolbarBackend.C (add): set the origin of func to UI
20
21         * funcrequest.[Ch]: add origin member, which indicates which part
22         of LyX requests an action
23
24 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * converter.C (move): don't lie in the error message
27         * converter.h (isReachable, move): document
28
29 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * buffer.C: remove unused using lyx::support::atoi
32         * paragraph_funcs.C: ditto
33
34 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
35
36         * bufferlist.C (exists): use bind and equal_to instead of
37         compare_memfun
38         (getBuffer): ditto
39         * lyxtextclasslist.C (NumberOfClass): ditto
40
41         * cursor.C (insert): use for_each instead of explicit for loop
42
43         * bufferlist.C (getFileNames): use std::transform and
44         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
45
46         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
47         for loop
48
49         * buffer.C (changeLanguage): use for_each instead of explicit for
50         loop
51         (hasParWithID): implement using getParFromID
52
53         * LaTeXFeatures.C: ws change only
54
55         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
56         to cleanup a bit.
57
58         * BufferView_pimpl.C (trackChanges): use for_each instead of
59         expilicit for loop
60
61 2004-11-04  André Pönitz  <poenitz@gmx.net>
62
63         * undo.h:
64         * undo.C (textUndoOrRedo): fix crash when creating undo information.
65
66         * dociterator.C (asDocIterator): use hard assert again.
67
68 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * lyxlength.C (asLatexString): rewrite so that it does not use
71         snprintf anymore
72
73 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * text3.C (specialChar, dispatch): make sure cursor moves to the
76         right after inserting an inset
77
78 2004-11-02  José Matos  <jamatos@lyx.org>
79
80         * output_docbook.C (docbook):
81         * paragraph.C (getID):
82         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
83         garantee that the output is always legal.
84
85         * tabular.C (docbook):
86         * outputprams.[Ch]: remove mixed contents.
87
88 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
89
90         * text2.C (setCounter): prevent endless loop
91
92 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * exporter.C (copyFile): use the mover instead of support::copy()
95         * exporter.C (Export): pass format and latex name to copyFile()
96         * exporter.h (addExternalFile): document
97         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
98
99 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
102
103 2004-10-30  José Matos  <jamatos@lyx.org>
104
105         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
106         text and no inset or font change. This allows to use CDATA
107         sections just for the whole paragraph.
108
109 2004-10-30  José Matos  <jamatos@lyx.org>
110
111         * paragraph.C (getFirstWord): remove unused variable.
112
113 2004-10-30  José Matos  <jamatos@lyx.org>
114
115         * paragraph.C (getFirstWord): the content should always be escaped
116         there.
117         (simpleDocBookOnePar):
118         * output_docbook.C (makeEnvironment): replace reference to CDATA
119         to style pass_thru.
120
121 2004-10-30  José Matos  <jamatos@lyx.org>
122
123         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
124
125 2004-10-30  José Matos  <jamatos@lyx.org>
126
127         * output_docbook.C (makeParagraphs):
128         * paragraph.[Ch] (emptyTag): for docbook and company, if the
129         standard paragraph has only a given type of content drop the wrapper.
130
131 2004-10-29  José Matos  <jamatos@lyx.org>
132
133         * output_docbook.C (makeEnvironment):
134         * sgml.C (openTag):
135         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
136
137 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
138
139         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
140         (cleanID): sanitize any id.
141
142 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * buffer.C, lyxlex_pimpl.C:
145         * lyxlex_pimpl.C (setFile):
146         s/getExtFromContents/getFormatFromContents/
147
148 2004-10-28  José Matos  <jamatos@lyx.org>
149
150         * output_docbook.C (makeEnvironment): move id to broadest possible
151         scope.
152
153         * sgml.C (openTag): apply substitution of <> for all attributes.
154
155 2004-10-28  José Matos  <jamatos@lyx.org>
156
157         * buffer.C (makeLinuxDocFile, makeDocBookFile):
158         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
159         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
160
161         * sgml.[Ch]: new version for open and closeTag for paragraph and
162         for strings. Now they handle the ids of paragraphs.
163
164 2004-10-26  Angus Leeming  <leeming@lyx.org>
165
166         * Makefile.am: add mover.[Ch].
167
168         * converter.C (convert, move): use the new Movers to move external
169         files to the temp directory.
170
171         * lyx_main.C (init): ensure that the global system_movers data
172         is initialised.
173
174         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
175         preferences file.
176
177         * mover.[Ch]: new files, defining a Mover as a utility to move an
178         external file between directories and, if necessary, manipulate this
179         file using a helper script.
180
181 2004-10-25  José Matos  <jamatos@lyx.org>
182
183         * output_docbook.C (makeCommand): merge two if's that tested the
184         same condition.
185
186 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * sgml.C (escapeString): fix warning in a better way
189
190 2004-10-25  José Matos  <jamatos@lyx.org>
191
192         * sgml.C (escapeString): import the require boosts header file for
193         tie, and avoid a signed unsigned comparison.
194
195 2004-10-25  José Matos  <jamatos@lyx.org>
196
197         * sgml.h: add #include <string>
198
199 2004-10-25  José Matos  <jamatos@lyx.org>
200
201         * sgml.[Ch] (escapeString): new function to escape all the string.
202
203 2004-10-24  José Matos  <jamatos@lyx.org>
204
205         * paragraph.[Ch] (getFirstWord): new function to get the first
206         word. Useful for description.
207         (simpleDocBookOnePar): remove depth argument, add another that
208         says where to start the paragraph.
209
210         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
211         use the new functions to fix cleanly the support for descriptions.
212
213 2004-10-24  José Matos  <jamatos@lyx.org>
214
215         * buffer.C (makeLinuxDocFile, makeDocBookFile):
216         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
217         * output_linuxdoc.C (linuxdocParagraphs):
218         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
219         add buffer as argument.
220
221 2004-10-24  José Matos  <jamatos@lyx.org>
222
223         * output_docbook.C (makeEnvironment, searchEnvironment): place
224         CDATA inside paragraphs and fix scope for listitems.
225
226 2004-10-24  José Matos  <jamatos@lyx.org>
227
228         * output_docbook.C: remove using statement for stack.
229
230 2004-10-23  José Matos  <jamatos@lyx.org>
231
232         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
233         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
234         docbook. The new scheme is recursive and makes use of iterators, the
235         same as latex export works.
236         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
237         directly with the paragraph contents. This code was moved up to
238         output_docbook.C (docbookParagraphs).
239         * sgml.C (openTag, closeTag): removed unneeded newlines.
240         (closeEnvTags) removed.
241
242 2004-10-23  André Pönitz  <poenitz@gmx.net>
243
244         * undo.C (textUndoOrRedo):
245         * dociterator.C (asDocIterator): work around crash
246
247         * cursor.C (getStatus): replace ASSERT by more verbose error message
248           and manual correction of the problem. Should increase stability
249           while providing more sensible information.
250
251 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
254
255         * bufferlist.C (previous, next): new methods
256
257         * lfuns.h:
258         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
259
260 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
261
262         * buffer.C (makeDocBookFile): add dsssl stylesheet control
263         entities to preamble.
264
265 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * messages.C (Pimpl): strip off translation context information
268
269 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
272         the cursor is correct (bug 1694)
273
274 2004-10-13  José Matos  <jamatos@lyx.org>
275
276         * output_docbook.C (docbookParagraphs): fix closing tags in the
277         end of the document.
278
279 2004-10-09  José Matos  <jamatos@lyx.org>
280
281         * buffer.C: format up to 237.
282         * bufferparams.C (write): use tostr to convert booleans to strings.
283
284 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
285
286         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
287
288 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * LaTeX.C: implement use of babel language in xindy.
291
292 2004-10-05  José Matos  <jamatos@lyx.org>
293
294         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
295         Add new translators to help reading and writing the lyx file.
296
297 2004-10-05  José Matos  <jamatos@lyx.org>
298
299         * ParagraphParameters.C (read):
300         * text.C (readParToken): replace nexToken by more appropriate lex
301         methods.
302
303 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
304
305         * LaTeX.C (runMakeIndex):
306         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
307         (usually 'makeindex') configurable.
308
309         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
310         with a variable rather than with a number.
311
312 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * output_latex.C (TeXOnePar): make sure font setting is the first
315         thing that gets output (and the last at the end). Should fix bug
316         1404.
317
318 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * pch.h: use proper signal include
321
322         * LaTeX.h: Use preferred calling of Boost.Signal
323         * buffer.h: ditto
324
325 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * pch.h: dont include <boost/function/function0.hpp>
328
329         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
330
331         * paragraph_pimpl.h: remove usage of ShareContainer
332
333         * paragraph_pimpl.C: remove initialization of ShareContainer.
334
335 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         Fix bug #1666
338
339         * BufferView.C (putSelectionAt): change the semantics when
340         backwards == true: now, this just swaps cursor and anchor wrt the
341         forward case
342
343         * BufferView.h (putSelectionAt): add some documentation
344
345         * lyxfind.C (findBackwards): rewrite using while(). In particular,
346         make sure backwardChar is done at least once (to avoid getting
347         stuck)
348         (findNextChange): use putSelectionAt in the forward direction
349         (operator()): use Paragraph::isWord
350
351 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
352
353         * Spacing.C (set): c_str fix
354
355 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * lyx_cb.C (Reconfigure): quote the name of configure script in
358         case it contains spaces
359
360 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
361
362         * client: new dir
363
364         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
365         (BOOST_LIBS): use top_buildir when looking for the file
366
367 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
368
369         * pch.h: do not use include boost/format.hpp, multiple symbols
370                 will result (gcc bug)
371
372
373 2004-08-23  José Matos  <jamatos@lyx.org>
374
375         * bufferparams.C (readToken): fix reading of the author field.
376
377 2004-08-20  José Matos  <jamatos@lyx.org>
378
379         * lyxrc.C: remove support/translator.h inclusion since it is not used.
380
381 2004-08-20  José Matos  <jamatos@lyx.org>
382
383         * lyxlex.[Ch] (findToken): remove function.
384
385         * ParagraphParameters.C (findToken):
386         * bufferparams.C (findToken): replace call for previous function
387         with local copy. This local function has one more argument, the
388         read string argument.
389
390 2004-08-16  José Matos  <jamatos@lyx.org>
391
392         * ParagraphParameters.C (write):
393         * Spacing.C (writeFile):
394         * bufferparams.C (writeLaTeX):
395         * lyx_cb.C (Reconfigure):
396         * paragraph.C (write):
397         * tabular.C (write): remove unnecessary space at end of line.
398
399
400 2004-08-16  José Matos  <jamatos@lyx.org>
401
402         * text.C (readParagraph): remove debug message.
403
404 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
407         crash
408
409         * output_plaintext.C (asciiParagraph): set depth correctly
410
411         * outputparams.h: add member depth
412
413         * paragraph_funcs.C (ownerPar): remove.
414
415         * text2.C (setCounter): remove first_pit; comment out some
416         non-working code that uses ownerPar
417
418         * BufferView.C (getParentLanguage): remove. Not used anymore, and
419         uses ownerPar
420
421 2004-08-16  José Matos  <jamatos@lyx.org>
422
423         * text.C (readParToken, readParagraph, read): report all unknown tokens.
424         For the same level of importance use the same chanel to report problems.
425         (read): add code to deal with \begin_body and \end_body.
426
427
428 2004-08-15  José Matos  <jamatos@lyx.org>
429
430         * lyxlex.C (getString): fix comment, buffer::readBody is now
431         buffer:readDocument.
432
433         * tex-strings.C (string_papersize): Default -> default,
434         Custom -> custom, for consistency with other options.
435
436 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
437
438         * pch.h: new file
439
440         * Makefile.am: support pch
441
442 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * text.C (readParToken): remove the static LyXFont variable and
445         pass it as a parameter instead. This fixes a nasty bug where an
446         inset will be inserted with a bad font in some situations
447         (readParagraph): adapt
448
449         * text2.C (setCounter): reduce number of calls to pars_[pit]
450
451         * text.C (singleWidth): add an assert, fix a test
452
453         * rowpainter.C (paintText): reduce number of calls to singleWidth
454
455         * paragraph.C (isHfill):
456         (isNewline): ws only
457
458 2004-08-14  André Pönitz  <poenitz@gmx.net>
459
460         * text.C:
461         * text2.C:
462         * rowpainter.C:
463         * lyxtext.h (several functions): use a Paragraph & argument
464         instead of par_type
465
466 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * metricsinfo.h: add a new field ltr_pos to PainterInfo
469
470         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
471
472         * text.C (singleWidth): remove useless test
473
474 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * tabular.h: remove bogus comments
477
478         * tabular.C (getDescentOfRow):
479         (isPartOfMultiColumn): add assertions
480
481         * lyxlength.C (inPixels): remove #warning
482
483 2004-08-14  André Pönitz  <poenitz@gmx.net>
484
485         * paragraph.h: inline getChar()
486
487         * BufferView.h: remove unused declarations
488
489 2004-08-14  José Matos  <jamatos@lyx.org>
490
491         * Buffer.[Ch] (readDocument): new name for old readBody.
492         * Buffer.C: new file format, new keywords: \begin_document,
493         \begin_header, \begin_body, \end_body.
494
495         * bufferparams.C (readToken): replace all calls to lex.nextToken
496         by lex.next(). Do the same to eatLine except where really needed.
497
498         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
499         line when writing to the lyx file.
500
501         * output_plaintext.C (asciiParagraph): fix Bibliography style
502         handling.
503
504         * text.C (read): fix end of file handling.
505
506 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * MenuBackend.C (Menu::operator[]): new method to access
509         individual menu items
510         (Menu::hasFunc): new method. search for an item that corresponds
511         to a given func
512         (MenuBackend::specialMenu): new method
513         (MenuBackend::expand): if a special menu has been set, skip
514         entries whose func() appears in this menu
515
516 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
517
518         * text3.C: use Debug::DEBUG a bit more
519
520         * text.C (leftMargin): try to simplify a tiny bit change var x to
521         l_margin. Dont output the wide margins always.
522         (rightMargin): no margin in inner texts
523
524         * rowpainter.h (nestMargin): new func
525         (changebarMargin): new func
526         (rightMargin): new func
527
528         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
529         now functions.
530         (paintLast): ditto
531
532         * factory.C (createInset): modify setDrawFrame
533
534         * cursor.C: use Debug::DEBUG a bit more
535
536 2004-08-14  André Pönitz  <poenitz@gmx.net>
537
538         * coordcache.[Ch]:
539         * Makefile.am: new files to accomodate an 'external' (x,y)-position
540         cache for all insets in (at least partially) visible (top-level)
541         paragraphs.
542
543         * BufferView_pimpl.C: reset external coord cache before every update.
544         This means the coord cache only contains valid entries.
545
546 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
547
548         bug 1096
549         * BufferView_pimpl.C (getInsetByCode): move function out of class
550         and change in to a template in anon namespace. Also fix to do what
551         suits us better.
552
553 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
554
555         bug 1305
556         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
557         of char
558         (breakParagraph): rename par to par_offset and use a local
559         reference. Add code to keep the language over a rebreak.
560         (breakParagraphConservative): rename par to par_offset, use a
561         local reference
562         (mergeParagraph): ditto
563         (outerHook): ditto
564         (isFirstInSequence): ditto
565         (outerFont): rename pit to par_offset
566
567         * paragraph.C: ws change
568         * paragraph.h: ditto
569         * text3.C: ditto
570         * text.C: ditto
571
572 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
575         treatment for ']'
576
577         * paragraph.C (simpleTeXOnePar): when we have a \item with
578         optional argument, enclose the argument with curly brackets (in
579         case it contains a closing square bracket)
580
581         * text2.C (editXY):
582         * text2.C (editXY):
583         * text3.C (checkInsetHit): constify
584
585 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
588         documents (bug 1629)
589
590 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         Fix toggling of collapsable insets with the mouse (bug 1558)
593
594         * lyxfunc.C (dispatch): adapt to LCursor changes
595
596         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
597         make sure that dispatch is not invoked twice
598
599         * cursor.C (needsUpdate): new method
600         (dispatch): return void
601         (result): new method, to access the DispatchResult of the cursor.
602
603 2004-08-13  José Matos  <jamatos@lyx.org>
604
605         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
606
607 2004-08-13  André Pönitz  <poenitz@gmx.net>
608
609         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
610
611         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
612           multiple cells
613
614 2004-08-12  André Pönitz  <poenitz@gmx.net>
615
616         * text3.C: take out the 'cursor right' form insertInset and only
617         do it in those places when it is really needed. Fixes crash on
618         C-m...
619
620 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
623
624         * BufferView_pimpl.C (setBuffer): initialize the current font of
625         the underlying LyXText
626
627 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * kbsequence.C (print): use UI native formatting for menu
630         shortcuts
631
632         * text.C (insertChar): call Paragraph::insertChar with a font
633         argument (cosmetic)
634
635         * paragraph.C (insertInset, insertChar): the version that takes a
636         LyXFont argument is now a wrapper around the other one (the
637         opposite used to be true).
638
639         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
640         argument. Font setting is done in Paragraph now.
641
642 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * outputparams.h: add new members intitle and lang.
645
646         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
647         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
648
649 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * text3.C (dispatch): remove special handling of button 4 and 5,
652         it is now taken care of in the frontend code.
653
654 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * Spacing.h: add <string> (STLPort compile fix)
657
658 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
659
660         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
661
662 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
663
664         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
665         to bool.
666
667         * converter.C (showMessage): inherit from unary_function, make
668         operator() const.
669
670         * buffer.C (writeFile): initialize retval
671
672         * InsetList.h: rename private variable list to list_
673         * InsetList.[Ch]: adjust accordingly.
674
675 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
678         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
679         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
680         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
681         * ParagraphParameters.C, LaTeXFeatures.C: replace
682         "support/std_sstream.h" with <sstream>
683
684 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
685
686         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
687         * lyxsocket.C (LyXServerSocket): ditto
688         (serverCallback): ditto
689
690 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
691
692         * LaTeXFeatures.C: check release date when loading jurabib.
693
694 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
695
696         * lyxserver.C (startPipe): call register_socket_callback
697         (endPipe): call unregister_socket_callback
698
699 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
700
701         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
702         (LyXServerSocket): register the callback
703         (LyXServerSocket): unregister the callback
704         (fd): delete function
705         (serverCallback): improve error checking and setup the callbacks.
706         (dataCallback): change arg to fd.
707         (writeln): new func (copied fro the client socket) used for server
708         write to client.
709         (LyXDataSocket): simplify
710         (~LyXDataSocket): close ann unregiser callback
711         (server): delete function
712         (fd): delete function
713         (readln): small changes, improve some std::string usage
714         (writeln): constify a bit
715
716 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
717
718         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
719         Qt frontend
720
721 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * BufferView_pimpl.C (setBuffer): set the layout combox value only
724         after it has been populated
725
726 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * text2.C (insertInset): move cursor when inserting inset.
729
730 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * kbmap.C (findbindings): a couple of new methods. returns a
733         container of kb_sequence objects. The real work is done by the
734         private recursive version
735         (printbindings): uses findbindings to print out a bracketed list
736         of bindings (renamed from findbinding).
737
738         * MenuBackend.C (binding): use kb_keymap::findbindings
739
740         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
741
742 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
743
744         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
745
746 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * paragraph.C (isWord): return true on insets that report
749         isLetter().
750
751         * text.C (getWord): use Paragraph::isWord to decide what is in a
752         word and what is not; fix bug 1609.
753
754 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
755
756         * tex-strings.C: add "none" to string_paperpackages[], fixes
757         off-by-one-error in the paperpackage selection.
758
759         * lyxlex.[Ch]:
760         * tex-strings.[Ch]: char const * string[n]
761         -> char const * const string[]
762
763 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
766         command, return early.
767
768 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
769
770         * debug.h: add DEBUG to enum and fix size of ANY.
771
772         * debug.C: add support for Debug::DEBUG
773         (showTags): cast errorTags.level to unsigned int
774
775         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
776         (redoCurrentBuffer): ditto
777         (updateScrollbar): ditto
778         * cursor.C (dispatch): ditto
779         * text2.C (setLayout): ditto
780         (setFont): ditto
781         (updateCounters): ditto
782         (editXY): ditto
783         (deleteEmptyParagraphMechanism): ditto
784
785 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
788         annotations to cleanup the Makefile slightly.
789
790 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * lyxrc.C: do not set user_email to a default value but use empty
793         instead. The entry used to be translated, which does not work
794         since at the point where lyxrc is constructed there is no
795         translation service available
796
797         * messages.C (getLocaleDir): remove and use directly
798         lyx_localedir() instead
799
800 2004-06-02  Angus Leeming  <leeming@lyx.org>
801
802         Fix crash caused by dereferencing null pointer 'exportdata' in
803         OutputParams by creating a new ExportData variable on the heap,
804         storing it in a boost::shared_ptr.
805         The crash was triggered when generating an Instant Preview
806         of an external inset.
807
808         * Makefile.am: add outputparams.C
809
810         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
811         (c-tor): allocate memory to it.
812
813         * exporter.C (c-tor): associated changes.
814
815 2004-06-01  Angus Leeming  <leeming@lyx.org>
816
817         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
818         contains data before calling isInset(0). (Bug 1513.)
819
820 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
821
822         * exporter.C (checkOverwrite): new method
823         * exporter.C (copyFile): new method
824         * exporter.C (Export): copy referenced files to the document dir
825         * exporter.[Ch]: new class ExportedFile
826         * exporter.[Ch]: new class ExportData. Contains currently the
827         names of referenced external files
828         * outputparams.h: add exportdata member.
829
830 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
833         version.C-tmp
834
835 2004-05-19  Angus Leeming  <leeming@lyx.org>
836
837         * LaTeXFeatures.C:
838         * ToolbarBackend.C:
839         * bufferparams.C:
840         * lyxfunc.C: small changes due to the introduction of namespace
841         lyx::frontend and the moving of namespace biblio to lyx::biblio.
842
843 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
844
845         * text3.C (dispatch): supress update when only moving the cursor
846         * cursor.C (selHandle): remove commented code
847
848 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
849
850         * paragraph.C (startTeXParParams): correct column count
851         * CutAndPaste.C (pasteSelection): remove const_cast
852         * output_docbook.C (docbookParagraphs): remove const_cast
853         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
854         const_cast and return ParagraphList::const_iterator
855         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
856         * output_plaintext.C (writeFileAscii): remove const_cast
857         * paragraph.[Ch] (simpleTeXOnePar): make const
858         * paragraph_funcs.C (outerPar): use const iterators
859         * paragraph_pimpl.C (validate): use const iterators
860         * text.C (setHeightOfRow): use const iterators
861
862 2004-05-17  Angus Leeming  <leeming@lyx.org>
863
864         * lfuns.h:
865         * LyXAction.C (init): new LFUN_INSET_REFRESH.
866
867         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
868         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
869         if the citation engine has changed.
870
871 2004-05-14  José Matos  <jamatos@lyx.org>
872
873         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
874         if the textclass does not provide it. Have it different for sgml and
875         xml.
876         support the language of document.
877         * output_docbook.C (docbookParagraphs):
878         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
879         first anchor as the id of the paragraph, remove special case code.
880         * sgml.C (escapeChar): escape only < & >.
881
882 2004-05-14  Angus Leeming  <leeming@lyx.org>
883
884         * bufferparams.h: move biblio::CiteEngine enum here to minimize
885         dependencies on src/frontends/controllers/biblio.h. Define a
886         CiteEngine_enum wrapper class to enable the enum to be forward
887         declared.
888
889 2004-05-12  Angus Leeming  <leeming@lyx.org>
890
891         * buffer.C: up LYX_FORMAT to 234.
892         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
893         use_numerical_citations with a single biblio::CiteEngine cite_engine
894         variable.
895         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
896
897 2004-05-13  José Matos  <jamatos@lyx.org>
898
899         * converter.h:
900         * converter.C (Converter, readFlags): add xml member.
901         * outputparams.h: add XML flavor.
902         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
903
904 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lyxfunc.C (dispatch):
907         (getStatus): fix handling of LFUN_SEQUENCE
908
909 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * debug.C (showLevel): do not forget the end-of-line marker
912
913 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * kbmap.C (read): do not stop parsing a bind file when an error
916         occurs (bug 1575)
917
918 2004-04-29  Angus Leeming  <leeming@lyx.org>
919
920         * cursor.C:
921         * factory.C:
922         * pariterator.C:
923         * text2.C: wrap a bunch of #warning statements
924         inside #ifdef WITH_WARNINGS blocks.
925
926 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * buffer.C: increment format to 233.
929
930 2004-04-28  Angus Leeming  <leeming@lyx.org>
931
932         * BufferView_pimpl.C:
933         * lyxfunc.C:
934         * text3.C:
935         s/updateToolbar()/updateToolbars()/
936         s/Toolbar.h/Toolbars.h/
937
938 2004-04-28  Angus Leeming  <leeming@lyx.org>
939
940         * BufferView.[Ch] (c-tor):
941         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
942         No longer passes these data to the WorkArea generator.
943
944 2004-04-28  Angus Leeming  <leeming@lyx.org>
945
946         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
947
948 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
951
952 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953
954         * output_latex.C (TeXEnvironment): make sure that there is a line
955         break before \end{foo} for the last paragraph of a document
956         (TeXOnePar): if the paragraph is at the end of the document (or
957         inset) and the language has to be reset, then make sure that the
958         line break is _before_ the language command, not after (fixes bug
959         1225); also make sure that the language reset command is the first
960         thing after the paragraph (to ensure proper nesting of
961         environments and thus fix bug 1404)
962
963 2004-04-21  John Levon  <levon@movementarian.org>
964
965         * ToolbarBackend.h:
966         * ToolbarBackend.C: make "name" be a programmatic name
967         and a gui_name field.
968
969         * lyxfunc.C: display the minibuffer on M-x
970
971 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
974         (bug 1526)
975
976 2004-04-19  Angus Leeming  <leeming@lyx.org>
977
978         * BufferView_pimpl.C (setBuffer): changed preview interface.
979
980         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
981         possible values.
982
983 2004-04-19  John Levon  <levon@movementarian.org>
984
985         * BufferView_pimpl.C:
986         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
987
988 2004-04-05  Angus Leeming  <leeming@lyx.org>
989
990         * text.C (redoParagraphs): add call to updateCounters(), thereby
991         fixing the missing "Figure #:" label from the caption of a
992         figure float.
993
994 2004-04-13  Angus Leeming  <leeming@lyx.org>
995
996         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
997         cursor is clicked out of an inset.
998
999 2004-04-13  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1002         than an InsetOld one.
1003
1004 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1005
1006         * format.[Ch]: add editor to Format
1007         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1008         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1009
1010 2004-04-08  André Pönitz  <poenitz@gmx.net>
1011
1012         * metricsinfo.h: remove PainterInfo::width member
1013
1014 2004-04-08  Angus Leeming  <leeming@lyx.org>
1015
1016         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1017         "\providecommand" rather than "\newcommand", thereby preventing
1018         clashes with packages that define "\boldsymbol" themselves.
1019         Eg, beamer.
1020
1021 2004-04-08  Angus Leeming  <leeming@lyx.org>
1022
1023         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1024         thereby squashing an unnecessary warning.
1025
1026 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1027
1028         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1029         setBuffer()
1030
1031 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1032
1033         * BufferView.C (setCursor): call redoParagraph (some insets could
1034         have been opened)
1035         (putSelectionAt): remove the 'double update' trick
1036
1037         * BufferView_pimpl.C (fitCursor): call refreshPar
1038         (workAreaDispatch): remove an uneeded update call
1039         (dispatch): remove some manual update calls
1040
1041         * cursor.[Ch]: remove cached_y_, updatePos
1042         (selHandle): set noUpdate when appropriate
1043
1044         * lyxfunc.C (dispatch): track if we need an update
1045
1046         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1047
1048         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1049         (paintSelection): cheap optimization, do not call cursorX when not
1050         needed
1051         (paintPars): change signature
1052         (refreshPar): add
1053         (paintText): adjust
1054         (paintTextInset): adjust
1055
1056         * text.C: adjust
1057
1058 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * lengthcommon.C: compilation fix: remove explicit array size from
1061         unit_name[] and friends
1062
1063 2004-04-05  Angus Leeming  <leeming@lyx.org>
1064
1065         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1066
1067         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1068         present only for the preferences dialog.
1069         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1070
1071 2004-04-05  Angus Leeming  <leeming@lyx.org>
1072
1073         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1074         to enable the frontends to export changes to lyxrc correctly.
1075
1076         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1077
1078 2004-04-07  André Pönitz  <poenitz@gmx.net>
1079
1080         * cursor.[Ch] (selClear, adjust): remove math
1081
1082         * cursor_slice.C: more agressive assert
1083
1084         * lyxfunc.C:
1085         * BufferView_pimpl.C: rework mouse event dispatch
1086
1087         * dociterator.C:
1088         * paragraph.C:
1089         * text2.C:
1090         * text3.C: adjust
1091
1092 2004-04-05  André Pönitz  <poenitz@gmx.net>
1093
1094         * cursor.[Ch] (valign, halign...): remove unneeded functions
1095
1096 2004-04-05  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyxlength.[Ch] (unit_name et al.): const-correct.
1099
1100 2004-04-05  Angus Leeming  <leeming@lyx.org>
1101
1102         * BufferView_pimpl.C:
1103         * buffer.C:
1104         * counters.C:
1105         * cursor.C:
1106         * lyxfunc.C
1107         * paragraph.C:
1108         * pariterator.C:
1109         * text.C:
1110         * text2.C:
1111         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1112
1113 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1114
1115         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1116
1117 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1120         * BufferView_pimpl.[Ch] (getStatus)
1121         * BufferView.[Ch] (getStatus): add
1122         * lyxfunc.C (getStatus): move lfuns handled in
1123         BufferView::dispatch to te function above
1124         * Cursor.C (setSelection): set selection() = true
1125
1126 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1129
1130 2004-03-31  Angus Leeming  <leeming@lyx.org>
1131
1132         * lyxfunc.C (dispatch): Fall through to the generic
1133         Dialogs::show("preamble").
1134
1135 2004-03-31  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyxfunc.C (dispatch): Fall through to the generic
1138         Dialogs::show("spellchecker").
1139
1140 2004-03-31  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1143         preferences dialog.
1144
1145 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * BufferView.C
1148         * cursor.[Ch]
1149         * dociterator.[Ch]:
1150         * insetiterator.[Ch]:
1151         * lyxfind.C:
1152         * lyxfunc.C:
1153         * pariterator.[Ch]:
1154         * text2.C:
1155         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1156
1157 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1160         insets where we are putting the cursor.
1161
1162 2004-03-31  Angus Leeming  <leeming@lyx.org>
1163
1164         * lfuns.h:
1165         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1166
1167         * lyxrc.[Ch] (read, write): overloaded member functions taking
1168         a std::[io]stream arguments.
1169
1170         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1171
1172 2004-03-31  Angus Leeming  <leeming@lyx.org>
1173
1174         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1175         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1176
1177         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1178         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1179
1180 2004-03-31  Angus Leeming  <leeming@lyx.org>
1181
1182         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1183         the LFUN_ALL_INSETS_TOGGLE code.
1184
1185 2004-03-30  Angus Leeming  <leeming@lyx.org>
1186
1187         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1188         has died. Fall through to the generic Dialogs::show("document").
1189
1190 2004-03-30  Angus Leeming  <leeming@lyx.org>
1191
1192         * lfuns.h:
1193         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1194         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1195
1196         * lyxfunc.C (getStatus, dispatch): define the actions for these
1197         lfuns. Little more than a cut and pste job from ControlDocument.C
1198
1199         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1200
1201 2004-03-30  Angus Leeming  <leeming@lyx.org>
1202
1203         * lfuns.h:
1204         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1205         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1206
1207         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1208         open/closed state of ollapsable insets. Usage:
1209
1210         all-inset-toggle <state> <name>, where
1211         <state> == "open" || "closed" || "toggle" and
1212         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1213
1214         * lyxtext.h, text2.C (toggleInset): removed.
1215
1216         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1217         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1218         now passes LFUN_INSET_TOGGLE to the found inset.
1219
1220         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1221         is now invoked as "all-insets-toggle toggle branch".
1222
1223 2004-03-30  Angus Leeming  <leeming@lyx.org>
1224
1225         * dociterator.C:
1226         * insetiterator.C:
1227         * pariterator.[Ch]: added/corrected header blurb.
1228
1229 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * dociterator.[Ch]: add an inset_ member
1232         (backwardPos): implemented
1233         (backwardPos, forwardPos): use inset_ when the stack is empty.
1234         (doc_iterator_begin, doc_iterator_end): implemented
1235         * pariterator.[Ch]: adjust, add begin, end
1236         * insetiterator.[Ch]: adjust, add begin, end
1237         * cursor.C:
1238         * document.C:
1239         * BufferView.C:
1240         * BufferView_pimpl.C:
1241         * CutAndPaste.C: adjust
1242
1243 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1244
1245         * buffer.C: increment file format to 232.
1246         * LaTeXFeatures.C: add bibtopic package.
1247         * bufferparams.[Ch]: param \use_bibtopic.
1248
1249         * lyxrc.[Ch]: add lyxrc bibtex_command
1250         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1251
1252         * buffer.C: increment file format to 231.
1253
1254 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1255
1256         * dociterator.C: implement forwardPar
1257         * iterators.[Ch]: remove, replaced by
1258         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1259         * BufferView.C:
1260         * BufferView_pimpl.C:
1261         * CutAndPaste.C:
1262         * buffer.C:
1263         * bufferview_funcs.C:
1264         * cursor.C:
1265         * lyxfind.C
1266         * lyxfunc.C
1267         * paragraph_funcs.C
1268         * toc.C:
1269         * Makefile.am: adjust
1270
1271 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1272
1273         * CutAndPaste.C (pasteSelection): fix 2 crashes
1274         (eraseSelection): fix a crash
1275         * paragraph_funcs.C: remove a warning
1276
1277 2004-03-28  Angus Leeming  <leeming@lyx.org>
1278
1279         * lfuns.h:
1280         * LyXAction.C (init): new LFUN_PRINT.
1281
1282         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1283
1284 2004-03-27  Angus Leeming  <leeming@lyx.org>
1285
1286         * lfuns.h:
1287         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1288
1289         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1290
1291 2004-03-27  Angus Leeming  <leeming@lyx.org>
1292
1293         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1294         insetlist always contains non-null pointers to insets.
1295
1296 2004-03-26  Angus Leeming  <leeming@lyx.org>
1297
1298         * src/BufferView_pimpl.C:
1299         * src/CutAndPaste.C:
1300         * src/buffer.C:
1301         * src/iterators.C:
1302         * src/output_plaintext.C:
1303         * src/outputparams.h:
1304         * src/paragraph_funcs.C:
1305         * src/rowpainter.C:
1306         * src/text.C:
1307         * src/text2.C:
1308         * src/frontends/controllers/ControlErrorList.C:
1309         * src/frontends/gtk/FileDialogPrivate.C:
1310         * src/frontends/gtk/GPainter.C:
1311         * src/frontends/gtk/GToolbar.C:
1312         * src/frontends/qt2/QRef.C:
1313         * src/mathed/math_scriptinset.C: squash compiler warnings.
1314
1315 2004-03-26  Angus Leeming  <leeming@lyx.org>
1316
1317         * ispell.C (LaunchIspell::start):
1318         * lyx_cb.C (AutoSaveBuffer::start):
1319         invoke run(DontWait) rather than runNonBlocking().
1320
1321 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1324
1325 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * kbsequence.C (print): adjust
1328
1329         * kbmap.C (printKeySym): rename and change signature
1330         (printKey): use LyXKeySym::print()
1331
1332 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1333
1334         * undo.C: add using std::advance to compile for stlport
1335
1336 2004-03-24  Angus Leeming  <leeming@lyx.org>
1337
1338         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1339         it leads to a crash when no buffer is present.
1340
1341 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342             Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * lyxfunc.C (dispatch):
1345         * bufferparams.C (readToken): use the new LColor::setColor
1346
1347         * LColor.[Ch] (setColor): new version that takes two strings as
1348         argument and creates a new color entry if necessary
1349
1350 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1351
1352         * buffer.C (makeLaTeXFile): if the main latex file that is
1353         processed is usually a subdocument of some master, then pretend
1354         for a while that it is actually the master
1355
1356 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1357
1358         * buffer.C (getLabelList):
1359         (getBibkeyList): use getMasterBuffer()
1360         (getMasterBuffer): new method. Returns the main document in the
1361         case where one is using included documents.
1362
1363 2004-03-25  André Pönitz  <poenitz@gmx.net>
1364
1365         * Makefile.am:
1366         * iterators.[Ch]:
1367         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1368
1369         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1370
1371         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1372         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1373
1374         * ParameterStruct.h: merge with ParagraphParameters
1375
1376         * lyxtext.h: remove LyXText::parOffset() and getPar()
1377
1378         * text3.C: Remove all 'manual' update calls. We do now one per user
1379         interaction which is completely sufficient.
1380
1381         * Bidi.C:
1382         * BufferView.[Ch]:
1383         * BufferView_pimpl.C:
1384         * FontIterator.[Ch]:
1385         * MenuBackend.C:
1386         * ParagraphParameters.[Ch]:
1387         * buffer.C:
1388         * buffer.h:
1389         * bufferlist.C:
1390         * cursor.[Ch]:
1391         * cursor_slice.[Ch]:
1392         * dociterator.[Ch]:
1393         * errorlist.[Ch]:
1394         * factory.C:
1395         * lfuns.h:
1396         * lyxfind.C:
1397         * lyxfunc.C:
1398         * output_docbook.[Ch]:
1399         * output_latex.[Ch]:
1400         * output_linuxdoc.[Ch]:
1401         * output_plaintext.[Ch]:
1402         * paragraph.[Ch]:
1403         * paragraph_funcs.[Ch]:
1404         * paragraph_pimpl.[Ch]:
1405         * rowpainter.C:
1406         * tabular.[Ch]:
1407         * text.C:
1408         * text2.C:
1409         * toc.C:
1410         * undo.[Ch]: adjust
1411
1412         * frontends/controllers/ControlDocument.C:
1413         * frontends/controllers/ControlErrorList.C:
1414         * frontends/controllers/ControlSpellchecker.C:
1415         * insets/inset.C:
1416         * insets/inset.h:
1417         * insets/insetbase.h:
1418         * insets/insetbibitem.C:
1419         * insets/insetbox.C:
1420         * insets/insetbranch.C:
1421         * insets/insetcaption.C:
1422         * insets/insetcharstyle.C:
1423         * insets/insetcharstyle.h:
1424         * insets/insetcollapsable.C:
1425         * insets/insetcollapsable.h:
1426         * insets/insetert.C:
1427         * insets/insetfloat.C:
1428         * insets/insetfoot.C:
1429         * insets/insetmarginal.C:
1430         * insets/insetnote.C:
1431         * insets/insetoptarg.C:
1432         * insets/insettabular.C:
1433         * insets/insettext.C:
1434         * insets/insettext.h:
1435         * insets/insetwrap.C:
1436         * mathed/math_mboxinset.C:
1437         * mathed/math_nestinset.C:
1438         * mathed/math_scriptinset.C:
1439         * mathed/math_scriptinset.h:
1440         * support/types.h:
1441
1442 2004-03-24  Angus Leeming  <leeming@lyx.org>
1443
1444         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1445         deal with any child processes that have finished but are waiting to
1446         communicate this fact to the rest of LyX.
1447
1448 2004-03-24  Angus Leeming  <leeming@lyx.org>
1449
1450         64-bit compile fixes.
1451
1452         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1453         (c-tor): pass lyx::pos_types rather than ints.
1454
1455         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1456         lyx::pos_type.
1457
1458         * text.C (Delete): compile fix.
1459         (getPar): ensure that function declaration is the same as that in
1460         the header file.
1461
1462 2004-03-23  Angus Leeming  <leeming@lyx.org>
1463
1464         * ispell.C (LaunchIspell):
1465         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1466         a boost::shred_ptr rather than a std::auto_ptr.
1467
1468 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1469
1470         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1471         handle LFUN_FILE_INSERT_*
1472
1473         * lyxrc.C (setDefaults, getDescription, output, read):
1474         * lyxrc.h: remove ps_command
1475
1476 2004-03-22  Angus Leeming  <leeming@lyx.org>
1477
1478         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1479         Ensure that error_handler is processed once only and that all data
1480         is saved before attempting to output any warning messages.
1481
1482         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1483
1484 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1485
1486         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1487
1488 2004-03-19  André Pönitz  <poenitz@gmx.net>
1489
1490         * cursor.[Ch] (reset): take main text inset as argument
1491
1492         * BufferView: adjust
1493         * BufferView_pimpl.C: adjust
1494
1495         * paragraph.[Ch]: fix completely broken operator=()
1496
1497 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * LColor.C (getFromLyXName): make sure that the color name is used
1500         as lowercase.
1501
1502 2004-03-17  Angus Leeming  <leeming@lyx.org>
1503
1504         * lfuns.h:
1505         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1506
1507         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1508         dialog and to kill a forked process.
1509
1510 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1511
1512         * text2.C (setCursorFromCoordinates): fix font problem
1513
1514 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1517         bogus "rebuild cursor" code
1518
1519 2004-03-11  André Pönitz  <poenitz@gmx.net>
1520
1521         * buffer.[Ch]: use InsetText instead of LyXText as container for
1522         the main lyx text.
1523
1524         * dociterator.[Ch]: drop the BufferView * member which is not needed
1525         anymore after the change to buffer.C
1526
1527         * paragraph_funcs.C:
1528         * text.C:
1529         * text2.C:
1530         * BufferView.[Ch]:
1531         * BufferView_pimpl.[Ch]:
1532         * cursor.[Ch]:
1533         * cursor_slice.[Ch]: adjust
1534
1535         * text3.C: fix bug in mathDispatch
1536
1537 2004-03-08  André Pönitz  <poenitz@gmx.net>
1538
1539         * undo.[Ch]: use 'StableDocumentIterator' as base for
1540         the Undo struct.
1541
1542 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1543
1544         * LaTeXFeatures.C:
1545         * bufferparams.[Ch]: add jurabib support and param.
1546
1547         * LaTeX.C: add FIXME/comment.
1548
1549 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1550
1551         * buffer.C: increment file format to 230.
1552
1553 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * cursor.C (dispatch): avoid infinite loops
1556
1557 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * rowpainter.C (paintSelection): fix x coordinates
1560
1561 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * text.C (rowBreakPoint): fix breaking before displayed insets
1564
1565 2004-03-01  André Pönitz  <poenitz@gmx.net>
1566
1567         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1568
1569         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1570
1571         * Makefile.am:
1572         * BufferView.C:
1573         * BufferView_pimpl.C:
1574         * buffer.C:
1575         * lyxfind.C:
1576         * lyxfunc.C:
1577         * text.C:
1578         * text2.C:
1579         * text3.C: adjust
1580
1581 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * lyxtext.h:
1584         * text.C:
1585         * text2.C:
1586         * rowpainter.C:
1587         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1588         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1589
1590 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1591
1592         * Bidi.[Ch] (computeTables): const correctness
1593         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1594         fill_hfill, fill_label_hfill and x from Row
1595         * lyxtext.h: prepareToPrint returns a RowMetrics
1596         * rowPainter.C: adjust
1597         * text.C (prepareToPrint): use width, not textWidth. adjust
1598         (redoParagraphInternal, cursorX): adjust
1599         * text2.C (getColumnNearX): adjust
1600         (init): put a default value to the top LyXText::width
1601
1602 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1605
1606 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * lyxtext.h: add FontIterator class
1609
1610         * text.C (FontIterator, operator*, operator->, operator++): add
1611         (rowBreakPoint, setRowWidth): adjust (fixing a
1612         rebreaking bug)
1613
1614 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * BufferView_pimpl.C (workAreaDispatch): allow also
1617         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1618
1619 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1620
1621         * text.C (rowBreakPoint): fix a bug showing with very large insets
1622
1623 2004-02-25  André Pönitz  <poenitz@gmx.net>
1624
1625         * text3.C:
1626         * cursor.[Ch]: move some mathed specific code to mathed
1627
1628 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1629
1630         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1631         use_tempdir in preferences
1632         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1633         tempfile creation
1634         * lyx_main.C: ensure that tempdir is valid
1635         * lyxlex.h: correct typo
1636         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1637         * paragraph.[Ch] (isMultiLingual): make const
1638         * cursor.[Ch] (openable): make const
1639
1640 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1641
1642         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1643
1644 2004-02-20  André Pönitz  <poenitz@gmx.net>
1645
1646         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1647
1648         * cursor.[Ch]: prepare for localized getStatus()
1649
1650         * lyxtext.h:
1651         * tabular.C:
1652         * text.C:
1653         * text2.C:
1654         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1655
1656 2004-02-20  André Pönitz  <poenitz@gmx.net>
1657
1658         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1659
1660 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1661
1662         * text2.C (setCursorFromCoordinates): switch to absolute coords
1663         (cursorUp): adjust
1664         (cursorDown): adjust
1665         * text3.C (dispatch): adjust
1666
1667 2004-02-16  André Pönitz  <poenitz@gmx.net>
1668
1669         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1670           insets/ChangeLog)
1671
1672         * cursor_slice.[Ch]: remove unneeded acessor function
1673
1674         * lyxtext.h: rename rtl() to isRTL()
1675
1676         * rowpainter.C:
1677         * tabular.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: adjust
1681
1682 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1683
1684         * rowpainter.C (paintSelection): coord fix
1685
1686 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1687
1688         * Spacing.C: compile fix
1689
1690 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * cursor.C (dispatch): restore current_ before returning
1693
1694 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1695
1696         * text2.C (cursorUp, cursorDown): fix coords
1697         (moveUp): fix crash
1698
1699 2004-02-12  André Pönitz  <poenitz@gmx.net>
1700
1701         * lyxtext.h:
1702         * text.C:
1703         * text2.C:
1704         * text3.C: add LCursor & parameter to most cursor movement functions
1705           remove usage of LyXText::cursorRow() and cursorPar()
1706
1707         * cursor.[Ch]: add textRow() needed members
1708
1709         * BufferView.C:
1710         * BufferView_pimpl.C:
1711         * paragraph.[Ch]:
1712         * BufferView.C:
1713         * BufferView_pimpl.C: adjust
1714
1715 2004-02-11  André Pönitz  <poenitz@gmx.net>
1716
1717         * lyxfunc.C:
1718         * BufferView.[Ch]:
1719         * BufferView_pimpl.C: shift undo/redo handling
1720
1721         * cursor.[Ch]: fix mathed crash
1722
1723         * lyxfind.C:
1724         * lyxtext.h: move selectionAsText to LCursor
1725
1726         * output_latex.C:
1727         * paragraph.C:
1728         * text.C:
1729         * text2.C:
1730         * text3.C: adjust
1731
1732         * rowpainter.C: fix excessive drawing
1733
1734 2004-02-06  André Pönitz  <poenitz@gmx.net>
1735
1736         * BufferView.[Ch]:
1737         * BufferView_pimpl.[Ch]:
1738         * text3.C: move some text specific LFUN handling
1739
1740 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * text3.C (checkInsetHit): adjust coords
1743         * text2.C (getColumnNearX): adjust coords
1744         (edit): adjust coords
1745         * text.C (getRowNearY): add two asserts
1746
1747 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1748
1749         * converter.C:
1750         * format.C: add using std::distance to compile on gcc 2.95/stlport
1751
1752 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1753
1754         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1755
1756 2004-02-04  André Pönitz  <poenitz@gmx.net>
1757
1758         * BufferView.[Ch] (insertInset):
1759         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1760
1761         * text2.C:
1762         * text3.C: adjust
1763
1764 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1767         on the default clause of the switch
1768         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1769         wasn't catched by LCursor::dispatch
1770
1771 2004-02-03  André Pönitz  <poenitz@gmx.net>
1772
1773         * BufferView.C:
1774         * cursor.[Ch]: some additional asserts
1775
1776         * undo.[Ch]: remove LyXText dependency in interface
1777
1778         * lyxfunc.C: adjust
1779
1780         * lyxtext.h (firstPar, lastPar): remove dead functions
1781
1782         * text.C:
1783         * text2.C:
1784         * text3.C:
1785         * paragraph.[Ch]: adjust
1786
1787 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1788
1789         * lyxfind.C (find): fix argument order in call to ::find
1790
1791 2004-02-02  André Pönitz  <poenitz@gmx.net>
1792
1793         * cursor.[Ch]: remove direct access to anchor
1794
1795         * text.C: remove findText() hack
1796
1797 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1798
1799         * iterators.[Ch] (lockPath): remove in favour of...
1800         * BufferView.[Ch] (setCursor): this addition
1801         * BufferView.C (putSelectionAt): adjust
1802         * undo.C (performUndoOrRedo): adjust
1803         * lyxfunc.C (dispatch): adjust
1804
1805 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1806
1807         * iterators.C (lockPath): add a missing slice
1808         * undo.C (performUndoOrRedo): remove redundant positioning code
1809
1810 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1811
1812         * vc-backend.C (scanMaster): ";" -> ';'
1813
1814 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1815
1816         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1817         std::binary_function
1818
1819         * lyxtextclass.C (compare_name): rename to...
1820         (LayoutNamesEqual): ...this
1821
1822         * lyxlex_pimpl.C (compare_tags): inherit from
1823         std::binary_function, put back into anon namespace
1824
1825         * lyxfind.C (MatchString): inherig from std::binary_function
1826         (findChange): use empty() istead of !size()
1827
1828         * format.C (FormatNamesEqual): new functor
1829         (getFormat): use it
1830         (getNumber): use it
1831         (add): use it
1832         (erase): use it
1833         (setViewer): use it
1834
1835         * converter.C (compare_Converter): rename to...
1836         (ConverterEqual): ...this, and fixup a bit.
1837         (getConverter): use it, and make function const
1838         (getNumber): use it, and make function const
1839         (add): use it
1840         (erase): use it:
1841
1842         * bufferlist.C: add using boost::bind
1843
1844         * MenuBackend.C (MenuNamesEqual): new functor
1845         (hasMenu): use it, and make function const
1846         (hasSubmenu): use nested bind to get rid of compare_memfun.
1847
1848 2004-01-30  André Pönitz  <poenitz@gmx.net>
1849
1850         * BufferView_pimpl.C:
1851         * cursor.C:
1852         * cursor.h:
1853         * cursor_slice.[Ch]:
1854         * lyxfunc.C:
1855         * lyxtext.h:
1856         * paragraph_funcs.C:
1857         * paragraph_funcs.h:
1858         * rowpainter.C:
1859         * text.C:
1860         * text2.C:
1861         * text3.C: move some of the edit(x,y) handling to the insets
1862         some coordinate changes.
1863
1864 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1865
1866         * text.C: add using statements for std::advance and std::distance
1867
1868         * paragraph.C: add using statement for std::distance
1869
1870         * lyxfind.C: add using statement for std::advance
1871
1872         * cursor.C (region): remove std:: from swap
1873         (openable): use nucleus in stead of operator->
1874
1875         * BufferView.C: add using statements for std::distance and std::swap
1876
1877 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1878
1879         * iterators.C: Remove the pimple, move the needed structures to
1880         the header file. Create accessor for the positions stack.
1881         (asPosIterator): remove function
1882
1883         * PosIterator.C (PosIterator): move constructors to top of file
1884         (PosIterator): reimplement the constructor taking a ParIterator in
1885         terms of setFrom.
1886         (setFrom): new function
1887         (operator!=): inline it
1888
1889 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * lyxfind.C (replaceAll): use std::advance
1892
1893         * iterators.h: inherit from std::iterator.
1894
1895         * PosIterator.C (advance, distance): remove
1896         * PosIterator.h: interit from std::iterator.
1897
1898 2004-01-26  André Pönitz  <poenitz@gmx.net>
1899
1900         * BufferView.[Ch]:
1901         * BufferView_pimpl.[Ch]:
1902         * InsetList.[Ch]:
1903         * PosIterator.[Ch]:
1904         * buffer.h:
1905         * bufferview_funcs.C:
1906         * cursor.[Ch]:
1907         * cursor_slice.h:
1908         * factory.[Ch]:
1909         * iterators.[Ch]:
1910         * lyxfind.C:
1911         * lyxfunc.C:
1912         * lyxtext.h:
1913         * output_docbook.C:
1914         * output_latex.C:
1915         * output_linuxdoc.C:
1916         * output_plaintext.C:
1917         * paragraph.[Ch]:
1918         * paragraph_funcs.[Ch]:
1919         * paragraph_pimpl.[Ch]:
1920         * rowpainter.C:
1921         * tabular.C:
1922         * tabular.h:
1923         * text.C:
1924         * text2.C:
1925         * text3.C: more IU:  dumps most of the rest of the mathcursor
1926     implementation into cursor.[Ch]; "globalize" a bit of it.
1927
1928 2004-01-25  Angus Leeming  <leeming@lyx.org>
1929
1930         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1931
1932 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1933
1934         * LaTeXFeatures.h: add nice_ and nice() const
1935         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1936
1937 2004-01-20  André Pönitz  <poenitz@gmx.net>
1938
1939         * BufferView.[Ch]:
1940         * BufferView_pimpl.C:
1941         * PosIterator.C:
1942         * bufferview_funcs.C:
1943         * cursor.[Ch]:
1944         * cursor_slice.[Ch]:
1945         * factory.C:
1946         * iterators.C:
1947         * lyx_cb.C:
1948         * lyxfind.C:
1949         * lyxfunc.C:
1950         * lyxtext.h:
1951         * rowpainter.C:
1952         * text.C:
1953         * text2.C:
1954         * text3.C:
1955         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1956           LCursor and mathcursor parts to LCursor and InsetBase.
1957
1958 2004-01-15  André Pönitz  <poenitz@gmx.net>
1959
1960         * cursor_slice.[Ch]: add a few covienience functions
1961
1962         * funcrequest.[Ch]: remove BufferView * member
1963
1964         * BufferView_pimpl.C:
1965         * cursor.C:
1966         * factory.[Ch]:
1967         * lyxfind.[Ch]:
1968         * lyxfunc.C:
1969         * lyxtext.h:
1970         * text3.C:
1971         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1972
1973 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1974
1975         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1976         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1977
1978 2004-01-13  André Pönitz  <poenitz@gmx.net>
1979
1980         * textcursor.[Ch]:
1981         * lyxtext.h: hide cursor and selection anchor behind accessor function
1982
1983         * BufferView.C:
1984         * BufferView_pimpl.[Ch]:
1985         * PosIterator.C:
1986         * bufferview_funcs.C:
1987         * cursor.h:
1988         * lyxfind.C:
1989         * lyxfunc.C:
1990         * text.C:
1991         * text2.C:
1992         * text3.C:
1993         * undo.C: adjust
1994
1995         * cursor.h:
1996         * cursor_slice.[Ch]: some integer type changes for inset unification
1997
1998         * lyxcursor.[hC]: remove, it's CursorSlice now.
1999
2000         * Makefile.am:
2001         * BufferView_pimpl.[Ch]:
2002         * bufferview_funcs.C:
2003         * cursor_slice.C:
2004         * lyxtext.h:
2005         * text.C:
2006         * text2.C:
2007         * text3.C:
2008         * textcursor.[Ch]: adjust
2009
2010 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * text2.C (undoSpan): add and use
2013         * text.C (breakParagraph): use undoSpan (fix bug 578)
2014         * lyxtext.h: adjust
2015
2016 2004-01-08  Angus Leeming  <leeming@lyx.org>
2017
2018         * BufferView_pimpl.C (MenuInsertLyXFile):
2019         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2020         * lyxfunc.C (menuNew, open, doImport):
2021         FileFilterList change to the FileDialog open and save functions.
2022
2023 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2024
2025         * ShareContainer.h: make isEqual and isUnique adaptable
2026
2027         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2028
2029 2004-01-07  Angus Leeming  <leeming@lyx.org>
2030
2031         * LyXAction.C:
2032         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2033
2034         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2035
2036         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2037         functions replacing find, replace and replaceAll.
2038
2039         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2040         LFUN_WORDFIND(FORWARD|BACKWARD).
2041
2042 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * text.C (breakParagraph): remove an outdated #warning
2045
2046 2004-01-07  André Pönitz  <poenitz@gmx.net>
2047
2048         * lyxfind.C: somewhat clearer logic
2049
2050         * text.C: prevent crash in cursorX on unitialized row cache
2051
2052 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * lyxcursor.[Ch] (operator>): add
2055         * textcursor.C (selStart, selEnd): use std::min and std::max
2056
2057 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2058
2059         * Chktex.C: include boost/format.hpp
2060
2061 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2062
2063         * InsetList.C: replace functor MathcIt with adaptable functor
2064         InsetTablePosLess
2065         (insetIterator): modify accordingly
2066
2067         * BranchList.h: move the BranchNamesEqual functor here from...
2068         * BranchList.C: ... to here
2069
2070         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2071         SameName and match.
2072         (add): replace a finding loop with std::find_if.
2073
2074 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * output_docbook.C: moving LatexParam functionality into
2077         .layout files
2078
2079 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2080
2081         * buffer.C: increment format to 229.
2082
2083 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2084
2085         * LaTeXFeatures.C:
2086         * lyx_sty.[Ch]: remove minipageindent_def
2087
2088         * LyXAction.C:
2089         * factory.C:
2090         * lfuns.h:
2091         * lyxfunc.C:
2092         * text3.C: remove LFUN_INSET_MINIPAGE
2093
2094 2003-12-28  Angus Leeming  <leeming@lyx.org>
2095
2096         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2097
2098 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2099
2100         * text2.C (setParagraph): fix off-by-one crash
2101
2102 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2103
2104         * output_docbook.C: header stuff for AGU
2105
2106 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * text2.C (redoCursor): remove
2109         * text.C:
2110         * text3.C:
2111         * BufferView_pimpl.C: remove calls to redoCursor and
2112         setCursor(cursor.par(), cursor.pos()) all around
2113
2114 2003-12-15  Angus Leeming  <leeming@lyx.org>
2115
2116         * buffer.C: up the format to 228.
2117
2118 2003-12-15  André Pönitz  <poenitz@gmx.net>
2119
2120         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2121         slices
2122
2123         * Makefile.am:
2124
2125         * BufferView_pimpl.C:
2126         * cursor.[Ch]:
2127         * lyxcursor.[Ch]:
2128         * rowpainter.[Ch]:
2129         * lyxtext.h:
2130         * text.C:
2131         * text2.C:
2132         * text3.C: adjust
2133
2134 2003-12-15  Angus Leeming  <leeming@lyx.org>
2135
2136         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2137         than getFromGUIName to manipulate the color.
2138
2139 2003-12-14  Angus Leeming  <leeming@lyx.org>
2140
2141         * BranchList.[Ch]: minimize the API.
2142         (Branch::getBranch, getColor): now return a 'const &'.
2143         (Branch::setSelected) now returns a bool set to true if the
2144         selection status changes.
2145         (BranchList::clear, size, getColor, setColor, setSelected,
2146         allBranches, allSelected, separator): removed.
2147         (BranchList::find): new functions, returning the Branch with
2148         the given name.
2149         (BranchList::add, remove): return a bool indicating that
2150         the operation was successful.
2151
2152         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2153         new InsetBranch::isBranchSlected member function.
2154
2155         * LColor.[Ch]: mimimize the API.
2156         (fill): renamed as addColor and made private.
2157         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2158         versions of these functions taking a string arg have been removed.
2159
2160         * bufferparams.C (readToken):
2161         * lyxfunc.C (dispatch):
2162         * lyxrc.C (read): changes due to the altered BranchList and
2163         LColor APIs.
2164
2165         * factory.C (createInset, readInset): changes due to altered
2166         InsetBranch c-tor.
2167
2168 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2169
2170         * factory.C:
2171         * lyxfunc.C: remove insetminipage. "minipage-insert"
2172         now produces a frameless minipage box inset.
2173
2174 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2175
2176         * textcursor.[Ch] (selStart,selEnd): add new methods
2177         remove selection::start, end, use LyXCursor::operator<
2178         * lyxcursor.[Ch] (operator<): add
2179         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2180         * BufferView.[Ch] (unsetXSel): add
2181         * text2.C (clearSelection): use unsetXSel,adjust
2182         * text.C: adjust
2183         * text3.C: adjust
2184         * rowpainter.C: adjust
2185         * bufferview_funcs.C (put_selection_at): adjust
2186
2187 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * BufferView_pimpl.C: small coord. correction
2190
2191 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2194         dragging over the splash screen.
2195
2196 2003-12-11  Angus Leeming  <leeming@lyx.org>
2197
2198         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2199         as it is now handled in LyXText::dispatch.
2200
2201         * text3.C (doInsertInset): remove a level of nesting.
2202
2203 2003-12-11  Angus Leeming  <leeming@lyx.org>
2204
2205         * factory.C (createInset): changes due to the changed interface to
2206         InsetCommandMailer::string2params.
2207
2208 2003-12-10  Angus Leeming  <leeming@lyx.org>
2209
2210         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2211         'dialog-show-new-inset <inset name>'
2212
2213 2003-12-10  Angus Leeming  <leeming@lyx.org>
2214
2215         * buffer.C: up the format to 227.
2216
2217         * factory.C: the box inset is now identified simply by 'Box'.
2218
2219 2003-12-10  Angus Leeming  <leeming@lyx.org>
2220
2221         * buffer.C: up the format to 226.
2222
2223         * factory.C: the note inset is now identified simply by 'Note'.
2224
2225 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2228         when a pit is enough. Standarize a couple of loops.
2229
2230 2003-12-05  Angus Leeming  <leeming@lyx.org>
2231
2232         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2233         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2234         data to the re-worked "log" dialog.
2235
2236 2003-12-03  André Pönitz  <poenitz@gmx.net>
2237
2238         * PosIterator.C:
2239         * iterators.C:
2240         * lyxtext.h:
2241         * output_latex.C:
2242         * paragraph_funcs.C:
2243         * text.C:
2244         * text2.C: use Inset::getText instead of Inset::getParagraph
2245
2246 2003-12-03  André Pönitz  <poenitz@gmx.net>
2247
2248         * buffer.[Ch]:
2249         * lyxtext.h:
2250         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2251         InsetText::read() as LyXText::read()
2252
2253 2003-12-02  Angus Leeming  <leeming@lyx.org>
2254
2255         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2256         type. Add a comment in the implementation that the function uses
2257         the stream's bad() function rather than fail() as the std::streams
2258         would do.
2259
2260 2003-12-02  André Pönitz  <poenitz@gmx.net>
2261
2262         * lyxlex.[Ch]: make interface more similar to std::stream
2263
2264         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2265
2266 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2267
2268         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2269
2270 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2271
2272         * vspace.[Ch]: remove VSpace::NONE
2273
2274 2003-12-01  André Pönitz  <poenitz@gmx.net>
2275
2276         * buffer.[Ch]:
2277         * lyxtext.h: move ParagraphList member to LyXText
2278         rename LyXText::ownerParagraphs to LyXText::paragraph
2279
2280         * CutAndPaste.C:
2281         * bufferview_funcs.C:
2282         * iterators.[Ch]:
2283         * lyx_cb.C:
2284         * paragraph.C:
2285         * rowpainter.C:
2286         * tabular.C:
2287         * text.C:
2288         * text2.C:
2289         * text3.C: adjust
2290
2291         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2292
2293         * undo.C: fix cursor positioning
2294
2295 2003-12-01  John Levon  <levon@movementarian.org>
2296
2297         * BufferView_pimpl.C: fix a crash on exit with
2298         a buffer open
2299
2300 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2301
2302         * BranchList.C: fix setSelected() method.
2303
2304 2003-11-28  André Pönitz  <poenitz@gmx.net>
2305
2306         * ParagraphParameters.[Ch]:
2307         * ParameterStruct.h: remove space above/below from Paragraph to
2308          InsetVSpace
2309
2310         * BufferView_pimpl.C:
2311         * factory.C:
2312         * lyxfunc.C:
2313         * lyxtext.h:
2314         * output_latex.C:
2315         * paragraph.C:
2316         * paragraph_funcs.C:
2317         * rowpainter.[Ch]:
2318         * text.C:
2319         * text2.C:
2320         * text3.C: adjust
2321
2322 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * factory.C: Syntax change for CharStyles
2325
2326 2003-11-28  André Pönitz  <poenitz@gmx.net>
2327
2328         * BufferView.[Ch]:
2329         * BufferView.[Ch]:
2330         * buffer.[Ch]:
2331         * buffer.[Ch]: move LyXText member
2332
2333 2003-11-28  André Pönitz  <poenitz@gmx.net>
2334
2335         * BufferView.[Ch]: make LyXText * text a private member
2336
2337         * BufferView_pimpl.C:
2338         * cursor.C:
2339         * iterators.C:
2340         * lyx_cb.C:
2341         * lyxfind.C:
2342         * lyxtext.h:
2343         * rowpainter.[Ch]:
2344         * text.C:
2345         * text2.C:
2346         * undo.C: adjust
2347
2348         * output_plaintext.C: cleanup
2349
2350 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2351
2352         * buffer.C:
2353         * lyxtextclass.[Ch]: parametrize SGML document header
2354
2355 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * converter.[Ch]:
2358         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2359         getFlavor().
2360
2361 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * text2.C (setFont): rework using PosIterator (no more recursive)
2364         (setCharFont): no more needed
2365         (setLayout): no more selection cursors fiddling (done by redoCursor)
2366         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2367         destroy remaining ones)
2368
2369 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2370
2371         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2372         * lyxtext.h: ditto
2373         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2374         selection cursors
2375         * lyxfunc.C: adjust
2376         * text3.C: adjust + re-allow multi par depth changes
2377         * textcursor.C: simplify a bit
2378
2379 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2380
2381         * src/buffer.C:
2382         * src/lyxlayout.C:
2383         * src/lyxlayout.h:
2384         * src/lyxtext.h:
2385         * src/output_docbook.C:
2386         * src/output_latex.C:
2387         * src/paragraph.C:
2388         * src/paragraph.h:
2389         * src/sgml.C:
2390         * src/sgml.h:
2391         * src/text2.C: Introducing a number of tags parametrizing various
2392         XML formats that we may want to support
2393
2394 2003-11-25  André Pönitz  <poenitz@gmx.net>
2395
2396         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2397
2398         * lyxtext.h (leftMargin/rightMargin): simplify interface
2399
2400         * rowpainter.C:
2401         * text.C:
2402         * text2.C:
2403         * text3.C: adjust
2404
2405 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2406
2407         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2408         master file to any child files. Fixes bug 546.
2409
2410 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2411
2412         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2413
2414 2003-11-24  André Pönitz  <poenitz@gmx.net>
2415
2416         * rowpainter.C: simplification
2417
2418         * text2.C (updateCounters): remove call to redoParagraph on
2419         changed labels as this is far too expensive.
2420
2421 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2422
2423         * converter.C (convert): fix a crash: this function gets
2424         called with buffer == 0 from importer code.
2425
2426 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2427
2428         * text3.C (cursorPrevious): make sure that we do not compare
2429         iterators form different containers.
2430         (cursorNext): ditto
2431
2432         * rowpainter.C (paintSelection): make sure that we do not compare
2433         iterators from different containers.
2434
2435         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2436         iterators from different ParagraphList containers.
2437         [NEXT] ditto
2438
2439         * text2.C (LyXText): change order of initialization slightly
2440         (operator=): new function. copy all variables except cache_par_
2441         (moveUp): make sure that we do not compare iterators from
2442         different ParagraphList constainers.
2443         (moveDown): ditto
2444
2445         * text.C (firstPar): new function
2446         (lastPar): new function
2447         (endPar): new function
2448
2449         * lyxtext.h: move things around and group public functions, public
2450         variables, private functions, private variables
2451
2452 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2453
2454         * factory.C: change call to InsetERT constructor to avoid
2455         additional invocation of method status
2456         * text2.C (toggleInset): remove redundant update() call
2457         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2458         instead of a Bufferview pointer
2459
2460 2003-11-21  André Pönitz  <poenitz@gmx.net>
2461
2462         * rowpainter.C: simplification
2463
2464 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * text3.C (dispatch): make possible to extend a word/row selection
2467         with the mouse
2468
2469 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * lyxtext.h: x0_,y0_ -> xo_,yo_
2472         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2473         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2474         * rowpainter.C (paintRows): paint full paragraphs
2475
2476 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2479         screen coordinates)
2480
2481 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * lyxtext.h: add x0_, y0_
2484         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2485         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2486
2487 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2488
2489         * text2.C (setCursorIntern): move the x_target update here *
2490         * text3.C: change some bv() to true/false in calls to
2491         cursorUp/Down/Right/Left
2492         * cursor.C: use helper function.
2493
2494 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2497         * paragraph_funcs.[Ch]: correct comment
2498         * rowpainter.C: do not paint selections away from bv->cursor()
2499         Fix a long standing selection painting bug.
2500         * text3.C: generalize mouse-selection code to LyXTexts other that
2501         top one
2502         * textcursor.C: do not use y coords if we can use par offsets
2503
2504 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2505
2506         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2507         cursor position after e.g. inset insert)
2508
2509 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2510
2511         * lyxfind.C (replace): adjust to locking removal + some
2512         code simplification
2513
2514 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2517         of the path
2518
2519 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2520
2521         * lyxlayout.[Ch]:
2522         * output_docbook.C: XML sanitation: new layout
2523         parameters InnerTag and CommandDepth
2524
2525 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2526
2527         * BufferView_pimpl.C:
2528         * factory.C:
2529         * text3.C: Fix the insertion and modification of button-style
2530         insets
2531
2532 2003-11-13  André Pönitz  <poenitz@gmx.net>
2533
2534         * InsetList.[Ch]: remove deleteLyXText
2535
2536         * paragraph.[Ch]: cache beginOfBody position
2537
2538         * Bidi.C:
2539         * text.C:
2540         * text2.C:
2541         * text3.C: remove superfluous update() calls
2542
2543         * vspace.C: cleanup
2544
2545 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2548         * BufferView.C (fitLockedInsetCursor): remove
2549         * cursor.[Ch] (getDim): add
2550         * text.C (getRowNearY): add faster version
2551         * text3.C: remove some update calls
2552
2553 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * LaTeXFeatures.C:
2556         * LyXAction.C:
2557         * MenuBackend.C:
2558         * MenuBackend.h:
2559         * dispatchresult.h:
2560         * factory.C:
2561         * lfuns.h:
2562         * lyxfunc.C:
2563         * lyxtextclass.C:
2564         * lyxtextclass.h:
2565         * text3.C: The Character Style /XML short element patch.
2566
2567 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2568
2569         * text3.C:
2570         * factory.C: Small step to solving 'unable to insert some insets'
2571         problem
2572
2573 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * cursor.[Ch] (updatePos): new function for updating the y
2576         position of the tip inset
2577         * bufferview_funcs.C (put_selection_at):
2578         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2579
2580 2003-11-11  André Pönitz  <poenitz@gmx.net>
2581
2582         * text.C: remove big comment on invalid Paragraph pointers as it is
2583         not valid anymore
2584
2585 2003-11-11  André Pönitz  <poenitz@gmx.net>
2586
2587         * text_funcs.[Ch]: merge with ...
2588
2589         * text.C: ... this
2590
2591         * lyxtext.h:
2592         * text2.C:
2593         * text3.C: adjust
2594
2595         * Makefile.am: remove text_funcs.[Ch]
2596
2597 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2598
2599         * cursor.C (getPos): return absolute cached y coord
2600
2601         * BufferView_pimpl.C (fitCursor): new simplistic code
2602         (workAreaDispatch): add a fitCursor call
2603
2604 2003-11-10  André Pönitz  <poenitz@gmx.net>
2605
2606         * BufferView.[Ch]:
2607         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2608
2609 2003-11-10  André Pönitz  <poenitz@gmx.net>
2610
2611         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2612         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2613         indicate that the cursor needs to leave an inset
2614
2615         * lyxtext.h: remove inset locking
2616
2617         * cursor.[Ch]: re-implement functionality provided by inset locking
2618
2619         * BufferView.[Ch]:
2620         * BufferView_pimpl.[Ch]:
2621         * LyXAction.C:
2622         * bufferview_funcs.[Ch]:
2623         * factory.C:
2624         * funcrequest.[Ch]:
2625         * iterators.C:
2626         * lyx_cb.C:
2627         * lyxfind.C:
2628         * lyxfunc.C:
2629         * text.C:
2630         * text2.C:
2631         * text3.C:
2632         * undo.C: adjust
2633
2634 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * PosIterator.[Ch]: replace the stack with a vector, add inset
2637         accesor
2638         * iterators.[C]: adjust
2639
2640 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2643         replaced
2644         * paragraph_funcs.C (readParToken): put the correct id in the
2645         error item, not the id of the top paragraph
2646
2647 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2650         * bufferview_funcs.C (put_selection_at): use the above
2651
2652 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2655
2656 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2657
2658         * output_linuxdoc.h:
2659         * output_plaintext.h:
2660         * output.h:
2661         * output_docbook.h: add #include statements
2662
2663 2003-11-05  José Matos  <jamatos@lyx.org>
2664
2665         * output_docbook.[Ch]:
2666         * output_latex.[Ch]:
2667         * output_linuxdoc.[Ch]:
2668         * output_plaintext.[Ch]: New files for output formats.
2669         * output.[Ch]: New file for helper functions.
2670
2671         * buffer.[Ch]:
2672         * paragraph_funcs.[Ch]: output functions moved to new files.
2673
2674         * outputparams.h: rename of latexrunparams.h
2675
2676         * LaTeX.[Ch]:
2677         * buffer.[Ch]:
2678         * bufferlist.[Ch]:
2679         * converter.[Ch]:
2680         * exporter.C:
2681         * paragraph.[Ch]:
2682         * paragraph_funcs.[Ch]:
2683         * paragraph_pimpl.[Ch]:
2684         * tabular.[Ch]: rename ascii to plaintext
2685         and LatexRunParams to OutputParams.
2686
2687 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * iterators.[Ch] (text): require bv argument
2690         * undo.C (recordUndo):
2691         * lyxfunc.C (dispatch):
2692         * bufferview_funcs.C (put_selection_at): adjust
2693
2694 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2695
2696         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2697
2698 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2701         nestings
2702
2703 2003-11-04  André Pönitz  <poenitz@gmx.net>
2704
2705         * cursor.[Ch]: restructure
2706
2707         * BufferView.[Ch]:
2708         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2709
2710         * iterators.[Ch] (asCursor): remove
2711
2712         * lfuns.h: remove LFUN_INSET_EDIT
2713
2714         * lyxfunc.C:
2715         * tabular.C:
2716         * text.C:
2717         * text2.C:
2718         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2719
2720 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * lyxfind.[Ch]: complete overhaul
2723         * BufferView_pimpl.C:
2724         * lyxfunc.C: adjust
2725         * paragraph.[Ch] (insert): add
2726
2727 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2728
2729         * BufferView.[Ch]:
2730         * lyxtext.h:
2731         * text.C: remove dead spellcheck code
2732
2733 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * dispatchresult.h: add a val setter
2736
2737         * cursor.C (dispatch): use a tempvar for data_[i]
2738
2739 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * PosIterator.[Ch]: compile fix
2742
2743 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * text.C (cursorPar): deactivate the cursor cache
2746
2747 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2750
2751 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * text3.C (dispatch): adjust for new DisptchResult semantics.
2754
2755         * lyxfunc.C (dispatch): handle update when return from
2756         Cursor::dispatch, adjust for new DispatchResult semantics.
2757
2758         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2759         DispatchResult(true) mean to not update. Add class functions for
2760         setting dispatched and update, as well as reading.
2761
2762         * cursor.C (dispatch): don't handle update here
2763
2764 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2767         * trans_mgr.C: adjust
2768
2769         * paragraph_funcs.C (readParToken): exception safety
2770
2771         * lyxvc.h: store the vcs pointer in a scoped_ptr
2772         * lyxvc.C: adjust
2773
2774         * lyxsocket.C (serverCallback): exception safety
2775
2776         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2777
2778         * ispell.C (clone): make it return a auto_ptr
2779
2780         * factory.C (createInset): exception safety
2781         (readInset): exception safety
2782
2783         * bufferlist.C (newBuffer): exception safety
2784
2785         * Thesaurus.C (Thesaurus): use initialization for aik_
2786
2787         * MenuBackend.C (expandToc): exception safety.
2788
2789 2003-11-03  André Pönitz  <poenitz@gmx.net>
2790
2791         * buffer.C:
2792         * buffer.h:
2793         * bufferview_funcs.C: remove getInsetFromId()
2794
2795         * lyxcursor.[Ch]:
2796         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2797
2798         * lyxfunc.C:
2799         * text2.C:
2800         * text3.C: adjust
2801
2802 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * PosIterator.C (distance, advance): new
2805         * bufferview_funcs.[Ch] (put_selection_at): new
2806         * iterators.[Ch] (lockPath): new
2807
2808 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * iterators.[Ch] (asPosIterator): added
2811         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2812         * PosIterator.[Ch]: added
2813
2814 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * text3.C:
2817         * lyxfunc.C:
2818         * cursor.C (dispatch):
2819         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2820
2821         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2822         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2823         contructor, add a class function dispatched. Remove operator>=
2824
2825 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * debug.C: only use the default constructor for debugstream
2828         (lyxerr) here.
2829
2830         * main.C (main): include debug.h and setup the lyxerr streambuf
2831         here.
2832
2833 2003-10-31  José Matos  <jamatos@lyx.org>
2834
2835         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2836
2837         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2838         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2839         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2840         * paragraph_pimpl.C (simpleTeXSpecialC):
2841         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2842         add LatexRunParams argument.
2843
2844         * exporter.C (Export): change call accordingly.
2845
2846         * latexrunparams.h: add new member to take care of the other backends.
2847 2003-10-30  José Matos  <jamatos@lyx.org>
2848
2849         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2850         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2851         factorise code for paragraph output.
2852         * buffer.[Ch]:
2853         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2854         move functions.
2855
2856 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * text3.C (dispatch):
2859         * lyxfunc.C (dispatch):
2860         * cursor.C (dispatch):
2861         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2862
2863         * dispatchresult.h: make the dispatch_result_t ctor explicit
2864
2865 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2866
2867         * sgml.[Ch]:
2868         * buffer.C: small refactoring of docbook stuff
2869
2870 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2873         meaning.
2874
2875 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2878         operator dispatch_result_t, and operators for == != and >=
2879
2880         * cursor.C (dispatch): adjust for operator dispatch_result_t
2881         removal. comment out call to update
2882
2883         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2884
2885 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * text3.C:
2888         * text2.C:
2889         * text.C:
2890         * lyxtext.h:
2891         * lyxfunc.C:
2892         * cursor.C:
2893         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2894         (dispatch):
2895
2896         * dispatchresult.h: new file, DispatchResult broken out of
2897         insets/insetbase.h
2898
2899         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2900
2901 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * text.C (rowBreakPoint): put a hack inside #if 0
2904
2905 2003-10-28  André Pönitz  <poenitz@gmx.net>
2906
2907         * lyxtext.h:
2908         * metricsinfo.C:
2909         * paragraph_funcs.C:
2910         * rowpainter.C:
2911         * text.C:
2912         * text2.C: general cleanup (lots of small stuff)
2913
2914 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * text2.C (cursorEnd): simple fix to the "end key goes to one
2917         before the end on last row" bug
2918
2919 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2920
2921         * text.C (backspace): fix the "zombie characters"
2922
2923 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2926
2927 2003-10-27  André Pönitz  <poenitz@gmx.net>
2928
2929         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2930
2931         * factory.C: handle new InsetPagebreak, InsetLine
2932
2933         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2934         and move handling into new InsetPagebreak, InsetLine
2935
2936         * BufferView_pimpl.C:
2937         * LyXAction.C:
2938         * ParagraphParameters.C:
2939         * ParameterStruct.h:
2940         * lyxfunc.C:
2941         * lyxtext.h:
2942         * paragraph.C:
2943         * paragraph.h:
2944         * paragraph_funcs.C:
2945         * paragraph_pimpl.C:
2946         * rowpainter.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C: adjust
2950
2951 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * text.C:
2954         * lyxrow_funcs.[Ch]:
2955         * Bidi.C:
2956         * paragraph.C:
2957         * lyxtext.h:
2958         * rowpainter.C:
2959         * text2.C:
2960         * text3.C: remove lastPos uses in favour of Row::endpos
2961
2962 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2963
2964         * undo.C (performUndoOrRedo): fix two crashes by setting a
2965         cursor by hand and reordering some calls. Use bv->lockInset instead
2966         of inset->edit because the latter loses cursor information
2967
2968 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2969
2970         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2971         by Martin
2972         (rowBreakPoint): fix width. change point to point + 1.
2973         Add a missing check.
2974
2975 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2976
2977         * MenuBackend.C:
2978         * lyxfunc.C: fix (at least partly) the problems
2979         with the Nav menu and headers inside branch insets
2980         reported by Kayvan
2981
2982 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * paragraph.C (getChar): add strong asserts
2985
2986         * lyxrow_funcs.C (lastPos): remove hideous hack
2987
2988         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2989         (fill): adjust to that (avoid an infinite loop)
2990
2991 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2994
2995 2003-10-23  André Pönitz  <poenitz@gmx.net>
2996
2997         * RowList_fwd.h: change list<> to vector<> to gain speed
2998         after suggestion from Alfredo
2999
3000 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3001
3002         * lyxtext.h: move the bidi stuff from here...
3003         * text.C: and here
3004         * text2.C: and here
3005         * Bidi.[Ch]: ... to here
3006
3007 2003-10-23  André Pönitz  <poenitz@gmx.net>
3008
3009         * lyxtext.h:
3010         * text.C (isLastRow, isFirstRow): new functions
3011
3012         * paragraph.h: new width cache member
3013
3014         * rowpainter.C: replace RowList::iterator with Row & where possible
3015
3016         * lyxfunc.C: replace several view()->text with a single call
3017
3018         * toc.C: fix 'unused' warning
3019
3020 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3023         when woring with stream::pos_type
3024         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3025
3026 2003-10-22  André Pönitz  <poenitz@gmx.net>
3027
3028         * lyxtext.h:
3029         * text.C: use Row & instead of RowList::iterator
3030
3031         * lyxrow.h: rename end() to endpos()
3032
3033         * rowpainter.C:
3034         * text.C:
3035         * text2.C: adjust
3036
3037 2003-10-22  Angus Leeming  <leeming@lyx.org>
3038
3039         * buffer.[Ch] (fully_loaded): new member function, returning true
3040         only when the file has been loaded fully.
3041         Used to prevent the premature generation of previews and by the
3042         citation inset to prevent computation of the natbib-style label.
3043
3044         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3045         templates are all set up.
3046
3047         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3048
3049 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3050
3051         * text.C: fixed an "oops" in the "is a bit silly"
3052         bug fix
3053
3054 2003-10-21  André Pönitz  <poenitz@gmx.net>
3055
3056         * FuncStatus.[Ch]: small stuff, whitespace
3057
3058         * lyxfont.[Ch]: operator<<() for debug reasons
3059
3060         * lyxfunc.C:
3061         * lyxrow_funcs.C:
3062         * lyxtext.h: whitespace, spelling
3063
3064         * paragraph.C: naming of variables
3065
3066         * text.C:
3067         * text2.C: small stuff
3068
3069
3070 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3071
3072         * text.C: (1) finish off the inset display() work;
3073         (2) fix the "is a bit silly" bug (accessing char
3074         past end of par).
3075
3076 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3077
3078         * text.C: re-introduce display() for insets, fixing the
3079         various bugs (stretch of line above, math inset
3080         positioning, ...)
3081
3082 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3083
3084         * text.C (rightMargin): remove spurious semicolon
3085
3086         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3087         1415)
3088
3089 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3090
3091         * text3.C: fix one crash due to wrong cursor def
3092
3093 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * vc-backend.C (scanMaster): make the regex static
3096
3097         * LaTeX.C (scanAuxFile): make the regexs static
3098
3099         * text3.C (doInsertInset, dispatch, dispatch):
3100         * text2.C (cursorUp, cursorDown):
3101         * text.C (selectNextWordToSpellcheck):
3102         * BufferView_pimpl.C (dispatch):
3103         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3104
3105 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * lyxsocket.C: include <cerrno>
3108
3109 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * lyxfunc.C (dispatch): remove textcache stuff
3112
3113         * bufferlist.C (release): remove textcache stuff
3114         (closeAll): ditto
3115
3116         * TextCache.C: delete file
3117         * TextCache.h: delete file
3118
3119         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3120
3121         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3122         delete of the bv_->text.
3123         (resizeCurrentBuffer): remove texcache stuff
3124         (workAreaResize): ditto
3125
3126 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3129         action.
3130
3131 2003-10-16  André Pönitz  <poenitz@gmx.net>
3132
3133         * lyxrow.[Ch]:
3134         * paragraph.h:
3135         * rowpainter.C:
3136         * text.C:
3137         * text2.C:
3138         * text3.C: speed up by storing y positions per paragraph plus per-row
3139         offset instead of having a 'full' y position in the row.
3140
3141 2003-10-15  André Pönitz  <poenitz@gmx.net>
3142
3143         * iterators.[Ch]:
3144         * iterators.[Ch]:
3145         * undo.[Ch]: make undo aware of inner insets
3146
3147 2003-10-14  Angus Leeming  <leeming@lyx.org>
3148
3149         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3150         static member functions LyX::ref() and LyX::cref.
3151         (lastfiles): new accessor functions for the new lastfiles_ member var.
3152         (addLyXView, views_): add a new LyXView to the list of views_.
3153         (updateInset): loop over all LyXViews to call their own updateInset
3154         member function, returning a pointer to the Buffer owning the inset.
3155
3156         * BufferView_pimpl.C (loadLyXFile):
3157         * MenuBackend.C (expandLastfiles):
3158         * bufferlist.C (MenuWrite, QuitLyX):
3159         lastfiles is no longer a global variable.
3160         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3161
3162         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3163         static function. Access through LyX::cref().emergencyCleanup().
3164
3165 2003-10-14  André Pönitz  <poenitz@gmx.net>
3166
3167         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3168
3169         * undo.[Ch]: restoring part of 'undo in insets'
3170
3171         * Makefile.am:
3172         * undo_funcs.[Ch]: merge with undo.[Ch]
3173
3174         * tabular.C: small cleansing stuff
3175
3176 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * paragraph_funcs.C (readParToken): report unknown insets as error
3179         boxes. Use the outer paragraph as location (also for unknown
3180         tokens).
3181
3182         * factory.C (readInset): do not abort on reading an unknown inset.
3183         Eat it and return 0.
3184
3185 2003-10-13  Angus Leeming  <leeming@lyx.org>
3186
3187         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3188
3189         * lyxrc.C: displayTranslator is now a function,
3190         declared in GraphicsTypes.h.
3191
3192 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3193
3194         * format.C: new placeholder $$a to pass the socket address.
3195
3196         * bufferlist.[Ch]: new function getBufferFromTmp.
3197
3198         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3199           files in the temporary dir.
3200
3201 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3202
3203         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3204
3205         * Makefile.am: add lyxsocket.[Ch].
3206
3207         * lyx_main.C (error_handler): handle SIGPIPE.
3208
3209 2003-10-13  André Pönitz  <poenitz@gmx.net>
3210
3211         * BufferView_pimpl.C:
3212         * lyxtext.h:
3213         * text.C:
3214         * text2.C:
3215         * text3.C:
3216         * undo_funcs.[Ch]: use paroffset_type instead of
3217           ParagraphList::iterators to prevent multiple conversion
3218           (and get a more robust interface)
3219
3220 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3223         * lyxtext.h: ditto
3224         * text3.C (dispatch): ditto
3225
3226 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3229         move the onlyfile, use onlyfile instead of foundfile in a couple
3230         of places.
3231
3232         * DepTable.C (update): flush the error stream a bit more
3233
3234 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * lyxserver.C (callback): adjust
3237
3238         * lyxfunc.C (getStatus): add a missing brace in commented code
3239         (ensureBufferClean): reindent
3240         (dispatch): delete version taking a string
3241
3242 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * LaTeX.C (deplog): move found file handlig from here...
3245         (handleFoundFile): .. to new function here.
3246         (deplog): make sure to discover several files mentioned on the
3247         same log line.
3248
3249 2003-10-10  André Pönitz  <poenitz@gmx.net>
3250
3251         * lyxfunc.C:
3252         * lyxtext.h:
3253         * tabular.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: fix some of the tabular crashes
3257
3258 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3259
3260         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3261
3262         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3263
3264 2003-10-09  André Pönitz  <poenitz@gmx.net>
3265
3266         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3267
3268         * BufferView.C:
3269         * BufferView_pimpl.C:
3270         * bufferview_funcs.C:
3271         * lyx_cb.C:
3272         * lyxcursor.C:
3273         * lyxfind.C:
3274         * lyxfunc.C:
3275         * lyxtext.h:
3276         * text.C:
3277         * text2.C:
3278         * text3.C:
3279         * text_funcs.[Ch]:
3280         * textcursor.[Ch]:
3281         * undo_funcs.C: adjust
3282
3283 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * text2.C (incrementItemDepth): new function, use a backtracking
3286         algorithm to discover the correct item depth.
3287         (resetEnumCounterIfNeeded): new function, use a backtracking
3288         algorithm to discover if counter reset is needed.
3289         (setCounter): use them. Simplify a bit. Add different labels for
3290         different item depths for itemize.
3291
3292         * paragraph.C (Paragraph): remove initialization of enumdepth
3293         (operator=): ditto
3294
3295         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3296         enumerate and itemize. Change the type of itemdepth to signed char.
3297
3298 2003-10-08  André Pönitz  <poenitz@gmx.net>
3299
3300         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3301           thing assignable.
3302         * text.C:
3303         * text2.C: adjust
3304
3305         * tabular.[Ch]: fix crash after 'row-insert'
3306
3307 2003-10-08  Angus Leeming  <leeming@lyx.org>
3308
3309         Fix doxygen warnings.
3310
3311         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3312         Remove CutAndPaste:: prefix from header file declaration.
3313
3314         * LColor.h (fill): remove LColor:: prefix from declaration.
3315
3316         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3317         use lyx::depth_type rather than Paragraph::depth_type so that
3318         header file and .C file match.
3319
3320         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3321
3322         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3323         * aspell.C: \file aspell_local.C -> \file aspell.C
3324         * gettext.C: \file gettext.C -> \file src/gettext.C
3325         * gettext.h: \file gettext.h -> \file src/gettext.h
3326         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3327         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3328         * text.C: \file text.C -> \file src/text.C
3329
3330         * toc.C: move comment so that doxygen is not confused.
3331
3332 2003-10-07  Angus Leeming  <leeming@lyx.org>
3333
3334         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3335
3336 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3337
3338         * aspell.C:
3339         * aspell_local.h: add forgotten std::string's.
3340
3341 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3342
3343         * LaTeXFeatures.C:
3344         * LyXAction.C:
3345         * factory.C:
3346         * lfuns.h:
3347         * lyxfunc.C:
3348         * text3.C: The Box patch. Fancybox support, minipage, parbox
3349
3350 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3351
3352         * CutAndPaste.h:
3353         * DepTable.h:
3354         * FloatList.h:
3355         * LaTeXFeatures.h:
3356         * ParagraphParameters.h:
3357         * TextCache.h:
3358         * Thesaurus.h:
3359         * bufferlist.h:
3360         * exporter.h:
3361         * importer.h:
3362         * lastfiles.h:
3363         * lyxfind.h:
3364         * lyxfont.h:
3365         * lyxlex.h:
3366         * lyxtextclasslist.h:
3367         * messages.h:
3368         * paragraph.h:
3369         * paragraph_pimpl.C:
3370         * textcursor.h: add <string> and other small fixes to make Lars'
3371         std::string patch compile with STLport.
3372
3373 2003-10-06  Angus Leeming  <leeming@lyx.org>
3374
3375         * LColor.h: Add missing #include <string>.
3376
3377 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * All most all file in all subdirs: Make <string> be the prefered
3380         way of getting to std::string, add using declarations.
3381
3382 2003-10-06  André Pönitz  <poenitz@gmx.net>
3383
3384         * metricsinfo.C: initialize LyXFont before changing attribute.
3385         (fixes the 'math in \emph is upright' bug)
3386
3387 2003-10-06  André Pönitz  <poenitz@gmx.net>
3388
3389         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3390
3391 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3392
3393         * graph.C:
3394         * paragraph_pimpl.C: Small fixes to build using STLport
3395
3396 2003-10-02  André Pönitz  <poenitz@gmx.net>
3397
3398         * lyxfunc.C:
3399         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3400
3401 2003-10-01  André Pönitz  <poenitz@gmx.net>
3402
3403         * factory.C: assert early
3404
3405 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3406
3407         * lyx_main.C: remove the global debug object
3408
3409         * debug.h: adjust for new debugstream
3410
3411         * debug.C: adjust for new debugstream and keep the global debug
3412         object here.
3413
3414 2003-09-22  Angus Leeming  <leeming@lyx.org>
3415
3416         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3417         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3418         an incomplete class LyXFont.
3419
3420 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3421
3422         * factory.C: bug fix in branches
3423
3424 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * lyxfunc.C (processKeySym): adjust
3427         (dispatch): adjust
3428         (dispatch): change arg name from ev to func, adjust
3429         (sendDispatchMessage): ditto
3430
3431         * lyx_main.C (defaultKeyBindings): adjust keybindings
3432         (deadKeyBindings): ditto
3433
3434         * kbsequence.C (addkey): return a FuncRequest
3435
3436         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3437
3438         * kbmap.C (bind): take a FuncRequest as arg, adjust
3439         (read): adjust
3440         (lookup): adjust
3441         (defkey): change to take a FuncRequest as arg, adjust
3442         (findbinding): take a FuncRequest as arg, adjust.
3443
3444         * funcrequest.h (operator=): added
3445
3446         * funcrequest.C (FuncRequest): default kb_action changed from
3447         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3448
3449         * buffer.C (dispatch): simplify
3450         (dispatch): adjust to take a FuncRequest as arg, adjust
3451
3452         * boost.C (assertion_failed): change assertion message slightly
3453
3454         * ToolbarBackend.C (read): simplify
3455
3456         * MenuBackend.C (binding): adjust call to findbinding, add a
3457         message if no binding is found.
3458         (read): simplify
3459         (expandToc): correct by adding a empty FuncRequest
3460
3461         * LyXAction.C: include <boost/assert.hpp>
3462         (isPseudoAction): delete function
3463         (LookupFunc): change name to...
3464         (lookupFunc): this. change return type to FuncRequest.
3465         (getActionName): take kb_action as arg, simplify
3466         (funcHasFlag): add an assert, simplify.
3467
3468 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * toc.C (action): return a FuncRequest, simplify
3471
3472         * lyxfunc.C (processKeySym): adjust
3473         (getStatus): delete version that takes an int.
3474         (getStatus): adjust
3475         (dispatch): delete version that takes action as int
3476         (dispatch): adjust
3477         (sendDispatchMessage): simplify and adjust
3478
3479         * funcrequest.C (getArg): take unsigned int as arg
3480
3481         * ToolbarBackend.C (read): adjust
3482         (add): delete version that takes func as a string.
3483         (getIton): take a FuncRequest as arg
3484
3485         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3486         action.
3487
3488         * MenuBackend.C (MenuItem): add a new construct that only takes a
3489         Kind, simplify the constructor use for submenus.
3490         (add): adjust
3491         (expandLastfiles): adjust
3492         (expandDocuments): adjust
3493         (expandFormats): adjust
3494         (expandFloatListInsert): adjust
3495         (expandFloatInsert): adjust
3496         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3497
3498         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3499         Remove class variables lyx_pseudo_map and lyx_arg_map
3500
3501         * LyXAction.C (searchActionArg): delete function
3502         (getPseudoAction): delete function
3503         (retrieveActionArg): delete function
3504         (LookupFunc): make it return kb_action, simplify.
3505         (getActionName): simplify
3506
3507         * factory.C (createInset): fix new bug
3508
3509 2003-09-19  Angus Leeming  <leeming@lyx.org>
3510
3511         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3512         masterFilename_ parameter in the include inset.
3513
3514         * factory.C (createInset): changes due to the changes to InsetInclude.
3515
3516 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3517
3518         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3519
3520 2003-09-18  Angus Leeming  <leeming@lyx.org>
3521
3522         * buffer.C:
3523         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3524         Inset::fillWithBibKeys.
3525         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3526
3527 2003-09-18  Angus Leeming  <leeming@lyx.org>
3528
3529         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3530         variables.
3531         (ctor): pass and store a 'Buffer const &'
3532         (buffer): new member function.
3533
3534         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3535         '*this' to the LaTeXFeatures ctor.
3536
3537 2003-09-18  Angus Leeming  <leeming@lyx.org>
3538
3539         * LColor.h:
3540         * lyxfont.C:
3541         * lyxfont.h:
3542         * lyxtext.h:
3543         * text.C: rename EnumLColor as LColor_color.
3544
3545 2003-09-18  Angus Leeming  <leeming@lyx.org>
3546
3547         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3548         remove #include "insets/insetbase.h" from cursor.h.
3549
3550 2003-09-18  Angus Leeming  <leeming@lyx.org>
3551
3552         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3553         InsetOld_code to remove #include "inset.h".
3554
3555         * iterators.C: add #include "insets/inset.h"
3556
3557 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3558
3559         * BufferView.C: remove more locking stuff that apparently doesn't
3560         do anything sensible.
3561
3562 2003-09-16  André Pönitz  <poenitz@gmx.net>
3563
3564         * paragraph.[Ch]:
3565         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3566           performance boost.
3567
3568 2003-09-16  Angus Leeming  <leeming@lyx.org>
3569
3570         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3571
3572         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3573         arg/return type.
3574
3575         * paragraph.h: remove #include "lyxfont.h". Forward declare
3576         LyXFont_size.
3577
3578 2003-09-16  Angus Leeming  <leeming@lyx.org>
3579
3580         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3581         of support/textutils.h.
3582         (isWord): move the contents of support/textutils.h's IsWordChar here.
3583
3584         * buffer.C:
3585         * lyxfind.C:
3586         * rowpainter.C:
3587         * text.C:
3588         * text2.C: add #include "paragraph.h".
3589
3590         * rowpainter.C:
3591         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3592
3593 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * main.C:
3596         * lyx_main.C:
3597         * lyx_cb.C:
3598         * buffer.C:
3599         * LaTeX.C: use namespace alias for lyx::support::os
3600
3601 2003-09-16  Angus Leeming  <leeming@lyx.org>
3602
3603         * bufferparams.C:
3604         * bufferview_funcs.C:
3605         * factory.C:
3606         * lyxfunc.C:
3607         * paragraph_pimpl.C:
3608         * rowpainter.C:
3609         * text.C: add #include "LColor.h".
3610
3611 2003-09-16  Angus Leeming  <leeming@lyx.org>
3612
3613         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3614         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3615         return LyXFont &.
3616         Store the FontBits::color variable as an int rather than as an
3617         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3618         file.
3619
3620         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3621         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3622         string calls together.
3623
3624         * lyxrc.C: add #include "LColor.h".
3625
3626 2003-09-15  Angus Leeming  <leeming@lyx.org>
3627
3628         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3629         a cow_ptr.
3630
3631 2003-09-15  Angus Leeming  <leeming@lyx.org>
3632
3633         * LColor.h: add an EnumLColor wrapper for LColor::color.
3634
3635         * lyxfont.[Ch] (color, setColor, realColor):
3636         * lyxtext.h, text.C (backgroundColor):
3637         pass EnumLColor args to/from the functions, rather than LColor::color
3638         ones.
3639
3640         * lyxfont.h:
3641         * lyxtext.h: forward declare EnumLColor.
3642
3643         * lyx_main.C: add #include "LColor.h".
3644
3645 2003-09-15  Angus Leeming  <leeming@lyx.org>
3646
3647         * .cvsignore: add lyx-gtk.
3648
3649 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * Chktex.C
3652         * LaTeX.C
3653         * LaTeXFeatures.C
3654         * ParagraphParameters.C
3655         * Spacing.C
3656         * buffer.C
3657         * bufferparams.C
3658         * bufferview_funcs.C
3659         * chset.C
3660         * counters.C
3661         * funcrequest.C
3662         * lyxfont.C
3663         * lyxgluelength.C
3664         * lyxlength.C
3665         * paragraph.C
3666         * paragraph_funcs.C
3667         * text3.C
3668         * vc-backend.C: remove usage of STRCONV
3669
3670 2003-09-15  Angus Leeming  <leeming@lyx.org>
3671
3672         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3673         explicitly define the color passed to the painter.
3674
3675 2003-09-15  Angus Leeming  <leeming@lyx.org>
3676
3677         * bufferparams.C (BufferParams): reorder member initializers to avoid
3678         compiler warning.
3679
3680 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3683         * text.C (updateRowPositions): remove an unusual nop
3684
3685 2003-09-12  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView_pimpl.C:
3688         * Bullet.C:
3689         * layout.h:
3690         * lyxfunc.C:
3691         * lyxlayout.[Ch]:
3692         * lyxtextclass.C:
3693         * rowpainter.C:
3694         * text.C:
3695         * text2.C:
3696         * Counters.[Ch]: finish the 'automatic counters' job
3697
3698 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3699
3700         * aspell.C: include <boost/assert.cpp> (compile fix)
3701
3702 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3703
3704         * boost.C (assertion_failed): use lyx::support::abort instead of
3705         assert.
3706
3707 2003-09-10  Angus Leeming  <leeming@lyx.org>
3708
3709         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3710         with their _fwd progeny.
3711
3712 2003-09-09  Angus Leeming  <leeming@lyx.org>
3713
3714         134 files throughtout the source tree: replace 'using namespace abc;'
3715         directives with the appropriate 'using abc::xyz;' declarations.
3716
3717 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3718
3719         * boost.C (emergencyCleanup): moved here from LAssert.c
3720         (assertion_failed): new function, called by BOOST_ASSERT
3721
3722         * several files: change Assert to BOOST_ASSERT
3723
3724 2003-09-09  Angus Leeming  <leeming@lyx.org>
3725
3726         * buffer.[Ch]: Add an Impl class and move Buffer's member
3727         variables into it. As a result move several header files out of
3728         buffer.h.
3729
3730         Add header files to lots of .C files all over the tree as a result.
3731
3732 2003-09-09  Angus Leeming  <leeming@lyx.org>
3733
3734         * buffer.[Ch]: make Buffer's member variables private. Add
3735         accessor functions.
3736
3737         Lots of changes all over the tree as a result.
3738
3739 2003-09-08  Angus Leeming  <leeming@lyx.org>
3740
3741         * graph.C: #include <config.h>.
3742
3743 2003-09-08  Angus Leeming  <leeming@lyx.org>
3744
3745         * BranchList.C:
3746         * BufferView.C:
3747         * BufferView_pimpl.C:
3748         * CutAndPaste.C:
3749         * DepTable.C:
3750         * LaTeX.C:
3751         * LaTeXFeatures.C:
3752         * LyXAction.C:
3753         * MenuBackend.C:
3754         * TextCache.C:
3755         * aspell.C:
3756         * buffer.C:
3757         * bufferlist.C:
3758         * changes.C:
3759         * chset.C:
3760         * converter.C:
3761         * counters.C:
3762         * debug.C:
3763         * graph.C:
3764         * ispell.C:
3765         * lyx_cb.C:
3766         * lyxfind.C:
3767         * lyxfunc.C:
3768         * lyxlex_pimpl.C:
3769         * lyxrc.C:
3770         * lyxrow.C:
3771         * paragraph.C:
3772         * rowpainter.C:
3773         * texrow.C:
3774         * text.C:
3775         * text2.C:
3776         * toc.C: remove redundant using directives.
3777
3778 2003-09-07  Angus Leeming  <leeming@lyx.org>
3779
3780         * LaTeXFeatures.h: remove #include "support/types.h".
3781         * ToolbarBackend.h: remove #include <algorithm>.
3782         * changes.h: remove #include <ctime>.
3783         * debug.h: remove #include <iosfwd>.
3784         * graph.h: remove #include "support/std_string.h".
3785         * lyx_main.h: remove #include <csignal>.
3786         * lyxlex_pimpl.h: remove #include <fstream>.
3787         * sgml.h: remove #include <algorithm>, <utility>.
3788         * toc.h: remove #include "support/std_ostream.h".
3789         Add #include <iosfwd>.
3790
3791 2003-09-07  Angus Leeming  <leeming@lyx.org>
3792
3793         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3794
3795         * converter.h: forward declare LatexRunParams.
3796         * encoding.h: remove #include "lyxrc.h".
3797         * lyxtext.h: remove #include "LColor.h".
3798         * lyxtextclass.h: remove #include "support/types.h".
3799         * trans.h: remove #include "tex-accent.h".
3800         * trans_mgr.h: remove #include "tex-accent.h".
3801         * insets/inset.h: remove #include "support/types.h", <vector>.
3802         * insets/insetcollapsable.h: remove #include "LColor.h".
3803         * insets/insetinclude.h: remove #include "dimension.h".
3804         * insets/insetlatexaccent.h: remove #include "dimension.h".
3805         * insets/insetoptarg.h:: remove #include "insettext.h".
3806         * insets/insettext.h: remove #include "dimension.h",
3807         <boost/shared_ptr.hpp>
3808
3809         * insets/renderers.h: add #include "dimension.h".
3810         * insets/updatableinset.h: add #include "support/types.h".
3811
3812         * many .C files: Associated changes.
3813
3814 2003-09-06  Angus Leeming  <leeming@lyx.org>
3815
3816         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3817         one, inside testInvariant.
3818
3819         * PrinterParams.C: new file.
3820         * PrinterParams.[Ch]: move the function bodies out of line.
3821
3822 2003-09-06  Angus Leeming  <leeming@lyx.org>
3823
3824         * ParagraphParameters.h: forward declare ParameterStruct rather than
3825         including its header file.
3826         (depth): moved out-of-line.
3827
3828 2003-09-06  Angus Leeming  <leeming@lyx.org>
3829
3830         * BufferView_pimpl.h:
3831         * kbmap.h:
3832         * kbsequence.h:
3833         * lyxfunc.h: forward declare LyXKeySym rather than
3834         #include "frontends/LyXKeySym.h".
3835
3836         * BufferView_pimpl.C:
3837         * kbmap.C:
3838         * kbsequence.C:
3839         * lyxfunc.C: associated changes.
3840
3841 2003-09-06  Angus Leeming  <leeming@lyx.org>
3842
3843         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3844         As a result, can remove the #include "insets/inset.h" from BufferView.h
3845
3846 2003-09-06  Angus Leeming  <leeming@lyx.org>
3847
3848         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3849         As a result, can remove the #include "insets/inset.h" from BufferView.h
3850
3851 2003-09-06  Angus Leeming  <leeming@lyx.org>
3852
3853         * buffer_funcs.C:
3854         * buffer.h:
3855         * bufferlist.C:
3856         * BufferView.C:
3857         * bufferview_funcs.C:
3858         * BufferView_pimpl.C:
3859         * CutAndPaste.C:
3860         * lyx_cb.C:
3861         * lyxfunc.C:
3862         * paragraph.h:
3863         * ParagraphParameters.C:
3864         * tabular.C:
3865         * text3.C:
3866         * toc.C:
3867         * undo_funcs.C:
3868         * frontends/controllers/ControlDocument.C:
3869         * insets/insetcaption.C: rearrange the #includes into some sort of
3870         coherent order.
3871
3872         * buffer.h: remove #includes ErrorList.h, undo.h
3873
3874 2003-09-06  Angus Leeming  <leeming@lyx.org>
3875
3876         * support/types.h: add a 'depth_type' typedef, used to store the
3877         nesting depth of a paragraph.
3878
3879         * paragraph.h:
3880         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3881         defining explicitly.
3882
3883         * buffer.h:
3884         * paragraph_funcs.h:
3885         * ParagraphParameters.h:
3886         * sgml.h: use lyx::depth_type rather than Paragraph or
3887         ParameterStruct's depth_type.
3888
3889         * buffer.h
3890         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3891
3892         * BufferView.C:
3893         * BufferView_pimpl.C:
3894         * CutAndPaste.C:
3895         * ParagraphParameters.C:
3896         * buffer_funcs.C:
3897         * bufferlist.C:
3898         * bufferview_funcs.C:
3899         * lyx_cb.C:
3900         * lyxfunc.C:
3901         * tabular.C:
3902         * text3.C:
3903         * toc.C:
3904         * undo_funcs.C:
3905         * frontends/LyXView.C:
3906         * frontends/controllers/ControlDocument.C:
3907         * frontends/controllers/ControlErrorList.C:
3908         * insets/insetbibitem.C:
3909         * insets/insetbranch.C:
3910         * insets/insetcaption.C:
3911         * insets/insetcollapsable.C:
3912         * insets/insetenv.C:
3913         * insets/insetert.C:
3914         * insets/insetfloat.C:
3915         * insets/insetfoot.C:
3916         * insets/insetfootlike.C:
3917         * insets/insetnewline.C:
3918         * insets/insetquotes.C:
3919         * insets/insettabular.C:
3920         * insets/insettext.C:
3921         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3922
3923         * frontends/controllers/ControlChanges.C: #include "changes.h".
3924
3925 2003-09-06  Angus Leeming  <leeming@lyx.org>
3926
3927         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3928         than #including paragraph.h.
3929
3930         * ParagraphList.h:
3931         * RowList.h: deleted. Superfluous.
3932
3933         * CutAndPaste.h:
3934         * iterators.h:
3935         * lyxcursor.h:
3936         * lyxtext.h:
3937         * text_funcs.h:
3938         * undo.h:
3939         * undo_funcs.h:
3940         * insets/inset.h:
3941         * insets/insettext.h: use ParagraphList_fwd.h rather than
3942         ParagraphList.h.
3943
3944         * paragraph.h: don't forward declare ParagraphList.
3945
3946         * buffer.h:
3947         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3948         rather than ParagraphList.h. paragraph.h is still needed for the
3949         Paragraph::depth_type parameters.
3950
3951         * textcursor.h: enable it to compile stand-alone in light of the
3952         above changes.
3953
3954         * bufferview_funcs.C:
3955         * iterators.C:
3956         * lyxfunc.C:
3957         * lyxrow_funcs.C:
3958         * paragraph.C:
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C:
3963         * text_funcs.C:
3964         * textcursor.C:
3965         * undo.C:
3966         * frontends/controllers/ControlParagraph.C:
3967         * frontends/controllers/ControlTabular.C:
3968         * insets/insetmarginal.C:
3969         * insets/insetminipage.C:
3970         * insets/insetnote.C:
3971         * insets/insetoptarg.C: add header files needed to compile again.
3972
3973 2003-09-06  Angus Leeming  <leeming@lyx.org>
3974
3975         * RowList_fwd.h: new file, forward-declaring Row rather than
3976         #including lyxrow.h.
3977
3978         * lyxrow_funcs.h:
3979         * lyxtext.h:
3980         * paragraph.h:
3981         * insets/insettext.h: use it instead of RowList.h
3982
3983         * bufferview_funcs.C:
3984         * lyxfunc.C:
3985         * lyxrow_funcs.C:
3986         * paragraph.C:
3987         * rowpainter.C:
3988         * text.C:
3989         * text2.C:
3990         * text3.C: #include "RowList.h".
3991
3992 2003-09-05  Angus Leeming  <leeming@lyx.org>
3993
3994         * factory.C (createInset):
3995         * vspace.C (c-tor): replace sscanf call with an istringstream.
3996         * ispell.C: re-add missing HP/UX headers.
3997         * lyxserver.C: re-add missing  os2 headers.
3998
3999 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4000
4001         * BranchList.C:
4002         * graph.C:
4003         * ispell.C:
4004         * lastfiles.C:
4005         * lyx_cb.C:
4006         * lyxserver.C:
4007         * texrow.C:
4008         * text3.C: re-add missing system headers, needed for 2.95.2.
4009
4010 2003-09-05  Angus Leeming  <leeming@lyx.org>
4011
4012         Changes most place everywhere due to the removal of using directives
4013         from support/std_sstream.h.
4014
4015 2003-09-05  Angus Leeming  <leeming@lyx.org>
4016
4017         Replace LString.h with support/std_string.h,
4018         Lsstream.h with support/std_sstream.h,
4019         support/LIstream.h with support/std_istream.h,
4020         support/LOstream.h with support/std_ostream.h.
4021
4022         Changes resulting throughout the tree.
4023
4024 2003-09-05  Angus Leeming  <leeming@lyx.org>
4025
4026         * sgml.h: ensure that the header file can be compiled stand-alone.
4027         * *.C: strip out redundant #includes. (320 in total.)
4028
4029 2003-09-04  Angus Leeming  <leeming@lyx.org>
4030
4031         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4032         here (from getPackages).
4033
4034         * debug.[Ch]: add a new EXTERNAL tag.
4035
4036 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4037
4038         * text2.C (cursorEnd): simplify
4039         (setCursor): adjust
4040         (getColumnNearX): adjust
4041
4042         * text.C (computeBidiTables): adjust
4043         (fill): adjust
4044
4045         * rowpainter.C (paintChars): adjust
4046         (paintSelection): adjust
4047         (paintChangeBar): adjust
4048         (paintText): adjust
4049
4050         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4051         lastPos instead.
4052         (numberOfSeparators): adjust
4053
4054 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4055
4056         * LyXAction.C:
4057         * box.[Ch]:
4058         * lfuns.h:
4059         * lyxfunc.C:
4060         * text3.C: Restricts the mouse click functionality
4061         of insets like bibtex, include, toc and floatlist to the visible
4062         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4063         up the dialogs. Cursor has to be in front of the inset (i.e.
4064         start of row) for this to function.
4065
4066 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4067
4068         * bufferview_funcs.C (currentState): output row information
4069
4070 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4071
4072         * bufferview_funcs.C (currentState): output paragraph position
4073
4074 2003-09-04  Angus Leeming  <leeming@lyx.org>
4075
4076         * FloatList.h: move out #include "Floating.h".
4077         * LaTeX.h: move out #include "DepTable.h".
4078         * LyXAction.h: move out #include "funcrequest.h".
4079         * buffer.h: move out #include "author.h", "iterators.h".
4080         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4081         * lyx_main.h: move out #include "errorlist.h".
4082         * lyxfunc.h: move out #include "FuncStatus.h".
4083         * lyxtext: move out #include "lyxcursor.h".
4084         * paragraph_pimpl.h: move out #include "counters.h".
4085
4086 2003-09-03  Angus Leeming  <leeming@lyx.org>
4087
4088         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4089         preamble_snippets list, enabling us to add snippets to the preamble
4090         only if the snippet was not there already.
4091
4092 2003-09-04  Angus Leeming  <leeming@lyx.org>
4093
4094         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4095
4096 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4099         update
4100
4101 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4102
4103         * BranchList.C: point fix, earlier forgotten
4104
4105 2003-09-02  Angus Leeming  <leeming@lyx.org>
4106
4107         * box.C (contains): renamed from 'contained' after a fantastic
4108         amount of hot air.
4109
4110 2003-09-02  John Levon  <levon@movementarian.org>
4111
4112         * BufferView.C:
4113         * lyxcursor.h:
4114         * lyxcursor.C:
4115         * lyxfunc.C:
4116         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4117
4118 2003-09-02  John Levon  <levon@movementarian.org>
4119
4120         * text2.C: simplification of cursorEnd(), including partial
4121         fix for bug 1376
4122
4123 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * buffer.C (readFile): add a space
4126
4127 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4130
4131 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * buffer.C (readFile): new function, take a filename and a
4134         ParagraphList::iterator
4135         (readFile): adjust
4136         (readFile): adjust, make it private. don't use setStream, make
4137         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4138         always contain the filename.
4139
4140         * BufferView.C (insertLyXFile): simplify and make it work for
4141         gzipped files.
4142
4143 2003-08-30  John Levon  <levon@movementarian.org>
4144
4145         * Makefile.am: fix dist (from Kayvan)
4146
4147 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * most files: change to use const Buffer refs
4150
4151 2003-08-27  André Pönitz  <poenitz@gmx.net>
4152
4153         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4154         on top of ownerPar().
4155
4156 2003-08-27  John Levon  <levon@movementarian.org>
4157
4158         * funcrequest.C: properly initialise POD members
4159
4160 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * lyxtext.h (top_y): move top_y from here
4163         * text.C:
4164         * text2.C:
4165         * text3.C:
4166         * BufferView.[Ch]:
4167         * BufferView_pimpl.[Ch]: to here
4168         * frontends/screen.C:
4169         * insets/insettabular.C:
4170         * insets/insettext.C: adjust
4171         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4172
4173 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * BufferView.[Ch]:
4176         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4177
4178 2003-08-26  André Pönitz  <poenitz@gmx.net>
4179
4180         * paragraph_func.[Ch] (outerPar): new function
4181
4182         * paragraph.C:
4183         * paragraph_funcs.C:
4184         * paragraph_funcs.h:
4185         * paragraph_pimpl.C:
4186         * text2.C: remove Inset::par_owner
4187
4188 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4189
4190         * lyxrow_funcs.C:
4191         * lyxtext.h:
4192         * text.C:
4193         * text2.C: eliminates the needFullRow/display() stuff
4194         altogether, putting the logic in metrics/draw in the insets.
4195
4196 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * text2.C (redoParagraphInternal, redoParagraphs):
4199         * text.C (redoParagraph): add a call to updateRowPositions at the
4200         end of each 'metrics-like' call. Remove all others.
4201         (getRow): remove the 'y-computing' version.
4202         (getRowNearY): do not compute nor return the real y. Solve the
4203         'y < 0' problem and simplify.
4204
4205 2003-08-22  Angus Leeming  <leeming@lyx.org>
4206
4207         * *.[Ch]: clean-up of licence and author blurbs.
4208         Also move config.h out of a few .h files and into a few .C files.
4209
4210 2003-08-22  André Pönitz  <poenitz@gmx.net>
4211
4212         * lyxrow.[Ch]: add x_ and *fill_ members
4213
4214         * lyxtext.h:
4215         * text.C:
4216         * rowpainter.C:
4217         * text2.C: adjust/remove prepareToPrint() calls
4218
4219 2003-08-22  André Pönitz  <poenitz@gmx.net>
4220
4221         * lyxrow.[Ch]: add  end_ member
4222
4223         * lyxrow_funcs.C: use LyXRow::end_
4224
4225         * lyxtext.h (singleWidth): add LyXFont parameter
4226
4227         * rowpainter.C:
4228         * text2.C: adjust LyXText::singleWidth() calls
4229
4230         * text.C (redoParagraph): simplify row breaking logic
4231
4232
4233 2003-08-19  André Pönitz  <poenitz@gmx.net>
4234
4235         * funcrequest.C: initialize button_ member
4236
4237         * text3.C:
4238         * rowpainter.[Ch]: interface consolidation
4239
4240 2003-08-18  André Pönitz  <poenitz@gmx.net>
4241
4242         * BufferView.C:
4243         * BufferView_pimpl.C:
4244         * lyxfind.C:
4245         * paragraph_funcs.C:
4246         * rowpainter.C:
4247         * text3.C: remove LyXScreen::draw() and fitCursor calls
4248
4249         * BranchList.h: remove spurious semicolons
4250
4251         * MenuBackend.C: fix branchlist related crash
4252
4253 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4254
4255         * BranchList.[Ch]:
4256         * InsetList.[Ch]:
4257         * LColor.[Ch]:
4258         * LyXAction.C:
4259         * Makefile.am:
4260         * MenuBackend.[Ch]:
4261         * bufferparams.[Ch]:
4262         * factory.C:
4263         * lfuns.h:
4264         * lyxfunc.C:
4265         * text3.C: implements the 'branch inset'
4266         idea. This allows the output of various versions of a document
4267         from a single source version, selectively outputing or suppressing
4268         output of parts of the text.
4269         This implementation contains a 'branch list editor' in a separate
4270         tab of the document settings dialog. Branches are user definable
4271         and have a "display colour" to distinguish them on-screen.
4272
4273         ColorHandler was somewhat cleaned up.
4274         (1) make possible a dynamically growing LColor list by allowing
4275         the graphic context cache to grow along (vector);
4276         (2) eliminate an IMHO unnecessary step in colour allocation.
4277
4278 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4279
4280         * BufferView_pimpl.C: compile fix
4281
4282 2003-08-15  André Pönitz  <poenitz@gmx.net>
4283
4284         * rowpainter.C: remove extra metrics calls
4285
4286         * lyxtext.h: merge the two constructors into a single one,
4287           pass reference to owner's par list
4288
4289         * BufferView_pimpl.C:
4290         * text.C:
4291         * text2.C: adjust
4292
4293 2003-08-15  André Pönitz  <poenitz@gmx.net>
4294
4295         * lyxrow_funcs.[Ch]:
4296         * lyxtext.h:
4297         * paragraph.h:
4298         * paragraph_funcs.C:
4299         * rowpainter.C:
4300         * text.C:
4301         * text2.C:
4302         * text3.C:
4303         * text_funcs.C: split LyXText::rowlist_ into individual
4304         Paragraph::rows_ chunks
4305
4306         * BufferView.[Ch]:
4307         * BufferView_pimpl.[Ch]:
4308         * lyxfind.C:
4309         * lyxtext.h:
4310         * text3.C: remove toggleSelection()
4311
4312 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4313
4314         * bufferlist.C: beautify two alerts (shorter text of buttons)
4315         * buffer.C: Remove redundant ' ' from message
4316         * tabular.h:
4317         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4318         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4319         rename VALIGN_CENTER to VALIGN_MIDDLE
4320
4321 2003-08-11  André Pönitz  <poenitz@gmx.net>
4322
4323         * lyxtext.h (getPar):
4324         * text.C: new function
4325
4326 2003-08-11  André Pönitz  <poenitz@gmx.net>
4327
4328         * Makefile.am:
4329         * tracer.[Ch]: remove unneeded files
4330
4331         * InsetList.[Ch]: remove resizeInsetsLyXText()
4332
4333         * lyxtext.h:
4334         * text.C:
4335         * text2.C:
4336         * text3.C: merge insertParagraphs() and appendParagraph()
4337         remove breakAgain(), update()
4338
4339         * BufferView_pimpl.[Ch]:
4340         * bufferview_funcs.[Ch]:
4341         * lyxfunc.C:
4342         * paragraph.[Ch]:
4343         * rowpainter.C:
4344         * tabular.C: adjust after text & InsetList changes.
4345
4346 2003-08-08  André Pönitz  <poenitz@gmx.net>
4347
4348         * text.C (insertChar, backspace): replace rowlist fiddling
4349         with rebreak of full par
4350
4351         * lyxtext.h:
4352         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4353         checkParagraph, updateInset): removed
4354
4355 2003-08-07  André Pönitz  <poenitz@gmx.net>
4356
4357         * paragraph.C:
4358         * text3.C: merge some LFUN handlers, remove dead code
4359
4360 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4361
4362         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4363
4364 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4365
4366         * text2.C (DEPM): fix part of bug 1255 and 1256
4367
4368 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4369
4370         * BufferView_pimpl.C (workAreaDispatch): change to use
4371         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4372         that are no mouse related.
4373
4374 2003-08-05  André Pönitz  <poenitz@gmx.net>
4375
4376         * BufferView.[Ch]:
4377         * BufferView_pimpl.[Ch]:
4378         * bufferview_funcs.C:
4379         * text2.C:
4380         * text3.C: rip out "deep update"
4381
4382         * textcursor.[Ch] (last_sel_cursor): remove unused member
4383
4384 2003-08-04  André Pönitz  <poenitz@gmx.net>
4385
4386         * BufferView.[Ch]:
4387         * BufferView_pimpl.[Ch]:
4388         * ParagraphParameters.C:
4389         * bufferview_funcs.C:
4390         * lyx_cb.C:
4391         * lyxfind.C:
4392         * lyxfunc.C:
4393         * text.C:
4394         * text2.C:
4395         * text3.C: replace "complicated" BufferView::update(...) calls with
4396         simpler ones.
4397
4398         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4399
4400 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4401
4402         * Makefile.am (lyx_SOURCES): add paper.h
4403
4404 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4405
4406         * Makefile.am: move things around so that both lyx-qt and
4407         lyx-xforms can be built (according to --with-frontend). Then lyx
4408         is a symbolic link to lyx-[firstfrontend]
4409
4410 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4411
4412         * Always use std::endl with lyxerr
4413
4414 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4415
4416         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4417
4418 2003-08-01  André Pönitz  <poenitz@gmx.net>
4419
4420         * BufferView.[Ch]:
4421         * BufferView_pimpl.[Ch]:
4422         * lyxfunc.C:
4423         * text3.C: merge BufferView::repaint() and BufferView::update()
4424
4425 2003-08-01  José Matos  <jamatos@lyx.org>
4426
4427         * buffer.[Ch]: file_format is no longer a buffer data element.
4428
4429 2003-08-01  André Pönitz  <poenitz@gmx.net>
4430
4431         * BufferView.C:
4432         * lyxtext.h:
4433         * text.C:
4434         * text2.C: make redoParagraph more independent of current cursor
4435
4436         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4437         * text.C:
4438         * text2.C: remove unneeded members
4439
4440 2003-07-30  André Pönitz  <poenitz@gmx.net>
4441
4442         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4443
4444         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4445           create a single function...
4446
4447         * paragraph_funcs.C (moveItem): ... here.
4448
4449         * text.C:
4450           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4451
4452 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4453
4454         * LColor.[Ch]: Add comment and greyedout logical colors.
4455
4456 2003-07-30  André Pönitz  <poenitz@gmx.net>
4457
4458         * tabular.C: don't use Assert too heavily. This crashes where it
4459           shouldn't
4460
4461 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4464         is disabled (bug 1232)
4465
4466 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4467
4468         * factory.C: limited 'arg' scope
4469
4470 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4471
4472         * factory.C: fixed Note submenu issues
4473
4474 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * factory.C: submenu for Note/Comment/Greyedout
4477
4478 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * lyx_main.C (LyX):
4481         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4482
4483 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4484
4485         * LaTeXFeatures.C:
4486         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4487         greyedout. Patch provided by Jürgen Spitzmüller.
4488
4489 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4490
4491         * kbmap.C (read): fix error message when reading bind files
4492
4493 2003-07-29  Angus Leeming  <leeming@lyx.org>
4494
4495         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4496         certainly does not do what it purports to do. I am doing it, and
4497         us, a favour by killing it.
4498
4499 2003-07-28  José Matos  <jamatos@lyx.org>
4500
4501         * buffer.C (readBody, do_writeFile):
4502         * paragraph.C(readParagraph): \end_document replaces \the_end.
4503
4504 2003-07-29  André Pönitz  <poenitz@gmx.net>
4505
4506         * BufferView.[Ch]:
4507         * BufferView_pimpl.[Ch]:
4508         * lyxfunc.C:
4509         * text2.C:
4510         * text3.C:
4511         * textcursor.[Ch]: remove toggleToggle & Co
4512
4513 2003-07-28  José Matos  <jamatos@fep.up.pt>
4514
4515         * buffer.C (readParagraph):
4516         * params_func (readParToken, readParagraph):
4517         * paragraph.C (write): \layout -> \begin_layout.
4518
4519 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * lyxlex_pimpl.C (setFile): clean up slightly.
4522
4523         * bufferparams.h: add compressed var
4524
4525         * buffer_funcs.C (readFile): adjust for LyXLex change
4526         (newFile): ditto + simplify
4527
4528         * buffer.C (writeFile): handle writing of compressed files
4529
4530         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4531         Check if the file is compressed and set a bufferparm if so.
4532
4533         * Makefile.am (lyx_LDADD): remove explicit -lz
4534
4535 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4536
4537         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4538         makeDocBookFile): put the real LyX version in the first line of
4539         the file
4540
4541         * version.h:
4542         * version.C.in: remove lyx_docversion
4543
4544         * tabular.C (write_attribute): add a template-based version to
4545         write enums properly
4546
4547 2003-07-28  André Pönitz  <poenitz@gmx.net>
4548
4549         * lyxtext.h:
4550         * text.C:
4551         * text2.C:
4552         * text3.C: use doubles again for x-coordinates. They are needed.
4553
4554 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4555
4556         * messages.C (getLocaleDir): use lyx_localedir()
4557
4558         * lyxlex_pimpl.C (setFile): compress stuff
4559
4560         * buffer.C (writeFile): add some compression stuff
4561         (do_writeFile): new func, dont call expliti close... will this
4562         breake anything?
4563
4564         * Makefile.am (lyx_LDADD): add -lz
4565
4566 2003-07-28  José Matos  <jamatos@fep.up.pt>
4567
4568         * buffer.C: increment file format.
4569         * paragraph_funcs (readParagraph, readParToken):
4570         * paragraph.C (readParagraph): add \end_layout.
4571
4572 2003-07-27  Angus Leeming  <leeming@lyx.org>
4573
4574         * Makefile.am: remove special casing for configure-time setting of
4575         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4576
4577         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4578         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4579
4580 2003-07-26  André Pönitz  <poenitz@gmx.net>
4581
4582         * paragraph_func.[Ch]:
4583         * paragraph.C (realizeFont): inline it whereever it is used
4584
4585         * rowpainter.C:
4586         * text.C:
4587         * text2.C:
4588         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4589
4590
4591 2003-07-26  André Pönitz  <poenitz@gmx.net>
4592
4593         *       lyxtext.h:
4594         * text.C:
4595         * text2.C: get rid of LyXText::need_break_row
4596
4597 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * toc.[Ch]: put namespace toc inside namespace lyx
4600
4601         * MenuBackend.C (expandToc2): adjust for lyx::toc
4602         (expandToc): ditto
4603
4604         * lyxfunc.C (dispatch): adjust for lyx::find
4605
4606         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4607         lyx::find instead. Reorganize a bit.
4608         (LyXReplace): rename to replace
4609         (LyXFind): rename to find
4610
4611         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4612         (dispatch): ditto
4613
4614 2003-07-26  André Pönitz  <poenitz@gmx.net>
4615
4616         * text.C (setHeightOfRow): restrict scope of temporary variable
4617
4618         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4619           code (never has been used?)
4620
4621 2003-07-27  Asger Alstrup  <alstrup@local>
4622
4623         * text.C (fill): Optimise algorithm to exploit that we can reuse
4624         the LyXFont for many characters.
4625         (setHeightOfRow): Same thing.
4626         (rowBreakPoint): Same thing.
4627
4628 2003-07-26  Asger Alstrup  <alstrup@local>
4629
4630         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4631
4632         * text.C (singleWidth): Spurious font copying in hot-spot
4633         singleWidth avoided. Reorder tests for arabic for efficiency.
4634
4635         * text.C (fill): handle empty paragraphs better.
4636
4637 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4638
4639         * ispell.C:
4640         * encoding.h: add includes
4641
4642         * lyxrc.C: remove reading of bind files
4643
4644         * lyx_main.C (init): setup bindings and menus only if we have a
4645         gui.
4646
4647         * kbmap.C (read): new method. Do the actual reading of bind
4648         files.
4649
4650         * converter.C (dvipdfm_options):
4651         * bufferparams.C:
4652         * lyxrc.C (read):
4653         (output): adapt PAPER_* enums.
4654
4655         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4656
4657         * bufferparams.h: remove paper-related enums from there
4658
4659         * paper.h: New file. A trivial header file to hold paper-related
4660         enums. It should later expand to contain many paper-related
4661         horrors access.
4662
4663         * lyxrc.C: declare extern displayTranslator
4664
4665 2003-07-27  José Matos  <jamatos@fep.up.pt>
4666
4667         * tabular.[Ch] (linuxdoc): add support for tables and figures
4668         (linuxdoc).
4669
4670 2003-07-27  José Matos  <jamatos@fep.up.pt>
4671
4672         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4673         consistency in both functions.
4674         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4675
4676 2003-07-26  Asger Alstrup  <alstrup@local>
4677
4678         * rowpainter.C (paintRows): Change algorithm to work directly on
4679         the insets rather than asking every character in the document
4680         whether its an inset.
4681
4682 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4683
4684         * buffer.C (openFileWrite): factorize some code
4685
4686 2003-07-26  Angus Leeming  <leeming@lyx.org>
4687
4688         * lyx_cb.C:
4689         * lyx_main.[Ch]: replace occurances of system_tempdir with
4690         os::getTmpDir().
4691
4692 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * rename Inset to InsetOld
4695
4696 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4697
4698         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4699         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4700         which I think is a bit clearer. EDIT is gone, since it was
4701         premature optimisation, and broken for mathed anyway.
4702         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4703         with cursor positioning in insets as well (math insets still do not
4704         work, but that's a different story anyway.) It mysteriously
4705         crashes sometimes with undo in the first paragraph, but I'm fairly
4706         confident that this is a compiler bug.
4707
4708 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * paragraph.C (Paragraph): adjust for new clone return type
4711         (operator==): ditto
4712         (copyIntoMinibuffer): ditto
4713
4714 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4715
4716         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4717         by not having a special case, and always doing a full rebreak of
4718         the document after undo.
4719
4720 2003-07-23  Angus Leeming  <leeming@lyx.org>
4721
4722         * factory.C (createInset): InsetExternal::setParams now takes a
4723         Buffer const * arg.
4724
4725 2003-07-23  Angus Leeming  <leeming@lyx.org>
4726
4727         * factory.C (createInset): changed interface to the external and
4728         graphics mailers' string2params functions.
4729
4730 2003-07-23  Angus Leeming  <leeming@lyx.org>
4731
4732         * factory.C (createInset): pass a
4733         Buffer const * parameter to InsetExternalMailer's string2params.
4734
4735 2003-07-22  John Levon  <levon@movementarian.org>
4736
4737         * Thesaurus.h: include the right aiksaurus header
4738
4739 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4740
4741         * MenuBackend.C (expand): check menu shortcuts unconditionally
4742
4743 2003-07-21  Angus Leeming  <leeming@lyx.org>
4744
4745         * factory.C (createInset): pass a
4746         buffer_path parameter to InsetGraphicsMailer's string2params.
4747
4748 2003-07-21  Angus Leeming  <leeming@lyx.org>
4749
4750         * BufferView_pimpl.C (buffer):
4751         * buffer.C (d-tor):
4752         * lyx_main.C (LyX):
4753         * lyxfunc.C (dispatch):
4754         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4755         rather than the grfx shortcut.
4756
4757 2003-07-21  André Pönitz  <poenitz@gmx.net>
4758
4759         * rowpainter.C: remove unused variables
4760
4761         * tabular_funcs.C:
4762         * tabular_funcs.h: move to tabular.C
4763         * Makefile.am: adjust
4764
4765         * tabular.[Ch]: basic optical cleaning
4766
4767         * author.h: pass references, not values
4768
4769 2003-07-18  André Pönitz  <poenitz@gmx.net>
4770
4771         * lyxtext.h:
4772         * metricsinfo.C:
4773         * metricsinfo.h:
4774         * rowpainter.C:
4775         * text.C:
4776         * text2.C:
4777         * text3.C: two-phase drawing for InsetText and InsetTabular
4778         some float -> int changes.
4779
4780 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * lyx_main.C: fix the fix
4783
4784 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * lyx_main.C: fix a crash in batch mode if no files specified
4787         * converter.C: ws
4788
4789 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * format.[Ch] (papersize): moved to BufferParams
4792         * converter.[Ch] (dvips_options): moved to BufferParams
4793         (dvipdfm_options): moved to anon namespace
4794         * bufferparams.[Ch]: added above functions.
4795
4796 2003-07-17  André Pönitz  <poenitz@gmx.net>
4797
4798         * lyxtext.h:
4799         * rowpainter.C:
4800         * text2.C: don't call inset->update() anymore
4801
4802         * metricsinfo.[Ch]: add convenience constructor
4803
4804 2003-07-16  André Pönitz  <poenitz@gmx.net>
4805
4806         * lyxcursor.[Ch]:
4807         * lyxfunc.[Ch]:
4808         * text.C:
4809         * text2.C: replace the LyXCursor::irow_ member with
4810          on-demand computation of the value
4811
4812 2003-07-16  John Levon  <levon@movementarian.org>
4813
4814         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4815
4816 2003-07-15  André Pönitz  <poenitz@gmx.net>
4817
4818         * text.C:
4819         * text2.C: remove no more needed refresh_row
4820
4821 2003-07-15  André Pönitz  <poenitz@gmx.net>
4822
4823         * lyxtext.h:
4824         * rowpainter.C:
4825         * text2.C:
4826         * text3.C: refresh_status tristate -> need_update bool
4827
4828 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4829
4830         * lyxtext.h (init): remove reinit argument (act as if always true)
4831         * text2.C: adjust to that
4832
4833 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4834
4835         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4836         * text3.C: use it to delete selections in some cases
4837         (bugs 441, 673, 702, 954).
4838
4839 2003-07-14  André Pönitz  <poenitz@gmx.net>
4840
4841         * rowpainter.[Ch]: reduce interface
4842
4843 2003-07-14  André Pönitz  <poenitz@gmx.net>
4844
4845         * BufferView_pimpl.C:
4846         * text2.C: adjust after removing unused BufferView * argument
4847
4848 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * text2.C (init): fix a crash fired on resize
4851
4852 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4853
4854         * buffer.[Ch]: added new closing signal
4855         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4856         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4857         BufferView::Pimpl via the closing the signal
4858
4859 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4860
4861         * buffer.[Ch]: take out all bv-related from buffer
4862         * BufferView.C:
4863         * BufferView_pimpl.[Ch]: connect to new signals
4864         * CutAndPaste.C: removed useless asserts
4865         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4866         * lyxvc.[Ch]:
4867         * vc-backend.[Ch]:
4868         * lyxfunc.C: moved view-related funciontality from vc here
4869         * paragraph.C: removed outdated comments
4870         * text.C: ws
4871
4872 2003-07-10  André Pönitz  <poenitz@gmx.net>
4873
4874         * BufferView_pimpl.C:
4875         * tabular.h:
4876         * tabular_funcs.C:
4877         * text.C:
4878         * text2.C: remove InsetText::InnerCache, clean up consequences
4879
4880 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4881
4882         * ispell.C: fix two typos in error messages
4883
4884 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4885
4886         * Extend Note inset to other forms of annotation like Comment
4887         and Greyedout. Right button click gives dialog.
4888
4889         Files modified or added (+):
4890
4891         * insetnote.[Ch]
4892         * FormNote.[Ch]      +
4893         * ControlNote.[Ch]   +
4894         * form_note.fd       +
4895         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4896         frontends/controllers
4897         * xforms/Dialogs.C
4898         * factory.C
4899
4900 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4901
4902         * aspell.C: add missing namespace lyx::support
4903
4904 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4905
4906         * BufferView.[Ch] (newFile): Add
4907         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4908         * LaTeX.[Ch] (message): added this signal and use it
4909         * buffer.[Ch] (busy, message): added these signals and use them
4910         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4911         * converter.C:
4912         * exporter.C:
4913         * format.C:
4914         * importer.C: use buffer signals instead of direct bv calling
4915         * lyx_cb.[Ch] (ShowMessage): removed
4916         * lyx_main.C:
4917         * lyxfunc.C:
4918         * paragraph_funcs.C:
4919         * text2.C: use buffer signals
4920
4921 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * introduce namespace lyx::graphics
4924
4925 2003-07-02  André Pönitz  <poenitz@gmx.net>
4926
4927         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4928
4929 2003-07-01  André Pönitz  <poenitz@gmx.net>
4930
4931         * text.C:
4932         * text2.C:
4933         * text3.C:
4934         * text_funcs.[Ch]:
4935         * textcursor.h:
4936         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4937           text*.C to text_func.C
4938
4939 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * introduce namespace lyx::support
4942
4943 2003-06-30  André Pönitz  <poenitz@gmx.net>
4944
4945         * Chktex.C:
4946         * funcrequest.C:
4947         * lyxtext.h:
4948         * text.C: re-enable --with-included-string
4949
4950 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * textcursor.C: add <config.h>
4953
4954         * text.C (getWord): remove const from word_location arg
4955
4956         * lyxvc.C (getLogFile): fix const type order
4957
4958         * lyxtext.h: remove const from word_location arg, add arg name
4959
4960         * lyxlayout.h: currect type on labeltype.
4961
4962         * importer.C: correct \file
4963
4964         * converter.C (intToFormat): use std:: on ret val, ws changes
4965
4966         * bufferlist.h: correct \file
4967
4968         * buffer.C (makeLinuxDocFile): fix const type order
4969         (makeDocBookFile): ditto
4970         (fillWithBibKeys): use std:: on stdlib args.
4971
4972         * CutAndPaste.C: fix authors.
4973         (availableSelections): use std:: on return vector
4974
4975 2003-06-27  André Pönitz  <poenitz@gmx.net>
4976
4977         * BufferView_pimpl.C:
4978         * bufferview_funcs.C:
4979         * lyxcursor.C:
4980         * lyxcursor.h:
4981         * lyxfunc.C:
4982         * lyxtext.h:
4983         * rowpainter.C:
4984         * text.C:
4985         * text2.C:
4986         * text3.C: remove LyXCursor::row_ member
4987
4988         * lyxtext.h:
4989         * text.C: rename fullRebreak() to partialRebreak() and implement
4990           a fullRebreak() that really bereks fully
4991
4992         * textcursor.h: new struct for cursor-related data
4993
4994 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4995
4996         * lyx_main.C (LyX): get full path of document loaded on the
4997         command line
4998
4999 2003-06-26  André Pönitz  <poenitz@gmx.net>
5000
5001         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5002           remove unused/broken operator>,<,>=.
5003
5004         *       text.C: remove only use of broken operator<= in an Assert().
5005
5006 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5007
5008         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5009         moved errorlist_.clear to showErrorList
5010
5011 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5012
5013         * converter.C (scanLog, runLaTeX):
5014         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5015         move the bv->showErrorList call to the callers
5016         * lyxfunc.C: i.e. here...
5017         * text2.C: and here
5018         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5019         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5020         namespace, the second to...
5021         * buffer_funcs (BufferFormat, parseErrors): added
5022         * errorlist.C (ErrorList(TeXErrors const &)): removed
5023
5024 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5025
5026         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5027
5028 2003-06-24  "Garst R. Reese" <reese@isn.net>
5029
5030         * debug.C: fix typo
5031
5032 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5033
5034         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5035
5036         * version.C.in: change docversion to 1.4
5037
5038 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * buffer.C: fix a bug just introduced
5041
5042 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * buffer.[Ch]: added the parseError signal and use it, removed
5045         sgmlError
5046         * BufferView.[Ch] (addError): moved to ...
5047         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5048         to the Buffer::parseError signal to catch (guess what) parse errors
5049         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5050
5051 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5054         ability to create a buffer and to return an existing one from
5055         the list. Moved these functions to...
5056         * buffer_funcs.[Ch]: added
5057         * BufferView.[Ch] (loadLyXFile): added
5058         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5059         job removed from bufferlist::loadLyXFile.
5060         * buffer.C (setReadOnly): make it work without view
5061         (i.e added an if (users))
5062
5063 2003-06-19  Angus Leeming  <leeming@lyx.org>
5064
5065         * lfuns.h:
5066         * LyXAction.C (init):
5067         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5068         with LFUN_DIALOG_SHOW <name> <data>.
5069
5070 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5071
5072         * CutAndPaste.C (availableSelections): small compilation fix for
5073         ancient (gcc 2.9x) compilers
5074
5075 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * text3.C (cursorNext): add tmp var
5078
5079         * text2.C (updateCounters): for function calling out of for clause
5080         (replaceSelectionWithString): ditto
5081         (insertStringAsParagraphs): ditto
5082         (getColumnNearX): add tmp var
5083         (setCursorFromCoordinates): add tmp var
5084         (cursorDownParagraph): add tmp var
5085         (deleteEmptyParagraphMechanism): add tmp var
5086
5087         * text.C (insertChar): add tmp var
5088
5089         * rowpainter.C (paintDepthBar): add tmp var
5090
5091         * CutAndPaste.C (availableSelections): potentially check all
5092         paragraphs in a cut to fill the shown strings.
5093
5094 2003-06-18  André Pönitz  <poenitz@gmx.net>
5095
5096         * kbmap.[Ch]: use vector<> instead of list<>
5097
5098 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5099
5100         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5101         pasteSelection with index
5102
5103         * text2.C (pasteSelection): modify, call pasteSelection with index
5104
5105         * paragraph.C (asString): reimplement version with no interval to
5106         call the one with interval.
5107
5108         * lyxtext.h: add index arg to pasteSelection
5109
5110         * MenuBackend.C (MenuItem): handle PasteRecent
5111         (Menu::read::Menutags): add md_pasterecent
5112         (read): handle it
5113         (expandPasteRecent): new function
5114         (expand): use it
5115
5116         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5117
5118         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5119         the limited stack
5120         (availableSelections): new function
5121
5122 2003-06-17  Angus Leeming  <leeming@lyx.org>
5123
5124         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5125
5126 2003-06-17  Angus Leeming  <leeming@lyx.org>
5127
5128         * lfuns.h:
5129         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5130
5131         * lyxfunc.C (dispatch): invoke it.
5132
5133 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5134
5135         * iterators.C (operator++, ParPosition): reintroduce some
5136         const_cast for the benefit of older compilers.
5137
5138 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5139
5140         * text3.C (dispatch): do not modify clipboard when doing
5141         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5142         LFUN_DELETE_SKIP on a selection selection
5143
5144 2003-06-16  André Pönitz  <poenitz@gmx.net>
5145
5146         * BufferView.C:
5147         * buffer.C:
5148         * buffer.h:
5149         * paragraph.C:
5150         * tabular.[Ch]: IU of clone() and getLabelList();
5151
5152 2003-06-13  André Pönitz  <poenitz@gmx.net>
5153
5154         * tabular.h: compactification
5155
5156 2003-06-12  André Pönitz  <poenitz@gmx.net>
5157
5158         * tabular.C:
5159         * tabular.h:
5160         * tabular_funcs.h: some renaming plus whitespace
5161
5162 2003-06-12  André Pönitz  <poenitz@gmx.net>
5163
5164         * BufferView.C:
5165         * BufferView_pimpl.C:
5166         * CutAndPaste.C:
5167         * buffer.C:
5168         * iterators.[Ch]:
5169         * lyxfunc.C:
5170         * text.C:
5171         * toc.C: Return a Paragraph & for ParIterator::operator*()
5172
5173 2003-06-11  John Levon  <levon@movementarian.org>
5174
5175         * lyx_main.C:
5176         * ToolbarBackend.h:
5177         * ToolbarBackend.C: add "Toolbars" section and
5178         put the flags there
5179
5180 2003-06-10  Angus Leeming  <leeming@lyx.org>
5181
5182         * lfuns.h:
5183         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5184
5185         * lyxfunc.C (dispatch): invoke it.
5186
5187 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * main.C: protect <ios> with HAVE_IOS
5190         (main): protect sync_with_stdio with HAVE_IOS
5191
5192 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5193
5194         * text2.C (cutSelection): adjust
5195         (pasteSelection): adjust
5196
5197         * messages.C: handle get of empty string
5198
5199         * main.C (main): use sync_with_stdio(false)
5200
5201         * lyxfunc.C (dispatch): adjust
5202
5203         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5204         (WriteAs): remove unneeded BufferView arg.
5205
5206         * bufferparams.h: use correct types on papersize, papersize2 and
5207         paperpackage.
5208
5209         * bufferparams.C (readToken): adjust for type
5210         (writeLaTeX): add missing cases to switch.
5211
5212         * bufferlist.C (quitWriteBuffer): adjust
5213         (close): adjust
5214
5215         * buffer.C (asciiParagraph): remove some commented code.
5216
5217         * CutAndPaste.C: remove current_view extern variable.
5218         (cutSelection): add BufferParams arg.
5219         (eraseSelection): add BufferParams arg.
5220         (pasteSelection): add Buffer const & arg
5221
5222 2003-06-07  John Levon  <levon@movementarian.org>
5223
5224         * buffer.C:
5225         * paragraph_funcs.C:
5226         * paragraph_pimpl.C:
5227         * text.C:
5228         * text2.C:
5229         * paragraph.h:
5230         * paragraph.C: allow InsetERT to freely space lines,
5231         and some consolidation of code
5232
5233 2003-06-06  José Matos  <jamatos@fep.up.pt>
5234
5235         * buffer.C (makeDocBookFile): fix bug #821
5236
5237 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5238
5239         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5240
5241 2003-06-04  Angus Leeming  <leeming@lyx.org>
5242
5243         * buffer.C: bump format to 224.
5244
5245 2003-06-05  André Pönitz  <poenitz@gmx.net>
5246
5247         * text2.C (redoParagraphs): remove two const_cast<>
5248
5249 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5250
5251         * ParagraphList.h: remove last remnants of NO_STD_LIST
5252
5253 2003-06-03  Angus Leeming  <leeming@lyx.org>
5254
5255         * factory.C (createInset): small change to the way InsetExternal's params
5256         are set.
5257
5258 2003-06-04  André Pönitz  <poenitz@gmx.net>
5259
5260         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5261
5262         * paragraph_pimpl.h:
5263         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5264
5265         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5266
5267         * undo_funcs.C: make some simple cases of undo work again
5268
5269 2003-06-03  John Levon  <levon@movementarian.org>
5270
5271         * ispell.C: HPUX doesn't have sys/select.h
5272         (from Albert Chin)
5273
5274 2003-06-03  John Levon  <levon@movementarian.org>
5275
5276         * CutAndPaste.C: update tabular and include inset
5277         buffer references
5278
5279         * buffer.h:
5280         * paragraph.h:
5281         * paragraph.C: remove owningBuffer(), don't pass Buffer
5282         to clone()
5283
5284         * factory.C: insetGraphicsParams changed
5285
5286 2003-06-02  John Levon  <levon@movementarian.org>
5287
5288         * LyXAction.C:
5289         * factory.C:
5290         * lfuns.h:
5291         * lyxfunc.C:
5292         * text3.C: remove insetparent
5293
5294 2003-06-02  John Levon  <levon@movementarian.org>
5295
5296         * buffer.h:
5297         * buffer.C: fix inset_iterator.end(), move out of line
5298         (bug 1149)
5299
5300 2003-06-01  John Levon  <levon@movementarian.org>
5301
5302         * text3.C: use a proper cut/paste when doing inset
5303         insert (from Jürgen Spitzmüller)
5304
5305 2003-06-01  John Levon  <levon@movementarian.org>
5306
5307         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5308
5309 2003-05-30  André Pönitz  <poenitz@gmx.net>
5310
5311         * rowpainter.C: unify second drawing phase
5312
5313 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * trans_mgr.C: remove one case of current_view
5316
5317         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5318
5319         * paragraph_funcs.h: remove paragraph.h include
5320
5321         * paragraph.h: delete NO_STD_LIST stuff
5322
5323         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5324
5325         * buffer.h: remove paragraph.h include
5326
5327         * ParagraphList.C: delete file
5328
5329         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5330
5331         * toc.C (getTocList): adjust
5332
5333         * paragraph_pimpl.C (validate): adjust
5334
5335         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5336
5337         * paragraph.C (Paragraph): adjust
5338         (getPositionOfInset): use const_iterator, adjust
5339         (bibitem): use const_iterator, adjust
5340         (setInsetOwner): adjust
5341
5342         * iterators.C (operator++): adjust
5343
5344         * InsetList.[Ch]: Replace selfmade iterator with standard
5345         vector::iterator also introduce const_iterator. Remove getPos,
5346         getInset and setInset from InsetTable. Adjust accordingly.
5347
5348         * BufferView.C (lockInset): adjust
5349         (ChangeInsets): adjust
5350
5351         * tabular.[Ch]: delete commented same_id functions
5352
5353 2003-05-28  John Levon  <levon@movementarian.org>
5354
5355         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5356
5357 2003-05-28  André Pönitz  <poenitz@gmx.net>
5358
5359         * metricsinfo.[Ch]: remove 'fullredraw' member
5360
5361 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5362
5363         * lyxtextclass.C (operator): remove caching.
5364
5365 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * text3.C: adjust
5368
5369         * text2.C (cursorBottom): adjust
5370         (setCounter): use ParagraphList::find, adjust
5371
5372         * text.C (workWidth): use ParagraphList::find, adjust
5373
5374         * lyxcursor.C (LyXCursor): adjust
5375
5376         * buffer.C (inset_iterator): adjust
5377
5378         * ParagraphList.h: make iterator(value_type) private, make
5379         ParagraphList a friend of iterator.
5380
5381         * ParagraphList.C (find): new function
5382
5383         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5384
5385 2003-05-27  André Pönitz  <poenitz@gmx.net>
5386
5387         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5388
5389 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5390
5391         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5392
5393 2003-05-26  John Levon  <levon@movementarian.org>
5394
5395         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5396
5397 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * remove same_id from function signatures, adjust.
5400
5401 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5404
5405         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5406
5407         * paragraph.C (Paragraph): get rid of same_ids parameter
5408
5409         * ParagraphList.C (insert): adjust
5410         (push_back): adjust
5411
5412 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * paragraph_funcs.C (breakParagraph): adjust
5415         (breakParagraphConservative): adjust
5416
5417         * buffer.C (readParagraph): adjust
5418
5419         * ParagraphList.C (insert): take a reference instead of a pointer
5420         (insert): adjust
5421
5422         * paragraph.[Ch] (id): new function
5423
5424         * bufferlist.C (newFile): adjust
5425
5426         * ParagraphList.C (ParagraphList): adjust
5427         (assign): adjust
5428         (push_back): take a reference instead of a pointer.
5429
5430         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5431
5432         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5433         instead.
5434
5435         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5436         set else use old code.
5437
5438         * ParagraphList.C: remove all NO_NEXT code and only compile this
5439         code of NO_STD_LIST is set.
5440
5441 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5442
5443         * BufferView_pimpl.C:
5444         * TextCache.C:
5445         * TextCache.h:
5446         * bufferlist.C:
5447         * errorlist.h:
5448         * format.C:
5449         * format.h:
5450         * graph.C:
5451         * lyxfunc.C:
5452         * lyxrc.C:
5453         * graphics/GraphicsConverter.C:
5454         * graphics/PreviewLoader.C: header adjustment
5455
5456 2003-05-23  Angus Leeming  <leeming@lyx.org>
5457
5458         * LaTeXFeatures.[Ch] (useBabel): new method.
5459         * bufferparams.C (writeLaTeX): use it.
5460
5461 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * ParagraphList.h (set): remove unused function.
5464
5465 2003-05-23  André Pönitz  <poenitz@gmx.net>
5466
5467         * BufferView.C:
5468         * BufferView_pimpl.C:
5469         * buffer.C:
5470         * buffer.h:
5471         * lyxfunc.C:
5472         * undo_funcs.C: setUndo reworked
5473
5474         * iterators.[Ch]: add access to topmost ParagraphList
5475
5476         * lyxtext.[Ch] (workWidth): add a const
5477
5478 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5479
5480         * texrow.[Ch] (increasePos): remove function
5481         * exporter.C (export): removed unused var and outdated comment
5482
5483 2003-05-23  Angus Leeming  <leeming@lyx.org>
5484
5485         * latexrunparams.h: rename fragile as moving_arg.
5486         * paragraph.C (simpleTeXOnePar): ditto.
5487         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5488
5489 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5492         (createUndo): ditto
5493         (textUndoOrRedo): comment out a currently unused var.
5494
5495         * paragraph.h (NO_NEXT): enable NO_NEXT
5496
5497         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5498
5499         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5500
5501         * exporter.C (Export): adjust for removeAutoInsets removal.
5502
5503         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5504
5505         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5506
5507         * BufferView.[Ch] (removeAutoInsets): delete function
5508
5509 2003-05-22  Angus Leeming  <leeming@lyx.org>
5510
5511         * latexrunparams.h: add a free_spacing variable.
5512
5513         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5514         to pass moving_arg, as the data is stored in runparams.fragile.
5515
5516         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5517         to Inset::latexOptional or to simpleTeXOnePar.
5518
5519         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5520         free_spacing arg to Inset::latexOptional.
5521
5522         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5523         free_spacing arg.
5524
5525 2003-05-22  Angus Leeming  <leeming@lyx.org>
5526
5527         * latexrunparams.h: add fragile and use_babel variables.
5528
5529         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5530         * buffer.C (makeLaTeXFile): store this returned value in
5531         runparams.use_babel, thus passing it to the inset::latex methods.
5532
5533         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5534         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5535
5536         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5537         longer has a fragile arg, as it is stored in runparams.fragile.
5538
5539         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5540         moving_arg parameter as the data is stored in runparams.fragile.
5541
5542         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5543         a fragile parameter as the data is stored in runparams.fragile.
5544
5545 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5548
5549 2003-05-22  Angus Leeming  <leeming@lyx.org>
5550
5551         * latexrunparams.h: add a 'bool nice' which defaults to false.
5552
5553         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5554         now encapsulated within runparams.
5555
5556         * bufferlist.C (updateIncludedTeXfiles):
5557         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5558
5559 2003-05-22  Angus Leeming  <leeming@lyx.org>
5560
5561         * latexrunparams.h: new file containing struct LatexRunParams.
5562         * Makefile.am: add new file.
5563
5564         * LaTeX.[Ch] (c-tor, run):
5565         * buffer.[Ch] (makeLaTeXFile):
5566         * bufferlist.[Ch] (updateIncludedTeXfiles):
5567         * converter.C (convert, scanLog):
5568         * converter.[Ch] (runLaTeX):
5569         * exporter.C (Export):
5570         * paragraph.[Ch] (simpleTeXOnePar):
5571         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5572         * paragraph_funcs.[Ch] (latexParagraphs):
5573         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5574         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5575         pass around a LatexRunParams parameter.
5576
5577 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * paragraph.[Ch]: remove unused constructor
5580
5581         * ParagraphList.C (erase): new function, taking two iterators
5582
5583 2003-05-22  André Pönitz  <poenitz@gmx.net>
5584
5585         * undo_funcs.C: remove duplicated code
5586
5587         * iterator.[Ch]: operator=
5588
5589 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * tabular.C (SetMultiColumn): ws changes
5592
5593         * rowpainter.C (paintFirst): get rid of a ->previous
5594
5595         * lyx_cb.C (getPossibleLabel): parlist simplification
5596
5597         * BufferView.C (ChangeInsets): simplify slightly.
5598
5599 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5600
5601         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5602         * lfuns.h: new LFUN_SPACE
5603         * lyxfunc.C: protected space has a new lfun
5604         * paragraph_funcs.C: read new space insets
5605         * text3.C:
5606         * factory.C: handle new space insets
5607
5608 2003-05-22  André Pönitz  <poenitz@gmx.net>
5609
5610         * BufferView.C:
5611         * BufferView_pimpl.C:
5612         * buffer.[Ch]:
5613         * lyxfunc.C:
5614         * undo_funcs.C: return a ParIterator from getParFromID.
5615
5616         * iterators.[Ch]: add two const's
5617
5618 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * toc.C (getTocList): adjust
5621
5622         * iterators.[Ch]: rework for parlist
5623
5624         * buffer.C (par_iterator_begin): adjust
5625         (par_iterator_end): adjust
5626
5627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5628
5629         * BufferView.C (removeAutoInsets): adjust
5630         (ChangeInsets): adjust
5631
5632 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5633
5634         * text.C (top_y): fix bug 1110
5635
5636 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5637
5638         * errorlist.[Ch]: added
5639         * buffer.C:
5640         * BufferView.[Ch]:
5641         * BufferView_pimpl.C:
5642         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5643         instead
5644
5645 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * Makefile.am: ensure that lyx is relinked upon changes to the
5648         various "convenience" libs.
5649
5650 2003-05-20  Angus Leeming  <leeming@lyx.org>
5651
5652         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5653         files are compiled in alphabetical order again.
5654
5655         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5656
5657 2003-05-19  Angus Leeming  <leeming@lyx.org>
5658
5659         * gettext.[Ch]: remove "char const * _(char const *)".
5660
5661 2003-05-19  André Pönitz  <poenitz@gmx.net>
5662
5663         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5664
5665         * Makefile.am:
5666         * BufferView.C:
5667         * DepTable.h:
5668         * LaTeXFeatures.C:
5669         * buffer.C:
5670         * lyxfont.C:
5671         * lyxlex.h:
5672         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5673
5674 2003-05-19  André Pönitz  <poenitz@gmx.net>
5675
5676         * buffer.C:
5677         * lyxlayout.[Ch]:
5678         * lyxtextclass.[Ch]:
5679         * paragraph.C:
5680         * paragraph_funcs.[Ch]:
5681         * text2.C:
5682         * text3.C: more insetenv work
5683
5684 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5685
5686         * ParagraphParameters.C (params2string): small bug fixed
5687
5688 2003-05-16  André Pönitz  <poenitz@gmx.net>
5689
5690         * debug.C:
5691         * bufferview_funcs.C: patch from Kornel Benko to prevent
5692           crash when _(...) is called twice in a statement
5693
5694 2003-05-16  André Pönitz  <poenitz@gmx.net>
5695
5696         * BufferView.C:
5697         * lyxfunc.C:
5698         * text.C:
5699         * text2.C:
5700         * text3.C:
5701         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5702
5703 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5704
5705         * lyx_main.C (init): remove spurious static_cast
5706
5707 2003-05-14  André Pönitz  <poenitz@gmx.net>
5708
5709         * BufferView.C: fix format string
5710
5711 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5712
5713         * BufferView.[Ch] (insertErrors): removed
5714         * BufferView.[Ch] (showErrorList): added
5715         * buffer.C (runChkTeX):
5716         * converter.C (scanLog): call showErrorList instead of inserterrors
5717
5718 2003-05-13  André Pönitz  <poenitz@gmx.net>
5719
5720         * BufferView_pimpl.C:
5721         * buffer.C:
5722         * bufferview_func.C:
5723         * MenuBackend.C:
5724         * lyxfunc.C:
5725         * lyxrc.C:
5726         * tex-accent.C:
5727         * text3.C:
5728         * toc.C:
5729         * tabular_funcs.h: tostr() from its own header
5730
5731         * ParagraphParameters.C:
5732         * ToolbarBackend.C:
5733         * bufferparams.C:
5734         * format.C:
5735         * lyxlex_pimpl.C:
5736         * text3.C: STRCONV()
5737
5738 2003-05-12  André Pönitz  <poenitz@gmx.net>
5739
5740         * BufferView.C:
5741         * BufferView_pimpl.C:
5742         * CutAndPaste.C:
5743         * LaTeX.C:
5744         * LaTeXFeatures.C:
5745         * ParagraphParameters.C:
5746         * buffer.C:
5747         * bufferlist.C:
5748         * bufferparams.C:
5749         * bufferview_funcs.C:
5750         * converter.C:
5751         * counters.C:
5752         * debug.C:
5753         * exporter.C:
5754         * format.C:
5755         * importer.C:
5756         * lyx_cb.C:
5757         * lyx_main.C:
5758         * lyxfont.C:
5759         * lyxfunc.C:
5760         * lyxvc.C:
5761         * paragraph.C:
5762         * paragraph_funcs.C:
5763         * tabular.C:
5764         * tabular_funcs.C:
5765         * text2.C:
5766         * text3.C:  boost::format -> bformat  all over the place
5767
5768
5769 2003-05-09  André Pönitz  <poenitz@gmx.net>
5770
5771         * LColor.[Ch]: Pimpl the #include <map> away
5772
5773 2003-05-09  John Levon  <levon@movementarian.org>
5774
5775         * bufferlist.C: never remove emergency saves
5776
5777 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * Makefile.am: better lib building
5780
5781 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5784         instead.
5785         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5786         (simpleTeXSpecialChars): adjust
5787         (simpleTeXSpecialChars): adjust
5788         * paragraph.C (simpleTeXOnePar): adjust
5789         * buffer.C (makeLaTeXFile): adjust
5790
5791         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5792
5793         * text2.C (changeDepth): parlist cleanup
5794         (getColumnNearX): ditto
5795
5796         * rowpainter.C (getLabelFont): parlist cleanup
5797
5798         * bufferlist.C (newFile): parlist cleanup
5799
5800         * CutAndPaste.C (eraseSelection): parlist cleanup
5801
5802         * BufferView_pimpl.C (trackChanges): parlist cleanup
5803         (dispatch): ditto
5804
5805         * BufferView.C (lockInset): parlist cleanup.
5806         (ChangeInsets): ditto
5807
5808 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * CutAndPaste.h: Update file header.
5811
5812         * CutAndPaste.C: Update file header.
5813         Store the parts cut out of the Document in a limited_stack.
5814         (copySelection): adjust
5815         (pasteSelection): new function, takes the index in the limited stack.
5816         (nrOfParagraphs): adjust
5817         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5818         simplify error inset insertion.
5819         (checkPastePossible): adjust
5820
5821 2003-05-06  John Levon  <levon@movementarian.org>
5822
5823         * text2.C: don't cast wrap inset to float
5824
5825 2003-05-05  André Pönitz  <poenitz@gmx.net>
5826
5827         * iterator.C:
5828         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5829
5830         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5831           few naked Paragraph *.
5832
5833 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5834
5835         * bufferparams.C: Output warning if a document with missing
5836         TeX document class is loaded
5837         * exporter.C: Disable TeX exports if the document class is missing
5838         * lyxtextclass.C:
5839         * lyxtextclass.h:
5840         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5841         isTeXClassAvailable()
5842
5843 2003-05-03  John Levon  <levon@movementarian.org>
5844
5845         * BufferView.h:
5846         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5847         explicit cursor show/hide
5848
5849         * BufferView_pimpl.h:
5850         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5851         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5852
5853         * lyxfunc.C: hide cursor before dispatching.
5854
5855         * lyx_cb.C:
5856         * lyxfind.C:
5857         * text.C:
5858         * text3.C: remove explicit cursor hides
5859
5860 2003-05-02  André Pönitz  <poenitz@gmx.net>
5861
5862         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5863
5864         * undo_funcs.C:
5865         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5866           linked lists
5867
5868         * text2.C: tiny whitespace
5869
5870 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * undo_funcs.C: almost only ws changes.
5873
5874         * ParagraphList.C (splice): just return if pl is empty.
5875
5876 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * ParagraphList.C (splice): new function.
5879
5880         * CutAndPaste.C (pasteSelection): use it
5881
5882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * CutAndPaste.C (pasteSelection): remove the last next and
5885         previous from this file.
5886
5887 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * CutAndPaste.C (pasteSelection): more clean up, user proper
5890         ParagraphList functions for pasteing.
5891
5892         * ParagraphList.C (insert): new function, three arg insert
5893
5894 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * ParagraphList.C (insert): new function, three arg insert
5897
5898         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5899         not on paragraphs.
5900
5901 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5904
5905 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5908
5909 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5912         (copySelection): clean up a bit.
5913         (pasteSelection): use make_pair
5914
5915         * ParagraphList.C (ParagraphList): implement copy constructor
5916         (operator=): implement, base on copy constructor.
5917         (assign): new func
5918
5919         * paragraph.C (erase): return a bool
5920
5921         * paragraph_pimpl.C (erasePos): remove function, move contents...
5922         (erase): ... here. Return a bool.
5923         (erase): call erase instead of erasePos.
5924
5925 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * ParagraphList.h: define PitPosPair
5928         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5929         ParagraphList, fix a bug on pasting multiple pars
5930         * text2.C: change interface to C&P
5931
5932 2003-04-30  André Pönitz  <poenitz@gmx.net>
5933
5934         * undo_func.C: revert part of yesterday's patch 2
5935
5936 2003-04-30  John Levon  <levon@movementarian.org>
5937
5938         * LColor.C: s/tabular/table/
5939
5940 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * text3.C (dispatch): do not convert iterator -> pointer
5943         * undo_funcs.C (setCursorParUndo): ditto
5944         * text_funcs.C (transposeChars): ditto
5945
5946         * text2.C (setLayout): ws changes only
5947
5948         * text.C (breakParagraph): do not convert iterator -> pointer
5949         (insertChar): ditto
5950         (acceptChange): ditto
5951         (rejectChange): ditto
5952         (changeCase): ditto
5953         (Delete): ditto
5954         (backspace): ditto
5955
5956         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5957         pointer
5958
5959 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5960
5961         * text3.C (gotoInset): YABG (yet another bad getChar)
5962
5963 2003-04-29  André Pönitz  <poenitz@gmx.net>
5964
5965         * paragraph.h: make operator= private unimplemented as long as
5966           it is unusable
5967
5968         * ParagraphList.C: whitespace
5969
5970         * paragraph.[Ch]:
5971         * paragraph_pimpl.[Ch]:
5972         * paragraph_funcs.C:
5973         * CutAndPaste.C:
5974         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5975
5976         * text2.C:
5977           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5978
5979 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5982         * paragraph.[Ch] (erase):
5983         * paragraph_pimpl.[Ch] (erase): change return type and value
5984         * text2.C (cutSelection): some rework
5985
5986 2003-04-28  John Levon  <levon@movementarian.org>
5987
5988         * bufferlist.C: changes for unsaved changes dialog
5989
5990 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * bufferlist.C (newFile): set language (messages_) for new
5993         documents also.
5994
5995         * buffer.C (readFile): ws changes only.
5996
5997 2003-04-28  André Pönitz  <poenitz@gmx.net>
5998
5999         * undo_funcs.C:
6000         * lyxfunc.C:
6001         * buffer.[Ch]:
6002         * BufferView_pimpl.C:
6003         * BufferView.C: getParFromID related ParagraphList::iterator changes
6004
6005 2003-04-28  André Pönitz  <poenitz@gmx.net>
6006
6007         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6008           Changes
6009
6010 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * messages.C: remove one more localedir class variable.
6013
6014 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6015
6016         * messages.C (getLocaleDir): singleton generation function
6017         (Pimpl): use it.
6018         (Messages): add a default constructor.
6019
6020         * main.C (main): do not setup localedir here, do not call
6021         gettext_init.
6022
6023         * gettext.C (_): use it.
6024         (gettext_init): delete funciton
6025
6026 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * gettext.C (getLyXMessages): new singleton generating function.
6029
6030         * buffer.C (updateDocLang): adjust
6031
6032         * Makefile.am (messages.o): add target
6033         (main.o): remove target
6034
6035 2003-04-27  John Levon  <levon@movementarian.org>
6036
6037         * bufferlist.C:
6038         * lyx_cb.C:
6039         * lyxfunc.C:
6040         * lyxvc.C: specify cancel button in Alert::prompt
6041
6042 2003-04-26  John Levon  <levon@movementarian.org>
6043
6044         * text3.C:
6045         * lyxfunc.C:
6046         * lfuns.h:
6047         * LyXAction.C: add LFUN_INSET_SETTINGS
6048
6049         * lyxfunc.C: don't enable tabular-feature when there's
6050         just any locking inset
6051
6052 2003-04-26  John Levon  <levon@movementarian.org>
6053
6054         * bufferlist.C: re-add Cancel to buffer close question
6055
6056         * lyxfunc.C: fix import UI a bit
6057
6058 2003-04-25  John Levon  <levon@movementarian.org>
6059
6060         * gettext.C: remove the broken asserts for now
6061
6062 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * messages.C: make case where setlocale cannot comply work better.
6065
6066         * buffer.C (updateDocLang): new function
6067         (changeLanguage): use it
6068         (readFile): use it
6069
6070         * text2.C (setCounter): use B_ a bit.
6071
6072         * lyxlayout.C (Read): be sure to trim the label strings.
6073
6074         * messages.C (Messages): fix typo in comment
6075
6076         * buffer.C (readFile): set message_ after file is loaded.
6077         (makeDocBookFile): remove double return
6078         (changeLanguage): reset message_ upon language change.
6079         (B_): new func, use this to get translated buffer strings.
6080
6081         * main.C: add myself and Jean Marc as authors.
6082
6083 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * messages.[hC]: pimplify Messages, and three different pimpls to be
6086         used in different circumstances.
6087
6088         * gettext.[Ch]: change for use with new message code.
6089
6090 2003-04-24 André Pönitz <poenitz@gmx.net>
6091
6092         * factory.C: support for eqref
6093
6094 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * messages.[Ch]: add missing char
6097
6098         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6099
6100         * messages.[Ch]: New files
6101
6102 2003-04-18  John Levon  <levon@movementarian.org>
6103
6104         * BufferView.h:
6105         * BufferView.C:
6106         * BufferView_pimpl.C:
6107         * lfuns.h:
6108         * LyXAction.C:
6109         * lyxtext.h:
6110         * text2.C: remove layout-copy/paste (bug 778)
6111
6112 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6113
6114         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6115
6116 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6117
6118         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6119         if they succeed. Act accordingly.
6120
6121 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * text2.C (setCharFont): adjust
6124         (setCounter): adjust
6125         (insertStringAsLines): adjust
6126
6127         * text.C (leftMargin): adjust
6128         (setHeightOfRow): adjust
6129
6130         * rowpainter.C (paintFirst): adjust
6131         (paintLast): adjust
6132
6133         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6134         (outerHook): ditto
6135         (isFirstInSequence): ditto
6136         (getEndLabel): ditto
6137         (outerFont): adjust
6138
6139         * paragraph.C (getParLanguage): comment out some hard stuff.
6140
6141         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6142         (sgmlError): ditto
6143         (simpleDocBookOnePar): ditto
6144         (makeDocBookFile): use ParagraphList::iterator
6145
6146         * CutAndPaste.C (pasteSelection): adjust
6147
6148 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * text2.C (getFont): adjust
6151         (getLayoutFont): adjust
6152         (getLabelFont): adjust
6153
6154         * paragraph_funcs.C (TeXOnePar): adjust
6155
6156         * buffer.C (simpleLinuxDocOnePar): adjust
6157         (simpleDocBookOnePar): adjust
6158
6159         * CutAndPaste.C (pasteSelection): adjust
6160
6161         * BufferView.C (getEncoding): adjust
6162
6163         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6164
6165 2003-04-16  John Levon  <levon@movementarian.org>
6166
6167         * lyxfind.C: use parlist stuff for search/changes
6168
6169 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6172
6173         * text2.C (deleteEmptyParagraphMechanism): adjust
6174
6175         * text2.[Ch] (ownerParagraph): delete func (both of them
6176
6177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6180
6181 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * ParagraphList.C: prepare for NO_NEXT
6184
6185 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text2.C (getFont): adjust
6188         (getLayoutFont): adjust
6189         (getLabelFont): adjust
6190
6191         * paragraph.C (getFont): adjust
6192         (getLabelFont): adjust
6193         (getLayoutFont): adjust
6194
6195         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6196
6197 2003-04-15  John Levon  <levon@movementarian.org>
6198
6199         From Angus Leeming
6200
6201         * lyx_main.C: handle Include in .ui files
6202
6203 2003-04-15  John Levon  <levon@movementarian.org>
6204
6205         * MenuBackend.C: make the doc files length shorter
6206
6207         * ToolbarBackend.h:
6208         * ToolbarBackend.C: handle toolbar placement flags,
6209         Minibuffer
6210
6211 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6214         adjust
6215
6216         * paragraph_funcs.C (TeXOnePar): adjust
6217
6218         * paragraph.C (getLabelFont): add outerfont arg, adjust
6219         (getLayoutFont): ditto
6220         (simpleTeXOnePar): adjust
6221
6222         * paragraph_pimpl.C (realizeFont): delete func
6223
6224 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6227         row argument, constify cur argument.
6228
6229 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * text2.C (getFont): adjust
6232         (getLayoutFont): adjust
6233         (getLabelFont): adjust
6234
6235         * paragraph_funcs.C (TeXOnePar): adjust
6236         (outerFont): new func...
6237         (realizeFont): ...moved out from here, changed this to facilitate
6238         transition
6239
6240         * paragraph.C (getFont): take outerfont as arg, adjust
6241         (simpleTeXOnePar): add outerfont arg, adjust
6242
6243         * buffer.C (simpleLinuxDocOnePar): adjust
6244         (simpleDocBookOnePar): adjust
6245
6246         * CutAndPaste.C (pasteSelection): adjust
6247
6248         * BufferView.C (getEncoding): adjust
6249
6250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * text2.C (setCharFont): adjust
6253         (setCounter): adjust
6254
6255         * text.C (leftMargin): adjust
6256         (setHeightOfRow): adjust
6257
6258         * rowpainter.C (paintFirst): adjust
6259         (paintLast): adjust
6260
6261         * paragraph_pimpl.C (realizeFont): adjust
6262
6263         * paragraph.C (isFirstInSequence): move from here...
6264         * paragraph_funcs.C (isFirstInSequence): ...to here
6265
6266         * paragraph.C (outerHook): move from here...
6267         * paragraph_funcs.C (outerHook): ...to here
6268
6269         * paragraph.C (depthHook): move from here...
6270         * paragraph_funcs.C (depthHook): ...to here
6271
6272         * paragraph.C (getEndLabel): move from here...
6273         * paragraph_funcs.C (getEndLabel): ...to here
6274
6275         * text2.C (realizeFont): move from here...
6276         * paragraph_funcs.C (realizeFont): ...to here
6277
6278 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6281
6282 2003-04-14  Angus Leeming  <leeming@lyx.org>
6283
6284         * LColor.[Ch]: scrap LColor mathcursor.
6285
6286 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * lyxlex.[Ch] (text): delete function
6289         * trans.C (Load): adjust
6290         * paragraph_funcs.C (readParToken): adjust
6291
6292 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6295         vector<char> instead of a char[].
6296
6297         * lyxlex_pimpl.C (getString): adjust
6298         (next): adjust
6299         (lex): use getString
6300         (eatLine): adjust
6301         (nextToken): adjust
6302
6303         * lyxlex.C (text): use pimpl_->getString()
6304         (getBool): ditto
6305         (findToken): ditto
6306
6307 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6310         (makeFontEntriesLayoutSpecific): temp var for par.size()
6311         (setLayout): temp var for ownerParagraphs().end()
6312         (fullRebreak): temp var for rows().end()
6313         (selectionAsString): temp var for boost::next(startpit), realize
6314         that the while really is a regular for loop.
6315         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6316         setCursor in one place.
6317         (setParagraph): temp vr for ownerParagraphs().end()
6318         (updateCounters): make the while loop a for loop
6319         (cutSelection): temp var for ownerParagraphs().end()
6320         (updateInset): make the do {} while() a regular for loop
6321         (getCursorX): use temp vars
6322         (setCurrentFont): use temp vars
6323         (getColumnNearX): use temp vars
6324
6325 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * text.C (transformChar): use temp var for getChar
6328         (computeBidiTables): use temp var for row->par()
6329         (fill): move temp vars for row->par() and pit->layout() earlier in
6330         the function.
6331         (labelFill): use temp var for row->par()
6332         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6333         asc and desc, realize that pit never changes and that firstpit is
6334         just a duplicate and not needed. Exchange rit->par() with pit in a
6335         lot of places.
6336         (breakAgain): use a temp var for boost::next(rit)
6337         (breakAgainOneRow): ditto
6338         (breakParagraph): use a temp var for rows().begin()
6339         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6340         (cursorRightOneWord): use temp var for cursor.par() and
6341         cursor.pos(), remove usage of tmpcursor.
6342         (cursorLeftOneWord): use temp var for cursor.par() and
6343         cursor.pos() only set cur at end of function.
6344
6345 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * text.C, text2.C: exchange all usage of Paragraph::next with
6348         boost::next(ParagraphList::iterator)
6349
6350         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6351
6352         * text2.C (cursorTop): simplify implementation
6353         (cursorBottom): ditto
6354         (setParagraph): use ParagraphList::iterator
6355         (setCurrentFont): adjust
6356         (getColumnNearX): adjust
6357         (cursorRight): adjust
6358         (cursorLeft): remove usage of Paragraph::previous
6359         (cursorUpParagraph): ditto
6360         (deleteEmptyParagraphMechanism): slight cleanup
6361
6362         * text.C (isBoundary): take a Paragraph const & instead of a
6363         pointer as arg.
6364         (addressBreakPoint): ditto
6365         (leftMargin): remove usage of Paragraph::previous.
6366         (setHeightOfRow): ditto
6367         (cursorLeftOneWord): ditto
6368         (selectNextWordToSpellcheck): ditto
6369         (Delete): ditto
6370         (backspace): ditto
6371         (breakParagraph): remove one usage of Paragraph::next
6372         (redoParagraph): ditto
6373         (acceptChange): ditto
6374         (insertChar): adjust
6375         (rowBreakPoint): adjust
6376
6377         * bufferview_funcs.C (toggleAndShow): adjust
6378
6379 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6380
6381         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6382         methods to access it.
6383         * lyxtext.h:
6384         * text.C: Added updateRowPositions to compute all row positions.
6385         Make top_y and getRowNearY() to use the cached y position
6386
6387 2003-04-11  John Levon  <levon@movementarian.org>
6388
6389         * text.C (rowBreakPoint): reintroduce the labelEnd
6390         checks, code copied from the row fill stuff. Deep voodoo.
6391
6392         * text.C (fill): add a comment and debugging for the
6393         next poor soul.
6394
6395 2003-04-11  John Levon  <levon@movementarian.org>
6396
6397         * text.C: make sure fullrow insets get wrapped to the next line,
6398         even when they're in a manual label
6399
6400 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * text2.C (insertParagraph): make it take ParagraphList::iterator
6403         as arg.
6404         (setLayout): make it return ParagraphList::iterator
6405         (redoParagraphs): ditto
6406         (setCounter): ditto
6407         (checkParagraph): ditto
6408
6409         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6410
6411         * text2.C: adjust several funcs.
6412         (realizeFont): take a ParagraphList::iterator as arg.
6413         (getLayoutFont): ditto
6414         (getLabelFont): ditto
6415         (setCharFont): ditto
6416
6417         * text.C: adjust several funcs.
6418
6419 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * text.C (selectNextWordToSpellcheck): don't accidentally
6422         skip insets
6423
6424 2003-04-10  John Levon  <levon@movementarian.org>
6425
6426         * ToolbarBackend.C (getIcon): special handling for
6427         LFUN_MATH_DELIM
6428
6429 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6430
6431         * text2.C (cursorRight): a getChar assert fixed
6432
6433 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * text2.C (getFont): change to take a ParagraphList::iterator
6436         instead of Paragraph*
6437         Adjust several functions.
6438
6439         * text.C (transformChar): change to take a ParagraphList::iterator
6440         instead of Paragraph*
6441         (singleWidth): ditto
6442         Adjust several functions.
6443
6444         * rowpainter.C: adjust several functions
6445         * rowpainter.h:store a ParagraphList::iterator and not a
6446         Paragraph&.
6447
6448
6449 2003-04-09  John Levon  <levon@movementarian.org>
6450
6451         * lyxfunc.C:
6452         * lfuns.h:
6453         * LyXAction.h:
6454         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6455         and the "help" bits as well
6456
6457 2003-04-09  John Levon  <levon@movementarian.org>
6458
6459         * ToolbarBackend.h:
6460         * ToolbarBackend.C: allow multiple toolbars
6461
6462 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * undo_funcs.C (setCursorParUndo): adjust
6465
6466         * text_funcs.C (transposeChars): adjust
6467
6468         * text3.C (gotoNextInset): adjust
6469         (dispatch): adjust
6470
6471         * text2.C (setLayout): adjust
6472         (changeDepth): adjust
6473         (setFont): adjust
6474         (redoParagraphs): adjust
6475         (selectionAsString): adjust
6476         (setParagraph): adjust
6477         (insertInset): adjust
6478         (cutSelection): adjust
6479         (copySelection): adjust
6480         (pasteSelection): adjust
6481         (insertStringAsLines): adjust
6482         (updateInset): adjust
6483         (setCursor): change to take a ParagraphList::iterator parameter
6484         (setCursorIntern): change to take a ParagraphList::iterator parameter
6485         (setCurrentFont): adjust
6486         (cursorLeft): adjust
6487         (cursorRight): adjust
6488         (deleteEmptyParagraphMechanism): adjust
6489
6490         * text.C (breakParagraph): adjust
6491         (insertChar): adjust
6492         (acceptChange): adjust
6493         (rejectChange): adjust
6494         (selectNextWordToSpellcheck): adjust
6495         (changeCase): adjust
6496         (Delete): adjust
6497         (backspace): adjust
6498
6499         * lyxfind.C (SearchForward): adjust
6500         (SearchBackward): adjust
6501         (nextChange): adjust
6502
6503         * lyxcursor.C (par): adjust
6504
6505         * lyxcursor.h: store a ParagraphList::iterator instead of a
6506         Paragraph*
6507
6508         * lyx_cb.C (getPossibleLabel): adjust
6509
6510         * bufferview_funcs.C (toggleAndShow): adjust
6511
6512         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6513         (dispatch): adjust
6514
6515         * BufferView.C (removeAutoInsets): adjust
6516         (lockedInsetStoreUndo): adjust
6517
6518 2003-04-09  John Levon  <levon@movementarian.org>
6519
6520         * ToolbarBackend.C: try icon without argument
6521         if with argument fails
6522
6523 2003-04-08  John Levon  <levon@movementarian.org>
6524
6525         * ToolbarBackend.h:
6526         * ToolbarBackend.C: add getIcon(), handle tooltip,
6527         and change from "Icon" to "Item".
6528
6529 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * BufferView.C (lockInset): another bad getchar crunched
6532
6533 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6536         again)
6537
6538 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * lyxfind.C (searchForward, searchBackwards): bug 782
6541
6542 2003-04-07  John Levon  <levon@movementarian.org>
6543
6544         * paragraph.C: remove dead comment
6545
6546         * text.C: remove troublesome depth-fiddling code
6547         in leftMargin() and rightMargin() (bug 1017)
6548
6549         * text.C: fix breaking of rows in nested lists
6550         (bug 1004)
6551
6552         * text2.C (updateCounters): fix up depth values
6553         (bug 1013)
6554
6555 2003-04-07  John Levon  <levon@movementarian.org>
6556
6557         * BufferView_pimpl.C: clear message when doc finishes resizing,
6558         and after a mouse event
6559
6560         * lyxfunc.C: clear message after exiting inset
6561
6562 2003-04-07  John Levon  <levon@movementarian.org>
6563
6564         * bufferview_funcs.C: show math status not outside
6565         status in the statusbar
6566
6567 2003-04-07  John Levon  <levon@movementarian.org>
6568
6569         * lyxfunc.C: note status changed after a depth change
6570
6571 2003-04-04  Angus Leeming  <leeming@lyx.org>
6572
6573         * LaTeX.h: move AuxInfo operator==, != out of line.
6574         Remove LaTeX virtual destructor; nothing derives from it.
6575         Move operator()() out of public area and rename it startscript().
6576         Change protected for private.
6577
6578 2003-04-04  Angus Leeming  <leeming@lyx.org>
6579
6580         * lyxfunc.C:
6581         * text2.C: remove unneeded #includes.
6582
6583 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * text2.C (dEPM): fix the heigth of the next row
6586
6587 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * text.C: squashed an invalid getChar requester + some ws changes
6590
6591 2003-04-03  John Levon  <levon@movementarian.org>
6592
6593         * bufferview_funcs.h:
6594         * bufferview_funcs.C:
6595         * lyxfunc.C:
6596         * lyxtext.h:
6597         * text2.C: make getStatus work for the env depth lfuns
6598
6599 2003-04-03  John Levon  <levon@movementarian.org>
6600
6601         * bufferview_funcs.h:
6602         * bufferview_funcs.C:
6603         * lyxfunc.C:
6604         * lyxtext.h:
6605         * text2.C: parlistize decDepth(), by merging it with incDepth()
6606
6607 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * lyxrow.h: store a ParagraphList::iterator instead of a
6610         Paragraph* and adjust other class functions to suit.
6611
6612         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6613         above.
6614
6615 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6616
6617         * text2.C (setCursor): do not anchor to cursor row for the time being
6618
6619 2003-04-02  John Levon  <levon@movementarian.org>
6620
6621         * LyXAction.C:
6622         * lfuns.h:
6623         * lyx_main.C:
6624         * lyxtext.h:
6625         * text.C:
6626         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6627
6628 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * paragraph.h: make ParagraphList and ParagraphList::iterator
6631         friends of Paragraph.
6632
6633         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6634
6635         * ParagraphList.C: Use the private next_ and previous_ from
6636         Paragraph.
6637
6638 2003-04-01  John Levon  <levon@movementarian.org>
6639
6640         * ToolbarBackend.h:
6641         * ToolbarBackend.C:
6642         * Makefile.am: rename, remove defaults gunk
6643
6644         * MenuBackend.h:
6645         * MenuBackend.C: remove defaults gunk
6646
6647         * Languages.h:
6648         * Languages.C: remove defaults gunk
6649
6650         * lyx_main.h:
6651         * lyx_main.C: error out if files couldn't be found.
6652
6653 2003-04-02  John Levon  <levon@movementarian.org>
6654
6655         * text2.C: make incDepth() use parlist
6656
6657 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * undo_funcs.C (firstUndoParagraph): adjust
6660
6661         * text3.C (gotoInset): adjust
6662         (dispatch): adjust, and rewrite loop.
6663
6664         * text2.C (init): adjust, and rewrite loop.
6665         (redoParagraphs): adjust
6666         (updateInset): adjust, and rewrite loop.
6667         (deleteEmptyParagraphMechanism): adjust
6668
6669         * tabular.C (LyXTabular): adjust
6670         (SetMultiColumn): adjust
6671         (TeXRow): adjust
6672
6673         * lyxtext.[Ch] (ownerParagraph): delete function
6674         (ownerParagraphs): new function returns a ParagraphList.
6675
6676         * BufferView.C (removeAutoInsets): adjust
6677         (insertErrors): adjust
6678         (setCursorFromRow): adjust
6679
6680 2003-04-01  Angus Leeming  <leeming@lyx.org>
6681
6682         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6683         in the frontends.
6684
6685 2003-04-02  John Levon  <levon@movementarian.org>
6686
6687         * lyxtext.h:
6688         * text.C:
6689         * Makefile.am:
6690         * text_funcs.h:
6691         * text_funcs.C: make transposeChars a free function
6692
6693         * lyxrow_funcs.C: remove wrong comment
6694
6695 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * lyxtext.h: adjust
6698         * rowpainter.C: adjust
6699         * text.C: adjust
6700         * text2.C: adjust
6701         * text3.C: adjust
6702
6703         * lyxrow_funcs. [Ch]: new files
6704
6705         * lyxrow.[Ch]: remove next and previous pointers
6706         (next,previous): remove accessor functions
6707         (isParEnd): move to lyxrow_funcs
6708         (lastPos): move to lyxrow_funcs
6709         (nextRowIsAllInset): move to lyxrow_funcs
6710         (lastPrintablePos): move to lyxrow_funcs
6711         (numberOfSeparators): move to lyxrow_funcs
6712         (numberOfHfills): move to lyxrow_funcs
6713         (numberOfLabelHfills): move to lyxrow_funcs
6714         (hfillExpansion): move to lyxrow_funcs
6715
6716         * lyxfunc.C: adjust
6717
6718         * bufferview_funcs.C (toggleAndShow): adjust
6719
6720         * RowList.h: Remove class RowList from file leave just a
6721         std::list<Row>.
6722
6723         * RowList.C: delete file
6724
6725         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6726         and lyxrow_funcs.h
6727
6728 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * text3.C (cursorPrevious): adjust
6731         (cursorNext): adjust
6732         (dispatch): adjust
6733
6734         * text2.C (redoHeightOfParagraph): adjust
6735         (redoDrawingOfParagraph): adjust
6736         (setCursor): adjust
6737
6738         * text.C (breakParagraph): adjust
6739         (insertChar): adjust
6740         (backspace): adjust
6741
6742         * rowpainter.C (RowPainter): adjust
6743         (leftMargin): simplify and adjust
6744         (most rowpainter functions): adjust.
6745
6746         * rowpainter.h: store the row as RowList::iterator not as Row*
6747
6748         * lyxcursor.C (row): taka RowList::iterator as arg
6749         (irow): ditto
6750
6751         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6752         of Row*.
6753
6754 2003-04-01  Angus Leeming  <leeming@lyx.org>
6755
6756         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6757         stuff like bool Bool.
6758
6759 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6760
6761         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6762         rewrite a loop
6763
6764 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6767         RowList::iterator.
6768
6769         * lyxtext.h (rows): drop one version and leve a const variant that
6770         returns a RowList::iterator.
6771
6772 2003-03-31  Angus Leeming  <leeming@lyx.org>
6773
6774         * text.C (fill): ensure that the signature is the same as that in the
6775         header file.
6776
6777 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * text2.C (redoParagraphs): adjust
6780         (updateCounters): adjust
6781         (checkParagraph): adjust
6782         (getColumnNearX): adjust and reformat a bit.
6783
6784         * text.C (top_y): adjust
6785         (workWidth): adjust
6786         (leftMargin): adjust
6787         (prepareToPrint): adjust
6788         (getRow): adjust
6789         (getRowNearY): adjust
6790
6791         * lyxtext.h: make rowlist_ mutable.
6792
6793         * RowList.h: add const_iterator
6794         * RowList.C: adjust for RowList::const_iterator.
6795
6796         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6797         adjust.
6798
6799 2003-03-31  John Levon  <levon@movementarian.org>
6800
6801         * lyxrc.h:
6802         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6803
6804         * lyx_main.C: set default fonts from using lyx_gui funcs
6805
6806         * exporter.C: pdf_mode moved from lyxrc
6807
6808         * lyx_cb.C:
6809         * lyxfunc.C: changes from above
6810
6811 2003-03-31  John Levon  <levon@movementarian.org>
6812
6813         * lyx_main.C: fix to the last fix
6814
6815 2003-03-31  John Levon  <levon@movementarian.org>
6816
6817         * bufferlist.C: "Load original" -> "Load Original"
6818
6819         * converter.C:
6820         * exporter.C:
6821         * importer.C:
6822         * lyx_main.C:
6823         * format.C: more Alert cleanups
6824
6825 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * text2.C (removeParagraph): make it take a RowList::iterator as
6828         arg, adjust.
6829         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6830         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6831
6832         * text.C (anchor_row): make it take a RowList::iterator as arg,
6833         adjust.
6834         (computeBidiTables): make it take a const reference to Row instead
6835         of Row pointer, adjust.
6836         (leftMargin): make it take a RowList::iterator as arg, adjust.
6837         (rowBreakPoint): adjust
6838         (breakAgainOneRow): make it take a RowList::iterator as arg,
6839         adjust.
6840         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6841
6842         * bufferview_funcs.C (toggleAndShow): adjust
6843
6844 2003-03-30  John Levon  <levon@movementarian.org>
6845
6846         * Makefile.am:
6847         * BoostFormat.h:
6848         * boost-inst.C: moved to support
6849
6850         * several files: changes as a result
6851
6852 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * text2.C (LyXText): adjust.
6855         (init): adjust
6856         (removeRow): make it take a RowList::iterator as arg, adjust.
6857         (fullRebreak): adjust
6858         (deleteEmptyParagraphMechanism): adjust
6859         (clearPaint): adjust
6860         (postPaint): adjust
6861
6862         * text.C (top_y): adjust
6863         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6864         (breakAgain): make it take a RowList::iterator as arg, adjust.
6865         (breakParagraph): adjust
6866         (insertChar): adjust
6867         (backspace): adjust
6868
6869         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6870         need_break_row, and refresh_row.
6871
6872         * text3.C (dispatch): adjust
6873
6874         * text2.C (checkParagraph): adjust
6875         (setCursor): adjust
6876         (setCursorFromCoordinates): adjust
6877
6878         * text.C (top_y): adjust
6879         (workWidth): adjust
6880         (getRow): make it return a RowList::iterator, adjust
6881         (getRowNearY): make it return a RowList::iterator, adjust
6882
6883         * text2.C (init): adjust
6884         (insertRow): remove function
6885         (insertParagraph): adjust
6886         (redoParagraphs): adjust
6887         (fullRebreak): adjust
6888         (updateCounters): adjust
6889
6890         * text.C (top_y): rewrite to use RowList iterators.
6891         (top_y): adjust
6892         (setHeightOfRow): rewrite to sue RowList iterators.
6893         (appendParagraph): adjust
6894         (breakAgain): adjust
6895         (breakAgainOneRow): adjust
6896         (breakParagraph): adjust
6897         (getRow): adjust
6898         (getRowNearY): adjust, and remove commented code.
6899
6900         * lyxtext.h (firstRow): delete function
6901         (lastRow): delete function
6902         (rows): new function (const and non-const versions.)
6903         (insertRow): delete function
6904
6905         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6906
6907 2003-03-29  John Levon  <levon@movementarian.org>
6908
6909         * BufferView_pimpl.C: always update scrollbar top
6910         because pasting text when we're anchored could mean we
6911         miss an update altogether
6912
6913 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * text2.C (init): use rowlist_.end() and not 0.
6916         (insertRow): change to take a RowList::iterator as arg, adjust
6917         for this.
6918         (insertParagraph): change to take a RowList::iterator as arg,
6919         adjust for this.
6920         (redoParagraphs): remove some debug msgs.
6921
6922         * text.C (appendParagraph): change to take a RowList::iterator
6923         arg, adjust for this.
6924         (breakAgain): add an assert
6925         (breakAgainOneRow): ditto
6926
6927 2003-03-29  John Levon  <levon@movementarian.org>
6928
6929         * text2.C: do not clear selection after inc/decDepth
6930         (bug 550)
6931
6932 2003-03-29  John Levon  <levon@movementarian.org>
6933
6934         * BufferView.C:
6935         * buffer.C: fix broken strerrors according to Lars
6936
6937 2003-03-29  John Levon  <levon@movementarian.org>
6938
6939         * converters.C: more Alert cleanups
6940
6941 2003-03-29  John Levon  <levon@movementarian.org>
6942
6943         * bufferview_funcs.C: remove pointless Alert
6944
6945         * buffer.C: fix confusing error message when
6946         a template is chmoded 000
6947
6948 2003-03-29  John Levon  <levon@movementarian.org>
6949
6950         * BufferView.C:
6951         * BufferView.h:
6952         * BufferView_pimpl.C: Alert fixes
6953
6954         * Makefile.am:
6955         * tabular.C:
6956         * tabular-old.C: remove unused table compat reading
6957
6958 2003-03-29  John Levon  <levon@movementarian.org>
6959
6960         * BufferView.C:
6961         * buffer.C:
6962         * lyx_cb.h:
6963         * lyx_cb.C: more Alert cleanups
6964
6965         * lyxfunc.C: don't allow chktex if not latex document
6966
6967 2003-03-29  John Levon  <levon@movementarian.org>
6968
6969         * lyx_cb.C:
6970         * BufferView.C:
6971         * buffer.C: warnings pushed down from support/,
6972         kill err_alert
6973
6974 2003-03-29  John Levon  <levon@movementarian.org>
6975
6976         * lyxfunc.C: safety check for C-r (revert)
6977
6978 2003-03-29  John Levon  <levon@movementarian.org>
6979
6980         * bufferlist.h:
6981         * bufferlist.C: several UI fixes using Alert::prompt.
6982         Fix the pointless looping quit code. Fix stupid revert
6983         behaviour (bug 938)
6984
6985         * lyxvc.h:
6986         * lyxvc.C:
6987         * lyx_cb.C: use Alert::prompt
6988
6989         * lyx_main.C: remove a silly question
6990
6991         * lyxfunc.C: remove a couple of silly questions,
6992         use Alert::prompt
6993
6994 2003-03-28  John Levon  <levon@movementarian.org>
6995
6996         * text2.C: fix bug 974 (End on empty par)
6997
6998 2003-03-28  John Levon  <levon@movementarian.org>
6999
7000         * BufferView_pimpl.C:
7001         * LyXAction.C:
7002         * lfuns.h: remove do-nothing math greek lfuns
7003
7004 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * lyxgluelength.h (isValidGlueLength): add default arg on
7007         parameter 2. Remove default arg from friend in class.
7008
7009         * lyxlength.h (isValidLength): add default arg on parameter 2.
7010         Remove default arg from friend in class.
7011
7012         * text2.C (LyXText): adjust, initialize refresh_row.
7013         (init): adjust
7014         (removeRow): adjust
7015         (insertRow): adjust
7016         (insertParagraph): adjst
7017         (redoParagraphs): adjust
7018         (fullRebreak): adjust
7019         (updateCounters): adjust
7020         (deleteEmptyParagraphMechanism): first attempt at fixing a
7021         crashing bug.
7022
7023         * text.C (top_y): adjust
7024         (setHeightOfRow): adjust
7025         (getRow): adjust
7026         (getRowNearY): adjust
7027
7028         * lyxtext.h: include RowList.h
7029         (~LyXText): not needed anymore, deleted.
7030         (firstRow): modify for RowList
7031         (lastRow): new function
7032         Delete firstrow and lastrow class variables, add a Rowlist
7033         rowlist_ class variable.
7034
7035         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7036         paragraph is empty.
7037
7038         * RowList.C (insert): fix case where it == begin().
7039
7040 2003-03-26  Angus Leeming  <leeming@lyx.org>
7041
7042         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7043         the thesaurus dialog.
7044
7045 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7048
7049         * RowList.[Ch]: new files
7050
7051         * ParagraphList.C (erase): handle the case where it == begin
7052         correctly.
7053
7054 2003-03-25  John Levon  <levon@movementarian.org>
7055
7056         * Makefile.am:
7057         * aspell_local.h:
7058         * aspell.C: add new aspell support
7059
7060         * lyxrc.h:
7061         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7062         have it accessible.
7063
7064 2003-03-25  Angus Leeming  <leeming@lyx.org>
7065
7066         * lfuns.h:
7067         * LyXAction.C (init): new LFUN_INSET_INSERT.
7068
7069         * BufferView_pimpl.C (dispatch): split out part of the
7070         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7071
7072         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7073         LFUN_INSET_APPLY.
7074
7075 2003-03-25  Angus Leeming  <leeming@lyx.org>
7076
7077         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7078
7079 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * text2.C:
7082         * text3.C: remove useless row->height(0)
7083
7084 2003-03-25  John Levon  <levon@movementarian.org>
7085
7086         * lyxtext.h:
7087         * text2.C:
7088         * text3.C: rename the refreshing stuff to better names
7089
7090 2003-03-24  John Levon  <levon@movementarian.org>
7091
7092         * BufferView_pimpl.h:
7093         * BufferView_pimpl.C: update layout choice on a mouse
7094         press/release
7095
7096 2003-03-23  John Levon  <levon@movementarian.org>
7097
7098         * Makefile.am: fix commandtags.h reference
7099
7100 2003-03-22  John Levon  <levon@movementarian.org>
7101
7102         * BufferView_pimpl.C:
7103         * lyxtext.h:
7104         * rowpainter.C:
7105         * rowpainter.h:
7106         * text.C:
7107         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7108
7109 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * lyxtext.h:
7112         * text.C: take the rtl methods out of line
7113
7114 2003-03-21 André Pönitz <poenitz@gmx.net>
7115
7116         * metricsinfo.[Ch]: new files containing structures to be passed around
7117         during the two-phase-drawing...
7118
7119 2003-03-21 André Pönitz <poenitz@gmx.net>
7120
7121         * lyxtextclass.C: read 'environment' tag.
7122
7123 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7124
7125         * text2.C (removeRow): fix bug 964
7126
7127 2003-03-20  John Levon  <levon@movementarian.org>
7128
7129         * rowpainter.C:
7130         * text.C:
7131         * text2.C: paint cleanups. Inset::update() dropped font
7132         parameter
7133
7134 2003-03-19  John Levon  <levon@movementarian.org>
7135
7136         * lyxfunc.C: only fitcursor/markDirty if available()
7137
7138 2003-03-19  John Levon  <levon@movementarian.org>
7139
7140         * commandtags.h: rename to ...
7141
7142         * lfuns.h: ... this, and renumber / cleanup
7143
7144 2003-03-19  John Levon  <levon@movementarian.org>
7145
7146         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7147         fit the cursor after an lfun
7148
7149         * BufferView.h:
7150         * BufferView.C:
7151         * BufferView_pimpl.h:
7152         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7153
7154         * LyXAction.C: layout-character should have ReadOnly
7155
7156         * ParagraphParameters.C:
7157         * buffer.C:
7158         * bufferview_funcs.C:
7159         * lyx_cb.C:
7160         * lyxfind.C:
7161         * lyxtext.h:
7162         * text.C:
7163         * text2.C:
7164         * text3.C:
7165         * undo_funcs.C: changes from above
7166
7167 2003-03-18  John Levon  <levon@movementarian.org>
7168
7169         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7170         remove it from update()
7171
7172         * lyxfunc.C: update layout choice after an lfun
7173
7174         * text3.C: remove extra updateLayoutChoice()s
7175
7176 2003-03-18  John Levon  <levon@movementarian.org>
7177
7178         * text.C: top_y change means full repaint, fix
7179         a drawing bug with cursor movement
7180
7181 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * lyxtext.h:
7184         * text.C:
7185         * text2.C: anchor row on setCursor
7186
7187 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7188
7189         * lyxtext.h: remove almost all mutable keywords
7190         * text.C:
7191         * text2.C:
7192         * text3.C: remove const keywords accordingly
7193
7194 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7197         anon namespace
7198         (TeXEnvironment): ditto
7199         (TeXOnePar): ditto
7200
7201 2003-03-17  John Levon  <levon@movementarian.org>
7202
7203         * text.C (rowBreakPoint): remove attempt to fix displayed
7204         math insets inside a manual label
7205
7206 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * lyxtext.h: remove BufferView* as first arg from almost all class
7209         functions.
7210         * other files: adjust.
7211
7212 2003-03-17  John Levon  <levon@movementarian.org>
7213
7214         * lyxtext.h:
7215         * undo_funcs.C:
7216         * text2.C: more paint cleanups
7217
7218         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7219
7220         * rowpainter.h:
7221         * rowpainter.C: remove "smart" background painting code
7222
7223 2003-03-16  John Levon  <levon@movementarian.org>
7224
7225         * lyxtext.h:
7226         * text.C:
7227         * text2.C:
7228         * text3.C: add helper functions for setting refresh_row/y
7229
7230 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7231
7232         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7233         newline inset which *can* get inserted in the pass_thru layouts.
7234         This is primarily for literate documents.
7235
7236 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7237
7238         * buffer.C: increment LYX_FORMAT to 223
7239
7240 2003-03-14 André Pönitz <poenitz@gmx.net>
7241
7242         * textclass.h: prepare for environment handling, ws changes
7243         * lyxlayout.C: read latexheader and latexfooter tags
7244
7245 2003-03-14  John Levon  <levon@movementarian.org>
7246
7247         * text2.C: rewrite ::status() a bit
7248
7249 2003-03-13  John Levon  <levon@movementarian.org>
7250
7251         * lyxtext.h: add some docs
7252
7253 2003-03-13  John Levon  <levon@movementarian.org>
7254
7255         * lyxtext.h:
7256         * text.C:
7257         * text2.C:
7258         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7259
7260 2003-03-13  John Levon  <levon@movementarian.org>
7261
7262         * text3.C: fix appendix redrawing
7263
7264 2003-03-13  John Levon  <levon@movementarian.org>
7265
7266         * text.C (setHeightOfRow):
7267         * rowpainter.h:
7268         * rowpainter.C: make appendix mark have the text
7269           "Appendix" so the user knows what it is
7270
7271         * LColor.h:
7272         * LColor.C: s/appendixline/appendix/ from above
7273
7274 2003-03-13  John Levon  <levon@movementarian.org>
7275
7276         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7277
7278         * text.C: fix a getChar(pos) bug properly
7279
7280 2003-03-13  Angus Leeming  <leeming@lyx.org>
7281
7282         * commandtags.h:
7283         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7284         Probably only temporary. Let's see how things pan out.
7285
7286         * BufferView.C (unlockInset):
7287         * BufferView_pimpl.C (fitCursor):
7288         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7289
7290         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7291         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7292
7293         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7294         new functions that convert ParagraphParameters to and from a string.
7295
7296         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7297         BufferView::Pimpl's dispatch.
7298         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7299
7300 2003-03-13 André Pönitz <poenitz@gmx.net>
7301
7302         * lyxfunc.C:
7303         * text3.C:
7304         * factory.C: make it aware of InsetEnv
7305
7306 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * text2.C (setCursor): never ask for one past last
7309         (setCursor): add some debugging messages.
7310
7311         * text.C (singleWidth): never ask for one past last
7312         (singleWidth): ditto
7313         (leftMargin): ditto
7314         (rightMargin): ditto
7315         (rowBreakPoint): ditto
7316         (setHeightOfRow): ditto
7317         (prepareToPrint): ditto
7318
7319         * rowpainter.C (paintBackground): never ask for one past last
7320         (paintText): never ask for one past last
7321
7322         * paragraph_pimpl.C (getChar): make the assert stricter, never
7323         allow the one past last pos to be taken
7324
7325         * paragraph.C (getChar): ws changes only
7326
7327         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7328         (numberOfSeparators): ditto
7329         (numberOfHfills): ditto
7330
7331 2003-03-12  John Levon  <levon@movementarian.org>
7332
7333         * author.h:
7334         * author.C:
7335         * bufferparams.h:
7336         * bufferparams.C:
7337         * paragraph_funcs.C: fix per-buffer authorlists
7338
7339 2003-03-12  John Levon  <levon@movementarian.org>
7340
7341         * text.C: fix newline in right address
7342
7343 2003-03-12  Angus Leeming  <leeming@lyx.org>
7344
7345         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7346         duplicate those in LyXFunc::dispatch.
7347
7348         * commandtags.h:
7349         * LyXAction.C:
7350         * ToolbarDefaults.C:
7351         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7352         Add LFUN_FONTFREE_UPDATE.
7353
7354         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7355         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7356
7357         * bufferview_func.[Ch]: several new functions to facilliate
7358         transfer of data to and from the character dialog.
7359
7360 2003-03-12  John Levon  <levon@movementarian.org>
7361
7362         * buffer.C:
7363         * paragraph.h:
7364         * paragraph.C:
7365         * paragraph_funcs.C:
7366         * paragraph_pimpl.C:
7367         * sgml.C:
7368         * tabular.C:
7369         * text.C:
7370         * text3.C: remove META_NEWLINE in favour of an inset
7371
7372         * rowpainter.h:
7373         * rowpainter.C: remove paintNewline (done by inset)
7374
7375 2003-03-12  John Levon  <levon@movementarian.org>
7376
7377         * paragraph_pimpl.C: complain about bad getChar()s
7378         for a while at least
7379
7380 2003-03-12  John Levon  <levon@movementarian.org>
7381
7382         * buffer.h:
7383         * buffer.C: move paragraph read into a separate function,
7384         a little renaming to reflect that.
7385
7386         * bufferparams.h:
7387         * bufferparams.C: remove the author_ids map, not necessary now
7388
7389         * factory.h:
7390         * factory.C: moved Buffer::readInset to here
7391
7392         * paragraph_funcs.h:
7393         * paragraph_funcs.C: readParagraph free function moved from
7394         buffer.C
7395
7396         * tabular.C: name change
7397
7398 2003-03-12  John Levon  <levon@movementarian.org>
7399
7400         * buffer.C:
7401         * ParagraphParameters.C: move par params input to
7402         a read() method
7403
7404         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7405         behave like a normal read from the stream wrt reading
7406         a line vs. a \\token
7407
7408 2003-03-12  John Levon  <levon@movementarian.org>
7409
7410         * paragraph.C:
7411         * ParagraphParameters.h:
7412         * ParagraphParameters.C: move output code to a
7413         ::write() method
7414
7415 2003-03-12  John Levon  <levon@movementarian.org>
7416
7417         * BufferView.C (insertLyXFile):
7418         * buffer.h:
7419         * buffer.C:
7420         * tabular.C: use a parlist iterator for creating the
7421           document.
7422
7423 2003-03-12  John Levon  <levon@movementarian.org>
7424
7425         * buffer.C: make current_change static local not
7426           static file-scope
7427
7428 2003-03-12  John Levon  <levon@movementarian.org>
7429
7430         * buffer.C: fix insertStringAsLines for change tracking
7431
7432 2003-03-12  John Levon  <levon@movementarian.org>
7433
7434         * BufferView.C:
7435         * tabular.C:
7436         * buffer.h:
7437         * buffer.C:
7438         * bufferparams.h:
7439         * bufferparams.C: move author list into params. Rename some
7440           functions. Move the header reading into a separate token
7441           loop. Move the header token reading into BufferParams.
7442
7443 2003-03-12  John Levon  <levon@movementarian.org>
7444
7445         * changes.C: put debug inside lyxerr.debugging() checks
7446
7447 2003-03-11 André Pönitz <poenitz@gmx.net>
7448
7449         * factory.C: make it aware of InsetHFill
7450
7451 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7452
7453         * buffer.C (latexParagraphs): move function from here...
7454         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7455         args.
7456
7457 2003-03-10  Angus Leeming  <leeming@lyx.org>
7458
7459         * LyXAction.C (init): fix bug in poplating array with multiple entries
7460         with the same LFUN (spotted by JMarc).
7461
7462 2003-03-10  John Levon  <levon@movementarian.org>
7463
7464         * text.C:
7465         * text2.C: move getColumnNearX() near its
7466         only call site
7467
7468 2003-03-10  John Levon  <levon@movementarian.org>
7469
7470         * text.C: fix break before a minipage
7471
7472 2003-03-10  John Levon  <levon@movementarian.org>
7473
7474         * text.C: fix the last commit
7475
7476 2003-03-09  John Levon  <levon@movementarian.org>
7477
7478         * lyxtext.h:
7479         * text.C:
7480         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7481         bug 365 (don't break before insets unless needed). Don't
7482         return a value > last under any circumstances.
7483
7484 2003-03-09  Angus Leeming  <leeming@lyx.org>
7485
7486         * BufferView_pimpl.C (trackChanges, dispatch): call
7487         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7488
7489 2003-03-09  Angus Leeming  <leeming@lyx.org>
7490
7491         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7492         than Dialogs::showAboutlyx().
7493
7494 2003-03-09  Angus Leeming  <leeming@lyx.org>
7495
7496         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7497         than Dialogs::showTabularCreate().
7498
7499 2003-03-09  John Levon  <levon@movementarian.org>
7500
7501         * lyxtext.h:
7502         * text.C:
7503         * text2.C: 3rd arg to nextBreakPoint was always the same.
7504           Use references.
7505
7506 2003-03-08  John Levon  <levon@movementarian.org>
7507
7508         * lyxrow.C:
7509         * paragraph.C:
7510         * paragraph.h:
7511         * rowpainter.C:
7512         * text.C:
7513         * text2.C: Remove the "main" bit from the "main body"
7514           notion.
7515
7516 2003-03-08  John Levon  <levon@movementarian.org>
7517
7518         * text.C (leftMargin): The left margin of an empty
7519         manual label paragraph should not include the label width
7520         string length.
7521
7522         * text.C (prepareToPrint): don't attempt to measure hfills
7523         for empty manual label paragraphs - the answer should be 0
7524
7525 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * CutAndPaste.C: remove commented code and reindent.
7528
7529 2003-03-08  John Levon  <levon@movementarian.org>
7530
7531         * lyxfunc.h:
7532         * lyxfunc.C: move reloadBuffer()
7533
7534         * BufferView.h:
7535         * BufferView.C: to here
7536
7537         * lyxvc.C: add comment
7538
7539         * vc-backend.h:
7540         * vc-backend.C: call bv->reload() to avoid
7541           getStatus() check on MENURELOAD
7542
7543 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7544
7545         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7546         to an old format .dep file.
7547
7548 2003-03-07  Angus Leeming  <leeming@lyx.org>
7549
7550         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7551         when the LFUN_MOUSE_RELEASE should have been handled by
7552         inset->localDispatch.
7553
7554 2003-03-07  Angus Leeming  <leeming@lyx.org>
7555
7556         * BufferView_pimpl.C (dispatch):
7557         * LyXAction.C (init):
7558         * ToolbarDefaults.C (init):
7559         * commandtags.h:
7560         * lyxfunc.C (getStatus):
7561         remove LFUN_INSET_GRAPHICS.
7562
7563         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7564
7565 2003-03-07  Angus Leeming  <leeming@lyx.org>
7566
7567         * commandtags.h:
7568         * LyXAction.C (init):
7569         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7570
7571         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7572
7573         * commandtags.h:
7574         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7575
7576         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7577         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7578
7579 2003-03-07  Angus Leeming  <leeming@lyx.org>
7580
7581         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7582         remove "ert".
7583
7584 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * ParagraphList.C (front): new function
7587         (back): implement
7588
7589 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7590
7591         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7592         and top_row_offset_. removed var first_y.
7593         * text.C (top_y):
7594         * text2.C (LyXText, removeRow):
7595         * text3.C:
7596         * BufferView_pimpl.C:
7597         use these methods instead of using first_y
7598
7599 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * text2.C (pasteSelection): adjust for checkPastePossible
7602
7603         * CutAndPaste.C: remove Paragraph * buf and replace with
7604         ParagraphList paragraphs.
7605         (DeleteBuffer): delete
7606         (cutSelection): change the tc type to textclass_type
7607         (copySelection): change the tc type to textclass_type
7608         (copySelection): adjust for ParagraphList
7609         (pasteSelection): change the tc type to textclass_type
7610         (pasteSelection): adjust for Paragraphlist
7611         (nrOfParagraphs): simplify for ParagraphList
7612         (checkPastePossible): simplify for ParagraphList
7613         (checkPastePossible): remove unused arg
7614
7615         * ParagraphList.C (insert): handle the case where there are no
7616         paragraphs yet.
7617
7618         * CutAndPaste.h: make CutAndPaste a namespace.
7619
7620         * text3.C (dispatch): adjust
7621
7622         * text.C (breakParagraph): add a ParagraphList as arg
7623
7624         * paragraph_funcs.C (breakParagraph): change to take a
7625         BufferParams and a ParagraphList as args.
7626         (breakParagraphConservative): ditto
7627         (mergeParagraph): ditto
7628         (TeXDeeper): add a ParagraphList arg
7629         (TeXEnvironment): ditto
7630         (TeXOnePar): ditto
7631
7632         * buffer.C (readLyXformat2): adjust
7633         (insertStringAsLines): adjust
7634         (latexParagraphs): adjust
7635
7636         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7637         (cutSelection): adjust
7638         (pasteSelection): adjust
7639
7640         * BufferView_pimpl.C (insertInset): adjust
7641
7642 2003-03-05  Angus Leeming  <leeming@lyx.org>
7643
7644         * commandtags.h:
7645         * LyXAction.C (init):
7646         * BufferView_pimpl.C (dispatch):
7647         * lyxfunc.C (getStatus):
7648         remove LFUN_CHILD_INSERT.
7649
7650         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7651
7652 2003-03-05  Angus Leeming  <leeming@lyx.org>
7653
7654         * commandtags.h:
7655         * LyXAction.C (init):
7656         * src/factory.C (createInset):
7657         * lyxfunc.C (getStatus):
7658         * text3.C (dispatch):
7659         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7660
7661         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7662
7663 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * ParagraphList.C (insert): handle insert right before end()
7666         (erase): fix cases where it can be first or last paragraph.
7667
7668 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7671         Paragraph::next and Paragraph::previous
7672         (TeXOnePar): ditto
7673
7674         * text.C (breakParagraph): adjust
7675
7676         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7677         BufferParams& as arg.
7678         (breakParagraph): use ParagraphList::insert
7679         (breakParagraphConservative): take a Buffer* instead of a
7680         BufferParams& as arg.
7681         (breakParagraphConservative): use ParagraphList::insert.
7682
7683         * buffer.C (insertStringAsLines): un-const it
7684         (insertStringAsLines): adjust
7685
7686         * ParagraphList.C (insert): new function
7687
7688         * CutAndPaste.C (pasteSelection): adjust
7689
7690         * text.C (backspace): adjust
7691
7692         * tabular.C (SetMultiColumn): adjust
7693
7694         * CutAndPaste.C (cutSelection): adjust
7695         (pasteSelection): adjust
7696
7697         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7698         Buffer const * as arg
7699
7700         * ParagraphList.C (erase): new function
7701         * paragraph_funcs.C (mergeParagraph): use it
7702         (mergeParagraph): make it take a Buffer* instead of a
7703         BufferParams* as arg
7704
7705         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7706         as arg
7707         (breakParagraphConservative): ditto
7708
7709         * paragraph.h: remove the breakParagraph friend
7710
7711         * paragraph.C (eraseIntern): new function
7712         (setChange): new function
7713
7714         * paragraph_funcs.C (mergeParagraph): make it take a
7715         ParagraphList::iterator instead of a Paragraph *, adjust
7716         accordingly.
7717
7718         * paragraph.h: move an #endif so that the change tracking stuff
7719         also works in the NO_NEXT case.
7720
7721 2003-03-04  Angus Leeming  <leeming@lyx.org>
7722
7723         * commandtags.h:
7724         * LyXAction.C: new LFUN_INSET_MODIFY.
7725
7726         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7727         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7728
7729 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * several files: ws changes only
7732
7733         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7734         (TeXEnvironment): ditto
7735         (TeXDeeper): ditto
7736
7737         * buffer.C (makeLaTeXFile): adjust
7738         (latexParagraphs): make it take ParagraphList::iterator as args
7739
7740 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * buffer.C (latexParagraphs): adjust
7743
7744         * paragraph.C (TeXOnePar): move function...
7745         (optArgInset): move function...
7746         (TeXEnvironment): move function...
7747         * paragraph_pimpl.C (TeXDeeper): move function...
7748         * paragraph_funcs.C: ...here
7749
7750         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7751
7752 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * buffer.C (readInset): remove compability code for old Figure and
7755         InsetInfo insets
7756
7757 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * buffer.C: ws changes
7760         (readInset):
7761
7762         * BufferView_pimpl.C: ditto
7763         * author.C: ditto
7764         * buffer.h: ditto
7765         * bufferlist.h: ditto
7766         * changes.h: ditto
7767         * lyxfunc.C: ditto
7768
7769 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7770
7771         * converter.[Ch]: split into itself +
7772         * graph.[Ch]
7773         * format.[Ch]
7774         * Makefile.am: += graph.[Ch] + format.[Ch]
7775         * MenuBackend.C
7776         * buffer.C
7777         * exporter.C
7778         * importer.C
7779         * lyx_main.C
7780         * lyxfunc.C
7781         * lyxrc.C: added #include "format.h"
7782
7783 2003-02-27  Angus Leeming  <leeming@lyx.org>
7784
7785         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7786           a label.
7787
7788         * factory.C (createInset): add "label" to the factory.
7789
7790         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7791           string and do no more.
7792
7793 2003-02-27  Angus Leeming  <leeming@lyx.org>
7794
7795         * commandtags.h:
7796         * LyXAction.C (init):
7797         * factory.C (createInset):
7798         * BufferView_pimpl.C (dispatch):
7799           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7800
7801         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7802
7803         * lyxfunc.C (dispatch):
7804         * text3.C (dispatch): pass name to params2string.
7805
7806 2003-02-26  Angus Leeming  <leeming@lyx.org>
7807
7808         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7809           blocks together.
7810           Rearrange the ~includes. Strip out the unnecessary ones.
7811
7812         * factory.C (createInset): reformat.
7813           create new insets for the various LFUN_XYZ_APPLY lfuns.
7814
7815 2003-02-26  John Levon  <levon@movementarian.org>
7816
7817         * lyxrow.h:
7818         * lyxrow.C: add isParStart,isParEnd helpers
7819
7820         * paragraph.h: make isInserted/DeletedText take refs
7821
7822         * paragraph_funcs.h:
7823         * paragraph_funcs.C: remove #if 0'd code
7824
7825         * lyxtext.h:
7826         * text3.C:
7827         * text2.C:
7828         * text.C: use lyxrow helpers above.
7829           Move draw and paint routines to RowPainter.
7830           Make several methods use refs not pointers.
7831           Make backgroundColor() const.
7832           Add markChangeInDraw(), isInInset().
7833           Merge changeRegionCase into changeCase.
7834           Make workWidth() shouldn't-happen code into an Assert.
7835
7836         * rowpainter.h:
7837         * rowpainter.C: new class for painting a row.
7838
7839         * vspace.h:
7840         * vspace.C: make inPixels take a ref
7841
7842 2003-02-26  Angus Leeming  <leeming@lyx.org>
7843
7844         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7845         LFUN_REF_APPLY.
7846
7847 2003-02-25  John Levon  <levon@movementarian.org>
7848
7849         * ispell.C: give the forked command a more accurate name
7850
7851 2003-02-22  John Levon  <levon@movementarian.org>
7852
7853         * toc.h:
7854         * toc.C: make TocItem store an id not a Paragraph *
7855           (bug #913)
7856
7857 2003-02-21  Angus Leeming  <leeming@lyx.org>
7858
7859         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7860           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7861           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7862           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7863           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7864           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7865
7866         * BufferView_pimpl.C (dispatch):
7867         * LyXAction.C (init):
7868         * factory.C (createInset):
7869         * lyxfunc.C (getStatus, dispatch):
7870         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7871
7872 2003-02-21  Angus Leeming  <leeming@lyx.org>
7873
7874         * BufferView_pimpl.C (MenuInsertLyXFile):
7875         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7876         * lyxfunc.C (menuNew, open, doImport):
7877           no longer pass a LyXView & to fileDlg.
7878
7879 2003-02-21  Angus Leeming  <leeming@lyx.org>
7880
7881         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7882         * LyXAction.C: change, BIBKEY to BIBITEM.
7883         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7884         Change InsetBibKey to InsetBibitem.
7885         Change BIBKEY_CODE to BIBITEM_CODE.
7886         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7887         * factory.C: replace insetbib.h with insetbibitem.h.
7888         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7889         * paragraph.C: replace insetbib.h with insetbibitem.h.
7890         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7891         Change bibkey() to bibitem().
7892         * text.C: remove insetbib.h.
7893         * text2.C: replace insetbib.h with insetbibitem.h.
7894         change bibkey() to bibitem().
7895         * text3.C: remove insetbib.h.
7896         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7897
7898 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7899
7900         * lyxrc.C (output): enclose user email in quotes (in case there are
7901         several words)
7902
7903 2003-02-18  John Levon  <levon@movementarian.org>
7904
7905         * buffer.h: add std::
7906
7907 2003-02-17  John Levon  <levon@movementarian.org>
7908
7909         * SpellBase.h:
7910         * ispell.h:
7911         * ispell.C:
7912         * pspell.h:
7913         * pspell.C: reworking. Especially in ispell, a large
7914           number of clean ups and bug fixes.
7915
7916         * lyxfunc.C: fix revert to behave sensibly
7917
7918 2003-02-17 André Pönitz <poenitz@gmx.net>
7919
7920         * LyXAction.C:
7921         * commandtags.h: new LFUN_INSERT_BIBKEY
7922
7923         * layout.h:
7924         * lyxlayout.C:
7925         * buffer.C:
7926         * factory.C:
7927         * text.C:
7928         * text2.C:
7929         * text3.C:
7930         * paragraph.[Ch]:
7931         * paragraph_func.C: remove special bibkey handling
7932
7933 2003-02-17  John Levon  <levon@movementarian.org>
7934
7935         * text.C (Delete): fix case where delete at the end of
7936           the very first paragraph would not merge the pars
7937
7938 2003-02-17  John Levon  <levon@movementarian.org>
7939
7940         * lyxrow.C: fix lastPrintablePos()
7941
7942 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7943
7944         * bufferparams.C (writeLaTeX): add a std:here
7945
7946         * buffer.C: and remove a using directive there
7947
7948 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * buffer.C (makeLaTeXFile): move the code that generates the
7951           preamble...
7952
7953         * bufferparams.C (writeLaTeX): ... in this new method
7954
7955         * LaTeXFeatures.C (getEncodingSet): make const
7956           (getLanguages): make const
7957
7958         * MenuBackend.C (binding): returns the binding associated to this
7959           action
7960           (add): sets the status of each item by calling getStatus. Adds
7961           some intelligence.
7962           (read): add support for OptSubMenu
7963           (expand): remove extra separator at the end of expanded menu
7964
7965 2003-02-15  John Levon  <levon@movementarian.org>
7966
7967         * BufferView.C:
7968         * BufferView_pimpl.C:
7969         * bufferlist.h:
7970         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7971           inset code that had no actual effect. Remove unneeded status
7972           code.
7973
7974 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7975
7976         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7977           in preamble
7978
7979 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7980
7981         * text.C (drawLengthMarker): also draw an arrow marker for
7982           symbolic lengths (medskip...)
7983
7984 2003-02-14  John Levon  <levon@movementarian.org>
7985
7986         * tabular.h:
7987         * tabular.C: better method names
7988
7989 2003-02-14  John Levon  <levon@movementarian.org>
7990
7991         * BufferView_pimpl.C:
7992         * bufferlist.C:
7993         * buffer.C:
7994         * converter.C:
7995         * lyx_cb.C:
7996         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7997           it's a more accurate name. Remove some pointless uses.
7998
7999 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8000
8001         * text2.C (LyXText): change order of initilizers to shut off
8002           warnings
8003
8004 2003-02-14  John Levon  <levon@movementarian.org>
8005
8006         * buffer.C: use ParIterator for getParFromID()
8007
8008         * paragraph.h:
8009         * paragraph.C:
8010         * paragraph_pimpl.h:
8011         * paragraph_pimpl.C: remove unused getParFromID()
8012
8013 2003-02-14  John Levon  <levon@movementarian.org>
8014
8015         * buffer.C: remove some very old #if 0'd parse code
8016
8017 2003-02-13  John Levon  <levon@movementarian.org>
8018
8019         * text.h:
8020         * text.C:
8021         * text2.C: move hfillExpansion(), numberOfSeparators(),
8022           rowLast(), rowLastPrintable(), numberofHfills(),
8023           numberOfLabelHfills() ...
8024
8025         * lyxrow.h:
8026         * lyxrow.C: ... to member functions here.
8027
8028         * paragraph.h:
8029         * paragraph.C:
8030         * lyxtext.h:
8031         * text.C: remove LyXText::beginningOfMainBody(), and call
8032           p->beginningOfMainBody() directly. Move the check for
8033           LABEL_MANUAL into the latter.
8034
8035         * text.h:
8036         * text.C:
8037         * text2.C:
8038         * vspace.C:
8039         * BufferView.h:
8040         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8041
8042         * text.h:
8043         * text.C:
8044         * text2.C:
8045         * text3.C:
8046         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8047           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8048
8049 2003-02-13  John Levon  <levon@movementarian.org>
8050
8051         * CutAndPaste.C: remove debug
8052
8053 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8054
8055         * paragraph.C (asString): remove two unused variables
8056
8057         * lyxtextclass.C (readTitleType):
8058           (Read):
8059           (LyXTextClass): handle new members titletype_ and titlename_
8060
8061         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8062
8063 2003-02-09  John Levon  <levon@movementarian.org>
8064
8065         * buffer.h:
8066         * buffer.C: replace hand-coded list with a map for the dep clean
8067
8068 2003-02-08  John Levon  <levon@movementarian.org>
8069
8070         * LaTeX.C: consolidate code into showRunMessage() helper
8071
8072 2003-02-08  John Levon  <levon@movementarian.org>
8073
8074         * lyxfind.C:
8075         * lyxtext.h:
8076         * text2.C:
8077         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8078           and pass the size in explicitly
8079
8080         * BufferView_pimpl.h:
8081         * BufferView_pimpl.C:
8082         * BufferView.h:
8083         * BufferView.C: add getCurrentChange()
8084
8085         * BufferView_pimpl.h:
8086         * BufferView_pimpl.C: handle change lfuns
8087
8088         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8089           for changes. Mark pasted paragraphs as new.
8090
8091         * support/lyxtime.h:
8092         * support/lyxtime.C:
8093         * DepTable.C: abstract time_t as lyx::time_type
8094
8095         * LColor.h:
8096         * LColor.C: add colours for new text, deleted text, changebars
8097
8098         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8099           package use "usenames" option.
8100
8101         * commandtags.h:
8102         * lyxfunc.C:
8103         * LyXAction.C: add change lfuns
8104
8105         * Makefile.am:
8106         * author.h:
8107         * author.C: author handling
8108
8109         * buffer.h:
8110         * buffer.C: add a per-buffer author list, with first entry as
8111           current author. Handle new .lyx tokens for change tracking. Output
8112           author list to .lyx file. Output dvipost stuff to .tex preamble.
8113           Bump lyx format to 222.
8114
8115         * bufferlist.h:
8116         * bufferlist.C: add setCurrentAuthor() to reset current author details
8117           in all buffers.
8118
8119         * bufferparams.h:
8120         * bufferparams.C: add param for tracking
8121
8122         * bufferview_funcs.C: output change info in minibuffer
8123
8124         * Makefile.am:
8125         * changes.h:
8126         * changes.C: add change-tracking structure
8127
8128         * debug.h:
8129         * debug.C: add CHANGES debug flag
8130
8131         * lyxfind.h:
8132         * lyxfind.C: add code for finding the next change piece
8133
8134         * lyxrc.h:
8135         * lyxrc.C: add user_name and user_email
8136
8137         * lyxrow.h:
8138         * lyxrow.C: add a metric for the top of the text line
8139
8140         * lyxtext.h:
8141         * text.C: implement accept/rejectChange()
8142
8143         * lyxtext.h:
8144         * text.C: paint changebars. Paint new/deleted text in the chosen
8145         colours. Strike through deleted text.
8146
8147         * paragraph.h:
8148         * paragraph.C:
8149         * paragraph_pimpl.h:
8150         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8151           in the current change to the insert functions. Rework erase to
8152           mark text as deleted, adding an eraseIntern() and a range-based
8153           erase(). Implement per-paragraph change lookup and
8154           accept/reject.
8155
8156         * paragraph_funcs.C: Fixup paste for change tracking.
8157
8158         * tabular.C: mark added row/columns as new.
8159
8160         * text.C: fix rowLast() to never return -1. Don't allow
8161           spellchecking of deleted text. Track transpose changes. Don't
8162           allow paragraph break or merge where appropriate.
8163
8164         * text2.C: leave cursor at end of selection after a cut.
8165
8166 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8167
8168         * text.C (getLengthMarkerHeight):
8169         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8170         visible on screen too.
8171
8172 2003-02-07  John Levon  <levon@movementarian.org>
8173
8174         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8175
8176 2003-02-05  Angus Leeming  <leeming@lyx.org>
8177
8178         * lyxserver.C (read_ready): revert my patch of 11 September last year
8179         as it sends PC cpu through the roof. Presumably this means that
8180         the lyxserver will no longer run on an Alpha...
8181
8182 2003-01-30  Angus Leeming  <leeming@lyx.org>
8183
8184         * factory.C (createInset): create an InsetCommandParam of type "index"
8185         and use it to 'do the right thing'.
8186
8187         * text2.C (getStringToIndex): ensure that cursor position is always
8188         reset to the reset_cursor position.
8189
8190 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8191
8192         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8193         disabled.
8194
8195 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8196
8197         * bufferview.C:
8198         * lyxcb.C:
8199         * lyxfunc.C: Output messages with identical spelling, punctuation,
8200         and spaces
8201
8202 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8203
8204         * MenuBackend.C (expandFormats): List only viewable export formats
8205         in "View" menu
8206
8207         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8208         message
8209
8210         * lyxfunc.C (getStatus): Make sure that formats other than
8211         "fax" can also be disabled
8212
8213 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8214
8215         * text3.C (dispatch): put the lfuns that insert insets in 3
8216         groups, and call doInsertInset with appropriate arguments.
8217         (doInsertInset): new function, that creates an inset and inserts
8218         it according to some boolean parameters.
8219
8220 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * buffer.C (readFile): remember to pass on 'par' when calling
8223         readFile recursively.
8224
8225 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8226
8227         * MenuBackend.C (expandFormats): add "..." to import formats.
8228
8229 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * paragraph.C (asString): Remove XForms RTL hacks.
8232
8233 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8234         * buffer.C: fix typo
8235
8236 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * Makefile.am (LIBS): delete var
8239         (lyx_LDADD): add @LIBS@ here instead.
8240
8241 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8242
8243         * Clarify the meaning of "wheel mouse jump"
8244
8245 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8246
8247         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8248         tabular in a float
8249
8250 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8251
8252         * importer.C (Loaders): do not preallocate 3 elements in the
8253         vector, since one ends up with 6 elements otherwise
8254
8255 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * DepTable.C (write): write the file name as last element of the
8258         .dep file (because it may contain spaces)
8259         (read): read info in the right order
8260
8261 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8262
8263         * paragraph_pimpl.C (simpleTeXBlanks):
8264         (simpleTeXSpecialChars):
8265         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8266
8267         * tabular.C (latex): add some missing case statements. Reindent.
8268
8269         * MenuBackend.C (expandToc): remove unused variable.
8270
8271 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8272
8273         * LColor.C:
8274         * LaTeX.C:
8275         * LyXAction.C:
8276         * MenuBackend.C:
8277         * buffer.C:
8278         * exporter.C:
8279         * lyxfunc.C:
8280         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8281         and the like.
8282
8283 2003-01-05  John Levon  <levon@movementarian.org>
8284
8285         * BufferView.h:
8286         * BufferView.C: add getEncoding()
8287
8288         * kbsequence.h:
8289         * kbsequence.C: do not store last keypress
8290
8291         * lyxfunc.h:
8292         * lyxfunc.C: store last keypress here instead. Pass encoding
8293           to getISOEncoded()
8294
8295 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8296
8297         * lyx_main.C (init): remove annoying error message when following
8298         symbolic links (bug #780)
8299
8300 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8301
8302         * text.C (insertChar):
8303         * lyxrc.C (getDescription): remove extra spaces
8304
8305 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8306
8307         * lyxrc.C (getDescription): remove extra spaces
8308
8309 2002-12-20  John Levon  <levon@movementarian.org>
8310
8311         * text3.C: hack fix for page up/down across tall rows
8312
8313 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314
8315         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8316         not been invoked
8317
8318 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8319
8320         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8321         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8322         thesaurus is not compiled in
8323
8324 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8325
8326         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8327
8328 2002-12-16  Angus Leeming  <leeming@lyx.org>
8329
8330         * lyxrc.[Ch]:
8331         * lyx_main.C (init): remove override_x_deadkeys stuff.
8332
8333 2002-12-12  John Levon  <levon@movementarian.org>
8334
8335         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8336           insert. Only remove shift modifier under strict
8337           circumstances.
8338
8339 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * MenuBackend.C (expandToc): fix crash.
8342
8343 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * MenuBackend.C (expandToc): gettext on float names.
8346
8347 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8348
8349         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8350         implement bool empty() [bug 490]
8351
8352 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8355
8356 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * several files: ws changes
8359
8360 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * text2.C (setCounter): clean up a bit, use boost.format.
8363         (updateCounters): initialize par upon declaration.
8364
8365         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8366         if the layout exists. We do not just store the layout any more.
8367         (SwitchLayoutsBetweenClasses): use boost.format
8368
8369 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8370
8371         * converter.C (convert): if from and to files are the same, use a
8372         temporary files as intermediary
8373
8374 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8375
8376         * commandtags.h:
8377         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8378
8379 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8382
8383 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * tabular.C (asciiPrintCell): use string(size, char) instead of
8386         explicit loop.
8387
8388         * sgml.C (openTag): fix order of arguments to string constructor
8389         (closeTag): ditto
8390
8391         * lyxfunc.C (dispatch): use boost.format
8392
8393         * lots of files: change "c" -> 'c'
8394
8395 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8396
8397         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8398
8399 2002-11-25  Angus Leeming  <leeming@lyx.org>
8400
8401         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8402
8403         * lyx_main.C (init): compile fix.
8404
8405 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * lyx_cb.C (start): boost.formatify
8408         do not include <iostream>
8409
8410         * lengthcommon.C: ws only
8411
8412         * boost-inst.C,BoostFormat.h: add more explict instantations
8413
8414 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * lots of files: handle USE_BOOST_FORMAT
8417
8418 2002-11-21  John Levon  <levon@movementarian.org>
8419
8420         * pspell.C: fix compile
8421
8422 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8423
8424         * lyxfunc.C (dispatch): use boost::format
8425         (open): ditto
8426         (doImport): ditto
8427
8428         * lyxfont.C (stateText): use boost::format
8429
8430         * lyx_main.C (LyX): use boost::format
8431         (init): ditto
8432         (queryUserLyXDir): ditto
8433         (readRcFile): ditto
8434         (parse_dbg): ditto
8435         (typedef boost::function): use the recommened syntax.
8436
8437         * importer.C (Import): use boost::format
8438
8439         * debug.C (showLevel): use boost::format
8440
8441         * converter.C (view): use boost::format
8442         (convert): ditto
8443         (move): ditto
8444         (scanLog): ditto
8445
8446         * bufferview_funcs.C (currentState): use boost::format
8447
8448         * bufferlist.C (emergencyWrite): use boost::format
8449
8450         * buffer.C (readLyXformat2): use boost::format
8451         (parseSingleLyXformat2Token): ditto
8452
8453         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8454
8455         * LaTeX.C (run): use boost::format
8456
8457         * Chktex.C (scanLogFile): use boost::format
8458
8459         * BufferView_pimpl.C (savePosition): use boost::format
8460         (restorePosition): ditto
8461         (MenuInsertLyXFile): ditto
8462
8463         * BoostFormat.h: help file for explicit instation.
8464
8465 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8466
8467         * tabular.C (latex): Support for block alignment in fixed width
8468         columns.
8469
8470 2002-11-17  John Levon  <levon@movementarian.org>
8471
8472         * BufferView_pimpl.C:
8473         * lyx_cb.C:
8474         * lyxfunc.C: split filedialog into open/save
8475
8476 2002-11-08  Juergen Vigna  <jug@sad.it>
8477
8478         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8479         by my last patch (hopefully).
8480
8481 2002-11-08  John Levon  <levon@movementarian.org>
8482
8483         * iterators.h:
8484         * iterators.C:
8485         * buffer.h:
8486         * buffer.C:
8487         * paragraph.h:
8488         * paragraph.C:
8489         * toc.h:
8490         * toc.C: ParConstIterator, and use it (from Lars)
8491
8492 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8493
8494         * lyxtextclass.[Ch]: revise and add doxygen comments
8495
8496 2002-11-07  John Levon  <levon@movementarian.org>
8497
8498         * text.C: fix progress value for spellchecker
8499
8500         * toc.C: fix navigate menu for insetwrap inside minipage
8501
8502         * paragraph_funcs.C: added FIXME for suspect code
8503
8504 2002-11-07  John Levon  <levon@movementarian.org>
8505
8506         * BufferView_pimpl.C: fix redrawing of insets
8507           on buffer switch
8508
8509 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * text2.C (updateCounters): fix bug 668
8512
8513 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8514
8515         * text3.C (dispatch): Do not make the buffer dirty when moving the
8516         cursor.
8517
8518 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * vc-backend.C: STRCONV
8521         (scanMaster): ditto
8522
8523         * text2.C (setCounter): STRCONV
8524
8525         * paragraph.C (asString): STRCONV
8526
8527         * lyxlength.C (asString): STRCONV
8528         (asLatexString): ditto
8529
8530         * lyxgluelength.C (asString): STRCONV
8531         (asLatexString): ditto
8532
8533         * lyxfunc.C (dispatch): STRCONV
8534         (open): ditto
8535
8536         * lyxfont.C (stateText): STRCONV
8537
8538         * importer.C (Import): STRCONV
8539
8540         * counters.C (labelItem): STRCONV
8541         (numberLabel): ditto
8542         (numberLabel): remove unused ostringstream o
8543
8544         * chset.C: STRCONV
8545         (loadFile): ditto
8546
8547         * bufferview_funcs.C (currentState): STRCONV
8548
8549         * buffer.C (readFile): STRCONV
8550         (asciiParagraph): ditto
8551         (makeLaTeXFile): ditto
8552
8553         * Spacing.C (writeEnvirBegin): STRCONV
8554
8555         * LaTeXFeatures.C (getLanguages): STRCONV
8556         (getPackages): ditto
8557         (getMacros): ditto
8558         (getBabelOptions): ditto
8559         (getTClassPreamble): ditto
8560         (getLyXSGMLEntities): ditto
8561         (getIncludedFiles): ditto
8562
8563         * LaTeX.C: STRCONV
8564         (run): ditto
8565         (scanAuxFile): ditto
8566         (deplog): ditto
8567
8568         * LString.h: add the STRCONV macros
8569
8570         * BufferView_pimpl.C (savePosition): STRCONV
8571         (restorePosition): ditto
8572         (MenuInsertLyXFile): ditto
8573
8574         * vc-backend.C (scanMaster): change from submatch[...] to
8575         submatch.str(...)
8576
8577         * funcrequest.C: include config.h
8578
8579         * factory.C: include config.h
8580
8581         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8582
8583         * box.C: include config.h
8584
8585         * LaTeX.C (scanAuxFile): change from submatch[...] to
8586         submatch.str(...)
8587         (deplog): ditto
8588
8589 2002-10-25  Angus Leeming  <leeming@lyx.org>
8590
8591         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8592
8593         * ispell.[Ch] (setError): new method.
8594         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8595         Use setError() insetead of goto END.
8596
8597         * lyx_cb.C (AutoSave): move out child process into new class
8598         AutoSaveBuffer.
8599
8600 2002-10-30  John Levon  <levon@movementarian.org>
8601
8602         * text3.C: make start appendix undoable
8603
8604 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8605
8606         * lyxlength.C (inPixels): Fix returned value.
8607
8608         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8609         environment.
8610
8611 2002-10-24  Angus Leeming  <leeming@lyx.org>
8612
8613         * lyxgluelength.h: no need to forward declare BufferParams
8614         or BufferView, so don't.
8615
8616 2002-10-21  John Levon  <levon@movementarian.org>
8617
8618         * BufferView.C: menuUndo ->undo, redo
8619
8620         * BufferView.h: document, remove dead, make some methods private
8621
8622         * paragraph_funcs.h:
8623         * paragraph_funcs.C:
8624         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8625
8626         * buffer.h:
8627         * buffer.C:
8628         * sgml.h:
8629         * sgml.C: move sgml open/close tag into sgml.C
8630
8631         * bufferview_funcs.h: unused prototype
8632
8633         * lyxfunc.h:
8634         * lyxfunc.C: remove unused
8635
8636         * lyxtext.h:
8637         * text.C: remove unused
8638
8639 2002-10-21  John Levon  <levon@movementarian.org>
8640
8641         * BufferView.h:
8642         * BufferView.C:
8643         * BufferView_pimpl.h:
8644         * BufferView_pimpl.C: fix mouse wheel handling based on
8645           patch from Darren Freeman
8646
8647 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8648
8649         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8650
8651 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * lyxlength.C (inPixels): Fix hanfling of negative length.
8654         Fix LyXLength::MU case.
8655
8656 2002-10-16  John Levon  <levon@movementarian.org>
8657
8658         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8659
8660 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8661
8662         * converter.C (view): add support for $$i (file name) and $$p
8663         (file path) for the viewer command. If $$i is not specified, then
8664         it is appended to the command (for compatibility with old syntax)
8665
8666 2002-10-14  Juergen Vigna  <jug@sad.it>
8667
8668         * undo_funcs.C (textHandleUndo): alter the order in which the
8669         new undopar is added to the LyXText, as we have to set first
8670         the right prev/next and then add it as otherwise the rebuild of
8671         LyXText is not correct. Also reset the cursor to the right paragraph,
8672         with this IMO we could remove the hack in "redoParagraphs()".
8673
8674 2002-10-09  Angus Leeming  <leeming@lyx.org>
8675
8676         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8677         to turn off an optimisation if a new inset is to be inserted.
8678
8679 2002-10-11 André Pönitz <poenitz@gmx.net>
8680
8681         * lyxtext.h: make some functions public to allow access
8682         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8683
8684 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8685
8686         * text3.C (dispatch): when changing layout, avoid an infinite loop
8687         [bug #652]
8688
8689 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8690
8691         * lyxrc.C (read): treat a viewer or converter command of "none" as
8692         if it were empty.
8693
8694         * MenuBackend.C (expandFormats): for an update, also allow the
8695         formats that are not viewable
8696
8697         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8698         script if it is newer than the lyxrc.defaults in user directory
8699
8700 2002-10-07 André Pönitz <poenitz@gmx.net>
8701
8702         * text.C: Vitaly Lipatov's small i18n fix
8703
8704 2002-09-25  Angus Leeming  <leeming@lyx.org>
8705
8706         * ispell.h: doxygen fix.
8707
8708 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8709
8710         * buffer.h (readFile): Add a new argument to the method, to allow
8711         reading of old-format templates.
8712
8713 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * toc.C (getTocList): Get TOC from InsetWrap.
8716
8717 2002-09-16  John Levon  <levon@movementarian.org>
8718
8719         * lyxfunc.C: check tabular for cut/copy too
8720
8721 2002-09-12  John Levon  <levon@movementarian.org>
8722
8723         * LyXAction.C: tidy
8724
8725         * factory.h:
8726         * factory.C: add header
8727
8728         * paragraph_funcs.h:
8729         * paragraph_funcs.C: cleanup
8730
8731 2002-09-11  John Levon  <levon@movementarian.org>
8732
8733         * PrinterParams.h: odd/even default to true
8734
8735 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8736
8737         * PrinterParams.h: update printer parameters for new xforms dialog
8738
8739 2002-09-11  Angus Leeming  <leeming@lyx.org>
8740
8741         * lyxserver.C (read_ready): re-write to make it more transparent
8742         and to make it work in coherent fashion under Tru64 Unix.
8743
8744 2002-09-11  André Pönitz <poenitz@gmx.net>
8745
8746         * commandtags.h:
8747         * LyXAction.C:
8748         * text3.C: implement LFUN_WORDSEL
8749
8750 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8753         make floatlist_ a boost::shared_ptr<FloatList>
8754
8755         * lyxtextclass.C: include FloatList.h
8756         (LyXTextClass): initialize floatlist_
8757         (TextClassTags): add TC_NOFLOAT
8758         (Read): match "nofloat" to TC_NOFLOAT and use it.
8759         (readFloat): modify call to floatlist_
8760         (floats): ditto
8761         (floats): ditto
8762
8763         * FloatList.[Ch] (FloatList): remove commented out float
8764         initialization.
8765         (erase): new function
8766
8767 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8768
8769         * MenuBackend.C (expandToc): fix crash when there is no document
8770         open
8771
8772 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * many files: Add insetwrap.
8775
8776 2002-09-09  John Levon  <levon@movementarian.org>
8777
8778         * text2.C: remove confusing and awkward depth wraparound
8779
8780 2002-09-09  John Levon  <levon@movementarian.org>
8781
8782         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8783
8784         * buffer.h:
8785         * buffer.C: remove getIncludeonlyList()
8786
8787         * paragraph.C:
8788         * lyxfunc.C: remove headers
8789
8790 2002-09-09  Juergen Vigna  <jug@sad.it>
8791
8792         * text.C (getColumnNearX): fix form Michael this is most
8793         probably a cut&paste bug.
8794
8795 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8798
8799         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8800         references, ws changes.
8801
8802         * text2.C (init): update counters after init
8803         (insertParagraph): no need to set counter on idividual paragraphs.
8804         (setCounter): access the counters object in the textclass object
8805         on in the buffer object.
8806         (updateCounters): ditto
8807
8808         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8809         shared_ptr<Counters> to avoid loading counters.h in all
8810         compilation units.
8811         (LyXTextClass): initialize ctrs_
8812         (TextClassTags): add TC_COUNTER, and ...
8813         (Read): use it here.
8814         (CounterTags): new tags
8815         (readCounter): new function
8816         (counters): new funtion
8817         (defaultLayoutName): return a const reference
8818
8819         * counters.C (Counters): remove contructor
8820         (newCounter): remove a couple of unneeded statements.
8821         (newCounter): simplify a bit.
8822         (numberLabel): some small formatting changes.
8823
8824         * buffer.[Ch]: remove all traces of counters, move the Counters
8825         object to the LyXTextClass.
8826
8827 2002-09-06  Alain Castera  <castera@in2p3.fr>
8828
8829         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8830         package to set the horizontal alignment on fixed width columns.
8831
8832         * lyx_sty.C:
8833         * lyx_sty.h: added tabularnewline macro def.
8834
8835         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8836
8837 2002-09-06  John Levon  <levon@movementarian.org>
8838
8839         * LyXAction.C: tooltips for sub/superscript
8840
8841         * MenuBackend.C: a bit more verbose
8842
8843         * lyxfunc.C: tiny clean
8844
8845         * undo_funcs.C: document undo_frozen
8846
8847 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * counters.C (Counters): add missing algorithm counter.
8850
8851         * text2.C (setCounter): lookup the counter with layouts latexname
8852         instead of by section number.
8853         (setCounter): use a hackish way to lookup the correct enum
8854         counter.
8855         a float name->type change
8856         reset enum couners with counter name directly instead of depth value.
8857
8858         * counters.C (Counters): remove the push_backs, change to use the
8859         float type not the float name.
8860         (labelItem): remove unused string, float name->type change
8861
8862         * counters.h: don't include vector, loose the enums and sects vectors
8863
8864 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8867         (Read): add float->TC_FLOAT to textclassTags
8868         (Read): and handle it in the switch
8869         (readFloat): new function
8870
8871         * FloatList.C (FloatList): comment out the hardcoded float
8872         definitions.
8873
8874         * lyxlayout.h: ws change.
8875
8876 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8877
8878         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8879
8880 2002-09-03  Angus Leeming  <leeming@lyx.org>
8881
8882         * BufferView_pimpl.h: qualified name is not allowed in member
8883         declaration: WorkArea & Pimpl::workarea() const;
8884
8885         * factory.C: added using std::endl directive.
8886
8887         * text3.C: added using std::find and std::vector directives.
8888
8889 2002-08-29  André Pönitz <poenitz@gmx.net>
8890
8891         * lyxtext.h:
8892         * text2.C: remove unused member number_of_rows
8893
8894         * Makefile.am:
8895         * BufferView2.C: remove file, move contents to...
8896         * BufferView.C: ... here
8897
8898         * BufferView_pimpl.C:
8899         * factory.C: move more inset creation to factory
8900
8901         * vspace.C: avoid direct usage of LyXText, ws changes
8902
8903         * BufferView.[Ch]:
8904                 don't provide direct access to WorkArea, use two simple
8905                 acessors haveSelction() and workHeight() instead
8906
8907
8908 2002-08-29  John Levon  <levon@movementarian.org>
8909
8910         * BufferView_pimpl.C (dispatch): do not continue when
8911           no buffer
8912
8913 2002-08-28  André Pönitz <poenitz@gmx.net>
8914
8915         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8916
8917         * BufferView.h:
8918         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8919
8920 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8921
8922         * buffer.C: increment LYX_FORMAT to 221
8923
8924         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8925         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8926
8927         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8928
8929         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8930
8931 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * factory.C (createInset): use LyXTextClass::floats
8934
8935         * MenuBackend.C (expandFloatListInsert):
8936         (expandFloatInsert):
8937         (expandToc):
8938
8939         * text2.C (setCounter):
8940
8941         * LaTeXFeatures.C (useFloat):
8942         (getFloatDefinitions):
8943
8944         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8945
8946         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8947         floatlist_, with accessor floats().
8948
8949         * FloatList.h: remove global FloatList
8950
8951 2002-08-26  André Pönitz <poenitz@gmx.net>
8952
8953         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8954
8955         * BufferView.h:
8956         * BufferView2.C:
8957         * BufferView_pimpl.C:
8958         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8959
8960 2002-08-25  John Levon  <levon@movementarian.org>
8961
8962         * LyXAction.C: fix margin note description
8963
8964 2002-08-24  John Levon  <levon@movementarian.org>
8965
8966         * buffer.C:
8967         * bufferlist.C:
8968         * bufferview_funcs.C:
8969         * lyxfont.C:
8970         * undo_funcs.C: cleanups
8971
8972         * lyxfunc.C: disable CUT/COPY when no selection
8973
8974 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8975
8976         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8977         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8978
8979         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8980         Add backward compatibility to "mono", "gray" and "no".
8981
8982 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8983
8984         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8985         (and file_format >= 200).
8986
8987 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8988
8989         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8990
8991 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8994
8995 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8996
8997         * BufferView_pimpl.C:
8998         * LyXAction.C:
8999         * buffer.C:
9000         * commandtags.h:
9001         * lyxfunc.C:
9002         * paragraph.[Ch]:
9003         * text2.C:
9004         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9005         inset and code to make it  work with the paragraph code. The inset
9006         can be anywhere in the paragraph, but will only do the expected
9007         thing in LaTeX if the layout file contains the parameter line
9008                         OptionalArgs    1
9009         (or more generally, a nonzero value) for that layout.
9010
9011 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9012
9013         * paragraph.h: remove the declaration of undefined counters class
9014         function.
9015
9016 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9017
9018         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9019         Dr. Richard Hawkins.
9020
9021 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9022
9023         * paragraph_funcs.h: remove some unneeded includes
9024
9025         * text.C (backspace): pasteParagraph now in global scipe
9026
9027         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9028         (pasteSelection): ditto
9029
9030         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9031         * paragraph_funcs.C (pasteParagraph): ... here
9032
9033 2002-08-20  André Pönitz <poenitz@gmx.net>
9034
9035         * commandtags.h: new LFUNs for swapping/copying table row/colums
9036
9037         * LyXAction.C:
9038         * lyxfunc.C: support for new lfuns
9039
9040 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * tabular.C:
9043         * buffer.[Ch]: remove NO_COMPABILITY stuff
9044
9045 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * boost.C (throw_exception): new file, with helper function for
9048         boost compiled without exceptions.
9049
9050         * paragraph.h:
9051         * lyxlength.C:
9052         * buffer.C:
9053         * ParameterStruct.h:
9054         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9055
9056         * bufferlist.C (emergencyWriteAll): use boost bind
9057
9058         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9059
9060         * text.C: include paragraph_funcs.h
9061         (breakParagraph): breakParagraph is now in global scope
9062
9063         * paragraph_funcs.[Ch]: new files
9064
9065         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9066         global scope
9067
9068         * buffer.C: include paragraph_funcs.h
9069         (insertStringAsLines): breakParagraph is now in global scope
9070
9071         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9072         paragraph_funcs.C
9073
9074         * CutAndPaste.C: include paragraph_funcs.h
9075         (cutSelection): breakParagraphConservative is now in global scope
9076         (pasteSelection): ditto
9077
9078         * buffer.h: declare oprator== and operator!= for
9079         Buffer::inset_iterator
9080
9081         * bufferlist.C (emergencyWrite): don't use fmt(...)
9082
9083         * text3.C: add using std::endl
9084
9085         * BufferView.C (moveCursorUpdate): remove default arg
9086
9087 2002-08-20  André Pönitz <poenitz@gmx.net>
9088
9089         * buffer.[Ch]: move inline functions to .C
9090
9091         * BufferView2.C:
9092         * BufferView_pimpl.C:
9093         * text.C:
9094         * buffer.[Ch]: use improved inset_iterator
9095
9096         * buffer.C:
9097         * paragraph.[Ch]: write one paragraph at a time
9098
9099 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9102         style if style is not specified.
9103
9104 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9105
9106         * text2.C (setCounter): when searching for right label for a
9107         caption, make sure to recurse to parent insets (so that a caption
9108         in a minipage in a figure float works) (bug #568)
9109
9110 2002-08-20  André Pönitz <poenitz@gmx.net>
9111
9112         * text3.C: new file for LyXText::dispatch() and helpers
9113
9114         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9115
9116         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9117
9118 2002-08-19  André Pönitz <poenitz@gmx.net>
9119
9120         * lyxtext.h:
9121         * text.C: new LyXText::dispatch()
9122
9123         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9124
9125 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9126
9127         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9128
9129         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9130         Hebrew text.
9131
9132 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * Makefile.am: use $(variables) instead of @substitutions@
9135
9136 2002-08-15  André Pönitz <poenitz@gmx.net>
9137
9138         * lyxfunc.C:
9139         * BufferView_pimpl.C: streamlining mathed <-> outer world
9140         interaction
9141
9142         * commandtags.h:
9143         * LyXAction.C: remove unused LFUN_MATH
9144
9145 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9146
9147         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9148
9149 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * paragraph.C (Paragraph): reformat a bit
9152         (cutIntoMinibuffer): use builtin InsetList function instad of
9153         doing it manually.
9154         (getInset): ditto
9155
9156         * buffer.C: include boost/bind.hpp, add using std::for_each
9157         (writeFileAscii): use ParagraphList iterators
9158         (validate): use for_each for validate traversal of paragraphs
9159         (getBibkeyList): use ParagraphList iterators
9160         (resizeInsets): use for_each to resizeInsetsLyXText for all
9161         paragraphs.
9162         (getParFromID): use ParagraphList iterators
9163
9164         * BufferView2.C (lockInset): use paragraph list and iterators
9165
9166 2002-08-14  John Levon  <levon@movementarian.org>
9167
9168         * lyxserver.C: remove spurious xforms include
9169
9170 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9171
9172         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9173
9174 2002-08-13  André Pönitz <poenitz@gmx.net>
9175
9176         * LyXAction.[Ch]:
9177         * lyxfunc.C: further cleaning
9178
9179 2002-08-13  André Pönitz <poenitz@gmx.net>
9180
9181         * funcrequest.h: new constructor
9182
9183         * funcrequest.C: move stuff here from .h
9184
9185         * Makefile.am:
9186         * BufferView_pimpl.C:
9187         * LyXAction.C:
9188         * toc.C:
9189         * lyxfunc.C: subsequent changes
9190
9191         * lyxfunc.h: new view() member function
9192
9193         * lyxfunc.C: subsequent changes
9194
9195 2002-08-13  Angus Leeming  <leeming@lyx.org>
9196
9197         * BufferView2.C:
9198         * BufferView_pimpl.C:
9199         * buffer.C:
9200         * converter.C:
9201         * importer.C:
9202         * lyxfunc.C:
9203         * lyxvc.C:
9204         * toc.C:
9205         * vc-backend.C:
9206         changes due to the changed LyXView interface that now returns references
9207         to member variables not pointers.
9208
9209 2002-08-13  Angus Leeming  <leeming@lyx.org>
9210
9211         * WordLangTuple (word, lang_code): return references to strings,
9212         not strings.
9213
9214         * BufferView.h:
9215         * SpellBase.h:
9216         * lyxtext.h: forward-declare WordLangTuple.
9217
9218         * BufferView2.C:
9219         * ispell.C:
9220         * pspell.C:
9221         * text.C: #include "WordLangTuple.h".
9222
9223         * lyxtext.h:
9224         * text.C: (selectNextWordToSpellcheck): constify return type.
9225
9226 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9227
9228         * buffer.C:
9229         * buffer.h:
9230         * lyxtext.h:
9231         * paragraph.C:
9232         * paragraph_pimpl.h:
9233         * text.C:
9234         * text2.C:
9235         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9236         suggested by Angus.
9237         Made updateCounter always count from start of buffer, and removed
9238         second argument (par).
9239         Reverted floats number display to '#'. Perhaps I'll try again when the
9240         code base is sanitized a bit.
9241
9242 2002-08-12  Angus Leeming  <leeming@lyx.org>
9243
9244         * buffer.[Ch] (getLabelList): constify.
9245
9246 2002-08-07  André Pönitz <poenitz@gmx.net>
9247
9248         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9249
9250         * funcrequest.h: extension to keep mouse (x,y) position
9251
9252 2002-08-12  Juergen Vigna  <jug@sad.it>
9253
9254         * BufferView2.C (insertErrors): forbid undo when inserting error
9255         insets.
9256
9257         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9258
9259 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9260
9261         * ParagraphList.[Ch]: new files
9262
9263         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9264
9265         * BufferView2.C (lockInset): ParagraphList changes
9266         * toc.C: ditto
9267         * text2.C: ditto
9268         * bufferlist.C: ditto
9269         * buffer.h: ditto
9270         * buffer.C: ditto
9271
9272 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9273
9274         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9275         unused class variable counter_,
9276
9277         * paragraph.[Ch] (getFirstCounter): delete unused function
9278
9279         * counters.C: include LAssert.h
9280         (reset): add a new function with no arg, change other version to
9281         not have def. arg and to not allow empty arg.
9282
9283         * text2.C (setCounter): remove empty arg from call to Counters::reset
9284
9285 2002-08-11  John Levon  <levon@movementarian.org>
9286
9287         * Makefile.am: add WordLangTuple.h
9288
9289 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9292         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9293
9294         * insets/insettext.C: InsetList changes
9295
9296         * graphics/GraphicsSupport.C (operator()): InsetList changes
9297
9298         * toc.C (getTocList): InsetList changes
9299
9300         * paragraph_pimpl.[Ch]: InsetList changes
9301
9302         * paragraph.[Ch]: InsetList changes
9303
9304         * buffer.C (inset_iterator): InsetList changes
9305         (setParagraph): ditto
9306         * buffer.h (inset_iterator): ditto
9307         * iterators.C (operator++): ditto
9308         * iterators.h: ditto
9309
9310         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9311
9312         * InsetList.[Ch]: new files, most InsetList handling moved out of
9313         paragraph.C.
9314
9315         * BufferView2.C (removeAutoInsets): InsetList changes
9316         (lockInset): ditto
9317         (ChangeInsets): ditto
9318
9319 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9320
9321         * paragraph_pimpl.h (empty): new function
9322
9323         * paragraph.[Ch] (empty): new function
9324
9325         * other files: use the new Paragraph::empty function
9326
9327 2002-08-09  John Levon  <levon@movementarian.org>
9328
9329         * lyxtext.h: remove unused refresh_height
9330
9331 2002-08-09  John Levon  <levon@movementarian.org>
9332
9333         * Makefile.am:
9334         * sgml.h:
9335         * sgml.C:
9336         * buffer.C:
9337         * paragraph.h:
9338         * paragraph.C: move sgml char escaping out of paragraph
9339
9340         * paragraph.h:
9341         * paragraph.C: remove id setter
9342
9343         * buffer.C:
9344         * paragraph.C:
9345         * paragraph_pimpl.C: remove dead tex_code_break_column
9346
9347         * bufferview_funcs.C: small cleanup
9348
9349         * lyxfunc.C: remove dead proto
9350
9351         * lyxtext.h: make some stuff private. Remove some dead stuff.
9352
9353         * lyxgluelength.C: make as[LyX]String() readable
9354
9355 2002-08-08  John Levon  <levon@movementarian.org>
9356
9357         * LyXAction.h:
9358         * LyXAction.C:
9359         * MenuBackend.C:
9360         * ToolbarDefaults.C:
9361         * lyxfunc.C:
9362         * lyxrc.C:
9363         * toc.C: lyxaction cleanup
9364
9365 2002-08-08  John Levon  <levon@movementarian.org>
9366
9367         * BufferView2.C: small cleanup
9368
9369         * lyxfind.h:
9370         * lyxfind.C: move unnecessary header into the .C
9371
9372 2002-08-08  John Levon  <levon@movementarian.org>
9373
9374         * funcrequest.h: just tedious nonsense
9375
9376         * lyx_main.h:
9377         * lyx_main.C: cleanups
9378
9379         * buffer.C:
9380         * vspace.C: remove dead header lyx_main.h
9381
9382 2002-08-07  Angus Leeming  <leeming@lyx.org>
9383
9384         * Paragraph.[Ch]:
9385         * paragraph_pimpl.h:
9386         Forward declare class Counters in paragraph.h by moving the ctrs member
9387         variable into Paragraph::Pimpl.
9388         (counters): new method, returning a reference to pimpl_->ctrs.
9389
9390         * text2.C: ensuing changes.
9391
9392 2002-08-07  John Levon  <levon@movementarian.org>
9393
9394         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9395
9396         * BufferView_pimpl.C: announce X selection on double/triple
9397           click
9398
9399         * lyx_main.C: use correct bool in batch dispatch
9400
9401         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9402
9403 2002-08-07  André Pönitz <poenitz@gmx.net>
9404
9405         * funcrequest.h: new class to wrap a kb_action and its argument
9406
9407         * BufferView.[Ch]:
9408         * BufferView_pimpl[Ch]:
9409         * LaTeX.C:
9410         * LyXAction.[Ch]:
9411         * lyxfunc.[Ch]:
9412         * lyxrc.C: subsequent changes
9413
9414
9415 2002-08-07  John Levon  <levon@movementarian.org>
9416
9417         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9418           document options change.
9419
9420 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9421
9422         * counters.[Ch]
9423         * text2.C
9424         * paragraph.[Ch]
9425         * makefile.am: move counters functionality over from
9426         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9427
9428 2002-08-06  John Levon  <levon@movementarian.org>
9429
9430         * WordLangTuple.h: new file for word + language code tuple
9431
9432         * SpellBase.h:
9433         * pspell.h:
9434         * pspell.C:
9435         * ispell.h:
9436         * ispell.C:
9437         * lyxtext.h:
9438         * text.C:
9439         * text2.C:
9440         * BufferView.h:
9441         * BufferView2.C: use WordLangTuple
9442
9443         * layout.h:
9444         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9445
9446 2002-08-06  John Levon  <levon@movementarian.org>
9447
9448         * lyx_main.C: fix cmdline batch handling
9449
9450 2002-08-06  André Pönitz <poenitz@gmx.net>
9451
9452         * lyxrc.C: set default for show_banner to true
9453
9454 2002-08-06  John Levon  <levon@movementarian.org>
9455
9456         * pspell.C: fix a crash, and allow new aspell to work
9457
9458 2002-08-06  John Levon  <levon@movementarian.org>
9459
9460         * lyxfunc.C:
9461         * kbmap.C: small cleanup
9462
9463         * vspace.h:
9464         * vspace.C: add const
9465
9466 2002-08-05  John Levon  <levon@movementarian.org>
9467
9468         * LyXAction.C: back to tabular-insert
9469
9470 2002-08-04  John Levon  <levon@movementarian.org>
9471
9472         * BufferView.h:
9473         * BufferView.C: cosmetic change
9474
9475         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9476
9477         * bufferlist.C:
9478         * buffer.h:
9479         * buffer.C:
9480         * lyxcb.h:
9481         * lyxcb.C:
9482         * lyxserver.C:
9483         * lyxvc.C:
9484         * vc-backend.C:
9485         * BufferView2.C: purge all "Lyx" not "LyX" strings
9486
9487         * lyxcursor.h:
9488         * lyxcursor.C: attempt to add some documentation
9489
9490         * lyxfunc.C:
9491         * commandtags.h:
9492         * LyXAction.C:
9493         * ToolbarDefaults.C:
9494         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9495           merge with LFUN_TABULAR_INSERT
9496
9497         * Makefile.am:
9498         * SpellBase.h:
9499         * ispell.h:
9500         * ispell.C:
9501         * pspell.h:
9502         * pspell.C: split up i/pspell implementations into separate
9503           files, many cleanups
9504
9505         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9506
9507         * text2.C: some cleanup
9508
9509         * lyxfunc.C: don't check for isp_command == "none" any more, it
9510           didn't make any sense
9511
9512 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9513
9514         * counters.[Ch]
9515         * text2.C
9516         * paragraph.[Ch]
9517         * makefile.am: move counters functionality over
9518         from text2.C/paragraph.[Ch] to counters.[Ch], and
9519         make proper C++.
9520 2002-08-02  John Levon  <levon@movementarian.org>
9521
9522         * buffer.C: s/lyxconvert/lyx2lyx/
9523
9524 2002-08-02  Angus Leeming  <leeming@lyx.org>
9525
9526         * lyxlex.C: revert John's change as it breaks reading of the user
9527         preamble.
9528
9529 2002-08-02  Angus Leeming  <leeming@lyx.org>
9530
9531         * importer.C (Import):
9532         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9533         changes due to LyXView::view() now returning a boost::shared_ptr.
9534
9535 2002-08-02  John Levon  <levon@movementarian.org>
9536
9537         * lyxlex.C: small cleanup
9538
9539 2002-08-02  John Levon  <levon@movementarian.org>
9540
9541         * text2.C (status): small cleanup, no logic change
9542
9543 2002-08-01  John Levon  <levon@movementarian.org>
9544
9545         * buffer.h:
9546         * buffer.C (writeFile): don't output alerts, caller
9547           handles this
9548
9549         * bufferlist.C:
9550         * lyx_cb.C: from above
9551
9552         * lyxfunc.C: allow to open non-existent files
9553
9554 2002-07-31  John Levon  <levon@movementarian.org>
9555
9556         * lyxserver.C: don't let incidental errors get
9557           in the way (errno)
9558
9559 2002-07-30  John Levon  <levon@movementarian.org>
9560
9561         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9562
9563 2002-07-30  John Levon  <levon@movementarian.org>
9564
9565         * lyxserver.h:
9566         * lyxserver.C: remove I/O callback too
9567
9568 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9571         log.
9572
9573 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9574
9575         * many files: strip,frontStrip -> trim,ltrim,rtrim
9576
9577 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * PrinterParams.h: remove extern containsOnly, and include
9580         support/lstrings.h instead.
9581
9582         * LaTeX.C (scanAuxFile): modify because of strip changes
9583         (deplog): ditto
9584         * buffer.C (makeLaTeXFile): ditto
9585         * bufferparams.C (writeFile): ditt
9586         * lyxfont.C (stateText): ditto
9587         * lyxserver.C (read_ready): ditto
9588         * vc-backend.C (scanMaster): ditto
9589
9590         * BufferView_pimpl.h: ws changes
9591
9592         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9593
9594 2002-07-26  André Pönitz <poenitz@gmx.net>
9595
9596         * kb_sequence.C: remove unnedred usings
9597
9598 2002-07-26  Juergen Vigna  <jug@sad.it>
9599
9600         * lyxfind.C (LyXReplace): we have to check better if the returned
9601         text is not of theLockingInset()->getLockingInset().
9602
9603 2002-07-25  Juergen Vigna  <jug@sad.it>
9604
9605         * lyxfind.C (LyXReplace): don't replace if we don't get the
9606         right LyXText.
9607
9608         * undo_funcs.C (createUndo): remove debugging code.
9609
9610 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9611
9612         * buffer.C (parseSingleLyXformat2Token): Use default placement
9613         when reading old floats.
9614
9615         * FloatList.C (FloatList): Change the default placement of figure
9616         and tables to "tbp".
9617
9618 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * MenuBackend.C: using std::max
9621
9622 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * MenuBackend.C (expandToc):
9625         (expandToc2): code moved from xforms menu frontend. It is now
9626         generic and TOCs are transparent to menu frontends.
9627
9628 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * toc.C (getTocList): protect against buf=0
9631
9632         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9633         Menu as first parameter. Now, this calls itself recursively to
9634         expand a whole tree (this will be useful for TOC handling)
9635         (expandFloatInsert): remove 'wide' version of floats
9636
9637         * MenuBackend.h (submenuname): returns the name of the submenu.
9638         (submenu): returns the submenu itself, provided it has been
9639         created by MenuBackend::expand
9640
9641 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9642
9643         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9644         insets which have noFontChange == true. (bug #172)
9645
9646 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9647
9648         * BufferView_pimpl.C: add connection objects and use them...
9649         (Pimpl): here.
9650
9651 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * MenuBackend.C (expandLastfiles):
9654         (expandDocuments):
9655         (expandFormats):
9656         (expandFloatListInsert):
9657         (expandFloatInsert):
9658         (expand): split expand in parts
9659
9660 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * lyx_gui.C: use lyx_gui::exit()
9663
9664 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * LyXAction.C: show the failing pseudo action
9667
9668 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9669
9670         * buffer.C (readFile): Run the lyxconvert script in order to read
9671         old files.
9672
9673 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * LyXAction.C:
9676         * commandtags.h:
9677         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9678
9679 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * LyXAction.C:
9682         * commandtags.h:
9683         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9684
9685 2002-07-22  Herbert Voss  <voss@lyx.org>
9686
9687         * lengthcommon.C:
9688         * lyxlength.[Ch]: add support for the vertical lengths
9689
9690 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * toc.[Ch]: std:: fixes
9693
9694 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * lyxrc.C: do not include lyx_main.h
9697
9698         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9699         for layouts
9700
9701         * lyxrc.C:
9702         * encoding.C:
9703         * bufferlist.C:
9704         * BufferView2.C: include "lyxlex.h"
9705
9706         * tabular.h:
9707         * bufferparams.h: do not #include "lyxlex.h"
9708
9709         * lyxtextclasslist.C (Add): remove method
9710         (classlist): renamed to classlist_
9711
9712         * paragraph_pimpl.C:
9713         * paragraph.C:
9714         * text2.C:
9715         * CutAndPaste.C:
9716         * bufferview_funcs.C:
9717         * bufferlist.C:
9718         * text.C:
9719         * LaTeXFeatures.C:
9720         * buffer.C:
9721         * toc.C (getTocList): use BufferParams::getLyXTextClass
9722
9723         * toc.C (getTocList): use InsetFloat::addToToc
9724
9725         * toc.[Ch]: new files, containing helper functions to handle table
9726         of contents
9727
9728         * lyxfunc.C (dispatch): no need to remove spaces around command
9729         given as a string
9730         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9731         first command of the sequence; it is not very clever, but I do not
9732         have a better idea, actually
9733
9734         * LyXAction.C (LookupFunc): make sure to remove space at the
9735         beginning and end of the command
9736
9737 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * MenuBackend.C (getMenubar): new method: return the menubar of
9740         this menu set
9741         (read): treat differently reading of menu and menubar (in
9742         particular, the menubar has no name now)
9743         (Menu::menubar): remove
9744
9745         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9746         saving is finished
9747
9748 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9751         a bibitem inset in a RTL paragraph.
9752
9753 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * paragraph_pimpl.C: constify
9756
9757         * BufferView_pimpl.C:
9758         * LaTeX.C:
9759         * lyxfunc.C: fix dispatch in a nicer way
9760
9761 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9762
9763         * lyxfunc.C (dispatch):
9764         * BufferView_pimpl.C:
9765         * BufferView_pimpl.h:
9766         * BufferView.C:
9767         * BufferView.h: rename Dispatch() to dispatch()
9768
9769         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9770
9771         * lyxlayout.C (Read): honor DependsOn tag
9772
9773         * lyxlayout.[Ch] (depends_on): new method
9774
9775         * version.C.in: update lyx_docversion
9776
9777         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9778
9779         * paragraph.C (validate): remove from here...
9780         * paragraph_pimpl.C (validate): ... and move here
9781         (isTextAt): make it const
9782
9783         * buffer.C (getLists): ws cleanup
9784
9785 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9786
9787         * language.C (read): Use iso8859-1 encoding in latex_lang
9788         (this prevents LyX from crashing when using iso10646-1 encoding).
9789
9790 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * text2.C (toggleInset): if cursor is inside an inset, close the
9793         inset and leave cursor _after_ it
9794
9795 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * lyxfunc.C: move minibuffer completion handling out of here
9798
9799 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * BufferView_pimpl.C:
9802         * LaTeX.C: fix dispatch calls
9803
9804 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9805
9806         * text.C (drawChars): Fix Arabic text rendering.
9807
9808 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * LyXAction.C:
9811         * commandtags.h:
9812         * lyxfunc.C: remove message-push/pop
9813
9814         * lyxserver.C:
9815         * lyxfunc.h:
9816         * lyxfunc.C: rationalise some code by removing verboseDispatch
9817           in favour of a bool argument to dispatch()
9818
9819 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * lyx_main.C (init): make sure to read symlinks as absolute paths
9822
9823 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * lyxfunc.h:
9826         * lyxfunc.C: no need for commandshortcut to be a member
9827
9828 2002-07-15  André Pönitz <poenitz@gmx.net>
9829
9830         * converter.C: add support for $$s (scripts from lib/scripts dir)
9831         * lyx_main.C: white space
9832
9833 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * bufferlist.C:
9836         * lyxrc.h:
9837         * lyxrc.C: remove second exit confirmation
9838
9839 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * BufferView.h:
9842         * BufferView.C:
9843         * BufferView2.C:
9844         * BufferView_pimpl.h:
9845         * BufferView_pimpl.C:
9846         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9847
9848 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9849
9850         * MenuBackend.C (expand): add numeric shortcuts to document menu
9851
9852         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9853
9854 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * lyxfont.C (setLyXFamily):
9857         (setLyXSeries):
9858         (setLyXShape):
9859         (setLyXSize):
9860         (setLyXMisc):
9861         (lyxRead):
9862         * debug.C (value):
9863         * buffer.C (asciiParagraph): use ascii_lowercase
9864
9865 2002-07-15  Mike Fabian  <mfabian@suse.de>
9866
9867         * lyxlex_pimpl.C (search_kw):
9868         * lyxlex.C (getLongString):
9869         * converter.h (operator<):
9870         * converter.C (operator<):
9871         * buffer.C (parseSingleLyXformat2Token):
9872         (asciiParagraph):
9873         * ToolbarDefaults.C (read):
9874         * MenuBackend.C (checkShortcuts):
9875         (read):
9876         * LColor.C (getFromGUIName):
9877         (getFromLyXName): use the compare_ascii_no_case instead of
9878         compare_no_case, because in turkish, 'i' is not the lowercase
9879         version of 'I', and thus turkish locale breaks parsing of tags.
9880
9881 2002-07-16  Angus Leeming  <leeming@lyx.org>
9882
9883         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9884         now takes a Buffer const & argument.
9885
9886 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * BufferView.C (resize): check there's a buffer to resize
9889
9890 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * lyxfunc.C: remove dead code
9893
9894         * lyxserver.h:
9895         * lyxserver.C: use lyx_guii::set_read_callback
9896
9897 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9898
9899         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9900         an inset in a RTL paragraph.
9901
9902 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * lyxfunc.C: repaint after a font size update
9905
9906 2002-07-15  André Pönitz <poenitz@gmx.net>
9907
9908         * lyxlength.C: inBP should be able to return negative values
9909
9910 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyxfunc.C: use lyx_gui::update_fonts()
9913
9914 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * lyxfunc.C: use lyx_gui::update_color()
9917
9918 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * bufferlist.C:
9921         * lyxfunc.h:
9922         * lyxfunc.C:
9923         * lyxrc.h:
9924         * lyxrc.C: remove file->new asks for name option, and let
9925           buffer-new take an argument
9926
9927 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * BufferView_pimpl.C: remove unneeded extra repaint()
9930
9931 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * LyXAction.C: allow command-sequence with NoBuffer
9934
9935         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9936
9937 2002-07-10  Angus Leeming  <leeming@lyx.org>
9938
9939         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9940
9941 2002-07-09  Angus Leeming  <leeming@lyx.org>
9942
9943         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9944
9945 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * lengthcommon.h: whitespace
9948
9949         * lyxfunc.C: update scrollbar after goto paragraph
9950
9951         * lyxtext.h: factor out page break drawing, and fix it so
9952           page break/added space paints as selected nicely
9953
9954 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * BufferView_pimpl.C: add FIXMEs, clean up a little
9957
9958 2002-07-09  André Pönitz <poenitz@gmx.net>
9959
9960         * lyxfont.[Ch]: support for wasy symbols
9961
9962 2002-07-08  André Pönitz <poenitz@gmx.net>
9963
9964         * BufferView_pimpl.C: apply John's patch for #93.
9965
9966 2002-07-05  Angus Leeming  <leeming@lyx.org>
9967
9968         * BufferView_pimpl.C (buffer): generate previews if desired.
9969
9970         * LColor.h: add "preview" to the color enum.
9971
9972         * LColor.C (LColor): add a corresponding entry to the items array.
9973
9974         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9975         with this buffer.
9976
9977 2002-07-05  Angus Leeming  <leeming@lyx.org>
9978
9979         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9980         The body of the code is now in the method that is passed an ostream &
9981         rather than a file name.
9982         Pass an additional only_preamble parameter, useful for the forthcoming
9983         preview stuff.
9984
9985 2002-07-03  André Pönitz <poenitz@gmx.net>
9986
9987         * lyxfunc.C: simplify getStatus() a bit for math stuff
9988
9989 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9990
9991         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9992
9993 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * text.C (changeRegionCase): do not change case of all the
9996         document when region ends at paragraph end (bug #461)
9997
9998 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * paragraph.C (startTeXParParams):
10001         (endTeXParParams): add \protect when necessary
10002
10003 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * BufferView_pimpl.C (workAreaExpose): remove warning
10006
10007 2002-06-27  Angus Leeming  <leeming@lyx.org>
10008
10009         * Makefile.am: add lyxlayout_ptr_fwd.h.
10010
10011 2002-06-26  André Pönitz <poenitz@gmx.net>
10012
10013         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10014
10015 2002-06-25  Angus Leeming  <leeming@lyx.org>
10016
10017         * lyxfunc.C (dispatch): Comment out the call to
10018         grfx::GCache::changeDisplay. The method no longer exists now that the
10019         pixmap generation part of the graphics loader has been moved into
10020         InsetGraphics.
10021
10022 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10023
10024         * text2.C: layout as layout
10025
10026         * text.C: layout as layout
10027
10028         * tabular.C (OldFormatRead): layout as layout
10029
10030         * paragraph_pimpl.C (TeXDeeper): layout as layout
10031         (realizeFont): layout as layout
10032
10033         * paragraph.C (writeFile): layout as layout
10034         (validate): layout as layout
10035         (getFont): layout as layout
10036         (getLabelFont): layout as layout
10037         (getLayoutFont): layout as layout
10038         (breakParagraph): layout as layout
10039         (stripLeadingSpaces): layout as layout
10040         (getEndLabel): layout as layout
10041         (getMaxDepthAfter): layout as layout
10042         (applyLayout): layout as layout
10043         (TeXOnePar): layout as layout
10044         (simpleTeXOnePar): layout as layout
10045         (TeXEnvironment): layout as layout
10046         (layout): layout as layout
10047         (layout): layout as layout
10048
10049         * lyxtextclass.C (compare_name): new functor to work with
10050         shared_ptr, layout as layout
10051         (Read): layout as layout
10052         (hasLayout): layout as layout
10053         (operator): layout as layout
10054         (delete_layout): layout as layout
10055         (defaultLayout): layout as layout
10056
10057         * lyxlayout_ptr_fwd.h: new file
10058
10059         * lyxlayout.C (Read): layout as layout
10060
10061         * lyx_cb.C (MenuInsertLabel): layout as layout
10062
10063         * bufferlist.C (newFile): layout as layout
10064
10065         * buffer.C (readLyXformat2): layout as layout
10066         (parseSingleLyXformat2Token): layout as layout
10067         (insertStringAsLines): layout as layout
10068         (asciiParagraph): layout as layout
10069         (latexParagraphs): layout as layout
10070         (makeLinuxDocFile): layout as layout
10071         (simpleLinuxDocOnePar): layout as layout
10072         (makeDocBookFile): layout as layout
10073         (simpleDocBookOnePar): layout as layout
10074         (getLists): layout as layout
10075
10076         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10077
10078         * CutAndPaste.C (cutSelection): layout as layout
10079         (pasteSelection): layout as layout
10080         (SwitchLayoutsBetweenClasses): layout as layout
10081
10082         * BufferView_pimpl.C (Dispatch): layout as layout
10083         (smartQuote): layout as layout
10084
10085         * BufferView2.C (unlockInset): layout as layout
10086
10087 2002-06-24  André Pönitz <poenitz@gmx.net>
10088
10089         * lyxfunc.C: fix #487
10090
10091 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * lyxrc.h:
10094         * lyxrc.C:
10095         * lyxfunc.C: remove display_shortcuts, show_banner
10096
10097 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * Buffer_pimpl.C: oops, update on resize
10100
10101 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10102
10103         * buffer.C:
10104         * converter.C:
10105         * exporter.C:
10106         * lyxfunc.C:
10107         * BufferView.h:
10108         * BufferView.C: use repaint()
10109
10110         * BufferView_pimpl.h:
10111         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10112           as it's a clearer description. Remove superfluous
10113           redraws.
10114
10115 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * text.C: fix bug 488. Not ideal, but getting
10118           getWord() to work properly for the insets that
10119           matter is more difficult ...
10120
10121 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * BufferView_pimpl.C:
10124         * LyXAction.C:
10125         * commandtags.h:
10126         * lyxfunc.C: remove the six million index lyxfuncs to just
10127           one, and DTRT (bug 458)
10128
10129 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView.h:
10132         * BufferView.C:
10133         * BufferView_pimpl.h:
10134         * BufferView_pimpl.C: clean up resize() stuff,
10135           and unnecessary updateScreen()s
10136
10137 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * BufferView.h:
10140         * BufferView.C:
10141         * BufferView_pimpl.h:
10142         * BufferView_pimpl.C:
10143         * lyxfind.h:
10144         * lyxfind.C:
10145         * minibuffer.C: remove focus management of workarea,
10146           not needed. Use screen's greyOut()
10147
10148 2002-06-17  Herbert Voss  <voss@lyx.org>
10149
10150         * converter.C: (convert) do not post a message, when converting
10151         fails, let the calling function decide what to do in this case
10152
10153 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * lyxfunc.C: tidy up a little
10156
10157 2002-06-16    <alstrup@diku.dk>
10158
10159         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10160         Got rid of FORMS_H_LOCATION include. Now we are
10161         GUII.
10162
10163 2002-06-15  LyX Development team  <lyx@rilke>
10164
10165         * buffer.[Ch] (sgmlOpenTag):
10166         (sgmlCloseTag): Added support for avoiding pernicious mixed
10167         content. Return number of lines written.
10168
10169         (makeLinuxDocFile):
10170         (makeDocBookFile): Fixed calls to sgml*Tag.
10171         Simple white space clean.
10172
10173         (simpleDocBookOnePar): Simple white space clean.
10174
10175         * tabular.[Ch] (docBook): Renamed to docbook and got another
10176         argument to related with the pernicious mixed content.
10177
10178         (docbookRow): Fixed calls for docbook inset method.
10179
10180 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10181
10182         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10183         so it's X11 independent.
10184
10185         * kb*.[Ch]: ditto.
10186
10187         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10188
10189 2002-06-15  Lyx Development team  <lyx@electronia>
10190
10191         * intl.h: Renamed getTrans to getTransManager.
10192
10193 2002-06-14  Angus Leeming  <leeming@lyx.org>
10194
10195         * Makefile.am: nuke forgotten stl_string_fwd.h.
10196
10197 2002-06-12  Angus Leeming  <leeming@lyx.org>
10198
10199         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10200
10201 2002-06-13  Angus Leeming  <leeming@lyx.org>
10202
10203         * LaTeX.C:
10204         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10205
10206 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10207
10208         * kbmap.C (getiso): add support for cyrillic and greek
10209
10210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView.h:
10213         * BufferView.C:
10214         * BufferView_pimpl.h:
10215         * BufferView_pimpl.C: move bogus scrolling logic
10216           to xforms
10217
10218 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * lyxfunc.C:
10221         * BufferView_pimpl.C: view->resize() change
10222
10223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * BufferView_pimpl.C: topCursorVisible
10226           prototype change
10227
10228 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * Makefile.am:
10231         * lyx_gui.h:
10232         * lyx_gui.C: move to frontends/
10233
10234         * main.C:
10235         * lyx_main.h:
10236         * lyx_main.C: changes from above
10237
10238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * intl.C:
10241         * intl.h:
10242         * kbmap.C:
10243         * kbsequence.C:
10244         * lyx_cb.C:
10245         * lyx_main.C: minor tidy
10246
10247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * BufferView_pimpl.h:
10250         * BufferView_pimpl.C:
10251         * BufferView.h:
10252         * BufferView.C: make painter() const,
10253           remove dead code
10254
10255         * BufferView2.C: use screen() accessor
10256
10257         * lyx_main.h:
10258         * lyx_main.C: some minor cleanup
10259
10260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * BufferView_pimpl.h:
10263         * BufferView_pimpl.C: remove enter/leaveView,
10264           use workHeight()
10265
10266 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * BufferView.h:
10269         * BufferView.C:
10270         * BufferView2.C:
10271         * BufferView_pimpl.h:
10272         * BufferView_pimpl.C: only construct screen once,
10273           rename
10274
10275         * lyxrc.C: remove pointless comment
10276
10277 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * BufferView.h:
10280         * BufferView.C: remove active() and belowMouse()
10281
10282         * BufferView_pimpl.h:
10283         * BufferView_pimpl.C: use workarea() not workarea_,
10284           and make it use a scoped_ptr instead
10285
10286 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * lyx_gui.C: add debug message on BadWindow
10289
10290 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10291
10292         * sp_spell.C: fdopen is not part of the C++ standard.
10293
10294         * paragraph.C (InsetIterator): use >= instead of ==
10295
10296 2002-06-07  Angus Leeming  <leeming@lyx.org>
10297
10298         Fixes needed to compile with Compaq cxx 6.5.
10299         * BufferView_pimpl.C:
10300         * DepTable.C:
10301         * buffer.C:
10302         * converter.C:
10303         * encoding.C:
10304         * lyx_gui.C:
10305         * lyx_main.C:
10306         * lyxtextclasslist.C:
10307         * minibuffer.C:
10308         * sp_spell.C:
10309         * tabular_funcs.C:
10310         * vc-backend.C:
10311         all c-library variables have been moved into namespace std. Wrap
10312         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10313
10314         * lyxlength.C:
10315         * tabular-old.C:
10316         * tabular.C:
10317         Add a using std::abs declaration.
10318
10319         * kbmap.h (modifier_pair):
10320         * paragraph.h (InsetTable, InsetList):
10321         * lyxfont.h (FontBits):
10322         type definition made public.
10323
10324         * bufferlist.C (emergencyWriteAll): the compiler complains that
10325         there is more than one possible lyx::class_fun template to choose from.
10326         I re-named the void specialisation as lyx::void_class_fun.
10327
10328         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10329
10330         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10331         the compiler is is unable to find tostr in write_attribute.
10332
10333 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10334
10335         * buffer.C (sgmlError): hide #warning
10336
10337 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * xtl/*: get rid of xtl, which is not in use anyway
10340
10341         * LyXAction.C (init):
10342         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10343         were unimplemented xtl experimentation
10344
10345 2002-06-04  André Pönitz <poenitz@gmx.net>
10346
10347         * lyxfunc.C: disable array operation on simple formulae
10348
10349 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * converter.C: constify a bit
10352
10353 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyx_gui.C: check xforms version correctly
10356
10357 2002-04-30  Herbert Voss  <voss@lyx.org>
10358
10359         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10360         "keep" option
10361
10362 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10363
10364         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10365           attempt to register it with a VCS)
10366
10367 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * lyx_main.C (init): honor variables LYX_DIR_13x and
10370         LYX_USERDIR_13x
10371
10372 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * buffer.h:
10375         * buffer.C:
10376         * lyx_main.C: fix a crash on bad command line,
10377           and give a useful exit status on error
10378
10379         * lyxfunc.C (doImport): allow -i lyx to work
10380
10381 2002-03-30  André Pönitz <poenitz@gmx.net>
10382
10383         * lyxfunc.C: mathed font changes
10384
10385 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * LaTeX.C:
10388         * importer.h:
10389         * importer.C:
10390         * lyx_sty.h:
10391         * lyx_sty.C:
10392         * lyxlex.C:
10393         * lyxrow.h:
10394         * lyxtext.h:
10395         * paragraph.h:
10396         * paragraph.C:
10397         * texrow.h:
10398         * texrow.C:
10399         * text.C:
10400         * trans_mgr.h: srcdocs, and some minor cleanups
10401
10402 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10403
10404         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10405         call getFont all the time)
10406
10407 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * switch from SigC signals to boost::signals
10410
10411 2002-05-29  André Pönitz <poenitz@gmx.net>
10412
10413         * paragraph_pimpl.C (getChar): don't call size() too often...
10414
10415 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * paragraph_pimpl.C (insertChar): do not try to update tables when
10418         appending (pos == size())
10419
10420         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10421         in order to reduce drastically the number of comparisons needed to
10422         parse a large document
10423
10424 2002-05-29  André Pönitz <poenitz@gmx.net>
10425
10426         * text.C:
10427         * text2.C:
10428         * lyxtextclass.C:
10429         * sp_pspell.h:
10430         * textclasslist.[Ch]:
10431         * sp_ispell.h: whitespace change
10432
10433 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10436         lyxaction directly now.
10437
10438 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * trans.C:
10441         * lyxfont.C:
10442         * lyxvc.C: remove unused headers
10443
10444 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * Makefile.am:
10447         * buffer.h:
10448         * undostack.h:
10449         * undostack.C:
10450         * undo_funcs.h:
10451         * undo_funcs.C: some cleanups. Use shared_ptr
10452           and a template for the undo stacks.
10453
10454 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.h:
10457         * BufferView_pimpl.C:
10458         * kbmap.h:
10459         * kbmap.C:
10460         * kbsequence.h:
10461         * kbsequence.C:
10462         * lyxfunc.h:
10463         * lyxfunc.C:
10464         * text2.C: use key_state/mouse_state
10465
10466 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10467
10468         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10469         and LSubstring
10470
10471         * chset.C: change include order
10472         (loadFile): use boost regex and get rid of LRegex and LSubstring
10473
10474         * Makefile.am (BOOST_LIBS): new variable
10475         (lyx_LDADD): use it
10476
10477         * LaTeX.C: change include order.
10478         (scanAuxFile): use boost regex and get rid of LRegex and
10479         LSubstring
10480         (deplog): ditto
10481
10482 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * ColorHandler.h:
10485         * ColorHandler.C:
10486         * FontInfo.h:
10487         * FontInfo.C: moved to frontends/xforms/
10488
10489         * FontLoader.h:
10490         * FontLoader.C: moved into frontends for GUIIzation
10491
10492         * Makefile.am:
10493         * lyx_gui.C:
10494         * lyxfont.C:
10495         * lyxfunc.C: changes from above
10496
10497 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * LColor.C: remove spurious X include
10500
10501         * BufferView_pimpl.C:
10502         * Makefile.am:
10503         * font.h:
10504         * font.C:
10505         * text.C:
10506         * text2.C: move font metrics to frontends/
10507
10508 2002-05-24  Juergen Vigna  <jug@sad.it>
10509
10510         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10511         setting the undo_cursor.
10512
10513         * ParagraphParameters.h: include local includes first.
10514
10515 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * BufferView_pimpl.C:
10518         * BufferView_pimpl.h:
10519         * Makefile.am:
10520         * WorkArea.h:
10521         * WorkArea.C:
10522         * screen.C: move WorkArea into frontends/
10523
10524         * lyxscreen.h:
10525         * screen.C:
10526         * text.C:
10527         * BufferView.C:
10528         * BufferView2.C: move LyXScreen into frontends/
10529
10530         * lyxlookup.h:
10531         * lyxlookup.C:
10532         * lyx_gui.C: move lyxlookup into frontends/xforms/
10533
10534 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView2.C:
10537         * BufferView_pimpl.C:
10538         * FontLoader.C:
10539         * LyXView.h:
10540         * LyXView.C:
10541         * Makefile.am:
10542         * WorkArea.C:
10543         * XFormsView.h:
10544         * XFormsView.C:
10545         * buffer.C:
10546         * bufferlist.C:
10547         * bufferview_funcs.C:
10548         * converter.C:
10549         * importer.C:
10550         * lyx_cb.C:
10551         * lyx_gui.C:
10552         * lyx_main.C:
10553         * lyx_find.C:
10554         * lyxfunc.C:
10555         * lyxvc.C:
10556         * minibuffer.C:
10557         * text.C:
10558         * text2.C:
10559         * trans.C:
10560         * vc-backend.C: move LyX/XFormsView into frontends/
10561
10562 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * Makefile.am:
10565         * PainterBase.C:
10566         * PainterBase.h:
10567         * Painter.C:
10568         * Painter.h:
10569         * WorkArea.C:
10570         * WorkArea.h:
10571         * screen.C:
10572         * tabular.C:
10573         * text.C:
10574         * text2.C: move Painter to frontends/
10575
10576 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * buffer.C: comment out some some code that depend upon lyx_format
10579         < 220
10580
10581         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10582         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10583
10584         * buffer.h (NO_COMPABILITY): turn off compability
10585
10586         * ColorHandler.C: include scoped_array.hpp
10587
10588         * font.C: Use more specific smart_ptr header.
10589         * Painter.C: ditto
10590         * gettext.C: ditto
10591         * ShareContainer.h: ditto
10592         * lyx_main.h: ditto
10593         * kbmap.h: ditto
10594         * FontInfo.h: ditto
10595         * BufferView_pimpl.h: ditto
10596         * ColorHandler.h: ditto
10597
10598         * kbmap.C (defkey): change call to shared_ptr::reset
10599
10600 2002-05-21  Juergen Vigna  <jug@sad.it>
10601
10602         * buffer.C (insertErtContents): fix to insert ert asis if it is
10603         non empty. Skip it completely if it contains only whitespaces.
10604
10605 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * BufferView_pimpl.C:
10608         * BufferView2.C: clear selection on paste (bug 393)
10609
10610 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * DepTable.C: include ctime
10613
10614 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10617
10618 2002-05-14  Juergen Vigna  <jug@sad.it>
10619
10620         * text.C (breakParagraph): fixed function to honor the keepempty
10621         layout in the right maner and also to permit the right breaking
10622         algorithm on empty or non empyt keepempty paragraphs.
10623
10624         * paragraph.C (breakParagraph): we have to check also if the par
10625         is really empty (!size()) for isempty otherwise we do the wrong
10626         paragraph break.
10627
10628 2002-05-10  Juergen Vigna  <jug@sad.it>
10629
10630         * buffer.[Ch] : The following are only changes to the ert
10631         compatibility read reading old LaTeX layout and font stuff and
10632         convert it to ERTInsets.
10633
10634         * buffer.h: added isErtInset().
10635
10636         * buffer.C (struct ErtComp): add a fromlayout bool to check
10637         if we're inside a LaTeX layout.
10638         (isErtInset): new helper function.
10639         (insertErtContents): look for other ert insets before this one
10640         and insert the contents there, so that we don't have subsequent
10641         ERT insets with nothing between them. This way we create only one
10642         inset with multiple paragraphs. Also check if we don't insert only
10643         spaces ' ' as they are ignored anyway afterwards in the .tex file
10644         so if we have only spaces we will ignore this latex part in the
10645         new file.
10646         (parseSingleLyXformat2Token \\layout): better compatibility when
10647         reading layout-latex stuff.
10648         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10649         language tag.
10650         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10651         stuff after reading the inset only get the information back from
10652         the stack.
10653
10654 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10655
10656         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10657
10658         * LaTeXFeatures.C (getBabelOptions): New method.
10659
10660 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * BufferView_pimpl.C (Dispatch): work around missing argument for
10663         'layout'
10664
10665 2002-05-08  Juergen Vigna  <jug@sad.it>
10666
10667         * text.C (leftMargin): handle paragraph leftindent.
10668
10669         * paragraph.C (writeFile): write the new \\leftindent tag.
10670         (validate): handle leftindent code.
10671         (TeXEnvironment): handle paragraphleftindent code again.
10672
10673         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10674
10675         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10676         for paragrap_extra indent code and new token \\leftindent.
10677         (latexParagraphs): handle the leftindent as environment.
10678
10679         * ParameterStruct.h: added leftindent support.
10680
10681         * ParagraphParameters.C (leftIndent): added support functions for
10682         the paragraph left indent.
10683
10684         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10685         more appropriate.
10686
10687 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10690         inside insetERT.
10691
10692         * text.C (computeBidiTables): No bidi in insetERT.
10693
10694         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10695         in RTL documents.
10696
10697 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * version.C.in: pre 5
10700
10701 2002-05-02  José Matos  <jamatos@fep.up.pt>
10702         * buffer.C (makeDocBookFile): white space changes, add newline to
10703         command styles.
10704         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10705
10706         * tabular.C (docBook): fix typo.
10707
10708 2002-05-03  Juergen Vigna  <jug@sad.it>
10709
10710         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10711         change in LyXText as we can not be sure it was not freed.
10712         (drawOneRow): remove unused code.
10713
10714         * text.C (drawInset): redo the calculation of the need_break_row as
10715         it could have a row which was already freed.
10716         (draw): look at the return value of drawInset and return false if
10717         it also returned false.
10718         (paintRowText): look at the return value of draw and return false if
10719         it also returned false.
10720
10721         * lyxtext.h: added bool return type to drawInset() and draw() so that
10722         if we have a change in the row so that the rowbreak has to be redone
10723         we abort drawing as it will be called again.
10724
10725 2002-05-02  Juergen Vigna  <jug@sad.it>
10726
10727         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10728         a change in the maintext also if we're inside an inset.
10729         (Dispatch): set the cursor again after a break line and after the
10730         screen has been updated as it could be we're in a different row.
10731
10732         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10733         to set the cursor behind the pargraph with > size().
10734         (setCursor): check also for the same paragraph when checking where
10735         to put the cursor if we have a NFR inset.
10736
10737         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10738         parts of layout read further up as it still was in the wrong
10739         position.
10740
10741 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * screen.C (drawFromTo): change sine fullRebreak always return
10744         true.
10745
10746         * buffer.C (parseSingleLyXformat2Token): reindent some
10747
10748         * BufferView_pimpl.C (update): change since fullRebreak always
10749         return true.
10750         (Dispatch): git rid of the last hardcoded "Standard"s.
10751
10752 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * text2.[Ch] (fullRebreak): make it return void now that we always
10755         returned true.
10756
10757 2002-04-30  Juergen Vigna  <jug@sad.it>
10758
10759         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10760         ert compatibility check for "latex" layout.
10761
10762 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10763
10764         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10765         minipages: use col% instead of p%, and also use the current font.
10766         (makeLaTeXFile): Fix use babel condition.
10767         (parseSingleLyXformat2Token): Correct font when reading old floats.
10768
10769 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10770
10771         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10772         inserting list of floats.
10773
10774 2002-04-25  Herbert Voss  <voss@lyx.org>
10775
10776         * MenuBackend.C (expand): don't add the graphics extensions to the
10777         export menu
10778
10779 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10780
10781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10782         non-existing layout, do not complain if it was the default layout
10783         of the original class (bug #342)
10784
10785 2002-04-24  Juergen Vigna  <jug@sad.it>
10786
10787         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10788         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10789
10790 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10791
10792         * buffer.C (getBibkeyList): If using \bibliography, return the
10793         option field with the reference itself. Enables us to provide natbib
10794         support when using \bibliography.
10795
10796 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10797
10798         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10799
10800         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10801         natbib is provided by the LaTeX class.
10802
10803 2002-04-23  Juergen Vigna  <jug@sad.it>
10804
10805         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10806         Wakeup functions.
10807
10808         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10809
10810 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10813
10814         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10815         ensuremath around textordmasculine, textordfeminine and
10816         textdegree.
10817
10818 2002-04-19  Juergen Vigna  <jug@sad.it>
10819
10820         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10821         reinitializing the buffer otherwise row-dimensions may be wrong.
10822         (update): reset also the selection cursors if they do exits otherwise
10823         their x/y positions may be wrong.
10824
10825         * text2.C (cursorDown): don't enter the inset if we came from a row
10826         above and are one row over the inset.
10827
10828         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10829         really leaving an inset.
10830
10831 2002-04-18  Juergen Vigna  <jug@sad.it>
10832
10833         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10834         of the selected paragraph does not have the selected layout also if
10835         the last one had!
10836
10837         * text2.C (setLayout): fixed bug which did not change last selected
10838         paragraph.
10839
10840         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10841         changed the read and substituted \\end_float with \\end_inset!
10842
10843         * BufferView_pimpl.C (cursorPrevious):
10844         (cursorNext): fixed to make it work with rows heigher than the work
10845         area without moving the cursor only the draw of the row.
10846         (workAreaMotionNotify): fix jumping over high rows.
10847
10848 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10851         Ressler.
10852
10853 2002-04-16  Juergen Vigna  <jug@sad.it>
10854
10855         * text2.C (setCursor): set also the irow().
10856         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10857         (cursorUp):
10858         (cursorDown): support for locking an inset if the x_fix value goes
10859         inside it. That way I can transverse insets too with cursor up/down.
10860
10861         * lyxrow.h: added irow helper function same as other (i) functions.
10862
10863         * BufferView_pimpl.C (cursorPrevious):
10864         (cursorNext): fixed for insets!
10865
10866 2002-04-15  Juergen Vigna  <jug@sad.it>
10867
10868         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10869         position otherwise it is wrong in some cases.
10870
10871         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10872         inside the inset before the call.
10873
10874 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * buffer.[Ch] (getBibkeyList): make it const.
10877
10878 2002-04-12  Juergen Vigna  <jug@sad.it>
10879
10880         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10881
10882         * text2.C (getCursorX): new helper function
10883         (setCursor): compute also ix_
10884         (setCursorFromCoordinates): set also ix.
10885
10886         * lyxcursor.h: added ix_ and helper functions.
10887
10888         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10889
10890         * buffer.C (insertStringAsLines): dont break paragraph if the this
10891         paragraph is inside an inset which does not permit it!
10892
10893         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10894         also with no chars on this paragraph.
10895         (paintRowText): only paint stuff if it's inside the workarea!
10896
10897         * paragraph.C (breakParagraph): honor keepempty flag and break the
10898         paragraph always below not above.
10899
10900         * BufferView2.C (unlockInset): update the paragraph layout on inset
10901         unlock as we changed paragraph in such a case.
10902
10903         * lyxfind.C (LyXFind): clear the former selection if not found!
10904
10905         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10906         again called in insertChar().
10907
10908         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10909         an inset which uses the whole row!
10910         (rightMargin): ditto.
10911         (insertChar): force a rebreak if we inserted an inset!
10912
10913 2002-03-28  Herbert Voss  <voss@lyx.org>
10914
10915         * lyxlength.[Ch]: add inBP() to get the right PS-point
10916         units (BigPoint). With inPixels we have rounding errors
10917
10918 2002-04-11  Juergen Vigna  <jug@sad.it>
10919
10920         * text2.C (setCursorFromCoordinates): set iy to the right value.
10921         (setCursor): add check if row->previous exists!
10922
10923         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10924         an old float_type as this was the case in the old code!
10925
10926         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10927
10928         * BufferView2.C (showLockedInsetCursor): use iy
10929         (fitLockedInsetCursor): ditto
10930
10931         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10932         locked insets as there we have the right value now.
10933
10934         * lyxcursor.C: added iy_ variable and iy functions to set to the
10935         baseline of cursor-y of the locked inset.
10936
10937         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10938         (setCursor): fixed for insets which need a full row.
10939
10940         * text.C (rowLastPrintable): don't ignore the last space when before
10941         an inset which needs a full row.
10942         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10943         as last character of a row when before a inset which needs a full row.
10944
10945 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10946
10947         * version.C.in: update date
10948
10949         * text2.C (fullRebreak): try to always return true and see what
10950         happens...
10951
10952 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10953
10954         * MenuBackend.C (expand): use Floating::listName
10955
10956         * FloatList.C (FloatList): add listName argument to the built-in
10957         floats
10958
10959         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10960         text associated with the float.
10961
10962 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10963
10964         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10965
10966 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * ShareContainer.h: add a couple of missing typenames.
10969
10970 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10971
10972         * lyxrc.C (getDescription): use _() correctly rather than N_().
10973
10974 2002-03-28  Herbert Voss  <voss@lyx.org>
10975
10976         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10977         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10978
10979 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10982         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10983
10984 2002-03-29  Juergen Vigna  <jug@sad.it>
10985
10986         * lyxfunc.C (dispatch): add a missing fitCursor call.
10987
10988         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10989         it was scrolled by a cursor move, so return the bool status.
10990
10991         * BufferView.C (fitCursor): return the bool flag also to the outside
10992         world as this is needed.
10993
10994         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10995
10996         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10997         call the edit() as it is not needed (and wrong) IMO.
10998         (workAreaButtonPress): set the screen_first variable before evt.
10999         unlock the inset as this may change screen_first and then we have
11000         a wrong y position for the click!
11001
11002 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * MenuBackend.C (expand): another translation that I missed
11005
11006 2002-03-28  Juergen Vigna  <jug@sad.it>
11007
11008         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11009
11010         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11011
11012 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11015
11016         * MenuBackend.C (expand): fix export/view/update when there is no
11017         document open.
11018
11019 2002-03-27  Herbert Voss  <voss@lyx.org>
11020
11021         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11022         and text%
11023
11024 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * bufferview_funcs.C (currentState): only show paragraph number
11027         for is DEVEL_VERSION is set.
11028
11029         * lyxfunc.C (dispatch): put warning in INFO channel
11030
11031         * MenuBackend.C (expand): translate the name of floats
11032
11033         * FloatList.C (FloatList): mark the float names for translation
11034
11035         * converter.C (convert): use LibScriptSearch
11036
11037 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * MenuBackend.C (defaults): fix default menu (we might as well get
11040         rid of it...)
11041
11042 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11045         directory.
11046
11047 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * lyxvc.C: reorder includes.
11050
11051 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11054           properly
11055
11056 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * CutAndPaste.C: change layouts earlier on paste
11059           to avoid crashing when calling getFont()
11060
11061 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11062
11063         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11064         irritating #error.
11065
11066 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * WorkArea.C: remove 'Pending' debug message.
11069
11070         * most files: ws cleanup
11071
11072         * buffer.[Ch]: ws changes
11073
11074         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11075
11076 2002-03-21  Juergen Vigna  <jug@sad.it>
11077
11078         * tabular.C (SetMultiColumn): collapse also the contents of the
11079         cells and set the last border right. Added a Buffer const * param.
11080
11081 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11084         linking or not.
11085
11086 2002-03-19  Juergen Vigna  <jug@sad.it>
11087
11088         * text2.C (clearSelection): reset also xsel_cache.
11089
11090         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11091         where it needs to be called (John tells us to do so too :)
11092         (selectionLost): reset sel_cache.
11093
11094         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11095
11096 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * text2.C (setCursorIntern): put debuging code in INSETS channel
11099
11100 2002-03-19  André Pönitz <poenitz@gmx.net>
11101
11102         * lyxfunc.C: tiny whitespace change
11103
11104 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * ToolbarDefaults.C (init):
11107         * LyXAction.C (init):
11108         * commandtags.h:
11109         * BufferView_pimpl.C (Dispatch):
11110         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11111
11112 2002-03-19  Allan Rae  <rae@lyx.org>
11113
11114         * exporter.C (Export): removeAutoInsets before doing anything else.
11115         While I've just introduced a dependency on BufferView this really is
11116         the best place to clean the buffer otherwise you need to cleanup in
11117         a dozen places before calling export or cleanup in a dozen functions
11118         that export calls.
11119
11120         * converter.C (runLaTeX):
11121         (scanLog): Better handling of removeAutoInsets and screen updates.
11122
11123         * lyxfunc.C (dispatch): small whitespace changes
11124
11125 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * WorkArea.C (C_WorkAreaEvent): return a value.
11128         (event_cb): return 1 if we handled the event, 0 otherwise.
11129
11130         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11131
11132 2002-03-18  Juergen Vigna  <jug@sad.it>
11133
11134         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11135         (GetAdditionalWidth): ditto.
11136         (RightLine): ditto.
11137         (LeftLine): ditto.
11138
11139         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11140         inset if we're there actually (probably not used right now but this
11141         is the direction to go for unifying code).
11142         (paste): disable code to clear the selection.
11143
11144         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11145         inside an InsetText and move the check further up as it is in the
11146         wrong place.
11147
11148         * text2.C (pasteSelection): set a selection over the pasted text.
11149
11150 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11151
11152         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11153         and libgraphics to build on Cygwin.
11154
11155 2002-03-15  Juergen Vigna  <jug@sad.it>
11156
11157         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11158         inserting an Inset into the paragraph. I know this is not the best
11159         fix but we already use current_view in CutAndPaste so we will remove
11160         all of it's using at the same time.
11161
11162         * buffer.C (sgmlError): deactivated function till it is rewritten in
11163         the right mode, now it can create problems.
11164
11165         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11166         before accessing it.
11167
11168 2002-03-14  Juergen Vigna  <jug@sad.it>
11169
11170         * undo_funcs.C (textHandleUndo): do the right thing when updating
11171         the inset after the undo/redo.
11172
11173         * text2.C (setCursor): just some testcode for #44 not ready yet.
11174
11175         * undo_funcs.C (textHandleUndo): set the next() and previous()
11176         pointers of the paragraph to 0 before deleting otherwise we have
11177         problems with the Paragraph::[destructor].
11178
11179         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11180         on a paragraph insertion.
11181
11182 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * buffer.C (asciiParagraph): use += operator for char append to
11185         string.
11186
11187         * paragraph.C (getFontSettings): compare >= not just >
11188         (highestFontInRange): ditto
11189         (setFont): ditto
11190
11191 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * paragraph.C: change several algorithm to be more appripriate for
11194         the problem domain. This is lookip in FontList and in the InsetList.
11195
11196 2002-03-13  André Pönitz <poenitz@gmx.net>
11197
11198         * commandtags.h:
11199         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11200
11201 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * commandtags.h:
11204         * LyXAction.C:
11205         * lyxfunc.C:
11206         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11207
11208 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * Painter.C (display): anon helper function, adjust code for this
11211         change.
11212         (pixmap): remove function.
11213
11214         * Painter.h: remove private display variable.
11215
11216         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11217
11218 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11219
11220         * WorkArea.[Ch]: remove figinset_canvas cruft.
11221
11222 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * lyxtextclass.C (operator): add one item cache optimization.
11225
11226         * bufferlist.h: doxy changes
11227
11228         * bufferlist.C: ws changes
11229
11230         * DepTable.[Ch] (ext_exist): place const in the right spot.
11231
11232         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11233         call resizeInsets.
11234         (workAreaExpose): call resizeInsets when the with BufferView changes.
11235         (Dispatch): adjust for protectedBlank removal
11236         (specialChar): call updateInset if the insert went ok.
11237
11238         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11239         specialChar instead.
11240
11241         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11242
11243         * BufferView.h: doxy change
11244
11245         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11246
11247         * lyxtextclass.C (operator[]): remove non-const version
11248         (defaultLayout): remove non-const version
11249
11250 2002-03-12  Juergen Vigna  <jug@sad.it>
11251
11252         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11253         did resize the LyXText too.
11254
11255         * buffer.C (readLyXformat2): set layout information on newly allocated
11256         paragraphs.
11257
11258         * tabular.C (OldFormatRead): set layout information on the paragraph.
11259
11260 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11261
11262         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11263
11264 2002-03-11  Juergen Vigna  <jug@sad.it>
11265
11266         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11267         plainly wrong.
11268         (resizeCurrentBuffer): force also the insets to resize themselfes.
11269         (moveCursorUpdate): fixed up for InsetText.
11270
11271 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11272
11273         * commandtags.h:
11274         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11275         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11276         value of Dialogs::tooltipsEnabled().
11277         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11278
11279 2002-03-08  Juergen Vigna  <jug@sad.it>
11280
11281         * BufferView_pimpl.C (updateInset): update inset inside inset also
11282         if it isn't inside theLockingInset().
11283
11284 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * buffer.C (asciiParagraph): redo some of the word and line length
11287         handling.
11288         (getLists): look for Caption instead of caption.
11289
11290 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * buffer.C (Buffer): initialize niceFile to true
11293         (makeLaTeXFile):
11294         (makeLinuxDocFile):
11295         (makeDocBookFile): make sure niceFile is true on exit
11296
11297 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11300
11301 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * LyXSendto.C: remove.
11304         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11305         * lyx_gui.C: remove now-redundant comment.
11306         * ColorHandler.h: remove forward declaration of class WorkArea.
11307         * lyxfunc.C: remove #include "WorkArea.h".
11308
11309 2002-03-07  Juergen Vigna  <jug@sad.it>
11310
11311         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11312         got moved away with the DEPM and also set the inset_owner always
11313         right which before could have been omitted.
11314
11315 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11318         wanted layout is not found.
11319
11320 2002-03-07  Juergen Vigna  <jug@sad.it>
11321
11322         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11323
11324 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * paragraph.C (breakParagraph): use default layout not layout of
11327         prev paragraph.
11328         (Paragraph): clear ParagraphParameters.
11329
11330 2002-03-06  Juergen Vigna  <jug@sad.it>
11331
11332         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11333         otherwise it would not be a valid lenght. Fixed a special case in
11334         the minipage compatibility read where we end the document with a
11335         minipage.
11336
11337         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11338         was set as it could be 0 for InsetTexts first entry.
11339
11340 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11341
11342         * paragraph.C (writeFile): if layout is empty write out
11343         defaultLayoutName().
11344
11345         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11346         file without named layout we set layout to defaultLayoutName().
11347
11348 2002-03-06  Juergen Vigna  <jug@sad.it>
11349
11350         * CutAndPaste.C (copySelection): set layout for new paragraph.
11351
11352         * text.C (prepareToPrint): leave ERT inset left aligned
11353         (leftMargin): don't indent paragraphs inside ERT insets
11354
11355 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * paragraph.C (breakParagraph): dont call clear do the work manually
11358
11359         * paragraph.[Ch] (clear): remove function
11360
11361 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * paragraph.C (Paragraph): dont call clear, the work has already
11364         been done.
11365
11366         * lyxtextclass.C (operator): assert if n is empty
11367
11368         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11369         work manually instead.
11370
11371 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * BufferView_pimpl.C: protect selectionLost against text == 0
11374
11375 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * text.C (breakParagraph): fix a setting layout to '0' problem.
11378
11379 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11380
11381         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11382         final location of file, for the included files, and graphics.
11383
11384 2002-03-05  Juergen Vigna  <jug@sad.it>
11385
11386         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11387
11388 2002-03-04  Juergen Vigna  <jug@sad.it>
11389
11390         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11391
11392         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11393         last column of multicolumn cells.
11394         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11395
11396 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11397
11398         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11399         file if it doesn't go to a temporary file.
11400
11401         * buffer.C (sgmlOpenTag):
11402         (sgmlCloseTag):  remove extra newline insertion.
11403
11404 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * text.C (getRowNearY): comment out debug msg
11407
11408 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * text2.C: first -> first_y
11411
11412         * text.C (getRowNearY): add some attemts at a possible
11413         optimization, not working.
11414
11415         * tabular.[Ch]: add BufferParams to several function so that newly
11416         created paragraph can be initialized to he default layotu for the
11417         buffers textclass.
11418
11419         * tabular-old.C (ReadOld): add buf->params to call of Init
11420
11421         * screen.C: rename text->first to text->first_y
11422
11423         * paragraph.C (breakParagraph): always set layout in the broken
11424         paragraph
11425
11426         * lyxtextclass.C (Read): remove lowercase
11427         (hasLayout): ditto
11428         (operator): ditto
11429         (delete_layout): ditto
11430
11431         * lyxtext.h: rename first -> first_y
11432
11433         * lyxlayout.C (Read): remove lowercase
11434         (name): ditto
11435         (setName): ditto
11436         (obsoleted_by): ditto
11437
11438         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11439
11440         * buffer.C (insertErtContents): add params are to InsetERT
11441         (parseSingleLyXformat2Token): add code to check if a paragraphs
11442         layout really exist.
11443         (parseSingleLyXformat2Token): add params to several inset
11444         constructors
11445         (asciiParagraph): remove lowercase, do the layout comparisons with
11446         no_case
11447
11448         * BufferView_pimpl.C (cursorNext): first -> first_y
11449         (resizeCurrentBuffer): first -> first_y
11450         (updateScrollbar): first -> first_y
11451         (scrollCB): first -> first_y
11452         (workAreaMotionNotify): first -> first_y
11453         (workAreaButtonPress): first -> first_y
11454         (checkInsetHit): first -> first_y
11455         (cursorPrevious): first -> first_y
11456         (cursorNext): first -> first_y
11457         (Dispatch): add buffer_->params to severl inset contructors
11458
11459 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * lyxlayout.C (Read): remove some debug info that I forgot.
11462
11463         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11464         clean up the code slightly.
11465         (makeLinuxDocFile): ditto
11466         (makeDocBookFile): ditto
11467
11468         * text2.C: layout as string
11469
11470         * text.C: layout as string
11471
11472         * paragraph_pimpl.C: layout as string
11473
11474         * paragraph.[Ch]: layout as string
11475
11476         * lyxtextclasslist.[Ch]: layout as string
11477
11478         * lyxtextclass.[Ch]: layout as string
11479
11480         * lyxtext.h: layout as string
11481
11482         * lyxlayout.[Ch]: layout as string
11483
11484         * lyx_cb.C: layout as string
11485
11486         * bufferview_funcs.C: layout as string
11487
11488         * bufferparams.C: layout as string
11489
11490         * buffer.C: layout as string
11491
11492         * LyXView.[Ch]: layout as string
11493
11494         * LaTeXFeatures.[Ch]: layout as string
11495
11496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11497
11498         * BufferView_pimpl.C: change current_layout to string, remove
11499         lyx::layout_type.
11500         (Dispatch):
11501         (smartQuote):
11502         (insertInset):
11503         (workAreaButtonRelease): layout as string
11504
11505         * BufferView2.C (unlockInset): adjust
11506
11507         * vspace.C (asLatexCommand): use an explict temp variable.
11508
11509 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11510
11511         * Makefile.am: use FRONTEND_*
11512
11513 2002-03-01  Juergen Vigna  <jug@sad.it>
11514
11515         * tabular.C (SetWidthOfMulticolCell): changed to something better
11516         I hope but still work in progress.
11517         (recalculateMulticolumnsOfColumn): renamed function from
11518         recalculateMulticolCells as it is more appropriate now.
11519         (SetWidthOfCell): calculate multicols better.
11520
11521 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11524
11525         * lyxfunc.C (processKeySym): print sequence also if it is
11526         `deleted' (complete)
11527
11528         * kbsequence.C (print): print sequence even if it is deleted
11529         (complete would be a better word, actually).
11530
11531         * lyxfunc.C (dispatch): print complete options after a prefix key
11532
11533         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11534
11535 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11536
11537         * text2.C (setCharFont): eliminate setCharFont code duplication.
11538
11539 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11542         LFUN_TABULAR_FEATURE (bug #177)
11543
11544 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11545
11546         * Makefile.am: remove figure.h
11547
11548 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11549
11550         * Bufferview_pimpl.C:
11551         * CutAndPasteC:
11552         * LaTeX.C:
11553         * LyXSendto.C:
11554         * buffer.C:
11555         * bufferlist.C:
11556         * converter.C:
11557         * language.C:
11558         * lyxfunc.C:
11559         * lyxvc.C:
11560         * paragraph.C:
11561         * text.C:
11562         * text2.C: remove #include "lyx_gui_misc.h".
11563
11564         * LaTeX.C: added #include <cstdio>
11565
11566 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11569         that the paragraph following this one can have.
11570
11571         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11572
11573         * vspace.C (asLatexCommand): fix bogus gcc warning
11574
11575         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11576
11577 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11578
11579         * text2.C (setLayout): get rid of redundant code
11580
11581 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11582
11583         * text2.C (incDepth): make sure depth cannot be increased beyond
11584         reasonable values.
11585
11586 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11587
11588         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11589         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11590
11591         * PainterBase.h (image):
11592         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11593         a LyXImage const *.
11594
11595 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * BufferView.C:
11598         * BufferView.h:
11599         * BufferView_pimpl.C:
11600         * BufferView_pimpl.h:
11601         * LaTeXFeatures.C:
11602         * LyXAction.C:
11603         * LyXView.C:
11604         * Makefile.am:
11605         * UpdateList.h:
11606         * UpdateList.C:
11607         * buffer.C:
11608         * figure.h:
11609         * figureForm.C:
11610         * figureForm.h:
11611         * figure_form.C:
11612         * figure_form.h:
11613         * lyx_cb.C:
11614         * lyx_gui.C:
11615         * lyx_gui_misc.C:
11616         * lyxfunc.C:
11617         * sp_base.h:
11618         * sp_ispell.h:
11619         * sp_pspell.h:
11620         * sp_spell.C: remove fig inset, and the crap house of
11621           cards that follows it
11622
11623 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * Makefile.am:
11626         * lyxserver.C:
11627         * os2_defines.h:
11628         * os2_errortable.h:
11629         * nt_defines.h: move .h into support/
11630
11631         * vms_defines.h: remove
11632
11633         * WorkArea.C: add space in debug output
11634
11635         * text2.C:
11636         * paragraph.C:
11637         * buffer.C: add WITH_WARNINGS
11638
11639         * vc-backend.h:
11640         * vc-backend.C:
11641         * bufferlist.C: s/retrive/retrieve/, add docs
11642
11643         * vspace.h:
11644         * vspace.C:
11645         * kbmap.h:
11646         * lyxlength.h:
11647         * lyxgluelength.h:
11648         * length_common.h:
11649         * chset.h:
11650         * chset.C: add docs
11651
11652         * lyxgui.C: add ID to X error handler
11653
11654         * lyxtestclass.c: fix typo
11655
11656 2002-02-26  Juergen Vigna  <jug@sad.it>
11657
11658         * tabular_funcs.C (write_attribute): changed so that some default
11659         attributes are not written at all.
11660         (getTokenValue): set default values before trying to read the
11661         value so we have the return value always set as default if we don't
11662         find the token we search for.
11663
11664         * tabular.C (Write): write bools as bools not as strings!
11665
11666 2002-02-22  Juergen Vigna  <jug@sad.it>
11667
11668         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11669         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11670
11671         * text.C (leftMargin): don't add an indent for paragraphs inside
11672         tabular cells (fix #208).
11673
11674 2002-02-21  José Matos  <jamatos@fep.up.pt>
11675
11676         * tabular.C (docBook): fixed support for long tables.
11677
11678 2002-02-20  Juergen Vigna  <jug@sad.it>
11679
11680         * text2.C (getFont): get the drawing font of the Inset if this
11681         paragraph is inside an inset (only important for InsetERT for now).
11682
11683         * buffer.C (insertErtContents): use new lanugage params in ERT
11684         constructor.
11685
11686         * CutAndPaste.C: commenting out seemingly uneeded code.
11687
11688 2002-02-19  Allan Rae  <rae@lyx.org>
11689
11690         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11691         Iterators might be simple to use but they also get invalidated.
11692         (removeAutoInsets): renamed saved cursor tracking variables and added
11693         some comments to clarify what everything does.
11694
11695 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         * Chktex.C:
11698         * LaTeX.C:
11699         * LyXSendto.C:
11700         * converter.C:
11701         * lyx_cb.C:
11702         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11703         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11704
11705         * lyxfunc.C:
11706         * vc-backend.h: remove #include "support/syscall.h"
11707
11708         * LaTeX.C:
11709         * LyXSendto.C:
11710         * converter.C: rearrange #includes in Lars' approved fashion.
11711
11712         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11713         forward declare class Timeout in the header file.
11714
11715         * XFormsView.C: changes due to the above.
11716
11717         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11718         similar to LyXView.
11719
11720         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11721         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11722
11723 2002-02-18  José Matos  <jamatos@fep.up.pt>
11724
11725         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11726         insets contents.
11727
11728 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11729
11730         * a lot of small ws changes
11731         * add a lot of using std::XXX
11732         * use std construcs some places where approp.
11733         * use some exisint stuff from lyxfunctional where approp.
11734         * Make file changes to use partial linking (lets test this now...)
11735
11736 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11737
11738         * Chktex.C:
11739         * buffer.C:
11740         remove #include "support/syscontr.h" as it's redundant. Always has been.
11741
11742         * Chktex.C:
11743         * LaTeX.C:
11744         * LyXSendto.C:
11745         * converter.C:
11746         * lyx_cb.C:
11747         * vc-backend.C:
11748         change Systemcalls::System to Systemcalls::Wait and
11749         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11750         No change of functionality, just reflects the stripped down Systemcalls
11751         class.
11752
11753 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11754
11755         * debug.[Ch]: add a GRAPHICS type to the enum.
11756
11757 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11758
11759         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11760
11761         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11762         there is an inset.
11763
11764 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11765
11766         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11767         match the changes below.
11768
11769         * text2.C (toggleInset): if there is not editable inset at cursor
11770         position, try to see if cursor is _inside_ a collapsable inset
11771         and close it.
11772
11773 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11776         document menu has a nice checkbox
11777
11778 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * lyxlength.C (asLatexString): change PW to output as percent of
11781         \textwidth.
11782
11783         * lengthcommon.C: change '%' to 't%'
11784
11785         * lyxfunc.C (dispatch): a few comments from Martin
11786
11787 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * WorkArea.h:
11790         * WorkArea.C:
11791         * BufferView_pimpl.h:
11792         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11793           the X selection.
11794
11795 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * vspace.C (inPixels): fix compiler warning
11798
11799 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * lyxfunc.C (getStatus): fix status message for disabled commands.
11802
11803 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * BufferView_pimpl.C: fix crash on close buffer
11806         during selection (#227)
11807
11808 2002-01-27  Herbert Voss  <voss@lyx.org>
11809
11810         * buffer.C: link old Figure to new graphic inset
11811
11812 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11813
11814         * FontLoader.C (getFontinfo): Change the latex font names in order
11815         to match the names of type1inst.
11816
11817 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11820
11821         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11822         (extchanged): ditto
11823         (ext_exist): ditto
11824         (remove_files_with_extension): ditto
11825         (remove_file): ditto
11826         (write): ditto
11827
11828         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11829         document is smaller than the work area height. Do not initialize
11830         static variables to 0.
11831
11832 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11835
11836         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11837         LFUN_LAYOUT_PARAGRAPHS.
11838
11839         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11840         tabular. It is possible to provide a possible cell, which will
11841         typically be the actcell from the corresponding insettabular
11842
11843         * lyxfunc.C (getStatus): small cleanup; disable
11844         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11845         true
11846
11847 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11850
11851         * paragraph.C (startTeXParParams):
11852         (endTeXParParams): new methods. The LaTeX code to
11853         start/end paragraph formatting
11854         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11855         empty (fixes bug #200)
11856
11857         * vspace.C (inPixels): adapt to the change below
11858         (inPixels): [later] more cleanups (remove unused variables)
11859
11860         * lyxlength.C (inPixels): change to use a width and a height as
11861         parameter.
11862
11863 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11864
11865         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11866         Replaced with \paperwidth
11867
11868         * DepTable.C (insert): add std:: qualifier
11869
11870 2002-01-18  Allan Rae  <rae@lyx.org>
11871
11872         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11873         updated also?
11874
11875         * text.C (drawInset): Turned out I didn't know enough about how
11876         rebreaking worked.  This fixes most of the redraw problems.  I see
11877         an occasional cursor trail when a line is broken now and the cursor
11878         placement can seem out by a few pixels also after a rebreak.
11879
11880 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * buffer.C (parseSingleLyXformat2Token): update because minipage
11883         width is now a LyXLength
11884
11885         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11886
11887         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11888         math insets
11889
11890 2002-01-17  Juergen Vigna  <jug@sad.it>
11891
11892         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11893
11894         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11895         is set correctly and the inset is updated correctly.
11896
11897 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11900         the beginning of the loop.
11901
11902 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyxrc.C: improve help for use_scalable_fonts
11905
11906 2002-01-17  Allan Rae  <rae@lyx.org>
11907
11908         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11909
11910 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11913         make sure to set their inset_owner to the right value (bug #171)
11914
11915 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11916
11917         * DepTable.h
11918         * DepTable.C: Implement mtime checking to reduce time spent doing
11919         CRCs.
11920
11921 2002-01-16  Juergen Vigna  <jug@sad.it>
11922
11923         * tabular.C (GetAdditionalHeight): one of error fixed.
11924
11925         * lyxrc.C (output): small fix in writing use_pspell.
11926
11927 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * sp_base.h: #include LString.h
11930
11931 2002-01-16  Allan Rae  <rae@lyx.org>
11932
11933         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11934         Can someone check this please?
11935
11936         * text.C (drawInset): It was possible that p.row would be removed by
11937         breakAgainOneRow upsetting a few other settings.  There may be another
11938         small tweak possible by setting need_break_row = 0 when p.row has been
11939         removed but I don't know enough about the logic here.
11940
11941 2002-01-15  Allan Rae  <rae@lyx.org>
11942
11943         * text.C (insertChar): removed conditional truism.
11944
11945         * BufferView2.C (removeAutoInsets): More tweaks.
11946         cur_par_prev could be a stray pointer.  Check for trailing empty line
11947         in case last line was cur_par and only had an error inset on it.
11948
11949 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11952         absolute
11953
11954         * vc-backend.C (most methods):
11955         * exporter.C (Export):
11956         * converter.C (convert):
11957         (runLaTeX):
11958         * LyXSendto.C (SendtoApplyCB):
11959         * lyxfunc.C (dispatch):
11960         (menuNew):
11961         (open):
11962         (doImport):
11963         * lyx_cb.C (AutoSave):
11964         (InsertAsciiFile):
11965         * BufferView_pimpl.C (MenuInsertLyXFile):
11966         * buffer.C (runChktex): use Buffer::filePath().
11967
11968         * buffer.h: rename filename to filename_; rename filepath to
11969         filepath_ and make it private
11970         (filePath): new method
11971
11972         * buffer.C (writeFile): use fileName()
11973         (getLatexName):
11974
11975         * lyx_main.C (init): fix starting  of LyX when the binary is a
11976         link from so,ewhere else.
11977
11978         * minibuffer.C: include <cctype> for isprint
11979
11980 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11981
11982         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11983         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11984         name clash with InsetCollapsable's width function.
11985
11986 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * lastfiles.C: include <iterator>
11989
11990 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11993         std::count.
11994
11995         * buffer.C (makeLaTeXFile): ditto.
11996         Also make loop operation more transparent.
11997
11998 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * ToolbarDefaults.C: remove trailing comma closing namespace.
12001
12002         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12003
12004         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12005         as in WorkArea.
12006
12007         * trans.C (Load): comment out unused variable, allowed.
12008
12009 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * minibuffer.[Ch] (append_char): new method to recieve input from the
12012         drop-down completion browser. If a key was pressed, then recieve this
12013         char and append it to the existing string.
12014         (peek_event): modify the positioning data passed to the completion
12015         browser so that it can be placed above the minibuffer rather than below.
12016 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * LyXAction.C (init): alloe error-next for readonly documents.
12019
12020         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12021         count.
12022
12023 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * bufferlist.C (readFile): create the buffer _after_ checking that
12026         the file exists.
12027
12028         * lyxfunc.C (verboseDispatch): fix handling of arguments
12029
12030         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12031
12032         * lyxrc.C: use string::erase() instead of initializing to "".
12033
12034
12035 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView_pimpl.h:
12038         * BufferView_pimpl.C:
12039         * WorkArea.h:
12040         * WorkArea.C:
12041         * text2.C: tell X when we have made a selection for copying
12042
12043 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12044
12045         * BufferView_pimpl.C (MenuInsertLyXFile):
12046         * lyxfunc.C (menuNew):
12047         (open):
12048         (doImport): add shortcuts to directory buttons
12049
12050         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12051         open a float)
12052
12053         * lyxfunc.C (setStatusMessage):
12054         (getStatusMessage): new methods
12055         (getStatus):use setStatusMessage instead of setErrorMessage
12056         (dispatch): when function is disabled, set error message here
12057         [instead of in getStatus previously]
12058
12059         * BufferView_pimpl.C (workAreaButtonRelease): update
12060         toolbar/menubar here too.
12061
12062 2002-01-13  Allan Rae  <rae@lyx.org>
12063
12064         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12065         Now seems indestructible.  Remaining task is to audit all other
12066         code affected by deleteEmptyParagraphMechanism.  One small quirk
12067         left is that an empty document with an error in the preamble can
12068         be made to report an error but no error box appears.  I don't know
12069         where it goes.
12070         (removeAutoInsets): Improved comments.
12071
12072 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * Thesaurus.h:
12075         * Thesaurus.C: update for Aiksaurus 0.14
12076
12077 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * text2.C (firstParagraph): removed member function, all uses
12080         replaces with ownerParagraph
12081         (redoParagraphs): here
12082         (updateInset): here
12083         (toggleAppendix): here
12084         * BufferView2.C (insertErrors): here
12085         (setCursorFromRow): here
12086
12087 2002-01-13  Allan Rae  <rae@lyx.org>
12088
12089         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12090         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12091         There is still a way to segfault this although you may have to do this
12092         multiple times: Have an InsetERT with an unknown command in it.
12093         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12094         <down-arrow>, <Enter> again, View->DVI, BANG!
12095
12096         * text2.C (setCursor):
12097         (deleteEmptyParagraphMechanism):
12098         * lyxtext.h (setCursor):
12099         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12100         Making use of the return value may help fix other bugs.
12101
12102 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12105
12106         * LyXView.C (updateMenubar): call MenuBar::update here
12107         (updateToolbar): but not here
12108         (showState): do not update toolbar/menubar
12109
12110         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12111         should need to care about that.
12112
12113         * lyxfunc.C (verboseDispatch): simplify a bit
12114         (getStatus): have a version which takes a pseudoaction, and
12115         another which requires a (kb_action,string).
12116
12117         * LyXAction.C (retrieveActionArg): make it work also when action
12118         is not a pseudo-action.
12119         (getActionName): simplify a bit
12120         (helpText):
12121
12122 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * lyxfunc.C (verboseDispatch): new families of methods with
12125         several ways to specify a command and a bool to indicate whether
12126         the command name and shortcut should be displayed in minibuffer
12127         (eventually, we could extend that to a finer bitmask like
12128         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12129         (dispatch): the pristine dispatch command which just, well,
12130         dispatchs! Note it still sets its result to minibuffer; I'm not
12131         sure we want that.
12132
12133         * lyxfunc.h: remove setHintMessage
12134
12135         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12136
12137 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * BufferView_pimpl.C (specialChar): delete new inset if we have
12140         not been able to insert it.
12141
12142         * kbmap.C: revert to using int instead of kb_action, since all we
12143         are dealing with is pseudo-actions.
12144
12145         * LyXAction.C (searchActionArg): change to return int instead of
12146         kb_action, since the result is a pseudoaction.
12147
12148 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * buffer.C (insertErtContents): Fix (partially) the font bug.
12151
12152 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12153
12154         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12155         as the other one is broken on my machine!
12156
12157 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12158
12159         * commandtags.h:
12160         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12161
12162 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12165         reflect their actual use. Provide compatibility code for older lyxrc
12166         files.
12167
12168         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12169         FL_NORMAL_STYLE.
12170         change names of popup font variables in line with the changes to lyxrc.C
12171
12172 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * buffer.C (asciiParagraph): avoid outputing a word twice after
12175         an inset.
12176
12177         * lyxrc.C (getDescription): document that document_path and
12178         template_path can be empty.
12179
12180 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * LaTeXFeatures.C (getMacros):
12183         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12184
12185         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12186
12187         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12188         getPackages.
12189         (getPackages): rename feature "floats" to "float". Use an array to
12190         iterate over 'simple' features (i.e. just a \usepackage). Add
12191         handling of "amsmath" (renamed from "amsstyle").
12192
12193 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12194
12195         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12196         features list.
12197
12198 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12199
12200         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12201         FuncStaus::FuncStatus & FuncStaus::some_method().
12202
12203 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12204
12205         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12206         of the func_satus stuff. Edited and massaged in various ways by
12207         JMarc.
12208
12209         * lyxfunc.C (getStatus): use FuncStatus
12210
12211 2002-01-08  Juergen Vigna  <jug@sad.it>
12212
12213         * text.C (nextBreakPoint): use function Inset::isChar().
12214
12215         * paragraph.C (TeXOnePar): use function
12216         Inset::forceDefaultParagraphs.
12217
12218         * buffer.C (latexParagraphs): use function
12219         Inset::forceDefaultParagraphs.
12220
12221 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * lyx_gui.C (init): set the style of the menu popups to
12224         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12225
12226 2002-01-07  Juergen Vigna  <jug@sad.it>
12227
12228         * text.C (setHeightOfRow): small fix
12229         (prepareToPrint): don't look at alignment if we don't have the place
12230         for doing it.
12231
12232 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * box.C: New file. Move the Box methods and functions out of box.h,
12235         following Lars' suggestion.
12236
12237 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * box.h: #include "support/LOstream.h", needed for inlined function.
12240
12241         * lyxtextclass.C:
12242         * lyxtextclasslist.C: added some using std declarations.
12243
12244 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * box.h: make signed dimensions to allow insets wider than
12247           the screen (bug #162)
12248
12249         * BufferView_pimpl.C: add some insetHit debug
12250
12251 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * vc-backend.C: add FIXME
12254
12255 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12256
12257         * lyxfunc.C (getStatus): enable code for showing math font status
12258         in toolbar/menu.
12259
12260 2002-01-07  Juergen Vigna  <jug@sad.it>
12261
12262         * text.C (nextBreakPoint): removed debug output not needed anymore.
12263
12264 2002-01-06  Juergen Vigna  <jug@sad.it>
12265
12266         * text.C (nextBreakPoint): fixed up this function we had this bug
12267         since ever but now hopefully we break row better.
12268         (insertChar): we have to check if an inset is the next char as it
12269         could now happen that a large inset is causing a break.
12270
12271 2002-01-05  Juergen Vigna  <jug@sad.it>
12272
12273         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12274         if it doesn't like to be drawed.
12275
12276 2002-01-04  Juergen Vigna  <jug@sad.it>
12277
12278         * BufferView2.C (lockInset): forgot to set a cursor.
12279
12280         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12281
12282 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12283
12284         * FormMathsPanel.C:
12285         * FormMathsPanel.h
12286         * MathsSymbols.C:
12287         * form_maths_panel.C:
12288         * form_maths_panel.h:
12289         * form_maths_panel.fd: implemented sub- and super- buttons in math
12290         panel.
12291
12292         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12293         (or ^ space) to be used as in TeX (req'd by André).
12294
12295         * lyxfunc.C: Allow ^ and _ again to be used both as
12296         super/subscript (mathed) and as themselves (in text).
12297
12298 2002-01-03  Allan Rae  <rae@lyx.org>
12299
12300         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12301         "LyX" or the filename of the current buffer if it has one.  This is a
12302         modified form of John Levon's patch.
12303
12304         * XFormsView.C (setWindowTitle): also set icon title.
12305
12306         * LyXView.h (setWindowTitle): signature changed.
12307         * XFormsView.h (setWindowTitle): ditto.
12308
12309 2002-01-02  Juergen Vigna  <jug@sad.it>
12310
12311         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12312
12313 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * screen.C (topCursorVisible): introduce a temp var for
12316         text->cursor.row(), handle the case where this row is null. (kindo
12317         hachish)
12318
12319         * text2.C (setCursor): add a couple of asserts.
12320
12321         * paragraph.h (inset_iterator): add -> operator
12322
12323         * paragraph.[Ch] (autoDeleteInsets): remove member function
12324
12325         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12326         cursor pos correctly and handle inset deletion by itself.
12327         (insertErrors): move iterator declaration out of for expression
12328
12329         * lyxtextclass.C: add <algorithm>
12330
12331         * Makefile.am: added the new files to sources, removed layout.C
12332
12333         * layout.C: removed file
12334
12335         * layout.h: remove LYX_DUMMY_LAYOUT
12336
12337         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12338         layout.
12339
12340         * lyxlayout.[Ch]:
12341         * lyxtextclass.[Ch]:
12342         * lyxtextclasslist.[Ch]: new files
12343
12344         * include order changes to a lot of files, also changes because of
12345         the six new files.
12346
12347 2001-12-27  Juergen Vigna  <jug@sad.it>
12348
12349         * buffer.C (asciiParagraph): more fixes.
12350
12351         * tabular.C (ascii): make ascii export support export of only the
12352         data separated by a column-delimiter.
12353         (ascii): better support for ascii export.
12354
12355         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12356
12357 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12358
12359         * tabular_funcs.C: use a "using std::getline" instead of the
12360         previous fix from Angus (necessary for cxx + lyxstring)
12361
12362 2001-12-24  Juergen Vigna  <jug@sad.it>
12363
12364         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12365
12366         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12367         problems. First check a minipage also if we have some ert-contents
12368         (not only on par->size(), second set the right depth of the paragraph
12369         on the relink to the root-paragraph-list!
12370
12371         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12372         which then did not anymore update the main paragraphs on undo/redo!
12373
12374 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12377         code. Support all font-changing funcs (even those which are not in
12378         menu currently). Support for reporting font settings in
12379         mathed (disabled until Andre provides a function on mathed's side).
12380
12381         * func_status.h (toggle): small helper function to set toggle
12382         state on a flag.
12383
12384 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * tabular_funcs.C: getline -> std::getline
12387
12388 2001-12-21  Juergen Vigna  <jug@sad.it>
12389
12390         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12391         accessed and could be 0 (I couldn't generate this but it seems
12392         Michael could!).
12393
12394 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12395
12396         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12397         * tabular_funcs.h: here and include iosfwd
12398
12399 2001-12-20  Juergen Vigna  <jug@sad.it>
12400
12401         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12402         inside inset but undo_par was.
12403
12404 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12405
12406         * Thesaurus.C: always include <config.h> in sources.
12407
12408         * Painter.h:
12409         * lyxlookup.h:
12410         * box.h: do not include <config.h> in header files
12411
12412         * text.C (paintLastRow): remove unused variable
12413
12414         * text.C (transformChar):
12415         (insertChar):
12416         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12417
12418         * Painter.C (text):
12419         * font.C (width): rewrite to use uppercase() instead of
12420         islower/toupper.
12421
12422         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12423
12424 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * lyxfind.C: clean up of find failure position change
12427
12428 2001-12-20  Juergen Vigna  <jug@sad.it>
12429
12430         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12431
12432         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12433         (TeXRow): added to LaTeX a single tabular row.
12434         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12435         (Latex): simplified and finally good LT-h/f support.
12436         (various_functions): just small adaptions for LT-h/f support.
12437
12438         * tabular_funcs.[hC]: added and moved here all not classfunctions
12439         of LyXTabular.
12440
12441 2001-12-19  Juergen Vigna  <jug@sad.it>
12442
12443         * tabular.[Ch]: better support for longtabular options (not finished
12444         yet!)
12445
12446 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * text.C (paintLastRow): use the label font instead of the font of
12449         the last character to compute the size of *_BOX. This makes more
12450         sense and avoids a crash with empty paragraphs.
12451         Use Painter::rectangle to draw EMPTY_BOX.
12452
12453 2001-12-19  Juergen Vigna  <jug@sad.it>
12454
12455         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12456         the paragraphs if the replaced paragraph is not the first one!
12457         Tried to delete not used paragraphs but does not work yet so for
12458         now it's inside #ifdef's and by default off!
12459
12460 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * MenuBackend.C: include "lyx_main.h" instead of declaring
12463         lastfiles (actually was declared as LastFiles* instead of a
12464         scoped_ptr).
12465
12466 2001-12-17  Juergen Vigna  <jug@sad.it>
12467
12468         * tabular.C (AppendColumn): applied John's fix
12469
12470 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView.h:
12473         * BufferView.C:
12474         * BufferView_pimpl.h:
12475         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12476
12477         * Makefile.am:
12478         * box.h: new start of class for above
12479
12480         * lyxfunc.C: ignore space-only minibuffer dispatches.
12481           Show the command name when it doesn't exist
12482
12483         * minibuffer.C: don't add empty lines to the history
12484
12485         * minibuffer.C: add a space on dropdown completion
12486
12487 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * text.C: fix line above/below drawing in insets
12490
12491 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * lyxlength.C (LyXLength): Initialize private variables.
12494
12495 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12496
12497         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12498         when inserting error insets.
12499
12500 2001-12-13  Juergen Vigna  <jug@sad.it>
12501
12502         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12503         actually sometimes the before-paragraph.
12504         (setUndo): don't clear the redostack if we're not actually undoing!
12505
12506 2001-12-06  Juergen Vigna  <jug@sad.it>
12507
12508         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12509         and fixed redoing of main paragraph, so we can use it now ;)
12510
12511         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12512
12513 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12516         Juergen's request
12517
12518 2001-12-13  André Pönitz <poenitz@gmx.net>
12519
12520         * undostack.[Ch]:
12521         * undo_func.C: minor cleanup
12522
12523 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12526         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12527         font in urw-fonts package which is marked as -urw-fontspecific and
12528         does not work (incidentally, changing the encoding in the
12529         fonts.dir of this package to -adobe-fontspecific fixes the
12530         problem).
12531
12532         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12533         is a crash when undoing first paragraph (Juergen, please take a
12534         look). THis does not mean the undo fix is wrong, just that it
12535         uncovers problems.
12536
12537         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12538         the (Paragraph*) version when needed instead of duplicating the
12539         code.
12540
12541         * text.C (workWidth): use Inset::parOwner to find out where the
12542         inset has been inserted. This is a huge performance gain for large
12543         documents with lots of insets. If Inset::parOwner is not set, fall
12544         back on the brute force method
12545
12546         * paragraph_pimpl.C (insertInset):
12547         * paragraph.C (Paragraph):
12548         (cutIntoMinibuffer): set parOwner of insets when
12549         inserting/removing them
12550
12551         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12552
12553 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12554
12555         * commandtags.h:
12556         * LyXAction.C:
12557         * lyx_main.C:
12558         * lyxfunc.C:
12559         * mathed/formulabase.C:
12560         * mathed/math_cursor.[Ch]:
12561         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12562
12563
12564 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * lyxlength.[Ch] (operator!=): new function
12567
12568 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12569
12570         * text.C (workWidth): use Inset::parOwner to find out where the
12571         inset has been inserted. This is a huge performance gain for large
12572         documents with lots of insets. If Inset::parOwner is not set, fall
12573         back on the brute force method
12574
12575         * paragraph_pimpl.C (insertInset):
12576         * paragraph.C (Paragraph):
12577         (cutIntoMinibuffer): set parOwner of insets when
12578         inserting/removing them
12579
12580         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12581
12582 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12583
12584         * tabular-old.C (getTokenValue):
12585         * tabular.C (getTokenValue):
12586         (write_attribute): new versions for LyXLength
12587         (everywhere): adjust the use of widths
12588
12589         * tabular.h: change the type of widths from string to LyXLength
12590
12591 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12592
12593         * paragraph.C: fixed missing line number count when exporting
12594         Environments to LaTeX file
12595
12596         * buffer.C: added informational message for checking line numbers.
12597
12598 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12601         paragraph, do the 'double space' part, but not the 'empty
12602         paragraph' one.
12603
12604         * text.C (workWidth): small optimization
12605         (getLengthMarkerHeight): use minimal size for negative lengths.
12606
12607 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12610
12611         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12612
12613 2001-12-11  André Pönitz <poenitz@gmx.net>
12614
12615         * FontLoader.C:
12616         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12617
12618 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * text2.C: keep selection on a setFont()
12621
12622 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * lyx_cb.C: another bv->text misuse, from insert label
12625
12626 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * kbsequence.h:
12629         * kbsequence.C: re-instate nmodifier mask
12630
12631 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * lyx_main.h: make lyxGUI private.
12634
12635 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * lyxfind.C: place the cursor correctly on failed search
12638
12639 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * text.C (getLengthMarkerHeight): for small heights, the arrows
12642         are not always on top/bottom of the text
12643         (drawLengthMarker): smaller arrows; take the left margin in
12644         account; draw also vfills.
12645         (paintFirstRow):
12646         (paintLastRow): remove special code for vfill and standard spaces,
12647         since everything is handled in drawLengthMarker now.
12648
12649 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * buffer.C (insertErtContents): try to handle font and language
12652         interaction a bit better.g
12653
12654         * ColorHandler.C (updateColor): change the hash to cover the whole
12655         LColor enum, ws cleanup
12656         (getGCLinepars): ditto
12657         (getGCLinepars): only lookup in the linecache once.
12658
12659 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12660
12661         * iterators.C (operator++): Make the iterator more robust
12662
12663         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12664         (John's patch)
12665         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12666
12667 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * lyxtext.h:
12670         * text.C: better added space drawing
12671
12672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * LyXView.C:
12675         * BufferView2.C: fix layout combo update on inset unlock
12676
12677 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * Makefile.am: don't compile unused files
12680
12681 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * lyxfunc.C:
12684         * commandtags.h:
12685         * LyXAction.C: remove old LFUN_LAYOUTNO
12686
12687 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * paragraph_pimpl.h:
12690         * paragraph_pimpl.C: isTextAt() doesn't need font param
12691
12692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * lyxlex.h:
12695         * lyxlex.C: little cleanup
12696
12697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * BufferView_pimpl.C: fix insertAscii for insets
12700
12701 2001-12-05  Juergen Vigna  <jug@sad.it>
12702
12703         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12704         set the right font on the "multi" paragraph paste!
12705
12706 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * trans_decl.h:
12709         * trans_mgr.[Ch]:
12710         * trans.[Ch]:
12711         * lyxgluelength.C:
12712         * lyxlength.C: remove out-commented code.
12713
12714         * BufferView_pimpl:
12715         * CutAndPaste.C:
12716         * DepTable.C:
12717         * buffer.C:
12718         * chset.C:
12719         * lastfiles.C:
12720         * lyxlex.C:
12721         * lyxlex_pimpl.C:
12722         * lyxserver.C:
12723         * screen.C:
12724         * tabular-old.C:
12725         * tabular.C:
12726         * text.C:
12727         * trans_mgr.C:
12728         * vc-backend.C: change "while(" to "while ("
12729
12730         * lyxlength.[Ch]: add zero function to check if length is zero or
12731         not
12732         * lyxgluelength.C: use it
12733
12734 2001-12-05  Allan Rae  <rae@lyx.org>
12735
12736         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12737         Works for 2.95.3, from what I understand of Garst's reports this should
12738         work for other g++ versions.  We're screwed if the abs(int) definition
12739         changed between bugfix releases of gcc.
12740
12741 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * text.C: fix chapter label offset !
12744
12745 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * lyxtext.h:
12748         * text.C: fix hfill at end of line, clean up
12749
12750 2001-12-04  Juergen Vigna  <jug@sad.it>
12751
12752         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12753         that we force an update of the inset and it's owners if neccessary.
12754
12755 2001-12-03  Juergen Vigna  <jug@sad.it>
12756
12757         * text.C (rowLast): simplified code
12758
12759 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * lyxfunc.C: fix show options on timeout
12762
12763 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * screen.C (topCursorVisible): scroll half a page when the cursor
12766         reached top of bottom of screen
12767
12768 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * minibuffer.C: deactivate on loss of focus
12771
12772 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * vspace.[Ch] (operator!=): add operator.
12775
12776 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * BufferView_pimpl.C: refuse to open an inset when
12779         there's a selection.
12780
12781 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * BufferView_pimpl.C: allow to click on RHS of full row insets
12784
12785 2001-11-30  Juergen Vigna  <jug@sad.it>
12786
12787         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12788         insets for undo reasons.
12789
12790 2001-11-28  André Pönitz <poenitz@gmx.net>
12791
12792         * vspace.[Ch]: cosmetical changes
12793
12794 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * LyXAction.h:
12797         * LyXAction.C:
12798         * lyxfunc.h:
12799         * lyxfunc.C:
12800         * kbmap.h:
12801         * kbmap.C:
12802         * lyxrc.C:
12803         * kbsequence.h:
12804         * kbsequence.C: part re-write of old kb code
12805
12806         * Painter.C:
12807         * WorkArea.C: remove Lgb_bug_find_hack
12808
12809 2001-11-30  José Matos <jamatos@fep.up.pt>
12810
12811         * buffer.C (makeDocBookFile): add a comment to point a hack.
12812         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12813         Fixed a double write of labels.
12814
12815 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12816
12817         * LaTeX.C:
12818         * LaTeX.h Fixed bug in LaTeX class where it would not
12819         re-run latex if no depfiles were changed, but the .dvi was removed.
12820
12821 2001-11-28  André Pönitz <poenitz@gmx.net>
12822
12823         * all the files from the change on 2001/11/26:
12824         use lyx::layout_type instead of LyXTextClass::size_type
12825         use lyx::textclass_type instead of LyXTextClassList::size_type
12826
12827 2001-11-29  Juergen Vigna  <jug@sad.it>
12828
12829         * text.C: added support for paragraph::isFreeSpacing()
12830
12831         * buffer.C: same as above
12832
12833         * paragraph.h: inserted isFreeSpacing() function to enable
12834         FreeSpacing inside InsetERT.
12835
12836         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12837         of the paragraph's in the cut/copy buffer to 0!
12838
12839         * text2.C (removeRow): remove the assert as it can!
12840
12841         * lyxtext.h: added helper function firstRow returning firstrow and
12842         made firstrow private again.
12843
12844         * BufferView2.C (lockInset): don't relock if we're already locked!
12845
12846         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12847         the only paragraph.
12848         (removeRow): added Assert::(firstrow)
12849
12850         * debug.C: forgot to add INSETTEXT here.
12851
12852 2001-11-28  Juergen Vigna  <jug@sad.it>
12853
12854         * sp_spell.C (initialize): changed error text to more general
12855         spellchecker command use (not only ispell!)
12856
12857         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12858
12859         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12860
12861 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * vspace.C: initialise lyxgluelength on failure
12864
12865 2001-11-28  Allan Rae  <rae@lyx.org>
12866
12867         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12868         declaration & definition that looks like a function declaration.
12869
12870 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12871
12872         * BufferView2.C (copy):
12873         (copyEnvironment): do not clear the selection when doing a copy.
12874
12875         * text.C (paintFirstRow): compilation fix
12876
12877 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12878
12879         * tabular.C (Latex): correct line count when writing latex.
12880
12881 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * paragraph_pimpl.h:
12884         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12885           bug a bit
12886
12887 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * text.C:
12890         * LColor.h:
12891         * LColor.C: change vfillline->added_space
12892
12893         * text.C: add markers and text for added space
12894
12895         * vspace.C: fix comment
12896
12897 2001-11-28  André Pönitz <poenitz@gmx.net>
12898
12899         * paragraph.C: whitespace changes
12900         * all the other files from the change on 2001/11/26:
12901         change *::pos_type into lyx::pos_type
12902
12903 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12906         language of the document when inserting error insets.
12907
12908 2001-11-26  André Pönitz <poenitz@gmx.net>
12909
12910         * BufferView_pimpl.[Ch]:
12911         *       CutAndPaste.C:
12912         * buffer.[Ch]:
12913         * lyxcursor.[Ch]:
12914         * lyxfind.C:
12915         * lyxfunc.C:
12916         * lyxrow.[Ch]:
12917         * paragraph.[Ch]:
12918         * paragraph_pimpl.[Ch]:
12919         * sp_spell.C:
12920         * text.C:
12921         * text2.C: reduce header dependencies, introduce type for positions
12922
12923 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * <various>: change to use Alert.h
12926
12927 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12928
12929         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12930         when encountering an unknown token.
12931         (readLyXformat2): Show an error message if there were unknown tokens.
12932
12933 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * BufferView2.C:
12936         * BufferView_pimpl.C:
12937         * buffer.C:
12938         * paragraph.h:
12939         * text.C:
12940         * text2.C: use par->isInset()
12941
12942 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * paragraph_pimpl.h:
12945         * paragraph_pimpl.C: cleanup
12946
12947 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * text2.C (removeRow):
12950         * text.C (setHeightOfRow): remove useless (and costly) call to
12951         getRow.
12952
12953 2001-11-20  Allan Rae  <rae@lyx.org>
12954
12955         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12956         Now need Inset*::checkInsertChar() to return true for appropriate
12957         cases so that the characters in the minibuffer will actually be
12958         inserted.
12959
12960 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * text.C: change the order of the includes.
12963         (workWidth): initialize it at once.
12964         (workWidth): make maxw unsigned
12965         (setHeightOfRow): remove unused variable (inset)
12966         (selectSelectedWord): remove unused variable (inset)
12967         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12968
12969 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12970
12971         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12972         server is not running.
12973         (openConnection):
12974         (closeConnection): add debug info when server is disabled.
12975
12976         * ColorHandler.C (getGCForeground): send debug message to GUI
12977         channel.
12978
12979         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12980
12981         * kbmap.C (bind): modify because return conventions of
12982         kb_sequence::parse have changed.
12983
12984         * kbsequence.C (parse): only ignore spaces and not any stupid
12985         control character. This avoids tests like s[i] <= ' ', which are
12986         guaranteed to fail with 8bit characters and signed chars.
12987         Change return code to string::npos when there have been no error
12988         (0 was a bad idea when error is at first character)
12989
12990 2001-11-14  José Matos  <jamatos@fep.up.pt>
12991
12992         * buffer.h:
12993         * buffer.C (simpleDocBookOnePar): removed unused argument.
12994
12995 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12998         insets which are part of a word. Paragraph::isLetter takes care of
12999         that now. Use Paragraph::isInset to identify insets.
13000         (selectSelectedWord): do not test for hyphenation break.
13001
13002         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13003         that protected spaces are considered as spaces.
13004
13005         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13006         Inset::isLetter.
13007
13008 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * lyxserver.h:
13011         * lyxserver.C: fix it. and small cleanup.
13012
13013 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * BufferView_pimpl.C: use inline helpers
13016
13017         * LaTeXFeatures.h:
13018         * LaTeXFeatures.C: fix typos
13019
13020         * Spacing.h:
13021         * Spacing.C: move spacing_string into class
13022
13023         * ToolbarDefaults.C: move stuff into namespace anon
13024
13025         * layout.h: update enum
13026
13027         * lyxfunc.C: use better debug
13028
13029         * minibuffer.h: fix typo
13030
13031         * debug.h:
13032         * debug.C:
13033         * WorkArea.C: add and use Debug::WORKAREA
13034
13035         * lyxtext.h:
13036         * text.C:
13037         * text2.C: code re-organisation, inline helpers
13038
13039 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13040
13041         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13042         std::vector.empty().
13043
13044 2001-11-09  Allan Rae  <rae@lyx.org>
13045
13046         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13047         '\n's after tables.  Tabular and ERT inset work now makes this no
13048         longer necessary.
13049
13050 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13051
13052         * minibuffer.h:
13053         * minibuffer.C: fix crash, improve drop-down completion
13054
13055 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13056
13057         * lyxserver.h:
13058         * lyxserver.C: invalidate fd's when doing endPipe()
13059
13060 2001-11-08  José Matos  <jamatos@fep.up.pt>
13061
13062         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13063         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13064
13065         * paragraph.h:
13066         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13067
13068 2001-11-07  José Matos  <jamatos@fep.up.pt>
13069
13070         * buffer.h:
13071         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13072         const qualifier.
13073
13074         * buffer.C (sgmlOpenTag):
13075         * buffer.C (sgmlCloseTag): removed debug info.
13076
13077         * buffer.h (sgmlOpenTag):
13078         * buffer.h (sgmlCloseTag): made public.
13079
13080 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13081
13082         * buffer.C (saveParamsAsDefaults):
13083         * lyx_cb.C (MenuLayoutSave): remove
13084
13085         * LyXAction.C (init):
13086         * commandtags.h:
13087         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13088
13089 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13090
13091         * buffer.C (setPaperStuff): removed from here...
13092
13093         * bufferparams.C (setPaperStuff): ... and moved there.
13094
13095 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * minibuffer.h:
13098         * minibuffer.C:
13099         * XFormsView.C: add support for drop-down completion
13100
13101 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13104         commands.
13105
13106 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13109         disabled.
13110
13111 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13112
13113         * lyx_main.C: change ref to known bugs
13114
13115 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13116
13117         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13118         to work around older babel problems.
13119
13120 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13121
13122         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13123
13124 2001-10-24  Juergen Vigna  <jug@sad.it>
13125
13126         * tabular-old.C (ReadOld): below variable changes reflected.
13127
13128         * tabular.[Ch]: added ltType struct for longtable header/footer
13129         defines and changed all instances where they are used. Added
13130         future support for double top/bottom rows.
13131
13132 2001-10-24  José Matos  <jamatos@fep.up.pt>
13133
13134         * buffer.h (docbookHandleCaption):
13135         * buffer.C (docbookHandleCaption): removed unused function.
13136         (makeDocBookFile): moved docbook supported version to v4.1.
13137
13138 2001-10-24  José Matos  <jamatos@fep.up.pt>
13139
13140         * tabular.h:
13141         * tabular.C (docbookRow): new function to export docbook code of a row.
13142         (DocBook): now honors the longtable flags.
13143
13144 2001-10-23  José Matos  <jamatos@fep.up.pt>
13145
13146         * LaTeXFeatures.h:
13147         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13148         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13149
13150         * buffer.C (makeLinuxDocFile):
13151         (makeDocBookFile): reworked the preamble, more clean, and with
13152         support for lyx defined entities. Changed the document declaration
13153         to be more XML friendly.
13154
13155         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13156         if we need to output XML that should be done with a filter.
13157
13158 2001-10-22  Juergen Vigna  <jug@sad.it>
13159
13160         * sp_pspell.h (class PSpell): add alive function needed in the
13161         controller to see if the spellchecker could be started.
13162
13163 2001-10-22  Juergen Vigna  <jug@sad.it>
13164
13165         * buffer.C (insertStringAsLines): modify the font for inserting
13166         chars in certain conditions by calling checkInsertChar(font).
13167
13168 2001-10-19  Juergen Vigna  <jug@sad.it>
13169
13170         * text.C (workWidth): use getRow instead of wrong algorithm.
13171         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13172
13173 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * lyxserver.h:
13176         * lyxserver.C:
13177         * lyx_main.h:
13178         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13179
13180 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * text.C (workWidth): do not search for the exact row when
13183         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13184         optimization for big documents.
13185
13186 2001-10-18  Juergen Vigna  <jug@sad.it>
13187
13188         * text.C (workWidth): new function with added Inset * parameter.
13189
13190 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13193
13194         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13195         change return type of getColumnNearX.
13196
13197
13198         * text.C (changeRegionCase): use uppercase/lowercase instead of
13199         toupper/tolower.
13200         (leftMargin):
13201         (rightMargin): simplify code by factoring out the uses of
13202         textclasslist.
13203         (labelFill):
13204         (numberOfHfills):
13205         (setHeightOfRow):
13206         (appendParagraph): use Paragraph::size_type
13207
13208 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * vspace.C (asLatexString): add a missing break
13211
13212 2001-10-15  Herbert Voss  <voss@perce.de>
13213
13214         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13215
13216 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13219         is not available.
13220
13221 2001-10-10  André Pönitz <poenitz@gmx.net>
13222
13223         * lyxfunc.C: removed greek_kb_flag.
13224
13225 2001-10-10  Herbert Voss  <voss@perce.de>
13226
13227         * lyx_main.C: delete global string help_lyxdir.
13228
13229 2001-10-09  Herbert Voss  <voss@perce.de>
13230
13231         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13232
13233         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13234
13235         * lyx_main.C: added global string help_lyxdir.
13236
13237         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13238
13239 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13240
13241         * lyxrc.C (set_font_norm_type): support iso8859-4
13242
13243 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13244
13245         * LaTeX.C (deplog): add another regex for MikTeX
13246
13247 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13248
13249         * lyxrc.C (set_font_norm_type): support iso8859-3
13250
13251 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13254
13255         * LaTeXFeatures.C: remove special case of french and index
13256
13257         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13258         before \begin{document}). This solves several incompatibilities.
13259
13260 2001-10-03  Garst Reese  <reese@isn.net>
13261
13262         * lyx_cb.C: change CheckTex error msg.
13263
13264 2001-10-03  José Matos  <jamatos@fep.up.pt>
13265
13266         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13267
13268 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * .cvsignore: update
13271
13272         * lyx_main.C (commandLineVersionInfo): use new style version info.
13273
13274         * buffer.C (writeFile):
13275         (makeLaTeXFile):
13276         (makeLinuxDocFile):
13277         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13278
13279         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13280
13281         * version.h: update to use stuff in version.C
13282
13283         * version.C.in: new file. Contains version information determined
13284         at compile time. This is a merging of version.h and
13285         version_info.h.in.
13286
13287 2001-10-03  Juergen Vigna  <jug@sad.it>
13288
13289         * BufferView_pimpl.C (update): don't change "dirty" status in
13290         updateInset call.
13291
13292 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13293
13294         * WorkArea.C (c-tor): re-position version string slightly.
13295
13296 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13297
13298         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13299         revert to previous code.
13300
13301         WorkArea.[Ch]: (show, destroySplash): methods removed.
13302
13303         WorkArea.C: rework code so that it's an amalgam of the codes before and
13304         after the splash screen was moved to WorkArea.
13305
13306 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13307
13308         * lyxrc.C (read):
13309         * vspace.C (inPixels):
13310         (lyx_advance):
13311         * kbmap.C (bind):
13312         * buffer.C (insertStringAsLines):
13313         (asciiParagraph): fix types to be large enough
13314
13315         * lyxlex_pimpl.h: change member status from short to int
13316
13317         * layout.h: fix type of endlabeltype
13318
13319         * kbmap.C (bind):
13320         * kbsequence.C (parse): change return type to string::size_type
13321
13322         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13323         variable
13324
13325         * Bullet.C (bulletSize):
13326         (bulletEntry): do not use short ints as parameters
13327
13328         * BufferView2.C (insertLyXFile): change a char to an int.
13329
13330         * WorkArea.C (WorkArea): remove unneeded floats in computation
13331
13332 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13333
13334         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13335
13336         * paragraph.C (asString): Do not ignore newline/hfill chars when
13337         copying to the clipboard.
13338
13339 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13342         after a multi-line inset.
13343
13344 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * paragraph.C (validate): Set NeedLyXFootnoteCode
13347
13348 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13351         and decrease-error to decrease.
13352
13353 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13356         it more readable (should be equivalent)
13357
13358 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13359
13360         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13361
13362 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13363
13364         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13365         of a cursor (row, etc.) after a character has been deleted
13366         (deleteEmptyParagraphMechanism): call the method above on _all_
13367         cursors held by the LyXText when a double space has been
13368         detected/deleted.
13369
13370 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13373         pixmap.
13374         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13375
13376         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13377         background. Use greyOut() and the new show() methods to toggle between
13378         the foreground and background. Add code to remove the splash after
13379         its initial showing.
13380
13381         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13382         (create_forms): no longer call Dialogs::showSplash.
13383
13384 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * .cvsignore: add version_info.h
13387
13388 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13389
13390         * version_info.h.in: new file
13391
13392         * Makefile.am: add version_info.h.in
13393
13394         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13395         version_info.h instead of VERSION_INFO
13396
13397 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13400         The ERT inset now returns string().
13401
13402 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * lyxtext.h, text.C (selectNextWord): renamed as
13405         selectNextWordToSpellcheck.
13406
13407         * text.C (selectNextWordToSpellcheck): Modified to not select
13408         words inside an ERT inset.
13409
13410 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13411
13412         * lyx_cb.C (MenuLayoutSave): change a bit the question
13413
13414         * sp_base.h: include <sys/types.h>
13415
13416 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13419
13420 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13421
13422         * several files: fix typos in user-visible strings
13423
13424 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * text2.C (pasteSelection): do not set the selection, since it
13427         will be cleared later. Actually, the intent was to fix the way the
13428         selection was set, but I figured rmoving the code was just as good.
13429
13430 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13431
13432         * FontLoader.C (available): Check if font is available without
13433         loading the font.
13434
13435 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13436
13437         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13438
13439 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * lyxrc.[Ch]: added display_graphics variable and associated code.
13442
13443 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * bufferparams.C (hasClassDefaults): new method. Returns true if
13446         the buffer parameters correspond to known class defaults
13447
13448 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13449
13450         * XFormsView.C (show): set minimum size to the main window.
13451
13452 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13453
13454         * text2.C (copySelection):
13455         (cutSelection):
13456         * lyxfind.C (LyXReplace):
13457         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13458         LyXText::selectionAsString.
13459
13460         * paragraph.C (asString): add "label" argument to the second form
13461
13462         * text2.C (selectionAsString): add "label" argument and pass it to
13463         Paragraph::asString.
13464
13465 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * lyx_main.C (commandLineHelp): remove version information
13468
13469 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13470
13471         * lyx_main.C: add -version commandline option
13472
13473 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * paragraph.h: make the optional constructor arg required instead.
13476         some modifications to other files because of this.
13477
13478         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13479
13480         * lyxserver.C (C_LyXComm_callback): make it static
13481
13482         * lyx_main.C (error_handler): make it static
13483
13484         * lyx_gui.C (LyX_XErrHandler): make it static
13485
13486         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13487
13488         * WorkArea.C: make the extern "C" methods static.
13489
13490         * Makefile.am (lyx_LDADD): simplify
13491
13492 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13495         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13496
13497         * LyXAction.C (init):
13498         * lyxfunc.C (dispatch): associated code removal.
13499
13500 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13501
13502         * lyxfont.h (isSymbolFont): shut off warning
13503
13504         * text.C (setHeightOfRow):
13505         (getVisibleRow): fix crash with empty paragraphs which have a
13506         bottom line
13507
13508 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13509
13510         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13511         code.
13512
13513 2001-09-04  José Matos  <jamatos@fep.up.pt>
13514         * buffer.C
13515         * buffer.h
13516         * tabular.C (docbook): rename docBook method to docbook.
13517
13518 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13519
13520         * Makefile.am: add dependencies to main.o.
13521
13522 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13523
13524         * FontLoader.C (available): Return false if !lyxrc.use_gui
13525
13526 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13527
13528         * FontInfo.C (query):
13529         * converter.C (view):
13530         * importer.C (Import):
13531         * exporter.C (Export): Can not -> cannot.
13532
13533 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * BufferView_pimpl.C: allow to create index inset even if
13536           string is empty
13537
13538 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13539
13540         * buffer.C (getLists): replace boost::tie code with an explicit pair
13541         as boost::tie can break some compilers.
13542
13543         * iterators.h: Added a std:: declaration to the return type of
13544         ParIterator::size.
13545
13546 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13549           case.
13550
13551 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13552
13553         * iterators.[Ch]: New files. Provide paragraph iterators.
13554
13555         * buffer.C (changeLanguage): Use paragraph iterators.
13556         (isMultiLingual): ditto
13557
13558         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13559
13560 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13561
13562         * FontLoader.C: Support for cmr font.
13563
13564 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13567         (available): New method.
13568
13569         * FontInfo.C (getFontname): Use scalable fonts even when
13570         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13571         found.
13572
13573 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * converter.C (Formats::view): reverted! Incorrect fix.
13576
13577 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * converter.C (Formats::view): only output the -paper option
13580         if the dvi viewer is xdvi, thereby fixing bug #233429.
13581
13582 2001-08-23  Herbert Voss  <voss@perce>
13583
13584         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13585
13586 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * Spacing.h (Spacing): Set space to Default on in the default
13589         constructor.
13590
13591 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * vc-backend.h (RCS::versionString): add RCS to version
13594         (CVS::versionString): add CVS to version
13595
13596         * vc-backend.C (scanMaster): do not add CVS to version.
13597         (scanMaster): do not add RCS to version
13598
13599         * lyxvc.C (versionString): new method
13600
13601         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13602
13603 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * Spacing.C (set): initialize fval
13606
13607 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13608
13609         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13610         " or \.
13611
13612 2001-08-16  Juergen Vigna  <jug@sad.it>
13613
13614         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13615
13616 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * BufferView_pimpl.C:
13619         * figureForm.C:
13620         * lyxtext.h:
13621         * text2.C: setParagraph takes linespacing now
13622
13623 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * LyxAction.C: add internal LFUN_CITATION_INSERT
13626
13627         * LyXView.C: actually apply fix
13628
13629         * bufferlist.C: fix open non-existent file
13630
13631         * lyxfind.C: fix indentation
13632
13633         * lyxfunc.C: remove unneeded assert, fix typo
13634
13635 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * MenuBackend.C: use "Floatname List"
13638
13639 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13640
13641         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13642         when converting LaTeX layout to insetERT.
13643         Generate a non-collapsed float when reading old float
13644
13645 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13648         ERT insets.
13649
13650 2001-08-13  Juergen Vigna  <jug@sad.it>
13651
13652         * text.C (fill): return 0 instead of 20 as this seems to be the more
13653         correct value.
13654
13655 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13656
13657         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13658         lyxrc.font_norm.
13659
13660 2001-08-13  Juergen Vigna  <jug@sad.it>
13661
13662         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13663         casesensitive off.
13664         (SearchBackward): comment out the unlocking of the inset_owner this
13665         should not be needed!
13666
13667 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * Many files: Remove inherit_language, and add latex_language
13670
13671         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13672         collapsible insets.
13673
13674 2001-08-10  Juergen Vigna  <jug@sad.it>
13675
13676         * text.C (prepareToPrint): fixed hfill-width in draw!
13677
13678         * BufferView2.C (selectLastWord): save the selection cursor as this
13679         now is cleared in the function LyXText::clearSelection!
13680
13681 2001-08-08  Juergen Vigna  <jug@sad.it>
13682
13683         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13684         BACKSPACE type functions.
13685
13686         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13687         is only cutted from the document but not put in the cut-buffer, where
13688         still the old stuff should be.
13689
13690         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13691
13692         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13693
13694         * tabular.C (SetWidthOfCell): fixed special case where the width
13695         was not updated!
13696         (LeftLine): handle '|' in align_special.
13697         (RightLine): ditto
13698         (LeftAlreadyDrawed): ditto
13699         (SetWidthOfCell): ditto
13700
13701 2001-08-07  Juergen Vigna  <jug@sad.it>
13702
13703         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13704
13705 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13706
13707         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13708         * lyxlex.[hC]: ditto
13709
13710 2001-08-06  Juergen Vigna  <jug@sad.it>
13711
13712         * text.C (getVisibleRow): fix up row clearing a bit.
13713
13714 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * minibuffer.C: make sure the X server sees the changes in the input.
13717
13718 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * paragraph.C (getFont): split into...
13721         (getLabelFont): this
13722         (getLayoutFont): and this
13723         * paragraph_pimpl.C (realizeFont): calling this
13724
13725         * text2.C (getFont): split into...
13726         (getLayoutFont): this
13727         (getLabelFont): and this
13728         (realizeFont): all three calling this
13729
13730         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13731         files where used.
13732
13733 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13736
13737 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13738
13739         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13740         layouts from the Quote inset insertion.
13741
13742 2001-08-03  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13745
13746         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13747         only if status not is already CHANGED_IN_DRAW (second level).
13748
13749         * text.C (draw): don't set the need_break_row when inside an
13750         InsetText LyXText.
13751
13752 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * buffer.C (parseSingleLyXformat2Token): handle more latex
13755         conversion cases.
13756
13757         * bufferview_funcs.[hC]: change function names to
13758         begin with small char, adjust other files.
13759
13760 2001-08-02  André Pönitz <poenitz@gmx.net>
13761
13762         * lyxfunc.C:
13763         BufferView_pimpl.C: remove broken special code for math-greek
13764
13765 2001-08-02  Juergen Vigna  <jug@sad.it>
13766
13767         * BufferView_pimpl.C (update): redone this function so that we
13768         update the text again if there was a CHANGE_IN_DRAW.
13769
13770         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13771         (drawFromTo): added a new internal bool which is used by draw() and
13772         redraw() function.
13773         (general): some cursor drawing problems fixed.
13774
13775 2001-08-01  Juergen Vigna  <jug@sad.it>
13776
13777         * lyxfind.C (LyXFind): fixed
13778         (SearchForward): ditto
13779         (SearchBackward): ditto
13780
13781         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13782         spurius drawing of the cursor in the main area.
13783
13784         * text2.C (status): small fix which could lead to a segfault!
13785         (clearSelection): remove unneeded BufferView param.
13786
13787 2001-08-01  André Pönitz <poenitz@gmx.net>
13788
13789         * lyxfunc.C: small change due to changed mathed interface
13790
13791 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13792
13793         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13794
13795 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13796
13797         * lyxfunc.c: fail gracefully if file doesn't exist
13798
13799         * LyXSendto.C:
13800         * buffer.C:
13801         * lyxfunc.C:
13802         * BufferView_pimpl.C: IsDirWriteable() proto changed
13803
13804         * LyXView.C: fix updateWindowTitle() to store the last title
13805
13806 2001-07-31  Juergen Vigna  <jug@sad.it>
13807
13808         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13809         the font (wrong since using of Paragraph::highestFontInRange).
13810
13811         * paragraph.C (highestFontInRange): added a default_size parameter.
13812
13813         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13814         (setHeightOfRow): reformat
13815
13816 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * converter.[hC] + affected files: move to (inital-char)lowercase
13819         function names.
13820
13821         * ParagraphParameters.C (ParagraphParameters): remove commented code
13822
13823         * PainterBase.[Ch]: remove commented code
13824
13825         * LaTeXFeatures.h: add "bool floats" for float.sty
13826
13827         * LaTeXFeatures.C (LaTeXFeatures): init floats
13828         (require): handle float
13829         (getPackages): do it with floats
13830
13831 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * BufferView_pimpl.C (Dispatch): improve handling of
13834         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13835
13836         * commandtags.h: #include lyxfont.h here temporarily to avoid
13837         keybinding bug.
13838
13839         * bufferlist.h: include LString.h here.
13840
13841 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * text2.C (getStringToIndex): new method.
13844
13845 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13846
13847         * *: Reduced header file dependencies all over.
13848
13849 2001-07-30  Baruch Even  <baruch@lyx.org>
13850
13851         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13852
13853 2001-07-29  Baruch Even  <baruch@lyx.org>
13854
13855         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13856
13857 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * ParameterStruct.h (endif): add a default constructor to make
13860         sure that all variables is initialized.
13861
13862         * ParagraphParameters.C (ParagraphParameters): adjust
13863
13864 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13865
13866         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13867         index; also, check that there is something to index, and that it
13868         does not span over several paragraphs.
13869         (doubleClick): use WHOLE_WORD_STRICT for double click.
13870
13871         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13872
13873         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13874         scheme.
13875
13876 2001-07-26  Baruch Even  <baruch@lyx.org>
13877
13878         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13879         an InsetFig figure, backwards compatible reading of old figure code.
13880
13881 2001-07-27  Juergen Vigna  <jug@sad.it>
13882
13883         * text2.C: font.realize function adaption.
13884
13885         * text.C (draw): add a warnings lyxerr text if needed.
13886
13887         * layout.C: font.realize function adaption.
13888
13889         * language.C: add inherit_language and implement it's handlings
13890
13891         * bufferview_funcs.C (StyleReset): remove language parameter from
13892         font creation (should be language_inherit now).
13893
13894         * bufferparams.C (writeFile): handle ignore_language.
13895
13896         * paragraph.C (getFontSettings): the language has to be resolved
13897         otherwise we have problems in LyXFont!
13898
13899         * lyxfont.C (lyxWriteChanges): added document_language parameter
13900         (update): removed unneeded language parameter
13901
13902         * paragraph.C (validate): fixed wrong output of color-package when
13903         using interface colors for certain fonts in certain environments,
13904         which should not seen as that on the final output.
13905
13906 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * BufferView_pimpl.C:
13909         * Thesaurus.h:
13910         * Thesaurus.C:
13911         * Makefile.am:
13912         * commandtags.h:
13913         * LyXAction.C: add thesaurus support
13914
13915         * lyxfind.h:
13916         * lyxfind.C: add "once" parameter, for thesaurus, to not
13917           move to the next match
13918
13919 2001-07-26  Juergen Vigna  <jug@sad.it>
13920
13921         * lyxfont.C (realize): honor ignore_language too!
13922         (resolved): ditto.
13923
13924         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13925
13926         * text.C (draw): one place more for ignore_language to not draw
13927         itself!
13928
13929 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13930
13931         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13932
13933 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13934
13935         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13936         the minipage conversion problem.
13937
13938 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13941         insert an inset.
13942
13943 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * BufferView.h: don't forward declare WorkArea
13946
13947         * BufferView.C: don't include WorkArea.h
13948
13949 2001-07-25  André Pönitz <poenitz@gmx.net>
13950
13951         * commandtags.h:
13952         * LyXAction.C:
13953         * lyxfunc.C:  new LFUN 'math-space'
13954
13955         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13956
13957 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * text2.C (toggleInset): call open/close
13960
13961 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * lyxfunc.C (dispatch): add debug for the disabled case
13964
13965         * font.C (buttonText): make similar to rectText
13966
13967         * buffer.C (readInset): comment out parsing of insetlist and
13968         insttheorem
13969
13970         * PainterBase.C (rectText): small correction
13971
13972         * BufferView_pimpl.C: comment out insettheorem and insetlist
13973         * LyXAction.C: ditto
13974         * commandtags.h: ditto
13975
13976 2001-07-24  Juergen Vigna  <jug@sad.it>
13977
13978         * text.C (draw): honor the ignore_language.
13979
13980         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13981
13982 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13985         char inset.
13986
13987 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13988
13989         * lyxtext.h: remove unused (and unimplemented) methods
13990
13991 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13992
13993         * text.C (getVisibleRow): honor background color
13994
13995         * PainterBase.h:
13996         * Painter.h: remove default color argument for fillRectangle
13997
13998         * text.C (backgroundColor): new method
13999
14000 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * text.C (getVisibleRow): adjust
14003
14004         * font.[Ch] (rectText): new method, metrics
14005         (buttonText): new method, metrics
14006
14007         * PainterBase.[hC]: make rectText and buttonText always draw and take
14008         fewer paramteres.
14009
14010 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14011
14012         * ToolbarDefaults.C (read):
14013         * MenuBackend.C (read): allow escaping in all strings
14014
14015         * BufferView_pimpl.C (insertAndEditInset): new method.
14016         (Dispatch): use insertAndEditInset whenever appropriate.
14017
14018         * BufferView_pimpl.C (insertNote): removed
14019
14020         * BufferView_pimpl.C (smartQuote): new method, moved from
14021         BufferView; if an insetquote cannot be inserted, insert a '"'
14022         character instead.
14023
14024         * BufferView2.C: remove insertCorrectQuote();
14025
14026         * lyxfunc.C (getStatus): Add support for all remaingin
14027         inset-insert lfuns.
14028
14029         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14030
14031         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14032         command (necessary to pass " as parameter of self-insert.
14033
14034         * text.C (selectWordWhenUnderCursor):
14035         (selectWord): add word_location parameter
14036         (selectWordWhenUnderCursor): same + remove special code for word
14037         boundary.
14038         (selectNextWord): use kind() to guess type of insetspecialchar,
14039         not latex().
14040
14041         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14042         (insertErtContents): create ert insets as collapsed.
14043         (readInset): better compatibility code for Info inset.
14044
14045 2001-07-20  Juergen Vigna  <jug@sad.it>
14046
14047         * lyxfunc.C (dispatch): use always LyXFind now!
14048
14049         * text2.C (init): add a reinit flag so that the LyXText can be
14050         reinited instead of deleted and reallocated (used in InsetText).
14051
14052         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14053
14054         * text.C: ditto
14055
14056         * text2.C: ditto
14057
14058 2001-07-18  Juergen Vigna  <jug@sad.it>
14059
14060         * text.C (selectNextWord): handle insets inside inset by calling
14061         always the bv->text functions so that we can go up the_locking_inset!
14062
14063         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14064         in strange locations when inside an inset!
14065
14066         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14067         handling to include insets.
14068
14069         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14070
14071 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * LyXAction.C (init):
14074         * commandtags.h:
14075         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14076         LIGATURE_BREAK, since the name is so stupid.
14077
14078 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14079
14080         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14081         InsetInfos.
14082
14083         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14084
14085         * sp_form.[Ch]: remove.
14086
14087         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14088
14089         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14090         InsetInfo.
14091
14092         * src/buffer.C (readInset): ditto.
14093
14094 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14095
14096         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14097         menuSeparator(), endOfSentenceDot(), ldots() and
14098         hyphenationPoint(), which are therefore removed.
14099         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14100
14101         * LyXAction.C (init):
14102         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14103
14104         * paragraph.C (getWord): removed.
14105
14106         * BufferView_pimpl.C (Dispatch): use last word or selection for
14107         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14108
14109         * lyx_main.C (queryUserLyXDir): do not ask before creating
14110         user_dir, except if it has been named explicitely.
14111
14112 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14115         a document of zero size.
14116
14117 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14120         approriately in the c-tor and in require().
14121         (getPackages): output the appropriate LaTeX for natbib support.
14122
14123         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14124         variables "use_natbib" and "use_numerical_citations" when reading the
14125         LyX file.
14126         (readInset): read the various natbib cite commands.
14127         (validate): white-space change.
14128
14129         * bufferparams.[Ch]: new variables "bool use_natbib" and
14130         "bool use_numerical_citations".
14131         (writeFile): output them in the LyX file.
14132
14133 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14134
14135         * lyxfunc.C (getStatus): add support for all the inset insertion
14136         commands.
14137
14138         * text2.C (insertInset):
14139         * paragraph.C (insetAllowed):
14140         * BufferView_pimpl.C (insertInset): update to take in account the
14141         renaming of insertInsetAllowed
14142
14143         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14144
14145         * text2.C (getInset): new method. returns inset at cursor position.
14146
14147         * BufferView_pimpl.C (Dispatch): changes because of this.
14148
14149         * LyXAction.C (init): rename open-stuff to inset-toggle.
14150
14151         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14152
14153         * text2.C (toggleInset): renamed from openStuff; use
14154         Inset::open().
14155
14156 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14157
14158         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14159
14160         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14161
14162 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14163
14164         * buffer.C (readLyXformat2): Add filename to the error dialog
14165
14166 2001-07-18  Juergen Vigna  <jug@sad.it>
14167
14168         * tabular.C (GetCellNumber): put an assert here instead of the check!
14169
14170 2001-07-17  Juergen Vigna  <jug@sad.it>
14171
14172         * BufferView_pimpl.C (toggleSelection): adapted too.
14173
14174         * text.C (selectNextWord): adapted for use with insets.
14175         (selectSelectedWord): ditto
14176
14177 2001-07-17  Juergen Vigna  <jug@sad.it>
14178
14179         * sp_spell.C (PSpell): fix initialitation order.
14180
14181 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * paragraph.C: spacing
14184
14185 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14186
14187         * sp_spell.C: repair language selection for pspell
14188
14189 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * lyxfunc.h: change more methods to begin with lower char.
14192
14193 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14196         for unknown layouts.
14197
14198 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14199
14200         * buffer.C (readLyXformat2): Generate an error dialog if there are
14201         unknown layouts.
14202
14203 2001-07-16  Juergen Vigna  <jug@sad.it>
14204
14205         * sp_spell.C: always compile ISpell part.
14206
14207         * lyxrc.C: added use_pspell entry and it's handling.
14208
14209 2001-07-13  Juergen Vigna  <jug@sad.it>
14210
14211         * sp_spell.C: removed double includes.
14212
14213 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         Consistent use of Lsstream.h:
14216         * Lsstream.h: added using std::stringstream for consistencies sake.
14217
14218         * buffer.C: removed using std::stringstream
14219
14220         * lyxfont.C (stateText):
14221         * paragraph.C (asString):
14222         * text.C (selectNextWord, selectSelectedWord):
14223         * text2.C (setCounter):
14224         * vspace.C (asString, asLatexString):
14225         std::ostringstream -> ostringstream.
14226
14227 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14228
14229         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14230         * commandtags.h: add LFUN_HELP_ABOUTLYX
14231         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14232
14233 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14234
14235         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14236         cursorToggle()
14237         * lyx_gui_misc.C: remove spellchecker
14238         * lyxfunc.C: showSpellchecker
14239         * sp_base.h: added
14240         * sp_ispell.h: added
14241         * sp_pspell.h: added
14242         * sp_spell.C: added
14243         * sp_form.[Ch]: removed
14244         * spellchecker.[Ch]: removed
14245
14246 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14247
14248         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14249         is set.
14250         (simpleTeXSpecialChars): Simply print the input character without
14251         any special translation if pass_thru is set.
14252
14253         * layout.h: Added bool pass_thru to layout class for being able to
14254         implement pass through of a paragraph for Literate Programming.
14255
14256         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14257         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14258         * layout.C (Read): add "passthru" to list of layout tags and add
14259         code to set the pass_thru boolean when it is read.
14260
14261 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * trans_decl.h: remove allowed from KmodInfo
14264
14265         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14266         remove allowed code
14267         (Load): adjust
14268
14269         * paragraph_pimpl.C (erase): use boost::prior
14270
14271         * Painter.C (text): use data() instead of c_str() when length is
14272         also provided.
14273         * WorkArea.C (putClipboard): ditto
14274         * font.h (width): ditto
14275
14276         * BufferView2.C: use it-> instead of (*it). for iterators
14277         * texrow.C: ditto
14278         * paragraph_pimpl.C: ditto
14279         * paragraph.C: ditto
14280         * minibuffer.C: ditto
14281         * language.C: ditto
14282         * kbmap.C: ditto
14283         * encoding.C: ditto
14284         * counters.C: ditto
14285         * converter.C: ditto
14286         * chset.C: ditto
14287         * Variables.C: ditto
14288         * TextCache.C: ditto
14289         * MenuBackend.C: ditto
14290         * LyXAction.C: ditto
14291         * LColor.C: ditto
14292         * FloatList.C: ditto
14293         * DepTable.C: ditto
14294         * ColorHandler.C (LyXColorHandler): ditto
14295
14296 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14297
14298         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14299
14300         * text2.C (openStuff): reintroduce this method (which had been
14301         nuked in NEW_INSETS frenzy).
14302
14303         * lyxfunc.C (Dispatch): when an action has not been handled, use
14304         its name in the error message, not its number.
14305
14306         * paragraph.C (inInset): change method name to begin with lowercase.
14307
14308         * undo_funcs.C:
14309         * text2.C: updates because of this.
14310
14311 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * ToolbarDefaults.C (add): add spaces in error message
14314
14315 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14318         (readLyXformat2): rename return_par to first_par, use lyxlex's
14319         pushToken and remove the manual push handling.
14320         (parseSingleLyXformat2Token): add another ert comp. variable:
14321         in_tabular, rename return_par to first_par. handle newlines better
14322
14323 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14326
14327 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * text2.C (getParFromID): removed
14330
14331         * buffer.C (getParFromID): new method moved form lyxtext.
14332         * BufferView2.C (insertErrors): adjust
14333         (setCursorFromRow): adjust
14334         * BufferView_pimpl.C (restorePosition): adjust
14335         * lyxfunc.C (Dispatch): adjust
14336         * undo_funcs.C (textUndo): adjust
14337         (textRedo): adjust
14338         (textHandleUndo): adjust
14339         (textHandleUndo): adjust
14340
14341 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * buffer.C: up' the LYX_FORMAT
14344
14345         * lyxfont.h: turn NO_LATEX on as default
14346
14347         * buffer.C (insertErtContents): new methods of tex style compability.
14348         (parseSingleLyXformat2Token): use it several places.
14349         * tabular.C (OldFormatRead): and here
14350
14351 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14352
14353         * text2.C: remove some commented code.
14354         reindent file.
14355
14356         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14357         * trans.C: changes because of the above.
14358
14359 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14360
14361         * text2.C (setCounter): Fix counters bug with bibliography layout.
14362
14363 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14366         own member functions
14367         (simpleTeXSpecialChars): ditto
14368
14369 2001-07-06  Juergen Vigna  <jug@sad.it>
14370
14371         * a lot of files: changed the access to LyXText::status and the
14372         call of undo-functions.
14373
14374         * undo.[Ch]: added a inset_id to the undo informations.
14375
14376         * undo_funcs.[Ch]: added and moved here all undo functions.
14377
14378         * lyxtext.h: give the status enum a weight, made status_ a private
14379         variable and made accessor functions for it, removed the whole bunch
14380         of undo-functions as they are now in their own file, make some
14381         functions publically available. Added function ownerParagraph with
14382         int parameter.
14383
14384         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14385         made InInset() a const function, added getParFromID() function.
14386
14387         * buffer.[Ch]: added const version for inset_iterator functions,
14388         added getInsetFromID() function.
14389
14390         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14391         changed undo functions for new version.
14392
14393 2001-07-05  Juergen Vigna  <jug@sad.it>
14394
14395         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14396         unknow mechanism does not call the proper constructor but only this
14397         one also if I request the other!?
14398
14399 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14402
14403         * text2.C (LyXText): use initialization lists.
14404
14405         * lyxtext.h (Selection): initialize set_ and mark_
14406         (init): remove method
14407
14408 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14409
14410         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14411
14412 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * screen.[Ch]: change method names to begin with lowercase
14415
14416         * BufferView_pimpl.C (updateScrollbar): simplify further and
14417         hopefully make it a bit faster.
14418
14419 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14422         calling directly xforms functions.
14423
14424         * Painter.C (Painter):
14425         * lyx_cb.C (MenuWrite):
14426         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14427         fl_display.
14428
14429         * lyx_gui.C: remove bogus guiruntime extern declaration.
14430
14431 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14434         in NEW_INSETS
14435         (redoDrawingOfParagraph): ditto
14436         (redoParagraphs): ditto
14437         (cutSelection): don't create a object for CutAndPaste use the
14438         static method directly
14439         (pasteSelection): ditto
14440
14441         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14442         LyXview (+ rename)
14443
14444 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * modifications to some other files because of this.
14447
14448         * Makefile.am (lyx_SOURCES): add XFormsView
14449
14450         * XFormsView.[Ch]: new files
14451
14452         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14453         the main window. Move the gui dependent stuff to XFormsView
14454
14455 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14456
14457         * tabular.C (GetCellInset): update cur_cell also in the row/col
14458         version of this function.
14459
14460         * lyxfunc.C: no need to include figure_form.h here.
14461
14462         * FontLoader.h:
14463         * lyxfunc.h:
14464         * lyxscreen.h:
14465         * text2.C:
14466         * lyxvc.C: no need to include forms.h here.
14467
14468 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14471
14472         * lyxfunc.C (Dispatch):
14473         * Spacing.C (set):
14474         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14475         constructor argument.
14476
14477 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * paragraph.C (Paragraph): dont't clear, and just set layout.
14480         (makeSameLayout): use params's copy contructor.
14481
14482         * ParagraphParameters.[Ch] (makeSame): delete method
14483
14484 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * Variables.[Ch]: fix indentation, rename set to isSet
14487
14488 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14489
14490         * lyxfunc.C (Dispatch): fix typo
14491
14492 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14495         upper_bound.
14496
14497         * bufferlist.C: include assert.h for emergencyWrite().
14498
14499 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14502           give up at last (bug #425202) !
14503
14504 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * lyx_gui_misc.C:
14507         * sp_form.h:
14508         * sp_form.C:
14509         * spellchecker.h:
14510         * spellchecker.C: strip spellchecker options and bring up
14511           preferences tab instead
14512
14513 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14516         the istringstream constructor
14517
14518 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * paragraph.C (getLayout): fix return value
14521
14522         * paragraph.h: do not declare getLayout as inline.
14523
14524         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14525
14526 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14527
14528         * lyxcursor.h (operator<): new func
14529         (operator>): new func
14530         (operator>=): new func
14531         (operator<=): new func
14532
14533         * text.C (changeCase): use selection.start and selection.end
14534         (changeRegionCase): require from to be <= to. Require par to be a
14535         valid paragraph.
14536
14537         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14538
14539 2001-06-27  Juergen Vigna  <jug@sad.it>
14540
14541         * text.C (cursorLeftOneWord): changed to return the cursor and added
14542         overlay with BufferView * parameter which calls this one.
14543         (getWord): added
14544         (selectWord): use new getWord function.
14545         (changeCase): renamed from changeWordCase as and extended to work
14546         also on selections.
14547
14548         * lyxtext.h: added enum word_location
14549
14550         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14551         changeCase as this operates now also on selections.
14552
14553 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14554
14555         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14556
14557         * many files: send debug output to Debug::INFO instead of
14558         Debug::ANY.
14559
14560         * converter.C (View):
14561         (Convert):
14562         (Move): send debug output to Debug::FILES instead of console.
14563
14564 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14565
14566         * lyxfunc.C (getStatus): use func_status
14567
14568         * func_status.h: new header, describing the results of
14569         LyXFunc::getStatus;
14570
14571         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14572         LFUN_MATH_HALIGN.
14573
14574 2001-06-25  The LyX Project  <jug@sad.it>
14575
14576         * buffer.C (sgmlOpenTag):
14577         (sgmlCloseTag):
14578         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14579
14580 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14581
14582         * text2.C: remove some dead code
14583
14584         * tabular.C (GetCellInset): store the last cell checked (gotten)
14585
14586         * tabular.h: add the helper for the speedup
14587
14588         * lyxtext.h: remove some dead code
14589
14590 2001-06-26  The LyX Project  <Asger>
14591
14592         * paragraph.C: Change export to LaTeX of alignment to
14593         \begin{center} and family for better roundtrip work with reLyX.
14594
14595         * Tune the math drawing a bit.
14596
14597 2001-06-25  The LyX Project  <Asger>
14598
14599         * LColor.C (LColor): New color for math background. New color
14600         for buttons.
14601
14602 2001-06-25  The LyX Project  <jug@sad.it>
14603
14604         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14605
14606         * lyxfunc.C (Open):
14607         * bufferlist.C (newFile): do not restrict to files ending with
14608         .lyx
14609
14610         * BufferView_pimpl.C (MenuInsertLyXFile):
14611
14612 2001-06-24  The LyX Project  <jug@sad.it>
14613
14614         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14615         of compare_no_case
14616
14617 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * lyxtext.h: rename most methods to begin with a small char.
14620         Lots of changes because of this.
14621
14622         * paragraph.C (Paragraph): do not call fitToSize
14623         (erase): call Pimpl::erase
14624         (insertChar): call Pimpl::insertChar
14625         (insertInset): call Pipl::insertInset
14626         (breakParagraph): do not call fitToSize
14627         (breakParagraphConservative): do not call fitToSize
14628         (fitToSize): remove method
14629
14630         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14631
14632 2001-06-24  The LyX Project  <Asger>
14633
14634         * Fix Qt compilation^2
14635
14636 2001-06-24  The LyX Project  <jug@sad.it>
14637
14638         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14639         depthHook(getDepth()-1).
14640
14641         * paragraph.h:
14642         * ParagraphParameters.h:
14643         * ParameterStruct.h: change type of depth to unsigned int ==
14644         depth_type. Many adaptations to other files before of that.
14645
14646 2001-06-24  The LyX Project  <Asger>
14647
14648         * Fix Qt compilation.
14649
14650 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * paragraph.h: renamed several methods to begin with small letter.
14653         several changes to many parts of the code because of this.
14654
14655 2001-06-23  The LyX Project  <jug@sad.it>
14656
14657         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14658         rewritten to discard all double spaces when KeepEmpty is off
14659         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14660         to only handle newlines but not fiddle with spaces and friends.
14661
14662         * lyxfunc.C (MenuNew): when doing 'new from template', use
14663         template_path as default directory
14664
14665 2001-06-23  The LyX Project  <Asger>
14666
14667         * Clean-up of header file includes all over
14668         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14669
14670 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * paragraph.h: renamed from lyxparagraph.h
14673
14674 2001-06-23  Asger  <lyx@violet.home.sad.it>
14675
14676         * Buffer.h: Removed Buffer::resize
14677         * BufferList.h: Removed BufferList::resize
14678         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14679         the document lazily when we change the width, or the font settings.
14680
14681 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14684
14685 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14686
14687         * buffer.h: remove out of date comment
14688
14689 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14690
14691         * lyxscreen.h:
14692         * screen.C: fix "theoretical" GC leak
14693
14694 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * LaTeX.C (scanAuxFile):
14697         (deplog): remove trailing \r when reading stream (useful under
14698         win32)
14699
14700 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14701
14702         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14703         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14704         and BufferView::theLockingInset(Inset*), so should use them and not
14705         access bv_->text->the_locking_inset directly.
14706
14707         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14708
14709 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * Makefile.am:
14712         * tex-defs.h: remove old unused file
14713
14714 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * BufferView_pimpl.C: fix typo, remove minibuffer message
14717           when buffer has loaded
14718
14719 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * lyxfunc.C (Dispatch): use stringstream
14722         (MenuNew): use stringstream
14723         (Open): use stringstream
14724
14725         * importer.C (Import): use stringstream
14726
14727         * bufferview_funcs.C (CurrentState): use stringstream
14728
14729         * LaTeX.C (run): use stringstream
14730
14731         * BufferView_pimpl.C (savePosition): use stringstream
14732         (restorePosition): use stringstream
14733         (MenuInsertLyXFile): use stringstream
14734
14735 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * BufferView.C:
14738         * Bullet.C:
14739         * ColorHandler.C:
14740         * FontInfo.C:
14741         * FontLoader.C:
14742         * LColor.C:
14743         * LaTeXFeatures.C:
14744         * Painter.C:
14745         * gettext.C:
14746         * lyx_gui_misc.C:
14747         * lyxserver.C:
14748         * vspace.C: removed // -*- C++ -*- as first line.
14749
14750         * lyxfind.h:
14751         * version.h: added // -*- C++ -*- as first line.
14752
14753 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14756
14757         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14758         of string
14759
14760 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14763         of floats.
14764
14765 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * gettext.C: include LString.h even when --disable-nls is on.
14768
14769 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14770
14771         * converter.h (Get): changed argument type from int to
14772         FormatList::size_type to avoid unnecessary conversion.
14773
14774         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14775         before using it.
14776
14777 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14778
14779         * gettext.h: include LString.h even when --disable-nls is on.
14780
14781 2001-06-07  Juergen Vigna  <jug@sad.it>
14782
14783         * text.C (BreakAgain): subst spaces with tabs.
14784
14785         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14786         (resizeInsetsLyXText): set force on resizeLyXText.
14787
14788 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * gettext.h (gettext_init):
14791         (locale_init): use a real definition instead of a macro
14792
14793 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14794
14795         * Bufferview_pimpl.C:
14796         * LColor.h:
14797         * LColor.C: further lcolor tidies
14798
14799 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * BufferView_pimpl.C (updateScrollbar): simplify.
14802
14803         * BufferView2.C: don't include insets/insetinfo.h, change
14804         prototype for insertInset and call the Pimpl version. let
14805         updateInset call Pimpl version.
14806
14807         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14808         gotoInset to BufferView::Pimpl
14809
14810 2001-06-01  Juergen Vigna  <jug@sad.it>
14811
14812         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14813         inside a LockingInset (is the update needed at all?).
14814
14815 2001-05-31  Juergen Vigna  <jug@sad.it>
14816
14817         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14818         here not the old one otherwise how should we compare it afterwards
14819         if it's the same!
14820
14821 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * lyxfont.C:
14824         * tabular.C:
14825         * tabular-old.C:
14826         * FontInfo.C: bring C functions into global namespace when
14827         necessary
14828
14829 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * LString.h: make sure config.h has been loaded before LString.h.
14832
14833         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14834         (one for each char read by EatLine!).
14835
14836         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14837         variables.
14838
14839 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14842         to the same as the par we break from
14843
14844 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14847
14848         * MenuBackend.C (expand): also create menu entries for wide
14849         versions of the floats.
14850
14851         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14852
14853         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14854
14855         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14856         frontends/Makefile.am
14857
14858         * text2.C: adjust
14859         * text.C: adjust
14860
14861
14862         * tabular.C (getTokenValue): add std::
14863
14864         * tabular-old.C (getTokenValue): add std::
14865         (getTokenValue): ditto
14866         (getTokenValue): ditto
14867
14868         * screen.C (ToggleSelection): adjust
14869
14870         * lyxtext.h: put selection cursors inside a Selection struct.
14871
14872         * lyxfunc.C (moveCursorUpdate): adjust
14873
14874         * lyxfont.C (latexWriteStartChanges): add std::
14875
14876         * lyxfind.C: adjust
14877
14878         * font.h: delete with(char const *, LyXFont const &)
14879
14880         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14881
14882         * FontInfo.C (getFontname): add std::
14883
14884         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14885         (workAreaButtonPress): adjust
14886         (tripleClick): adjust
14887         (update): adjust
14888         (moveCursorUpdate): adjust
14889         (Dispatch): adjust
14890
14891         * BufferView2.C (gotoInset): adjust
14892
14893 2001-05-30  Juergen Vigna  <jug@sad.it>
14894
14895         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14896         to check pspell I add this as default as I now have new pspell
14897         libraries and they seem to use this.
14898
14899 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14900
14901         * text2.C (CutSelection): make the cursor valid before the call to
14902         ClearSelection.
14903
14904 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14907         relied on 0 terminated strings and other horrors. Bug found due to
14908         the new assert in lyxstring!
14909
14910         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14911         KP_ keys.
14912
14913 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14914
14915         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14916         to latinkeys.bind.
14917
14918         * lyxfunc.C (processKeySym): change method of getting to the
14919         self-insert char.
14920
14921         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14922         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14923         * BufferView_pimpl.[Ch]: here as private methods.
14924
14925 2001-05-28  Juergen Vigna  <jug@sad.it>
14926
14927         * text.C (SetHeightOfRow): added the update() call again as it is
14928         needed to initialize inset dimensions!
14929
14930 2001-05-16  Juergen Vigna  <jug@sad.it>
14931
14932         * text2.C (SetCharFont): Add new function with BufferView * and
14933         bool toggleall parameters for setting insets internal fonts.
14934         (SetFont): Freeze the undo as we may change fonts in Insets and
14935         all this change should be inside only one Undo!
14936
14937         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14938         setting font's in insets as for them we have the SetFont function!
14939
14940 2001-05-15  Juergen Vigna  <jug@sad.it>
14941
14942         * text2.C (ClearSelection): to be sure we REALLY don't have any
14943         selection anymore!
14944
14945         * tabular.C (TeXCellPreamble): fixed the left border problem for
14946         multicolumn cells.
14947
14948 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14949
14950         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14951         dependancy file
14952
14953 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14956         LFUN_BREAKPARAGRAPH.
14957
14958         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14959         help test to "internal only", similar for LFUN_INSERT_URL
14960
14961         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14962         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14963         auto_region_delete and deadkeys.
14964
14965 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * LColor.h:
14968         * LColor.C: remove some dead entries, tidy a little
14969
14970 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14973         commented code.
14974         (Dispatch): implement LFUN_ESCAPE
14975
14976         * commandtags.h: add LFUN_ESCAPE
14977
14978         * LyXAction.C (init): add entry for LFUN_ESCAPE
14979
14980         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14981         Remove commented code.
14982         (insertNote): moved here
14983         (open_new_inset): moved here
14984
14985         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14986         BufferView_pimpl
14987
14988 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * kbmap.C (findbinding): clean it up and make it work correctly.
14991
14992         * lyx_main.C (init): do not pass argc and argv as parameters
14993
14994 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14995
14996         * buffer.C: fix path for OS/2 & Win32
14997
14998         * lyx_gui.C:
14999         * lyx_main:
15000         * lyx_main.C: Added os:: class.
15001
15002         * os2_defines.h: update
15003
15004 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15007         better by trying again with reduced state.
15008
15009 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * lyxrc.C (read): print error about invalid key sequence only when
15012         debugging (because not all latinX keysyms are known to some X
15013         servers)
15014
15015         * kbsequence.C (getiso): add a few std:: qualifiers
15016         (getiso): comment out extra return statement.
15017
15018 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15021         handling.
15022         (Dispatch): enhance the accent inset a bit. (not perfect)
15023
15024 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15027
15028 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * bufferlist.C (emergencyWrite): fix assert() call
15031
15032 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15033
15034         * text.C (InsertChar): Added trivial patch to only send the "you
15035         can not do multiple spaces this way" message once during a
15036         session.
15037
15038 2001-05-08  Baruch Even  <baruch@lyx.org>
15039
15040         * Makefile.am: Changed order of libraries to get LyX to link properly
15041         with the gnome frontend.
15042
15043 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * LaTeXFeatures.h: add a std:: qualifier
15046
15047 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15048
15049         * paragraph.C (String): use stringstream
15050
15051 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15052
15053         * paragraph.C (writeFile): remove footflag arg
15054
15055         * buffer.C (makeLaTeXFile): use stringstream
15056         (latexParagraphs): remove footnot gurba
15057
15058         * LaTeXFeatures.C (getPackages): use stringstream
15059         (getMacros): likewise
15060         (getTClassPreamble): likewise
15061         (getFloatDefinitions): new method
15062
15063         * paragraph.C (writeFile): reindent
15064         (Erase): reindent
15065
15066         * WorkArea.h: revert the xpos + etc changes.
15067
15068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15069
15070         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15071
15072         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15073         (pasteSelection): likewise
15074         * text2.C (CreateUndo): likewise
15075
15076 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15077
15078         * minibuffer.C (peek_event): temporarily reduce the functionality
15079         of the minibuffer (to allow args on lfuns)
15080
15081         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15082         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15083
15084         * buffer.C (readInset): add compability reading of old float
15085         lists, add reading of new style float list.
15086         (readInset): avoid reevaluation of inscmd.getCmdName()
15087         (getLists): reindent
15088
15089         * MenuBackend.C (MenuItem): implement parsing of
15090         md_floatlistinsert and md_floatinsert.
15091         (expand::LastFiles): move initalizaton of iterators out of loop,
15092         avoid reevaluation.
15093         (expand::Documents): introduce typdedef vector<string> Strings,
15094         and use it.
15095         (expand::ExportFormats): introduce typedef vector<Format const *>
15096         Formats, and use it.
15097         (expand): implement FloatListInsert and FloatInsert.
15098
15099         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15100         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15101         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15102
15103         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15104         handling.
15105         (Dispatch::LFUN_FLOAT_LIST): implement
15106
15107 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15108
15109         * LaTeX.C (run): Fix problem with --export code.
15110
15111 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * BufferView.[Ch] (workarea): removed.
15114         (getClipboard) new method; wrapper for workarea()->getClipboard()
15115
15116         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15117         bug.
15118
15119         * WorkArea.h (width, height, xpos, ypos): These methods all
15120         returned the dimensions of the work_area sub-area of WorkArea,
15121         resulting in a position error if the WorkArea were resized. Now
15122         return the dimensions of the entire WorkArea.
15123
15124         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15125
15126 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * LaTeX.C (deplog): correct the syntax of regex reg1
15129
15130 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * undo.C: remove !NEW_INSETS cruft
15133
15134 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15135
15136         * text2.C: remove !NEW_INSETS cruft
15137
15138         * text.C: remove !NEW_INSETS cruft
15139
15140         * tabular.C: remove !NEW_INSETS cruft
15141
15142         * spellchecker.C: remove !NEW_INSETS cruft
15143
15144         * lyxtext.h: remove !NEW_INSETS cruft
15145
15146         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15147
15148         * lyxfunc.C: remove !NEW_INSETS cruft
15149
15150         * lyxfind.C: remove !NEW_INSETS cruft
15151
15152         * lyx_cb.C: remove !NEW_INSETS cruft
15153
15154         * figureForm.C: remove  !NEW_INSETS cruft
15155
15156         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15157
15158         * buffer.[Ch]: remove !NEW_INSETS cruft
15159
15160         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15161
15162         * CutAndPaste.C: remove !NEW_INSETS cruft
15163
15164         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15165
15166         * BufferView2.C: remove !NEW_INSETS cruft
15167
15168         * BufferView.h: remove !NEW_INSETS cruft
15169
15170 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * Lsstream.h: include LString.h before the sstream headers to
15173         fix problem with gcc 2.95.3 and lyxstring
15174
15175 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15176
15177         * lyx_main.C: add using directives when needed for C functions
15178         declared in std:: namespace.
15179
15180 2001-04-27  Juergen Vigna  <jug@sad.it>
15181
15182         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15183         (SetHeightOfRow): comment out the update call should not be needed!
15184
15185 2001-04-13  Juergen Vigna  <jug@sad.it>
15186
15187         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15188         (LyXTabular): tried to minimize operator= operations (and realized
15189         hopfully Lars wish).
15190
15191 2001-04-27  Juergen Vigna  <jug@sad.it>
15192
15193         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15194
15195 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15196
15197         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15198
15199         * buffer.C (readInset): hack to make listof algorithm work
15200
15201         * BufferView_pimpl.C: hack to make listof algorithm work
15202
15203 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * LyXAction.C: removed all !NEW_INSETS cruft
15206         (init): moved lfun_item in method
15207
15208         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15209
15210 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15211
15212         * BufferView2.C (theLockingInset): white space.
15213
15214 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15215
15216         * minibuffer.C: include <iostream>
15217
15218         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15219
15220         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15221
15222         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15223
15224         * text.[Ch] (TransposeChars): new method
15225
15226 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15227
15228         * call message directly through LyXView instead of through LyXFunc
15229         * BufferView2.C: adjust
15230         * BufferView_pimpl.C: adjust
15231         * FontLoader.C: adjust
15232         * buffer.C: adjust
15233         * bufferview_funcs.C: adjust
15234         * converter.C: adjust
15235         * figureForm.C: adjust
15236         * importer.C: adjust
15237         * lyx_cb.C: adjust
15238         * lyx_gui_misc.C: adjust
15239         * lyxfunc.C: adjust
15240         * lyxvc.C: adjust
15241         * text2.C: adjust
15242         + more files in subdirs
15243
15244         * lyxparagraph.h (size): move up int file
15245         (GetLayout): ditto
15246
15247         * adjust all uses of Assert to lyx::Assert.
15248
15249         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15250         lyxfunctional in namespace lyx
15251         * layout.C (hasLayout): ditto
15252         (GetLayout): ditto
15253         (GetLayout): ditto
15254         (delete_layout): ditto
15255         (NumberOfClass): ditto
15256         * converter.C (GetFormat): ditto
15257         (GetNumber): ditto
15258         (Add): ditto
15259         (Delete): ditto
15260         (SetViewer): ditto
15261         * bufferlist.C (getFileNames): ditto
15262         (emergencyWriteAll): ditto
15263         (exists): ditto
15264         (getBuffer): ditto
15265         * MenuBackend.C (hasSubmenu): ditto
15266         (hasMenu): ditto
15267         (getMenu): ditto
15268         * BufferView_pimpl.C (getInsetByCode): ditto
15269
15270 2001-04-18  Juergen Vigna  <jug@sad.it>
15271
15272         * vspace.C (asLatexString): fixed the 100% problem.
15273
15274 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * lyxfunc.C (Dispatch):
15277         * minibuffer.C:
15278         * minibuffer.h: add a few std:: qualifiers
15279
15280 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * minibuffer.[Ch]: reimplement so that commands is initiated and
15283         run from lyxfunc, simplified som handling, and made the completion
15284         and history code for complete. wip.
15285
15286         * lyxfunc.C (processKeySym): call message
15287         (miniDispatch): new temporary method
15288         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15289         (LFUN_MESSAGE): implement
15290         (LFUN_MESSAGE_PUSH): implement
15291         (LFUN_MESSAGE_POP): implement
15292         (initMiniBuffer): the initial/defualt minibuffer message.
15293
15294         * lyxfont.[Ch]: inline some more getters
15295
15296         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15297
15298         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15299
15300         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15301         (AutoSave): use LFUN_MESSAGE
15302         (Reconfigure): ditto
15303
15304         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15305
15306         * figureForm.C: use LFUN_MESSAGE
15307
15308         * converter.C (runLaTeX): use LFUN_MESSAGE
15309
15310         * bufferview_funcs.C: use LFUN_MESSAGE
15311         (Melt): ditto
15312         (changeDepth): ditto
15313
15314         * bufferparams.h: use boost::
15315
15316         * bufferlist.h: inherit privately from noncopyable
15317
15318         * bufferlist.C (loadLyXFile): remove some commented code.
15319
15320         * buffer.C (runChktex): use LFUN_MESSAGE
15321
15322         * ShareContainer.h: inherit privately from noncopyable
15323
15324         * ParagraphParameters.[hC] (depth): inline it.
15325
15326         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15327         methods.
15328         (message): new method
15329         (messagePush): ditto
15330         (messagePop): ditto
15331         (show): init minibuffer
15332         (showState): direct call
15333
15334         * LaTeX.[Ch]: inherit privately from noncopyable
15335         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15336         instead of WriteStatus.
15337
15338         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15339
15340         * BufferView_pimpl.C (buffer): don't init minibuffer
15341         (workAreaButtonPress): use LFUN_MESSAGE
15342         (workAreaButtonRelease): ditto
15343         (savePosition): ditto
15344         (restorePosition): ditto
15345         (MenuInsertLyXFile): ditto
15346         (workAreaExpose): don't init minibuffer
15347         (update): remove commented code, simplify
15348
15349         * BufferView2.C (openStuff): use LFUN_MESSAGE
15350         (toggleFloat): ditto
15351         (menuUndo): ditto
15352         (menuRedo): ditto
15353         (copyEnvironment): ditto
15354         (pasteEnvironment): ditto
15355         (copy): ditto
15356         (cut): ditto
15357         (paste): ditto
15358         (gotoInset): ditto
15359         (updateInset): remove some commented code
15360
15361         * lastfiles.h: inherit privately from noncopyable
15362         * layout.h: ditto
15363         * lyx_gui.h: ditto
15364         * lyx_main.h: ditto
15365         * lyxlex.h: ditto
15366         * lyxlex_pimpl.h: ditto
15367
15368         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15369         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15370         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15371
15372         * LyXAction.h: inherit privately from noncopyable, add methods
15373         func_begin, func_end, returning iterators to the func map.
15374
15375         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15376         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15377         (func_begin): new method
15378         (func_end): new method
15379
15380         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15381         and not)
15382         (copySelection): ditto
15383         (pasteSelection): ditto
15384
15385         * BufferView.C: whitespace change
15386         * BufferView.h: inherit privately from noncopyable
15387
15388 2001-04-16  Allan Rae  <rae@lyx.org>
15389
15390         * tabular-old.C (l_getline):
15391         * spellchecker.C (sc_check_word):
15392         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15393         an unrecognised preprocessor directive.  So ensure they're wrapped.
15394
15395 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15396
15397         * src/exporter.C (Export): Give an error message when path to file
15398         contains spaces.
15399
15400 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15401
15402         * LaTeX.C (deplog): Always check that foundfile exists.
15403
15404 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * lyx_main.h:
15407         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15408
15409 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * tabular.[Ch] (getLabelList): implement new method
15412
15413         * minibuffer.h: comment ouf setTiimer
15414
15415         * minibuffer.C (ExecutingCB): constify res
15416         (peek_event): constify s
15417         (Set): constify ntext
15418         (Init): constify nicename
15419
15420         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15421
15422         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15423         (savePosition): use two params to Minibuffer::Set
15424         (restorePosition): ditto
15425
15426 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * lyx_main.C: include language.h
15429
15430         * Makefile.am (lyx_main.o): add language.h
15431
15432 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * exporter.C:
15435         * paragraph.C:
15436         * screen.C:
15437         * tabular.C:
15438         * CutAndPaste.C: include gettext.h
15439
15440         * lyxfont.h: remove old hack with ON and OFF.
15441
15442         * lyxparagraph.h:
15443         * lyxfont.h: do not include language.h...
15444
15445         * BufferView2.C:
15446         * LaTeXFeatures.C:
15447         * Painter.C:
15448         * bufferview_funcs.C:
15449         * font.C:
15450         * lyxfont.C:
15451         * text.C:
15452         * text2.C:
15453         * trans_mgr.C:
15454         * paragraph.C: ... but do it here instead
15455
15456 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15459
15460         * tabular.C: small reformat
15461
15462         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15463         NEW_INSETS version
15464         (GetChar): ditto
15465         (BreakParagraph): ditto
15466         (SetOnlyLayout): ditto
15467         (SetLayout): ditto
15468
15469         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15470         with one arg less.
15471
15472         * lastfiles.C: removed most using decl, add std:: where needed
15473
15474         * buffer.C: ws changes
15475
15476         * MenuBackend.C (class compare_format): put into anon namespace
15477         (expand): constify label, names, action, action2
15478         (expand):
15479
15480         * text.C (SingleWidth): constify font
15481         (IsBoundary): constify rtl2
15482         (GetVisibleRow): constify ww
15483
15484         * LaTeX.C (deplog): constify logfile
15485
15486         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15487         start_x, end_x
15488         (workAreaExpose): constify widthChange, heightChange
15489
15490         * lyxrow.C (par): moved
15491         (height): moved
15492         (next): moved
15493         * lyxrow.h: as inlines here
15494
15495         * lyxfont.h (shape): moved from lyxfont.C
15496         (emph): moved from lyxfont.C
15497
15498         * lyxfont.C (LyXFont): use initialization list for all
15499         constructors
15500         (shape): move to lyxfont.h as inline
15501         (emph): move to lyxfont.h as inline
15502
15503
15504 2001-04-04  Juergen Vigna  <jug@sad.it>
15505
15506         * vspace.C: had to include stdio.h for use of sscanf
15507
15508 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15509
15510         * BufferView.h:
15511         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15512         independent of xforms.
15513
15514 2001-04-02  Juergen Vigna  <jug@sad.it>
15515
15516         * spellchecker.C: fixed namespace placing!
15517
15518 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15519
15520         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15521         the LyXParagraph * is 0.
15522
15523 2001-03-29  Juergen Vigna  <jug@sad.it>
15524
15525         * vspace.C: added support for %, c%, p%, l%.
15526         (stringFromUnit): added helper function.
15527         (asLatexString): changed to give right results for the %-values.
15528
15529         * buffer.C: convert the widthp in a width%.
15530
15531 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15532
15533         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15534         figureForm.[Ch].
15535
15536         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15537         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15538
15539         * lyx_cb.[Ch]: see above.
15540
15541         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15542         form1.[Ch].
15543
15544         * form1.[Ch]:
15545         * lyx.[Ch]: replaced by figure_form.[Ch].
15546
15547         * lyx_gui.C:
15548         * lyx_gui_misc.C:
15549         * lyxfunc.C: changed headers associated with above changes.
15550
15551 2001-03-27  Juergen Vigna  <jug@sad.it>
15552
15553         * BufferView_pimpl.C: set the temporary cursor right!
15554
15555 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15558
15559 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * LString.h: removed "using std::getline"!
15562
15563         * BufferView_pimpl.C (Dispatch): changes due to changes in
15564         InsetInclude::Params.
15565
15566         * buffer.C (tag_name): removed redundant break statements as they were
15567         producing lots of warnings with my compiler.
15568
15569 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * LString.h: add "using std::getline" when using the real <string>.
15572
15573 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15574
15575         * buffer.C: removed bitset usage.
15576         PAR_TAG moved to an anonymous name space.
15577         (tag_name): new funtion, also in the anonymous namespace.
15578         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15579         (makeDocBookFile): clean code. Completed transition from string arrays
15580         to string vectors.
15581         (SimpleDocBookOnePar): code clean.
15582
15583 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15584
15585         * tabular.C: add some comments.
15586
15587 2001-03-22  Juergen Vigna  <jug@sad.it>
15588
15589         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15590         compatibility read a bit and fixed bug with minipage in different
15591         depth.
15592
15593 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15594
15595         * buffer.C (pop_tag): removed.
15596         (push_tag): removed.
15597         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15598         array replaced with vector. Added support for CDATA sections.
15599         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15600         at any nest level.
15601         (makeDocBookFile): XML conformant declaration of CDATA section,
15602         fixed bug related to <emphasis> in the first paragraph char.
15603         (sgmlOpenTag): exclude empty tags.
15604         (sgmlCloseTag): ditto.
15605
15606         * buffer.h (pop_tag): removed.
15607         (push_tag): removed.
15608
15609 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * language.h (Languages): added size_type and size().
15612
15613 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15614
15615         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15616         response on compability reading of minipages. One probliem is that
15617         the old usage of minipages was «flertydig»
15618
15619         * several files here and in subdirs: don't use static at file
15620         scope use anon namespaces instead.
15621
15622 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15623
15624         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15625         LaTeX output. This is necessary for Literate document
15626         processing.
15627
15628 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15629
15630         * buffer.C: insert hfill when needed.
15631
15632         * tabular.C (l_getline): use string::erase, small whitespace change.
15633
15634         * BufferView_pimpl.C: try the anon namespace.
15635         * WorkArea.C: ditto
15636
15637 2001-03-16  Juergen Vigna  <jug@sad.it>
15638
15639         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15640         otherwise it won't open options-dialogs.
15641
15642         * buffer.C: honor pextraWidth(p) on converting minipages.
15643
15644         * tabular.C (l_getline): changed the functions to strip trailing \r.
15645
15646 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15647
15648         * BufferView_pimpl.C:
15649         * minibuffer..C: added "using SigC::slot" declaration.
15650
15651 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15652
15653         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15654
15655         * text2.C: ditto
15656
15657         * text.C: ditto
15658
15659         * paragraph.C: ditto
15660
15661         * lyxtext.h: NO_PEXTRA
15662
15663         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15664
15665         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15666         * ParameterStruct.h: ditto
15667         * ParagraphParameters.h: ditto
15668         * lyxparagraph.h: ditto
15669
15670 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15671
15672         * buffer.C: add compability for minipage alignment.
15673         (latexParagraphs): remove unwanted pextra check.
15674
15675         * several files: remove CXX_WORKING_NAMESPACES
15676
15677         * buffer.C (pop_tag): tie is in namespace boost
15678
15679         * BufferView.h: noncopyable is in namespace boost
15680         * lyxlex.h: ditto
15681         * lyx_main.h: ditto
15682         * lyx_gui.h: ditto
15683         * layout.h: ditto
15684         * lastfiles.h: ditto
15685         * bufferlist.h: ditto
15686         * ShareContainer.h: ditto
15687         * LyXView.h: ditto
15688         * LyXAction.h: ditto
15689         * LaTeX.h: ditto
15690
15691 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15692
15693         * Merging changes from BRANCH_MVC back into HEAD.
15694
15695         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15696
15697 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15698
15699         * BufferView_pimpl.C: change from intl.C
15700
15701         * combox.h:
15702         * combox.C:
15703         * Makefile.am: move combox.*
15704
15705         * form1.h:
15706         * form1.C:
15707         * lyx_gui.C:
15708         * intl.h:
15709         * intl.C: remove dialog (covered by prefs)
15710
15711 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15712
15713         * lyxfunc.C (Dispatch): removed redundant break statement.
15714
15715 2001-03-14  Juergen Vigna  <jug@sad.it>
15716
15717         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15718
15719 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15720
15721         * buffer.C: add hack to fix compability reading of minipages.
15722
15723 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15724
15725         * buffer.C (getLists): Cleanup.
15726
15727 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * lyxfont.C (update): don't honor toggleall on font size.
15730
15731 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * bmtable.c:
15734         * bmtable.h:
15735         * Makefile.am: moved to frontends/xforms/
15736
15737         * lyx_gui_misc.C:
15738         * lyxfunc.C:
15739         * BufferView_pimpl.C: changes for moved mathpanel
15740
15741 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15742
15743         * gettext.h: fix gettext_init() in --disable-nls
15744
15745 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15748
15749 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * lyx.C:
15752         * lyx.h: strip external form
15753
15754 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * BufferView_pimpl.C: add comment, destroySplash()
15757
15758 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15759
15760         * BufferView_pimpl.C:
15761         * LyXAction.C:
15762         * buffer.C:
15763         * commandtags.h:
15764         * lyxfunc.C: use re-worked insetinclude
15765
15766 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15767
15768         * buffer.C: add using std::stringstream.
15769
15770         * lyx_cb.C: readd using std::ios.
15771
15772         * buffer.C: add using std::map.
15773
15774         * BufferView_pimpl.C: add using std::vector.
15775
15776         * ShareContainer.h: add std:: to swap.
15777
15778         * buffer.h: add some typedefs
15779         * buffer.C (getLists): use them
15780         (getLists): renamed from getTocList.
15781         add a counter for the different float types and use it in the
15782         generated string.
15783         (getLists): use the same counter for the NEW_INSETS and the "non"
15784         NEW_INSETS
15785
15786         * lyx_cb.h: remove unused items, includes, using etc.
15787
15788         * ShareContainer.h: remove some commented code, add more comments
15789         and "documentation".
15790
15791 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15792
15793         * buffer.C (getTocList): make the list also when NEW_INSETS is
15794         defined.
15795
15796         * buffer.h: remove TocType
15797
15798         * buffer.C (getTocList): change to return a map<string,
15799         vector<TocItem> >, implement for dynamic number of list.
15800
15801         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15802         * text2.C (PasteSelection): adjust
15803         * CutAndPaste.C (pasteSelection): adjust
15804
15805         * FloatList.C (FloatList): update from the new_insets branch.
15806         * Floating.[Ch]: ditto
15807         * LaTeXFeatures.C: ditto
15808         * buffer.C: ditto
15809         * lyxlex_pimpl.C: ditto
15810
15811         * paragraph.C (Last): remove when NEW_INSETS is defined.
15812
15813         * other file: changes because of the above.
15814
15815 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15816
15817         * lyxparagraph.h: rename next to next_, previous to previous_,
15818         make them private for NEW_INSETS. Rename Next() to next(),
15819         Previous() to previous().
15820
15821         * other files: changes because of the above.
15822
15823 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * BufferView.h:
15826         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15827         problem.
15828
15829 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * main.C (main): pass lyx_localedir to gettext_init().
15832
15833         * gettext.h: remove locale_init and gettext_init macros
15834
15835         * gettext.C (locale_init): new function
15836         (gettext_init): new function
15837
15838         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15839         setlocale().
15840
15841 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15842
15843         * Moved credits to frontends:
15844         * credits.[Ch]: removed
15845         * credits_form.[Ch]: removed
15846         * lyx_gui_misc.C: remove credits stuff
15847         * Makefile.am:
15848
15849 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15850
15851         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15852
15853         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15854         unneeded destructor.
15855
15856         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15857         a standalone pointer again.
15858
15859         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15860
15861 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15862
15863         * Makefile.am:
15864         * filedlg.h:
15865         * filedlg.C:
15866         * LyXAction.C:
15867         * ToolbarDefaults.C:
15868         * bufferlist.C:
15869         * commandtags.h:
15870         * form1.C:
15871         * form1.h:
15872         * lyx_cb.C:
15873         * lyx_cb.h:
15874         * lyxfunc.h:
15875         * lyxfunc.C:
15876         * BufferView_pimpl.C: use new file dialog in GUII
15877
15878         * lyx_cb.h:
15879         * lyx_cb.C: remove LayoutsCB to Toolbar
15880
15881 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * ShareContainer.h (get): add std:: qualifier
15884
15885 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * ShareContainer.h: define a proper ShareContainer::value_type
15888         type (and use typename to please compaq cxx)
15889
15890 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15891
15892         * lyxparagraph.h: move serveral local vars to
15893         ParameterStruct/ParagraphParameters., use ShareContainer in
15894         FontTable., make vars in FontTable private and add getter and
15895         setter.
15896
15897         * paragraph.C: changes because of the above.
15898
15899         * lyxfont.h: remove copy constructor and copy assignment. (the
15900         default ones is ok), move number inside FontBits. move inlines to
15901         lyxfont.C
15902
15903         * lyxfont.C: add number to initializaton of statics, move several
15904         inlines here. constify several local vars. some whitespace
15905         cleanup. Dont hide outerscope variables.
15906
15907         * Spacing.h: add two new constructors to match the set methods.
15908
15909         * ShareContainer.h: new file, will perhaps be moved to support
15910
15911         * ParameterStruct.h: new file
15912
15913         * ParagraphParameters.h: new file
15914
15915         * ParagraphParameters.C: new file
15916
15917         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15918         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15919
15920         * BufferView_pimpl.C: ParagraphParameter changes.
15921         * buffer.C: Likewise.
15922         * bufferview_funcs.C: Likewise.
15923         * text.C: Likewise.
15924         * text2.C: Likewise.
15925
15926 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * lyxfind.C (LyXReplace): do not redefine default argument in
15929         implementation.
15930         (IsStringInText): ditto
15931         (SearchForward): ditto
15932         (SearchBackward): ditto
15933
15934 2001-03-06  Juergen Vigna  <jug@sad.it>
15935
15936         * lyxfind.C (IsStringInText): put parentes around expressions.
15937
15938 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15939
15940         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15941
15942 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15943
15944         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15945
15946         * stl_string_fwd.h: add comment
15947
15948         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15949
15950         * tabular.h:
15951         * tabular.C: remove unused DocBook methods
15952
15953         * intl.C:
15954         * language.C:
15955         * paragraph.C:
15956         * buffer.C:
15957         killed DO_USE_DEFAULT_LANGUAGE
15958
15959 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15960
15961         * lyx_gui.C: do not include language.h.
15962
15963         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15964         arguments in function implementation.
15965
15966 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15967
15968         * BufferView_pimpl.C: add <ctime>
15969
15970 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15971
15972         * BufferView_pimpl.C: add using std::find_if
15973
15974 2001-02-27  José Matos  <jamatos@fep.up.pt>
15975
15976         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15977         by OnlyPath.
15978
15979 2001-02-11  José Matos  <jamatos@fep.up.pt>
15980
15981         * buffer.C (makeDocBookFile): command styles now have a parameter as
15982         "title" by default.
15983
15984 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15985
15986         * layout_forms.[Ch]: removed
15987         * lyx_cb.[Ch]: out character
15988         * lyx_gui.C: out character
15989         * lyx_gui_misc.C: out character
15990         * bufferview_funcs.C: : out character,
15991         added toggleall as parameter in ToggleAndShow
15992
15993 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15996
15997         * text2.C (SetCurrentFont): Disable number property at boundary.
15998
15999 2001-02-26  Juergen Vigna  <jug@sad.it>
16000
16001         * lyxfunc.C (getStatus): added a string argument override function so
16002         that this is correctly called from LyXFunc::Dispatch if it contains a
16003         do_not_use_argument which is used!
16004         (Dispatch): added check for "custom" export and call appropriate func.
16005
16006 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16007
16008         * lyxrc.C: Add language_command_local, language_use_babel and
16009         language_global_options.
16010
16011         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16012
16013         * buffer.C (makeLaTeXFile): Use language_use_babel and
16014         language_global_options.
16015
16016 2001-02-23  Juergen Vigna  <jug@sad.it>
16017
16018         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16019         which works with LyXText and putted it inside BufferView. Here now we
16020         only call for that part the BufferView::Dispatch() function.
16021
16022         * BufferView.C (Dispatch): added.
16023
16024         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16025         functions which needs to use a LyXText over from LyXFunc.
16026         (MenuInsertLyXFile): added
16027         (getInsetByCode): added
16028         (moveCursorUpdate): added
16029         (static TEXT): added
16030
16031 2001-02-22  Juergen Vigna  <jug@sad.it>
16032
16033         * BufferView_pimpl.C (update): call a status update to see if LyXText
16034         needs it.
16035
16036 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16037
16038         * vc-backend.C (revert): implement for CVS
16039         (getLog): implement for CVS
16040
16041 2001-02-20  Juergen Vigna  <jug@sad.it>
16042
16043         * text2.C (ClearSelection): added BufferView param for inset_owner call
16044
16045         * lyxfunc.C (TEXT): added this function and use it instead of
16046         directly owner->view()-text of getLyXText().
16047
16048 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16049
16050         * src/layout_forms.C: out preamble
16051         * src/layout_forms.h: out preamble
16052         * src/lyx_cb.C: out preamble
16053         * src/lyx_cb.h: out preamble
16054         * src/lyx_gui.C: out preamble
16055         * src/lyx_gui_misc.C: out preamble
16056         * src/lyxfunc.C: connect with guii preamble
16057
16058 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16059
16060         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16061
16062 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16065         whether to run bibtex.
16066
16067 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16068
16069         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16070
16071 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16072
16073         * Makefile.am (lyx_SOURCES): removed bibforms.h
16074
16075         * vspace.h: doxygen
16076
16077         * text.C (GetVisibleRow): make several local vars const
16078
16079         * tabular.C: small cleanup.
16080
16081         * lyxserver.C (callback): use compare instead of strncmp
16082
16083         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16084         inlines to after class or to paragraph.C
16085
16086         * lyxfont.h: remove friend operator!=
16087
16088         * converter.h: move friend bool operator< to non friend and after
16089         class def.
16090
16091         * combox.h: small cleanup
16092
16093         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16094         to inlines after class def.
16095
16096         * buffer.C (pop_tag): use string operations instead of strcmp
16097
16098         * bmtable.c: doxygen, small cleanup
16099
16100         * LaTeX.h: remove friend operator==
16101
16102 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16103
16104         * screen.C:
16105         * lyxrc.[Ch]:
16106         * lyxfunc.C:
16107         * lyxfont.[Ch]:
16108         * lyx_cb.C:
16109         * intl.[Ch]:
16110         * commandtags.h:
16111         * buffer.C:
16112         * WorkArea.[Ch]:
16113         * LyXAction.C:
16114         * BufferView_pimpl.C:
16115         * BufferView.[Ch]: remove cruft
16116
16117 2001-02-14  Juergen Vigna  <jug@sad.it>
16118
16119         * lyxfunc.C: removed #if 0 unused code
16120
16121         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16122
16123         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16124
16125         * text2.C (SetSelection): added a BufferView * parameter
16126
16127 2001-02-13  Juergen Vigna  <jug@sad.it>
16128
16129         * lyxfunc.C (Dispatch): fixed protected blank problem.
16130         * BufferView2.C (protectedBlank): added LyxText * parameter.
16131
16132         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16133         (AppendColumn): same as above for column_info.
16134
16135         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16136         (moveCursorUpdate): use a LyXText param for support of InsetText.
16137
16138         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16139         (tripleClick): ditto
16140
16141         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16142
16143         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16144
16145         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16146
16147         * text2.C (SetSelection): set correct update status if inset_owner
16148         (ToggleFree): ditto
16149
16150 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16151
16152         * tabular.C: remove some commented code.
16153
16154 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16155
16156         * BufferView_pimpl.C: call hideSplash()
16157
16158         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16159
16160         * include_form.h:
16161         * bibforms.h: remove
16162
16163         * lyxfunc.C:
16164         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16165           add LFUN_CHILD_CREATE
16166
16167         * counters.h: fix tiny typo
16168
16169         * lyx_cb.C:
16170         * lyx.h:
16171         * lyx_gui.C:
16172         * lyx.C: move splash to frontends/xforms/
16173
16174         * lyx_gui_misc.C: move Include and Bibform to frontends
16175
16176         * lyxvc.h: clarify comment
16177
16178         * vspace.C: tiny housekeeping
16179
16180 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16181
16182         * text.C (PrepareToPrint): RTL Fix.
16183
16184         * paragraph.C (GetUChar): New method.
16185         (String):  Use GetUChar.
16186
16187         * buffer.C (asciiParagraph): Use GetUChar.
16188
16189 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16190
16191         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16192
16193 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16194
16195         * buffer.h:
16196         * buffer.C: rename to getLogName(), handle
16197           build log / latex log nicely
16198
16199 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16200
16201         * MenuBackend.C:
16202         * MenuBackend.h: remove support for reference menuitem type.
16203
16204 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * BufferView_pimpl.C: housekeeping
16207         * BufferView_pimpl.h:
16208         * LyXView.h:
16209         * Makefile.am:
16210         * Timeout.C:
16211         * Timeout.h:
16212         * minibuffer.h: move Timeout GUI-I
16213
16214 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16215
16216         * lyxrc.C (read): Update converters data-structures.
16217
16218 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16219
16220         * LaTeX.h (operator!=): add operator != for Aux_Info
16221
16222 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16223
16224         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16225
16226         * LaTeXLog.C: deleted, useful code moved to Buffer
16227
16228         * buffer.h:
16229         * buffer.C: new function getLatexLogName()
16230
16231         * lyx_gui_misc.C:
16232         * lyx_gui.C:
16233         * lyxvc.C:
16234         * lyxvc.h:
16235         * lyxfunc.C: use frontends for LaTeX and VC logs
16236
16237 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16238
16239         * LaTeX.h: yet another std:: that Allan forgot.
16240
16241         * Variables.C (set): renamed from isset(), because this clashes
16242         with some HP-UX macros (grr).
16243
16244 2001-02-06  Allan Rae  <rae@lyx.org>
16245
16246         * LaTeX.h: Another bug fix.  Missing std:: this time.
16247
16248 2001-02-04  Allan Rae  <rae@lyx.org>
16249
16250         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16251         floats problem. I've left it commented out because it's not quite
16252         correct.  It should also test that the current object is a table or
16253         figure inset.  But I haven't gotten around to figuring out how to do
16254         that.  I *think* it'll be something like: "table" == inset.type()
16255
16256         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16257         bool.
16258
16259 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16260
16261         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16262         all the citation/databases/styles in the auxilary file.
16263         (run): Rerun latex if there was a babel language error.
16264
16265 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * text.C (Backspace): Preserve the font when changing newline char
16268         with a space.
16269         (BreakParagraph): If the cursor is before a space, delete the space.
16270
16271         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16272
16273 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16274
16275         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16276         new argument (code).
16277         (ChangeCitationsIfUnique): New method.
16278
16279         * paragraph.C (GetPositionOfInset): Handle bibkey.
16280
16281 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16282
16283         * BufferView_pimpl.h: change type of Position::par_pos to
16284         LyXParagraph::size_type.
16285
16286 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16287
16288         * BufferView_pimpl.C (savePosition, restorePosition): Write
16289         messages to minibuffer.
16290
16291 2001-01-28  José Matos  <jamatos@fep.up.pt>
16292
16293         * buffer.C (makeDocBookFile): adds support for document language.
16294         A silly restriction on the name of LatexCommand types where removed.
16295         Added support for CDATA sections, allows to chars unescaped, used
16296         among others in code, to avoid escape < and >.
16297
16298 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16301         saved positions instrad of a stack. Furthermore, a position is
16302         stored using paragraph id/paragraph position.
16303
16304         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16305         Remove LFUN_REF_BACK.
16306
16307 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16308
16309         * converter.C (dvipdfm_options): New method.
16310
16311 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16312
16313         * vspace.C (isValidLength): Fix for empty input string.
16314
16315 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * LyXAction.C (init): change description of LFUN_FIGURE to
16318         "Insert Graphics"
16319
16320 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * LaTeX.C: add using directive
16323
16324 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16325
16326         * MenuBackend.C (expand): Fix the sorting of the formats.
16327
16328 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16329
16330         * lyx_main.C: tiny error message fix
16331
16332 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16333
16334         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16335         calling fl_initialize(). This fixes the problem with ',' as
16336         decimal separator in text files.
16337
16338 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16339
16340         * trans.C (process): Fix the keymap bug.
16341
16342 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16343
16344         * LaTeX.C (scanAuxFiles): New method. Provides support for
16345         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16346         (scanLogFile) Scan for "run BibTeX" messages.
16347
16348         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16349         OT1 font encoding. Also, load the aecompl package if the ae
16350         package is loaded.
16351
16352         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16353
16354 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16355
16356         * texrow.C (increasePos): turn two error messages into debug
16357         messages.
16358
16359 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * LaTeX.C (scanAux): Handle the \@input macro.
16362         (runBibTeX): Use scanAux().
16363
16364         * language.C (latex_options_): New field.
16365
16366         * LaTeXFeatures.C (getMacros): Add language macros.
16367
16368         * buffer.C (makeLaTeXFile): Small fix.
16369
16370 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16373
16374         * text2.C: add a using directive.
16375
16376 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16377
16378         * BufferView2.C:
16379         * lyx_gui_misc.h:
16380         * lyxfr1.C:
16381         * lyxfunc.C: kill LyXBell.
16382
16383 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16384
16385         * text.C (IsBoundary): Remove the error message
16386
16387         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16388
16389         * lyxrc.C (setDefaults): Correct initialization value for
16390         font_norm_type.
16391
16392 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16395         gotoError().
16396
16397         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16398         and GotoNextNote().
16399
16400         * src/LyXAction.C: Added reference-next.
16401
16402         * text.C (InsertChar): Use contains instead of strchr.
16403
16404         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16405
16406 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16407
16408         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16409         alignment commands (when needed).
16410
16411         * text.C (InsertChar): Add ':' to number separator chars.