]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
45ff4fa22a8e85640c9580c8a1db30b70d8ef6fe
[lyx.git] / src / ChangeLog
1 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lengthcommon.C: a more general fix for bug 1682
4
5 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text.C (backspace): fix crash
8
9 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
10
11         * format.[Ch] (getFormatFromFile): new method
12         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
13
14 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
17
18 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * lyxfunc.C (dispatch): remove the verbose argument
21         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
22         instead
23
24         * kbmap.C (defkey): set the origin of func to KEYBOARD
25
26         * MenuBackend.C (MenuItem): 
27         * ToolbarBackend.C (add): set the origin of func to UI
28
29         * funcrequest.[Ch]: add origin member, which indicates which part
30         of LyX requests an action
31
32 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * converter.C (move): don't lie in the error message
35         * converter.h (isReachable, move): document
36
37 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
38
39         * buffer.C: remove unused using lyx::support::atoi
40         * paragraph_funcs.C: ditto
41
42 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
43
44         * bufferlist.C (exists): use bind and equal_to instead of
45         compare_memfun
46         (getBuffer): ditto
47         * lyxtextclasslist.C (NumberOfClass): ditto
48
49         * cursor.C (insert): use for_each instead of explicit for loop
50
51         * bufferlist.C (getFileNames): use std::transform and
52         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
53
54         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
55         for loop
56
57         * buffer.C (changeLanguage): use for_each instead of explicit for
58         loop
59         (hasParWithID): implement using getParFromID
60
61         * LaTeXFeatures.C: ws change only
62
63         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
64         to cleanup a bit.
65
66         * BufferView_pimpl.C (trackChanges): use for_each instead of
67         expilicit for loop
68
69 2004-11-04  André Pönitz  <poenitz@gmx.net>
70
71         * undo.h:
72         * undo.C (textUndoOrRedo): fix crash when creating undo information.
73
74         * dociterator.C (asDocIterator): use hard assert again.
75
76 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * lyxlength.C (asLatexString): rewrite so that it does not use
79         snprintf anymore
80
81 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text3.C (specialChar, dispatch): make sure cursor moves to the
84         right after inserting an inset
85
86 2004-11-02  José Matos  <jamatos@lyx.org>
87
88         * output_docbook.C (docbook):
89         * paragraph.C (getID):
90         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
91         garantee that the output is always legal.
92
93         * tabular.C (docbook):
94         * outputprams.[Ch]: remove mixed contents.
95
96 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
97
98         * text2.C (setCounter): prevent endless loop
99
100 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
101
102         * exporter.C (copyFile): use the mover instead of support::copy()
103         * exporter.C (Export): pass format and latex name to copyFile()
104         * exporter.h (addExternalFile): document
105         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
106
107 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
110
111 2004-10-30  José Matos  <jamatos@lyx.org>
112
113         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
114         text and no inset or font change. This allows to use CDATA
115         sections just for the whole paragraph.
116
117 2004-10-30  José Matos  <jamatos@lyx.org>
118
119         * paragraph.C (getFirstWord): remove unused variable.
120
121 2004-10-30  José Matos  <jamatos@lyx.org>
122
123         * paragraph.C (getFirstWord): the content should always be escaped
124         there.
125         (simpleDocBookOnePar):
126         * output_docbook.C (makeEnvironment): replace reference to CDATA
127         to style pass_thru.
128
129 2004-10-30  José Matos  <jamatos@lyx.org>
130
131         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
132
133 2004-10-30  José Matos  <jamatos@lyx.org>
134
135         * output_docbook.C (makeParagraphs):
136         * paragraph.[Ch] (emptyTag): for docbook and company, if the
137         standard paragraph has only a given type of content drop the wrapper.
138
139 2004-10-29  José Matos  <jamatos@lyx.org>
140
141         * output_docbook.C (makeEnvironment):
142         * sgml.C (openTag):
143         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
144
145 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
146
147         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
148         (cleanID): sanitize any id.
149
150 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
151
152         * buffer.C, lyxlex_pimpl.C:
153         * lyxlex_pimpl.C (setFile):
154         s/getExtFromContents/getFormatFromContents/
155
156 2004-10-28  José Matos  <jamatos@lyx.org>
157
158         * output_docbook.C (makeEnvironment): move id to broadest possible
159         scope.
160
161         * sgml.C (openTag): apply substitution of <> for all attributes.
162
163 2004-10-28  José Matos  <jamatos@lyx.org>
164
165         * buffer.C (makeLinuxDocFile, makeDocBookFile):
166         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
167         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
168
169         * sgml.[Ch]: new version for open and closeTag for paragraph and
170         for strings. Now they handle the ids of paragraphs.
171
172 2004-10-26  Angus Leeming  <leeming@lyx.org>
173
174         * Makefile.am: add mover.[Ch].
175
176         * converter.C (convert, move): use the new Movers to move external
177         files to the temp directory.
178
179         * lyx_main.C (init): ensure that the global system_movers data
180         is initialised.
181
182         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
183         preferences file.
184
185         * mover.[Ch]: new files, defining a Mover as a utility to move an
186         external file between directories and, if necessary, manipulate this
187         file using a helper script.
188
189 2004-10-25  José Matos  <jamatos@lyx.org>
190
191         * output_docbook.C (makeCommand): merge two if's that tested the
192         same condition.
193
194 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * sgml.C (escapeString): fix warning in a better way
197
198 2004-10-25  José Matos  <jamatos@lyx.org>
199
200         * sgml.C (escapeString): import the require boosts header file for
201         tie, and avoid a signed unsigned comparison.
202
203 2004-10-25  José Matos  <jamatos@lyx.org>
204
205         * sgml.h: add #include <string>
206
207 2004-10-25  José Matos  <jamatos@lyx.org>
208
209         * sgml.[Ch] (escapeString): new function to escape all the string.
210
211 2004-10-24  José Matos  <jamatos@lyx.org>
212
213         * paragraph.[Ch] (getFirstWord): new function to get the first
214         word. Useful for description.
215         (simpleDocBookOnePar): remove depth argument, add another that
216         says where to start the paragraph.
217
218         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
219         use the new functions to fix cleanly the support for descriptions.
220
221 2004-10-24  José Matos  <jamatos@lyx.org>
222
223         * buffer.C (makeLinuxDocFile, makeDocBookFile):
224         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
225         * output_linuxdoc.C (linuxdocParagraphs):
226         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
227         add buffer as argument.
228
229 2004-10-24  José Matos  <jamatos@lyx.org>
230
231         * output_docbook.C (makeEnvironment, searchEnvironment): place
232         CDATA inside paragraphs and fix scope for listitems.
233
234 2004-10-24  José Matos  <jamatos@lyx.org>
235
236         * output_docbook.C: remove using statement for stack.
237
238 2004-10-23  José Matos  <jamatos@lyx.org>
239
240         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
241         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
242         docbook. The new scheme is recursive and makes use of iterators, the
243         same as latex export works.
244         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
245         directly with the paragraph contents. This code was moved up to
246         output_docbook.C (docbookParagraphs).
247         * sgml.C (openTag, closeTag): removed unneeded newlines.
248         (closeEnvTags) removed.
249
250 2004-10-23  André Pönitz  <poenitz@gmx.net>
251
252         * undo.C (textUndoOrRedo):
253         * dociterator.C (asDocIterator): work around crash
254
255         * cursor.C (getStatus): replace ASSERT by more verbose error message
256           and manual correction of the problem. Should increase stability
257           while providing more sensible information.
258
259 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
262
263         * bufferlist.C (previous, next): new methods
264
265         * lfuns.h:
266         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
267
268 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
269
270         * buffer.C (makeDocBookFile): add dsssl stylesheet control
271         entities to preamble.
272
273 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * messages.C (Pimpl): strip off translation context information
276
277 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
280         the cursor is correct (bug 1694)
281
282 2004-10-13  José Matos  <jamatos@lyx.org>
283
284         * output_docbook.C (docbookParagraphs): fix closing tags in the
285         end of the document.
286
287 2004-10-09  José Matos  <jamatos@lyx.org>
288
289         * buffer.C: format up to 237.
290         * bufferparams.C (write): use tostr to convert booleans to strings.
291
292 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
295
296 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * LaTeX.C: implement use of babel language in xindy.
299
300 2004-10-05  José Matos  <jamatos@lyx.org>
301
302         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
303         Add new translators to help reading and writing the lyx file.
304
305 2004-10-05  José Matos  <jamatos@lyx.org>
306
307         * ParagraphParameters.C (read):
308         * text.C (readParToken): replace nexToken by more appropriate lex
309         methods.
310
311 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
312
313         * LaTeX.C (runMakeIndex):
314         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
315         (usually 'makeindex') configurable.
316
317         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
318         with a variable rather than with a number.
319
320 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * output_latex.C (TeXOnePar): make sure font setting is the first
323         thing that gets output (and the last at the end). Should fix bug
324         1404.
325
326 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
327
328         * pch.h: use proper signal include
329
330         * LaTeX.h: Use preferred calling of Boost.Signal
331         * buffer.h: ditto
332
333 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * pch.h: dont include <boost/function/function0.hpp>
336
337         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
338
339         * paragraph_pimpl.h: remove usage of ShareContainer
340
341         * paragraph_pimpl.C: remove initialization of ShareContainer.
342
343 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         Fix bug #1666
346
347         * BufferView.C (putSelectionAt): change the semantics when
348         backwards == true: now, this just swaps cursor and anchor wrt the
349         forward case
350
351         * BufferView.h (putSelectionAt): add some documentation
352
353         * lyxfind.C (findBackwards): rewrite using while(). In particular,
354         make sure backwardChar is done at least once (to avoid getting
355         stuck)
356         (findNextChange): use putSelectionAt in the forward direction
357         (operator()): use Paragraph::isWord
358
359 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
360
361         * Spacing.C (set): c_str fix
362
363 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * lyx_cb.C (Reconfigure): quote the name of configure script in
366         case it contains spaces
367
368 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * client: new dir
371
372         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
373         (BOOST_LIBS): use top_buildir when looking for the file
374
375 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
376
377         * pch.h: do not use include boost/format.hpp, multiple symbols
378                 will result (gcc bug)
379
380
381 2004-08-23  José Matos  <jamatos@lyx.org>
382
383         * bufferparams.C (readToken): fix reading of the author field.
384
385 2004-08-20  José Matos  <jamatos@lyx.org>
386
387         * lyxrc.C: remove support/translator.h inclusion since it is not used.
388
389 2004-08-20  José Matos  <jamatos@lyx.org>
390
391         * lyxlex.[Ch] (findToken): remove function.
392
393         * ParagraphParameters.C (findToken):
394         * bufferparams.C (findToken): replace call for previous function
395         with local copy. This local function has one more argument, the
396         read string argument.
397
398 2004-08-16  José Matos  <jamatos@lyx.org>
399
400         * ParagraphParameters.C (write):
401         * Spacing.C (writeFile):
402         * bufferparams.C (writeLaTeX):
403         * lyx_cb.C (Reconfigure):
404         * paragraph.C (write):
405         * tabular.C (write): remove unnecessary space at end of line.
406
407
408 2004-08-16  José Matos  <jamatos@lyx.org>
409
410         * text.C (readParagraph): remove debug message.
411
412 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
415         crash
416
417         * output_plaintext.C (asciiParagraph): set depth correctly
418
419         * outputparams.h: add member depth
420
421         * paragraph_funcs.C (ownerPar): remove.
422
423         * text2.C (setCounter): remove first_pit; comment out some
424         non-working code that uses ownerPar
425
426         * BufferView.C (getParentLanguage): remove. Not used anymore, and
427         uses ownerPar
428
429 2004-08-16  José Matos  <jamatos@lyx.org>
430
431         * text.C (readParToken, readParagraph, read): report all unknown tokens.
432         For the same level of importance use the same chanel to report problems.
433         (read): add code to deal with \begin_body and \end_body.
434
435
436 2004-08-15  José Matos  <jamatos@lyx.org>
437
438         * lyxlex.C (getString): fix comment, buffer::readBody is now
439         buffer:readDocument.
440
441         * tex-strings.C (string_papersize): Default -> default,
442         Custom -> custom, for consistency with other options.
443
444 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
445
446         * pch.h: new file
447
448         * Makefile.am: support pch
449
450 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * text.C (readParToken): remove the static LyXFont variable and
453         pass it as a parameter instead. This fixes a nasty bug where an
454         inset will be inserted with a bad font in some situations
455         (readParagraph): adapt
456
457         * text2.C (setCounter): reduce number of calls to pars_[pit]
458
459         * text.C (singleWidth): add an assert, fix a test
460
461         * rowpainter.C (paintText): reduce number of calls to singleWidth
462
463         * paragraph.C (isHfill):
464         (isNewline): ws only
465
466 2004-08-14  André Pönitz  <poenitz@gmx.net>
467
468         * text.C:
469         * text2.C:
470         * rowpainter.C:
471         * lyxtext.h (several functions): use a Paragraph & argument
472         instead of par_type
473
474 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * metricsinfo.h: add a new field ltr_pos to PainterInfo
477
478         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
479
480         * text.C (singleWidth): remove useless test
481
482 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * tabular.h: remove bogus comments
485
486         * tabular.C (getDescentOfRow):
487         (isPartOfMultiColumn): add assertions
488
489         * lyxlength.C (inPixels): remove #warning
490
491 2004-08-14  André Pönitz  <poenitz@gmx.net>
492
493         * paragraph.h: inline getChar()
494
495         * BufferView.h: remove unused declarations
496
497 2004-08-14  José Matos  <jamatos@lyx.org>
498
499         * Buffer.[Ch] (readDocument): new name for old readBody.
500         * Buffer.C: new file format, new keywords: \begin_document,
501         \begin_header, \begin_body, \end_body.
502
503         * bufferparams.C (readToken): replace all calls to lex.nextToken
504         by lex.next(). Do the same to eatLine except where really needed.
505
506         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
507         line when writing to the lyx file.
508
509         * output_plaintext.C (asciiParagraph): fix Bibliography style
510         handling.
511
512         * text.C (read): fix end of file handling.
513
514 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * MenuBackend.C (Menu::operator[]): new method to access
517         individual menu items
518         (Menu::hasFunc): new method. search for an item that corresponds
519         to a given func
520         (MenuBackend::specialMenu): new method
521         (MenuBackend::expand): if a special menu has been set, skip
522         entries whose func() appears in this menu
523
524 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
525
526         * text3.C: use Debug::DEBUG a bit more
527
528         * text.C (leftMargin): try to simplify a tiny bit change var x to
529         l_margin. Dont output the wide margins always.
530         (rightMargin): no margin in inner texts
531
532         * rowpainter.h (nestMargin): new func
533         (changebarMargin): new func
534         (rightMargin): new func
535
536         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
537         now functions.
538         (paintLast): ditto
539
540         * factory.C (createInset): modify setDrawFrame
541
542         * cursor.C: use Debug::DEBUG a bit more
543
544 2004-08-14  André Pönitz  <poenitz@gmx.net>
545
546         * coordcache.[Ch]:
547         * Makefile.am: new files to accomodate an 'external' (x,y)-position
548         cache for all insets in (at least partially) visible (top-level)
549         paragraphs.
550
551         * BufferView_pimpl.C: reset external coord cache before every update.
552         This means the coord cache only contains valid entries.
553
554 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
555
556         bug 1096
557         * BufferView_pimpl.C (getInsetByCode): move function out of class
558         and change in to a template in anon namespace. Also fix to do what
559         suits us better.
560
561 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
562
563         bug 1305
564         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
565         of char
566         (breakParagraph): rename par to par_offset and use a local
567         reference. Add code to keep the language over a rebreak.
568         (breakParagraphConservative): rename par to par_offset, use a
569         local reference
570         (mergeParagraph): ditto
571         (outerHook): ditto
572         (isFirstInSequence): ditto
573         (outerFont): rename pit to par_offset
574
575         * paragraph.C: ws change
576         * paragraph.h: ditto
577         * text3.C: ditto
578         * text.C: ditto
579
580 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
583         treatment for ']'
584
585         * paragraph.C (simpleTeXOnePar): when we have a \item with
586         optional argument, enclose the argument with curly brackets (in
587         case it contains a closing square bracket)
588
589         * text2.C (editXY):
590         * text2.C (editXY):
591         * text3.C (checkInsetHit): constify
592
593 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
596         documents (bug 1629)
597
598 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         Fix toggling of collapsable insets with the mouse (bug 1558)
601
602         * lyxfunc.C (dispatch): adapt to LCursor changes
603
604         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
605         make sure that dispatch is not invoked twice
606
607         * cursor.C (needsUpdate): new method
608         (dispatch): return void
609         (result): new method, to access the DispatchResult of the cursor.
610
611 2004-08-13  José Matos  <jamatos@lyx.org>
612
613         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
614
615 2004-08-13  André Pönitz  <poenitz@gmx.net>
616
617         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
618
619         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
620           multiple cells
621
622 2004-08-12  André Pönitz  <poenitz@gmx.net>
623
624         * text3.C: take out the 'cursor right' form insertInset and only
625         do it in those places when it is really needed. Fixes crash on
626         C-m...
627
628 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
629
630         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
631
632         * BufferView_pimpl.C (setBuffer): initialize the current font of
633         the underlying LyXText
634
635 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * kbsequence.C (print): use UI native formatting for menu
638         shortcuts
639
640         * text.C (insertChar): call Paragraph::insertChar with a font
641         argument (cosmetic)
642
643         * paragraph.C (insertInset, insertChar): the version that takes a
644         LyXFont argument is now a wrapper around the other one (the
645         opposite used to be true).
646
647         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
648         argument. Font setting is done in Paragraph now.
649
650 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * outputparams.h: add new members intitle and lang.
653
654         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
655         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
656
657 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
658
659         * text3.C (dispatch): remove special handling of button 4 and 5,
660         it is now taken care of in the frontend code.
661
662 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
663
664         * Spacing.h: add <string> (STLPort compile fix)
665
666 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
667
668         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
669
670 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
671
672         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
673         to bool.
674
675         * converter.C (showMessage): inherit from unary_function, make
676         operator() const.
677
678         * buffer.C (writeFile): initialize retval
679
680         * InsetList.h: rename private variable list to list_
681         * InsetList.[Ch]: adjust accordingly.
682
683 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
684
685         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
686         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
687         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
688         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
689         * ParagraphParameters.C, LaTeXFeatures.C: replace
690         "support/std_sstream.h" with <sstream>
691
692 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
693
694         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
695         * lyxsocket.C (LyXServerSocket): ditto
696         (serverCallback): ditto
697
698 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
699
700         * LaTeXFeatures.C: check release date when loading jurabib.
701
702 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
703
704         * lyxserver.C (startPipe): call register_socket_callback
705         (endPipe): call unregister_socket_callback
706
707 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
708
709         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
710         (LyXServerSocket): register the callback
711         (LyXServerSocket): unregister the callback
712         (fd): delete function
713         (serverCallback): improve error checking and setup the callbacks.
714         (dataCallback): change arg to fd.
715         (writeln): new func (copied fro the client socket) used for server
716         write to client.
717         (LyXDataSocket): simplify
718         (~LyXDataSocket): close ann unregiser callback
719         (server): delete function
720         (fd): delete function
721         (readln): small changes, improve some std::string usage
722         (writeln): constify a bit
723
724 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
727         Qt frontend
728
729 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * BufferView_pimpl.C (setBuffer): set the layout combox value only
732         after it has been populated
733
734 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * text2.C (insertInset): move cursor when inserting inset.
737
738 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * kbmap.C (findbindings): a couple of new methods. returns a
741         container of kb_sequence objects. The real work is done by the
742         private recursive version
743         (printbindings): uses findbindings to print out a bracketed list
744         of bindings (renamed from findbinding).
745
746         * MenuBackend.C (binding): use kb_keymap::findbindings
747
748         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
749
750 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
751
752         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
753
754 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * paragraph.C (isWord): return true on insets that report
757         isLetter().
758
759         * text.C (getWord): use Paragraph::isWord to decide what is in a
760         word and what is not; fix bug 1609.
761
762 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * tex-strings.C: add "none" to string_paperpackages[], fixes
765         off-by-one-error in the paperpackage selection.
766
767         * lyxlex.[Ch]:
768         * tex-strings.[Ch]: char const * string[n]
769         -> char const * const string[]
770
771 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
774         command, return early.
775
776 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
777
778         * debug.h: add DEBUG to enum and fix size of ANY.
779
780         * debug.C: add support for Debug::DEBUG
781         (showTags): cast errorTags.level to unsigned int
782
783         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
784         (redoCurrentBuffer): ditto
785         (updateScrollbar): ditto
786         * cursor.C (dispatch): ditto
787         * text2.C (setLayout): ditto
788         (setFont): ditto
789         (updateCounters): ditto
790         (editXY): ditto
791         (deleteEmptyParagraphMechanism): ditto
792
793 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
794
795         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
796         annotations to cleanup the Makefile slightly.
797
798 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
799
800         * lyxrc.C: do not set user_email to a default value but use empty
801         instead. The entry used to be translated, which does not work
802         since at the point where lyxrc is constructed there is no
803         translation service available
804
805         * messages.C (getLocaleDir): remove and use directly
806         lyx_localedir() instead
807
808 2004-06-02  Angus Leeming  <leeming@lyx.org>
809
810         Fix crash caused by dereferencing null pointer 'exportdata' in
811         OutputParams by creating a new ExportData variable on the heap,
812         storing it in a boost::shared_ptr.
813         The crash was triggered when generating an Instant Preview
814         of an external inset.
815
816         * Makefile.am: add outputparams.C
817
818         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
819         (c-tor): allocate memory to it.
820
821         * exporter.C (c-tor): associated changes.
822
823 2004-06-01  Angus Leeming  <leeming@lyx.org>
824
825         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
826         contains data before calling isInset(0). (Bug 1513.)
827
828 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * exporter.C (checkOverwrite): new method
831         * exporter.C (copyFile): new method
832         * exporter.C (Export): copy referenced files to the document dir
833         * exporter.[Ch]: new class ExportedFile
834         * exporter.[Ch]: new class ExportData. Contains currently the
835         names of referenced external files
836         * outputparams.h: add exportdata member.
837
838 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
839
840         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
841         version.C-tmp
842
843 2004-05-19  Angus Leeming  <leeming@lyx.org>
844
845         * LaTeXFeatures.C:
846         * ToolbarBackend.C:
847         * bufferparams.C:
848         * lyxfunc.C: small changes due to the introduction of namespace
849         lyx::frontend and the moving of namespace biblio to lyx::biblio.
850
851 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
852
853         * text3.C (dispatch): supress update when only moving the cursor
854         * cursor.C (selHandle): remove commented code
855
856 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
857
858         * paragraph.C (startTeXParParams): correct column count
859         * CutAndPaste.C (pasteSelection): remove const_cast
860         * output_docbook.C (docbookParagraphs): remove const_cast
861         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
862         const_cast and return ParagraphList::const_iterator
863         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
864         * output_plaintext.C (writeFileAscii): remove const_cast
865         * paragraph.[Ch] (simpleTeXOnePar): make const
866         * paragraph_funcs.C (outerPar): use const iterators
867         * paragraph_pimpl.C (validate): use const iterators
868         * text.C (setHeightOfRow): use const iterators
869
870 2004-05-17  Angus Leeming  <leeming@lyx.org>
871
872         * lfuns.h:
873         * LyXAction.C (init): new LFUN_INSET_REFRESH.
874
875         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
876         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
877         if the citation engine has changed.
878
879 2004-05-14  José Matos  <jamatos@lyx.org>
880
881         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
882         if the textclass does not provide it. Have it different for sgml and
883         xml.
884         support the language of document.
885         * output_docbook.C (docbookParagraphs):
886         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
887         first anchor as the id of the paragraph, remove special case code.
888         * sgml.C (escapeChar): escape only < & >.
889
890 2004-05-14  Angus Leeming  <leeming@lyx.org>
891
892         * bufferparams.h: move biblio::CiteEngine enum here to minimize
893         dependencies on src/frontends/controllers/biblio.h. Define a
894         CiteEngine_enum wrapper class to enable the enum to be forward
895         declared.
896
897 2004-05-12  Angus Leeming  <leeming@lyx.org>
898
899         * buffer.C: up LYX_FORMAT to 234.
900         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
901         use_numerical_citations with a single biblio::CiteEngine cite_engine
902         variable.
903         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
904
905 2004-05-13  José Matos  <jamatos@lyx.org>
906
907         * converter.h:
908         * converter.C (Converter, readFlags): add xml member.
909         * outputparams.h: add XML flavor.
910         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
911
912 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * lyxfunc.C (dispatch):
915         (getStatus): fix handling of LFUN_SEQUENCE
916
917 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * debug.C (showLevel): do not forget the end-of-line marker
920
921 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * kbmap.C (read): do not stop parsing a bind file when an error
924         occurs (bug 1575)
925
926 2004-04-29  Angus Leeming  <leeming@lyx.org>
927
928         * cursor.C:
929         * factory.C:
930         * pariterator.C:
931         * text2.C: wrap a bunch of #warning statements
932         inside #ifdef WITH_WARNINGS blocks.
933
934 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
935
936         * buffer.C: increment format to 233.
937
938 2004-04-28  Angus Leeming  <leeming@lyx.org>
939
940         * BufferView_pimpl.C:
941         * lyxfunc.C:
942         * text3.C:
943         s/updateToolbar()/updateToolbars()/
944         s/Toolbar.h/Toolbars.h/
945
946 2004-04-28  Angus Leeming  <leeming@lyx.org>
947
948         * BufferView.[Ch] (c-tor):
949         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
950         No longer passes these data to the WorkArea generator.
951
952 2004-04-28  Angus Leeming  <leeming@lyx.org>
953
954         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
955
956 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
957
958         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
959
960 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * output_latex.C (TeXEnvironment): make sure that there is a line
963         break before \end{foo} for the last paragraph of a document
964         (TeXOnePar): if the paragraph is at the end of the document (or
965         inset) and the language has to be reset, then make sure that the
966         line break is _before_ the language command, not after (fixes bug
967         1225); also make sure that the language reset command is the first
968         thing after the paragraph (to ensure proper nesting of
969         environments and thus fix bug 1404)
970
971 2004-04-21  John Levon  <levon@movementarian.org>
972
973         * ToolbarBackend.h:
974         * ToolbarBackend.C: make "name" be a programmatic name
975         and a gui_name field.
976
977         * lyxfunc.C: display the minibuffer on M-x
978
979 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
982         (bug 1526)
983
984 2004-04-19  Angus Leeming  <leeming@lyx.org>
985
986         * BufferView_pimpl.C (setBuffer): changed preview interface.
987
988         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
989         possible values.
990
991 2004-04-19  John Levon  <levon@movementarian.org>
992
993         * BufferView_pimpl.C:
994         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
995
996 2004-04-05  Angus Leeming  <leeming@lyx.org>
997
998         * text.C (redoParagraphs): add call to updateCounters(), thereby
999         fixing the missing "Figure #:" label from the caption of a
1000         figure float.
1001
1002 2004-04-13  Angus Leeming  <leeming@lyx.org>
1003
1004         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1005         cursor is clicked out of an inset.
1006
1007 2004-04-13  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1010         than an InsetOld one.
1011
1012 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1013
1014         * format.[Ch]: add editor to Format
1015         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1016         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1017
1018 2004-04-08  André Pönitz  <poenitz@gmx.net>
1019
1020         * metricsinfo.h: remove PainterInfo::width member
1021
1022 2004-04-08  Angus Leeming  <leeming@lyx.org>
1023
1024         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1025         "\providecommand" rather than "\newcommand", thereby preventing
1026         clashes with packages that define "\boldsymbol" themselves.
1027         Eg, beamer.
1028
1029 2004-04-08  Angus Leeming  <leeming@lyx.org>
1030
1031         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1032         thereby squashing an unnecessary warning.
1033
1034 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1037         setBuffer()
1038
1039 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1040
1041         * BufferView.C (setCursor): call redoParagraph (some insets could
1042         have been opened)
1043         (putSelectionAt): remove the 'double update' trick
1044
1045         * BufferView_pimpl.C (fitCursor): call refreshPar
1046         (workAreaDispatch): remove an uneeded update call
1047         (dispatch): remove some manual update calls
1048
1049         * cursor.[Ch]: remove cached_y_, updatePos
1050         (selHandle): set noUpdate when appropriate
1051
1052         * lyxfunc.C (dispatch): track if we need an update
1053
1054         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1055
1056         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1057         (paintSelection): cheap optimization, do not call cursorX when not
1058         needed
1059         (paintPars): change signature
1060         (refreshPar): add
1061         (paintText): adjust
1062         (paintTextInset): adjust
1063
1064         * text.C: adjust
1065
1066 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * lengthcommon.C: compilation fix: remove explicit array size from
1069         unit_name[] and friends
1070
1071 2004-04-05  Angus Leeming  <leeming@lyx.org>
1072
1073         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1074
1075         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1076         present only for the preferences dialog.
1077         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1078
1079 2004-04-05  Angus Leeming  <leeming@lyx.org>
1080
1081         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1082         to enable the frontends to export changes to lyxrc correctly.
1083
1084         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1085
1086 2004-04-07  André Pönitz  <poenitz@gmx.net>
1087
1088         * cursor.[Ch] (selClear, adjust): remove math
1089
1090         * cursor_slice.C: more agressive assert
1091
1092         * lyxfunc.C:
1093         * BufferView_pimpl.C: rework mouse event dispatch
1094
1095         * dociterator.C:
1096         * paragraph.C:
1097         * text2.C:
1098         * text3.C: adjust
1099
1100 2004-04-05  André Pönitz  <poenitz@gmx.net>
1101
1102         * cursor.[Ch] (valign, halign...): remove unneeded functions
1103
1104 2004-04-05  Angus Leeming  <leeming@lyx.org>
1105
1106         * lyxlength.[Ch] (unit_name et al.): const-correct.
1107
1108 2004-04-05  Angus Leeming  <leeming@lyx.org>
1109
1110         * BufferView_pimpl.C:
1111         * buffer.C:
1112         * counters.C:
1113         * cursor.C:
1114         * lyxfunc.C
1115         * paragraph.C:
1116         * pariterator.C:
1117         * text.C:
1118         * text2.C:
1119         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1120
1121 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1122
1123         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1124
1125 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1126
1127         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1128         * BufferView_pimpl.[Ch] (getStatus)
1129         * BufferView.[Ch] (getStatus): add
1130         * lyxfunc.C (getStatus): move lfuns handled in
1131         BufferView::dispatch to te function above
1132         * Cursor.C (setSelection): set selection() = true
1133
1134 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1137
1138 2004-03-31  Angus Leeming  <leeming@lyx.org>
1139
1140         * lyxfunc.C (dispatch): Fall through to the generic
1141         Dialogs::show("preamble").
1142
1143 2004-03-31  Angus Leeming  <leeming@lyx.org>
1144
1145         * lyxfunc.C (dispatch): Fall through to the generic
1146         Dialogs::show("spellchecker").
1147
1148 2004-03-31  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1151         preferences dialog.
1152
1153 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1154
1155         * BufferView.C
1156         * cursor.[Ch]
1157         * dociterator.[Ch]:
1158         * insetiterator.[Ch]:
1159         * lyxfind.C:
1160         * lyxfunc.C:
1161         * pariterator.[Ch]:
1162         * text2.C:
1163         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1164
1165 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1166
1167         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1168         insets where we are putting the cursor.
1169
1170 2004-03-31  Angus Leeming  <leeming@lyx.org>
1171
1172         * lfuns.h:
1173         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1174
1175         * lyxrc.[Ch] (read, write): overloaded member functions taking
1176         a std::[io]stream arguments.
1177
1178         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1179
1180 2004-03-31  Angus Leeming  <leeming@lyx.org>
1181
1182         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1183         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1184
1185         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1186         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1187
1188 2004-03-31  Angus Leeming  <leeming@lyx.org>
1189
1190         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1191         the LFUN_ALL_INSETS_TOGGLE code.
1192
1193 2004-03-30  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1196         has died. Fall through to the generic Dialogs::show("document").
1197
1198 2004-03-30  Angus Leeming  <leeming@lyx.org>
1199
1200         * lfuns.h:
1201         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1202         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1203
1204         * lyxfunc.C (getStatus, dispatch): define the actions for these
1205         lfuns. Little more than a cut and pste job from ControlDocument.C
1206
1207         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1208
1209 2004-03-30  Angus Leeming  <leeming@lyx.org>
1210
1211         * lfuns.h:
1212         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1213         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1214
1215         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1216         open/closed state of ollapsable insets. Usage:
1217
1218         all-inset-toggle <state> <name>, where
1219         <state> == "open" || "closed" || "toggle" and
1220         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1221
1222         * lyxtext.h, text2.C (toggleInset): removed.
1223
1224         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1225         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1226         now passes LFUN_INSET_TOGGLE to the found inset.
1227
1228         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1229         is now invoked as "all-insets-toggle toggle branch".
1230
1231 2004-03-30  Angus Leeming  <leeming@lyx.org>
1232
1233         * dociterator.C:
1234         * insetiterator.C:
1235         * pariterator.[Ch]: added/corrected header blurb.
1236
1237 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * dociterator.[Ch]: add an inset_ member
1240         (backwardPos): implemented
1241         (backwardPos, forwardPos): use inset_ when the stack is empty.
1242         (doc_iterator_begin, doc_iterator_end): implemented
1243         * pariterator.[Ch]: adjust, add begin, end
1244         * insetiterator.[Ch]: adjust, add begin, end
1245         * cursor.C:
1246         * document.C:
1247         * BufferView.C:
1248         * BufferView_pimpl.C:
1249         * CutAndPaste.C: adjust
1250
1251 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1252
1253         * buffer.C: increment file format to 232.
1254         * LaTeXFeatures.C: add bibtopic package.
1255         * bufferparams.[Ch]: param \use_bibtopic.
1256
1257         * lyxrc.[Ch]: add lyxrc bibtex_command
1258         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1259
1260         * buffer.C: increment file format to 231.
1261
1262 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * dociterator.C: implement forwardPar
1265         * iterators.[Ch]: remove, replaced by
1266         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1267         * BufferView.C:
1268         * BufferView_pimpl.C:
1269         * CutAndPaste.C:
1270         * buffer.C:
1271         * bufferview_funcs.C:
1272         * cursor.C:
1273         * lyxfind.C
1274         * lyxfunc.C
1275         * paragraph_funcs.C
1276         * toc.C:
1277         * Makefile.am: adjust
1278
1279 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * CutAndPaste.C (pasteSelection): fix 2 crashes
1282         (eraseSelection): fix a crash
1283         * paragraph_funcs.C: remove a warning
1284
1285 2004-03-28  Angus Leeming  <leeming@lyx.org>
1286
1287         * lfuns.h:
1288         * LyXAction.C (init): new LFUN_PRINT.
1289
1290         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1291
1292 2004-03-27  Angus Leeming  <leeming@lyx.org>
1293
1294         * lfuns.h:
1295         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1296
1297         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1298
1299 2004-03-27  Angus Leeming  <leeming@lyx.org>
1300
1301         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1302         insetlist always contains non-null pointers to insets.
1303
1304 2004-03-26  Angus Leeming  <leeming@lyx.org>
1305
1306         * src/BufferView_pimpl.C:
1307         * src/CutAndPaste.C:
1308         * src/buffer.C:
1309         * src/iterators.C:
1310         * src/output_plaintext.C:
1311         * src/outputparams.h:
1312         * src/paragraph_funcs.C:
1313         * src/rowpainter.C:
1314         * src/text.C:
1315         * src/text2.C:
1316         * src/frontends/controllers/ControlErrorList.C:
1317         * src/frontends/gtk/FileDialogPrivate.C:
1318         * src/frontends/gtk/GPainter.C:
1319         * src/frontends/gtk/GToolbar.C:
1320         * src/frontends/qt2/QRef.C:
1321         * src/mathed/math_scriptinset.C: squash compiler warnings.
1322
1323 2004-03-26  Angus Leeming  <leeming@lyx.org>
1324
1325         * ispell.C (LaunchIspell::start):
1326         * lyx_cb.C (AutoSaveBuffer::start):
1327         invoke run(DontWait) rather than runNonBlocking().
1328
1329 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1330
1331         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1332
1333 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * kbsequence.C (print): adjust
1336
1337         * kbmap.C (printKeySym): rename and change signature
1338         (printKey): use LyXKeySym::print()
1339
1340 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1341
1342         * undo.C: add using std::advance to compile for stlport
1343
1344 2004-03-24  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1347         it leads to a crash when no buffer is present.
1348
1349 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350             Martin Vermeer  <martin.vermeer@hut.fi>
1351
1352         * lyxfunc.C (dispatch):
1353         * bufferparams.C (readToken): use the new LColor::setColor
1354
1355         * LColor.[Ch] (setColor): new version that takes two strings as
1356         argument and creates a new color entry if necessary
1357
1358 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1359
1360         * buffer.C (makeLaTeXFile): if the main latex file that is
1361         processed is usually a subdocument of some master, then pretend
1362         for a while that it is actually the master
1363
1364 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1365
1366         * buffer.C (getLabelList):
1367         (getBibkeyList): use getMasterBuffer()
1368         (getMasterBuffer): new method. Returns the main document in the
1369         case where one is using included documents.
1370
1371 2004-03-25  André Pönitz  <poenitz@gmx.net>
1372
1373         * Makefile.am:
1374         * iterators.[Ch]:
1375         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1376
1377         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1378
1379         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1380         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1381
1382         * ParameterStruct.h: merge with ParagraphParameters
1383
1384         * lyxtext.h: remove LyXText::parOffset() and getPar()
1385
1386         * text3.C: Remove all 'manual' update calls. We do now one per user
1387         interaction which is completely sufficient.
1388
1389         * Bidi.C:
1390         * BufferView.[Ch]:
1391         * BufferView_pimpl.C:
1392         * FontIterator.[Ch]:
1393         * MenuBackend.C:
1394         * ParagraphParameters.[Ch]:
1395         * buffer.C:
1396         * buffer.h:
1397         * bufferlist.C:
1398         * cursor.[Ch]:
1399         * cursor_slice.[Ch]:
1400         * dociterator.[Ch]:
1401         * errorlist.[Ch]:
1402         * factory.C:
1403         * lfuns.h:
1404         * lyxfind.C:
1405         * lyxfunc.C:
1406         * output_docbook.[Ch]:
1407         * output_latex.[Ch]:
1408         * output_linuxdoc.[Ch]:
1409         * output_plaintext.[Ch]:
1410         * paragraph.[Ch]:
1411         * paragraph_funcs.[Ch]:
1412         * paragraph_pimpl.[Ch]:
1413         * rowpainter.C:
1414         * tabular.[Ch]:
1415         * text.C:
1416         * text2.C:
1417         * toc.C:
1418         * undo.[Ch]: adjust
1419
1420         * frontends/controllers/ControlDocument.C:
1421         * frontends/controllers/ControlErrorList.C:
1422         * frontends/controllers/ControlSpellchecker.C:
1423         * insets/inset.C:
1424         * insets/inset.h:
1425         * insets/insetbase.h:
1426         * insets/insetbibitem.C:
1427         * insets/insetbox.C:
1428         * insets/insetbranch.C:
1429         * insets/insetcaption.C:
1430         * insets/insetcharstyle.C:
1431         * insets/insetcharstyle.h:
1432         * insets/insetcollapsable.C:
1433         * insets/insetcollapsable.h:
1434         * insets/insetert.C:
1435         * insets/insetfloat.C:
1436         * insets/insetfoot.C:
1437         * insets/insetmarginal.C:
1438         * insets/insetnote.C:
1439         * insets/insetoptarg.C:
1440         * insets/insettabular.C:
1441         * insets/insettext.C:
1442         * insets/insettext.h:
1443         * insets/insetwrap.C:
1444         * mathed/math_mboxinset.C:
1445         * mathed/math_nestinset.C:
1446         * mathed/math_scriptinset.C:
1447         * mathed/math_scriptinset.h:
1448         * support/types.h:
1449
1450 2004-03-24  Angus Leeming  <leeming@lyx.org>
1451
1452         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1453         deal with any child processes that have finished but are waiting to
1454         communicate this fact to the rest of LyX.
1455
1456 2004-03-24  Angus Leeming  <leeming@lyx.org>
1457
1458         64-bit compile fixes.
1459
1460         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1461         (c-tor): pass lyx::pos_types rather than ints.
1462
1463         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1464         lyx::pos_type.
1465
1466         * text.C (Delete): compile fix.
1467         (getPar): ensure that function declaration is the same as that in
1468         the header file.
1469
1470 2004-03-23  Angus Leeming  <leeming@lyx.org>
1471
1472         * ispell.C (LaunchIspell):
1473         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1474         a boost::shred_ptr rather than a std::auto_ptr.
1475
1476 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1477
1478         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1479         handle LFUN_FILE_INSERT_*
1480
1481         * lyxrc.C (setDefaults, getDescription, output, read):
1482         * lyxrc.h: remove ps_command
1483
1484 2004-03-22  Angus Leeming  <leeming@lyx.org>
1485
1486         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1487         Ensure that error_handler is processed once only and that all data
1488         is saved before attempting to output any warning messages.
1489
1490         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1491
1492 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1495
1496 2004-03-19  André Pönitz  <poenitz@gmx.net>
1497
1498         * cursor.[Ch] (reset): take main text inset as argument
1499
1500         * BufferView: adjust
1501         * BufferView_pimpl.C: adjust
1502
1503         * paragraph.[Ch]: fix completely broken operator=()
1504
1505 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * LColor.C (getFromLyXName): make sure that the color name is used
1508         as lowercase.
1509
1510 2004-03-17  Angus Leeming  <leeming@lyx.org>
1511
1512         * lfuns.h:
1513         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1514
1515         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1516         dialog and to kill a forked process.
1517
1518 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1519
1520         * text2.C (setCursorFromCoordinates): fix font problem
1521
1522 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1523
1524         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1525         bogus "rebuild cursor" code
1526
1527 2004-03-11  André Pönitz  <poenitz@gmx.net>
1528
1529         * buffer.[Ch]: use InsetText instead of LyXText as container for
1530         the main lyx text.
1531
1532         * dociterator.[Ch]: drop the BufferView * member which is not needed
1533         anymore after the change to buffer.C
1534
1535         * paragraph_funcs.C:
1536         * text.C:
1537         * text2.C:
1538         * BufferView.[Ch]:
1539         * BufferView_pimpl.[Ch]:
1540         * cursor.[Ch]:
1541         * cursor_slice.[Ch]: adjust
1542
1543         * text3.C: fix bug in mathDispatch
1544
1545 2004-03-08  André Pönitz  <poenitz@gmx.net>
1546
1547         * undo.[Ch]: use 'StableDocumentIterator' as base for
1548         the Undo struct.
1549
1550 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1551
1552         * LaTeXFeatures.C:
1553         * bufferparams.[Ch]: add jurabib support and param.
1554
1555         * LaTeX.C: add FIXME/comment.
1556
1557 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1558
1559         * buffer.C: increment file format to 230.
1560
1561 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * cursor.C (dispatch): avoid infinite loops
1564
1565 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * rowpainter.C (paintSelection): fix x coordinates
1568
1569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * text.C (rowBreakPoint): fix breaking before displayed insets
1572
1573 2004-03-01  André Pönitz  <poenitz@gmx.net>
1574
1575         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1576
1577         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1578
1579         * Makefile.am:
1580         * BufferView.C:
1581         * BufferView_pimpl.C:
1582         * buffer.C:
1583         * lyxfind.C:
1584         * lyxfunc.C:
1585         * text.C:
1586         * text2.C:
1587         * text3.C: adjust
1588
1589 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1590
1591         * lyxtext.h:
1592         * text.C:
1593         * text2.C:
1594         * rowpainter.C:
1595         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1596         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1597
1598 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * Bidi.[Ch] (computeTables): const correctness
1601         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1602         fill_hfill, fill_label_hfill and x from Row
1603         * lyxtext.h: prepareToPrint returns a RowMetrics
1604         * rowPainter.C: adjust
1605         * text.C (prepareToPrint): use width, not textWidth. adjust
1606         (redoParagraphInternal, cursorX): adjust
1607         * text2.C (getColumnNearX): adjust
1608         (init): put a default value to the top LyXText::width
1609
1610 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1613
1614 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * lyxtext.h: add FontIterator class
1617
1618         * text.C (FontIterator, operator*, operator->, operator++): add
1619         (rowBreakPoint, setRowWidth): adjust (fixing a
1620         rebreaking bug)
1621
1622 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * BufferView_pimpl.C (workAreaDispatch): allow also
1625         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1626
1627 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1628
1629         * text.C (rowBreakPoint): fix a bug showing with very large insets
1630
1631 2004-02-25  André Pönitz  <poenitz@gmx.net>
1632
1633         * text3.C:
1634         * cursor.[Ch]: move some mathed specific code to mathed
1635
1636 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1637
1638         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1639         use_tempdir in preferences
1640         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1641         tempfile creation
1642         * lyx_main.C: ensure that tempdir is valid
1643         * lyxlex.h: correct typo
1644         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1645         * paragraph.[Ch] (isMultiLingual): make const
1646         * cursor.[Ch] (openable): make const
1647
1648 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1649
1650         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1651
1652 2004-02-20  André Pönitz  <poenitz@gmx.net>
1653
1654         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1655
1656         * cursor.[Ch]: prepare for localized getStatus()
1657
1658         * lyxtext.h:
1659         * tabular.C:
1660         * text.C:
1661         * text2.C:
1662         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1663
1664 2004-02-20  André Pönitz  <poenitz@gmx.net>
1665
1666         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1667
1668 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * text2.C (setCursorFromCoordinates): switch to absolute coords
1671         (cursorUp): adjust
1672         (cursorDown): adjust
1673         * text3.C (dispatch): adjust
1674
1675 2004-02-16  André Pönitz  <poenitz@gmx.net>
1676
1677         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1678           insets/ChangeLog)
1679
1680         * cursor_slice.[Ch]: remove unneeded acessor function
1681
1682         * lyxtext.h: rename rtl() to isRTL()
1683
1684         * rowpainter.C:
1685         * tabular.C:
1686         * text.C:
1687         * text2.C:
1688         * text3.C: adjust
1689
1690 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * rowpainter.C (paintSelection): coord fix
1693
1694 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1695
1696         * Spacing.C: compile fix
1697
1698 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * cursor.C (dispatch): restore current_ before returning
1701
1702 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * text2.C (cursorUp, cursorDown): fix coords
1705         (moveUp): fix crash
1706
1707 2004-02-12  André Pönitz  <poenitz@gmx.net>
1708
1709         * lyxtext.h:
1710         * text.C:
1711         * text2.C:
1712         * text3.C: add LCursor & parameter to most cursor movement functions
1713           remove usage of LyXText::cursorRow() and cursorPar()
1714
1715         * cursor.[Ch]: add textRow() needed members
1716
1717         * BufferView.C:
1718         * BufferView_pimpl.C:
1719         * paragraph.[Ch]:
1720         * BufferView.C:
1721         * BufferView_pimpl.C: adjust
1722
1723 2004-02-11  André Pönitz  <poenitz@gmx.net>
1724
1725         * lyxfunc.C:
1726         * BufferView.[Ch]:
1727         * BufferView_pimpl.C: shift undo/redo handling
1728
1729         * cursor.[Ch]: fix mathed crash
1730
1731         * lyxfind.C:
1732         * lyxtext.h: move selectionAsText to LCursor
1733
1734         * output_latex.C:
1735         * paragraph.C:
1736         * text.C:
1737         * text2.C:
1738         * text3.C: adjust
1739
1740         * rowpainter.C: fix excessive drawing
1741
1742 2004-02-06  André Pönitz  <poenitz@gmx.net>
1743
1744         * BufferView.[Ch]:
1745         * BufferView_pimpl.[Ch]:
1746         * text3.C: move some text specific LFUN handling
1747
1748 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1749
1750         * text3.C (checkInsetHit): adjust coords
1751         * text2.C (getColumnNearX): adjust coords
1752         (edit): adjust coords
1753         * text.C (getRowNearY): add two asserts
1754
1755 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * converter.C:
1758         * format.C: add using std::distance to compile on gcc 2.95/stlport
1759
1760 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1761
1762         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1763
1764 2004-02-04  André Pönitz  <poenitz@gmx.net>
1765
1766         * BufferView.[Ch] (insertInset):
1767         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1768
1769         * text2.C:
1770         * text3.C: adjust
1771
1772 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1775         on the default clause of the switch
1776         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1777         wasn't catched by LCursor::dispatch
1778
1779 2004-02-03  André Pönitz  <poenitz@gmx.net>
1780
1781         * BufferView.C:
1782         * cursor.[Ch]: some additional asserts
1783
1784         * undo.[Ch]: remove LyXText dependency in interface
1785
1786         * lyxfunc.C: adjust
1787
1788         * lyxtext.h (firstPar, lastPar): remove dead functions
1789
1790         * text.C:
1791         * text2.C:
1792         * text3.C:
1793         * paragraph.[Ch]: adjust
1794
1795 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * lyxfind.C (find): fix argument order in call to ::find
1798
1799 2004-02-02  André Pönitz  <poenitz@gmx.net>
1800
1801         * cursor.[Ch]: remove direct access to anchor
1802
1803         * text.C: remove findText() hack
1804
1805 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1806
1807         * iterators.[Ch] (lockPath): remove in favour of...
1808         * BufferView.[Ch] (setCursor): this addition
1809         * BufferView.C (putSelectionAt): adjust
1810         * undo.C (performUndoOrRedo): adjust
1811         * lyxfunc.C (dispatch): adjust
1812
1813 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1814
1815         * iterators.C (lockPath): add a missing slice
1816         * undo.C (performUndoOrRedo): remove redundant positioning code
1817
1818 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1819
1820         * vc-backend.C (scanMaster): ";" -> ';'
1821
1822 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1823
1824         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1825         std::binary_function
1826
1827         * lyxtextclass.C (compare_name): rename to...
1828         (LayoutNamesEqual): ...this
1829
1830         * lyxlex_pimpl.C (compare_tags): inherit from
1831         std::binary_function, put back into anon namespace
1832
1833         * lyxfind.C (MatchString): inherig from std::binary_function
1834         (findChange): use empty() istead of !size()
1835
1836         * format.C (FormatNamesEqual): new functor
1837         (getFormat): use it
1838         (getNumber): use it
1839         (add): use it
1840         (erase): use it
1841         (setViewer): use it
1842
1843         * converter.C (compare_Converter): rename to...
1844         (ConverterEqual): ...this, and fixup a bit.
1845         (getConverter): use it, and make function const
1846         (getNumber): use it, and make function const
1847         (add): use it
1848         (erase): use it:
1849
1850         * bufferlist.C: add using boost::bind
1851
1852         * MenuBackend.C (MenuNamesEqual): new functor
1853         (hasMenu): use it, and make function const
1854         (hasSubmenu): use nested bind to get rid of compare_memfun.
1855
1856 2004-01-30  André Pönitz  <poenitz@gmx.net>
1857
1858         * BufferView_pimpl.C:
1859         * cursor.C:
1860         * cursor.h:
1861         * cursor_slice.[Ch]:
1862         * lyxfunc.C:
1863         * lyxtext.h:
1864         * paragraph_funcs.C:
1865         * paragraph_funcs.h:
1866         * rowpainter.C:
1867         * text.C:
1868         * text2.C:
1869         * text3.C: move some of the edit(x,y) handling to the insets
1870         some coordinate changes.
1871
1872 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1873
1874         * text.C: add using statements for std::advance and std::distance
1875
1876         * paragraph.C: add using statement for std::distance
1877
1878         * lyxfind.C: add using statement for std::advance
1879
1880         * cursor.C (region): remove std:: from swap
1881         (openable): use nucleus in stead of operator->
1882
1883         * BufferView.C: add using statements for std::distance and std::swap
1884
1885 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1886
1887         * iterators.C: Remove the pimple, move the needed structures to
1888         the header file. Create accessor for the positions stack.
1889         (asPosIterator): remove function
1890
1891         * PosIterator.C (PosIterator): move constructors to top of file
1892         (PosIterator): reimplement the constructor taking a ParIterator in
1893         terms of setFrom.
1894         (setFrom): new function
1895         (operator!=): inline it
1896
1897 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * lyxfind.C (replaceAll): use std::advance
1900
1901         * iterators.h: inherit from std::iterator.
1902
1903         * PosIterator.C (advance, distance): remove
1904         * PosIterator.h: interit from std::iterator.
1905
1906 2004-01-26  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView.[Ch]:
1909         * BufferView_pimpl.[Ch]:
1910         * InsetList.[Ch]:
1911         * PosIterator.[Ch]:
1912         * buffer.h:
1913         * bufferview_funcs.C:
1914         * cursor.[Ch]:
1915         * cursor_slice.h:
1916         * factory.[Ch]:
1917         * iterators.[Ch]:
1918         * lyxfind.C:
1919         * lyxfunc.C:
1920         * lyxtext.h:
1921         * output_docbook.C:
1922         * output_latex.C:
1923         * output_linuxdoc.C:
1924         * output_plaintext.C:
1925         * paragraph.[Ch]:
1926         * paragraph_funcs.[Ch]:
1927         * paragraph_pimpl.[Ch]:
1928         * rowpainter.C:
1929         * tabular.C:
1930         * tabular.h:
1931         * text.C:
1932         * text2.C:
1933         * text3.C: more IU:  dumps most of the rest of the mathcursor
1934     implementation into cursor.[Ch]; "globalize" a bit of it.
1935
1936 2004-01-25  Angus Leeming  <leeming@lyx.org>
1937
1938         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1939
1940 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1941
1942         * LaTeXFeatures.h: add nice_ and nice() const
1943         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1944
1945 2004-01-20  André Pönitz  <poenitz@gmx.net>
1946
1947         * BufferView.[Ch]:
1948         * BufferView_pimpl.C:
1949         * PosIterator.C:
1950         * bufferview_funcs.C:
1951         * cursor.[Ch]:
1952         * cursor_slice.[Ch]:
1953         * factory.C:
1954         * iterators.C:
1955         * lyx_cb.C:
1956         * lyxfind.C:
1957         * lyxfunc.C:
1958         * lyxtext.h:
1959         * rowpainter.C:
1960         * text.C:
1961         * text2.C:
1962         * text3.C:
1963         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1964           LCursor and mathcursor parts to LCursor and InsetBase.
1965
1966 2004-01-15  André Pönitz  <poenitz@gmx.net>
1967
1968         * cursor_slice.[Ch]: add a few covienience functions
1969
1970         * funcrequest.[Ch]: remove BufferView * member
1971
1972         * BufferView_pimpl.C:
1973         * cursor.C:
1974         * factory.[Ch]:
1975         * lyxfind.[Ch]:
1976         * lyxfunc.C:
1977         * lyxtext.h:
1978         * text3.C:
1979         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1980
1981 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1982
1983         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1984         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1985
1986 2004-01-13  André Pönitz  <poenitz@gmx.net>
1987
1988         * textcursor.[Ch]:
1989         * lyxtext.h: hide cursor and selection anchor behind accessor function
1990
1991         * BufferView.C:
1992         * BufferView_pimpl.[Ch]:
1993         * PosIterator.C:
1994         * bufferview_funcs.C:
1995         * cursor.h:
1996         * lyxfind.C:
1997         * lyxfunc.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C:
2001         * undo.C: adjust
2002
2003         * cursor.h:
2004         * cursor_slice.[Ch]: some integer type changes for inset unification
2005
2006         * lyxcursor.[hC]: remove, it's CursorSlice now.
2007
2008         * Makefile.am:
2009         * BufferView_pimpl.[Ch]:
2010         * bufferview_funcs.C:
2011         * cursor_slice.C:
2012         * lyxtext.h:
2013         * text.C:
2014         * text2.C:
2015         * text3.C:
2016         * textcursor.[Ch]: adjust
2017
2018 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * text2.C (undoSpan): add and use
2021         * text.C (breakParagraph): use undoSpan (fix bug 578)
2022         * lyxtext.h: adjust
2023
2024 2004-01-08  Angus Leeming  <leeming@lyx.org>
2025
2026         * BufferView_pimpl.C (MenuInsertLyXFile):
2027         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2028         * lyxfunc.C (menuNew, open, doImport):
2029         FileFilterList change to the FileDialog open and save functions.
2030
2031 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2032
2033         * ShareContainer.h: make isEqual and isUnique adaptable
2034
2035         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2036
2037 2004-01-07  Angus Leeming  <leeming@lyx.org>
2038
2039         * LyXAction.C:
2040         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2041
2042         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2043
2044         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2045         functions replacing find, replace and replaceAll.
2046
2047         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2048         LFUN_WORDFIND(FORWARD|BACKWARD).
2049
2050 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * text.C (breakParagraph): remove an outdated #warning
2053
2054 2004-01-07  André Pönitz  <poenitz@gmx.net>
2055
2056         * lyxfind.C: somewhat clearer logic
2057
2058         * text.C: prevent crash in cursorX on unitialized row cache
2059
2060 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * lyxcursor.[Ch] (operator>): add
2063         * textcursor.C (selStart, selEnd): use std::min and std::max
2064
2065 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2066
2067         * Chktex.C: include boost/format.hpp
2068
2069 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2070
2071         * InsetList.C: replace functor MathcIt with adaptable functor
2072         InsetTablePosLess
2073         (insetIterator): modify accordingly
2074
2075         * BranchList.h: move the BranchNamesEqual functor here from...
2076         * BranchList.C: ... to here
2077
2078         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2079         SameName and match.
2080         (add): replace a finding loop with std::find_if.
2081
2082 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * output_docbook.C: moving LatexParam functionality into
2085         .layout files
2086
2087 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2088
2089         * buffer.C: increment format to 229.
2090
2091 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2092
2093         * LaTeXFeatures.C:
2094         * lyx_sty.[Ch]: remove minipageindent_def
2095
2096         * LyXAction.C:
2097         * factory.C:
2098         * lfuns.h:
2099         * lyxfunc.C:
2100         * text3.C: remove LFUN_INSET_MINIPAGE
2101
2102 2003-12-28  Angus Leeming  <leeming@lyx.org>
2103
2104         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2105
2106 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * text2.C (setParagraph): fix off-by-one crash
2109
2110 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * output_docbook.C: header stuff for AGU
2113
2114 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * text2.C (redoCursor): remove
2117         * text.C:
2118         * text3.C:
2119         * BufferView_pimpl.C: remove calls to redoCursor and
2120         setCursor(cursor.par(), cursor.pos()) all around
2121
2122 2003-12-15  Angus Leeming  <leeming@lyx.org>
2123
2124         * buffer.C: up the format to 228.
2125
2126 2003-12-15  André Pönitz  <poenitz@gmx.net>
2127
2128         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2129         slices
2130
2131         * Makefile.am:
2132
2133         * BufferView_pimpl.C:
2134         * cursor.[Ch]:
2135         * lyxcursor.[Ch]:
2136         * rowpainter.[Ch]:
2137         * lyxtext.h:
2138         * text.C:
2139         * text2.C:
2140         * text3.C: adjust
2141
2142 2003-12-15  Angus Leeming  <leeming@lyx.org>
2143
2144         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2145         than getFromGUIName to manipulate the color.
2146
2147 2003-12-14  Angus Leeming  <leeming@lyx.org>
2148
2149         * BranchList.[Ch]: minimize the API.
2150         (Branch::getBranch, getColor): now return a 'const &'.
2151         (Branch::setSelected) now returns a bool set to true if the
2152         selection status changes.
2153         (BranchList::clear, size, getColor, setColor, setSelected,
2154         allBranches, allSelected, separator): removed.
2155         (BranchList::find): new functions, returning the Branch with
2156         the given name.
2157         (BranchList::add, remove): return a bool indicating that
2158         the operation was successful.
2159
2160         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2161         new InsetBranch::isBranchSlected member function.
2162
2163         * LColor.[Ch]: mimimize the API.
2164         (fill): renamed as addColor and made private.
2165         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2166         versions of these functions taking a string arg have been removed.
2167
2168         * bufferparams.C (readToken):
2169         * lyxfunc.C (dispatch):
2170         * lyxrc.C (read): changes due to the altered BranchList and
2171         LColor APIs.
2172
2173         * factory.C (createInset, readInset): changes due to altered
2174         InsetBranch c-tor.
2175
2176 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2177
2178         * factory.C:
2179         * lyxfunc.C: remove insetminipage. "minipage-insert"
2180         now produces a frameless minipage box inset.
2181
2182 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * textcursor.[Ch] (selStart,selEnd): add new methods
2185         remove selection::start, end, use LyXCursor::operator<
2186         * lyxcursor.[Ch] (operator<): add
2187         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2188         * BufferView.[Ch] (unsetXSel): add
2189         * text2.C (clearSelection): use unsetXSel,adjust
2190         * text.C: adjust
2191         * text3.C: adjust
2192         * rowpainter.C: adjust
2193         * bufferview_funcs.C (put_selection_at): adjust
2194
2195 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2196
2197         * BufferView_pimpl.C: small coord. correction
2198
2199 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2202         dragging over the splash screen.
2203
2204 2003-12-11  Angus Leeming  <leeming@lyx.org>
2205
2206         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2207         as it is now handled in LyXText::dispatch.
2208
2209         * text3.C (doInsertInset): remove a level of nesting.
2210
2211 2003-12-11  Angus Leeming  <leeming@lyx.org>
2212
2213         * factory.C (createInset): changes due to the changed interface to
2214         InsetCommandMailer::string2params.
2215
2216 2003-12-10  Angus Leeming  <leeming@lyx.org>
2217
2218         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2219         'dialog-show-new-inset <inset name>'
2220
2221 2003-12-10  Angus Leeming  <leeming@lyx.org>
2222
2223         * buffer.C: up the format to 227.
2224
2225         * factory.C: the box inset is now identified simply by 'Box'.
2226
2227 2003-12-10  Angus Leeming  <leeming@lyx.org>
2228
2229         * buffer.C: up the format to 226.
2230
2231         * factory.C: the note inset is now identified simply by 'Note'.
2232
2233 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2234
2235         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2236         when a pit is enough. Standarize a couple of loops.
2237
2238 2003-12-05  Angus Leeming  <leeming@lyx.org>
2239
2240         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2241         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2242         data to the re-worked "log" dialog.
2243
2244 2003-12-03  André Pönitz  <poenitz@gmx.net>
2245
2246         * PosIterator.C:
2247         * iterators.C:
2248         * lyxtext.h:
2249         * output_latex.C:
2250         * paragraph_funcs.C:
2251         * text.C:
2252         * text2.C: use Inset::getText instead of Inset::getParagraph
2253
2254 2003-12-03  André Pönitz  <poenitz@gmx.net>
2255
2256         * buffer.[Ch]:
2257         * lyxtext.h:
2258         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2259         InsetText::read() as LyXText::read()
2260
2261 2003-12-02  Angus Leeming  <leeming@lyx.org>
2262
2263         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2264         type. Add a comment in the implementation that the function uses
2265         the stream's bad() function rather than fail() as the std::streams
2266         would do.
2267
2268 2003-12-02  André Pönitz  <poenitz@gmx.net>
2269
2270         * lyxlex.[Ch]: make interface more similar to std::stream
2271
2272         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2273
2274 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2275
2276         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2277
2278 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2279
2280         * vspace.[Ch]: remove VSpace::NONE
2281
2282 2003-12-01  André Pönitz  <poenitz@gmx.net>
2283
2284         * buffer.[Ch]:
2285         * lyxtext.h: move ParagraphList member to LyXText
2286         rename LyXText::ownerParagraphs to LyXText::paragraph
2287
2288         * CutAndPaste.C:
2289         * bufferview_funcs.C:
2290         * iterators.[Ch]:
2291         * lyx_cb.C:
2292         * paragraph.C:
2293         * rowpainter.C:
2294         * tabular.C:
2295         * text.C:
2296         * text2.C:
2297         * text3.C: adjust
2298
2299         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2300
2301         * undo.C: fix cursor positioning
2302
2303 2003-12-01  John Levon  <levon@movementarian.org>
2304
2305         * BufferView_pimpl.C: fix a crash on exit with
2306         a buffer open
2307
2308 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2309
2310         * BranchList.C: fix setSelected() method.
2311
2312 2003-11-28  André Pönitz  <poenitz@gmx.net>
2313
2314         * ParagraphParameters.[Ch]:
2315         * ParameterStruct.h: remove space above/below from Paragraph to
2316          InsetVSpace
2317
2318         * BufferView_pimpl.C:
2319         * factory.C:
2320         * lyxfunc.C:
2321         * lyxtext.h:
2322         * output_latex.C:
2323         * paragraph.C:
2324         * paragraph_funcs.C:
2325         * rowpainter.[Ch]:
2326         * text.C:
2327         * text2.C:
2328         * text3.C: adjust
2329
2330 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2331
2332         * factory.C: Syntax change for CharStyles
2333
2334 2003-11-28  André Pönitz  <poenitz@gmx.net>
2335
2336         * BufferView.[Ch]:
2337         * BufferView.[Ch]:
2338         * buffer.[Ch]:
2339         * buffer.[Ch]: move LyXText member
2340
2341 2003-11-28  André Pönitz  <poenitz@gmx.net>
2342
2343         * BufferView.[Ch]: make LyXText * text a private member
2344
2345         * BufferView_pimpl.C:
2346         * cursor.C:
2347         * iterators.C:
2348         * lyx_cb.C:
2349         * lyxfind.C:
2350         * lyxtext.h:
2351         * rowpainter.[Ch]:
2352         * text.C:
2353         * text2.C:
2354         * undo.C: adjust
2355
2356         * output_plaintext.C: cleanup
2357
2358 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2359
2360         * buffer.C:
2361         * lyxtextclass.[Ch]: parametrize SGML document header
2362
2363 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2364
2365         * converter.[Ch]:
2366         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2367         getFlavor().
2368
2369 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2370
2371         * text2.C (setFont): rework using PosIterator (no more recursive)
2372         (setCharFont): no more needed
2373         (setLayout): no more selection cursors fiddling (done by redoCursor)
2374         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2375         destroy remaining ones)
2376
2377 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2380         * lyxtext.h: ditto
2381         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2382         selection cursors
2383         * lyxfunc.C: adjust
2384         * text3.C: adjust + re-allow multi par depth changes
2385         * textcursor.C: simplify a bit
2386
2387 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * src/buffer.C:
2390         * src/lyxlayout.C:
2391         * src/lyxlayout.h:
2392         * src/lyxtext.h:
2393         * src/output_docbook.C:
2394         * src/output_latex.C:
2395         * src/paragraph.C:
2396         * src/paragraph.h:
2397         * src/sgml.C:
2398         * src/sgml.h:
2399         * src/text2.C: Introducing a number of tags parametrizing various
2400         XML formats that we may want to support
2401
2402 2003-11-25  André Pönitz  <poenitz@gmx.net>
2403
2404         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2405
2406         * lyxtext.h (leftMargin/rightMargin): simplify interface
2407
2408         * rowpainter.C:
2409         * text.C:
2410         * text2.C:
2411         * text3.C: adjust
2412
2413 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2414
2415         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2416         master file to any child files. Fixes bug 546.
2417
2418 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2421
2422 2003-11-24  André Pönitz  <poenitz@gmx.net>
2423
2424         * rowpainter.C: simplification
2425
2426         * text2.C (updateCounters): remove call to redoParagraph on
2427         changed labels as this is far too expensive.
2428
2429 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2430
2431         * converter.C (convert): fix a crash: this function gets
2432         called with buffer == 0 from importer code.
2433
2434 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2435
2436         * text3.C (cursorPrevious): make sure that we do not compare
2437         iterators form different containers.
2438         (cursorNext): ditto
2439
2440         * rowpainter.C (paintSelection): make sure that we do not compare
2441         iterators from different containers.
2442
2443         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2444         iterators from different ParagraphList containers.
2445         [NEXT] ditto
2446
2447         * text2.C (LyXText): change order of initialization slightly
2448         (operator=): new function. copy all variables except cache_par_
2449         (moveUp): make sure that we do not compare iterators from
2450         different ParagraphList constainers.
2451         (moveDown): ditto
2452
2453         * text.C (firstPar): new function
2454         (lastPar): new function
2455         (endPar): new function
2456
2457         * lyxtext.h: move things around and group public functions, public
2458         variables, private functions, private variables
2459
2460 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2461
2462         * factory.C: change call to InsetERT constructor to avoid
2463         additional invocation of method status
2464         * text2.C (toggleInset): remove redundant update() call
2465         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2466         instead of a Bufferview pointer
2467
2468 2003-11-21  André Pönitz  <poenitz@gmx.net>
2469
2470         * rowpainter.C: simplification
2471
2472 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2473
2474         * text3.C (dispatch): make possible to extend a word/row selection
2475         with the mouse
2476
2477 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2478
2479         * lyxtext.h: x0_,y0_ -> xo_,yo_
2480         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2481         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2482         * rowpainter.C (paintRows): paint full paragraphs
2483
2484 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2487         screen coordinates)
2488
2489 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * lyxtext.h: add x0_, y0_
2492         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2493         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2494
2495 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2496
2497         * text2.C (setCursorIntern): move the x_target update here *
2498         * text3.C: change some bv() to true/false in calls to
2499         cursorUp/Down/Right/Left
2500         * cursor.C: use helper function.
2501
2502 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2505         * paragraph_funcs.[Ch]: correct comment
2506         * rowpainter.C: do not paint selections away from bv->cursor()
2507         Fix a long standing selection painting bug.
2508         * text3.C: generalize mouse-selection code to LyXTexts other that
2509         top one
2510         * textcursor.C: do not use y coords if we can use par offsets
2511
2512 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2515         cursor position after e.g. inset insert)
2516
2517 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * lyxfind.C (replace): adjust to locking removal + some
2520         code simplification
2521
2522 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2525         of the path
2526
2527 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2528
2529         * lyxlayout.[Ch]:
2530         * output_docbook.C: XML sanitation: new layout
2531         parameters InnerTag and CommandDepth
2532
2533 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2534
2535         * BufferView_pimpl.C:
2536         * factory.C:
2537         * text3.C: Fix the insertion and modification of button-style
2538         insets
2539
2540 2003-11-13  André Pönitz  <poenitz@gmx.net>
2541
2542         * InsetList.[Ch]: remove deleteLyXText
2543
2544         * paragraph.[Ch]: cache beginOfBody position
2545
2546         * Bidi.C:
2547         * text.C:
2548         * text2.C:
2549         * text3.C: remove superfluous update() calls
2550
2551         * vspace.C: cleanup
2552
2553 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2554
2555         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2556         * BufferView.C (fitLockedInsetCursor): remove
2557         * cursor.[Ch] (getDim): add
2558         * text.C (getRowNearY): add faster version
2559         * text3.C: remove some update calls
2560
2561 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2562
2563         * LaTeXFeatures.C:
2564         * LyXAction.C:
2565         * MenuBackend.C:
2566         * MenuBackend.h:
2567         * dispatchresult.h:
2568         * factory.C:
2569         * lfuns.h:
2570         * lyxfunc.C:
2571         * lyxtextclass.C:
2572         * lyxtextclass.h:
2573         * text3.C: The Character Style /XML short element patch.
2574
2575 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2576
2577         * text3.C:
2578         * factory.C: Small step to solving 'unable to insert some insets'
2579         problem
2580
2581 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2582
2583         * cursor.[Ch] (updatePos): new function for updating the y
2584         position of the tip inset
2585         * bufferview_funcs.C (put_selection_at):
2586         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2587
2588 2003-11-11  André Pönitz  <poenitz@gmx.net>
2589
2590         * text.C: remove big comment on invalid Paragraph pointers as it is
2591         not valid anymore
2592
2593 2003-11-11  André Pönitz  <poenitz@gmx.net>
2594
2595         * text_funcs.[Ch]: merge with ...
2596
2597         * text.C: ... this
2598
2599         * lyxtext.h:
2600         * text2.C:
2601         * text3.C: adjust
2602
2603         * Makefile.am: remove text_funcs.[Ch]
2604
2605 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2606
2607         * cursor.C (getPos): return absolute cached y coord
2608
2609         * BufferView_pimpl.C (fitCursor): new simplistic code
2610         (workAreaDispatch): add a fitCursor call
2611
2612 2003-11-10  André Pönitz  <poenitz@gmx.net>
2613
2614         * BufferView.[Ch]:
2615         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2616
2617 2003-11-10  André Pönitz  <poenitz@gmx.net>
2618
2619         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2620         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2621         indicate that the cursor needs to leave an inset
2622
2623         * lyxtext.h: remove inset locking
2624
2625         * cursor.[Ch]: re-implement functionality provided by inset locking
2626
2627         * BufferView.[Ch]:
2628         * BufferView_pimpl.[Ch]:
2629         * LyXAction.C:
2630         * bufferview_funcs.[Ch]:
2631         * factory.C:
2632         * funcrequest.[Ch]:
2633         * iterators.C:
2634         * lyx_cb.C:
2635         * lyxfind.C:
2636         * lyxfunc.C:
2637         * text.C:
2638         * text2.C:
2639         * text3.C:
2640         * undo.C: adjust
2641
2642 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * PosIterator.[Ch]: replace the stack with a vector, add inset
2645         accesor
2646         * iterators.[C]: adjust
2647
2648 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2651         replaced
2652         * paragraph_funcs.C (readParToken): put the correct id in the
2653         error item, not the id of the top paragraph
2654
2655 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2658         * bufferview_funcs.C (put_selection_at): use the above
2659
2660 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2661
2662         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2663
2664 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * output_linuxdoc.h:
2667         * output_plaintext.h:
2668         * output.h:
2669         * output_docbook.h: add #include statements
2670
2671 2003-11-05  José Matos  <jamatos@lyx.org>
2672
2673         * output_docbook.[Ch]:
2674         * output_latex.[Ch]:
2675         * output_linuxdoc.[Ch]:
2676         * output_plaintext.[Ch]: New files for output formats.
2677         * output.[Ch]: New file for helper functions.
2678
2679         * buffer.[Ch]:
2680         * paragraph_funcs.[Ch]: output functions moved to new files.
2681
2682         * outputparams.h: rename of latexrunparams.h
2683
2684         * LaTeX.[Ch]:
2685         * buffer.[Ch]:
2686         * bufferlist.[Ch]:
2687         * converter.[Ch]:
2688         * exporter.C:
2689         * paragraph.[Ch]:
2690         * paragraph_funcs.[Ch]:
2691         * paragraph_pimpl.[Ch]:
2692         * tabular.[Ch]: rename ascii to plaintext
2693         and LatexRunParams to OutputParams.
2694
2695 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2696
2697         * iterators.[Ch] (text): require bv argument
2698         * undo.C (recordUndo):
2699         * lyxfunc.C (dispatch):
2700         * bufferview_funcs.C (put_selection_at): adjust
2701
2702 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2703
2704         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2705
2706 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2709         nestings
2710
2711 2003-11-04  André Pönitz  <poenitz@gmx.net>
2712
2713         * cursor.[Ch]: restructure
2714
2715         * BufferView.[Ch]:
2716         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2717
2718         * iterators.[Ch] (asCursor): remove
2719
2720         * lfuns.h: remove LFUN_INSET_EDIT
2721
2722         * lyxfunc.C:
2723         * tabular.C:
2724         * text.C:
2725         * text2.C:
2726         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2727
2728 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * lyxfind.[Ch]: complete overhaul
2731         * BufferView_pimpl.C:
2732         * lyxfunc.C: adjust
2733         * paragraph.[Ch] (insert): add
2734
2735 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * BufferView.[Ch]:
2738         * lyxtext.h:
2739         * text.C: remove dead spellcheck code
2740
2741 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * dispatchresult.h: add a val setter
2744
2745         * cursor.C (dispatch): use a tempvar for data_[i]
2746
2747 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * PosIterator.[Ch]: compile fix
2750
2751 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * text.C (cursorPar): deactivate the cursor cache
2754
2755 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2758
2759 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * text3.C (dispatch): adjust for new DisptchResult semantics.
2762
2763         * lyxfunc.C (dispatch): handle update when return from
2764         Cursor::dispatch, adjust for new DispatchResult semantics.
2765
2766         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2767         DispatchResult(true) mean to not update. Add class functions for
2768         setting dispatched and update, as well as reading.
2769
2770         * cursor.C (dispatch): don't handle update here
2771
2772 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2775         * trans_mgr.C: adjust
2776
2777         * paragraph_funcs.C (readParToken): exception safety
2778
2779         * lyxvc.h: store the vcs pointer in a scoped_ptr
2780         * lyxvc.C: adjust
2781
2782         * lyxsocket.C (serverCallback): exception safety
2783
2784         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2785
2786         * ispell.C (clone): make it return a auto_ptr
2787
2788         * factory.C (createInset): exception safety
2789         (readInset): exception safety
2790
2791         * bufferlist.C (newBuffer): exception safety
2792
2793         * Thesaurus.C (Thesaurus): use initialization for aik_
2794
2795         * MenuBackend.C (expandToc): exception safety.
2796
2797 2003-11-03  André Pönitz  <poenitz@gmx.net>
2798
2799         * buffer.C:
2800         * buffer.h:
2801         * bufferview_funcs.C: remove getInsetFromId()
2802
2803         * lyxcursor.[Ch]:
2804         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2805
2806         * lyxfunc.C:
2807         * text2.C:
2808         * text3.C: adjust
2809
2810 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * PosIterator.C (distance, advance): new
2813         * bufferview_funcs.[Ch] (put_selection_at): new
2814         * iterators.[Ch] (lockPath): new
2815
2816 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2817
2818         * iterators.[Ch] (asPosIterator): added
2819         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2820         * PosIterator.[Ch]: added
2821
2822 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * text3.C:
2825         * lyxfunc.C:
2826         * cursor.C (dispatch):
2827         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2828
2829         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2830         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2831         contructor, add a class function dispatched. Remove operator>=
2832
2833 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * debug.C: only use the default constructor for debugstream
2836         (lyxerr) here.
2837
2838         * main.C (main): include debug.h and setup the lyxerr streambuf
2839         here.
2840
2841 2003-10-31  José Matos  <jamatos@lyx.org>
2842
2843         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2844
2845         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2846         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2847         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2848         * paragraph_pimpl.C (simpleTeXSpecialC):
2849         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2850         add LatexRunParams argument.
2851
2852         * exporter.C (Export): change call accordingly.
2853
2854         * latexrunparams.h: add new member to take care of the other backends.
2855 2003-10-30  José Matos  <jamatos@lyx.org>
2856
2857         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2858         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2859         factorise code for paragraph output.
2860         * buffer.[Ch]:
2861         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2862         move functions.
2863
2864 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * text3.C (dispatch):
2867         * lyxfunc.C (dispatch):
2868         * cursor.C (dispatch):
2869         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2870
2871         * dispatchresult.h: make the dispatch_result_t ctor explicit
2872
2873 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2874
2875         * sgml.[Ch]:
2876         * buffer.C: small refactoring of docbook stuff
2877
2878 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2881         meaning.
2882
2883 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2886         operator dispatch_result_t, and operators for == != and >=
2887
2888         * cursor.C (dispatch): adjust for operator dispatch_result_t
2889         removal. comment out call to update
2890
2891         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2892
2893 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * text3.C:
2896         * text2.C:
2897         * text.C:
2898         * lyxtext.h:
2899         * lyxfunc.C:
2900         * cursor.C:
2901         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2902         (dispatch):
2903
2904         * dispatchresult.h: new file, DispatchResult broken out of
2905         insets/insetbase.h
2906
2907         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2908
2909 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2910
2911         * text.C (rowBreakPoint): put a hack inside #if 0
2912
2913 2003-10-28  André Pönitz  <poenitz@gmx.net>
2914
2915         * lyxtext.h:
2916         * metricsinfo.C:
2917         * paragraph_funcs.C:
2918         * rowpainter.C:
2919         * text.C:
2920         * text2.C: general cleanup (lots of small stuff)
2921
2922 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * text2.C (cursorEnd): simple fix to the "end key goes to one
2925         before the end on last row" bug
2926
2927 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * text.C (backspace): fix the "zombie characters"
2930
2931 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2934
2935 2003-10-27  André Pönitz  <poenitz@gmx.net>
2936
2937         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2938
2939         * factory.C: handle new InsetPagebreak, InsetLine
2940
2941         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2942         and move handling into new InsetPagebreak, InsetLine
2943
2944         * BufferView_pimpl.C:
2945         * LyXAction.C:
2946         * ParagraphParameters.C:
2947         * ParameterStruct.h:
2948         * lyxfunc.C:
2949         * lyxtext.h:
2950         * paragraph.C:
2951         * paragraph.h:
2952         * paragraph_funcs.C:
2953         * paragraph_pimpl.C:
2954         * rowpainter.C:
2955         * text.C:
2956         * text2.C:
2957         * text3.C: adjust
2958
2959 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * text.C:
2962         * lyxrow_funcs.[Ch]:
2963         * Bidi.C:
2964         * paragraph.C:
2965         * lyxtext.h:
2966         * rowpainter.C:
2967         * text2.C:
2968         * text3.C: remove lastPos uses in favour of Row::endpos
2969
2970 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * undo.C (performUndoOrRedo): fix two crashes by setting a
2973         cursor by hand and reordering some calls. Use bv->lockInset instead
2974         of inset->edit because the latter loses cursor information
2975
2976 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2979         by Martin
2980         (rowBreakPoint): fix width. change point to point + 1.
2981         Add a missing check.
2982
2983 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2984
2985         * MenuBackend.C:
2986         * lyxfunc.C: fix (at least partly) the problems
2987         with the Nav menu and headers inside branch insets
2988         reported by Kayvan
2989
2990 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2991
2992         * paragraph.C (getChar): add strong asserts
2993
2994         * lyxrow_funcs.C (lastPos): remove hideous hack
2995
2996         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2997         (fill): adjust to that (avoid an infinite loop)
2998
2999 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3000
3001         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3002
3003 2003-10-23  André Pönitz  <poenitz@gmx.net>
3004
3005         * RowList_fwd.h: change list<> to vector<> to gain speed
3006         after suggestion from Alfredo
3007
3008 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3009
3010         * lyxtext.h: move the bidi stuff from here...
3011         * text.C: and here
3012         * text2.C: and here
3013         * Bidi.[Ch]: ... to here
3014
3015 2003-10-23  André Pönitz  <poenitz@gmx.net>
3016
3017         * lyxtext.h:
3018         * text.C (isLastRow, isFirstRow): new functions
3019
3020         * paragraph.h: new width cache member
3021
3022         * rowpainter.C: replace RowList::iterator with Row & where possible
3023
3024         * lyxfunc.C: replace several view()->text with a single call
3025
3026         * toc.C: fix 'unused' warning
3027
3028 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3031         when woring with stream::pos_type
3032         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3033
3034 2003-10-22  André Pönitz  <poenitz@gmx.net>
3035
3036         * lyxtext.h:
3037         * text.C: use Row & instead of RowList::iterator
3038
3039         * lyxrow.h: rename end() to endpos()
3040
3041         * rowpainter.C:
3042         * text.C:
3043         * text2.C: adjust
3044
3045 2003-10-22  Angus Leeming  <leeming@lyx.org>
3046
3047         * buffer.[Ch] (fully_loaded): new member function, returning true
3048         only when the file has been loaded fully.
3049         Used to prevent the premature generation of previews and by the
3050         citation inset to prevent computation of the natbib-style label.
3051
3052         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3053         templates are all set up.
3054
3055         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3056
3057 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3058
3059         * text.C: fixed an "oops" in the "is a bit silly"
3060         bug fix
3061
3062 2003-10-21  André Pönitz  <poenitz@gmx.net>
3063
3064         * FuncStatus.[Ch]: small stuff, whitespace
3065
3066         * lyxfont.[Ch]: operator<<() for debug reasons
3067
3068         * lyxfunc.C:
3069         * lyxrow_funcs.C:
3070         * lyxtext.h: whitespace, spelling
3071
3072         * paragraph.C: naming of variables
3073
3074         * text.C:
3075         * text2.C: small stuff
3076
3077
3078 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3079
3080         * text.C: (1) finish off the inset display() work;
3081         (2) fix the "is a bit silly" bug (accessing char
3082         past end of par).
3083
3084 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3085
3086         * text.C: re-introduce display() for insets, fixing the
3087         various bugs (stretch of line above, math inset
3088         positioning, ...)
3089
3090 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * text.C (rightMargin): remove spurious semicolon
3093
3094         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3095         1415)
3096
3097 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3098
3099         * text3.C: fix one crash due to wrong cursor def
3100
3101 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * vc-backend.C (scanMaster): make the regex static
3104
3105         * LaTeX.C (scanAuxFile): make the regexs static
3106
3107         * text3.C (doInsertInset, dispatch, dispatch):
3108         * text2.C (cursorUp, cursorDown):
3109         * text.C (selectNextWordToSpellcheck):
3110         * BufferView_pimpl.C (dispatch):
3111         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3112
3113 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3114
3115         * lyxsocket.C: include <cerrno>
3116
3117 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * lyxfunc.C (dispatch): remove textcache stuff
3120
3121         * bufferlist.C (release): remove textcache stuff
3122         (closeAll): ditto
3123
3124         * TextCache.C: delete file
3125         * TextCache.h: delete file
3126
3127         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3128
3129         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3130         delete of the bv_->text.
3131         (resizeCurrentBuffer): remove texcache stuff
3132         (workAreaResize): ditto
3133
3134 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3137         action.
3138
3139 2003-10-16  André Pönitz  <poenitz@gmx.net>
3140
3141         * lyxrow.[Ch]:
3142         * paragraph.h:
3143         * rowpainter.C:
3144         * text.C:
3145         * text2.C:
3146         * text3.C: speed up by storing y positions per paragraph plus per-row
3147         offset instead of having a 'full' y position in the row.
3148
3149 2003-10-15  André Pönitz  <poenitz@gmx.net>
3150
3151         * iterators.[Ch]:
3152         * iterators.[Ch]:
3153         * undo.[Ch]: make undo aware of inner insets
3154
3155 2003-10-14  Angus Leeming  <leeming@lyx.org>
3156
3157         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3158         static member functions LyX::ref() and LyX::cref.
3159         (lastfiles): new accessor functions for the new lastfiles_ member var.
3160         (addLyXView, views_): add a new LyXView to the list of views_.
3161         (updateInset): loop over all LyXViews to call their own updateInset
3162         member function, returning a pointer to the Buffer owning the inset.
3163
3164         * BufferView_pimpl.C (loadLyXFile):
3165         * MenuBackend.C (expandLastfiles):
3166         * bufferlist.C (MenuWrite, QuitLyX):
3167         lastfiles is no longer a global variable.
3168         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3169
3170         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3171         static function. Access through LyX::cref().emergencyCleanup().
3172
3173 2003-10-14  André Pönitz  <poenitz@gmx.net>
3174
3175         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3176
3177         * undo.[Ch]: restoring part of 'undo in insets'
3178
3179         * Makefile.am:
3180         * undo_funcs.[Ch]: merge with undo.[Ch]
3181
3182         * tabular.C: small cleansing stuff
3183
3184 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3185
3186         * paragraph_funcs.C (readParToken): report unknown insets as error
3187         boxes. Use the outer paragraph as location (also for unknown
3188         tokens).
3189
3190         * factory.C (readInset): do not abort on reading an unknown inset.
3191         Eat it and return 0.
3192
3193 2003-10-13  Angus Leeming  <leeming@lyx.org>
3194
3195         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3196
3197         * lyxrc.C: displayTranslator is now a function,
3198         declared in GraphicsTypes.h.
3199
3200 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3201
3202         * format.C: new placeholder $$a to pass the socket address.
3203
3204         * bufferlist.[Ch]: new function getBufferFromTmp.
3205
3206         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3207           files in the temporary dir.
3208
3209 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3210
3211         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3212
3213         * Makefile.am: add lyxsocket.[Ch].
3214
3215         * lyx_main.C (error_handler): handle SIGPIPE.
3216
3217 2003-10-13  André Pönitz  <poenitz@gmx.net>
3218
3219         * BufferView_pimpl.C:
3220         * lyxtext.h:
3221         * text.C:
3222         * text2.C:
3223         * text3.C:
3224         * undo_funcs.[Ch]: use paroffset_type instead of
3225           ParagraphList::iterators to prevent multiple conversion
3226           (and get a more robust interface)
3227
3228 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3231         * lyxtext.h: ditto
3232         * text3.C (dispatch): ditto
3233
3234 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3237         move the onlyfile, use onlyfile instead of foundfile in a couple
3238         of places.
3239
3240         * DepTable.C (update): flush the error stream a bit more
3241
3242 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * lyxserver.C (callback): adjust
3245
3246         * lyxfunc.C (getStatus): add a missing brace in commented code
3247         (ensureBufferClean): reindent
3248         (dispatch): delete version taking a string
3249
3250 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * LaTeX.C (deplog): move found file handlig from here...
3253         (handleFoundFile): .. to new function here.
3254         (deplog): make sure to discover several files mentioned on the
3255         same log line.
3256
3257 2003-10-10  André Pönitz  <poenitz@gmx.net>
3258
3259         * lyxfunc.C:
3260         * lyxtext.h:
3261         * tabular.C:
3262         * text.C:
3263         * text2.C:
3264         * text3.C: fix some of the tabular crashes
3265
3266 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3267
3268         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3269
3270         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3271
3272 2003-10-09  André Pönitz  <poenitz@gmx.net>
3273
3274         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3275
3276         * BufferView.C:
3277         * BufferView_pimpl.C:
3278         * bufferview_funcs.C:
3279         * lyx_cb.C:
3280         * lyxcursor.C:
3281         * lyxfind.C:
3282         * lyxfunc.C:
3283         * lyxtext.h:
3284         * text.C:
3285         * text2.C:
3286         * text3.C:
3287         * text_funcs.[Ch]:
3288         * textcursor.[Ch]:
3289         * undo_funcs.C: adjust
3290
3291 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * text2.C (incrementItemDepth): new function, use a backtracking
3294         algorithm to discover the correct item depth.
3295         (resetEnumCounterIfNeeded): new function, use a backtracking
3296         algorithm to discover if counter reset is needed.
3297         (setCounter): use them. Simplify a bit. Add different labels for
3298         different item depths for itemize.
3299
3300         * paragraph.C (Paragraph): remove initialization of enumdepth
3301         (operator=): ditto
3302
3303         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3304         enumerate and itemize. Change the type of itemdepth to signed char.
3305
3306 2003-10-08  André Pönitz  <poenitz@gmx.net>
3307
3308         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3309           thing assignable.
3310         * text.C:
3311         * text2.C: adjust
3312
3313         * tabular.[Ch]: fix crash after 'row-insert'
3314
3315 2003-10-08  Angus Leeming  <leeming@lyx.org>
3316
3317         Fix doxygen warnings.
3318
3319         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3320         Remove CutAndPaste:: prefix from header file declaration.
3321
3322         * LColor.h (fill): remove LColor:: prefix from declaration.
3323
3324         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3325         use lyx::depth_type rather than Paragraph::depth_type so that
3326         header file and .C file match.
3327
3328         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3329
3330         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3331         * aspell.C: \file aspell_local.C -> \file aspell.C
3332         * gettext.C: \file gettext.C -> \file src/gettext.C
3333         * gettext.h: \file gettext.h -> \file src/gettext.h
3334         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3335         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3336         * text.C: \file text.C -> \file src/text.C
3337
3338         * toc.C: move comment so that doxygen is not confused.
3339
3340 2003-10-07  Angus Leeming  <leeming@lyx.org>
3341
3342         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3343
3344 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3345
3346         * aspell.C:
3347         * aspell_local.h: add forgotten std::string's.
3348
3349 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3350
3351         * LaTeXFeatures.C:
3352         * LyXAction.C:
3353         * factory.C:
3354         * lfuns.h:
3355         * lyxfunc.C:
3356         * text3.C: The Box patch. Fancybox support, minipage, parbox
3357
3358 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3359
3360         * CutAndPaste.h:
3361         * DepTable.h:
3362         * FloatList.h:
3363         * LaTeXFeatures.h:
3364         * ParagraphParameters.h:
3365         * TextCache.h:
3366         * Thesaurus.h:
3367         * bufferlist.h:
3368         * exporter.h:
3369         * importer.h:
3370         * lastfiles.h:
3371         * lyxfind.h:
3372         * lyxfont.h:
3373         * lyxlex.h:
3374         * lyxtextclasslist.h:
3375         * messages.h:
3376         * paragraph.h:
3377         * paragraph_pimpl.C:
3378         * textcursor.h: add <string> and other small fixes to make Lars'
3379         std::string patch compile with STLport.
3380
3381 2003-10-06  Angus Leeming  <leeming@lyx.org>
3382
3383         * LColor.h: Add missing #include <string>.
3384
3385 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * All most all file in all subdirs: Make <string> be the prefered
3388         way of getting to std::string, add using declarations.
3389
3390 2003-10-06  André Pönitz  <poenitz@gmx.net>
3391
3392         * metricsinfo.C: initialize LyXFont before changing attribute.
3393         (fixes the 'math in \emph is upright' bug)
3394
3395 2003-10-06  André Pönitz  <poenitz@gmx.net>
3396
3397         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3398
3399 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * graph.C:
3402         * paragraph_pimpl.C: Small fixes to build using STLport
3403
3404 2003-10-02  André Pönitz  <poenitz@gmx.net>
3405
3406         * lyxfunc.C:
3407         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3408
3409 2003-10-01  André Pönitz  <poenitz@gmx.net>
3410
3411         * factory.C: assert early
3412
3413 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * lyx_main.C: remove the global debug object
3416
3417         * debug.h: adjust for new debugstream
3418
3419         * debug.C: adjust for new debugstream and keep the global debug
3420         object here.
3421
3422 2003-09-22  Angus Leeming  <leeming@lyx.org>
3423
3424         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3425         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3426         an incomplete class LyXFont.
3427
3428 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3429
3430         * factory.C: bug fix in branches
3431
3432 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * lyxfunc.C (processKeySym): adjust
3435         (dispatch): adjust
3436         (dispatch): change arg name from ev to func, adjust
3437         (sendDispatchMessage): ditto
3438
3439         * lyx_main.C (defaultKeyBindings): adjust keybindings
3440         (deadKeyBindings): ditto
3441
3442         * kbsequence.C (addkey): return a FuncRequest
3443
3444         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3445
3446         * kbmap.C (bind): take a FuncRequest as arg, adjust
3447         (read): adjust
3448         (lookup): adjust
3449         (defkey): change to take a FuncRequest as arg, adjust
3450         (findbinding): take a FuncRequest as arg, adjust.
3451
3452         * funcrequest.h (operator=): added
3453
3454         * funcrequest.C (FuncRequest): default kb_action changed from
3455         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3456
3457         * buffer.C (dispatch): simplify
3458         (dispatch): adjust to take a FuncRequest as arg, adjust
3459
3460         * boost.C (assertion_failed): change assertion message slightly
3461
3462         * ToolbarBackend.C (read): simplify
3463
3464         * MenuBackend.C (binding): adjust call to findbinding, add a
3465         message if no binding is found.
3466         (read): simplify
3467         (expandToc): correct by adding a empty FuncRequest
3468
3469         * LyXAction.C: include <boost/assert.hpp>
3470         (isPseudoAction): delete function
3471         (LookupFunc): change name to...
3472         (lookupFunc): this. change return type to FuncRequest.
3473         (getActionName): take kb_action as arg, simplify
3474         (funcHasFlag): add an assert, simplify.
3475
3476 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * toc.C (action): return a FuncRequest, simplify
3479
3480         * lyxfunc.C (processKeySym): adjust
3481         (getStatus): delete version that takes an int.
3482         (getStatus): adjust
3483         (dispatch): delete version that takes action as int
3484         (dispatch): adjust
3485         (sendDispatchMessage): simplify and adjust
3486
3487         * funcrequest.C (getArg): take unsigned int as arg
3488
3489         * ToolbarBackend.C (read): adjust
3490         (add): delete version that takes func as a string.
3491         (getIton): take a FuncRequest as arg
3492
3493         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3494         action.
3495
3496         * MenuBackend.C (MenuItem): add a new construct that only takes a
3497         Kind, simplify the constructor use for submenus.
3498         (add): adjust
3499         (expandLastfiles): adjust
3500         (expandDocuments): adjust
3501         (expandFormats): adjust
3502         (expandFloatListInsert): adjust
3503         (expandFloatInsert): adjust
3504         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3505
3506         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3507         Remove class variables lyx_pseudo_map and lyx_arg_map
3508
3509         * LyXAction.C (searchActionArg): delete function
3510         (getPseudoAction): delete function
3511         (retrieveActionArg): delete function
3512         (LookupFunc): make it return kb_action, simplify.
3513         (getActionName): simplify
3514
3515         * factory.C (createInset): fix new bug
3516
3517 2003-09-19  Angus Leeming  <leeming@lyx.org>
3518
3519         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3520         masterFilename_ parameter in the include inset.
3521
3522         * factory.C (createInset): changes due to the changes to InsetInclude.
3523
3524 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3525
3526         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3527
3528 2003-09-18  Angus Leeming  <leeming@lyx.org>
3529
3530         * buffer.C:
3531         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3532         Inset::fillWithBibKeys.
3533         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3534
3535 2003-09-18  Angus Leeming  <leeming@lyx.org>
3536
3537         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3538         variables.
3539         (ctor): pass and store a 'Buffer const &'
3540         (buffer): new member function.
3541
3542         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3543         '*this' to the LaTeXFeatures ctor.
3544
3545 2003-09-18  Angus Leeming  <leeming@lyx.org>
3546
3547         * LColor.h:
3548         * lyxfont.C:
3549         * lyxfont.h:
3550         * lyxtext.h:
3551         * text.C: rename EnumLColor as LColor_color.
3552
3553 2003-09-18  Angus Leeming  <leeming@lyx.org>
3554
3555         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3556         remove #include "insets/insetbase.h" from cursor.h.
3557
3558 2003-09-18  Angus Leeming  <leeming@lyx.org>
3559
3560         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3561         InsetOld_code to remove #include "inset.h".
3562
3563         * iterators.C: add #include "insets/inset.h"
3564
3565 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3566
3567         * BufferView.C: remove more locking stuff that apparently doesn't
3568         do anything sensible.
3569
3570 2003-09-16  André Pönitz  <poenitz@gmx.net>
3571
3572         * paragraph.[Ch]:
3573         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3574           performance boost.
3575
3576 2003-09-16  Angus Leeming  <leeming@lyx.org>
3577
3578         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3579
3580         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3581         arg/return type.
3582
3583         * paragraph.h: remove #include "lyxfont.h". Forward declare
3584         LyXFont_size.
3585
3586 2003-09-16  Angus Leeming  <leeming@lyx.org>
3587
3588         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3589         of support/textutils.h.
3590         (isWord): move the contents of support/textutils.h's IsWordChar here.
3591
3592         * buffer.C:
3593         * lyxfind.C:
3594         * rowpainter.C:
3595         * text.C:
3596         * text2.C: add #include "paragraph.h".
3597
3598         * rowpainter.C:
3599         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3600
3601 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * main.C:
3604         * lyx_main.C:
3605         * lyx_cb.C:
3606         * buffer.C:
3607         * LaTeX.C: use namespace alias for lyx::support::os
3608
3609 2003-09-16  Angus Leeming  <leeming@lyx.org>
3610
3611         * bufferparams.C:
3612         * bufferview_funcs.C:
3613         * factory.C:
3614         * lyxfunc.C:
3615         * paragraph_pimpl.C:
3616         * rowpainter.C:
3617         * text.C: add #include "LColor.h".
3618
3619 2003-09-16  Angus Leeming  <leeming@lyx.org>
3620
3621         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3622         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3623         return LyXFont &.
3624         Store the FontBits::color variable as an int rather than as an
3625         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3626         file.
3627
3628         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3629         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3630         string calls together.
3631
3632         * lyxrc.C: add #include "LColor.h".
3633
3634 2003-09-15  Angus Leeming  <leeming@lyx.org>
3635
3636         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3637         a cow_ptr.
3638
3639 2003-09-15  Angus Leeming  <leeming@lyx.org>
3640
3641         * LColor.h: add an EnumLColor wrapper for LColor::color.
3642
3643         * lyxfont.[Ch] (color, setColor, realColor):
3644         * lyxtext.h, text.C (backgroundColor):
3645         pass EnumLColor args to/from the functions, rather than LColor::color
3646         ones.
3647
3648         * lyxfont.h:
3649         * lyxtext.h: forward declare EnumLColor.
3650
3651         * lyx_main.C: add #include "LColor.h".
3652
3653 2003-09-15  Angus Leeming  <leeming@lyx.org>
3654
3655         * .cvsignore: add lyx-gtk.
3656
3657 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * Chktex.C
3660         * LaTeX.C
3661         * LaTeXFeatures.C
3662         * ParagraphParameters.C
3663         * Spacing.C
3664         * buffer.C
3665         * bufferparams.C
3666         * bufferview_funcs.C
3667         * chset.C
3668         * counters.C
3669         * funcrequest.C
3670         * lyxfont.C
3671         * lyxgluelength.C
3672         * lyxlength.C
3673         * paragraph.C
3674         * paragraph_funcs.C
3675         * text3.C
3676         * vc-backend.C: remove usage of STRCONV
3677
3678 2003-09-15  Angus Leeming  <leeming@lyx.org>
3679
3680         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3681         explicitly define the color passed to the painter.
3682
3683 2003-09-15  Angus Leeming  <leeming@lyx.org>
3684
3685         * bufferparams.C (BufferParams): reorder member initializers to avoid
3686         compiler warning.
3687
3688 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3689
3690         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3691         * text.C (updateRowPositions): remove an unusual nop
3692
3693 2003-09-12  André Pönitz  <poenitz@gmx.net>
3694
3695         * BufferView_pimpl.C:
3696         * Bullet.C:
3697         * layout.h:
3698         * lyxfunc.C:
3699         * lyxlayout.[Ch]:
3700         * lyxtextclass.C:
3701         * rowpainter.C:
3702         * text.C:
3703         * text2.C:
3704         * Counters.[Ch]: finish the 'automatic counters' job
3705
3706 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3707
3708         * aspell.C: include <boost/assert.cpp> (compile fix)
3709
3710 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3711
3712         * boost.C (assertion_failed): use lyx::support::abort instead of
3713         assert.
3714
3715 2003-09-10  Angus Leeming  <leeming@lyx.org>
3716
3717         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3718         with their _fwd progeny.
3719
3720 2003-09-09  Angus Leeming  <leeming@lyx.org>
3721
3722         134 files throughtout the source tree: replace 'using namespace abc;'
3723         directives with the appropriate 'using abc::xyz;' declarations.
3724
3725 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3726
3727         * boost.C (emergencyCleanup): moved here from LAssert.c
3728         (assertion_failed): new function, called by BOOST_ASSERT
3729
3730         * several files: change Assert to BOOST_ASSERT
3731
3732 2003-09-09  Angus Leeming  <leeming@lyx.org>
3733
3734         * buffer.[Ch]: Add an Impl class and move Buffer's member
3735         variables into it. As a result move several header files out of
3736         buffer.h.
3737
3738         Add header files to lots of .C files all over the tree as a result.
3739
3740 2003-09-09  Angus Leeming  <leeming@lyx.org>
3741
3742         * buffer.[Ch]: make Buffer's member variables private. Add
3743         accessor functions.
3744
3745         Lots of changes all over the tree as a result.
3746
3747 2003-09-08  Angus Leeming  <leeming@lyx.org>
3748
3749         * graph.C: #include <config.h>.
3750
3751 2003-09-08  Angus Leeming  <leeming@lyx.org>
3752
3753         * BranchList.C:
3754         * BufferView.C:
3755         * BufferView_pimpl.C:
3756         * CutAndPaste.C:
3757         * DepTable.C:
3758         * LaTeX.C:
3759         * LaTeXFeatures.C:
3760         * LyXAction.C:
3761         * MenuBackend.C:
3762         * TextCache.C:
3763         * aspell.C:
3764         * buffer.C:
3765         * bufferlist.C:
3766         * changes.C:
3767         * chset.C:
3768         * converter.C:
3769         * counters.C:
3770         * debug.C:
3771         * graph.C:
3772         * ispell.C:
3773         * lyx_cb.C:
3774         * lyxfind.C:
3775         * lyxfunc.C:
3776         * lyxlex_pimpl.C:
3777         * lyxrc.C:
3778         * lyxrow.C:
3779         * paragraph.C:
3780         * rowpainter.C:
3781         * texrow.C:
3782         * text.C:
3783         * text2.C:
3784         * toc.C: remove redundant using directives.
3785
3786 2003-09-07  Angus Leeming  <leeming@lyx.org>
3787
3788         * LaTeXFeatures.h: remove #include "support/types.h".
3789         * ToolbarBackend.h: remove #include <algorithm>.
3790         * changes.h: remove #include <ctime>.
3791         * debug.h: remove #include <iosfwd>.
3792         * graph.h: remove #include "support/std_string.h".
3793         * lyx_main.h: remove #include <csignal>.
3794         * lyxlex_pimpl.h: remove #include <fstream>.
3795         * sgml.h: remove #include <algorithm>, <utility>.
3796         * toc.h: remove #include "support/std_ostream.h".
3797         Add #include <iosfwd>.
3798
3799 2003-09-07  Angus Leeming  <leeming@lyx.org>
3800
3801         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3802
3803         * converter.h: forward declare LatexRunParams.
3804         * encoding.h: remove #include "lyxrc.h".
3805         * lyxtext.h: remove #include "LColor.h".
3806         * lyxtextclass.h: remove #include "support/types.h".
3807         * trans.h: remove #include "tex-accent.h".
3808         * trans_mgr.h: remove #include "tex-accent.h".
3809         * insets/inset.h: remove #include "support/types.h", <vector>.
3810         * insets/insetcollapsable.h: remove #include "LColor.h".
3811         * insets/insetinclude.h: remove #include "dimension.h".
3812         * insets/insetlatexaccent.h: remove #include "dimension.h".
3813         * insets/insetoptarg.h:: remove #include "insettext.h".
3814         * insets/insettext.h: remove #include "dimension.h",
3815         <boost/shared_ptr.hpp>
3816
3817         * insets/renderers.h: add #include "dimension.h".
3818         * insets/updatableinset.h: add #include "support/types.h".
3819
3820         * many .C files: Associated changes.
3821
3822 2003-09-06  Angus Leeming  <leeming@lyx.org>
3823
3824         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3825         one, inside testInvariant.
3826
3827         * PrinterParams.C: new file.
3828         * PrinterParams.[Ch]: move the function bodies out of line.
3829
3830 2003-09-06  Angus Leeming  <leeming@lyx.org>
3831
3832         * ParagraphParameters.h: forward declare ParameterStruct rather than
3833         including its header file.
3834         (depth): moved out-of-line.
3835
3836 2003-09-06  Angus Leeming  <leeming@lyx.org>
3837
3838         * BufferView_pimpl.h:
3839         * kbmap.h:
3840         * kbsequence.h:
3841         * lyxfunc.h: forward declare LyXKeySym rather than
3842         #include "frontends/LyXKeySym.h".
3843
3844         * BufferView_pimpl.C:
3845         * kbmap.C:
3846         * kbsequence.C:
3847         * lyxfunc.C: associated changes.
3848
3849 2003-09-06  Angus Leeming  <leeming@lyx.org>
3850
3851         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3852         As a result, can remove the #include "insets/inset.h" from BufferView.h
3853
3854 2003-09-06  Angus Leeming  <leeming@lyx.org>
3855
3856         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3857         As a result, can remove the #include "insets/inset.h" from BufferView.h
3858
3859 2003-09-06  Angus Leeming  <leeming@lyx.org>
3860
3861         * buffer_funcs.C:
3862         * buffer.h:
3863         * bufferlist.C:
3864         * BufferView.C:
3865         * bufferview_funcs.C:
3866         * BufferView_pimpl.C:
3867         * CutAndPaste.C:
3868         * lyx_cb.C:
3869         * lyxfunc.C:
3870         * paragraph.h:
3871         * ParagraphParameters.C:
3872         * tabular.C:
3873         * text3.C:
3874         * toc.C:
3875         * undo_funcs.C:
3876         * frontends/controllers/ControlDocument.C:
3877         * insets/insetcaption.C: rearrange the #includes into some sort of
3878         coherent order.
3879
3880         * buffer.h: remove #includes ErrorList.h, undo.h
3881
3882 2003-09-06  Angus Leeming  <leeming@lyx.org>
3883
3884         * support/types.h: add a 'depth_type' typedef, used to store the
3885         nesting depth of a paragraph.
3886
3887         * paragraph.h:
3888         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3889         defining explicitly.
3890
3891         * buffer.h:
3892         * paragraph_funcs.h:
3893         * ParagraphParameters.h:
3894         * sgml.h: use lyx::depth_type rather than Paragraph or
3895         ParameterStruct's depth_type.
3896
3897         * buffer.h
3898         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3899
3900         * BufferView.C:
3901         * BufferView_pimpl.C:
3902         * CutAndPaste.C:
3903         * ParagraphParameters.C:
3904         * buffer_funcs.C:
3905         * bufferlist.C:
3906         * bufferview_funcs.C:
3907         * lyx_cb.C:
3908         * lyxfunc.C:
3909         * tabular.C:
3910         * text3.C:
3911         * toc.C:
3912         * undo_funcs.C:
3913         * frontends/LyXView.C:
3914         * frontends/controllers/ControlDocument.C:
3915         * frontends/controllers/ControlErrorList.C:
3916         * insets/insetbibitem.C:
3917         * insets/insetbranch.C:
3918         * insets/insetcaption.C:
3919         * insets/insetcollapsable.C:
3920         * insets/insetenv.C:
3921         * insets/insetert.C:
3922         * insets/insetfloat.C:
3923         * insets/insetfoot.C:
3924         * insets/insetfootlike.C:
3925         * insets/insetnewline.C:
3926         * insets/insetquotes.C:
3927         * insets/insettabular.C:
3928         * insets/insettext.C:
3929         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3930
3931         * frontends/controllers/ControlChanges.C: #include "changes.h".
3932
3933 2003-09-06  Angus Leeming  <leeming@lyx.org>
3934
3935         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3936         than #including paragraph.h.
3937
3938         * ParagraphList.h:
3939         * RowList.h: deleted. Superfluous.
3940
3941         * CutAndPaste.h:
3942         * iterators.h:
3943         * lyxcursor.h:
3944         * lyxtext.h:
3945         * text_funcs.h:
3946         * undo.h:
3947         * undo_funcs.h:
3948         * insets/inset.h:
3949         * insets/insettext.h: use ParagraphList_fwd.h rather than
3950         ParagraphList.h.
3951
3952         * paragraph.h: don't forward declare ParagraphList.
3953
3954         * buffer.h:
3955         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3956         rather than ParagraphList.h. paragraph.h is still needed for the
3957         Paragraph::depth_type parameters.
3958
3959         * textcursor.h: enable it to compile stand-alone in light of the
3960         above changes.
3961
3962         * bufferview_funcs.C:
3963         * iterators.C:
3964         * lyxfunc.C:
3965         * lyxrow_funcs.C:
3966         * paragraph.C:
3967         * rowpainter.C:
3968         * text.C:
3969         * text2.C:
3970         * text3.C:
3971         * text_funcs.C:
3972         * textcursor.C:
3973         * undo.C:
3974         * frontends/controllers/ControlParagraph.C:
3975         * frontends/controllers/ControlTabular.C:
3976         * insets/insetmarginal.C:
3977         * insets/insetminipage.C:
3978         * insets/insetnote.C:
3979         * insets/insetoptarg.C: add header files needed to compile again.
3980
3981 2003-09-06  Angus Leeming  <leeming@lyx.org>
3982
3983         * RowList_fwd.h: new file, forward-declaring Row rather than
3984         #including lyxrow.h.
3985
3986         * lyxrow_funcs.h:
3987         * lyxtext.h:
3988         * paragraph.h:
3989         * insets/insettext.h: use it instead of RowList.h
3990
3991         * bufferview_funcs.C:
3992         * lyxfunc.C:
3993         * lyxrow_funcs.C:
3994         * paragraph.C:
3995         * rowpainter.C:
3996         * text.C:
3997         * text2.C:
3998         * text3.C: #include "RowList.h".
3999
4000 2003-09-05  Angus Leeming  <leeming@lyx.org>
4001
4002         * factory.C (createInset):
4003         * vspace.C (c-tor): replace sscanf call with an istringstream.
4004         * ispell.C: re-add missing HP/UX headers.
4005         * lyxserver.C: re-add missing  os2 headers.
4006
4007 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4008
4009         * BranchList.C:
4010         * graph.C:
4011         * ispell.C:
4012         * lastfiles.C:
4013         * lyx_cb.C:
4014         * lyxserver.C:
4015         * texrow.C:
4016         * text3.C: re-add missing system headers, needed for 2.95.2.
4017
4018 2003-09-05  Angus Leeming  <leeming@lyx.org>
4019
4020         Changes most place everywhere due to the removal of using directives
4021         from support/std_sstream.h.
4022
4023 2003-09-05  Angus Leeming  <leeming@lyx.org>
4024
4025         Replace LString.h with support/std_string.h,
4026         Lsstream.h with support/std_sstream.h,
4027         support/LIstream.h with support/std_istream.h,
4028         support/LOstream.h with support/std_ostream.h.
4029
4030         Changes resulting throughout the tree.
4031
4032 2003-09-05  Angus Leeming  <leeming@lyx.org>
4033
4034         * sgml.h: ensure that the header file can be compiled stand-alone.
4035         * *.C: strip out redundant #includes. (320 in total.)
4036
4037 2003-09-04  Angus Leeming  <leeming@lyx.org>
4038
4039         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4040         here (from getPackages).
4041
4042         * debug.[Ch]: add a new EXTERNAL tag.
4043
4044 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4045
4046         * text2.C (cursorEnd): simplify
4047         (setCursor): adjust
4048         (getColumnNearX): adjust
4049
4050         * text.C (computeBidiTables): adjust
4051         (fill): adjust
4052
4053         * rowpainter.C (paintChars): adjust
4054         (paintSelection): adjust
4055         (paintChangeBar): adjust
4056         (paintText): adjust
4057
4058         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4059         lastPos instead.
4060         (numberOfSeparators): adjust
4061
4062 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4063
4064         * LyXAction.C:
4065         * box.[Ch]:
4066         * lfuns.h:
4067         * lyxfunc.C:
4068         * text3.C: Restricts the mouse click functionality
4069         of insets like bibtex, include, toc and floatlist to the visible
4070         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4071         up the dialogs. Cursor has to be in front of the inset (i.e.
4072         start of row) for this to function.
4073
4074 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4075
4076         * bufferview_funcs.C (currentState): output row information
4077
4078 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4079
4080         * bufferview_funcs.C (currentState): output paragraph position
4081
4082 2003-09-04  Angus Leeming  <leeming@lyx.org>
4083
4084         * FloatList.h: move out #include "Floating.h".
4085         * LaTeX.h: move out #include "DepTable.h".
4086         * LyXAction.h: move out #include "funcrequest.h".
4087         * buffer.h: move out #include "author.h", "iterators.h".
4088         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4089         * lyx_main.h: move out #include "errorlist.h".
4090         * lyxfunc.h: move out #include "FuncStatus.h".
4091         * lyxtext: move out #include "lyxcursor.h".
4092         * paragraph_pimpl.h: move out #include "counters.h".
4093
4094 2003-09-03  Angus Leeming  <leeming@lyx.org>
4095
4096         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4097         preamble_snippets list, enabling us to add snippets to the preamble
4098         only if the snippet was not there already.
4099
4100 2003-09-04  Angus Leeming  <leeming@lyx.org>
4101
4102         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4103
4104 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4107         update
4108
4109 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4110
4111         * BranchList.C: point fix, earlier forgotten
4112
4113 2003-09-02  Angus Leeming  <leeming@lyx.org>
4114
4115         * box.C (contains): renamed from 'contained' after a fantastic
4116         amount of hot air.
4117
4118 2003-09-02  John Levon  <levon@movementarian.org>
4119
4120         * BufferView.C:
4121         * lyxcursor.h:
4122         * lyxcursor.C:
4123         * lyxfunc.C:
4124         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4125
4126 2003-09-02  John Levon  <levon@movementarian.org>
4127
4128         * text2.C: simplification of cursorEnd(), including partial
4129         fix for bug 1376
4130
4131 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * buffer.C (readFile): add a space
4134
4135 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4138
4139 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * buffer.C (readFile): new function, take a filename and a
4142         ParagraphList::iterator
4143         (readFile): adjust
4144         (readFile): adjust, make it private. don't use setStream, make
4145         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4146         always contain the filename.
4147
4148         * BufferView.C (insertLyXFile): simplify and make it work for
4149         gzipped files.
4150
4151 2003-08-30  John Levon  <levon@movementarian.org>
4152
4153         * Makefile.am: fix dist (from Kayvan)
4154
4155 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * most files: change to use const Buffer refs
4158
4159 2003-08-27  André Pönitz  <poenitz@gmx.net>
4160
4161         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4162         on top of ownerPar().
4163
4164 2003-08-27  John Levon  <levon@movementarian.org>
4165
4166         * funcrequest.C: properly initialise POD members
4167
4168 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * lyxtext.h (top_y): move top_y from here
4171         * text.C:
4172         * text2.C:
4173         * text3.C:
4174         * BufferView.[Ch]:
4175         * BufferView_pimpl.[Ch]: to here
4176         * frontends/screen.C:
4177         * insets/insettabular.C:
4178         * insets/insettext.C: adjust
4179         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4180
4181 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * BufferView.[Ch]:
4184         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4185
4186 2003-08-26  André Pönitz  <poenitz@gmx.net>
4187
4188         * paragraph_func.[Ch] (outerPar): new function
4189
4190         * paragraph.C:
4191         * paragraph_funcs.C:
4192         * paragraph_funcs.h:
4193         * paragraph_pimpl.C:
4194         * text2.C: remove Inset::par_owner
4195
4196 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4197
4198         * lyxrow_funcs.C:
4199         * lyxtext.h:
4200         * text.C:
4201         * text2.C: eliminates the needFullRow/display() stuff
4202         altogether, putting the logic in metrics/draw in the insets.
4203
4204 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4205
4206         * text2.C (redoParagraphInternal, redoParagraphs):
4207         * text.C (redoParagraph): add a call to updateRowPositions at the
4208         end of each 'metrics-like' call. Remove all others.
4209         (getRow): remove the 'y-computing' version.
4210         (getRowNearY): do not compute nor return the real y. Solve the
4211         'y < 0' problem and simplify.
4212
4213 2003-08-22  Angus Leeming  <leeming@lyx.org>
4214
4215         * *.[Ch]: clean-up of licence and author blurbs.
4216         Also move config.h out of a few .h files and into a few .C files.
4217
4218 2003-08-22  André Pönitz  <poenitz@gmx.net>
4219
4220         * lyxrow.[Ch]: add x_ and *fill_ members
4221
4222         * lyxtext.h:
4223         * text.C:
4224         * rowpainter.C:
4225         * text2.C: adjust/remove prepareToPrint() calls
4226
4227 2003-08-22  André Pönitz  <poenitz@gmx.net>
4228
4229         * lyxrow.[Ch]: add  end_ member
4230
4231         * lyxrow_funcs.C: use LyXRow::end_
4232
4233         * lyxtext.h (singleWidth): add LyXFont parameter
4234
4235         * rowpainter.C:
4236         * text2.C: adjust LyXText::singleWidth() calls
4237
4238         * text.C (redoParagraph): simplify row breaking logic
4239
4240
4241 2003-08-19  André Pönitz  <poenitz@gmx.net>
4242
4243         * funcrequest.C: initialize button_ member
4244
4245         * text3.C:
4246         * rowpainter.[Ch]: interface consolidation
4247
4248 2003-08-18  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.C:
4251         * BufferView_pimpl.C:
4252         * lyxfind.C:
4253         * paragraph_funcs.C:
4254         * rowpainter.C:
4255         * text3.C: remove LyXScreen::draw() and fitCursor calls
4256
4257         * BranchList.h: remove spurious semicolons
4258
4259         * MenuBackend.C: fix branchlist related crash
4260
4261 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4262
4263         * BranchList.[Ch]:
4264         * InsetList.[Ch]:
4265         * LColor.[Ch]:
4266         * LyXAction.C:
4267         * Makefile.am:
4268         * MenuBackend.[Ch]:
4269         * bufferparams.[Ch]:
4270         * factory.C:
4271         * lfuns.h:
4272         * lyxfunc.C:
4273         * text3.C: implements the 'branch inset'
4274         idea. This allows the output of various versions of a document
4275         from a single source version, selectively outputing or suppressing
4276         output of parts of the text.
4277         This implementation contains a 'branch list editor' in a separate
4278         tab of the document settings dialog. Branches are user definable
4279         and have a "display colour" to distinguish them on-screen.
4280
4281         ColorHandler was somewhat cleaned up.
4282         (1) make possible a dynamically growing LColor list by allowing
4283         the graphic context cache to grow along (vector);
4284         (2) eliminate an IMHO unnecessary step in colour allocation.
4285
4286 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4287
4288         * BufferView_pimpl.C: compile fix
4289
4290 2003-08-15  André Pönitz  <poenitz@gmx.net>
4291
4292         * rowpainter.C: remove extra metrics calls
4293
4294         * lyxtext.h: merge the two constructors into a single one,
4295           pass reference to owner's par list
4296
4297         * BufferView_pimpl.C:
4298         * text.C:
4299         * text2.C: adjust
4300
4301 2003-08-15  André Pönitz  <poenitz@gmx.net>
4302
4303         * lyxrow_funcs.[Ch]:
4304         * lyxtext.h:
4305         * paragraph.h:
4306         * paragraph_funcs.C:
4307         * rowpainter.C:
4308         * text.C:
4309         * text2.C:
4310         * text3.C:
4311         * text_funcs.C: split LyXText::rowlist_ into individual
4312         Paragraph::rows_ chunks
4313
4314         * BufferView.[Ch]:
4315         * BufferView_pimpl.[Ch]:
4316         * lyxfind.C:
4317         * lyxtext.h:
4318         * text3.C: remove toggleSelection()
4319
4320 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4321
4322         * bufferlist.C: beautify two alerts (shorter text of buttons)
4323         * buffer.C: Remove redundant ' ' from message
4324         * tabular.h:
4325         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4326         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4327         rename VALIGN_CENTER to VALIGN_MIDDLE
4328
4329 2003-08-11  André Pönitz  <poenitz@gmx.net>
4330
4331         * lyxtext.h (getPar):
4332         * text.C: new function
4333
4334 2003-08-11  André Pönitz  <poenitz@gmx.net>
4335
4336         * Makefile.am:
4337         * tracer.[Ch]: remove unneeded files
4338
4339         * InsetList.[Ch]: remove resizeInsetsLyXText()
4340
4341         * lyxtext.h:
4342         * text.C:
4343         * text2.C:
4344         * text3.C: merge insertParagraphs() and appendParagraph()
4345         remove breakAgain(), update()
4346
4347         * BufferView_pimpl.[Ch]:
4348         * bufferview_funcs.[Ch]:
4349         * lyxfunc.C:
4350         * paragraph.[Ch]:
4351         * rowpainter.C:
4352         * tabular.C: adjust after text & InsetList changes.
4353
4354 2003-08-08  André Pönitz  <poenitz@gmx.net>
4355
4356         * text.C (insertChar, backspace): replace rowlist fiddling
4357         with rebreak of full par
4358
4359         * lyxtext.h:
4360         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4361         checkParagraph, updateInset): removed
4362
4363 2003-08-07  André Pönitz  <poenitz@gmx.net>
4364
4365         * paragraph.C:
4366         * text3.C: merge some LFUN handlers, remove dead code
4367
4368 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4369
4370         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4371
4372 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * text2.C (DEPM): fix part of bug 1255 and 1256
4375
4376 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4377
4378         * BufferView_pimpl.C (workAreaDispatch): change to use
4379         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4380         that are no mouse related.
4381
4382 2003-08-05  André Pönitz  <poenitz@gmx.net>
4383
4384         * BufferView.[Ch]:
4385         * BufferView_pimpl.[Ch]:
4386         * bufferview_funcs.C:
4387         * text2.C:
4388         * text3.C: rip out "deep update"
4389
4390         * textcursor.[Ch] (last_sel_cursor): remove unused member
4391
4392 2003-08-04  André Pönitz  <poenitz@gmx.net>
4393
4394         * BufferView.[Ch]:
4395         * BufferView_pimpl.[Ch]:
4396         * ParagraphParameters.C:
4397         * bufferview_funcs.C:
4398         * lyx_cb.C:
4399         * lyxfind.C:
4400         * lyxfunc.C:
4401         * text.C:
4402         * text2.C:
4403         * text3.C: replace "complicated" BufferView::update(...) calls with
4404         simpler ones.
4405
4406         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4407
4408 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4409
4410         * Makefile.am (lyx_SOURCES): add paper.h
4411
4412 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4413
4414         * Makefile.am: move things around so that both lyx-qt and
4415         lyx-xforms can be built (according to --with-frontend). Then lyx
4416         is a symbolic link to lyx-[firstfrontend]
4417
4418 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4419
4420         * Always use std::endl with lyxerr
4421
4422 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4423
4424         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4425
4426 2003-08-01  André Pönitz  <poenitz@gmx.net>
4427
4428         * BufferView.[Ch]:
4429         * BufferView_pimpl.[Ch]:
4430         * lyxfunc.C:
4431         * text3.C: merge BufferView::repaint() and BufferView::update()
4432
4433 2003-08-01  José Matos  <jamatos@lyx.org>
4434
4435         * buffer.[Ch]: file_format is no longer a buffer data element.
4436
4437 2003-08-01  André Pönitz  <poenitz@gmx.net>
4438
4439         * BufferView.C:
4440         * lyxtext.h:
4441         * text.C:
4442         * text2.C: make redoParagraph more independent of current cursor
4443
4444         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4445         * text.C:
4446         * text2.C: remove unneeded members
4447
4448 2003-07-30  André Pönitz  <poenitz@gmx.net>
4449
4450         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4451
4452         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4453           create a single function...
4454
4455         * paragraph_funcs.C (moveItem): ... here.
4456
4457         * text.C:
4458           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4459
4460 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * LColor.[Ch]: Add comment and greyedout logical colors.
4463
4464 2003-07-30  André Pönitz  <poenitz@gmx.net>
4465
4466         * tabular.C: don't use Assert too heavily. This crashes where it
4467           shouldn't
4468
4469 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4472         is disabled (bug 1232)
4473
4474 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * factory.C: limited 'arg' scope
4477
4478 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4479
4480         * factory.C: fixed Note submenu issues
4481
4482 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4483
4484         * factory.C: submenu for Note/Comment/Greyedout
4485
4486 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * lyx_main.C (LyX):
4489         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4490
4491 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4492
4493         * LaTeXFeatures.C:
4494         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4495         greyedout. Patch provided by Jürgen Spitzmüller.
4496
4497 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4498
4499         * kbmap.C (read): fix error message when reading bind files
4500
4501 2003-07-29  Angus Leeming  <leeming@lyx.org>
4502
4503         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4504         certainly does not do what it purports to do. I am doing it, and
4505         us, a favour by killing it.
4506
4507 2003-07-28  José Matos  <jamatos@lyx.org>
4508
4509         * buffer.C (readBody, do_writeFile):
4510         * paragraph.C(readParagraph): \end_document replaces \the_end.
4511
4512 2003-07-29  André Pönitz  <poenitz@gmx.net>
4513
4514         * BufferView.[Ch]:
4515         * BufferView_pimpl.[Ch]:
4516         * lyxfunc.C:
4517         * text2.C:
4518         * text3.C:
4519         * textcursor.[Ch]: remove toggleToggle & Co
4520
4521 2003-07-28  José Matos  <jamatos@fep.up.pt>
4522
4523         * buffer.C (readParagraph):
4524         * params_func (readParToken, readParagraph):
4525         * paragraph.C (write): \layout -> \begin_layout.
4526
4527 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * lyxlex_pimpl.C (setFile): clean up slightly.
4530
4531         * bufferparams.h: add compressed var
4532
4533         * buffer_funcs.C (readFile): adjust for LyXLex change
4534         (newFile): ditto + simplify
4535
4536         * buffer.C (writeFile): handle writing of compressed files
4537
4538         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4539         Check if the file is compressed and set a bufferparm if so.
4540
4541         * Makefile.am (lyx_LDADD): remove explicit -lz
4542
4543 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4544
4545         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4546         makeDocBookFile): put the real LyX version in the first line of
4547         the file
4548
4549         * version.h:
4550         * version.C.in: remove lyx_docversion
4551
4552         * tabular.C (write_attribute): add a template-based version to
4553         write enums properly
4554
4555 2003-07-28  André Pönitz  <poenitz@gmx.net>
4556
4557         * lyxtext.h:
4558         * text.C:
4559         * text2.C:
4560         * text3.C: use doubles again for x-coordinates. They are needed.
4561
4562 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * messages.C (getLocaleDir): use lyx_localedir()
4565
4566         * lyxlex_pimpl.C (setFile): compress stuff
4567
4568         * buffer.C (writeFile): add some compression stuff
4569         (do_writeFile): new func, dont call expliti close... will this
4570         breake anything?
4571
4572         * Makefile.am (lyx_LDADD): add -lz
4573
4574 2003-07-28  José Matos  <jamatos@fep.up.pt>
4575
4576         * buffer.C: increment file format.
4577         * paragraph_funcs (readParagraph, readParToken):
4578         * paragraph.C (readParagraph): add \end_layout.
4579
4580 2003-07-27  Angus Leeming  <leeming@lyx.org>
4581
4582         * Makefile.am: remove special casing for configure-time setting of
4583         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4584
4585         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4586         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4587
4588 2003-07-26  André Pönitz  <poenitz@gmx.net>
4589
4590         * paragraph_func.[Ch]:
4591         * paragraph.C (realizeFont): inline it whereever it is used
4592
4593         * rowpainter.C:
4594         * text.C:
4595         * text2.C:
4596         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4597
4598
4599 2003-07-26  André Pönitz  <poenitz@gmx.net>
4600
4601         *       lyxtext.h:
4602         * text.C:
4603         * text2.C: get rid of LyXText::need_break_row
4604
4605 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * toc.[Ch]: put namespace toc inside namespace lyx
4608
4609         * MenuBackend.C (expandToc2): adjust for lyx::toc
4610         (expandToc): ditto
4611
4612         * lyxfunc.C (dispatch): adjust for lyx::find
4613
4614         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4615         lyx::find instead. Reorganize a bit.
4616         (LyXReplace): rename to replace
4617         (LyXFind): rename to find
4618
4619         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4620         (dispatch): ditto
4621
4622 2003-07-26  André Pönitz  <poenitz@gmx.net>
4623
4624         * text.C (setHeightOfRow): restrict scope of temporary variable
4625
4626         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4627           code (never has been used?)
4628
4629 2003-07-27  Asger Alstrup  <alstrup@local>
4630
4631         * text.C (fill): Optimise algorithm to exploit that we can reuse
4632         the LyXFont for many characters.
4633         (setHeightOfRow): Same thing.
4634         (rowBreakPoint): Same thing.
4635
4636 2003-07-26  Asger Alstrup  <alstrup@local>
4637
4638         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4639
4640         * text.C (singleWidth): Spurious font copying in hot-spot
4641         singleWidth avoided. Reorder tests for arabic for efficiency.
4642
4643         * text.C (fill): handle empty paragraphs better.
4644
4645 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4646
4647         * ispell.C:
4648         * encoding.h: add includes
4649
4650         * lyxrc.C: remove reading of bind files
4651
4652         * lyx_main.C (init): setup bindings and menus only if we have a
4653         gui.
4654
4655         * kbmap.C (read): new method. Do the actual reading of bind
4656         files.
4657
4658         * converter.C (dvipdfm_options):
4659         * bufferparams.C:
4660         * lyxrc.C (read):
4661         (output): adapt PAPER_* enums.
4662
4663         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4664
4665         * bufferparams.h: remove paper-related enums from there
4666
4667         * paper.h: New file. A trivial header file to hold paper-related
4668         enums. It should later expand to contain many paper-related
4669         horrors access.
4670
4671         * lyxrc.C: declare extern displayTranslator
4672
4673 2003-07-27  José Matos  <jamatos@fep.up.pt>
4674
4675         * tabular.[Ch] (linuxdoc): add support for tables and figures
4676         (linuxdoc).
4677
4678 2003-07-27  José Matos  <jamatos@fep.up.pt>
4679
4680         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4681         consistency in both functions.
4682         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4683
4684 2003-07-26  Asger Alstrup  <alstrup@local>
4685
4686         * rowpainter.C (paintRows): Change algorithm to work directly on
4687         the insets rather than asking every character in the document
4688         whether its an inset.
4689
4690 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * buffer.C (openFileWrite): factorize some code
4693
4694 2003-07-26  Angus Leeming  <leeming@lyx.org>
4695
4696         * lyx_cb.C:
4697         * lyx_main.[Ch]: replace occurances of system_tempdir with
4698         os::getTmpDir().
4699
4700 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * rename Inset to InsetOld
4703
4704 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4705
4706         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4707         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4708         which I think is a bit clearer. EDIT is gone, since it was
4709         premature optimisation, and broken for mathed anyway.
4710         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4711         with cursor positioning in insets as well (math insets still do not
4712         work, but that's a different story anyway.) It mysteriously
4713         crashes sometimes with undo in the first paragraph, but I'm fairly
4714         confident that this is a compiler bug.
4715
4716 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * paragraph.C (Paragraph): adjust for new clone return type
4719         (operator==): ditto
4720         (copyIntoMinibuffer): ditto
4721
4722 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4723
4724         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4725         by not having a special case, and always doing a full rebreak of
4726         the document after undo.
4727
4728 2003-07-23  Angus Leeming  <leeming@lyx.org>
4729
4730         * factory.C (createInset): InsetExternal::setParams now takes a
4731         Buffer const * arg.
4732
4733 2003-07-23  Angus Leeming  <leeming@lyx.org>
4734
4735         * factory.C (createInset): changed interface to the external and
4736         graphics mailers' string2params functions.
4737
4738 2003-07-23  Angus Leeming  <leeming@lyx.org>
4739
4740         * factory.C (createInset): pass a
4741         Buffer const * parameter to InsetExternalMailer's string2params.
4742
4743 2003-07-22  John Levon  <levon@movementarian.org>
4744
4745         * Thesaurus.h: include the right aiksaurus header
4746
4747 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4748
4749         * MenuBackend.C (expand): check menu shortcuts unconditionally
4750
4751 2003-07-21  Angus Leeming  <leeming@lyx.org>
4752
4753         * factory.C (createInset): pass a
4754         buffer_path parameter to InsetGraphicsMailer's string2params.
4755
4756 2003-07-21  Angus Leeming  <leeming@lyx.org>
4757
4758         * BufferView_pimpl.C (buffer):
4759         * buffer.C (d-tor):
4760         * lyx_main.C (LyX):
4761         * lyxfunc.C (dispatch):
4762         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4763         rather than the grfx shortcut.
4764
4765 2003-07-21  André Pönitz  <poenitz@gmx.net>
4766
4767         * rowpainter.C: remove unused variables
4768
4769         * tabular_funcs.C:
4770         * tabular_funcs.h: move to tabular.C
4771         * Makefile.am: adjust
4772
4773         * tabular.[Ch]: basic optical cleaning
4774
4775         * author.h: pass references, not values
4776
4777 2003-07-18  André Pönitz  <poenitz@gmx.net>
4778
4779         * lyxtext.h:
4780         * metricsinfo.C:
4781         * metricsinfo.h:
4782         * rowpainter.C:
4783         * text.C:
4784         * text2.C:
4785         * text3.C: two-phase drawing for InsetText and InsetTabular
4786         some float -> int changes.
4787
4788 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * lyx_main.C: fix the fix
4791
4792 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * lyx_main.C: fix a crash in batch mode if no files specified
4795         * converter.C: ws
4796
4797 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4798
4799         * format.[Ch] (papersize): moved to BufferParams
4800         * converter.[Ch] (dvips_options): moved to BufferParams
4801         (dvipdfm_options): moved to anon namespace
4802         * bufferparams.[Ch]: added above functions.
4803
4804 2003-07-17  André Pönitz  <poenitz@gmx.net>
4805
4806         * lyxtext.h:
4807         * rowpainter.C:
4808         * text2.C: don't call inset->update() anymore
4809
4810         * metricsinfo.[Ch]: add convenience constructor
4811
4812 2003-07-16  André Pönitz  <poenitz@gmx.net>
4813
4814         * lyxcursor.[Ch]:
4815         * lyxfunc.[Ch]:
4816         * text.C:
4817         * text2.C: replace the LyXCursor::irow_ member with
4818          on-demand computation of the value
4819
4820 2003-07-16  John Levon  <levon@movementarian.org>
4821
4822         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4823
4824 2003-07-15  André Pönitz  <poenitz@gmx.net>
4825
4826         * text.C:
4827         * text2.C: remove no more needed refresh_row
4828
4829 2003-07-15  André Pönitz  <poenitz@gmx.net>
4830
4831         * lyxtext.h:
4832         * rowpainter.C:
4833         * text2.C:
4834         * text3.C: refresh_status tristate -> need_update bool
4835
4836 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * lyxtext.h (init): remove reinit argument (act as if always true)
4839         * text2.C: adjust to that
4840
4841 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4842
4843         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4844         * text3.C: use it to delete selections in some cases
4845         (bugs 441, 673, 702, 954).
4846
4847 2003-07-14  André Pönitz  <poenitz@gmx.net>
4848
4849         * rowpainter.[Ch]: reduce interface
4850
4851 2003-07-14  André Pönitz  <poenitz@gmx.net>
4852
4853         * BufferView_pimpl.C:
4854         * text2.C: adjust after removing unused BufferView * argument
4855
4856 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4857
4858         * text2.C (init): fix a crash fired on resize
4859
4860 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * buffer.[Ch]: added new closing signal
4863         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4864         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4865         BufferView::Pimpl via the closing the signal
4866
4867 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * buffer.[Ch]: take out all bv-related from buffer
4870         * BufferView.C:
4871         * BufferView_pimpl.[Ch]: connect to new signals
4872         * CutAndPaste.C: removed useless asserts
4873         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4874         * lyxvc.[Ch]:
4875         * vc-backend.[Ch]:
4876         * lyxfunc.C: moved view-related funciontality from vc here
4877         * paragraph.C: removed outdated comments
4878         * text.C: ws
4879
4880 2003-07-10  André Pönitz  <poenitz@gmx.net>
4881
4882         * BufferView_pimpl.C:
4883         * tabular.h:
4884         * tabular_funcs.C:
4885         * text.C:
4886         * text2.C: remove InsetText::InnerCache, clean up consequences
4887
4888 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4889
4890         * ispell.C: fix two typos in error messages
4891
4892 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4893
4894         * Extend Note inset to other forms of annotation like Comment
4895         and Greyedout. Right button click gives dialog.
4896
4897         Files modified or added (+):
4898
4899         * insetnote.[Ch]
4900         * FormNote.[Ch]      +
4901         * ControlNote.[Ch]   +
4902         * form_note.fd       +
4903         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4904         frontends/controllers
4905         * xforms/Dialogs.C
4906         * factory.C
4907
4908 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4909
4910         * aspell.C: add missing namespace lyx::support
4911
4912 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * BufferView.[Ch] (newFile): Add
4915         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4916         * LaTeX.[Ch] (message): added this signal and use it
4917         * buffer.[Ch] (busy, message): added these signals and use them
4918         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4919         * converter.C:
4920         * exporter.C:
4921         * format.C:
4922         * importer.C: use buffer signals instead of direct bv calling
4923         * lyx_cb.[Ch] (ShowMessage): removed
4924         * lyx_main.C:
4925         * lyxfunc.C:
4926         * paragraph_funcs.C:
4927         * text2.C: use buffer signals
4928
4929 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * introduce namespace lyx::graphics
4932
4933 2003-07-02  André Pönitz  <poenitz@gmx.net>
4934
4935         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4936
4937 2003-07-01  André Pönitz  <poenitz@gmx.net>
4938
4939         * text.C:
4940         * text2.C:
4941         * text3.C:
4942         * text_funcs.[Ch]:
4943         * textcursor.h:
4944         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4945           text*.C to text_func.C
4946
4947 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * introduce namespace lyx::support
4950
4951 2003-06-30  André Pönitz  <poenitz@gmx.net>
4952
4953         * Chktex.C:
4954         * funcrequest.C:
4955         * lyxtext.h:
4956         * text.C: re-enable --with-included-string
4957
4958 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * textcursor.C: add <config.h>
4961
4962         * text.C (getWord): remove const from word_location arg
4963
4964         * lyxvc.C (getLogFile): fix const type order
4965
4966         * lyxtext.h: remove const from word_location arg, add arg name
4967
4968         * lyxlayout.h: currect type on labeltype.
4969
4970         * importer.C: correct \file
4971
4972         * converter.C (intToFormat): use std:: on ret val, ws changes
4973
4974         * bufferlist.h: correct \file
4975
4976         * buffer.C (makeLinuxDocFile): fix const type order
4977         (makeDocBookFile): ditto
4978         (fillWithBibKeys): use std:: on stdlib args.
4979
4980         * CutAndPaste.C: fix authors.
4981         (availableSelections): use std:: on return vector
4982
4983 2003-06-27  André Pönitz  <poenitz@gmx.net>
4984
4985         * BufferView_pimpl.C:
4986         * bufferview_funcs.C:
4987         * lyxcursor.C:
4988         * lyxcursor.h:
4989         * lyxfunc.C:
4990         * lyxtext.h:
4991         * rowpainter.C:
4992         * text.C:
4993         * text2.C:
4994         * text3.C: remove LyXCursor::row_ member
4995
4996         * lyxtext.h:
4997         * text.C: rename fullRebreak() to partialRebreak() and implement
4998           a fullRebreak() that really bereks fully
4999
5000         * textcursor.h: new struct for cursor-related data
5001
5002 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5003
5004         * lyx_main.C (LyX): get full path of document loaded on the
5005         command line
5006
5007 2003-06-26  André Pönitz  <poenitz@gmx.net>
5008
5009         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5010           remove unused/broken operator>,<,>=.
5011
5012         *       text.C: remove only use of broken operator<= in an Assert().
5013
5014 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5015
5016         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5017         moved errorlist_.clear to showErrorList
5018
5019 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5020
5021         * converter.C (scanLog, runLaTeX):
5022         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5023         move the bv->showErrorList call to the callers
5024         * lyxfunc.C: i.e. here...
5025         * text2.C: and here
5026         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5027         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5028         namespace, the second to...
5029         * buffer_funcs (BufferFormat, parseErrors): added
5030         * errorlist.C (ErrorList(TeXErrors const &)): removed
5031
5032 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5033
5034         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5035
5036 2003-06-24  "Garst R. Reese" <reese@isn.net>
5037
5038         * debug.C: fix typo
5039
5040 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5041
5042         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5043
5044         * version.C.in: change docversion to 1.4
5045
5046 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * buffer.C: fix a bug just introduced
5049
5050 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * buffer.[Ch]: added the parseError signal and use it, removed
5053         sgmlError
5054         * BufferView.[Ch] (addError): moved to ...
5055         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5056         to the Buffer::parseError signal to catch (guess what) parse errors
5057         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5058
5059 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5062         ability to create a buffer and to return an existing one from
5063         the list. Moved these functions to...
5064         * buffer_funcs.[Ch]: added
5065         * BufferView.[Ch] (loadLyXFile): added
5066         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5067         job removed from bufferlist::loadLyXFile.
5068         * buffer.C (setReadOnly): make it work without view
5069         (i.e added an if (users))
5070
5071 2003-06-19  Angus Leeming  <leeming@lyx.org>
5072
5073         * lfuns.h:
5074         * LyXAction.C (init):
5075         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5076         with LFUN_DIALOG_SHOW <name> <data>.
5077
5078 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5079
5080         * CutAndPaste.C (availableSelections): small compilation fix for
5081         ancient (gcc 2.9x) compilers
5082
5083 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * text3.C (cursorNext): add tmp var
5086
5087         * text2.C (updateCounters): for function calling out of for clause
5088         (replaceSelectionWithString): ditto
5089         (insertStringAsParagraphs): ditto
5090         (getColumnNearX): add tmp var
5091         (setCursorFromCoordinates): add tmp var
5092         (cursorDownParagraph): add tmp var
5093         (deleteEmptyParagraphMechanism): add tmp var
5094
5095         * text.C (insertChar): add tmp var
5096
5097         * rowpainter.C (paintDepthBar): add tmp var
5098
5099         * CutAndPaste.C (availableSelections): potentially check all
5100         paragraphs in a cut to fill the shown strings.
5101
5102 2003-06-18  André Pönitz  <poenitz@gmx.net>
5103
5104         * kbmap.[Ch]: use vector<> instead of list<>
5105
5106 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5107
5108         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5109         pasteSelection with index
5110
5111         * text2.C (pasteSelection): modify, call pasteSelection with index
5112
5113         * paragraph.C (asString): reimplement version with no interval to
5114         call the one with interval.
5115
5116         * lyxtext.h: add index arg to pasteSelection
5117
5118         * MenuBackend.C (MenuItem): handle PasteRecent
5119         (Menu::read::Menutags): add md_pasterecent
5120         (read): handle it
5121         (expandPasteRecent): new function
5122         (expand): use it
5123
5124         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5125
5126         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5127         the limited stack
5128         (availableSelections): new function
5129
5130 2003-06-17  Angus Leeming  <leeming@lyx.org>
5131
5132         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5133
5134 2003-06-17  Angus Leeming  <leeming@lyx.org>
5135
5136         * lfuns.h:
5137         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5138
5139         * lyxfunc.C (dispatch): invoke it.
5140
5141 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5142
5143         * iterators.C (operator++, ParPosition): reintroduce some
5144         const_cast for the benefit of older compilers.
5145
5146 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5147
5148         * text3.C (dispatch): do not modify clipboard when doing
5149         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5150         LFUN_DELETE_SKIP on a selection selection
5151
5152 2003-06-16  André Pönitz  <poenitz@gmx.net>
5153
5154         * BufferView.C:
5155         * buffer.C:
5156         * buffer.h:
5157         * paragraph.C:
5158         * tabular.[Ch]: IU of clone() and getLabelList();
5159
5160 2003-06-13  André Pönitz  <poenitz@gmx.net>
5161
5162         * tabular.h: compactification
5163
5164 2003-06-12  André Pönitz  <poenitz@gmx.net>
5165
5166         * tabular.C:
5167         * tabular.h:
5168         * tabular_funcs.h: some renaming plus whitespace
5169
5170 2003-06-12  André Pönitz  <poenitz@gmx.net>
5171
5172         * BufferView.C:
5173         * BufferView_pimpl.C:
5174         * CutAndPaste.C:
5175         * buffer.C:
5176         * iterators.[Ch]:
5177         * lyxfunc.C:
5178         * text.C:
5179         * toc.C: Return a Paragraph & for ParIterator::operator*()
5180
5181 2003-06-11  John Levon  <levon@movementarian.org>
5182
5183         * lyx_main.C:
5184         * ToolbarBackend.h:
5185         * ToolbarBackend.C: add "Toolbars" section and
5186         put the flags there
5187
5188 2003-06-10  Angus Leeming  <leeming@lyx.org>
5189
5190         * lfuns.h:
5191         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5192
5193         * lyxfunc.C (dispatch): invoke it.
5194
5195 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * main.C: protect <ios> with HAVE_IOS
5198         (main): protect sync_with_stdio with HAVE_IOS
5199
5200 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5201
5202         * text2.C (cutSelection): adjust
5203         (pasteSelection): adjust
5204
5205         * messages.C: handle get of empty string
5206
5207         * main.C (main): use sync_with_stdio(false)
5208
5209         * lyxfunc.C (dispatch): adjust
5210
5211         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5212         (WriteAs): remove unneeded BufferView arg.
5213
5214         * bufferparams.h: use correct types on papersize, papersize2 and
5215         paperpackage.
5216
5217         * bufferparams.C (readToken): adjust for type
5218         (writeLaTeX): add missing cases to switch.
5219
5220         * bufferlist.C (quitWriteBuffer): adjust
5221         (close): adjust
5222
5223         * buffer.C (asciiParagraph): remove some commented code.
5224
5225         * CutAndPaste.C: remove current_view extern variable.
5226         (cutSelection): add BufferParams arg.
5227         (eraseSelection): add BufferParams arg.
5228         (pasteSelection): add Buffer const & arg
5229
5230 2003-06-07  John Levon  <levon@movementarian.org>
5231
5232         * buffer.C:
5233         * paragraph_funcs.C:
5234         * paragraph_pimpl.C:
5235         * text.C:
5236         * text2.C:
5237         * paragraph.h:
5238         * paragraph.C: allow InsetERT to freely space lines,
5239         and some consolidation of code
5240
5241 2003-06-06  José Matos  <jamatos@fep.up.pt>
5242
5243         * buffer.C (makeDocBookFile): fix bug #821
5244
5245 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5248
5249 2003-06-04  Angus Leeming  <leeming@lyx.org>
5250
5251         * buffer.C: bump format to 224.
5252
5253 2003-06-05  André Pönitz  <poenitz@gmx.net>
5254
5255         * text2.C (redoParagraphs): remove two const_cast<>
5256
5257 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5258
5259         * ParagraphList.h: remove last remnants of NO_STD_LIST
5260
5261 2003-06-03  Angus Leeming  <leeming@lyx.org>
5262
5263         * factory.C (createInset): small change to the way InsetExternal's params
5264         are set.
5265
5266 2003-06-04  André Pönitz  <poenitz@gmx.net>
5267
5268         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5269
5270         * paragraph_pimpl.h:
5271         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5272
5273         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5274
5275         * undo_funcs.C: make some simple cases of undo work again
5276
5277 2003-06-03  John Levon  <levon@movementarian.org>
5278
5279         * ispell.C: HPUX doesn't have sys/select.h
5280         (from Albert Chin)
5281
5282 2003-06-03  John Levon  <levon@movementarian.org>
5283
5284         * CutAndPaste.C: update tabular and include inset
5285         buffer references
5286
5287         * buffer.h:
5288         * paragraph.h:
5289         * paragraph.C: remove owningBuffer(), don't pass Buffer
5290         to clone()
5291
5292         * factory.C: insetGraphicsParams changed
5293
5294 2003-06-02  John Levon  <levon@movementarian.org>
5295
5296         * LyXAction.C:
5297         * factory.C:
5298         * lfuns.h:
5299         * lyxfunc.C:
5300         * text3.C: remove insetparent
5301
5302 2003-06-02  John Levon  <levon@movementarian.org>
5303
5304         * buffer.h:
5305         * buffer.C: fix inset_iterator.end(), move out of line
5306         (bug 1149)
5307
5308 2003-06-01  John Levon  <levon@movementarian.org>
5309
5310         * text3.C: use a proper cut/paste when doing inset
5311         insert (from Jürgen Spitzmüller)
5312
5313 2003-06-01  John Levon  <levon@movementarian.org>
5314
5315         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5316
5317 2003-05-30  André Pönitz  <poenitz@gmx.net>
5318
5319         * rowpainter.C: unify second drawing phase
5320
5321 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * trans_mgr.C: remove one case of current_view
5324
5325         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5326
5327         * paragraph_funcs.h: remove paragraph.h include
5328
5329         * paragraph.h: delete NO_STD_LIST stuff
5330
5331         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5332
5333         * buffer.h: remove paragraph.h include
5334
5335         * ParagraphList.C: delete file
5336
5337         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5338
5339         * toc.C (getTocList): adjust
5340
5341         * paragraph_pimpl.C (validate): adjust
5342
5343         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5344
5345         * paragraph.C (Paragraph): adjust
5346         (getPositionOfInset): use const_iterator, adjust
5347         (bibitem): use const_iterator, adjust
5348         (setInsetOwner): adjust
5349
5350         * iterators.C (operator++): adjust
5351
5352         * InsetList.[Ch]: Replace selfmade iterator with standard
5353         vector::iterator also introduce const_iterator. Remove getPos,
5354         getInset and setInset from InsetTable. Adjust accordingly.
5355
5356         * BufferView.C (lockInset): adjust
5357         (ChangeInsets): adjust
5358
5359         * tabular.[Ch]: delete commented same_id functions
5360
5361 2003-05-28  John Levon  <levon@movementarian.org>
5362
5363         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5364
5365 2003-05-28  André Pönitz  <poenitz@gmx.net>
5366
5367         * metricsinfo.[Ch]: remove 'fullredraw' member
5368
5369 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5370
5371         * lyxtextclass.C (operator): remove caching.
5372
5373 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * text3.C: adjust
5376
5377         * text2.C (cursorBottom): adjust
5378         (setCounter): use ParagraphList::find, adjust
5379
5380         * text.C (workWidth): use ParagraphList::find, adjust
5381
5382         * lyxcursor.C (LyXCursor): adjust
5383
5384         * buffer.C (inset_iterator): adjust
5385
5386         * ParagraphList.h: make iterator(value_type) private, make
5387         ParagraphList a friend of iterator.
5388
5389         * ParagraphList.C (find): new function
5390
5391         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5392
5393 2003-05-27  André Pönitz  <poenitz@gmx.net>
5394
5395         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5396
5397 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5398
5399         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5400
5401 2003-05-26  John Levon  <levon@movementarian.org>
5402
5403         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5404
5405 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * remove same_id from function signatures, adjust.
5408
5409 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5412
5413         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5414
5415         * paragraph.C (Paragraph): get rid of same_ids parameter
5416
5417         * ParagraphList.C (insert): adjust
5418         (push_back): adjust
5419
5420 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * paragraph_funcs.C (breakParagraph): adjust
5423         (breakParagraphConservative): adjust
5424
5425         * buffer.C (readParagraph): adjust
5426
5427         * ParagraphList.C (insert): take a reference instead of a pointer
5428         (insert): adjust
5429
5430         * paragraph.[Ch] (id): new function
5431
5432         * bufferlist.C (newFile): adjust
5433
5434         * ParagraphList.C (ParagraphList): adjust
5435         (assign): adjust
5436         (push_back): take a reference instead of a pointer.
5437
5438         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5439
5440         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5441         instead.
5442
5443         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5444         set else use old code.
5445
5446         * ParagraphList.C: remove all NO_NEXT code and only compile this
5447         code of NO_STD_LIST is set.
5448
5449 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * BufferView_pimpl.C:
5452         * TextCache.C:
5453         * TextCache.h:
5454         * bufferlist.C:
5455         * errorlist.h:
5456         * format.C:
5457         * format.h:
5458         * graph.C:
5459         * lyxfunc.C:
5460         * lyxrc.C:
5461         * graphics/GraphicsConverter.C:
5462         * graphics/PreviewLoader.C: header adjustment
5463
5464 2003-05-23  Angus Leeming  <leeming@lyx.org>
5465
5466         * LaTeXFeatures.[Ch] (useBabel): new method.
5467         * bufferparams.C (writeLaTeX): use it.
5468
5469 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * ParagraphList.h (set): remove unused function.
5472
5473 2003-05-23  André Pönitz  <poenitz@gmx.net>
5474
5475         * BufferView.C:
5476         * BufferView_pimpl.C:
5477         * buffer.C:
5478         * buffer.h:
5479         * lyxfunc.C:
5480         * undo_funcs.C: setUndo reworked
5481
5482         * iterators.[Ch]: add access to topmost ParagraphList
5483
5484         * lyxtext.[Ch] (workWidth): add a const
5485
5486 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * texrow.[Ch] (increasePos): remove function
5489         * exporter.C (export): removed unused var and outdated comment
5490
5491 2003-05-23  Angus Leeming  <leeming@lyx.org>
5492
5493         * latexrunparams.h: rename fragile as moving_arg.
5494         * paragraph.C (simpleTeXOnePar): ditto.
5495         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5496
5497 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5500         (createUndo): ditto
5501         (textUndoOrRedo): comment out a currently unused var.
5502
5503         * paragraph.h (NO_NEXT): enable NO_NEXT
5504
5505         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5506
5507         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5508
5509         * exporter.C (Export): adjust for removeAutoInsets removal.
5510
5511         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5512
5513         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5514
5515         * BufferView.[Ch] (removeAutoInsets): delete function
5516
5517 2003-05-22  Angus Leeming  <leeming@lyx.org>
5518
5519         * latexrunparams.h: add a free_spacing variable.
5520
5521         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5522         to pass moving_arg, as the data is stored in runparams.fragile.
5523
5524         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5525         to Inset::latexOptional or to simpleTeXOnePar.
5526
5527         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5528         free_spacing arg to Inset::latexOptional.
5529
5530         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5531         free_spacing arg.
5532
5533 2003-05-22  Angus Leeming  <leeming@lyx.org>
5534
5535         * latexrunparams.h: add fragile and use_babel variables.
5536
5537         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5538         * buffer.C (makeLaTeXFile): store this returned value in
5539         runparams.use_babel, thus passing it to the inset::latex methods.
5540
5541         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5542         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5543
5544         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5545         longer has a fragile arg, as it is stored in runparams.fragile.
5546
5547         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5548         moving_arg parameter as the data is stored in runparams.fragile.
5549
5550         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5551         a fragile parameter as the data is stored in runparams.fragile.
5552
5553 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5556
5557 2003-05-22  Angus Leeming  <leeming@lyx.org>
5558
5559         * latexrunparams.h: add a 'bool nice' which defaults to false.
5560
5561         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5562         now encapsulated within runparams.
5563
5564         * bufferlist.C (updateIncludedTeXfiles):
5565         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5566
5567 2003-05-22  Angus Leeming  <leeming@lyx.org>
5568
5569         * latexrunparams.h: new file containing struct LatexRunParams.
5570         * Makefile.am: add new file.
5571
5572         * LaTeX.[Ch] (c-tor, run):
5573         * buffer.[Ch] (makeLaTeXFile):
5574         * bufferlist.[Ch] (updateIncludedTeXfiles):
5575         * converter.C (convert, scanLog):
5576         * converter.[Ch] (runLaTeX):
5577         * exporter.C (Export):
5578         * paragraph.[Ch] (simpleTeXOnePar):
5579         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5580         * paragraph_funcs.[Ch] (latexParagraphs):
5581         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5582         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5583         pass around a LatexRunParams parameter.
5584
5585 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * paragraph.[Ch]: remove unused constructor
5588
5589         * ParagraphList.C (erase): new function, taking two iterators
5590
5591 2003-05-22  André Pönitz  <poenitz@gmx.net>
5592
5593         * undo_funcs.C: remove duplicated code
5594
5595         * iterator.[Ch]: operator=
5596
5597 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * tabular.C (SetMultiColumn): ws changes
5600
5601         * rowpainter.C (paintFirst): get rid of a ->previous
5602
5603         * lyx_cb.C (getPossibleLabel): parlist simplification
5604
5605         * BufferView.C (ChangeInsets): simplify slightly.
5606
5607 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5608
5609         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5610         * lfuns.h: new LFUN_SPACE
5611         * lyxfunc.C: protected space has a new lfun
5612         * paragraph_funcs.C: read new space insets
5613         * text3.C:
5614         * factory.C: handle new space insets
5615
5616 2003-05-22  André Pönitz  <poenitz@gmx.net>
5617
5618         * BufferView.C:
5619         * BufferView_pimpl.C:
5620         * buffer.[Ch]:
5621         * lyxfunc.C:
5622         * undo_funcs.C: return a ParIterator from getParFromID.
5623
5624         * iterators.[Ch]: add two const's
5625
5626 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * toc.C (getTocList): adjust
5629
5630         * iterators.[Ch]: rework for parlist
5631
5632         * buffer.C (par_iterator_begin): adjust
5633         (par_iterator_end): adjust
5634
5635         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5636
5637         * BufferView.C (removeAutoInsets): adjust
5638         (ChangeInsets): adjust
5639
5640 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * text.C (top_y): fix bug 1110
5643
5644 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * errorlist.[Ch]: added
5647         * buffer.C:
5648         * BufferView.[Ch]:
5649         * BufferView_pimpl.C:
5650         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5651         instead
5652
5653 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * Makefile.am: ensure that lyx is relinked upon changes to the
5656         various "convenience" libs.
5657
5658 2003-05-20  Angus Leeming  <leeming@lyx.org>
5659
5660         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5661         files are compiled in alphabetical order again.
5662
5663         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5664
5665 2003-05-19  Angus Leeming  <leeming@lyx.org>
5666
5667         * gettext.[Ch]: remove "char const * _(char const *)".
5668
5669 2003-05-19  André Pönitz  <poenitz@gmx.net>
5670
5671         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5672
5673         * Makefile.am:
5674         * BufferView.C:
5675         * DepTable.h:
5676         * LaTeXFeatures.C:
5677         * buffer.C:
5678         * lyxfont.C:
5679         * lyxlex.h:
5680         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5681
5682 2003-05-19  André Pönitz  <poenitz@gmx.net>
5683
5684         * buffer.C:
5685         * lyxlayout.[Ch]:
5686         * lyxtextclass.[Ch]:
5687         * paragraph.C:
5688         * paragraph_funcs.[Ch]:
5689         * text2.C:
5690         * text3.C: more insetenv work
5691
5692 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5693
5694         * ParagraphParameters.C (params2string): small bug fixed
5695
5696 2003-05-16  André Pönitz  <poenitz@gmx.net>
5697
5698         * debug.C:
5699         * bufferview_funcs.C: patch from Kornel Benko to prevent
5700           crash when _(...) is called twice in a statement
5701
5702 2003-05-16  André Pönitz  <poenitz@gmx.net>
5703
5704         * BufferView.C:
5705         * lyxfunc.C:
5706         * text.C:
5707         * text2.C:
5708         * text3.C:
5709         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5710
5711 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5712
5713         * lyx_main.C (init): remove spurious static_cast
5714
5715 2003-05-14  André Pönitz  <poenitz@gmx.net>
5716
5717         * BufferView.C: fix format string
5718
5719 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * BufferView.[Ch] (insertErrors): removed
5722         * BufferView.[Ch] (showErrorList): added
5723         * buffer.C (runChkTeX):
5724         * converter.C (scanLog): call showErrorList instead of inserterrors
5725
5726 2003-05-13  André Pönitz  <poenitz@gmx.net>
5727
5728         * BufferView_pimpl.C:
5729         * buffer.C:
5730         * bufferview_func.C:
5731         * MenuBackend.C:
5732         * lyxfunc.C:
5733         * lyxrc.C:
5734         * tex-accent.C:
5735         * text3.C:
5736         * toc.C:
5737         * tabular_funcs.h: tostr() from its own header
5738
5739         * ParagraphParameters.C:
5740         * ToolbarBackend.C:
5741         * bufferparams.C:
5742         * format.C:
5743         * lyxlex_pimpl.C:
5744         * text3.C: STRCONV()
5745
5746 2003-05-12  André Pönitz  <poenitz@gmx.net>
5747
5748         * BufferView.C:
5749         * BufferView_pimpl.C:
5750         * CutAndPaste.C:
5751         * LaTeX.C:
5752         * LaTeXFeatures.C:
5753         * ParagraphParameters.C:
5754         * buffer.C:
5755         * bufferlist.C:
5756         * bufferparams.C:
5757         * bufferview_funcs.C:
5758         * converter.C:
5759         * counters.C:
5760         * debug.C:
5761         * exporter.C:
5762         * format.C:
5763         * importer.C:
5764         * lyx_cb.C:
5765         * lyx_main.C:
5766         * lyxfont.C:
5767         * lyxfunc.C:
5768         * lyxvc.C:
5769         * paragraph.C:
5770         * paragraph_funcs.C:
5771         * tabular.C:
5772         * tabular_funcs.C:
5773         * text2.C:
5774         * text3.C:  boost::format -> bformat  all over the place
5775
5776
5777 2003-05-09  André Pönitz  <poenitz@gmx.net>
5778
5779         * LColor.[Ch]: Pimpl the #include <map> away
5780
5781 2003-05-09  John Levon  <levon@movementarian.org>
5782
5783         * bufferlist.C: never remove emergency saves
5784
5785 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * Makefile.am: better lib building
5788
5789 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5792         instead.
5793         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5794         (simpleTeXSpecialChars): adjust
5795         (simpleTeXSpecialChars): adjust
5796         * paragraph.C (simpleTeXOnePar): adjust
5797         * buffer.C (makeLaTeXFile): adjust
5798
5799         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5800
5801         * text2.C (changeDepth): parlist cleanup
5802         (getColumnNearX): ditto
5803
5804         * rowpainter.C (getLabelFont): parlist cleanup
5805
5806         * bufferlist.C (newFile): parlist cleanup
5807
5808         * CutAndPaste.C (eraseSelection): parlist cleanup
5809
5810         * BufferView_pimpl.C (trackChanges): parlist cleanup
5811         (dispatch): ditto
5812
5813         * BufferView.C (lockInset): parlist cleanup.
5814         (ChangeInsets): ditto
5815
5816 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * CutAndPaste.h: Update file header.
5819
5820         * CutAndPaste.C: Update file header.
5821         Store the parts cut out of the Document in a limited_stack.
5822         (copySelection): adjust
5823         (pasteSelection): new function, takes the index in the limited stack.
5824         (nrOfParagraphs): adjust
5825         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5826         simplify error inset insertion.
5827         (checkPastePossible): adjust
5828
5829 2003-05-06  John Levon  <levon@movementarian.org>
5830
5831         * text2.C: don't cast wrap inset to float
5832
5833 2003-05-05  André Pönitz  <poenitz@gmx.net>
5834
5835         * iterator.C:
5836         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5837
5838         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5839           few naked Paragraph *.
5840
5841 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5842
5843         * bufferparams.C: Output warning if a document with missing
5844         TeX document class is loaded
5845         * exporter.C: Disable TeX exports if the document class is missing
5846         * lyxtextclass.C:
5847         * lyxtextclass.h:
5848         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5849         isTeXClassAvailable()
5850
5851 2003-05-03  John Levon  <levon@movementarian.org>
5852
5853         * BufferView.h:
5854         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5855         explicit cursor show/hide
5856
5857         * BufferView_pimpl.h:
5858         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5859         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5860
5861         * lyxfunc.C: hide cursor before dispatching.
5862
5863         * lyx_cb.C:
5864         * lyxfind.C:
5865         * text.C:
5866         * text3.C: remove explicit cursor hides
5867
5868 2003-05-02  André Pönitz  <poenitz@gmx.net>
5869
5870         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5871
5872         * undo_funcs.C:
5873         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5874           linked lists
5875
5876         * text2.C: tiny whitespace
5877
5878 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * undo_funcs.C: almost only ws changes.
5881
5882         * ParagraphList.C (splice): just return if pl is empty.
5883
5884 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * ParagraphList.C (splice): new function.
5887
5888         * CutAndPaste.C (pasteSelection): use it
5889
5890 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * CutAndPaste.C (pasteSelection): remove the last next and
5893         previous from this file.
5894
5895 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * CutAndPaste.C (pasteSelection): more clean up, user proper
5898         ParagraphList functions for pasteing.
5899
5900         * ParagraphList.C (insert): new function, three arg insert
5901
5902 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * ParagraphList.C (insert): new function, three arg insert
5905
5906         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5907         not on paragraphs.
5908
5909 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5912
5913 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5916
5917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5920         (copySelection): clean up a bit.
5921         (pasteSelection): use make_pair
5922
5923         * ParagraphList.C (ParagraphList): implement copy constructor
5924         (operator=): implement, base on copy constructor.
5925         (assign): new func
5926
5927         * paragraph.C (erase): return a bool
5928
5929         * paragraph_pimpl.C (erasePos): remove function, move contents...
5930         (erase): ... here. Return a bool.
5931         (erase): call erase instead of erasePos.
5932
5933 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5934
5935         * ParagraphList.h: define PitPosPair
5936         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5937         ParagraphList, fix a bug on pasting multiple pars
5938         * text2.C: change interface to C&P
5939
5940 2003-04-30  André Pönitz  <poenitz@gmx.net>
5941
5942         * undo_func.C: revert part of yesterday's patch 2
5943
5944 2003-04-30  John Levon  <levon@movementarian.org>
5945
5946         * LColor.C: s/tabular/table/
5947
5948 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * text3.C (dispatch): do not convert iterator -> pointer
5951         * undo_funcs.C (setCursorParUndo): ditto
5952         * text_funcs.C (transposeChars): ditto
5953
5954         * text2.C (setLayout): ws changes only
5955
5956         * text.C (breakParagraph): do not convert iterator -> pointer
5957         (insertChar): ditto
5958         (acceptChange): ditto
5959         (rejectChange): ditto
5960         (changeCase): ditto
5961         (Delete): ditto
5962         (backspace): ditto
5963
5964         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5965         pointer
5966
5967 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5968
5969         * text3.C (gotoInset): YABG (yet another bad getChar)
5970
5971 2003-04-29  André Pönitz  <poenitz@gmx.net>
5972
5973         * paragraph.h: make operator= private unimplemented as long as
5974           it is unusable
5975
5976         * ParagraphList.C: whitespace
5977
5978         * paragraph.[Ch]:
5979         * paragraph_pimpl.[Ch]:
5980         * paragraph_funcs.C:
5981         * CutAndPaste.C:
5982         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5983
5984         * text2.C:
5985           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5986
5987 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5988
5989         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5990         * paragraph.[Ch] (erase):
5991         * paragraph_pimpl.[Ch] (erase): change return type and value
5992         * text2.C (cutSelection): some rework
5993
5994 2003-04-28  John Levon  <levon@movementarian.org>
5995
5996         * bufferlist.C: changes for unsaved changes dialog
5997
5998 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * bufferlist.C (newFile): set language (messages_) for new
6001         documents also.
6002
6003         * buffer.C (readFile): ws changes only.
6004
6005 2003-04-28  André Pönitz  <poenitz@gmx.net>
6006
6007         * undo_funcs.C:
6008         * lyxfunc.C:
6009         * buffer.[Ch]:
6010         * BufferView_pimpl.C:
6011         * BufferView.C: getParFromID related ParagraphList::iterator changes
6012
6013 2003-04-28  André Pönitz  <poenitz@gmx.net>
6014
6015         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6016           Changes
6017
6018 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * messages.C: remove one more localedir class variable.
6021
6022 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * messages.C (getLocaleDir): singleton generation function
6025         (Pimpl): use it.
6026         (Messages): add a default constructor.
6027
6028         * main.C (main): do not setup localedir here, do not call
6029         gettext_init.
6030
6031         * gettext.C (_): use it.
6032         (gettext_init): delete funciton
6033
6034 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * gettext.C (getLyXMessages): new singleton generating function.
6037
6038         * buffer.C (updateDocLang): adjust
6039
6040         * Makefile.am (messages.o): add target
6041         (main.o): remove target
6042
6043 2003-04-27  John Levon  <levon@movementarian.org>
6044
6045         * bufferlist.C:
6046         * lyx_cb.C:
6047         * lyxfunc.C:
6048         * lyxvc.C: specify cancel button in Alert::prompt
6049
6050 2003-04-26  John Levon  <levon@movementarian.org>
6051
6052         * text3.C:
6053         * lyxfunc.C:
6054         * lfuns.h:
6055         * LyXAction.C: add LFUN_INSET_SETTINGS
6056
6057         * lyxfunc.C: don't enable tabular-feature when there's
6058         just any locking inset
6059
6060 2003-04-26  John Levon  <levon@movementarian.org>
6061
6062         * bufferlist.C: re-add Cancel to buffer close question
6063
6064         * lyxfunc.C: fix import UI a bit
6065
6066 2003-04-25  John Levon  <levon@movementarian.org>
6067
6068         * gettext.C: remove the broken asserts for now
6069
6070 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6071
6072         * messages.C: make case where setlocale cannot comply work better.
6073
6074         * buffer.C (updateDocLang): new function
6075         (changeLanguage): use it
6076         (readFile): use it
6077
6078         * text2.C (setCounter): use B_ a bit.
6079
6080         * lyxlayout.C (Read): be sure to trim the label strings.
6081
6082         * messages.C (Messages): fix typo in comment
6083
6084         * buffer.C (readFile): set message_ after file is loaded.
6085         (makeDocBookFile): remove double return
6086         (changeLanguage): reset message_ upon language change.
6087         (B_): new func, use this to get translated buffer strings.
6088
6089         * main.C: add myself and Jean Marc as authors.
6090
6091 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * messages.[hC]: pimplify Messages, and three different pimpls to be
6094         used in different circumstances.
6095
6096         * gettext.[Ch]: change for use with new message code.
6097
6098 2003-04-24 André Pönitz <poenitz@gmx.net>
6099
6100         * factory.C: support for eqref
6101
6102 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6103
6104         * messages.[Ch]: add missing char
6105
6106         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6107
6108         * messages.[Ch]: New files
6109
6110 2003-04-18  John Levon  <levon@movementarian.org>
6111
6112         * BufferView.h:
6113         * BufferView.C:
6114         * BufferView_pimpl.C:
6115         * lfuns.h:
6116         * LyXAction.C:
6117         * lyxtext.h:
6118         * text2.C: remove layout-copy/paste (bug 778)
6119
6120 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6121
6122         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6123
6124 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6125
6126         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6127         if they succeed. Act accordingly.
6128
6129 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * text2.C (setCharFont): adjust
6132         (setCounter): adjust
6133         (insertStringAsLines): adjust
6134
6135         * text.C (leftMargin): adjust
6136         (setHeightOfRow): adjust
6137
6138         * rowpainter.C (paintFirst): adjust
6139         (paintLast): adjust
6140
6141         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6142         (outerHook): ditto
6143         (isFirstInSequence): ditto
6144         (getEndLabel): ditto
6145         (outerFont): adjust
6146
6147         * paragraph.C (getParLanguage): comment out some hard stuff.
6148
6149         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6150         (sgmlError): ditto
6151         (simpleDocBookOnePar): ditto
6152         (makeDocBookFile): use ParagraphList::iterator
6153
6154         * CutAndPaste.C (pasteSelection): adjust
6155
6156 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * text2.C (getFont): adjust
6159         (getLayoutFont): adjust
6160         (getLabelFont): adjust
6161
6162         * paragraph_funcs.C (TeXOnePar): adjust
6163
6164         * buffer.C (simpleLinuxDocOnePar): adjust
6165         (simpleDocBookOnePar): adjust
6166
6167         * CutAndPaste.C (pasteSelection): adjust
6168
6169         * BufferView.C (getEncoding): adjust
6170
6171         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6172
6173 2003-04-16  John Levon  <levon@movementarian.org>
6174
6175         * lyxfind.C: use parlist stuff for search/changes
6176
6177 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6180
6181         * text2.C (deleteEmptyParagraphMechanism): adjust
6182
6183         * text2.[Ch] (ownerParagraph): delete func (both of them
6184
6185 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6188
6189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * ParagraphList.C: prepare for NO_NEXT
6192
6193 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * text2.C (getFont): adjust
6196         (getLayoutFont): adjust
6197         (getLabelFont): adjust
6198
6199         * paragraph.C (getFont): adjust
6200         (getLabelFont): adjust
6201         (getLayoutFont): adjust
6202
6203         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6204
6205 2003-04-15  John Levon  <levon@movementarian.org>
6206
6207         From Angus Leeming
6208
6209         * lyx_main.C: handle Include in .ui files
6210
6211 2003-04-15  John Levon  <levon@movementarian.org>
6212
6213         * MenuBackend.C: make the doc files length shorter
6214
6215         * ToolbarBackend.h:
6216         * ToolbarBackend.C: handle toolbar placement flags,
6217         Minibuffer
6218
6219 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6222         adjust
6223
6224         * paragraph_funcs.C (TeXOnePar): adjust
6225
6226         * paragraph.C (getLabelFont): add outerfont arg, adjust
6227         (getLayoutFont): ditto
6228         (simpleTeXOnePar): adjust
6229
6230         * paragraph_pimpl.C (realizeFont): delete func
6231
6232 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6233
6234         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6235         row argument, constify cur argument.
6236
6237 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * text2.C (getFont): adjust
6240         (getLayoutFont): adjust
6241         (getLabelFont): adjust
6242
6243         * paragraph_funcs.C (TeXOnePar): adjust
6244         (outerFont): new func...
6245         (realizeFont): ...moved out from here, changed this to facilitate
6246         transition
6247
6248         * paragraph.C (getFont): take outerfont as arg, adjust
6249         (simpleTeXOnePar): add outerfont arg, adjust
6250
6251         * buffer.C (simpleLinuxDocOnePar): adjust
6252         (simpleDocBookOnePar): adjust
6253
6254         * CutAndPaste.C (pasteSelection): adjust
6255
6256         * BufferView.C (getEncoding): adjust
6257
6258 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * text2.C (setCharFont): adjust
6261         (setCounter): adjust
6262
6263         * text.C (leftMargin): adjust
6264         (setHeightOfRow): adjust
6265
6266         * rowpainter.C (paintFirst): adjust
6267         (paintLast): adjust
6268
6269         * paragraph_pimpl.C (realizeFont): adjust
6270
6271         * paragraph.C (isFirstInSequence): move from here...
6272         * paragraph_funcs.C (isFirstInSequence): ...to here
6273
6274         * paragraph.C (outerHook): move from here...
6275         * paragraph_funcs.C (outerHook): ...to here
6276
6277         * paragraph.C (depthHook): move from here...
6278         * paragraph_funcs.C (depthHook): ...to here
6279
6280         * paragraph.C (getEndLabel): move from here...
6281         * paragraph_funcs.C (getEndLabel): ...to here
6282
6283         * text2.C (realizeFont): move from here...
6284         * paragraph_funcs.C (realizeFont): ...to here
6285
6286 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6289
6290 2003-04-14  Angus Leeming  <leeming@lyx.org>
6291
6292         * LColor.[Ch]: scrap LColor mathcursor.
6293
6294 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * lyxlex.[Ch] (text): delete function
6297         * trans.C (Load): adjust
6298         * paragraph_funcs.C (readParToken): adjust
6299
6300 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6303         vector<char> instead of a char[].
6304
6305         * lyxlex_pimpl.C (getString): adjust
6306         (next): adjust
6307         (lex): use getString
6308         (eatLine): adjust
6309         (nextToken): adjust
6310
6311         * lyxlex.C (text): use pimpl_->getString()
6312         (getBool): ditto
6313         (findToken): ditto
6314
6315 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6318         (makeFontEntriesLayoutSpecific): temp var for par.size()
6319         (setLayout): temp var for ownerParagraphs().end()
6320         (fullRebreak): temp var for rows().end()
6321         (selectionAsString): temp var for boost::next(startpit), realize
6322         that the while really is a regular for loop.
6323         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6324         setCursor in one place.
6325         (setParagraph): temp vr for ownerParagraphs().end()
6326         (updateCounters): make the while loop a for loop
6327         (cutSelection): temp var for ownerParagraphs().end()
6328         (updateInset): make the do {} while() a regular for loop
6329         (getCursorX): use temp vars
6330         (setCurrentFont): use temp vars
6331         (getColumnNearX): use temp vars
6332
6333 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * text.C (transformChar): use temp var for getChar
6336         (computeBidiTables): use temp var for row->par()
6337         (fill): move temp vars for row->par() and pit->layout() earlier in
6338         the function.
6339         (labelFill): use temp var for row->par()
6340         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6341         asc and desc, realize that pit never changes and that firstpit is
6342         just a duplicate and not needed. Exchange rit->par() with pit in a
6343         lot of places.
6344         (breakAgain): use a temp var for boost::next(rit)
6345         (breakAgainOneRow): ditto
6346         (breakParagraph): use a temp var for rows().begin()
6347         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6348         (cursorRightOneWord): use temp var for cursor.par() and
6349         cursor.pos(), remove usage of tmpcursor.
6350         (cursorLeftOneWord): use temp var for cursor.par() and
6351         cursor.pos() only set cur at end of function.
6352
6353 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * text.C, text2.C: exchange all usage of Paragraph::next with
6356         boost::next(ParagraphList::iterator)
6357
6358         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6359
6360         * text2.C (cursorTop): simplify implementation
6361         (cursorBottom): ditto
6362         (setParagraph): use ParagraphList::iterator
6363         (setCurrentFont): adjust
6364         (getColumnNearX): adjust
6365         (cursorRight): adjust
6366         (cursorLeft): remove usage of Paragraph::previous
6367         (cursorUpParagraph): ditto
6368         (deleteEmptyParagraphMechanism): slight cleanup
6369
6370         * text.C (isBoundary): take a Paragraph const & instead of a
6371         pointer as arg.
6372         (addressBreakPoint): ditto
6373         (leftMargin): remove usage of Paragraph::previous.
6374         (setHeightOfRow): ditto
6375         (cursorLeftOneWord): ditto
6376         (selectNextWordToSpellcheck): ditto
6377         (Delete): ditto
6378         (backspace): ditto
6379         (breakParagraph): remove one usage of Paragraph::next
6380         (redoParagraph): ditto
6381         (acceptChange): ditto
6382         (insertChar): adjust
6383         (rowBreakPoint): adjust
6384
6385         * bufferview_funcs.C (toggleAndShow): adjust
6386
6387 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6390         methods to access it.
6391         * lyxtext.h:
6392         * text.C: Added updateRowPositions to compute all row positions.
6393         Make top_y and getRowNearY() to use the cached y position
6394
6395 2003-04-11  John Levon  <levon@movementarian.org>
6396
6397         * text.C (rowBreakPoint): reintroduce the labelEnd
6398         checks, code copied from the row fill stuff. Deep voodoo.
6399
6400         * text.C (fill): add a comment and debugging for the
6401         next poor soul.
6402
6403 2003-04-11  John Levon  <levon@movementarian.org>
6404
6405         * text.C: make sure fullrow insets get wrapped to the next line,
6406         even when they're in a manual label
6407
6408 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * text2.C (insertParagraph): make it take ParagraphList::iterator
6411         as arg.
6412         (setLayout): make it return ParagraphList::iterator
6413         (redoParagraphs): ditto
6414         (setCounter): ditto
6415         (checkParagraph): ditto
6416
6417         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6418
6419         * text2.C: adjust several funcs.
6420         (realizeFont): take a ParagraphList::iterator as arg.
6421         (getLayoutFont): ditto
6422         (getLabelFont): ditto
6423         (setCharFont): ditto
6424
6425         * text.C: adjust several funcs.
6426
6427 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * text.C (selectNextWordToSpellcheck): don't accidentally
6430         skip insets
6431
6432 2003-04-10  John Levon  <levon@movementarian.org>
6433
6434         * ToolbarBackend.C (getIcon): special handling for
6435         LFUN_MATH_DELIM
6436
6437 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6438
6439         * text2.C (cursorRight): a getChar assert fixed
6440
6441 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * text2.C (getFont): change to take a ParagraphList::iterator
6444         instead of Paragraph*
6445         Adjust several functions.
6446
6447         * text.C (transformChar): change to take a ParagraphList::iterator
6448         instead of Paragraph*
6449         (singleWidth): ditto
6450         Adjust several functions.
6451
6452         * rowpainter.C: adjust several functions
6453         * rowpainter.h:store a ParagraphList::iterator and not a
6454         Paragraph&.
6455
6456
6457 2003-04-09  John Levon  <levon@movementarian.org>
6458
6459         * lyxfunc.C:
6460         * lfuns.h:
6461         * LyXAction.h:
6462         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6463         and the "help" bits as well
6464
6465 2003-04-09  John Levon  <levon@movementarian.org>
6466
6467         * ToolbarBackend.h:
6468         * ToolbarBackend.C: allow multiple toolbars
6469
6470 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * undo_funcs.C (setCursorParUndo): adjust
6473
6474         * text_funcs.C (transposeChars): adjust
6475
6476         * text3.C (gotoNextInset): adjust
6477         (dispatch): adjust
6478
6479         * text2.C (setLayout): adjust
6480         (changeDepth): adjust
6481         (setFont): adjust
6482         (redoParagraphs): adjust
6483         (selectionAsString): adjust
6484         (setParagraph): adjust
6485         (insertInset): adjust
6486         (cutSelection): adjust
6487         (copySelection): adjust
6488         (pasteSelection): adjust
6489         (insertStringAsLines): adjust
6490         (updateInset): adjust
6491         (setCursor): change to take a ParagraphList::iterator parameter
6492         (setCursorIntern): change to take a ParagraphList::iterator parameter
6493         (setCurrentFont): adjust
6494         (cursorLeft): adjust
6495         (cursorRight): adjust
6496         (deleteEmptyParagraphMechanism): adjust
6497
6498         * text.C (breakParagraph): adjust
6499         (insertChar): adjust
6500         (acceptChange): adjust
6501         (rejectChange): adjust
6502         (selectNextWordToSpellcheck): adjust
6503         (changeCase): adjust
6504         (Delete): adjust
6505         (backspace): adjust
6506
6507         * lyxfind.C (SearchForward): adjust
6508         (SearchBackward): adjust
6509         (nextChange): adjust
6510
6511         * lyxcursor.C (par): adjust
6512
6513         * lyxcursor.h: store a ParagraphList::iterator instead of a
6514         Paragraph*
6515
6516         * lyx_cb.C (getPossibleLabel): adjust
6517
6518         * bufferview_funcs.C (toggleAndShow): adjust
6519
6520         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6521         (dispatch): adjust
6522
6523         * BufferView.C (removeAutoInsets): adjust
6524         (lockedInsetStoreUndo): adjust
6525
6526 2003-04-09  John Levon  <levon@movementarian.org>
6527
6528         * ToolbarBackend.C: try icon without argument
6529         if with argument fails
6530
6531 2003-04-08  John Levon  <levon@movementarian.org>
6532
6533         * ToolbarBackend.h:
6534         * ToolbarBackend.C: add getIcon(), handle tooltip,
6535         and change from "Icon" to "Item".
6536
6537 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * BufferView.C (lockInset): another bad getchar crunched
6540
6541 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6542
6543         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6544         again)
6545
6546 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6547
6548         * lyxfind.C (searchForward, searchBackwards): bug 782
6549
6550 2003-04-07  John Levon  <levon@movementarian.org>
6551
6552         * paragraph.C: remove dead comment
6553
6554         * text.C: remove troublesome depth-fiddling code
6555         in leftMargin() and rightMargin() (bug 1017)
6556
6557         * text.C: fix breaking of rows in nested lists
6558         (bug 1004)
6559
6560         * text2.C (updateCounters): fix up depth values
6561         (bug 1013)
6562
6563 2003-04-07  John Levon  <levon@movementarian.org>
6564
6565         * BufferView_pimpl.C: clear message when doc finishes resizing,
6566         and after a mouse event
6567
6568         * lyxfunc.C: clear message after exiting inset
6569
6570 2003-04-07  John Levon  <levon@movementarian.org>
6571
6572         * bufferview_funcs.C: show math status not outside
6573         status in the statusbar
6574
6575 2003-04-07  John Levon  <levon@movementarian.org>
6576
6577         * lyxfunc.C: note status changed after a depth change
6578
6579 2003-04-04  Angus Leeming  <leeming@lyx.org>
6580
6581         * LaTeX.h: move AuxInfo operator==, != out of line.
6582         Remove LaTeX virtual destructor; nothing derives from it.
6583         Move operator()() out of public area and rename it startscript().
6584         Change protected for private.
6585
6586 2003-04-04  Angus Leeming  <leeming@lyx.org>
6587
6588         * lyxfunc.C:
6589         * text2.C: remove unneeded #includes.
6590
6591 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * text2.C (dEPM): fix the heigth of the next row
6594
6595 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * text.C: squashed an invalid getChar requester + some ws changes
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: make getStatus work for the env depth lfuns
6606
6607 2003-04-03  John Levon  <levon@movementarian.org>
6608
6609         * bufferview_funcs.h:
6610         * bufferview_funcs.C:
6611         * lyxfunc.C:
6612         * lyxtext.h:
6613         * text2.C: parlistize decDepth(), by merging it with incDepth()
6614
6615 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * lyxrow.h: store a ParagraphList::iterator instead of a
6618         Paragraph* and adjust other class functions to suit.
6619
6620         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6621         above.
6622
6623 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * text2.C (setCursor): do not anchor to cursor row for the time being
6626
6627 2003-04-02  John Levon  <levon@movementarian.org>
6628
6629         * LyXAction.C:
6630         * lfuns.h:
6631         * lyx_main.C:
6632         * lyxtext.h:
6633         * text.C:
6634         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6635
6636 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * paragraph.h: make ParagraphList and ParagraphList::iterator
6639         friends of Paragraph.
6640
6641         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6642
6643         * ParagraphList.C: Use the private next_ and previous_ from
6644         Paragraph.
6645
6646 2003-04-01  John Levon  <levon@movementarian.org>
6647
6648         * ToolbarBackend.h:
6649         * ToolbarBackend.C:
6650         * Makefile.am: rename, remove defaults gunk
6651
6652         * MenuBackend.h:
6653         * MenuBackend.C: remove defaults gunk
6654
6655         * Languages.h:
6656         * Languages.C: remove defaults gunk
6657
6658         * lyx_main.h:
6659         * lyx_main.C: error out if files couldn't be found.
6660
6661 2003-04-02  John Levon  <levon@movementarian.org>
6662
6663         * text2.C: make incDepth() use parlist
6664
6665 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * undo_funcs.C (firstUndoParagraph): adjust
6668
6669         * text3.C (gotoInset): adjust
6670         (dispatch): adjust, and rewrite loop.
6671
6672         * text2.C (init): adjust, and rewrite loop.
6673         (redoParagraphs): adjust
6674         (updateInset): adjust, and rewrite loop.
6675         (deleteEmptyParagraphMechanism): adjust
6676
6677         * tabular.C (LyXTabular): adjust
6678         (SetMultiColumn): adjust
6679         (TeXRow): adjust
6680
6681         * lyxtext.[Ch] (ownerParagraph): delete function
6682         (ownerParagraphs): new function returns a ParagraphList.
6683
6684         * BufferView.C (removeAutoInsets): adjust
6685         (insertErrors): adjust
6686         (setCursorFromRow): adjust
6687
6688 2003-04-01  Angus Leeming  <leeming@lyx.org>
6689
6690         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6691         in the frontends.
6692
6693 2003-04-02  John Levon  <levon@movementarian.org>
6694
6695         * lyxtext.h:
6696         * text.C:
6697         * Makefile.am:
6698         * text_funcs.h:
6699         * text_funcs.C: make transposeChars a free function
6700
6701         * lyxrow_funcs.C: remove wrong comment
6702
6703 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * lyxtext.h: adjust
6706         * rowpainter.C: adjust
6707         * text.C: adjust
6708         * text2.C: adjust
6709         * text3.C: adjust
6710
6711         * lyxrow_funcs. [Ch]: new files
6712
6713         * lyxrow.[Ch]: remove next and previous pointers
6714         (next,previous): remove accessor functions
6715         (isParEnd): move to lyxrow_funcs
6716         (lastPos): move to lyxrow_funcs
6717         (nextRowIsAllInset): move to lyxrow_funcs
6718         (lastPrintablePos): move to lyxrow_funcs
6719         (numberOfSeparators): move to lyxrow_funcs
6720         (numberOfHfills): move to lyxrow_funcs
6721         (numberOfLabelHfills): move to lyxrow_funcs
6722         (hfillExpansion): move to lyxrow_funcs
6723
6724         * lyxfunc.C: adjust
6725
6726         * bufferview_funcs.C (toggleAndShow): adjust
6727
6728         * RowList.h: Remove class RowList from file leave just a
6729         std::list<Row>.
6730
6731         * RowList.C: delete file
6732
6733         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6734         and lyxrow_funcs.h
6735
6736 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text3.C (cursorPrevious): adjust
6739         (cursorNext): adjust
6740         (dispatch): adjust
6741
6742         * text2.C (redoHeightOfParagraph): adjust
6743         (redoDrawingOfParagraph): adjust
6744         (setCursor): adjust
6745
6746         * text.C (breakParagraph): adjust
6747         (insertChar): adjust
6748         (backspace): adjust
6749
6750         * rowpainter.C (RowPainter): adjust
6751         (leftMargin): simplify and adjust
6752         (most rowpainter functions): adjust.
6753
6754         * rowpainter.h: store the row as RowList::iterator not as Row*
6755
6756         * lyxcursor.C (row): taka RowList::iterator as arg
6757         (irow): ditto
6758
6759         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6760         of Row*.
6761
6762 2003-04-01  Angus Leeming  <leeming@lyx.org>
6763
6764         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6765         stuff like bool Bool.
6766
6767 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6768
6769         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6770         rewrite a loop
6771
6772 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6775         RowList::iterator.
6776
6777         * lyxtext.h (rows): drop one version and leve a const variant that
6778         returns a RowList::iterator.
6779
6780 2003-03-31  Angus Leeming  <leeming@lyx.org>
6781
6782         * text.C (fill): ensure that the signature is the same as that in the
6783         header file.
6784
6785 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * text2.C (redoParagraphs): adjust
6788         (updateCounters): adjust
6789         (checkParagraph): adjust
6790         (getColumnNearX): adjust and reformat a bit.
6791
6792         * text.C (top_y): adjust
6793         (workWidth): adjust
6794         (leftMargin): adjust
6795         (prepareToPrint): adjust
6796         (getRow): adjust
6797         (getRowNearY): adjust
6798
6799         * lyxtext.h: make rowlist_ mutable.
6800
6801         * RowList.h: add const_iterator
6802         * RowList.C: adjust for RowList::const_iterator.
6803
6804         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6805         adjust.
6806
6807 2003-03-31  John Levon  <levon@movementarian.org>
6808
6809         * lyxrc.h:
6810         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6811
6812         * lyx_main.C: set default fonts from using lyx_gui funcs
6813
6814         * exporter.C: pdf_mode moved from lyxrc
6815
6816         * lyx_cb.C:
6817         * lyxfunc.C: changes from above
6818
6819 2003-03-31  John Levon  <levon@movementarian.org>
6820
6821         * lyx_main.C: fix to the last fix
6822
6823 2003-03-31  John Levon  <levon@movementarian.org>
6824
6825         * bufferlist.C: "Load original" -> "Load Original"
6826
6827         * converter.C:
6828         * exporter.C:
6829         * importer.C:
6830         * lyx_main.C:
6831         * format.C: more Alert cleanups
6832
6833 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * text2.C (removeParagraph): make it take a RowList::iterator as
6836         arg, adjust.
6837         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6838         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6839
6840         * text.C (anchor_row): make it take a RowList::iterator as arg,
6841         adjust.
6842         (computeBidiTables): make it take a const reference to Row instead
6843         of Row pointer, adjust.
6844         (leftMargin): make it take a RowList::iterator as arg, adjust.
6845         (rowBreakPoint): adjust
6846         (breakAgainOneRow): make it take a RowList::iterator as arg,
6847         adjust.
6848         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6849
6850         * bufferview_funcs.C (toggleAndShow): adjust
6851
6852 2003-03-30  John Levon  <levon@movementarian.org>
6853
6854         * Makefile.am:
6855         * BoostFormat.h:
6856         * boost-inst.C: moved to support
6857
6858         * several files: changes as a result
6859
6860 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * text2.C (LyXText): adjust.
6863         (init): adjust
6864         (removeRow): make it take a RowList::iterator as arg, adjust.
6865         (fullRebreak): adjust
6866         (deleteEmptyParagraphMechanism): adjust
6867         (clearPaint): adjust
6868         (postPaint): adjust
6869
6870         * text.C (top_y): adjust
6871         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6872         (breakAgain): make it take a RowList::iterator as arg, adjust.
6873         (breakParagraph): adjust
6874         (insertChar): adjust
6875         (backspace): adjust
6876
6877         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6878         need_break_row, and refresh_row.
6879
6880         * text3.C (dispatch): adjust
6881
6882         * text2.C (checkParagraph): adjust
6883         (setCursor): adjust
6884         (setCursorFromCoordinates): adjust
6885
6886         * text.C (top_y): adjust
6887         (workWidth): adjust
6888         (getRow): make it return a RowList::iterator, adjust
6889         (getRowNearY): make it return a RowList::iterator, adjust
6890
6891         * text2.C (init): adjust
6892         (insertRow): remove function
6893         (insertParagraph): adjust
6894         (redoParagraphs): adjust
6895         (fullRebreak): adjust
6896         (updateCounters): adjust
6897
6898         * text.C (top_y): rewrite to use RowList iterators.
6899         (top_y): adjust
6900         (setHeightOfRow): rewrite to sue RowList iterators.
6901         (appendParagraph): adjust
6902         (breakAgain): adjust
6903         (breakAgainOneRow): adjust
6904         (breakParagraph): adjust
6905         (getRow): adjust
6906         (getRowNearY): adjust, and remove commented code.
6907
6908         * lyxtext.h (firstRow): delete function
6909         (lastRow): delete function
6910         (rows): new function (const and non-const versions.)
6911         (insertRow): delete function
6912
6913         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6914
6915 2003-03-29  John Levon  <levon@movementarian.org>
6916
6917         * BufferView_pimpl.C: always update scrollbar top
6918         because pasting text when we're anchored could mean we
6919         miss an update altogether
6920
6921 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * text2.C (init): use rowlist_.end() and not 0.
6924         (insertRow): change to take a RowList::iterator as arg, adjust
6925         for this.
6926         (insertParagraph): change to take a RowList::iterator as arg,
6927         adjust for this.
6928         (redoParagraphs): remove some debug msgs.
6929
6930         * text.C (appendParagraph): change to take a RowList::iterator
6931         arg, adjust for this.
6932         (breakAgain): add an assert
6933         (breakAgainOneRow): ditto
6934
6935 2003-03-29  John Levon  <levon@movementarian.org>
6936
6937         * text2.C: do not clear selection after inc/decDepth
6938         (bug 550)
6939
6940 2003-03-29  John Levon  <levon@movementarian.org>
6941
6942         * BufferView.C:
6943         * buffer.C: fix broken strerrors according to Lars
6944
6945 2003-03-29  John Levon  <levon@movementarian.org>
6946
6947         * converters.C: more Alert cleanups
6948
6949 2003-03-29  John Levon  <levon@movementarian.org>
6950
6951         * bufferview_funcs.C: remove pointless Alert
6952
6953         * buffer.C: fix confusing error message when
6954         a template is chmoded 000
6955
6956 2003-03-29  John Levon  <levon@movementarian.org>
6957
6958         * BufferView.C:
6959         * BufferView.h:
6960         * BufferView_pimpl.C: Alert fixes
6961
6962         * Makefile.am:
6963         * tabular.C:
6964         * tabular-old.C: remove unused table compat reading
6965
6966 2003-03-29  John Levon  <levon@movementarian.org>
6967
6968         * BufferView.C:
6969         * buffer.C:
6970         * lyx_cb.h:
6971         * lyx_cb.C: more Alert cleanups
6972
6973         * lyxfunc.C: don't allow chktex if not latex document
6974
6975 2003-03-29  John Levon  <levon@movementarian.org>
6976
6977         * lyx_cb.C:
6978         * BufferView.C:
6979         * buffer.C: warnings pushed down from support/,
6980         kill err_alert
6981
6982 2003-03-29  John Levon  <levon@movementarian.org>
6983
6984         * lyxfunc.C: safety check for C-r (revert)
6985
6986 2003-03-29  John Levon  <levon@movementarian.org>
6987
6988         * bufferlist.h:
6989         * bufferlist.C: several UI fixes using Alert::prompt.
6990         Fix the pointless looping quit code. Fix stupid revert
6991         behaviour (bug 938)
6992
6993         * lyxvc.h:
6994         * lyxvc.C:
6995         * lyx_cb.C: use Alert::prompt
6996
6997         * lyx_main.C: remove a silly question
6998
6999         * lyxfunc.C: remove a couple of silly questions,
7000         use Alert::prompt
7001
7002 2003-03-28  John Levon  <levon@movementarian.org>
7003
7004         * text2.C: fix bug 974 (End on empty par)
7005
7006 2003-03-28  John Levon  <levon@movementarian.org>
7007
7008         * BufferView_pimpl.C:
7009         * LyXAction.C:
7010         * lfuns.h: remove do-nothing math greek lfuns
7011
7012 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * lyxgluelength.h (isValidGlueLength): add default arg on
7015         parameter 2. Remove default arg from friend in class.
7016
7017         * lyxlength.h (isValidLength): add default arg on parameter 2.
7018         Remove default arg from friend in class.
7019
7020         * text2.C (LyXText): adjust, initialize refresh_row.
7021         (init): adjust
7022         (removeRow): adjust
7023         (insertRow): adjust
7024         (insertParagraph): adjst
7025         (redoParagraphs): adjust
7026         (fullRebreak): adjust
7027         (updateCounters): adjust
7028         (deleteEmptyParagraphMechanism): first attempt at fixing a
7029         crashing bug.
7030
7031         * text.C (top_y): adjust
7032         (setHeightOfRow): adjust
7033         (getRow): adjust
7034         (getRowNearY): adjust
7035
7036         * lyxtext.h: include RowList.h
7037         (~LyXText): not needed anymore, deleted.
7038         (firstRow): modify for RowList
7039         (lastRow): new function
7040         Delete firstrow and lastrow class variables, add a Rowlist
7041         rowlist_ class variable.
7042
7043         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7044         paragraph is empty.
7045
7046         * RowList.C (insert): fix case where it == begin().
7047
7048 2003-03-26  Angus Leeming  <leeming@lyx.org>
7049
7050         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7051         the thesaurus dialog.
7052
7053 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7056
7057         * RowList.[Ch]: new files
7058
7059         * ParagraphList.C (erase): handle the case where it == begin
7060         correctly.
7061
7062 2003-03-25  John Levon  <levon@movementarian.org>
7063
7064         * Makefile.am:
7065         * aspell_local.h:
7066         * aspell.C: add new aspell support
7067
7068         * lyxrc.h:
7069         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7070         have it accessible.
7071
7072 2003-03-25  Angus Leeming  <leeming@lyx.org>
7073
7074         * lfuns.h:
7075         * LyXAction.C (init): new LFUN_INSET_INSERT.
7076
7077         * BufferView_pimpl.C (dispatch): split out part of the
7078         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7079
7080         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7081         LFUN_INSET_APPLY.
7082
7083 2003-03-25  Angus Leeming  <leeming@lyx.org>
7084
7085         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7086
7087 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * text2.C:
7090         * text3.C: remove useless row->height(0)
7091
7092 2003-03-25  John Levon  <levon@movementarian.org>
7093
7094         * lyxtext.h:
7095         * text2.C:
7096         * text3.C: rename the refreshing stuff to better names
7097
7098 2003-03-24  John Levon  <levon@movementarian.org>
7099
7100         * BufferView_pimpl.h:
7101         * BufferView_pimpl.C: update layout choice on a mouse
7102         press/release
7103
7104 2003-03-23  John Levon  <levon@movementarian.org>
7105
7106         * Makefile.am: fix commandtags.h reference
7107
7108 2003-03-22  John Levon  <levon@movementarian.org>
7109
7110         * BufferView_pimpl.C:
7111         * lyxtext.h:
7112         * rowpainter.C:
7113         * rowpainter.h:
7114         * text.C:
7115         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7116
7117 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7118
7119         * lyxtext.h:
7120         * text.C: take the rtl methods out of line
7121
7122 2003-03-21 André Pönitz <poenitz@gmx.net>
7123
7124         * metricsinfo.[Ch]: new files containing structures to be passed around
7125         during the two-phase-drawing...
7126
7127 2003-03-21 André Pönitz <poenitz@gmx.net>
7128
7129         * lyxtextclass.C: read 'environment' tag.
7130
7131 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * text2.C (removeRow): fix bug 964
7134
7135 2003-03-20  John Levon  <levon@movementarian.org>
7136
7137         * rowpainter.C:
7138         * text.C:
7139         * text2.C: paint cleanups. Inset::update() dropped font
7140         parameter
7141
7142 2003-03-19  John Levon  <levon@movementarian.org>
7143
7144         * lyxfunc.C: only fitcursor/markDirty if available()
7145
7146 2003-03-19  John Levon  <levon@movementarian.org>
7147
7148         * commandtags.h: rename to ...
7149
7150         * lfuns.h: ... this, and renumber / cleanup
7151
7152 2003-03-19  John Levon  <levon@movementarian.org>
7153
7154         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7155         fit the cursor after an lfun
7156
7157         * BufferView.h:
7158         * BufferView.C:
7159         * BufferView_pimpl.h:
7160         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7161
7162         * LyXAction.C: layout-character should have ReadOnly
7163
7164         * ParagraphParameters.C:
7165         * buffer.C:
7166         * bufferview_funcs.C:
7167         * lyx_cb.C:
7168         * lyxfind.C:
7169         * lyxtext.h:
7170         * text.C:
7171         * text2.C:
7172         * text3.C:
7173         * undo_funcs.C: changes from above
7174
7175 2003-03-18  John Levon  <levon@movementarian.org>
7176
7177         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7178         remove it from update()
7179
7180         * lyxfunc.C: update layout choice after an lfun
7181
7182         * text3.C: remove extra updateLayoutChoice()s
7183
7184 2003-03-18  John Levon  <levon@movementarian.org>
7185
7186         * text.C: top_y change means full repaint, fix
7187         a drawing bug with cursor movement
7188
7189 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7190
7191         * lyxtext.h:
7192         * text.C:
7193         * text2.C: anchor row on setCursor
7194
7195 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * lyxtext.h: remove almost all mutable keywords
7198         * text.C:
7199         * text2.C:
7200         * text3.C: remove const keywords accordingly
7201
7202 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7205         anon namespace
7206         (TeXEnvironment): ditto
7207         (TeXOnePar): ditto
7208
7209 2003-03-17  John Levon  <levon@movementarian.org>
7210
7211         * text.C (rowBreakPoint): remove attempt to fix displayed
7212         math insets inside a manual label
7213
7214 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * lyxtext.h: remove BufferView* as first arg from almost all class
7217         functions.
7218         * other files: adjust.
7219
7220 2003-03-17  John Levon  <levon@movementarian.org>
7221
7222         * lyxtext.h:
7223         * undo_funcs.C:
7224         * text2.C: more paint cleanups
7225
7226         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7227
7228         * rowpainter.h:
7229         * rowpainter.C: remove "smart" background painting code
7230
7231 2003-03-16  John Levon  <levon@movementarian.org>
7232
7233         * lyxtext.h:
7234         * text.C:
7235         * text2.C:
7236         * text3.C: add helper functions for setting refresh_row/y
7237
7238 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7239
7240         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7241         newline inset which *can* get inserted in the pass_thru layouts.
7242         This is primarily for literate documents.
7243
7244 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7245
7246         * buffer.C: increment LYX_FORMAT to 223
7247
7248 2003-03-14 André Pönitz <poenitz@gmx.net>
7249
7250         * textclass.h: prepare for environment handling, ws changes
7251         * lyxlayout.C: read latexheader and latexfooter tags
7252
7253 2003-03-14  John Levon  <levon@movementarian.org>
7254
7255         * text2.C: rewrite ::status() a bit
7256
7257 2003-03-13  John Levon  <levon@movementarian.org>
7258
7259         * lyxtext.h: add some docs
7260
7261 2003-03-13  John Levon  <levon@movementarian.org>
7262
7263         * lyxtext.h:
7264         * text.C:
7265         * text2.C:
7266         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7267
7268 2003-03-13  John Levon  <levon@movementarian.org>
7269
7270         * text3.C: fix appendix redrawing
7271
7272 2003-03-13  John Levon  <levon@movementarian.org>
7273
7274         * text.C (setHeightOfRow):
7275         * rowpainter.h:
7276         * rowpainter.C: make appendix mark have the text
7277           "Appendix" so the user knows what it is
7278
7279         * LColor.h:
7280         * LColor.C: s/appendixline/appendix/ from above
7281
7282 2003-03-13  John Levon  <levon@movementarian.org>
7283
7284         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7285
7286         * text.C: fix a getChar(pos) bug properly
7287
7288 2003-03-13  Angus Leeming  <leeming@lyx.org>
7289
7290         * commandtags.h:
7291         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7292         Probably only temporary. Let's see how things pan out.
7293
7294         * BufferView.C (unlockInset):
7295         * BufferView_pimpl.C (fitCursor):
7296         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7297
7298         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7299         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7300
7301         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7302         new functions that convert ParagraphParameters to and from a string.
7303
7304         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7305         BufferView::Pimpl's dispatch.
7306         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7307
7308 2003-03-13 André Pönitz <poenitz@gmx.net>
7309
7310         * lyxfunc.C:
7311         * text3.C:
7312         * factory.C: make it aware of InsetEnv
7313
7314 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * text2.C (setCursor): never ask for one past last
7317         (setCursor): add some debugging messages.
7318
7319         * text.C (singleWidth): never ask for one past last
7320         (singleWidth): ditto
7321         (leftMargin): ditto
7322         (rightMargin): ditto
7323         (rowBreakPoint): ditto
7324         (setHeightOfRow): ditto
7325         (prepareToPrint): ditto
7326
7327         * rowpainter.C (paintBackground): never ask for one past last
7328         (paintText): never ask for one past last
7329
7330         * paragraph_pimpl.C (getChar): make the assert stricter, never
7331         allow the one past last pos to be taken
7332
7333         * paragraph.C (getChar): ws changes only
7334
7335         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7336         (numberOfSeparators): ditto
7337         (numberOfHfills): ditto
7338
7339 2003-03-12  John Levon  <levon@movementarian.org>
7340
7341         * author.h:
7342         * author.C:
7343         * bufferparams.h:
7344         * bufferparams.C:
7345         * paragraph_funcs.C: fix per-buffer authorlists
7346
7347 2003-03-12  John Levon  <levon@movementarian.org>
7348
7349         * text.C: fix newline in right address
7350
7351 2003-03-12  Angus Leeming  <leeming@lyx.org>
7352
7353         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7354         duplicate those in LyXFunc::dispatch.
7355
7356         * commandtags.h:
7357         * LyXAction.C:
7358         * ToolbarDefaults.C:
7359         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7360         Add LFUN_FONTFREE_UPDATE.
7361
7362         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7363         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7364
7365         * bufferview_func.[Ch]: several new functions to facilliate
7366         transfer of data to and from the character dialog.
7367
7368 2003-03-12  John Levon  <levon@movementarian.org>
7369
7370         * buffer.C:
7371         * paragraph.h:
7372         * paragraph.C:
7373         * paragraph_funcs.C:
7374         * paragraph_pimpl.C:
7375         * sgml.C:
7376         * tabular.C:
7377         * text.C:
7378         * text3.C: remove META_NEWLINE in favour of an inset
7379
7380         * rowpainter.h:
7381         * rowpainter.C: remove paintNewline (done by inset)
7382
7383 2003-03-12  John Levon  <levon@movementarian.org>
7384
7385         * paragraph_pimpl.C: complain about bad getChar()s
7386         for a while at least
7387
7388 2003-03-12  John Levon  <levon@movementarian.org>
7389
7390         * buffer.h:
7391         * buffer.C: move paragraph read into a separate function,
7392         a little renaming to reflect that.
7393
7394         * bufferparams.h:
7395         * bufferparams.C: remove the author_ids map, not necessary now
7396
7397         * factory.h:
7398         * factory.C: moved Buffer::readInset to here
7399
7400         * paragraph_funcs.h:
7401         * paragraph_funcs.C: readParagraph free function moved from
7402         buffer.C
7403
7404         * tabular.C: name change
7405
7406 2003-03-12  John Levon  <levon@movementarian.org>
7407
7408         * buffer.C:
7409         * ParagraphParameters.C: move par params input to
7410         a read() method
7411
7412         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7413         behave like a normal read from the stream wrt reading
7414         a line vs. a \\token
7415
7416 2003-03-12  John Levon  <levon@movementarian.org>
7417
7418         * paragraph.C:
7419         * ParagraphParameters.h:
7420         * ParagraphParameters.C: move output code to a
7421         ::write() method
7422
7423 2003-03-12  John Levon  <levon@movementarian.org>
7424
7425         * BufferView.C (insertLyXFile):
7426         * buffer.h:
7427         * buffer.C:
7428         * tabular.C: use a parlist iterator for creating the
7429           document.
7430
7431 2003-03-12  John Levon  <levon@movementarian.org>
7432
7433         * buffer.C: make current_change static local not
7434           static file-scope
7435
7436 2003-03-12  John Levon  <levon@movementarian.org>
7437
7438         * buffer.C: fix insertStringAsLines for change tracking
7439
7440 2003-03-12  John Levon  <levon@movementarian.org>
7441
7442         * BufferView.C:
7443         * tabular.C:
7444         * buffer.h:
7445         * buffer.C:
7446         * bufferparams.h:
7447         * bufferparams.C: move author list into params. Rename some
7448           functions. Move the header reading into a separate token
7449           loop. Move the header token reading into BufferParams.
7450
7451 2003-03-12  John Levon  <levon@movementarian.org>
7452
7453         * changes.C: put debug inside lyxerr.debugging() checks
7454
7455 2003-03-11 André Pönitz <poenitz@gmx.net>
7456
7457         * factory.C: make it aware of InsetHFill
7458
7459 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7460
7461         * buffer.C (latexParagraphs): move function from here...
7462         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7463         args.
7464
7465 2003-03-10  Angus Leeming  <leeming@lyx.org>
7466
7467         * LyXAction.C (init): fix bug in poplating array with multiple entries
7468         with the same LFUN (spotted by JMarc).
7469
7470 2003-03-10  John Levon  <levon@movementarian.org>
7471
7472         * text.C:
7473         * text2.C: move getColumnNearX() near its
7474         only call site
7475
7476 2003-03-10  John Levon  <levon@movementarian.org>
7477
7478         * text.C: fix break before a minipage
7479
7480 2003-03-10  John Levon  <levon@movementarian.org>
7481
7482         * text.C: fix the last commit
7483
7484 2003-03-09  John Levon  <levon@movementarian.org>
7485
7486         * lyxtext.h:
7487         * text.C:
7488         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7489         bug 365 (don't break before insets unless needed). Don't
7490         return a value > last under any circumstances.
7491
7492 2003-03-09  Angus Leeming  <leeming@lyx.org>
7493
7494         * BufferView_pimpl.C (trackChanges, dispatch): call
7495         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7496
7497 2003-03-09  Angus Leeming  <leeming@lyx.org>
7498
7499         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7500         than Dialogs::showAboutlyx().
7501
7502 2003-03-09  Angus Leeming  <leeming@lyx.org>
7503
7504         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7505         than Dialogs::showTabularCreate().
7506
7507 2003-03-09  John Levon  <levon@movementarian.org>
7508
7509         * lyxtext.h:
7510         * text.C:
7511         * text2.C: 3rd arg to nextBreakPoint was always the same.
7512           Use references.
7513
7514 2003-03-08  John Levon  <levon@movementarian.org>
7515
7516         * lyxrow.C:
7517         * paragraph.C:
7518         * paragraph.h:
7519         * rowpainter.C:
7520         * text.C:
7521         * text2.C: Remove the "main" bit from the "main body"
7522           notion.
7523
7524 2003-03-08  John Levon  <levon@movementarian.org>
7525
7526         * text.C (leftMargin): The left margin of an empty
7527         manual label paragraph should not include the label width
7528         string length.
7529
7530         * text.C (prepareToPrint): don't attempt to measure hfills
7531         for empty manual label paragraphs - the answer should be 0
7532
7533 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * CutAndPaste.C: remove commented code and reindent.
7536
7537 2003-03-08  John Levon  <levon@movementarian.org>
7538
7539         * lyxfunc.h:
7540         * lyxfunc.C: move reloadBuffer()
7541
7542         * BufferView.h:
7543         * BufferView.C: to here
7544
7545         * lyxvc.C: add comment
7546
7547         * vc-backend.h:
7548         * vc-backend.C: call bv->reload() to avoid
7549           getStatus() check on MENURELOAD
7550
7551 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7552
7553         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7554         to an old format .dep file.
7555
7556 2003-03-07  Angus Leeming  <leeming@lyx.org>
7557
7558         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7559         when the LFUN_MOUSE_RELEASE should have been handled by
7560         inset->localDispatch.
7561
7562 2003-03-07  Angus Leeming  <leeming@lyx.org>
7563
7564         * BufferView_pimpl.C (dispatch):
7565         * LyXAction.C (init):
7566         * ToolbarDefaults.C (init):
7567         * commandtags.h:
7568         * lyxfunc.C (getStatus):
7569         remove LFUN_INSET_GRAPHICS.
7570
7571         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7572
7573 2003-03-07  Angus Leeming  <leeming@lyx.org>
7574
7575         * commandtags.h:
7576         * LyXAction.C (init):
7577         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7578
7579         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7580
7581         * commandtags.h:
7582         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7583
7584         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7585         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7586
7587 2003-03-07  Angus Leeming  <leeming@lyx.org>
7588
7589         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7590         remove "ert".
7591
7592 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * ParagraphList.C (front): new function
7595         (back): implement
7596
7597 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7598
7599         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7600         and top_row_offset_. removed var first_y.
7601         * text.C (top_y):
7602         * text2.C (LyXText, removeRow):
7603         * text3.C:
7604         * BufferView_pimpl.C:
7605         use these methods instead of using first_y
7606
7607 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * text2.C (pasteSelection): adjust for checkPastePossible
7610
7611         * CutAndPaste.C: remove Paragraph * buf and replace with
7612         ParagraphList paragraphs.
7613         (DeleteBuffer): delete
7614         (cutSelection): change the tc type to textclass_type
7615         (copySelection): change the tc type to textclass_type
7616         (copySelection): adjust for ParagraphList
7617         (pasteSelection): change the tc type to textclass_type
7618         (pasteSelection): adjust for Paragraphlist
7619         (nrOfParagraphs): simplify for ParagraphList
7620         (checkPastePossible): simplify for ParagraphList
7621         (checkPastePossible): remove unused arg
7622
7623         * ParagraphList.C (insert): handle the case where there are no
7624         paragraphs yet.
7625
7626         * CutAndPaste.h: make CutAndPaste a namespace.
7627
7628         * text3.C (dispatch): adjust
7629
7630         * text.C (breakParagraph): add a ParagraphList as arg
7631
7632         * paragraph_funcs.C (breakParagraph): change to take a
7633         BufferParams and a ParagraphList as args.
7634         (breakParagraphConservative): ditto
7635         (mergeParagraph): ditto
7636         (TeXDeeper): add a ParagraphList arg
7637         (TeXEnvironment): ditto
7638         (TeXOnePar): ditto
7639
7640         * buffer.C (readLyXformat2): adjust
7641         (insertStringAsLines): adjust
7642         (latexParagraphs): adjust
7643
7644         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7645         (cutSelection): adjust
7646         (pasteSelection): adjust
7647
7648         * BufferView_pimpl.C (insertInset): adjust
7649
7650 2003-03-05  Angus Leeming  <leeming@lyx.org>
7651
7652         * commandtags.h:
7653         * LyXAction.C (init):
7654         * BufferView_pimpl.C (dispatch):
7655         * lyxfunc.C (getStatus):
7656         remove LFUN_CHILD_INSERT.
7657
7658         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7659
7660 2003-03-05  Angus Leeming  <leeming@lyx.org>
7661
7662         * commandtags.h:
7663         * LyXAction.C (init):
7664         * src/factory.C (createInset):
7665         * lyxfunc.C (getStatus):
7666         * text3.C (dispatch):
7667         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7668
7669         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7670
7671 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * ParagraphList.C (insert): handle insert right before end()
7674         (erase): fix cases where it can be first or last paragraph.
7675
7676 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7679         Paragraph::next and Paragraph::previous
7680         (TeXOnePar): ditto
7681
7682         * text.C (breakParagraph): adjust
7683
7684         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7685         BufferParams& as arg.
7686         (breakParagraph): use ParagraphList::insert
7687         (breakParagraphConservative): take a Buffer* instead of a
7688         BufferParams& as arg.
7689         (breakParagraphConservative): use ParagraphList::insert.
7690
7691         * buffer.C (insertStringAsLines): un-const it
7692         (insertStringAsLines): adjust
7693
7694         * ParagraphList.C (insert): new function
7695
7696         * CutAndPaste.C (pasteSelection): adjust
7697
7698         * text.C (backspace): adjust
7699
7700         * tabular.C (SetMultiColumn): adjust
7701
7702         * CutAndPaste.C (cutSelection): adjust
7703         (pasteSelection): adjust
7704
7705         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7706         Buffer const * as arg
7707
7708         * ParagraphList.C (erase): new function
7709         * paragraph_funcs.C (mergeParagraph): use it
7710         (mergeParagraph): make it take a Buffer* instead of a
7711         BufferParams* as arg
7712
7713         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7714         as arg
7715         (breakParagraphConservative): ditto
7716
7717         * paragraph.h: remove the breakParagraph friend
7718
7719         * paragraph.C (eraseIntern): new function
7720         (setChange): new function
7721
7722         * paragraph_funcs.C (mergeParagraph): make it take a
7723         ParagraphList::iterator instead of a Paragraph *, adjust
7724         accordingly.
7725
7726         * paragraph.h: move an #endif so that the change tracking stuff
7727         also works in the NO_NEXT case.
7728
7729 2003-03-04  Angus Leeming  <leeming@lyx.org>
7730
7731         * commandtags.h:
7732         * LyXAction.C: new LFUN_INSET_MODIFY.
7733
7734         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7735         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7736
7737 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * several files: ws changes only
7740
7741         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7742         (TeXEnvironment): ditto
7743         (TeXDeeper): ditto
7744
7745         * buffer.C (makeLaTeXFile): adjust
7746         (latexParagraphs): make it take ParagraphList::iterator as args
7747
7748 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * buffer.C (latexParagraphs): adjust
7751
7752         * paragraph.C (TeXOnePar): move function...
7753         (optArgInset): move function...
7754         (TeXEnvironment): move function...
7755         * paragraph_pimpl.C (TeXDeeper): move function...
7756         * paragraph_funcs.C: ...here
7757
7758         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7759
7760 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * buffer.C (readInset): remove compability code for old Figure and
7763         InsetInfo insets
7764
7765 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * buffer.C: ws changes
7768         (readInset):
7769
7770         * BufferView_pimpl.C: ditto
7771         * author.C: ditto
7772         * buffer.h: ditto
7773         * bufferlist.h: ditto
7774         * changes.h: ditto
7775         * lyxfunc.C: ditto
7776
7777 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7778
7779         * converter.[Ch]: split into itself +
7780         * graph.[Ch]
7781         * format.[Ch]
7782         * Makefile.am: += graph.[Ch] + format.[Ch]
7783         * MenuBackend.C
7784         * buffer.C
7785         * exporter.C
7786         * importer.C
7787         * lyx_main.C
7788         * lyxfunc.C
7789         * lyxrc.C: added #include "format.h"
7790
7791 2003-02-27  Angus Leeming  <leeming@lyx.org>
7792
7793         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7794           a label.
7795
7796         * factory.C (createInset): add "label" to the factory.
7797
7798         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7799           string and do no more.
7800
7801 2003-02-27  Angus Leeming  <leeming@lyx.org>
7802
7803         * commandtags.h:
7804         * LyXAction.C (init):
7805         * factory.C (createInset):
7806         * BufferView_pimpl.C (dispatch):
7807           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7808
7809         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7810
7811         * lyxfunc.C (dispatch):
7812         * text3.C (dispatch): pass name to params2string.
7813
7814 2003-02-26  Angus Leeming  <leeming@lyx.org>
7815
7816         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7817           blocks together.
7818           Rearrange the ~includes. Strip out the unnecessary ones.
7819
7820         * factory.C (createInset): reformat.
7821           create new insets for the various LFUN_XYZ_APPLY lfuns.
7822
7823 2003-02-26  John Levon  <levon@movementarian.org>
7824
7825         * lyxrow.h:
7826         * lyxrow.C: add isParStart,isParEnd helpers
7827
7828         * paragraph.h: make isInserted/DeletedText take refs
7829
7830         * paragraph_funcs.h:
7831         * paragraph_funcs.C: remove #if 0'd code
7832
7833         * lyxtext.h:
7834         * text3.C:
7835         * text2.C:
7836         * text.C: use lyxrow helpers above.
7837           Move draw and paint routines to RowPainter.
7838           Make several methods use refs not pointers.
7839           Make backgroundColor() const.
7840           Add markChangeInDraw(), isInInset().
7841           Merge changeRegionCase into changeCase.
7842           Make workWidth() shouldn't-happen code into an Assert.
7843
7844         * rowpainter.h:
7845         * rowpainter.C: new class for painting a row.
7846
7847         * vspace.h:
7848         * vspace.C: make inPixels take a ref
7849
7850 2003-02-26  Angus Leeming  <leeming@lyx.org>
7851
7852         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7853         LFUN_REF_APPLY.
7854
7855 2003-02-25  John Levon  <levon@movementarian.org>
7856
7857         * ispell.C: give the forked command a more accurate name
7858
7859 2003-02-22  John Levon  <levon@movementarian.org>
7860
7861         * toc.h:
7862         * toc.C: make TocItem store an id not a Paragraph *
7863           (bug #913)
7864
7865 2003-02-21  Angus Leeming  <leeming@lyx.org>
7866
7867         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7868           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7869           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7870           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7871           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7872           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7873
7874         * BufferView_pimpl.C (dispatch):
7875         * LyXAction.C (init):
7876         * factory.C (createInset):
7877         * lyxfunc.C (getStatus, dispatch):
7878         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7879
7880 2003-02-21  Angus Leeming  <leeming@lyx.org>
7881
7882         * BufferView_pimpl.C (MenuInsertLyXFile):
7883         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7884         * lyxfunc.C (menuNew, open, doImport):
7885           no longer pass a LyXView & to fileDlg.
7886
7887 2003-02-21  Angus Leeming  <leeming@lyx.org>
7888
7889         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7890         * LyXAction.C: change, BIBKEY to BIBITEM.
7891         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7892         Change InsetBibKey to InsetBibitem.
7893         Change BIBKEY_CODE to BIBITEM_CODE.
7894         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7895         * factory.C: replace insetbib.h with insetbibitem.h.
7896         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7897         * paragraph.C: replace insetbib.h with insetbibitem.h.
7898         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7899         Change bibkey() to bibitem().
7900         * text.C: remove insetbib.h.
7901         * text2.C: replace insetbib.h with insetbibitem.h.
7902         change bibkey() to bibitem().
7903         * text3.C: remove insetbib.h.
7904         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7905
7906 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7907
7908         * lyxrc.C (output): enclose user email in quotes (in case there are
7909         several words)
7910
7911 2003-02-18  John Levon  <levon@movementarian.org>
7912
7913         * buffer.h: add std::
7914
7915 2003-02-17  John Levon  <levon@movementarian.org>
7916
7917         * SpellBase.h:
7918         * ispell.h:
7919         * ispell.C:
7920         * pspell.h:
7921         * pspell.C: reworking. Especially in ispell, a large
7922           number of clean ups and bug fixes.
7923
7924         * lyxfunc.C: fix revert to behave sensibly
7925
7926 2003-02-17 André Pönitz <poenitz@gmx.net>
7927
7928         * LyXAction.C:
7929         * commandtags.h: new LFUN_INSERT_BIBKEY
7930
7931         * layout.h:
7932         * lyxlayout.C:
7933         * buffer.C:
7934         * factory.C:
7935         * text.C:
7936         * text2.C:
7937         * text3.C:
7938         * paragraph.[Ch]:
7939         * paragraph_func.C: remove special bibkey handling
7940
7941 2003-02-17  John Levon  <levon@movementarian.org>
7942
7943         * text.C (Delete): fix case where delete at the end of
7944           the very first paragraph would not merge the pars
7945
7946 2003-02-17  John Levon  <levon@movementarian.org>
7947
7948         * lyxrow.C: fix lastPrintablePos()
7949
7950 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7951
7952         * bufferparams.C (writeLaTeX): add a std:here
7953
7954         * buffer.C: and remove a using directive there
7955
7956 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7957
7958         * buffer.C (makeLaTeXFile): move the code that generates the
7959           preamble...
7960
7961         * bufferparams.C (writeLaTeX): ... in this new method
7962
7963         * LaTeXFeatures.C (getEncodingSet): make const
7964           (getLanguages): make const
7965
7966         * MenuBackend.C (binding): returns the binding associated to this
7967           action
7968           (add): sets the status of each item by calling getStatus. Adds
7969           some intelligence.
7970           (read): add support for OptSubMenu
7971           (expand): remove extra separator at the end of expanded menu
7972
7973 2003-02-15  John Levon  <levon@movementarian.org>
7974
7975         * BufferView.C:
7976         * BufferView_pimpl.C:
7977         * bufferlist.h:
7978         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7979           inset code that had no actual effect. Remove unneeded status
7980           code.
7981
7982 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7983
7984         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7985           in preamble
7986
7987 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7988
7989         * text.C (drawLengthMarker): also draw an arrow marker for
7990           symbolic lengths (medskip...)
7991
7992 2003-02-14  John Levon  <levon@movementarian.org>
7993
7994         * tabular.h:
7995         * tabular.C: better method names
7996
7997 2003-02-14  John Levon  <levon@movementarian.org>
7998
7999         * BufferView_pimpl.C:
8000         * bufferlist.C:
8001         * buffer.C:
8002         * converter.C:
8003         * lyx_cb.C:
8004         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8005           it's a more accurate name. Remove some pointless uses.
8006
8007 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8008
8009         * text2.C (LyXText): change order of initilizers to shut off
8010           warnings
8011
8012 2003-02-14  John Levon  <levon@movementarian.org>
8013
8014         * buffer.C: use ParIterator for getParFromID()
8015
8016         * paragraph.h:
8017         * paragraph.C:
8018         * paragraph_pimpl.h:
8019         * paragraph_pimpl.C: remove unused getParFromID()
8020
8021 2003-02-14  John Levon  <levon@movementarian.org>
8022
8023         * buffer.C: remove some very old #if 0'd parse code
8024
8025 2003-02-13  John Levon  <levon@movementarian.org>
8026
8027         * text.h:
8028         * text.C:
8029         * text2.C: move hfillExpansion(), numberOfSeparators(),
8030           rowLast(), rowLastPrintable(), numberofHfills(),
8031           numberOfLabelHfills() ...
8032
8033         * lyxrow.h:
8034         * lyxrow.C: ... to member functions here.
8035
8036         * paragraph.h:
8037         * paragraph.C:
8038         * lyxtext.h:
8039         * text.C: remove LyXText::beginningOfMainBody(), and call
8040           p->beginningOfMainBody() directly. Move the check for
8041           LABEL_MANUAL into the latter.
8042
8043         * text.h:
8044         * text.C:
8045         * text2.C:
8046         * vspace.C:
8047         * BufferView.h:
8048         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8049
8050         * text.h:
8051         * text.C:
8052         * text2.C:
8053         * text3.C:
8054         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8055           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8056
8057 2003-02-13  John Levon  <levon@movementarian.org>
8058
8059         * CutAndPaste.C: remove debug
8060
8061 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8062
8063         * paragraph.C (asString): remove two unused variables
8064
8065         * lyxtextclass.C (readTitleType):
8066           (Read):
8067           (LyXTextClass): handle new members titletype_ and titlename_
8068
8069         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8070
8071 2003-02-09  John Levon  <levon@movementarian.org>
8072
8073         * buffer.h:
8074         * buffer.C: replace hand-coded list with a map for the dep clean
8075
8076 2003-02-08  John Levon  <levon@movementarian.org>
8077
8078         * LaTeX.C: consolidate code into showRunMessage() helper
8079
8080 2003-02-08  John Levon  <levon@movementarian.org>
8081
8082         * lyxfind.C:
8083         * lyxtext.h:
8084         * text2.C:
8085         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8086           and pass the size in explicitly
8087
8088         * BufferView_pimpl.h:
8089         * BufferView_pimpl.C:
8090         * BufferView.h:
8091         * BufferView.C: add getCurrentChange()
8092
8093         * BufferView_pimpl.h:
8094         * BufferView_pimpl.C: handle change lfuns
8095
8096         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8097           for changes. Mark pasted paragraphs as new.
8098
8099         * support/lyxtime.h:
8100         * support/lyxtime.C:
8101         * DepTable.C: abstract time_t as lyx::time_type
8102
8103         * LColor.h:
8104         * LColor.C: add colours for new text, deleted text, changebars
8105
8106         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8107           package use "usenames" option.
8108
8109         * commandtags.h:
8110         * lyxfunc.C:
8111         * LyXAction.C: add change lfuns
8112
8113         * Makefile.am:
8114         * author.h:
8115         * author.C: author handling
8116
8117         * buffer.h:
8118         * buffer.C: add a per-buffer author list, with first entry as
8119           current author. Handle new .lyx tokens for change tracking. Output
8120           author list to .lyx file. Output dvipost stuff to .tex preamble.
8121           Bump lyx format to 222.
8122
8123         * bufferlist.h:
8124         * bufferlist.C: add setCurrentAuthor() to reset current author details
8125           in all buffers.
8126
8127         * bufferparams.h:
8128         * bufferparams.C: add param for tracking
8129
8130         * bufferview_funcs.C: output change info in minibuffer
8131
8132         * Makefile.am:
8133         * changes.h:
8134         * changes.C: add change-tracking structure
8135
8136         * debug.h:
8137         * debug.C: add CHANGES debug flag
8138
8139         * lyxfind.h:
8140         * lyxfind.C: add code for finding the next change piece
8141
8142         * lyxrc.h:
8143         * lyxrc.C: add user_name and user_email
8144
8145         * lyxrow.h:
8146         * lyxrow.C: add a metric for the top of the text line
8147
8148         * lyxtext.h:
8149         * text.C: implement accept/rejectChange()
8150
8151         * lyxtext.h:
8152         * text.C: paint changebars. Paint new/deleted text in the chosen
8153         colours. Strike through deleted text.
8154
8155         * paragraph.h:
8156         * paragraph.C:
8157         * paragraph_pimpl.h:
8158         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8159           in the current change to the insert functions. Rework erase to
8160           mark text as deleted, adding an eraseIntern() and a range-based
8161           erase(). Implement per-paragraph change lookup and
8162           accept/reject.
8163
8164         * paragraph_funcs.C: Fixup paste for change tracking.
8165
8166         * tabular.C: mark added row/columns as new.
8167
8168         * text.C: fix rowLast() to never return -1. Don't allow
8169           spellchecking of deleted text. Track transpose changes. Don't
8170           allow paragraph break or merge where appropriate.
8171
8172         * text2.C: leave cursor at end of selection after a cut.
8173
8174 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8175
8176         * text.C (getLengthMarkerHeight):
8177         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8178         visible on screen too.
8179
8180 2003-02-07  John Levon  <levon@movementarian.org>
8181
8182         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8183
8184 2003-02-05  Angus Leeming  <leeming@lyx.org>
8185
8186         * lyxserver.C (read_ready): revert my patch of 11 September last year
8187         as it sends PC cpu through the roof. Presumably this means that
8188         the lyxserver will no longer run on an Alpha...
8189
8190 2003-01-30  Angus Leeming  <leeming@lyx.org>
8191
8192         * factory.C (createInset): create an InsetCommandParam of type "index"
8193         and use it to 'do the right thing'.
8194
8195         * text2.C (getStringToIndex): ensure that cursor position is always
8196         reset to the reset_cursor position.
8197
8198 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8199
8200         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8201         disabled.
8202
8203 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8204
8205         * bufferview.C:
8206         * lyxcb.C:
8207         * lyxfunc.C: Output messages with identical spelling, punctuation,
8208         and spaces
8209
8210 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8211
8212         * MenuBackend.C (expandFormats): List only viewable export formats
8213         in "View" menu
8214
8215         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8216         message
8217
8218         * lyxfunc.C (getStatus): Make sure that formats other than
8219         "fax" can also be disabled
8220
8221 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8222
8223         * text3.C (dispatch): put the lfuns that insert insets in 3
8224         groups, and call doInsertInset with appropriate arguments.
8225         (doInsertInset): new function, that creates an inset and inserts
8226         it according to some boolean parameters.
8227
8228 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * buffer.C (readFile): remember to pass on 'par' when calling
8231         readFile recursively.
8232
8233 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8234
8235         * MenuBackend.C (expandFormats): add "..." to import formats.
8236
8237 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8238
8239         * paragraph.C (asString): Remove XForms RTL hacks.
8240
8241 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8242         * buffer.C: fix typo
8243
8244 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * Makefile.am (LIBS): delete var
8247         (lyx_LDADD): add @LIBS@ here instead.
8248
8249 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8250
8251         * Clarify the meaning of "wheel mouse jump"
8252
8253 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8254
8255         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8256         tabular in a float
8257
8258 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8259
8260         * importer.C (Loaders): do not preallocate 3 elements in the
8261         vector, since one ends up with 6 elements otherwise
8262
8263 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8264
8265         * DepTable.C (write): write the file name as last element of the
8266         .dep file (because it may contain spaces)
8267         (read): read info in the right order
8268
8269 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8270
8271         * paragraph_pimpl.C (simpleTeXBlanks):
8272         (simpleTeXSpecialChars):
8273         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8274
8275         * tabular.C (latex): add some missing case statements. Reindent.
8276
8277         * MenuBackend.C (expandToc): remove unused variable.
8278
8279 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8280
8281         * LColor.C:
8282         * LaTeX.C:
8283         * LyXAction.C:
8284         * MenuBackend.C:
8285         * buffer.C:
8286         * exporter.C:
8287         * lyxfunc.C:
8288         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8289         and the like.
8290
8291 2003-01-05  John Levon  <levon@movementarian.org>
8292
8293         * BufferView.h:
8294         * BufferView.C: add getEncoding()
8295
8296         * kbsequence.h:
8297         * kbsequence.C: do not store last keypress
8298
8299         * lyxfunc.h:
8300         * lyxfunc.C: store last keypress here instead. Pass encoding
8301           to getISOEncoded()
8302
8303 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8304
8305         * lyx_main.C (init): remove annoying error message when following
8306         symbolic links (bug #780)
8307
8308 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8309
8310         * text.C (insertChar):
8311         * lyxrc.C (getDescription): remove extra spaces
8312
8313 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314
8315         * lyxrc.C (getDescription): remove extra spaces
8316
8317 2002-12-20  John Levon  <levon@movementarian.org>
8318
8319         * text3.C: hack fix for page up/down across tall rows
8320
8321 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8322
8323         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8324         not been invoked
8325
8326 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8327
8328         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8329         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8330         thesaurus is not compiled in
8331
8332 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8333
8334         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8335
8336 2002-12-16  Angus Leeming  <leeming@lyx.org>
8337
8338         * lyxrc.[Ch]:
8339         * lyx_main.C (init): remove override_x_deadkeys stuff.
8340
8341 2002-12-12  John Levon  <levon@movementarian.org>
8342
8343         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8344           insert. Only remove shift modifier under strict
8345           circumstances.
8346
8347 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * MenuBackend.C (expandToc): fix crash.
8350
8351 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * MenuBackend.C (expandToc): gettext on float names.
8354
8355 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8356
8357         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8358         implement bool empty() [bug 490]
8359
8360 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8363
8364 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * several files: ws changes
8367
8368 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * text2.C (setCounter): clean up a bit, use boost.format.
8371         (updateCounters): initialize par upon declaration.
8372
8373         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8374         if the layout exists. We do not just store the layout any more.
8375         (SwitchLayoutsBetweenClasses): use boost.format
8376
8377 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8378
8379         * converter.C (convert): if from and to files are the same, use a
8380         temporary files as intermediary
8381
8382 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8383
8384         * commandtags.h:
8385         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8386
8387 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8388
8389         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8390
8391 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * tabular.C (asciiPrintCell): use string(size, char) instead of
8394         explicit loop.
8395
8396         * sgml.C (openTag): fix order of arguments to string constructor
8397         (closeTag): ditto
8398
8399         * lyxfunc.C (dispatch): use boost.format
8400
8401         * lots of files: change "c" -> 'c'
8402
8403 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8404
8405         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8406
8407 2002-11-25  Angus Leeming  <leeming@lyx.org>
8408
8409         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8410
8411         * lyx_main.C (init): compile fix.
8412
8413 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * lyx_cb.C (start): boost.formatify
8416         do not include <iostream>
8417
8418         * lengthcommon.C: ws only
8419
8420         * boost-inst.C,BoostFormat.h: add more explict instantations
8421
8422 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * lots of files: handle USE_BOOST_FORMAT
8425
8426 2002-11-21  John Levon  <levon@movementarian.org>
8427
8428         * pspell.C: fix compile
8429
8430 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8431
8432         * lyxfunc.C (dispatch): use boost::format
8433         (open): ditto
8434         (doImport): ditto
8435
8436         * lyxfont.C (stateText): use boost::format
8437
8438         * lyx_main.C (LyX): use boost::format
8439         (init): ditto
8440         (queryUserLyXDir): ditto
8441         (readRcFile): ditto
8442         (parse_dbg): ditto
8443         (typedef boost::function): use the recommened syntax.
8444
8445         * importer.C (Import): use boost::format
8446
8447         * debug.C (showLevel): use boost::format
8448
8449         * converter.C (view): use boost::format
8450         (convert): ditto
8451         (move): ditto
8452         (scanLog): ditto
8453
8454         * bufferview_funcs.C (currentState): use boost::format
8455
8456         * bufferlist.C (emergencyWrite): use boost::format
8457
8458         * buffer.C (readLyXformat2): use boost::format
8459         (parseSingleLyXformat2Token): ditto
8460
8461         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8462
8463         * LaTeX.C (run): use boost::format
8464
8465         * Chktex.C (scanLogFile): use boost::format
8466
8467         * BufferView_pimpl.C (savePosition): use boost::format
8468         (restorePosition): ditto
8469         (MenuInsertLyXFile): ditto
8470
8471         * BoostFormat.h: help file for explicit instation.
8472
8473 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * tabular.C (latex): Support for block alignment in fixed width
8476         columns.
8477
8478 2002-11-17  John Levon  <levon@movementarian.org>
8479
8480         * BufferView_pimpl.C:
8481         * lyx_cb.C:
8482         * lyxfunc.C: split filedialog into open/save
8483
8484 2002-11-08  Juergen Vigna  <jug@sad.it>
8485
8486         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8487         by my last patch (hopefully).
8488
8489 2002-11-08  John Levon  <levon@movementarian.org>
8490
8491         * iterators.h:
8492         * iterators.C:
8493         * buffer.h:
8494         * buffer.C:
8495         * paragraph.h:
8496         * paragraph.C:
8497         * toc.h:
8498         * toc.C: ParConstIterator, and use it (from Lars)
8499
8500 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8501
8502         * lyxtextclass.[Ch]: revise and add doxygen comments
8503
8504 2002-11-07  John Levon  <levon@movementarian.org>
8505
8506         * text.C: fix progress value for spellchecker
8507
8508         * toc.C: fix navigate menu for insetwrap inside minipage
8509
8510         * paragraph_funcs.C: added FIXME for suspect code
8511
8512 2002-11-07  John Levon  <levon@movementarian.org>
8513
8514         * BufferView_pimpl.C: fix redrawing of insets
8515           on buffer switch
8516
8517 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * text2.C (updateCounters): fix bug 668
8520
8521 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8522
8523         * text3.C (dispatch): Do not make the buffer dirty when moving the
8524         cursor.
8525
8526 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * vc-backend.C: STRCONV
8529         (scanMaster): ditto
8530
8531         * text2.C (setCounter): STRCONV
8532
8533         * paragraph.C (asString): STRCONV
8534
8535         * lyxlength.C (asString): STRCONV
8536         (asLatexString): ditto
8537
8538         * lyxgluelength.C (asString): STRCONV
8539         (asLatexString): ditto
8540
8541         * lyxfunc.C (dispatch): STRCONV
8542         (open): ditto
8543
8544         * lyxfont.C (stateText): STRCONV
8545
8546         * importer.C (Import): STRCONV
8547
8548         * counters.C (labelItem): STRCONV
8549         (numberLabel): ditto
8550         (numberLabel): remove unused ostringstream o
8551
8552         * chset.C: STRCONV
8553         (loadFile): ditto
8554
8555         * bufferview_funcs.C (currentState): STRCONV
8556
8557         * buffer.C (readFile): STRCONV
8558         (asciiParagraph): ditto
8559         (makeLaTeXFile): ditto
8560
8561         * Spacing.C (writeEnvirBegin): STRCONV
8562
8563         * LaTeXFeatures.C (getLanguages): STRCONV
8564         (getPackages): ditto
8565         (getMacros): ditto
8566         (getBabelOptions): ditto
8567         (getTClassPreamble): ditto
8568         (getLyXSGMLEntities): ditto
8569         (getIncludedFiles): ditto
8570
8571         * LaTeX.C: STRCONV
8572         (run): ditto
8573         (scanAuxFile): ditto
8574         (deplog): ditto
8575
8576         * LString.h: add the STRCONV macros
8577
8578         * BufferView_pimpl.C (savePosition): STRCONV
8579         (restorePosition): ditto
8580         (MenuInsertLyXFile): ditto
8581
8582         * vc-backend.C (scanMaster): change from submatch[...] to
8583         submatch.str(...)
8584
8585         * funcrequest.C: include config.h
8586
8587         * factory.C: include config.h
8588
8589         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8590
8591         * box.C: include config.h
8592
8593         * LaTeX.C (scanAuxFile): change from submatch[...] to
8594         submatch.str(...)
8595         (deplog): ditto
8596
8597 2002-10-25  Angus Leeming  <leeming@lyx.org>
8598
8599         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8600
8601         * ispell.[Ch] (setError): new method.
8602         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8603         Use setError() insetead of goto END.
8604
8605         * lyx_cb.C (AutoSave): move out child process into new class
8606         AutoSaveBuffer.
8607
8608 2002-10-30  John Levon  <levon@movementarian.org>
8609
8610         * text3.C: make start appendix undoable
8611
8612 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8613
8614         * lyxlength.C (inPixels): Fix returned value.
8615
8616         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8617         environment.
8618
8619 2002-10-24  Angus Leeming  <leeming@lyx.org>
8620
8621         * lyxgluelength.h: no need to forward declare BufferParams
8622         or BufferView, so don't.
8623
8624 2002-10-21  John Levon  <levon@movementarian.org>
8625
8626         * BufferView.C: menuUndo ->undo, redo
8627
8628         * BufferView.h: document, remove dead, make some methods private
8629
8630         * paragraph_funcs.h:
8631         * paragraph_funcs.C:
8632         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8633
8634         * buffer.h:
8635         * buffer.C:
8636         * sgml.h:
8637         * sgml.C: move sgml open/close tag into sgml.C
8638
8639         * bufferview_funcs.h: unused prototype
8640
8641         * lyxfunc.h:
8642         * lyxfunc.C: remove unused
8643
8644         * lyxtext.h:
8645         * text.C: remove unused
8646
8647 2002-10-21  John Levon  <levon@movementarian.org>
8648
8649         * BufferView.h:
8650         * BufferView.C:
8651         * BufferView_pimpl.h:
8652         * BufferView_pimpl.C: fix mouse wheel handling based on
8653           patch from Darren Freeman
8654
8655 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8656
8657         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8658
8659 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8660
8661         * lyxlength.C (inPixels): Fix hanfling of negative length.
8662         Fix LyXLength::MU case.
8663
8664 2002-10-16  John Levon  <levon@movementarian.org>
8665
8666         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8667
8668 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8669
8670         * converter.C (view): add support for $$i (file name) and $$p
8671         (file path) for the viewer command. If $$i is not specified, then
8672         it is appended to the command (for compatibility with old syntax)
8673
8674 2002-10-14  Juergen Vigna  <jug@sad.it>
8675
8676         * undo_funcs.C (textHandleUndo): alter the order in which the
8677         new undopar is added to the LyXText, as we have to set first
8678         the right prev/next and then add it as otherwise the rebuild of
8679         LyXText is not correct. Also reset the cursor to the right paragraph,
8680         with this IMO we could remove the hack in "redoParagraphs()".
8681
8682 2002-10-09  Angus Leeming  <leeming@lyx.org>
8683
8684         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8685         to turn off an optimisation if a new inset is to be inserted.
8686
8687 2002-10-11 André Pönitz <poenitz@gmx.net>
8688
8689         * lyxtext.h: make some functions public to allow access
8690         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8691
8692 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8693
8694         * text3.C (dispatch): when changing layout, avoid an infinite loop
8695         [bug #652]
8696
8697 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8698
8699         * lyxrc.C (read): treat a viewer or converter command of "none" as
8700         if it were empty.
8701
8702         * MenuBackend.C (expandFormats): for an update, also allow the
8703         formats that are not viewable
8704
8705         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8706         script if it is newer than the lyxrc.defaults in user directory
8707
8708 2002-10-07 André Pönitz <poenitz@gmx.net>
8709
8710         * text.C: Vitaly Lipatov's small i18n fix
8711
8712 2002-09-25  Angus Leeming  <leeming@lyx.org>
8713
8714         * ispell.h: doxygen fix.
8715
8716 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8717
8718         * buffer.h (readFile): Add a new argument to the method, to allow
8719         reading of old-format templates.
8720
8721 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8722
8723         * toc.C (getTocList): Get TOC from InsetWrap.
8724
8725 2002-09-16  John Levon  <levon@movementarian.org>
8726
8727         * lyxfunc.C: check tabular for cut/copy too
8728
8729 2002-09-12  John Levon  <levon@movementarian.org>
8730
8731         * LyXAction.C: tidy
8732
8733         * factory.h:
8734         * factory.C: add header
8735
8736         * paragraph_funcs.h:
8737         * paragraph_funcs.C: cleanup
8738
8739 2002-09-11  John Levon  <levon@movementarian.org>
8740
8741         * PrinterParams.h: odd/even default to true
8742
8743 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8744
8745         * PrinterParams.h: update printer parameters for new xforms dialog
8746
8747 2002-09-11  Angus Leeming  <leeming@lyx.org>
8748
8749         * lyxserver.C (read_ready): re-write to make it more transparent
8750         and to make it work in coherent fashion under Tru64 Unix.
8751
8752 2002-09-11  André Pönitz <poenitz@gmx.net>
8753
8754         * commandtags.h:
8755         * LyXAction.C:
8756         * text3.C: implement LFUN_WORDSEL
8757
8758 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8761         make floatlist_ a boost::shared_ptr<FloatList>
8762
8763         * lyxtextclass.C: include FloatList.h
8764         (LyXTextClass): initialize floatlist_
8765         (TextClassTags): add TC_NOFLOAT
8766         (Read): match "nofloat" to TC_NOFLOAT and use it.
8767         (readFloat): modify call to floatlist_
8768         (floats): ditto
8769         (floats): ditto
8770
8771         * FloatList.[Ch] (FloatList): remove commented out float
8772         initialization.
8773         (erase): new function
8774
8775 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8776
8777         * MenuBackend.C (expandToc): fix crash when there is no document
8778         open
8779
8780 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8781
8782         * many files: Add insetwrap.
8783
8784 2002-09-09  John Levon  <levon@movementarian.org>
8785
8786         * text2.C: remove confusing and awkward depth wraparound
8787
8788 2002-09-09  John Levon  <levon@movementarian.org>
8789
8790         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8791
8792         * buffer.h:
8793         * buffer.C: remove getIncludeonlyList()
8794
8795         * paragraph.C:
8796         * lyxfunc.C: remove headers
8797
8798 2002-09-09  Juergen Vigna  <jug@sad.it>
8799
8800         * text.C (getColumnNearX): fix form Michael this is most
8801         probably a cut&paste bug.
8802
8803 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8804
8805         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8806
8807         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8808         references, ws changes.
8809
8810         * text2.C (init): update counters after init
8811         (insertParagraph): no need to set counter on idividual paragraphs.
8812         (setCounter): access the counters object in the textclass object
8813         on in the buffer object.
8814         (updateCounters): ditto
8815
8816         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8817         shared_ptr<Counters> to avoid loading counters.h in all
8818         compilation units.
8819         (LyXTextClass): initialize ctrs_
8820         (TextClassTags): add TC_COUNTER, and ...
8821         (Read): use it here.
8822         (CounterTags): new tags
8823         (readCounter): new function
8824         (counters): new funtion
8825         (defaultLayoutName): return a const reference
8826
8827         * counters.C (Counters): remove contructor
8828         (newCounter): remove a couple of unneeded statements.
8829         (newCounter): simplify a bit.
8830         (numberLabel): some small formatting changes.
8831
8832         * buffer.[Ch]: remove all traces of counters, move the Counters
8833         object to the LyXTextClass.
8834
8835 2002-09-06  Alain Castera  <castera@in2p3.fr>
8836
8837         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8838         package to set the horizontal alignment on fixed width columns.
8839
8840         * lyx_sty.C:
8841         * lyx_sty.h: added tabularnewline macro def.
8842
8843         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8844
8845 2002-09-06  John Levon  <levon@movementarian.org>
8846
8847         * LyXAction.C: tooltips for sub/superscript
8848
8849         * MenuBackend.C: a bit more verbose
8850
8851         * lyxfunc.C: tiny clean
8852
8853         * undo_funcs.C: document undo_frozen
8854
8855 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8856
8857         * counters.C (Counters): add missing algorithm counter.
8858
8859         * text2.C (setCounter): lookup the counter with layouts latexname
8860         instead of by section number.
8861         (setCounter): use a hackish way to lookup the correct enum
8862         counter.
8863         a float name->type change
8864         reset enum couners with counter name directly instead of depth value.
8865
8866         * counters.C (Counters): remove the push_backs, change to use the
8867         float type not the float name.
8868         (labelItem): remove unused string, float name->type change
8869
8870         * counters.h: don't include vector, loose the enums and sects vectors
8871
8872 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8873
8874         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8875         (Read): add float->TC_FLOAT to textclassTags
8876         (Read): and handle it in the switch
8877         (readFloat): new function
8878
8879         * FloatList.C (FloatList): comment out the hardcoded float
8880         definitions.
8881
8882         * lyxlayout.h: ws change.
8883
8884 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8885
8886         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8887
8888 2002-09-03  Angus Leeming  <leeming@lyx.org>
8889
8890         * BufferView_pimpl.h: qualified name is not allowed in member
8891         declaration: WorkArea & Pimpl::workarea() const;
8892
8893         * factory.C: added using std::endl directive.
8894
8895         * text3.C: added using std::find and std::vector directives.
8896
8897 2002-08-29  André Pönitz <poenitz@gmx.net>
8898
8899         * lyxtext.h:
8900         * text2.C: remove unused member number_of_rows
8901
8902         * Makefile.am:
8903         * BufferView2.C: remove file, move contents to...
8904         * BufferView.C: ... here
8905
8906         * BufferView_pimpl.C:
8907         * factory.C: move more inset creation to factory
8908
8909         * vspace.C: avoid direct usage of LyXText, ws changes
8910
8911         * BufferView.[Ch]:
8912                 don't provide direct access to WorkArea, use two simple
8913                 acessors haveSelction() and workHeight() instead
8914
8915
8916 2002-08-29  John Levon  <levon@movementarian.org>
8917
8918         * BufferView_pimpl.C (dispatch): do not continue when
8919           no buffer
8920
8921 2002-08-28  André Pönitz <poenitz@gmx.net>
8922
8923         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8924
8925         * BufferView.h:
8926         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8927
8928 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8929
8930         * buffer.C: increment LYX_FORMAT to 221
8931
8932         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8933         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8934
8935         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8936
8937         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8938
8939 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * factory.C (createInset): use LyXTextClass::floats
8942
8943         * MenuBackend.C (expandFloatListInsert):
8944         (expandFloatInsert):
8945         (expandToc):
8946
8947         * text2.C (setCounter):
8948
8949         * LaTeXFeatures.C (useFloat):
8950         (getFloatDefinitions):
8951
8952         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8953
8954         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8955         floatlist_, with accessor floats().
8956
8957         * FloatList.h: remove global FloatList
8958
8959 2002-08-26  André Pönitz <poenitz@gmx.net>
8960
8961         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8962
8963         * BufferView.h:
8964         * BufferView2.C:
8965         * BufferView_pimpl.C:
8966         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8967
8968 2002-08-25  John Levon  <levon@movementarian.org>
8969
8970         * LyXAction.C: fix margin note description
8971
8972 2002-08-24  John Levon  <levon@movementarian.org>
8973
8974         * buffer.C:
8975         * bufferlist.C:
8976         * bufferview_funcs.C:
8977         * lyxfont.C:
8978         * undo_funcs.C: cleanups
8979
8980         * lyxfunc.C: disable CUT/COPY when no selection
8981
8982 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8983
8984         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8985         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8986
8987         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8988         Add backward compatibility to "mono", "gray" and "no".
8989
8990 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8991
8992         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8993         (and file_format >= 200).
8994
8995 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8998
8999 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9002
9003 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9004
9005         * BufferView_pimpl.C:
9006         * LyXAction.C:
9007         * buffer.C:
9008         * commandtags.h:
9009         * lyxfunc.C:
9010         * paragraph.[Ch]:
9011         * text2.C:
9012         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9013         inset and code to make it  work with the paragraph code. The inset
9014         can be anywhere in the paragraph, but will only do the expected
9015         thing in LaTeX if the layout file contains the parameter line
9016                         OptionalArgs    1
9017         (or more generally, a nonzero value) for that layout.
9018
9019 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9020
9021         * paragraph.h: remove the declaration of undefined counters class
9022         function.
9023
9024 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9025
9026         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9027         Dr. Richard Hawkins.
9028
9029 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9030
9031         * paragraph_funcs.h: remove some unneeded includes
9032
9033         * text.C (backspace): pasteParagraph now in global scipe
9034
9035         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9036         (pasteSelection): ditto
9037
9038         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9039         * paragraph_funcs.C (pasteParagraph): ... here
9040
9041 2002-08-20  André Pönitz <poenitz@gmx.net>
9042
9043         * commandtags.h: new LFUNs for swapping/copying table row/colums
9044
9045         * LyXAction.C:
9046         * lyxfunc.C: support for new lfuns
9047
9048 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9049
9050         * tabular.C:
9051         * buffer.[Ch]: remove NO_COMPABILITY stuff
9052
9053 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * boost.C (throw_exception): new file, with helper function for
9056         boost compiled without exceptions.
9057
9058         * paragraph.h:
9059         * lyxlength.C:
9060         * buffer.C:
9061         * ParameterStruct.h:
9062         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9063
9064         * bufferlist.C (emergencyWriteAll): use boost bind
9065
9066         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9067
9068         * text.C: include paragraph_funcs.h
9069         (breakParagraph): breakParagraph is now in global scope
9070
9071         * paragraph_funcs.[Ch]: new files
9072
9073         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9074         global scope
9075
9076         * buffer.C: include paragraph_funcs.h
9077         (insertStringAsLines): breakParagraph is now in global scope
9078
9079         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9080         paragraph_funcs.C
9081
9082         * CutAndPaste.C: include paragraph_funcs.h
9083         (cutSelection): breakParagraphConservative is now in global scope
9084         (pasteSelection): ditto
9085
9086         * buffer.h: declare oprator== and operator!= for
9087         Buffer::inset_iterator
9088
9089         * bufferlist.C (emergencyWrite): don't use fmt(...)
9090
9091         * text3.C: add using std::endl
9092
9093         * BufferView.C (moveCursorUpdate): remove default arg
9094
9095 2002-08-20  André Pönitz <poenitz@gmx.net>
9096
9097         * buffer.[Ch]: move inline functions to .C
9098
9099         * BufferView2.C:
9100         * BufferView_pimpl.C:
9101         * text.C:
9102         * buffer.[Ch]: use improved inset_iterator
9103
9104         * buffer.C:
9105         * paragraph.[Ch]: write one paragraph at a time
9106
9107 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9108
9109         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9110         style if style is not specified.
9111
9112 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * text2.C (setCounter): when searching for right label for a
9115         caption, make sure to recurse to parent insets (so that a caption
9116         in a minipage in a figure float works) (bug #568)
9117
9118 2002-08-20  André Pönitz <poenitz@gmx.net>
9119
9120         * text3.C: new file for LyXText::dispatch() and helpers
9121
9122         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9123
9124         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9125
9126 2002-08-19  André Pönitz <poenitz@gmx.net>
9127
9128         * lyxtext.h:
9129         * text.C: new LyXText::dispatch()
9130
9131         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9132
9133 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9134
9135         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9136
9137         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9138         Hebrew text.
9139
9140 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9141
9142         * Makefile.am: use $(variables) instead of @substitutions@
9143
9144 2002-08-15  André Pönitz <poenitz@gmx.net>
9145
9146         * lyxfunc.C:
9147         * BufferView_pimpl.C: streamlining mathed <-> outer world
9148         interaction
9149
9150         * commandtags.h:
9151         * LyXAction.C: remove unused LFUN_MATH
9152
9153 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9154
9155         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9156
9157 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9158
9159         * paragraph.C (Paragraph): reformat a bit
9160         (cutIntoMinibuffer): use builtin InsetList function instad of
9161         doing it manually.
9162         (getInset): ditto
9163
9164         * buffer.C: include boost/bind.hpp, add using std::for_each
9165         (writeFileAscii): use ParagraphList iterators
9166         (validate): use for_each for validate traversal of paragraphs
9167         (getBibkeyList): use ParagraphList iterators
9168         (resizeInsets): use for_each to resizeInsetsLyXText for all
9169         paragraphs.
9170         (getParFromID): use ParagraphList iterators
9171
9172         * BufferView2.C (lockInset): use paragraph list and iterators
9173
9174 2002-08-14  John Levon  <levon@movementarian.org>
9175
9176         * lyxserver.C: remove spurious xforms include
9177
9178 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9181
9182 2002-08-13  André Pönitz <poenitz@gmx.net>
9183
9184         * LyXAction.[Ch]:
9185         * lyxfunc.C: further cleaning
9186
9187 2002-08-13  André Pönitz <poenitz@gmx.net>
9188
9189         * funcrequest.h: new constructor
9190
9191         * funcrequest.C: move stuff here from .h
9192
9193         * Makefile.am:
9194         * BufferView_pimpl.C:
9195         * LyXAction.C:
9196         * toc.C:
9197         * lyxfunc.C: subsequent changes
9198
9199         * lyxfunc.h: new view() member function
9200
9201         * lyxfunc.C: subsequent changes
9202
9203 2002-08-13  Angus Leeming  <leeming@lyx.org>
9204
9205         * BufferView2.C:
9206         * BufferView_pimpl.C:
9207         * buffer.C:
9208         * converter.C:
9209         * importer.C:
9210         * lyxfunc.C:
9211         * lyxvc.C:
9212         * toc.C:
9213         * vc-backend.C:
9214         changes due to the changed LyXView interface that now returns references
9215         to member variables not pointers.
9216
9217 2002-08-13  Angus Leeming  <leeming@lyx.org>
9218
9219         * WordLangTuple (word, lang_code): return references to strings,
9220         not strings.
9221
9222         * BufferView.h:
9223         * SpellBase.h:
9224         * lyxtext.h: forward-declare WordLangTuple.
9225
9226         * BufferView2.C:
9227         * ispell.C:
9228         * pspell.C:
9229         * text.C: #include "WordLangTuple.h".
9230
9231         * lyxtext.h:
9232         * text.C: (selectNextWordToSpellcheck): constify return type.
9233
9234 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9235
9236         * buffer.C:
9237         * buffer.h:
9238         * lyxtext.h:
9239         * paragraph.C:
9240         * paragraph_pimpl.h:
9241         * text.C:
9242         * text2.C:
9243         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9244         suggested by Angus.
9245         Made updateCounter always count from start of buffer, and removed
9246         second argument (par).
9247         Reverted floats number display to '#'. Perhaps I'll try again when the
9248         code base is sanitized a bit.
9249
9250 2002-08-12  Angus Leeming  <leeming@lyx.org>
9251
9252         * buffer.[Ch] (getLabelList): constify.
9253
9254 2002-08-07  André Pönitz <poenitz@gmx.net>
9255
9256         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9257
9258         * funcrequest.h: extension to keep mouse (x,y) position
9259
9260 2002-08-12  Juergen Vigna  <jug@sad.it>
9261
9262         * BufferView2.C (insertErrors): forbid undo when inserting error
9263         insets.
9264
9265         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9266
9267 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * ParagraphList.[Ch]: new files
9270
9271         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9272
9273         * BufferView2.C (lockInset): ParagraphList changes
9274         * toc.C: ditto
9275         * text2.C: ditto
9276         * bufferlist.C: ditto
9277         * buffer.h: ditto
9278         * buffer.C: ditto
9279
9280 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9283         unused class variable counter_,
9284
9285         * paragraph.[Ch] (getFirstCounter): delete unused function
9286
9287         * counters.C: include LAssert.h
9288         (reset): add a new function with no arg, change other version to
9289         not have def. arg and to not allow empty arg.
9290
9291         * text2.C (setCounter): remove empty arg from call to Counters::reset
9292
9293 2002-08-11  John Levon  <levon@movementarian.org>
9294
9295         * Makefile.am: add WordLangTuple.h
9296
9297 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9298
9299         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9300         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9301
9302         * insets/insettext.C: InsetList changes
9303
9304         * graphics/GraphicsSupport.C (operator()): InsetList changes
9305
9306         * toc.C (getTocList): InsetList changes
9307
9308         * paragraph_pimpl.[Ch]: InsetList changes
9309
9310         * paragraph.[Ch]: InsetList changes
9311
9312         * buffer.C (inset_iterator): InsetList changes
9313         (setParagraph): ditto
9314         * buffer.h (inset_iterator): ditto
9315         * iterators.C (operator++): ditto
9316         * iterators.h: ditto
9317
9318         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9319
9320         * InsetList.[Ch]: new files, most InsetList handling moved out of
9321         paragraph.C.
9322
9323         * BufferView2.C (removeAutoInsets): InsetList changes
9324         (lockInset): ditto
9325         (ChangeInsets): ditto
9326
9327 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9328
9329         * paragraph_pimpl.h (empty): new function
9330
9331         * paragraph.[Ch] (empty): new function
9332
9333         * other files: use the new Paragraph::empty function
9334
9335 2002-08-09  John Levon  <levon@movementarian.org>
9336
9337         * lyxtext.h: remove unused refresh_height
9338
9339 2002-08-09  John Levon  <levon@movementarian.org>
9340
9341         * Makefile.am:
9342         * sgml.h:
9343         * sgml.C:
9344         * buffer.C:
9345         * paragraph.h:
9346         * paragraph.C: move sgml char escaping out of paragraph
9347
9348         * paragraph.h:
9349         * paragraph.C: remove id setter
9350
9351         * buffer.C:
9352         * paragraph.C:
9353         * paragraph_pimpl.C: remove dead tex_code_break_column
9354
9355         * bufferview_funcs.C: small cleanup
9356
9357         * lyxfunc.C: remove dead proto
9358
9359         * lyxtext.h: make some stuff private. Remove some dead stuff.
9360
9361         * lyxgluelength.C: make as[LyX]String() readable
9362
9363 2002-08-08  John Levon  <levon@movementarian.org>
9364
9365         * LyXAction.h:
9366         * LyXAction.C:
9367         * MenuBackend.C:
9368         * ToolbarDefaults.C:
9369         * lyxfunc.C:
9370         * lyxrc.C:
9371         * toc.C: lyxaction cleanup
9372
9373 2002-08-08  John Levon  <levon@movementarian.org>
9374
9375         * BufferView2.C: small cleanup
9376
9377         * lyxfind.h:
9378         * lyxfind.C: move unnecessary header into the .C
9379
9380 2002-08-08  John Levon  <levon@movementarian.org>
9381
9382         * funcrequest.h: just tedious nonsense
9383
9384         * lyx_main.h:
9385         * lyx_main.C: cleanups
9386
9387         * buffer.C:
9388         * vspace.C: remove dead header lyx_main.h
9389
9390 2002-08-07  Angus Leeming  <leeming@lyx.org>
9391
9392         * Paragraph.[Ch]:
9393         * paragraph_pimpl.h:
9394         Forward declare class Counters in paragraph.h by moving the ctrs member
9395         variable into Paragraph::Pimpl.
9396         (counters): new method, returning a reference to pimpl_->ctrs.
9397
9398         * text2.C: ensuing changes.
9399
9400 2002-08-07  John Levon  <levon@movementarian.org>
9401
9402         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9403
9404         * BufferView_pimpl.C: announce X selection on double/triple
9405           click
9406
9407         * lyx_main.C: use correct bool in batch dispatch
9408
9409         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9410
9411 2002-08-07  André Pönitz <poenitz@gmx.net>
9412
9413         * funcrequest.h: new class to wrap a kb_action and its argument
9414
9415         * BufferView.[Ch]:
9416         * BufferView_pimpl[Ch]:
9417         * LaTeX.C:
9418         * LyXAction.[Ch]:
9419         * lyxfunc.[Ch]:
9420         * lyxrc.C: subsequent changes
9421
9422
9423 2002-08-07  John Levon  <levon@movementarian.org>
9424
9425         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9426           document options change.
9427
9428 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9429
9430         * counters.[Ch]
9431         * text2.C
9432         * paragraph.[Ch]
9433         * makefile.am: move counters functionality over from
9434         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9435
9436 2002-08-06  John Levon  <levon@movementarian.org>
9437
9438         * WordLangTuple.h: new file for word + language code tuple
9439
9440         * SpellBase.h:
9441         * pspell.h:
9442         * pspell.C:
9443         * ispell.h:
9444         * ispell.C:
9445         * lyxtext.h:
9446         * text.C:
9447         * text2.C:
9448         * BufferView.h:
9449         * BufferView2.C: use WordLangTuple
9450
9451         * layout.h:
9452         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9453
9454 2002-08-06  John Levon  <levon@movementarian.org>
9455
9456         * lyx_main.C: fix cmdline batch handling
9457
9458 2002-08-06  André Pönitz <poenitz@gmx.net>
9459
9460         * lyxrc.C: set default for show_banner to true
9461
9462 2002-08-06  John Levon  <levon@movementarian.org>
9463
9464         * pspell.C: fix a crash, and allow new aspell to work
9465
9466 2002-08-06  John Levon  <levon@movementarian.org>
9467
9468         * lyxfunc.C:
9469         * kbmap.C: small cleanup
9470
9471         * vspace.h:
9472         * vspace.C: add const
9473
9474 2002-08-05  John Levon  <levon@movementarian.org>
9475
9476         * LyXAction.C: back to tabular-insert
9477
9478 2002-08-04  John Levon  <levon@movementarian.org>
9479
9480         * BufferView.h:
9481         * BufferView.C: cosmetic change
9482
9483         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9484
9485         * bufferlist.C:
9486         * buffer.h:
9487         * buffer.C:
9488         * lyxcb.h:
9489         * lyxcb.C:
9490         * lyxserver.C:
9491         * lyxvc.C:
9492         * vc-backend.C:
9493         * BufferView2.C: purge all "Lyx" not "LyX" strings
9494
9495         * lyxcursor.h:
9496         * lyxcursor.C: attempt to add some documentation
9497
9498         * lyxfunc.C:
9499         * commandtags.h:
9500         * LyXAction.C:
9501         * ToolbarDefaults.C:
9502         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9503           merge with LFUN_TABULAR_INSERT
9504
9505         * Makefile.am:
9506         * SpellBase.h:
9507         * ispell.h:
9508         * ispell.C:
9509         * pspell.h:
9510         * pspell.C: split up i/pspell implementations into separate
9511           files, many cleanups
9512
9513         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9514
9515         * text2.C: some cleanup
9516
9517         * lyxfunc.C: don't check for isp_command == "none" any more, it
9518           didn't make any sense
9519
9520 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9521
9522         * counters.[Ch]
9523         * text2.C
9524         * paragraph.[Ch]
9525         * makefile.am: move counters functionality over
9526         from text2.C/paragraph.[Ch] to counters.[Ch], and
9527         make proper C++.
9528 2002-08-02  John Levon  <levon@movementarian.org>
9529
9530         * buffer.C: s/lyxconvert/lyx2lyx/
9531
9532 2002-08-02  Angus Leeming  <leeming@lyx.org>
9533
9534         * lyxlex.C: revert John's change as it breaks reading of the user
9535         preamble.
9536
9537 2002-08-02  Angus Leeming  <leeming@lyx.org>
9538
9539         * importer.C (Import):
9540         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9541         changes due to LyXView::view() now returning a boost::shared_ptr.
9542
9543 2002-08-02  John Levon  <levon@movementarian.org>
9544
9545         * lyxlex.C: small cleanup
9546
9547 2002-08-02  John Levon  <levon@movementarian.org>
9548
9549         * text2.C (status): small cleanup, no logic change
9550
9551 2002-08-01  John Levon  <levon@movementarian.org>
9552
9553         * buffer.h:
9554         * buffer.C (writeFile): don't output alerts, caller
9555           handles this
9556
9557         * bufferlist.C:
9558         * lyx_cb.C: from above
9559
9560         * lyxfunc.C: allow to open non-existent files
9561
9562 2002-07-31  John Levon  <levon@movementarian.org>
9563
9564         * lyxserver.C: don't let incidental errors get
9565           in the way (errno)
9566
9567 2002-07-30  John Levon  <levon@movementarian.org>
9568
9569         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9570
9571 2002-07-30  John Levon  <levon@movementarian.org>
9572
9573         * lyxserver.h:
9574         * lyxserver.C: remove I/O callback too
9575
9576 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9577
9578         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9579         log.
9580
9581 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9582
9583         * many files: strip,frontStrip -> trim,ltrim,rtrim
9584
9585 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9586
9587         * PrinterParams.h: remove extern containsOnly, and include
9588         support/lstrings.h instead.
9589
9590         * LaTeX.C (scanAuxFile): modify because of strip changes
9591         (deplog): ditto
9592         * buffer.C (makeLaTeXFile): ditto
9593         * bufferparams.C (writeFile): ditt
9594         * lyxfont.C (stateText): ditto
9595         * lyxserver.C (read_ready): ditto
9596         * vc-backend.C (scanMaster): ditto
9597
9598         * BufferView_pimpl.h: ws changes
9599
9600         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9601
9602 2002-07-26  André Pönitz <poenitz@gmx.net>
9603
9604         * kb_sequence.C: remove unnedred usings
9605
9606 2002-07-26  Juergen Vigna  <jug@sad.it>
9607
9608         * lyxfind.C (LyXReplace): we have to check better if the returned
9609         text is not of theLockingInset()->getLockingInset().
9610
9611 2002-07-25  Juergen Vigna  <jug@sad.it>
9612
9613         * lyxfind.C (LyXReplace): don't replace if we don't get the
9614         right LyXText.
9615
9616         * undo_funcs.C (createUndo): remove debugging code.
9617
9618 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9619
9620         * buffer.C (parseSingleLyXformat2Token): Use default placement
9621         when reading old floats.
9622
9623         * FloatList.C (FloatList): Change the default placement of figure
9624         and tables to "tbp".
9625
9626 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9627
9628         * MenuBackend.C: using std::max
9629
9630 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9631
9632         * MenuBackend.C (expandToc):
9633         (expandToc2): code moved from xforms menu frontend. It is now
9634         generic and TOCs are transparent to menu frontends.
9635
9636 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * toc.C (getTocList): protect against buf=0
9639
9640         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9641         Menu as first parameter. Now, this calls itself recursively to
9642         expand a whole tree (this will be useful for TOC handling)
9643         (expandFloatInsert): remove 'wide' version of floats
9644
9645         * MenuBackend.h (submenuname): returns the name of the submenu.
9646         (submenu): returns the submenu itself, provided it has been
9647         created by MenuBackend::expand
9648
9649 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9652         insets which have noFontChange == true. (bug #172)
9653
9654 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * BufferView_pimpl.C: add connection objects and use them...
9657         (Pimpl): here.
9658
9659 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * MenuBackend.C (expandLastfiles):
9662         (expandDocuments):
9663         (expandFormats):
9664         (expandFloatListInsert):
9665         (expandFloatInsert):
9666         (expand): split expand in parts
9667
9668 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * lyx_gui.C: use lyx_gui::exit()
9671
9672 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * LyXAction.C: show the failing pseudo action
9675
9676 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9677
9678         * buffer.C (readFile): Run the lyxconvert script in order to read
9679         old files.
9680
9681 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * LyXAction.C:
9684         * commandtags.h:
9685         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9686
9687 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * LyXAction.C:
9690         * commandtags.h:
9691         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9692
9693 2002-07-22  Herbert Voss  <voss@lyx.org>
9694
9695         * lengthcommon.C:
9696         * lyxlength.[Ch]: add support for the vertical lengths
9697
9698 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * toc.[Ch]: std:: fixes
9701
9702 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * lyxrc.C: do not include lyx_main.h
9705
9706         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9707         for layouts
9708
9709         * lyxrc.C:
9710         * encoding.C:
9711         * bufferlist.C:
9712         * BufferView2.C: include "lyxlex.h"
9713
9714         * tabular.h:
9715         * bufferparams.h: do not #include "lyxlex.h"
9716
9717         * lyxtextclasslist.C (Add): remove method
9718         (classlist): renamed to classlist_
9719
9720         * paragraph_pimpl.C:
9721         * paragraph.C:
9722         * text2.C:
9723         * CutAndPaste.C:
9724         * bufferview_funcs.C:
9725         * bufferlist.C:
9726         * text.C:
9727         * LaTeXFeatures.C:
9728         * buffer.C:
9729         * toc.C (getTocList): use BufferParams::getLyXTextClass
9730
9731         * toc.C (getTocList): use InsetFloat::addToToc
9732
9733         * toc.[Ch]: new files, containing helper functions to handle table
9734         of contents
9735
9736         * lyxfunc.C (dispatch): no need to remove spaces around command
9737         given as a string
9738         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9739         first command of the sequence; it is not very clever, but I do not
9740         have a better idea, actually
9741
9742         * LyXAction.C (LookupFunc): make sure to remove space at the
9743         beginning and end of the command
9744
9745 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * MenuBackend.C (getMenubar): new method: return the menubar of
9748         this menu set
9749         (read): treat differently reading of menu and menubar (in
9750         particular, the menubar has no name now)
9751         (Menu::menubar): remove
9752
9753         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9754         saving is finished
9755
9756 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9759         a bibitem inset in a RTL paragraph.
9760
9761 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * paragraph_pimpl.C: constify
9764
9765         * BufferView_pimpl.C:
9766         * LaTeX.C:
9767         * lyxfunc.C: fix dispatch in a nicer way
9768
9769 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * lyxfunc.C (dispatch):
9772         * BufferView_pimpl.C:
9773         * BufferView_pimpl.h:
9774         * BufferView.C:
9775         * BufferView.h: rename Dispatch() to dispatch()
9776
9777         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9778
9779         * lyxlayout.C (Read): honor DependsOn tag
9780
9781         * lyxlayout.[Ch] (depends_on): new method
9782
9783         * version.C.in: update lyx_docversion
9784
9785         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9786
9787         * paragraph.C (validate): remove from here...
9788         * paragraph_pimpl.C (validate): ... and move here
9789         (isTextAt): make it const
9790
9791         * buffer.C (getLists): ws cleanup
9792
9793 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9794
9795         * language.C (read): Use iso8859-1 encoding in latex_lang
9796         (this prevents LyX from crashing when using iso10646-1 encoding).
9797
9798 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9799
9800         * text2.C (toggleInset): if cursor is inside an inset, close the
9801         inset and leave cursor _after_ it
9802
9803 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * lyxfunc.C: move minibuffer completion handling out of here
9806
9807 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * BufferView_pimpl.C:
9810         * LaTeX.C: fix dispatch calls
9811
9812 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9813
9814         * text.C (drawChars): Fix Arabic text rendering.
9815
9816 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9817
9818         * LyXAction.C:
9819         * commandtags.h:
9820         * lyxfunc.C: remove message-push/pop
9821
9822         * lyxserver.C:
9823         * lyxfunc.h:
9824         * lyxfunc.C: rationalise some code by removing verboseDispatch
9825           in favour of a bool argument to dispatch()
9826
9827 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyx_main.C (init): make sure to read symlinks as absolute paths
9830
9831 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * lyxfunc.h:
9834         * lyxfunc.C: no need for commandshortcut to be a member
9835
9836 2002-07-15  André Pönitz <poenitz@gmx.net>
9837
9838         * converter.C: add support for $$s (scripts from lib/scripts dir)
9839         * lyx_main.C: white space
9840
9841 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * bufferlist.C:
9844         * lyxrc.h:
9845         * lyxrc.C: remove second exit confirmation
9846
9847 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * BufferView.h:
9850         * BufferView.C:
9851         * BufferView2.C:
9852         * BufferView_pimpl.h:
9853         * BufferView_pimpl.C:
9854         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9855
9856 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * MenuBackend.C (expand): add numeric shortcuts to document menu
9859
9860         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9861
9862 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9863
9864         * lyxfont.C (setLyXFamily):
9865         (setLyXSeries):
9866         (setLyXShape):
9867         (setLyXSize):
9868         (setLyXMisc):
9869         (lyxRead):
9870         * debug.C (value):
9871         * buffer.C (asciiParagraph): use ascii_lowercase
9872
9873 2002-07-15  Mike Fabian  <mfabian@suse.de>
9874
9875         * lyxlex_pimpl.C (search_kw):
9876         * lyxlex.C (getLongString):
9877         * converter.h (operator<):
9878         * converter.C (operator<):
9879         * buffer.C (parseSingleLyXformat2Token):
9880         (asciiParagraph):
9881         * ToolbarDefaults.C (read):
9882         * MenuBackend.C (checkShortcuts):
9883         (read):
9884         * LColor.C (getFromGUIName):
9885         (getFromLyXName): use the compare_ascii_no_case instead of
9886         compare_no_case, because in turkish, 'i' is not the lowercase
9887         version of 'I', and thus turkish locale breaks parsing of tags.
9888
9889 2002-07-16  Angus Leeming  <leeming@lyx.org>
9890
9891         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9892         now takes a Buffer const & argument.
9893
9894 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView.C (resize): check there's a buffer to resize
9897
9898 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * lyxfunc.C: remove dead code
9901
9902         * lyxserver.h:
9903         * lyxserver.C: use lyx_guii::set_read_callback
9904
9905 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9906
9907         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9908         an inset in a RTL paragraph.
9909
9910 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyxfunc.C: repaint after a font size update
9913
9914 2002-07-15  André Pönitz <poenitz@gmx.net>
9915
9916         * lyxlength.C: inBP should be able to return negative values
9917
9918 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * lyxfunc.C: use lyx_gui::update_fonts()
9921
9922 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * lyxfunc.C: use lyx_gui::update_color()
9925
9926 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * bufferlist.C:
9929         * lyxfunc.h:
9930         * lyxfunc.C:
9931         * lyxrc.h:
9932         * lyxrc.C: remove file->new asks for name option, and let
9933           buffer-new take an argument
9934
9935 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * BufferView_pimpl.C: remove unneeded extra repaint()
9938
9939 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * LyXAction.C: allow command-sequence with NoBuffer
9942
9943         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9944
9945 2002-07-10  Angus Leeming  <leeming@lyx.org>
9946
9947         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9948
9949 2002-07-09  Angus Leeming  <leeming@lyx.org>
9950
9951         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9952
9953 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * lengthcommon.h: whitespace
9956
9957         * lyxfunc.C: update scrollbar after goto paragraph
9958
9959         * lyxtext.h: factor out page break drawing, and fix it so
9960           page break/added space paints as selected nicely
9961
9962 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * BufferView_pimpl.C: add FIXMEs, clean up a little
9965
9966 2002-07-09  André Pönitz <poenitz@gmx.net>
9967
9968         * lyxfont.[Ch]: support for wasy symbols
9969
9970 2002-07-08  André Pönitz <poenitz@gmx.net>
9971
9972         * BufferView_pimpl.C: apply John's patch for #93.
9973
9974 2002-07-05  Angus Leeming  <leeming@lyx.org>
9975
9976         * BufferView_pimpl.C (buffer): generate previews if desired.
9977
9978         * LColor.h: add "preview" to the color enum.
9979
9980         * LColor.C (LColor): add a corresponding entry to the items array.
9981
9982         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9983         with this buffer.
9984
9985 2002-07-05  Angus Leeming  <leeming@lyx.org>
9986
9987         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9988         The body of the code is now in the method that is passed an ostream &
9989         rather than a file name.
9990         Pass an additional only_preamble parameter, useful for the forthcoming
9991         preview stuff.
9992
9993 2002-07-03  André Pönitz <poenitz@gmx.net>
9994
9995         * lyxfunc.C: simplify getStatus() a bit for math stuff
9996
9997 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9998
9999         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10000
10001 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * text.C (changeRegionCase): do not change case of all the
10004         document when region ends at paragraph end (bug #461)
10005
10006 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * paragraph.C (startTeXParParams):
10009         (endTeXParParams): add \protect when necessary
10010
10011 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * BufferView_pimpl.C (workAreaExpose): remove warning
10014
10015 2002-06-27  Angus Leeming  <leeming@lyx.org>
10016
10017         * Makefile.am: add lyxlayout_ptr_fwd.h.
10018
10019 2002-06-26  André Pönitz <poenitz@gmx.net>
10020
10021         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10022
10023 2002-06-25  Angus Leeming  <leeming@lyx.org>
10024
10025         * lyxfunc.C (dispatch): Comment out the call to
10026         grfx::GCache::changeDisplay. The method no longer exists now that the
10027         pixmap generation part of the graphics loader has been moved into
10028         InsetGraphics.
10029
10030 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * text2.C: layout as layout
10033
10034         * text.C: layout as layout
10035
10036         * tabular.C (OldFormatRead): layout as layout
10037
10038         * paragraph_pimpl.C (TeXDeeper): layout as layout
10039         (realizeFont): layout as layout
10040
10041         * paragraph.C (writeFile): layout as layout
10042         (validate): layout as layout
10043         (getFont): layout as layout
10044         (getLabelFont): layout as layout
10045         (getLayoutFont): layout as layout
10046         (breakParagraph): layout as layout
10047         (stripLeadingSpaces): layout as layout
10048         (getEndLabel): layout as layout
10049         (getMaxDepthAfter): layout as layout
10050         (applyLayout): layout as layout
10051         (TeXOnePar): layout as layout
10052         (simpleTeXOnePar): layout as layout
10053         (TeXEnvironment): layout as layout
10054         (layout): layout as layout
10055         (layout): layout as layout
10056
10057         * lyxtextclass.C (compare_name): new functor to work with
10058         shared_ptr, layout as layout
10059         (Read): layout as layout
10060         (hasLayout): layout as layout
10061         (operator): layout as layout
10062         (delete_layout): layout as layout
10063         (defaultLayout): layout as layout
10064
10065         * lyxlayout_ptr_fwd.h: new file
10066
10067         * lyxlayout.C (Read): layout as layout
10068
10069         * lyx_cb.C (MenuInsertLabel): layout as layout
10070
10071         * bufferlist.C (newFile): layout as layout
10072
10073         * buffer.C (readLyXformat2): layout as layout
10074         (parseSingleLyXformat2Token): layout as layout
10075         (insertStringAsLines): layout as layout
10076         (asciiParagraph): layout as layout
10077         (latexParagraphs): layout as layout
10078         (makeLinuxDocFile): layout as layout
10079         (simpleLinuxDocOnePar): layout as layout
10080         (makeDocBookFile): layout as layout
10081         (simpleDocBookOnePar): layout as layout
10082         (getLists): layout as layout
10083
10084         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10085
10086         * CutAndPaste.C (cutSelection): layout as layout
10087         (pasteSelection): layout as layout
10088         (SwitchLayoutsBetweenClasses): layout as layout
10089
10090         * BufferView_pimpl.C (Dispatch): layout as layout
10091         (smartQuote): layout as layout
10092
10093         * BufferView2.C (unlockInset): layout as layout
10094
10095 2002-06-24  André Pönitz <poenitz@gmx.net>
10096
10097         * lyxfunc.C: fix #487
10098
10099 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * lyxrc.h:
10102         * lyxrc.C:
10103         * lyxfunc.C: remove display_shortcuts, show_banner
10104
10105 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * Buffer_pimpl.C: oops, update on resize
10108
10109 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * buffer.C:
10112         * converter.C:
10113         * exporter.C:
10114         * lyxfunc.C:
10115         * BufferView.h:
10116         * BufferView.C: use repaint()
10117
10118         * BufferView_pimpl.h:
10119         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10120           as it's a clearer description. Remove superfluous
10121           redraws.
10122
10123 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * text.C: fix bug 488. Not ideal, but getting
10126           getWord() to work properly for the insets that
10127           matter is more difficult ...
10128
10129 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView_pimpl.C:
10132         * LyXAction.C:
10133         * commandtags.h:
10134         * lyxfunc.C: remove the six million index lyxfuncs to just
10135           one, and DTRT (bug 458)
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: clean up resize() stuff,
10143           and unnecessary updateScreen()s
10144
10145 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * BufferView.h:
10148         * BufferView.C:
10149         * BufferView_pimpl.h:
10150         * BufferView_pimpl.C:
10151         * lyxfind.h:
10152         * lyxfind.C:
10153         * minibuffer.C: remove focus management of workarea,
10154           not needed. Use screen's greyOut()
10155
10156 2002-06-17  Herbert Voss  <voss@lyx.org>
10157
10158         * converter.C: (convert) do not post a message, when converting
10159         fails, let the calling function decide what to do in this case
10160
10161 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * lyxfunc.C: tidy up a little
10164
10165 2002-06-16    <alstrup@diku.dk>
10166
10167         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10168         Got rid of FORMS_H_LOCATION include. Now we are
10169         GUII.
10170
10171 2002-06-15  LyX Development team  <lyx@rilke>
10172
10173         * buffer.[Ch] (sgmlOpenTag):
10174         (sgmlCloseTag): Added support for avoiding pernicious mixed
10175         content. Return number of lines written.
10176
10177         (makeLinuxDocFile):
10178         (makeDocBookFile): Fixed calls to sgml*Tag.
10179         Simple white space clean.
10180
10181         (simpleDocBookOnePar): Simple white space clean.
10182
10183         * tabular.[Ch] (docBook): Renamed to docbook and got another
10184         argument to related with the pernicious mixed content.
10185
10186         (docbookRow): Fixed calls for docbook inset method.
10187
10188 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10189
10190         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10191         so it's X11 independent.
10192
10193         * kb*.[Ch]: ditto.
10194
10195         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10196
10197 2002-06-15  Lyx Development team  <lyx@electronia>
10198
10199         * intl.h: Renamed getTrans to getTransManager.
10200
10201 2002-06-14  Angus Leeming  <leeming@lyx.org>
10202
10203         * Makefile.am: nuke forgotten stl_string_fwd.h.
10204
10205 2002-06-12  Angus Leeming  <leeming@lyx.org>
10206
10207         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10208
10209 2002-06-13  Angus Leeming  <leeming@lyx.org>
10210
10211         * LaTeX.C:
10212         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10213
10214 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10215
10216         * kbmap.C (getiso): add support for cyrillic and greek
10217
10218 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView.h:
10221         * BufferView.C:
10222         * BufferView_pimpl.h:
10223         * BufferView_pimpl.C: move bogus scrolling logic
10224           to xforms
10225
10226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyxfunc.C:
10229         * BufferView_pimpl.C: view->resize() change
10230
10231 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * BufferView_pimpl.C: topCursorVisible
10234           prototype change
10235
10236 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * Makefile.am:
10239         * lyx_gui.h:
10240         * lyx_gui.C: move to frontends/
10241
10242         * main.C:
10243         * lyx_main.h:
10244         * lyx_main.C: changes from above
10245
10246 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * intl.C:
10249         * intl.h:
10250         * kbmap.C:
10251         * kbsequence.C:
10252         * lyx_cb.C:
10253         * lyx_main.C: minor tidy
10254
10255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * BufferView_pimpl.h:
10258         * BufferView_pimpl.C:
10259         * BufferView.h:
10260         * BufferView.C: make painter() const,
10261           remove dead code
10262
10263         * BufferView2.C: use screen() accessor
10264
10265         * lyx_main.h:
10266         * lyx_main.C: some minor cleanup
10267
10268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * BufferView_pimpl.h:
10271         * BufferView_pimpl.C: remove enter/leaveView,
10272           use workHeight()
10273
10274 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * BufferView.h:
10277         * BufferView.C:
10278         * BufferView2.C:
10279         * BufferView_pimpl.h:
10280         * BufferView_pimpl.C: only construct screen once,
10281           rename
10282
10283         * lyxrc.C: remove pointless comment
10284
10285 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * BufferView.h:
10288         * BufferView.C: remove active() and belowMouse()
10289
10290         * BufferView_pimpl.h:
10291         * BufferView_pimpl.C: use workarea() not workarea_,
10292           and make it use a scoped_ptr instead
10293
10294 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * lyx_gui.C: add debug message on BadWindow
10297
10298 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10299
10300         * sp_spell.C: fdopen is not part of the C++ standard.
10301
10302         * paragraph.C (InsetIterator): use >= instead of ==
10303
10304 2002-06-07  Angus Leeming  <leeming@lyx.org>
10305
10306         Fixes needed to compile with Compaq cxx 6.5.
10307         * BufferView_pimpl.C:
10308         * DepTable.C:
10309         * buffer.C:
10310         * converter.C:
10311         * encoding.C:
10312         * lyx_gui.C:
10313         * lyx_main.C:
10314         * lyxtextclasslist.C:
10315         * minibuffer.C:
10316         * sp_spell.C:
10317         * tabular_funcs.C:
10318         * vc-backend.C:
10319         all c-library variables have been moved into namespace std. Wrap
10320         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10321
10322         * lyxlength.C:
10323         * tabular-old.C:
10324         * tabular.C:
10325         Add a using std::abs declaration.
10326
10327         * kbmap.h (modifier_pair):
10328         * paragraph.h (InsetTable, InsetList):
10329         * lyxfont.h (FontBits):
10330         type definition made public.
10331
10332         * bufferlist.C (emergencyWriteAll): the compiler complains that
10333         there is more than one possible lyx::class_fun template to choose from.
10334         I re-named the void specialisation as lyx::void_class_fun.
10335
10336         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10337
10338         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10339         the compiler is is unable to find tostr in write_attribute.
10340
10341 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * buffer.C (sgmlError): hide #warning
10344
10345 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * xtl/*: get rid of xtl, which is not in use anyway
10348
10349         * LyXAction.C (init):
10350         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10351         were unimplemented xtl experimentation
10352
10353 2002-06-04  André Pönitz <poenitz@gmx.net>
10354
10355         * lyxfunc.C: disable array operation on simple formulae
10356
10357 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * converter.C: constify a bit
10360
10361 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyx_gui.C: check xforms version correctly
10364
10365 2002-04-30  Herbert Voss  <voss@lyx.org>
10366
10367         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10368         "keep" option
10369
10370 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10373           attempt to register it with a VCS)
10374
10375 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * lyx_main.C (init): honor variables LYX_DIR_13x and
10378         LYX_USERDIR_13x
10379
10380 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * buffer.h:
10383         * buffer.C:
10384         * lyx_main.C: fix a crash on bad command line,
10385           and give a useful exit status on error
10386
10387         * lyxfunc.C (doImport): allow -i lyx to work
10388
10389 2002-03-30  André Pönitz <poenitz@gmx.net>
10390
10391         * lyxfunc.C: mathed font changes
10392
10393 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * LaTeX.C:
10396         * importer.h:
10397         * importer.C:
10398         * lyx_sty.h:
10399         * lyx_sty.C:
10400         * lyxlex.C:
10401         * lyxrow.h:
10402         * lyxtext.h:
10403         * paragraph.h:
10404         * paragraph.C:
10405         * texrow.h:
10406         * texrow.C:
10407         * text.C:
10408         * trans_mgr.h: srcdocs, and some minor cleanups
10409
10410 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10413         call getFont all the time)
10414
10415 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10416
10417         * switch from SigC signals to boost::signals
10418
10419 2002-05-29  André Pönitz <poenitz@gmx.net>
10420
10421         * paragraph_pimpl.C (getChar): don't call size() too often...
10422
10423 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * paragraph_pimpl.C (insertChar): do not try to update tables when
10426         appending (pos == size())
10427
10428         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10429         in order to reduce drastically the number of comparisons needed to
10430         parse a large document
10431
10432 2002-05-29  André Pönitz <poenitz@gmx.net>
10433
10434         * text.C:
10435         * text2.C:
10436         * lyxtextclass.C:
10437         * sp_pspell.h:
10438         * textclasslist.[Ch]:
10439         * sp_ispell.h: whitespace change
10440
10441 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10442
10443         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10444         lyxaction directly now.
10445
10446 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * trans.C:
10449         * lyxfont.C:
10450         * lyxvc.C: remove unused headers
10451
10452 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * Makefile.am:
10455         * buffer.h:
10456         * undostack.h:
10457         * undostack.C:
10458         * undo_funcs.h:
10459         * undo_funcs.C: some cleanups. Use shared_ptr
10460           and a template for the undo stacks.
10461
10462 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView_pimpl.h:
10465         * BufferView_pimpl.C:
10466         * kbmap.h:
10467         * kbmap.C:
10468         * kbsequence.h:
10469         * kbsequence.C:
10470         * lyxfunc.h:
10471         * lyxfunc.C:
10472         * text2.C: use key_state/mouse_state
10473
10474 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10477         and LSubstring
10478
10479         * chset.C: change include order
10480         (loadFile): use boost regex and get rid of LRegex and LSubstring
10481
10482         * Makefile.am (BOOST_LIBS): new variable
10483         (lyx_LDADD): use it
10484
10485         * LaTeX.C: change include order.
10486         (scanAuxFile): use boost regex and get rid of LRegex and
10487         LSubstring
10488         (deplog): ditto
10489
10490 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * ColorHandler.h:
10493         * ColorHandler.C:
10494         * FontInfo.h:
10495         * FontInfo.C: moved to frontends/xforms/
10496
10497         * FontLoader.h:
10498         * FontLoader.C: moved into frontends for GUIIzation
10499
10500         * Makefile.am:
10501         * lyx_gui.C:
10502         * lyxfont.C:
10503         * lyxfunc.C: changes from above
10504
10505 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * LColor.C: remove spurious X include
10508
10509         * BufferView_pimpl.C:
10510         * Makefile.am:
10511         * font.h:
10512         * font.C:
10513         * text.C:
10514         * text2.C: move font metrics to frontends/
10515
10516 2002-05-24  Juergen Vigna  <jug@sad.it>
10517
10518         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10519         setting the undo_cursor.
10520
10521         * ParagraphParameters.h: include local includes first.
10522
10523 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * BufferView_pimpl.C:
10526         * BufferView_pimpl.h:
10527         * Makefile.am:
10528         * WorkArea.h:
10529         * WorkArea.C:
10530         * screen.C: move WorkArea into frontends/
10531
10532         * lyxscreen.h:
10533         * screen.C:
10534         * text.C:
10535         * BufferView.C:
10536         * BufferView2.C: move LyXScreen into frontends/
10537
10538         * lyxlookup.h:
10539         * lyxlookup.C:
10540         * lyx_gui.C: move lyxlookup into frontends/xforms/
10541
10542 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * BufferView2.C:
10545         * BufferView_pimpl.C:
10546         * FontLoader.C:
10547         * LyXView.h:
10548         * LyXView.C:
10549         * Makefile.am:
10550         * WorkArea.C:
10551         * XFormsView.h:
10552         * XFormsView.C:
10553         * buffer.C:
10554         * bufferlist.C:
10555         * bufferview_funcs.C:
10556         * converter.C:
10557         * importer.C:
10558         * lyx_cb.C:
10559         * lyx_gui.C:
10560         * lyx_main.C:
10561         * lyx_find.C:
10562         * lyxfunc.C:
10563         * lyxvc.C:
10564         * minibuffer.C:
10565         * text.C:
10566         * text2.C:
10567         * trans.C:
10568         * vc-backend.C: move LyX/XFormsView into frontends/
10569
10570 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * Makefile.am:
10573         * PainterBase.C:
10574         * PainterBase.h:
10575         * Painter.C:
10576         * Painter.h:
10577         * WorkArea.C:
10578         * WorkArea.h:
10579         * screen.C:
10580         * tabular.C:
10581         * text.C:
10582         * text2.C: move Painter to frontends/
10583
10584 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10585
10586         * buffer.C: comment out some some code that depend upon lyx_format
10587         < 220
10588
10589         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10590         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10591
10592         * buffer.h (NO_COMPABILITY): turn off compability
10593
10594         * ColorHandler.C: include scoped_array.hpp
10595
10596         * font.C: Use more specific smart_ptr header.
10597         * Painter.C: ditto
10598         * gettext.C: ditto
10599         * ShareContainer.h: ditto
10600         * lyx_main.h: ditto
10601         * kbmap.h: ditto
10602         * FontInfo.h: ditto
10603         * BufferView_pimpl.h: ditto
10604         * ColorHandler.h: ditto
10605
10606         * kbmap.C (defkey): change call to shared_ptr::reset
10607
10608 2002-05-21  Juergen Vigna  <jug@sad.it>
10609
10610         * buffer.C (insertErtContents): fix to insert ert asis if it is
10611         non empty. Skip it completely if it contains only whitespaces.
10612
10613 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * BufferView_pimpl.C:
10616         * BufferView2.C: clear selection on paste (bug 393)
10617
10618 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10619
10620         * DepTable.C: include ctime
10621
10622 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10625
10626 2002-05-14  Juergen Vigna  <jug@sad.it>
10627
10628         * text.C (breakParagraph): fixed function to honor the keepempty
10629         layout in the right maner and also to permit the right breaking
10630         algorithm on empty or non empyt keepempty paragraphs.
10631
10632         * paragraph.C (breakParagraph): we have to check also if the par
10633         is really empty (!size()) for isempty otherwise we do the wrong
10634         paragraph break.
10635
10636 2002-05-10  Juergen Vigna  <jug@sad.it>
10637
10638         * buffer.[Ch] : The following are only changes to the ert
10639         compatibility read reading old LaTeX layout and font stuff and
10640         convert it to ERTInsets.
10641
10642         * buffer.h: added isErtInset().
10643
10644         * buffer.C (struct ErtComp): add a fromlayout bool to check
10645         if we're inside a LaTeX layout.
10646         (isErtInset): new helper function.
10647         (insertErtContents): look for other ert insets before this one
10648         and insert the contents there, so that we don't have subsequent
10649         ERT insets with nothing between them. This way we create only one
10650         inset with multiple paragraphs. Also check if we don't insert only
10651         spaces ' ' as they are ignored anyway afterwards in the .tex file
10652         so if we have only spaces we will ignore this latex part in the
10653         new file.
10654         (parseSingleLyXformat2Token \\layout): better compatibility when
10655         reading layout-latex stuff.
10656         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10657         language tag.
10658         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10659         stuff after reading the inset only get the information back from
10660         the stack.
10661
10662 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10665
10666         * LaTeXFeatures.C (getBabelOptions): New method.
10667
10668 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10669
10670         * BufferView_pimpl.C (Dispatch): work around missing argument for
10671         'layout'
10672
10673 2002-05-08  Juergen Vigna  <jug@sad.it>
10674
10675         * text.C (leftMargin): handle paragraph leftindent.
10676
10677         * paragraph.C (writeFile): write the new \\leftindent tag.
10678         (validate): handle leftindent code.
10679         (TeXEnvironment): handle paragraphleftindent code again.
10680
10681         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10682
10683         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10684         for paragrap_extra indent code and new token \\leftindent.
10685         (latexParagraphs): handle the leftindent as environment.
10686
10687         * ParameterStruct.h: added leftindent support.
10688
10689         * ParagraphParameters.C (leftIndent): added support functions for
10690         the paragraph left indent.
10691
10692         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10693         more appropriate.
10694
10695 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10696
10697         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10698         inside insetERT.
10699
10700         * text.C (computeBidiTables): No bidi in insetERT.
10701
10702         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10703         in RTL documents.
10704
10705 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * version.C.in: pre 5
10708
10709 2002-05-02  José Matos  <jamatos@fep.up.pt>
10710         * buffer.C (makeDocBookFile): white space changes, add newline to
10711         command styles.
10712         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10713
10714         * tabular.C (docBook): fix typo.
10715
10716 2002-05-03  Juergen Vigna  <jug@sad.it>
10717
10718         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10719         change in LyXText as we can not be sure it was not freed.
10720         (drawOneRow): remove unused code.
10721
10722         * text.C (drawInset): redo the calculation of the need_break_row as
10723         it could have a row which was already freed.
10724         (draw): look at the return value of drawInset and return false if
10725         it also returned false.
10726         (paintRowText): look at the return value of draw and return false if
10727         it also returned false.
10728
10729         * lyxtext.h: added bool return type to drawInset() and draw() so that
10730         if we have a change in the row so that the rowbreak has to be redone
10731         we abort drawing as it will be called again.
10732
10733 2002-05-02  Juergen Vigna  <jug@sad.it>
10734
10735         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10736         a change in the maintext also if we're inside an inset.
10737         (Dispatch): set the cursor again after a break line and after the
10738         screen has been updated as it could be we're in a different row.
10739
10740         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10741         to set the cursor behind the pargraph with > size().
10742         (setCursor): check also for the same paragraph when checking where
10743         to put the cursor if we have a NFR inset.
10744
10745         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10746         parts of layout read further up as it still was in the wrong
10747         position.
10748
10749 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * screen.C (drawFromTo): change sine fullRebreak always return
10752         true.
10753
10754         * buffer.C (parseSingleLyXformat2Token): reindent some
10755
10756         * BufferView_pimpl.C (update): change since fullRebreak always
10757         return true.
10758         (Dispatch): git rid of the last hardcoded "Standard"s.
10759
10760 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10761
10762         * text2.[Ch] (fullRebreak): make it return void now that we always
10763         returned true.
10764
10765 2002-04-30  Juergen Vigna  <jug@sad.it>
10766
10767         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10768         ert compatibility check for "latex" layout.
10769
10770 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10773         minipages: use col% instead of p%, and also use the current font.
10774         (makeLaTeXFile): Fix use babel condition.
10775         (parseSingleLyXformat2Token): Correct font when reading old floats.
10776
10777 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10778
10779         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10780         inserting list of floats.
10781
10782 2002-04-25  Herbert Voss  <voss@lyx.org>
10783
10784         * MenuBackend.C (expand): don't add the graphics extensions to the
10785         export menu
10786
10787 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10790         non-existing layout, do not complain if it was the default layout
10791         of the original class (bug #342)
10792
10793 2002-04-24  Juergen Vigna  <jug@sad.it>
10794
10795         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10796         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10797
10798 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10799
10800         * buffer.C (getBibkeyList): If using \bibliography, return the
10801         option field with the reference itself. Enables us to provide natbib
10802         support when using \bibliography.
10803
10804 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10805
10806         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10807
10808         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10809         natbib is provided by the LaTeX class.
10810
10811 2002-04-23  Juergen Vigna  <jug@sad.it>
10812
10813         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10814         Wakeup functions.
10815
10816         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10817
10818 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10819
10820         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10821
10822         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10823         ensuremath around textordmasculine, textordfeminine and
10824         textdegree.
10825
10826 2002-04-19  Juergen Vigna  <jug@sad.it>
10827
10828         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10829         reinitializing the buffer otherwise row-dimensions may be wrong.
10830         (update): reset also the selection cursors if they do exits otherwise
10831         their x/y positions may be wrong.
10832
10833         * text2.C (cursorDown): don't enter the inset if we came from a row
10834         above and are one row over the inset.
10835
10836         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10837         really leaving an inset.
10838
10839 2002-04-18  Juergen Vigna  <jug@sad.it>
10840
10841         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10842         of the selected paragraph does not have the selected layout also if
10843         the last one had!
10844
10845         * text2.C (setLayout): fixed bug which did not change last selected
10846         paragraph.
10847
10848         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10849         changed the read and substituted \\end_float with \\end_inset!
10850
10851         * BufferView_pimpl.C (cursorPrevious):
10852         (cursorNext): fixed to make it work with rows heigher than the work
10853         area without moving the cursor only the draw of the row.
10854         (workAreaMotionNotify): fix jumping over high rows.
10855
10856 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10859         Ressler.
10860
10861 2002-04-16  Juergen Vigna  <jug@sad.it>
10862
10863         * text2.C (setCursor): set also the irow().
10864         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10865         (cursorUp):
10866         (cursorDown): support for locking an inset if the x_fix value goes
10867         inside it. That way I can transverse insets too with cursor up/down.
10868
10869         * lyxrow.h: added irow helper function same as other (i) functions.
10870
10871         * BufferView_pimpl.C (cursorPrevious):
10872         (cursorNext): fixed for insets!
10873
10874 2002-04-15  Juergen Vigna  <jug@sad.it>
10875
10876         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10877         position otherwise it is wrong in some cases.
10878
10879         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10880         inside the inset before the call.
10881
10882 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10883
10884         * buffer.[Ch] (getBibkeyList): make it const.
10885
10886 2002-04-12  Juergen Vigna  <jug@sad.it>
10887
10888         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10889
10890         * text2.C (getCursorX): new helper function
10891         (setCursor): compute also ix_
10892         (setCursorFromCoordinates): set also ix.
10893
10894         * lyxcursor.h: added ix_ and helper functions.
10895
10896         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10897
10898         * buffer.C (insertStringAsLines): dont break paragraph if the this
10899         paragraph is inside an inset which does not permit it!
10900
10901         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10902         also with no chars on this paragraph.
10903         (paintRowText): only paint stuff if it's inside the workarea!
10904
10905         * paragraph.C (breakParagraph): honor keepempty flag and break the
10906         paragraph always below not above.
10907
10908         * BufferView2.C (unlockInset): update the paragraph layout on inset
10909         unlock as we changed paragraph in such a case.
10910
10911         * lyxfind.C (LyXFind): clear the former selection if not found!
10912
10913         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10914         again called in insertChar().
10915
10916         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10917         an inset which uses the whole row!
10918         (rightMargin): ditto.
10919         (insertChar): force a rebreak if we inserted an inset!
10920
10921 2002-03-28  Herbert Voss  <voss@lyx.org>
10922
10923         * lyxlength.[Ch]: add inBP() to get the right PS-point
10924         units (BigPoint). With inPixels we have rounding errors
10925
10926 2002-04-11  Juergen Vigna  <jug@sad.it>
10927
10928         * text2.C (setCursorFromCoordinates): set iy to the right value.
10929         (setCursor): add check if row->previous exists!
10930
10931         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10932         an old float_type as this was the case in the old code!
10933
10934         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10935
10936         * BufferView2.C (showLockedInsetCursor): use iy
10937         (fitLockedInsetCursor): ditto
10938
10939         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10940         locked insets as there we have the right value now.
10941
10942         * lyxcursor.C: added iy_ variable and iy functions to set to the
10943         baseline of cursor-y of the locked inset.
10944
10945         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10946         (setCursor): fixed for insets which need a full row.
10947
10948         * text.C (rowLastPrintable): don't ignore the last space when before
10949         an inset which needs a full row.
10950         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10951         as last character of a row when before a inset which needs a full row.
10952
10953 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10954
10955         * version.C.in: update date
10956
10957         * text2.C (fullRebreak): try to always return true and see what
10958         happens...
10959
10960 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * MenuBackend.C (expand): use Floating::listName
10963
10964         * FloatList.C (FloatList): add listName argument to the built-in
10965         floats
10966
10967         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10968         text associated with the float.
10969
10970 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10973
10974 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10975
10976         * ShareContainer.h: add a couple of missing typenames.
10977
10978 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * lyxrc.C (getDescription): use _() correctly rather than N_().
10981
10982 2002-03-28  Herbert Voss  <voss@lyx.org>
10983
10984         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10985         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10986
10987 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10988
10989         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10990         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10991
10992 2002-03-29  Juergen Vigna  <jug@sad.it>
10993
10994         * lyxfunc.C (dispatch): add a missing fitCursor call.
10995
10996         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10997         it was scrolled by a cursor move, so return the bool status.
10998
10999         * BufferView.C (fitCursor): return the bool flag also to the outside
11000         world as this is needed.
11001
11002         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11003
11004         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11005         call the edit() as it is not needed (and wrong) IMO.
11006         (workAreaButtonPress): set the screen_first variable before evt.
11007         unlock the inset as this may change screen_first and then we have
11008         a wrong y position for the click!
11009
11010 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * MenuBackend.C (expand): another translation that I missed
11013
11014 2002-03-28  Juergen Vigna  <jug@sad.it>
11015
11016         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11017
11018         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11019
11020 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11023
11024         * MenuBackend.C (expand): fix export/view/update when there is no
11025         document open.
11026
11027 2002-03-27  Herbert Voss  <voss@lyx.org>
11028
11029         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11030         and text%
11031
11032 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * bufferview_funcs.C (currentState): only show paragraph number
11035         for is DEVEL_VERSION is set.
11036
11037         * lyxfunc.C (dispatch): put warning in INFO channel
11038
11039         * MenuBackend.C (expand): translate the name of floats
11040
11041         * FloatList.C (FloatList): mark the float names for translation
11042
11043         * converter.C (convert): use LibScriptSearch
11044
11045 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11046
11047         * MenuBackend.C (defaults): fix default menu (we might as well get
11048         rid of it...)
11049
11050 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11053         directory.
11054
11055 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * lyxvc.C: reorder includes.
11058
11059 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11062           properly
11063
11064 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * CutAndPaste.C: change layouts earlier on paste
11067           to avoid crashing when calling getFont()
11068
11069 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11072         irritating #error.
11073
11074 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * WorkArea.C: remove 'Pending' debug message.
11077
11078         * most files: ws cleanup
11079
11080         * buffer.[Ch]: ws changes
11081
11082         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11083
11084 2002-03-21  Juergen Vigna  <jug@sad.it>
11085
11086         * tabular.C (SetMultiColumn): collapse also the contents of the
11087         cells and set the last border right. Added a Buffer const * param.
11088
11089 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11092         linking or not.
11093
11094 2002-03-19  Juergen Vigna  <jug@sad.it>
11095
11096         * text2.C (clearSelection): reset also xsel_cache.
11097
11098         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11099         where it needs to be called (John tells us to do so too :)
11100         (selectionLost): reset sel_cache.
11101
11102         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11103
11104 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * text2.C (setCursorIntern): put debuging code in INSETS channel
11107
11108 2002-03-19  André Pönitz <poenitz@gmx.net>
11109
11110         * lyxfunc.C: tiny whitespace change
11111
11112 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * ToolbarDefaults.C (init):
11115         * LyXAction.C (init):
11116         * commandtags.h:
11117         * BufferView_pimpl.C (Dispatch):
11118         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11119
11120 2002-03-19  Allan Rae  <rae@lyx.org>
11121
11122         * exporter.C (Export): removeAutoInsets before doing anything else.
11123         While I've just introduced a dependency on BufferView this really is
11124         the best place to clean the buffer otherwise you need to cleanup in
11125         a dozen places before calling export or cleanup in a dozen functions
11126         that export calls.
11127
11128         * converter.C (runLaTeX):
11129         (scanLog): Better handling of removeAutoInsets and screen updates.
11130
11131         * lyxfunc.C (dispatch): small whitespace changes
11132
11133 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * WorkArea.C (C_WorkAreaEvent): return a value.
11136         (event_cb): return 1 if we handled the event, 0 otherwise.
11137
11138         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11139
11140 2002-03-18  Juergen Vigna  <jug@sad.it>
11141
11142         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11143         (GetAdditionalWidth): ditto.
11144         (RightLine): ditto.
11145         (LeftLine): ditto.
11146
11147         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11148         inset if we're there actually (probably not used right now but this
11149         is the direction to go for unifying code).
11150         (paste): disable code to clear the selection.
11151
11152         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11153         inside an InsetText and move the check further up as it is in the
11154         wrong place.
11155
11156         * text2.C (pasteSelection): set a selection over the pasted text.
11157
11158 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11159
11160         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11161         and libgraphics to build on Cygwin.
11162
11163 2002-03-15  Juergen Vigna  <jug@sad.it>
11164
11165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11166         inserting an Inset into the paragraph. I know this is not the best
11167         fix but we already use current_view in CutAndPaste so we will remove
11168         all of it's using at the same time.
11169
11170         * buffer.C (sgmlError): deactivated function till it is rewritten in
11171         the right mode, now it can create problems.
11172
11173         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11174         before accessing it.
11175
11176 2002-03-14  Juergen Vigna  <jug@sad.it>
11177
11178         * undo_funcs.C (textHandleUndo): do the right thing when updating
11179         the inset after the undo/redo.
11180
11181         * text2.C (setCursor): just some testcode for #44 not ready yet.
11182
11183         * undo_funcs.C (textHandleUndo): set the next() and previous()
11184         pointers of the paragraph to 0 before deleting otherwise we have
11185         problems with the Paragraph::[destructor].
11186
11187         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11188         on a paragraph insertion.
11189
11190 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * buffer.C (asciiParagraph): use += operator for char append to
11193         string.
11194
11195         * paragraph.C (getFontSettings): compare >= not just >
11196         (highestFontInRange): ditto
11197         (setFont): ditto
11198
11199 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * paragraph.C: change several algorithm to be more appripriate for
11202         the problem domain. This is lookip in FontList and in the InsetList.
11203
11204 2002-03-13  André Pönitz <poenitz@gmx.net>
11205
11206         * commandtags.h:
11207         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11208
11209 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * commandtags.h:
11212         * LyXAction.C:
11213         * lyxfunc.C:
11214         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11215
11216 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * Painter.C (display): anon helper function, adjust code for this
11219         change.
11220         (pixmap): remove function.
11221
11222         * Painter.h: remove private display variable.
11223
11224         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11225
11226 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11227
11228         * WorkArea.[Ch]: remove figinset_canvas cruft.
11229
11230 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11231
11232         * lyxtextclass.C (operator): add one item cache optimization.
11233
11234         * bufferlist.h: doxy changes
11235
11236         * bufferlist.C: ws changes
11237
11238         * DepTable.[Ch] (ext_exist): place const in the right spot.
11239
11240         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11241         call resizeInsets.
11242         (workAreaExpose): call resizeInsets when the with BufferView changes.
11243         (Dispatch): adjust for protectedBlank removal
11244         (specialChar): call updateInset if the insert went ok.
11245
11246         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11247         specialChar instead.
11248
11249         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11250
11251         * BufferView.h: doxy change
11252
11253         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11254
11255         * lyxtextclass.C (operator[]): remove non-const version
11256         (defaultLayout): remove non-const version
11257
11258 2002-03-12  Juergen Vigna  <jug@sad.it>
11259
11260         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11261         did resize the LyXText too.
11262
11263         * buffer.C (readLyXformat2): set layout information on newly allocated
11264         paragraphs.
11265
11266         * tabular.C (OldFormatRead): set layout information on the paragraph.
11267
11268 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11269
11270         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11271
11272 2002-03-11  Juergen Vigna  <jug@sad.it>
11273
11274         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11275         plainly wrong.
11276         (resizeCurrentBuffer): force also the insets to resize themselfes.
11277         (moveCursorUpdate): fixed up for InsetText.
11278
11279 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11280
11281         * commandtags.h:
11282         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11283         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11284         value of Dialogs::tooltipsEnabled().
11285         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11286
11287 2002-03-08  Juergen Vigna  <jug@sad.it>
11288
11289         * BufferView_pimpl.C (updateInset): update inset inside inset also
11290         if it isn't inside theLockingInset().
11291
11292 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * buffer.C (asciiParagraph): redo some of the word and line length
11295         handling.
11296         (getLists): look for Caption instead of caption.
11297
11298 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * buffer.C (Buffer): initialize niceFile to true
11301         (makeLaTeXFile):
11302         (makeLinuxDocFile):
11303         (makeDocBookFile): make sure niceFile is true on exit
11304
11305 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11308
11309 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11310
11311         * LyXSendto.C: remove.
11312         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11313         * lyx_gui.C: remove now-redundant comment.
11314         * ColorHandler.h: remove forward declaration of class WorkArea.
11315         * lyxfunc.C: remove #include "WorkArea.h".
11316
11317 2002-03-07  Juergen Vigna  <jug@sad.it>
11318
11319         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11320         got moved away with the DEPM and also set the inset_owner always
11321         right which before could have been omitted.
11322
11323 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11324
11325         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11326         wanted layout is not found.
11327
11328 2002-03-07  Juergen Vigna  <jug@sad.it>
11329
11330         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11331
11332 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * paragraph.C (breakParagraph): use default layout not layout of
11335         prev paragraph.
11336         (Paragraph): clear ParagraphParameters.
11337
11338 2002-03-06  Juergen Vigna  <jug@sad.it>
11339
11340         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11341         otherwise it would not be a valid lenght. Fixed a special case in
11342         the minipage compatibility read where we end the document with a
11343         minipage.
11344
11345         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11346         was set as it could be 0 for InsetTexts first entry.
11347
11348 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * paragraph.C (writeFile): if layout is empty write out
11351         defaultLayoutName().
11352
11353         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11354         file without named layout we set layout to defaultLayoutName().
11355
11356 2002-03-06  Juergen Vigna  <jug@sad.it>
11357
11358         * CutAndPaste.C (copySelection): set layout for new paragraph.
11359
11360         * text.C (prepareToPrint): leave ERT inset left aligned
11361         (leftMargin): don't indent paragraphs inside ERT insets
11362
11363 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * paragraph.C (breakParagraph): dont call clear do the work manually
11366
11367         * paragraph.[Ch] (clear): remove function
11368
11369 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * paragraph.C (Paragraph): dont call clear, the work has already
11372         been done.
11373
11374         * lyxtextclass.C (operator): assert if n is empty
11375
11376         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11377         work manually instead.
11378
11379 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * BufferView_pimpl.C: protect selectionLost against text == 0
11382
11383 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * text.C (breakParagraph): fix a setting layout to '0' problem.
11386
11387 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11388
11389         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11390         final location of file, for the included files, and graphics.
11391
11392 2002-03-05  Juergen Vigna  <jug@sad.it>
11393
11394         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11395
11396 2002-03-04  Juergen Vigna  <jug@sad.it>
11397
11398         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11399
11400         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11401         last column of multicolumn cells.
11402         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11403
11404 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11405
11406         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11407         file if it doesn't go to a temporary file.
11408
11409         * buffer.C (sgmlOpenTag):
11410         (sgmlCloseTag):  remove extra newline insertion.
11411
11412 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * text.C (getRowNearY): comment out debug msg
11415
11416 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * text2.C: first -> first_y
11419
11420         * text.C (getRowNearY): add some attemts at a possible
11421         optimization, not working.
11422
11423         * tabular.[Ch]: add BufferParams to several function so that newly
11424         created paragraph can be initialized to he default layotu for the
11425         buffers textclass.
11426
11427         * tabular-old.C (ReadOld): add buf->params to call of Init
11428
11429         * screen.C: rename text->first to text->first_y
11430
11431         * paragraph.C (breakParagraph): always set layout in the broken
11432         paragraph
11433
11434         * lyxtextclass.C (Read): remove lowercase
11435         (hasLayout): ditto
11436         (operator): ditto
11437         (delete_layout): ditto
11438
11439         * lyxtext.h: rename first -> first_y
11440
11441         * lyxlayout.C (Read): remove lowercase
11442         (name): ditto
11443         (setName): ditto
11444         (obsoleted_by): ditto
11445
11446         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11447
11448         * buffer.C (insertErtContents): add params are to InsetERT
11449         (parseSingleLyXformat2Token): add code to check if a paragraphs
11450         layout really exist.
11451         (parseSingleLyXformat2Token): add params to several inset
11452         constructors
11453         (asciiParagraph): remove lowercase, do the layout comparisons with
11454         no_case
11455
11456         * BufferView_pimpl.C (cursorNext): first -> first_y
11457         (resizeCurrentBuffer): first -> first_y
11458         (updateScrollbar): first -> first_y
11459         (scrollCB): first -> first_y
11460         (workAreaMotionNotify): first -> first_y
11461         (workAreaButtonPress): first -> first_y
11462         (checkInsetHit): first -> first_y
11463         (cursorPrevious): first -> first_y
11464         (cursorNext): first -> first_y
11465         (Dispatch): add buffer_->params to severl inset contructors
11466
11467 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * lyxlayout.C (Read): remove some debug info that I forgot.
11470
11471         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11472         clean up the code slightly.
11473         (makeLinuxDocFile): ditto
11474         (makeDocBookFile): ditto
11475
11476         * text2.C: layout as string
11477
11478         * text.C: layout as string
11479
11480         * paragraph_pimpl.C: layout as string
11481
11482         * paragraph.[Ch]: layout as string
11483
11484         * lyxtextclasslist.[Ch]: layout as string
11485
11486         * lyxtextclass.[Ch]: layout as string
11487
11488         * lyxtext.h: layout as string
11489
11490         * lyxlayout.[Ch]: layout as string
11491
11492         * lyx_cb.C: layout as string
11493
11494         * bufferview_funcs.C: layout as string
11495
11496         * bufferparams.C: layout as string
11497
11498         * buffer.C: layout as string
11499
11500         * LyXView.[Ch]: layout as string
11501
11502         * LaTeXFeatures.[Ch]: layout as string
11503
11504         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11505
11506         * BufferView_pimpl.C: change current_layout to string, remove
11507         lyx::layout_type.
11508         (Dispatch):
11509         (smartQuote):
11510         (insertInset):
11511         (workAreaButtonRelease): layout as string
11512
11513         * BufferView2.C (unlockInset): adjust
11514
11515         * vspace.C (asLatexCommand): use an explict temp variable.
11516
11517 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * Makefile.am: use FRONTEND_*
11520
11521 2002-03-01  Juergen Vigna  <jug@sad.it>
11522
11523         * tabular.C (SetWidthOfMulticolCell): changed to something better
11524         I hope but still work in progress.
11525         (recalculateMulticolumnsOfColumn): renamed function from
11526         recalculateMulticolCells as it is more appropriate now.
11527         (SetWidthOfCell): calculate multicols better.
11528
11529 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11532
11533         * lyxfunc.C (processKeySym): print sequence also if it is
11534         `deleted' (complete)
11535
11536         * kbsequence.C (print): print sequence even if it is deleted
11537         (complete would be a better word, actually).
11538
11539         * lyxfunc.C (dispatch): print complete options after a prefix key
11540
11541         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11542
11543 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11544
11545         * text2.C (setCharFont): eliminate setCharFont code duplication.
11546
11547 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11548
11549         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11550         LFUN_TABULAR_FEATURE (bug #177)
11551
11552 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11553
11554         * Makefile.am: remove figure.h
11555
11556 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11557
11558         * Bufferview_pimpl.C:
11559         * CutAndPasteC:
11560         * LaTeX.C:
11561         * LyXSendto.C:
11562         * buffer.C:
11563         * bufferlist.C:
11564         * converter.C:
11565         * language.C:
11566         * lyxfunc.C:
11567         * lyxvc.C:
11568         * paragraph.C:
11569         * text.C:
11570         * text2.C: remove #include "lyx_gui_misc.h".
11571
11572         * LaTeX.C: added #include <cstdio>
11573
11574 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11577         that the paragraph following this one can have.
11578
11579         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11580
11581         * vspace.C (asLatexCommand): fix bogus gcc warning
11582
11583         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11584
11585 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11586
11587         * text2.C (setLayout): get rid of redundant code
11588
11589 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11590
11591         * text2.C (incDepth): make sure depth cannot be increased beyond
11592         reasonable values.
11593
11594 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11597         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11598
11599         * PainterBase.h (image):
11600         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11601         a LyXImage const *.
11602
11603 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * BufferView.C:
11606         * BufferView.h:
11607         * BufferView_pimpl.C:
11608         * BufferView_pimpl.h:
11609         * LaTeXFeatures.C:
11610         * LyXAction.C:
11611         * LyXView.C:
11612         * Makefile.am:
11613         * UpdateList.h:
11614         * UpdateList.C:
11615         * buffer.C:
11616         * figure.h:
11617         * figureForm.C:
11618         * figureForm.h:
11619         * figure_form.C:
11620         * figure_form.h:
11621         * lyx_cb.C:
11622         * lyx_gui.C:
11623         * lyx_gui_misc.C:
11624         * lyxfunc.C:
11625         * sp_base.h:
11626         * sp_ispell.h:
11627         * sp_pspell.h:
11628         * sp_spell.C: remove fig inset, and the crap house of
11629           cards that follows it
11630
11631 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * Makefile.am:
11634         * lyxserver.C:
11635         * os2_defines.h:
11636         * os2_errortable.h:
11637         * nt_defines.h: move .h into support/
11638
11639         * vms_defines.h: remove
11640
11641         * WorkArea.C: add space in debug output
11642
11643         * text2.C:
11644         * paragraph.C:
11645         * buffer.C: add WITH_WARNINGS
11646
11647         * vc-backend.h:
11648         * vc-backend.C:
11649         * bufferlist.C: s/retrive/retrieve/, add docs
11650
11651         * vspace.h:
11652         * vspace.C:
11653         * kbmap.h:
11654         * lyxlength.h:
11655         * lyxgluelength.h:
11656         * length_common.h:
11657         * chset.h:
11658         * chset.C: add docs
11659
11660         * lyxgui.C: add ID to X error handler
11661
11662         * lyxtestclass.c: fix typo
11663
11664 2002-02-26  Juergen Vigna  <jug@sad.it>
11665
11666         * tabular_funcs.C (write_attribute): changed so that some default
11667         attributes are not written at all.
11668         (getTokenValue): set default values before trying to read the
11669         value so we have the return value always set as default if we don't
11670         find the token we search for.
11671
11672         * tabular.C (Write): write bools as bools not as strings!
11673
11674 2002-02-22  Juergen Vigna  <jug@sad.it>
11675
11676         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11677         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11678
11679         * text.C (leftMargin): don't add an indent for paragraphs inside
11680         tabular cells (fix #208).
11681
11682 2002-02-21  José Matos  <jamatos@fep.up.pt>
11683
11684         * tabular.C (docBook): fixed support for long tables.
11685
11686 2002-02-20  Juergen Vigna  <jug@sad.it>
11687
11688         * text2.C (getFont): get the drawing font of the Inset if this
11689         paragraph is inside an inset (only important for InsetERT for now).
11690
11691         * buffer.C (insertErtContents): use new lanugage params in ERT
11692         constructor.
11693
11694         * CutAndPaste.C: commenting out seemingly uneeded code.
11695
11696 2002-02-19  Allan Rae  <rae@lyx.org>
11697
11698         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11699         Iterators might be simple to use but they also get invalidated.
11700         (removeAutoInsets): renamed saved cursor tracking variables and added
11701         some comments to clarify what everything does.
11702
11703 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * Chktex.C:
11706         * LaTeX.C:
11707         * LyXSendto.C:
11708         * converter.C:
11709         * lyx_cb.C:
11710         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11711         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11712
11713         * lyxfunc.C:
11714         * vc-backend.h: remove #include "support/syscall.h"
11715
11716         * LaTeX.C:
11717         * LyXSendto.C:
11718         * converter.C: rearrange #includes in Lars' approved fashion.
11719
11720         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11721         forward declare class Timeout in the header file.
11722
11723         * XFormsView.C: changes due to the above.
11724
11725         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11726         similar to LyXView.
11727
11728         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11729         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11730
11731 2002-02-18  José Matos  <jamatos@fep.up.pt>
11732
11733         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11734         insets contents.
11735
11736 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11737
11738         * a lot of small ws changes
11739         * add a lot of using std::XXX
11740         * use std construcs some places where approp.
11741         * use some exisint stuff from lyxfunctional where approp.
11742         * Make file changes to use partial linking (lets test this now...)
11743
11744 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * Chktex.C:
11747         * buffer.C:
11748         remove #include "support/syscontr.h" as it's redundant. Always has been.
11749
11750         * Chktex.C:
11751         * LaTeX.C:
11752         * LyXSendto.C:
11753         * converter.C:
11754         * lyx_cb.C:
11755         * vc-backend.C:
11756         change Systemcalls::System to Systemcalls::Wait and
11757         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11758         No change of functionality, just reflects the stripped down Systemcalls
11759         class.
11760
11761 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11762
11763         * debug.[Ch]: add a GRAPHICS type to the enum.
11764
11765 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11768
11769         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11770         there is an inset.
11771
11772 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11775         match the changes below.
11776
11777         * text2.C (toggleInset): if there is not editable inset at cursor
11778         position, try to see if cursor is _inside_ a collapsable inset
11779         and close it.
11780
11781 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11782
11783         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11784         document menu has a nice checkbox
11785
11786 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * lyxlength.C (asLatexString): change PW to output as percent of
11789         \textwidth.
11790
11791         * lengthcommon.C: change '%' to 't%'
11792
11793         * lyxfunc.C (dispatch): a few comments from Martin
11794
11795 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * WorkArea.h:
11798         * WorkArea.C:
11799         * BufferView_pimpl.h:
11800         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11801           the X selection.
11802
11803 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * vspace.C (inPixels): fix compiler warning
11806
11807 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * lyxfunc.C (getStatus): fix status message for disabled commands.
11810
11811 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * BufferView_pimpl.C: fix crash on close buffer
11814         during selection (#227)
11815
11816 2002-01-27  Herbert Voss  <voss@lyx.org>
11817
11818         * buffer.C: link old Figure to new graphic inset
11819
11820 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11821
11822         * FontLoader.C (getFontinfo): Change the latex font names in order
11823         to match the names of type1inst.
11824
11825 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11828
11829         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11830         (extchanged): ditto
11831         (ext_exist): ditto
11832         (remove_files_with_extension): ditto
11833         (remove_file): ditto
11834         (write): ditto
11835
11836         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11837         document is smaller than the work area height. Do not initialize
11838         static variables to 0.
11839
11840 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11843
11844         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11845         LFUN_LAYOUT_PARAGRAPHS.
11846
11847         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11848         tabular. It is possible to provide a possible cell, which will
11849         typically be the actcell from the corresponding insettabular
11850
11851         * lyxfunc.C (getStatus): small cleanup; disable
11852         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11853         true
11854
11855 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11856
11857         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11858
11859         * paragraph.C (startTeXParParams):
11860         (endTeXParParams): new methods. The LaTeX code to
11861         start/end paragraph formatting
11862         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11863         empty (fixes bug #200)
11864
11865         * vspace.C (inPixels): adapt to the change below
11866         (inPixels): [later] more cleanups (remove unused variables)
11867
11868         * lyxlength.C (inPixels): change to use a width and a height as
11869         parameter.
11870
11871 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11872
11873         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11874         Replaced with \paperwidth
11875
11876         * DepTable.C (insert): add std:: qualifier
11877
11878 2002-01-18  Allan Rae  <rae@lyx.org>
11879
11880         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11881         updated also?
11882
11883         * text.C (drawInset): Turned out I didn't know enough about how
11884         rebreaking worked.  This fixes most of the redraw problems.  I see
11885         an occasional cursor trail when a line is broken now and the cursor
11886         placement can seem out by a few pixels also after a rebreak.
11887
11888 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11889
11890         * buffer.C (parseSingleLyXformat2Token): update because minipage
11891         width is now a LyXLength
11892
11893         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11894
11895         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11896         math insets
11897
11898 2002-01-17  Juergen Vigna  <jug@sad.it>
11899
11900         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11901
11902         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11903         is set correctly and the inset is updated correctly.
11904
11905 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11908         the beginning of the loop.
11909
11910 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * lyxrc.C: improve help for use_scalable_fonts
11913
11914 2002-01-17  Allan Rae  <rae@lyx.org>
11915
11916         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11917
11918 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11921         make sure to set their inset_owner to the right value (bug #171)
11922
11923 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11924
11925         * DepTable.h
11926         * DepTable.C: Implement mtime checking to reduce time spent doing
11927         CRCs.
11928
11929 2002-01-16  Juergen Vigna  <jug@sad.it>
11930
11931         * tabular.C (GetAdditionalHeight): one of error fixed.
11932
11933         * lyxrc.C (output): small fix in writing use_pspell.
11934
11935 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11936
11937         * sp_base.h: #include LString.h
11938
11939 2002-01-16  Allan Rae  <rae@lyx.org>
11940
11941         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11942         Can someone check this please?
11943
11944         * text.C (drawInset): It was possible that p.row would be removed by
11945         breakAgainOneRow upsetting a few other settings.  There may be another
11946         small tweak possible by setting need_break_row = 0 when p.row has been
11947         removed but I don't know enough about the logic here.
11948
11949 2002-01-15  Allan Rae  <rae@lyx.org>
11950
11951         * text.C (insertChar): removed conditional truism.
11952
11953         * BufferView2.C (removeAutoInsets): More tweaks.
11954         cur_par_prev could be a stray pointer.  Check for trailing empty line
11955         in case last line was cur_par and only had an error inset on it.
11956
11957 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11958
11959         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11960         absolute
11961
11962         * vc-backend.C (most methods):
11963         * exporter.C (Export):
11964         * converter.C (convert):
11965         (runLaTeX):
11966         * LyXSendto.C (SendtoApplyCB):
11967         * lyxfunc.C (dispatch):
11968         (menuNew):
11969         (open):
11970         (doImport):
11971         * lyx_cb.C (AutoSave):
11972         (InsertAsciiFile):
11973         * BufferView_pimpl.C (MenuInsertLyXFile):
11974         * buffer.C (runChktex): use Buffer::filePath().
11975
11976         * buffer.h: rename filename to filename_; rename filepath to
11977         filepath_ and make it private
11978         (filePath): new method
11979
11980         * buffer.C (writeFile): use fileName()
11981         (getLatexName):
11982
11983         * lyx_main.C (init): fix starting  of LyX when the binary is a
11984         link from so,ewhere else.
11985
11986         * minibuffer.C: include <cctype> for isprint
11987
11988 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11989
11990         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11991         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11992         name clash with InsetCollapsable's width function.
11993
11994 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11995
11996         * lastfiles.C: include <iterator>
11997
11998 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12001         std::count.
12002
12003         * buffer.C (makeLaTeXFile): ditto.
12004         Also make loop operation more transparent.
12005
12006 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12007
12008         * ToolbarDefaults.C: remove trailing comma closing namespace.
12009
12010         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12011
12012         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12013         as in WorkArea.
12014
12015         * trans.C (Load): comment out unused variable, allowed.
12016
12017 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * minibuffer.[Ch] (append_char): new method to recieve input from the
12020         drop-down completion browser. If a key was pressed, then recieve this
12021         char and append it to the existing string.
12022         (peek_event): modify the positioning data passed to the completion
12023         browser so that it can be placed above the minibuffer rather than below.
12024 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * LyXAction.C (init): alloe error-next for readonly documents.
12027
12028         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12029         count.
12030
12031 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * bufferlist.C (readFile): create the buffer _after_ checking that
12034         the file exists.
12035
12036         * lyxfunc.C (verboseDispatch): fix handling of arguments
12037
12038         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12039
12040         * lyxrc.C: use string::erase() instead of initializing to "".
12041
12042
12043 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView_pimpl.h:
12046         * BufferView_pimpl.C:
12047         * WorkArea.h:
12048         * WorkArea.C:
12049         * text2.C: tell X when we have made a selection for copying
12050
12051 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * BufferView_pimpl.C (MenuInsertLyXFile):
12054         * lyxfunc.C (menuNew):
12055         (open):
12056         (doImport): add shortcuts to directory buttons
12057
12058         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12059         open a float)
12060
12061         * lyxfunc.C (setStatusMessage):
12062         (getStatusMessage): new methods
12063         (getStatus):use setStatusMessage instead of setErrorMessage
12064         (dispatch): when function is disabled, set error message here
12065         [instead of in getStatus previously]
12066
12067         * BufferView_pimpl.C (workAreaButtonRelease): update
12068         toolbar/menubar here too.
12069
12070 2002-01-13  Allan Rae  <rae@lyx.org>
12071
12072         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12073         Now seems indestructible.  Remaining task is to audit all other
12074         code affected by deleteEmptyParagraphMechanism.  One small quirk
12075         left is that an empty document with an error in the preamble can
12076         be made to report an error but no error box appears.  I don't know
12077         where it goes.
12078         (removeAutoInsets): Improved comments.
12079
12080 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * Thesaurus.h:
12083         * Thesaurus.C: update for Aiksaurus 0.14
12084
12085 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * text2.C (firstParagraph): removed member function, all uses
12088         replaces with ownerParagraph
12089         (redoParagraphs): here
12090         (updateInset): here
12091         (toggleAppendix): here
12092         * BufferView2.C (insertErrors): here
12093         (setCursorFromRow): here
12094
12095 2002-01-13  Allan Rae  <rae@lyx.org>
12096
12097         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12098         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12099         There is still a way to segfault this although you may have to do this
12100         multiple times: Have an InsetERT with an unknown command in it.
12101         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12102         <down-arrow>, <Enter> again, View->DVI, BANG!
12103
12104         * text2.C (setCursor):
12105         (deleteEmptyParagraphMechanism):
12106         * lyxtext.h (setCursor):
12107         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12108         Making use of the return value may help fix other bugs.
12109
12110 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12111
12112         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12113
12114         * LyXView.C (updateMenubar): call MenuBar::update here
12115         (updateToolbar): but not here
12116         (showState): do not update toolbar/menubar
12117
12118         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12119         should need to care about that.
12120
12121         * lyxfunc.C (verboseDispatch): simplify a bit
12122         (getStatus): have a version which takes a pseudoaction, and
12123         another which requires a (kb_action,string).
12124
12125         * LyXAction.C (retrieveActionArg): make it work also when action
12126         is not a pseudo-action.
12127         (getActionName): simplify a bit
12128         (helpText):
12129
12130 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * lyxfunc.C (verboseDispatch): new families of methods with
12133         several ways to specify a command and a bool to indicate whether
12134         the command name and shortcut should be displayed in minibuffer
12135         (eventually, we could extend that to a finer bitmask like
12136         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12137         (dispatch): the pristine dispatch command which just, well,
12138         dispatchs! Note it still sets its result to minibuffer; I'm not
12139         sure we want that.
12140
12141         * lyxfunc.h: remove setHintMessage
12142
12143         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12144
12145 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * BufferView_pimpl.C (specialChar): delete new inset if we have
12148         not been able to insert it.
12149
12150         * kbmap.C: revert to using int instead of kb_action, since all we
12151         are dealing with is pseudo-actions.
12152
12153         * LyXAction.C (searchActionArg): change to return int instead of
12154         kb_action, since the result is a pseudoaction.
12155
12156 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12157
12158         * buffer.C (insertErtContents): Fix (partially) the font bug.
12159
12160 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12161
12162         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12163         as the other one is broken on my machine!
12164
12165 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12166
12167         * commandtags.h:
12168         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12169
12170 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12173         reflect their actual use. Provide compatibility code for older lyxrc
12174         files.
12175
12176         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12177         FL_NORMAL_STYLE.
12178         change names of popup font variables in line with the changes to lyxrc.C
12179
12180 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * buffer.C (asciiParagraph): avoid outputing a word twice after
12183         an inset.
12184
12185         * lyxrc.C (getDescription): document that document_path and
12186         template_path can be empty.
12187
12188 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * LaTeXFeatures.C (getMacros):
12191         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12192
12193         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12194
12195         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12196         getPackages.
12197         (getPackages): rename feature "floats" to "float". Use an array to
12198         iterate over 'simple' features (i.e. just a \usepackage). Add
12199         handling of "amsmath" (renamed from "amsstyle").
12200
12201 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12202
12203         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12204         features list.
12205
12206 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12207
12208         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12209         FuncStaus::FuncStatus & FuncStaus::some_method().
12210
12211 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12212
12213         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12214         of the func_satus stuff. Edited and massaged in various ways by
12215         JMarc.
12216
12217         * lyxfunc.C (getStatus): use FuncStatus
12218
12219 2002-01-08  Juergen Vigna  <jug@sad.it>
12220
12221         * text.C (nextBreakPoint): use function Inset::isChar().
12222
12223         * paragraph.C (TeXOnePar): use function
12224         Inset::forceDefaultParagraphs.
12225
12226         * buffer.C (latexParagraphs): use function
12227         Inset::forceDefaultParagraphs.
12228
12229 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12230
12231         * lyx_gui.C (init): set the style of the menu popups to
12232         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12233
12234 2002-01-07  Juergen Vigna  <jug@sad.it>
12235
12236         * text.C (setHeightOfRow): small fix
12237         (prepareToPrint): don't look at alignment if we don't have the place
12238         for doing it.
12239
12240 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12241
12242         * box.C: New file. Move the Box methods and functions out of box.h,
12243         following Lars' suggestion.
12244
12245 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12246
12247         * box.h: #include "support/LOstream.h", needed for inlined function.
12248
12249         * lyxtextclass.C:
12250         * lyxtextclasslist.C: added some using std declarations.
12251
12252 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * box.h: make signed dimensions to allow insets wider than
12255           the screen (bug #162)
12256
12257         * BufferView_pimpl.C: add some insetHit debug
12258
12259 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * vc-backend.C: add FIXME
12262
12263 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * lyxfunc.C (getStatus): enable code for showing math font status
12266         in toolbar/menu.
12267
12268 2002-01-07  Juergen Vigna  <jug@sad.it>
12269
12270         * text.C (nextBreakPoint): removed debug output not needed anymore.
12271
12272 2002-01-06  Juergen Vigna  <jug@sad.it>
12273
12274         * text.C (nextBreakPoint): fixed up this function we had this bug
12275         since ever but now hopefully we break row better.
12276         (insertChar): we have to check if an inset is the next char as it
12277         could now happen that a large inset is causing a break.
12278
12279 2002-01-05  Juergen Vigna  <jug@sad.it>
12280
12281         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12282         if it doesn't like to be drawed.
12283
12284 2002-01-04  Juergen Vigna  <jug@sad.it>
12285
12286         * BufferView2.C (lockInset): forgot to set a cursor.
12287
12288         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12289
12290 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12291
12292         * FormMathsPanel.C:
12293         * FormMathsPanel.h
12294         * MathsSymbols.C:
12295         * form_maths_panel.C:
12296         * form_maths_panel.h:
12297         * form_maths_panel.fd: implemented sub- and super- buttons in math
12298         panel.
12299
12300         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12301         (or ^ space) to be used as in TeX (req'd by André).
12302
12303         * lyxfunc.C: Allow ^ and _ again to be used both as
12304         super/subscript (mathed) and as themselves (in text).
12305
12306 2002-01-03  Allan Rae  <rae@lyx.org>
12307
12308         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12309         "LyX" or the filename of the current buffer if it has one.  This is a
12310         modified form of John Levon's patch.
12311
12312         * XFormsView.C (setWindowTitle): also set icon title.
12313
12314         * LyXView.h (setWindowTitle): signature changed.
12315         * XFormsView.h (setWindowTitle): ditto.
12316
12317 2002-01-02  Juergen Vigna  <jug@sad.it>
12318
12319         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12320
12321 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * screen.C (topCursorVisible): introduce a temp var for
12324         text->cursor.row(), handle the case where this row is null. (kindo
12325         hachish)
12326
12327         * text2.C (setCursor): add a couple of asserts.
12328
12329         * paragraph.h (inset_iterator): add -> operator
12330
12331         * paragraph.[Ch] (autoDeleteInsets): remove member function
12332
12333         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12334         cursor pos correctly and handle inset deletion by itself.
12335         (insertErrors): move iterator declaration out of for expression
12336
12337         * lyxtextclass.C: add <algorithm>
12338
12339         * Makefile.am: added the new files to sources, removed layout.C
12340
12341         * layout.C: removed file
12342
12343         * layout.h: remove LYX_DUMMY_LAYOUT
12344
12345         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12346         layout.
12347
12348         * lyxlayout.[Ch]:
12349         * lyxtextclass.[Ch]:
12350         * lyxtextclasslist.[Ch]: new files
12351
12352         * include order changes to a lot of files, also changes because of
12353         the six new files.
12354
12355 2001-12-27  Juergen Vigna  <jug@sad.it>
12356
12357         * buffer.C (asciiParagraph): more fixes.
12358
12359         * tabular.C (ascii): make ascii export support export of only the
12360         data separated by a column-delimiter.
12361         (ascii): better support for ascii export.
12362
12363         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12364
12365 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12366
12367         * tabular_funcs.C: use a "using std::getline" instead of the
12368         previous fix from Angus (necessary for cxx + lyxstring)
12369
12370 2001-12-24  Juergen Vigna  <jug@sad.it>
12371
12372         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12373
12374         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12375         problems. First check a minipage also if we have some ert-contents
12376         (not only on par->size(), second set the right depth of the paragraph
12377         on the relink to the root-paragraph-list!
12378
12379         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12380         which then did not anymore update the main paragraphs on undo/redo!
12381
12382 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12385         code. Support all font-changing funcs (even those which are not in
12386         menu currently). Support for reporting font settings in
12387         mathed (disabled until Andre provides a function on mathed's side).
12388
12389         * func_status.h (toggle): small helper function to set toggle
12390         state on a flag.
12391
12392 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12393
12394         * tabular_funcs.C: getline -> std::getline
12395
12396 2001-12-21  Juergen Vigna  <jug@sad.it>
12397
12398         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12399         accessed and could be 0 (I couldn't generate this but it seems
12400         Michael could!).
12401
12402 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12405         * tabular_funcs.h: here and include iosfwd
12406
12407 2001-12-20  Juergen Vigna  <jug@sad.it>
12408
12409         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12410         inside inset but undo_par was.
12411
12412 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12413
12414         * Thesaurus.C: always include <config.h> in sources.
12415
12416         * Painter.h:
12417         * lyxlookup.h:
12418         * box.h: do not include <config.h> in header files
12419
12420         * text.C (paintLastRow): remove unused variable
12421
12422         * text.C (transformChar):
12423         (insertChar):
12424         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12425
12426         * Painter.C (text):
12427         * font.C (width): rewrite to use uppercase() instead of
12428         islower/toupper.
12429
12430         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12431
12432 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * lyxfind.C: clean up of find failure position change
12435
12436 2001-12-20  Juergen Vigna  <jug@sad.it>
12437
12438         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12439
12440         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12441         (TeXRow): added to LaTeX a single tabular row.
12442         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12443         (Latex): simplified and finally good LT-h/f support.
12444         (various_functions): just small adaptions for LT-h/f support.
12445
12446         * tabular_funcs.[hC]: added and moved here all not classfunctions
12447         of LyXTabular.
12448
12449 2001-12-19  Juergen Vigna  <jug@sad.it>
12450
12451         * tabular.[Ch]: better support for longtabular options (not finished
12452         yet!)
12453
12454 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12455
12456         * text.C (paintLastRow): use the label font instead of the font of
12457         the last character to compute the size of *_BOX. This makes more
12458         sense and avoids a crash with empty paragraphs.
12459         Use Painter::rectangle to draw EMPTY_BOX.
12460
12461 2001-12-19  Juergen Vigna  <jug@sad.it>
12462
12463         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12464         the paragraphs if the replaced paragraph is not the first one!
12465         Tried to delete not used paragraphs but does not work yet so for
12466         now it's inside #ifdef's and by default off!
12467
12468 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12469
12470         * MenuBackend.C: include "lyx_main.h" instead of declaring
12471         lastfiles (actually was declared as LastFiles* instead of a
12472         scoped_ptr).
12473
12474 2001-12-17  Juergen Vigna  <jug@sad.it>
12475
12476         * tabular.C (AppendColumn): applied John's fix
12477
12478 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * BufferView.h:
12481         * BufferView.C:
12482         * BufferView_pimpl.h:
12483         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12484
12485         * Makefile.am:
12486         * box.h: new start of class for above
12487
12488         * lyxfunc.C: ignore space-only minibuffer dispatches.
12489           Show the command name when it doesn't exist
12490
12491         * minibuffer.C: don't add empty lines to the history
12492
12493         * minibuffer.C: add a space on dropdown completion
12494
12495 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * text.C: fix line above/below drawing in insets
12498
12499 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * lyxlength.C (LyXLength): Initialize private variables.
12502
12503 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12504
12505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12506         when inserting error insets.
12507
12508 2001-12-13  Juergen Vigna  <jug@sad.it>
12509
12510         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12511         actually sometimes the before-paragraph.
12512         (setUndo): don't clear the redostack if we're not actually undoing!
12513
12514 2001-12-06  Juergen Vigna  <jug@sad.it>
12515
12516         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12517         and fixed redoing of main paragraph, so we can use it now ;)
12518
12519         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12520
12521 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12524         Juergen's request
12525
12526 2001-12-13  André Pönitz <poenitz@gmx.net>
12527
12528         * undostack.[Ch]:
12529         * undo_func.C: minor cleanup
12530
12531 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12532
12533         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12534         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12535         font in urw-fonts package which is marked as -urw-fontspecific and
12536         does not work (incidentally, changing the encoding in the
12537         fonts.dir of this package to -adobe-fontspecific fixes the
12538         problem).
12539
12540         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12541         is a crash when undoing first paragraph (Juergen, please take a
12542         look). THis does not mean the undo fix is wrong, just that it
12543         uncovers problems.
12544
12545         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12546         the (Paragraph*) version when needed instead of duplicating the
12547         code.
12548
12549         * text.C (workWidth): use Inset::parOwner to find out where the
12550         inset has been inserted. This is a huge performance gain for large
12551         documents with lots of insets. If Inset::parOwner is not set, fall
12552         back on the brute force method
12553
12554         * paragraph_pimpl.C (insertInset):
12555         * paragraph.C (Paragraph):
12556         (cutIntoMinibuffer): set parOwner of insets when
12557         inserting/removing them
12558
12559         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12560
12561 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12562
12563         * commandtags.h:
12564         * LyXAction.C:
12565         * lyx_main.C:
12566         * lyxfunc.C:
12567         * mathed/formulabase.C:
12568         * mathed/math_cursor.[Ch]:
12569         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12570
12571
12572 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * lyxlength.[Ch] (operator!=): new function
12575
12576 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12577
12578         * text.C (workWidth): use Inset::parOwner to find out where the
12579         inset has been inserted. This is a huge performance gain for large
12580         documents with lots of insets. If Inset::parOwner is not set, fall
12581         back on the brute force method
12582
12583         * paragraph_pimpl.C (insertInset):
12584         * paragraph.C (Paragraph):
12585         (cutIntoMinibuffer): set parOwner of insets when
12586         inserting/removing them
12587
12588         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12589
12590 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * tabular-old.C (getTokenValue):
12593         * tabular.C (getTokenValue):
12594         (write_attribute): new versions for LyXLength
12595         (everywhere): adjust the use of widths
12596
12597         * tabular.h: change the type of widths from string to LyXLength
12598
12599 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12600
12601         * paragraph.C: fixed missing line number count when exporting
12602         Environments to LaTeX file
12603
12604         * buffer.C: added informational message for checking line numbers.
12605
12606 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12607
12608         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12609         paragraph, do the 'double space' part, but not the 'empty
12610         paragraph' one.
12611
12612         * text.C (workWidth): small optimization
12613         (getLengthMarkerHeight): use minimal size for negative lengths.
12614
12615 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12616
12617         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12618
12619         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12620
12621 2001-12-11  André Pönitz <poenitz@gmx.net>
12622
12623         * FontLoader.C:
12624         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12625
12626 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12627
12628         * text2.C: keep selection on a setFont()
12629
12630 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * lyx_cb.C: another bv->text misuse, from insert label
12633
12634 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * kbsequence.h:
12637         * kbsequence.C: re-instate nmodifier mask
12638
12639 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * lyx_main.h: make lyxGUI private.
12642
12643 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * lyxfind.C: place the cursor correctly on failed search
12646
12647 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12648
12649         * text.C (getLengthMarkerHeight): for small heights, the arrows
12650         are not always on top/bottom of the text
12651         (drawLengthMarker): smaller arrows; take the left margin in
12652         account; draw also vfills.
12653         (paintFirstRow):
12654         (paintLastRow): remove special code for vfill and standard spaces,
12655         since everything is handled in drawLengthMarker now.
12656
12657 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * buffer.C (insertErtContents): try to handle font and language
12660         interaction a bit better.g
12661
12662         * ColorHandler.C (updateColor): change the hash to cover the whole
12663         LColor enum, ws cleanup
12664         (getGCLinepars): ditto
12665         (getGCLinepars): only lookup in the linecache once.
12666
12667 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12668
12669         * iterators.C (operator++): Make the iterator more robust
12670
12671         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12672         (John's patch)
12673         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12674
12675 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * lyxtext.h:
12678         * text.C: better added space drawing
12679
12680 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * LyXView.C:
12683         * BufferView2.C: fix layout combo update on inset unlock
12684
12685 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * Makefile.am: don't compile unused files
12688
12689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * lyxfunc.C:
12692         * commandtags.h:
12693         * LyXAction.C: remove old LFUN_LAYOUTNO
12694
12695 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * paragraph_pimpl.h:
12698         * paragraph_pimpl.C: isTextAt() doesn't need font param
12699
12700 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyxlex.h:
12703         * lyxlex.C: little cleanup
12704
12705 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * BufferView_pimpl.C: fix insertAscii for insets
12708
12709 2001-12-05  Juergen Vigna  <jug@sad.it>
12710
12711         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12712         set the right font on the "multi" paragraph paste!
12713
12714 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * trans_decl.h:
12717         * trans_mgr.[Ch]:
12718         * trans.[Ch]:
12719         * lyxgluelength.C:
12720         * lyxlength.C: remove out-commented code.
12721
12722         * BufferView_pimpl:
12723         * CutAndPaste.C:
12724         * DepTable.C:
12725         * buffer.C:
12726         * chset.C:
12727         * lastfiles.C:
12728         * lyxlex.C:
12729         * lyxlex_pimpl.C:
12730         * lyxserver.C:
12731         * screen.C:
12732         * tabular-old.C:
12733         * tabular.C:
12734         * text.C:
12735         * trans_mgr.C:
12736         * vc-backend.C: change "while(" to "while ("
12737
12738         * lyxlength.[Ch]: add zero function to check if length is zero or
12739         not
12740         * lyxgluelength.C: use it
12741
12742 2001-12-05  Allan Rae  <rae@lyx.org>
12743
12744         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12745         Works for 2.95.3, from what I understand of Garst's reports this should
12746         work for other g++ versions.  We're screwed if the abs(int) definition
12747         changed between bugfix releases of gcc.
12748
12749 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * text.C: fix chapter label offset !
12752
12753 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * lyxtext.h:
12756         * text.C: fix hfill at end of line, clean up
12757
12758 2001-12-04  Juergen Vigna  <jug@sad.it>
12759
12760         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12761         that we force an update of the inset and it's owners if neccessary.
12762
12763 2001-12-03  Juergen Vigna  <jug@sad.it>
12764
12765         * text.C (rowLast): simplified code
12766
12767 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * lyxfunc.C: fix show options on timeout
12770
12771 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * screen.C (topCursorVisible): scroll half a page when the cursor
12774         reached top of bottom of screen
12775
12776 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * minibuffer.C: deactivate on loss of focus
12779
12780 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * vspace.[Ch] (operator!=): add operator.
12783
12784 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * BufferView_pimpl.C: refuse to open an inset when
12787         there's a selection.
12788
12789 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * BufferView_pimpl.C: allow to click on RHS of full row insets
12792
12793 2001-11-30  Juergen Vigna  <jug@sad.it>
12794
12795         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12796         insets for undo reasons.
12797
12798 2001-11-28  André Pönitz <poenitz@gmx.net>
12799
12800         * vspace.[Ch]: cosmetical changes
12801
12802 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * LyXAction.h:
12805         * LyXAction.C:
12806         * lyxfunc.h:
12807         * lyxfunc.C:
12808         * kbmap.h:
12809         * kbmap.C:
12810         * lyxrc.C:
12811         * kbsequence.h:
12812         * kbsequence.C: part re-write of old kb code
12813
12814         * Painter.C:
12815         * WorkArea.C: remove Lgb_bug_find_hack
12816
12817 2001-11-30  José Matos <jamatos@fep.up.pt>
12818
12819         * buffer.C (makeDocBookFile): add a comment to point a hack.
12820         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12821         Fixed a double write of labels.
12822
12823 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12824
12825         * LaTeX.C:
12826         * LaTeX.h Fixed bug in LaTeX class where it would not
12827         re-run latex if no depfiles were changed, but the .dvi was removed.
12828
12829 2001-11-28  André Pönitz <poenitz@gmx.net>
12830
12831         * all the files from the change on 2001/11/26:
12832         use lyx::layout_type instead of LyXTextClass::size_type
12833         use lyx::textclass_type instead of LyXTextClassList::size_type
12834
12835 2001-11-29  Juergen Vigna  <jug@sad.it>
12836
12837         * text.C: added support for paragraph::isFreeSpacing()
12838
12839         * buffer.C: same as above
12840
12841         * paragraph.h: inserted isFreeSpacing() function to enable
12842         FreeSpacing inside InsetERT.
12843
12844         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12845         of the paragraph's in the cut/copy buffer to 0!
12846
12847         * text2.C (removeRow): remove the assert as it can!
12848
12849         * lyxtext.h: added helper function firstRow returning firstrow and
12850         made firstrow private again.
12851
12852         * BufferView2.C (lockInset): don't relock if we're already locked!
12853
12854         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12855         the only paragraph.
12856         (removeRow): added Assert::(firstrow)
12857
12858         * debug.C: forgot to add INSETTEXT here.
12859
12860 2001-11-28  Juergen Vigna  <jug@sad.it>
12861
12862         * sp_spell.C (initialize): changed error text to more general
12863         spellchecker command use (not only ispell!)
12864
12865         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12866
12867         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12868
12869 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * vspace.C: initialise lyxgluelength on failure
12872
12873 2001-11-28  Allan Rae  <rae@lyx.org>
12874
12875         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12876         declaration & definition that looks like a function declaration.
12877
12878 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * BufferView2.C (copy):
12881         (copyEnvironment): do not clear the selection when doing a copy.
12882
12883         * text.C (paintFirstRow): compilation fix
12884
12885 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12886
12887         * tabular.C (Latex): correct line count when writing latex.
12888
12889 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * paragraph_pimpl.h:
12892         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12893           bug a bit
12894
12895 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * text.C:
12898         * LColor.h:
12899         * LColor.C: change vfillline->added_space
12900
12901         * text.C: add markers and text for added space
12902
12903         * vspace.C: fix comment
12904
12905 2001-11-28  André Pönitz <poenitz@gmx.net>
12906
12907         * paragraph.C: whitespace changes
12908         * all the other files from the change on 2001/11/26:
12909         change *::pos_type into lyx::pos_type
12910
12911 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12912
12913         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12914         language of the document when inserting error insets.
12915
12916 2001-11-26  André Pönitz <poenitz@gmx.net>
12917
12918         * BufferView_pimpl.[Ch]:
12919         *       CutAndPaste.C:
12920         * buffer.[Ch]:
12921         * lyxcursor.[Ch]:
12922         * lyxfind.C:
12923         * lyxfunc.C:
12924         * lyxrow.[Ch]:
12925         * paragraph.[Ch]:
12926         * paragraph_pimpl.[Ch]:
12927         * sp_spell.C:
12928         * text.C:
12929         * text2.C: reduce header dependencies, introduce type for positions
12930
12931 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * <various>: change to use Alert.h
12934
12935 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12936
12937         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12938         when encountering an unknown token.
12939         (readLyXformat2): Show an error message if there were unknown tokens.
12940
12941 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * BufferView2.C:
12944         * BufferView_pimpl.C:
12945         * buffer.C:
12946         * paragraph.h:
12947         * text.C:
12948         * text2.C: use par->isInset()
12949
12950 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * paragraph_pimpl.h:
12953         * paragraph_pimpl.C: cleanup
12954
12955 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * text2.C (removeRow):
12958         * text.C (setHeightOfRow): remove useless (and costly) call to
12959         getRow.
12960
12961 2001-11-20  Allan Rae  <rae@lyx.org>
12962
12963         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12964         Now need Inset*::checkInsertChar() to return true for appropriate
12965         cases so that the characters in the minibuffer will actually be
12966         inserted.
12967
12968 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * text.C: change the order of the includes.
12971         (workWidth): initialize it at once.
12972         (workWidth): make maxw unsigned
12973         (setHeightOfRow): remove unused variable (inset)
12974         (selectSelectedWord): remove unused variable (inset)
12975         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12976
12977 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12978
12979         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12980         server is not running.
12981         (openConnection):
12982         (closeConnection): add debug info when server is disabled.
12983
12984         * ColorHandler.C (getGCForeground): send debug message to GUI
12985         channel.
12986
12987         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12988
12989         * kbmap.C (bind): modify because return conventions of
12990         kb_sequence::parse have changed.
12991
12992         * kbsequence.C (parse): only ignore spaces and not any stupid
12993         control character. This avoids tests like s[i] <= ' ', which are
12994         guaranteed to fail with 8bit characters and signed chars.
12995         Change return code to string::npos when there have been no error
12996         (0 was a bad idea when error is at first character)
12997
12998 2001-11-14  José Matos  <jamatos@fep.up.pt>
12999
13000         * buffer.h:
13001         * buffer.C (simpleDocBookOnePar): removed unused argument.
13002
13003 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13004
13005         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13006         insets which are part of a word. Paragraph::isLetter takes care of
13007         that now. Use Paragraph::isInset to identify insets.
13008         (selectSelectedWord): do not test for hyphenation break.
13009
13010         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13011         that protected spaces are considered as spaces.
13012
13013         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13014         Inset::isLetter.
13015
13016 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * lyxserver.h:
13019         * lyxserver.C: fix it. and small cleanup.
13020
13021 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * BufferView_pimpl.C: use inline helpers
13024
13025         * LaTeXFeatures.h:
13026         * LaTeXFeatures.C: fix typos
13027
13028         * Spacing.h:
13029         * Spacing.C: move spacing_string into class
13030
13031         * ToolbarDefaults.C: move stuff into namespace anon
13032
13033         * layout.h: update enum
13034
13035         * lyxfunc.C: use better debug
13036
13037         * minibuffer.h: fix typo
13038
13039         * debug.h:
13040         * debug.C:
13041         * WorkArea.C: add and use Debug::WORKAREA
13042
13043         * lyxtext.h:
13044         * text.C:
13045         * text2.C: code re-organisation, inline helpers
13046
13047 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13048
13049         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13050         std::vector.empty().
13051
13052 2001-11-09  Allan Rae  <rae@lyx.org>
13053
13054         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13055         '\n's after tables.  Tabular and ERT inset work now makes this no
13056         longer necessary.
13057
13058 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * minibuffer.h:
13061         * minibuffer.C: fix crash, improve drop-down completion
13062
13063 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * lyxserver.h:
13066         * lyxserver.C: invalidate fd's when doing endPipe()
13067
13068 2001-11-08  José Matos  <jamatos@fep.up.pt>
13069
13070         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13071         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13072
13073         * paragraph.h:
13074         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13075
13076 2001-11-07  José Matos  <jamatos@fep.up.pt>
13077
13078         * buffer.h:
13079         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13080         const qualifier.
13081
13082         * buffer.C (sgmlOpenTag):
13083         * buffer.C (sgmlCloseTag): removed debug info.
13084
13085         * buffer.h (sgmlOpenTag):
13086         * buffer.h (sgmlCloseTag): made public.
13087
13088 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * buffer.C (saveParamsAsDefaults):
13091         * lyx_cb.C (MenuLayoutSave): remove
13092
13093         * LyXAction.C (init):
13094         * commandtags.h:
13095         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13096
13097 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * buffer.C (setPaperStuff): removed from here...
13100
13101         * bufferparams.C (setPaperStuff): ... and moved there.
13102
13103 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13104
13105         * minibuffer.h:
13106         * minibuffer.C:
13107         * XFormsView.C: add support for drop-down completion
13108
13109 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13110
13111         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13112         commands.
13113
13114 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13117         disabled.
13118
13119 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * lyx_main.C: change ref to known bugs
13122
13123 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13124
13125         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13126         to work around older babel problems.
13127
13128 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13129
13130         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13131
13132 2001-10-24  Juergen Vigna  <jug@sad.it>
13133
13134         * tabular-old.C (ReadOld): below variable changes reflected.
13135
13136         * tabular.[Ch]: added ltType struct for longtable header/footer
13137         defines and changed all instances where they are used. Added
13138         future support for double top/bottom rows.
13139
13140 2001-10-24  José Matos  <jamatos@fep.up.pt>
13141
13142         * buffer.h (docbookHandleCaption):
13143         * buffer.C (docbookHandleCaption): removed unused function.
13144         (makeDocBookFile): moved docbook supported version to v4.1.
13145
13146 2001-10-24  José Matos  <jamatos@fep.up.pt>
13147
13148         * tabular.h:
13149         * tabular.C (docbookRow): new function to export docbook code of a row.
13150         (DocBook): now honors the longtable flags.
13151
13152 2001-10-23  José Matos  <jamatos@fep.up.pt>
13153
13154         * LaTeXFeatures.h:
13155         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13156         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13157
13158         * buffer.C (makeLinuxDocFile):
13159         (makeDocBookFile): reworked the preamble, more clean, and with
13160         support for lyx defined entities. Changed the document declaration
13161         to be more XML friendly.
13162
13163         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13164         if we need to output XML that should be done with a filter.
13165
13166 2001-10-22  Juergen Vigna  <jug@sad.it>
13167
13168         * sp_pspell.h (class PSpell): add alive function needed in the
13169         controller to see if the spellchecker could be started.
13170
13171 2001-10-22  Juergen Vigna  <jug@sad.it>
13172
13173         * buffer.C (insertStringAsLines): modify the font for inserting
13174         chars in certain conditions by calling checkInsertChar(font).
13175
13176 2001-10-19  Juergen Vigna  <jug@sad.it>
13177
13178         * text.C (workWidth): use getRow instead of wrong algorithm.
13179         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13180
13181 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * lyxserver.h:
13184         * lyxserver.C:
13185         * lyx_main.h:
13186         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13187
13188 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13189
13190         * text.C (workWidth): do not search for the exact row when
13191         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13192         optimization for big documents.
13193
13194 2001-10-18  Juergen Vigna  <jug@sad.it>
13195
13196         * text.C (workWidth): new function with added Inset * parameter.
13197
13198 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13201
13202         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13203         change return type of getColumnNearX.
13204
13205
13206         * text.C (changeRegionCase): use uppercase/lowercase instead of
13207         toupper/tolower.
13208         (leftMargin):
13209         (rightMargin): simplify code by factoring out the uses of
13210         textclasslist.
13211         (labelFill):
13212         (numberOfHfills):
13213         (setHeightOfRow):
13214         (appendParagraph): use Paragraph::size_type
13215
13216 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * vspace.C (asLatexString): add a missing break
13219
13220 2001-10-15  Herbert Voss  <voss@perce.de>
13221
13222         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13223
13224 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13227         is not available.
13228
13229 2001-10-10  André Pönitz <poenitz@gmx.net>
13230
13231         * lyxfunc.C: removed greek_kb_flag.
13232
13233 2001-10-10  Herbert Voss  <voss@perce.de>
13234
13235         * lyx_main.C: delete global string help_lyxdir.
13236
13237 2001-10-09  Herbert Voss  <voss@perce.de>
13238
13239         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13240
13241         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13242
13243         * lyx_main.C: added global string help_lyxdir.
13244
13245         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13246
13247 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13248
13249         * lyxrc.C (set_font_norm_type): support iso8859-4
13250
13251 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13252
13253         * LaTeX.C (deplog): add another regex for MikTeX
13254
13255 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13256
13257         * lyxrc.C (set_font_norm_type): support iso8859-3
13258
13259 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13262
13263         * LaTeXFeatures.C: remove special case of french and index
13264
13265         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13266         before \begin{document}). This solves several incompatibilities.
13267
13268 2001-10-03  Garst Reese  <reese@isn.net>
13269
13270         * lyx_cb.C: change CheckTex error msg.
13271
13272 2001-10-03  José Matos  <jamatos@fep.up.pt>
13273
13274         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13275
13276 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * .cvsignore: update
13279
13280         * lyx_main.C (commandLineVersionInfo): use new style version info.
13281
13282         * buffer.C (writeFile):
13283         (makeLaTeXFile):
13284         (makeLinuxDocFile):
13285         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13286
13287         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13288
13289         * version.h: update to use stuff in version.C
13290
13291         * version.C.in: new file. Contains version information determined
13292         at compile time. This is a merging of version.h and
13293         version_info.h.in.
13294
13295 2001-10-03  Juergen Vigna  <jug@sad.it>
13296
13297         * BufferView_pimpl.C (update): don't change "dirty" status in
13298         updateInset call.
13299
13300 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13301
13302         * WorkArea.C (c-tor): re-position version string slightly.
13303
13304 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13305
13306         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13307         revert to previous code.
13308
13309         WorkArea.[Ch]: (show, destroySplash): methods removed.
13310
13311         WorkArea.C: rework code so that it's an amalgam of the codes before and
13312         after the splash screen was moved to WorkArea.
13313
13314 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13315
13316         * lyxrc.C (read):
13317         * vspace.C (inPixels):
13318         (lyx_advance):
13319         * kbmap.C (bind):
13320         * buffer.C (insertStringAsLines):
13321         (asciiParagraph): fix types to be large enough
13322
13323         * lyxlex_pimpl.h: change member status from short to int
13324
13325         * layout.h: fix type of endlabeltype
13326
13327         * kbmap.C (bind):
13328         * kbsequence.C (parse): change return type to string::size_type
13329
13330         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13331         variable
13332
13333         * Bullet.C (bulletSize):
13334         (bulletEntry): do not use short ints as parameters
13335
13336         * BufferView2.C (insertLyXFile): change a char to an int.
13337
13338         * WorkArea.C (WorkArea): remove unneeded floats in computation
13339
13340 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13343
13344         * paragraph.C (asString): Do not ignore newline/hfill chars when
13345         copying to the clipboard.
13346
13347 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13348
13349         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13350         after a multi-line inset.
13351
13352 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * paragraph.C (validate): Set NeedLyXFootnoteCode
13355
13356 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13357
13358         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13359         and decrease-error to decrease.
13360
13361 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13364         it more readable (should be equivalent)
13365
13366 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13367
13368         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13369
13370 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13371
13372         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13373         of a cursor (row, etc.) after a character has been deleted
13374         (deleteEmptyParagraphMechanism): call the method above on _all_
13375         cursors held by the LyXText when a double space has been
13376         detected/deleted.
13377
13378 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13379
13380         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13381         pixmap.
13382         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13383
13384         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13385         background. Use greyOut() and the new show() methods to toggle between
13386         the foreground and background. Add code to remove the splash after
13387         its initial showing.
13388
13389         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13390         (create_forms): no longer call Dialogs::showSplash.
13391
13392 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * .cvsignore: add version_info.h
13395
13396 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * version_info.h.in: new file
13399
13400         * Makefile.am: add version_info.h.in
13401
13402         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13403         version_info.h instead of VERSION_INFO
13404
13405 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13406
13407         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13408         The ERT inset now returns string().
13409
13410 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13411
13412         * lyxtext.h, text.C (selectNextWord): renamed as
13413         selectNextWordToSpellcheck.
13414
13415         * text.C (selectNextWordToSpellcheck): Modified to not select
13416         words inside an ERT inset.
13417
13418 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * lyx_cb.C (MenuLayoutSave): change a bit the question
13421
13422         * sp_base.h: include <sys/types.h>
13423
13424 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13427
13428 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13429
13430         * several files: fix typos in user-visible strings
13431
13432 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * text2.C (pasteSelection): do not set the selection, since it
13435         will be cleared later. Actually, the intent was to fix the way the
13436         selection was set, but I figured rmoving the code was just as good.
13437
13438 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * FontLoader.C (available): Check if font is available without
13441         loading the font.
13442
13443 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13444
13445         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13446
13447 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * lyxrc.[Ch]: added display_graphics variable and associated code.
13450
13451 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * bufferparams.C (hasClassDefaults): new method. Returns true if
13454         the buffer parameters correspond to known class defaults
13455
13456 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * XFormsView.C (show): set minimum size to the main window.
13459
13460 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * text2.C (copySelection):
13463         (cutSelection):
13464         * lyxfind.C (LyXReplace):
13465         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13466         LyXText::selectionAsString.
13467
13468         * paragraph.C (asString): add "label" argument to the second form
13469
13470         * text2.C (selectionAsString): add "label" argument and pass it to
13471         Paragraph::asString.
13472
13473 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * lyx_main.C (commandLineHelp): remove version information
13476
13477 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13478
13479         * lyx_main.C: add -version commandline option
13480
13481 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * paragraph.h: make the optional constructor arg required instead.
13484         some modifications to other files because of this.
13485
13486         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13487
13488         * lyxserver.C (C_LyXComm_callback): make it static
13489
13490         * lyx_main.C (error_handler): make it static
13491
13492         * lyx_gui.C (LyX_XErrHandler): make it static
13493
13494         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13495
13496         * WorkArea.C: make the extern "C" methods static.
13497
13498         * Makefile.am (lyx_LDADD): simplify
13499
13500 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13501
13502         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13503         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13504
13505         * LyXAction.C (init):
13506         * lyxfunc.C (dispatch): associated code removal.
13507
13508 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * lyxfont.h (isSymbolFont): shut off warning
13511
13512         * text.C (setHeightOfRow):
13513         (getVisibleRow): fix crash with empty paragraphs which have a
13514         bottom line
13515
13516 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13517
13518         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13519         code.
13520
13521 2001-09-04  José Matos  <jamatos@fep.up.pt>
13522         * buffer.C
13523         * buffer.h
13524         * tabular.C (docbook): rename docBook method to docbook.
13525
13526 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13527
13528         * Makefile.am: add dependencies to main.o.
13529
13530 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13531
13532         * FontLoader.C (available): Return false if !lyxrc.use_gui
13533
13534 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13535
13536         * FontInfo.C (query):
13537         * converter.C (view):
13538         * importer.C (Import):
13539         * exporter.C (Export): Can not -> cannot.
13540
13541 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * BufferView_pimpl.C: allow to create index inset even if
13544           string is empty
13545
13546 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * buffer.C (getLists): replace boost::tie code with an explicit pair
13549         as boost::tie can break some compilers.
13550
13551         * iterators.h: Added a std:: declaration to the return type of
13552         ParIterator::size.
13553
13554 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13557           case.
13558
13559 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * iterators.[Ch]: New files. Provide paragraph iterators.
13562
13563         * buffer.C (changeLanguage): Use paragraph iterators.
13564         (isMultiLingual): ditto
13565
13566         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13567
13568 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13569
13570         * FontLoader.C: Support for cmr font.
13571
13572 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13573
13574         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13575         (available): New method.
13576
13577         * FontInfo.C (getFontname): Use scalable fonts even when
13578         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13579         found.
13580
13581 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13582
13583         * converter.C (Formats::view): reverted! Incorrect fix.
13584
13585 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * converter.C (Formats::view): only output the -paper option
13588         if the dvi viewer is xdvi, thereby fixing bug #233429.
13589
13590 2001-08-23  Herbert Voss  <voss@perce>
13591
13592         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13593
13594 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * Spacing.h (Spacing): Set space to Default on in the default
13597         constructor.
13598
13599 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * vc-backend.h (RCS::versionString): add RCS to version
13602         (CVS::versionString): add CVS to version
13603
13604         * vc-backend.C (scanMaster): do not add CVS to version.
13605         (scanMaster): do not add RCS to version
13606
13607         * lyxvc.C (versionString): new method
13608
13609         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13610
13611 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * Spacing.C (set): initialize fval
13614
13615 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13616
13617         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13618         " or \.
13619
13620 2001-08-16  Juergen Vigna  <jug@sad.it>
13621
13622         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13623
13624 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * BufferView_pimpl.C:
13627         * figureForm.C:
13628         * lyxtext.h:
13629         * text2.C: setParagraph takes linespacing now
13630
13631 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * LyxAction.C: add internal LFUN_CITATION_INSERT
13634
13635         * LyXView.C: actually apply fix
13636
13637         * bufferlist.C: fix open non-existent file
13638
13639         * lyxfind.C: fix indentation
13640
13641         * lyxfunc.C: remove unneeded assert, fix typo
13642
13643 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * MenuBackend.C: use "Floatname List"
13646
13647 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13650         when converting LaTeX layout to insetERT.
13651         Generate a non-collapsed float when reading old float
13652
13653 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13654
13655         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13656         ERT insets.
13657
13658 2001-08-13  Juergen Vigna  <jug@sad.it>
13659
13660         * text.C (fill): return 0 instead of 20 as this seems to be the more
13661         correct value.
13662
13663 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13666         lyxrc.font_norm.
13667
13668 2001-08-13  Juergen Vigna  <jug@sad.it>
13669
13670         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13671         casesensitive off.
13672         (SearchBackward): comment out the unlocking of the inset_owner this
13673         should not be needed!
13674
13675 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * Many files: Remove inherit_language, and add latex_language
13678
13679         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13680         collapsible insets.
13681
13682 2001-08-10  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C (prepareToPrint): fixed hfill-width in draw!
13685
13686         * BufferView2.C (selectLastWord): save the selection cursor as this
13687         now is cleared in the function LyXText::clearSelection!
13688
13689 2001-08-08  Juergen Vigna  <jug@sad.it>
13690
13691         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13692         BACKSPACE type functions.
13693
13694         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13695         is only cutted from the document but not put in the cut-buffer, where
13696         still the old stuff should be.
13697
13698         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13699
13700         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13701
13702         * tabular.C (SetWidthOfCell): fixed special case where the width
13703         was not updated!
13704         (LeftLine): handle '|' in align_special.
13705         (RightLine): ditto
13706         (LeftAlreadyDrawed): ditto
13707         (SetWidthOfCell): ditto
13708
13709 2001-08-07  Juergen Vigna  <jug@sad.it>
13710
13711         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13712
13713 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13716         * lyxlex.[hC]: ditto
13717
13718 2001-08-06  Juergen Vigna  <jug@sad.it>
13719
13720         * text.C (getVisibleRow): fix up row clearing a bit.
13721
13722 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13723
13724         * minibuffer.C: make sure the X server sees the changes in the input.
13725
13726 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * paragraph.C (getFont): split into...
13729         (getLabelFont): this
13730         (getLayoutFont): and this
13731         * paragraph_pimpl.C (realizeFont): calling this
13732
13733         * text2.C (getFont): split into...
13734         (getLayoutFont): this
13735         (getLabelFont): and this
13736         (realizeFont): all three calling this
13737
13738         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13739         files where used.
13740
13741 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13744
13745 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13746
13747         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13748         layouts from the Quote inset insertion.
13749
13750 2001-08-03  Juergen Vigna  <jug@sad.it>
13751
13752         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13753
13754         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13755         only if status not is already CHANGED_IN_DRAW (second level).
13756
13757         * text.C (draw): don't set the need_break_row when inside an
13758         InsetText LyXText.
13759
13760 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * buffer.C (parseSingleLyXformat2Token): handle more latex
13763         conversion cases.
13764
13765         * bufferview_funcs.[hC]: change function names to
13766         begin with small char, adjust other files.
13767
13768 2001-08-02  André Pönitz <poenitz@gmx.net>
13769
13770         * lyxfunc.C:
13771         BufferView_pimpl.C: remove broken special code for math-greek
13772
13773 2001-08-02  Juergen Vigna  <jug@sad.it>
13774
13775         * BufferView_pimpl.C (update): redone this function so that we
13776         update the text again if there was a CHANGE_IN_DRAW.
13777
13778         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13779         (drawFromTo): added a new internal bool which is used by draw() and
13780         redraw() function.
13781         (general): some cursor drawing problems fixed.
13782
13783 2001-08-01  Juergen Vigna  <jug@sad.it>
13784
13785         * lyxfind.C (LyXFind): fixed
13786         (SearchForward): ditto
13787         (SearchBackward): ditto
13788
13789         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13790         spurius drawing of the cursor in the main area.
13791
13792         * text2.C (status): small fix which could lead to a segfault!
13793         (clearSelection): remove unneeded BufferView param.
13794
13795 2001-08-01  André Pönitz <poenitz@gmx.net>
13796
13797         * lyxfunc.C: small change due to changed mathed interface
13798
13799 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13802
13803 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * lyxfunc.c: fail gracefully if file doesn't exist
13806
13807         * LyXSendto.C:
13808         * buffer.C:
13809         * lyxfunc.C:
13810         * BufferView_pimpl.C: IsDirWriteable() proto changed
13811
13812         * LyXView.C: fix updateWindowTitle() to store the last title
13813
13814 2001-07-31  Juergen Vigna  <jug@sad.it>
13815
13816         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13817         the font (wrong since using of Paragraph::highestFontInRange).
13818
13819         * paragraph.C (highestFontInRange): added a default_size parameter.
13820
13821         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13822         (setHeightOfRow): reformat
13823
13824 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * converter.[hC] + affected files: move to (inital-char)lowercase
13827         function names.
13828
13829         * ParagraphParameters.C (ParagraphParameters): remove commented code
13830
13831         * PainterBase.[Ch]: remove commented code
13832
13833         * LaTeXFeatures.h: add "bool floats" for float.sty
13834
13835         * LaTeXFeatures.C (LaTeXFeatures): init floats
13836         (require): handle float
13837         (getPackages): do it with floats
13838
13839 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * BufferView_pimpl.C (Dispatch): improve handling of
13842         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13843
13844         * commandtags.h: #include lyxfont.h here temporarily to avoid
13845         keybinding bug.
13846
13847         * bufferlist.h: include LString.h here.
13848
13849 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * text2.C (getStringToIndex): new method.
13852
13853 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13854
13855         * *: Reduced header file dependencies all over.
13856
13857 2001-07-30  Baruch Even  <baruch@lyx.org>
13858
13859         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13860
13861 2001-07-29  Baruch Even  <baruch@lyx.org>
13862
13863         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13864
13865 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * ParameterStruct.h (endif): add a default constructor to make
13868         sure that all variables is initialized.
13869
13870         * ParagraphParameters.C (ParagraphParameters): adjust
13871
13872 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13875         index; also, check that there is something to index, and that it
13876         does not span over several paragraphs.
13877         (doubleClick): use WHOLE_WORD_STRICT for double click.
13878
13879         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13880
13881         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13882         scheme.
13883
13884 2001-07-26  Baruch Even  <baruch@lyx.org>
13885
13886         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13887         an InsetFig figure, backwards compatible reading of old figure code.
13888
13889 2001-07-27  Juergen Vigna  <jug@sad.it>
13890
13891         * text2.C: font.realize function adaption.
13892
13893         * text.C (draw): add a warnings lyxerr text if needed.
13894
13895         * layout.C: font.realize function adaption.
13896
13897         * language.C: add inherit_language and implement it's handlings
13898
13899         * bufferview_funcs.C (StyleReset): remove language parameter from
13900         font creation (should be language_inherit now).
13901
13902         * bufferparams.C (writeFile): handle ignore_language.
13903
13904         * paragraph.C (getFontSettings): the language has to be resolved
13905         otherwise we have problems in LyXFont!
13906
13907         * lyxfont.C (lyxWriteChanges): added document_language parameter
13908         (update): removed unneeded language parameter
13909
13910         * paragraph.C (validate): fixed wrong output of color-package when
13911         using interface colors for certain fonts in certain environments,
13912         which should not seen as that on the final output.
13913
13914 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * BufferView_pimpl.C:
13917         * Thesaurus.h:
13918         * Thesaurus.C:
13919         * Makefile.am:
13920         * commandtags.h:
13921         * LyXAction.C: add thesaurus support
13922
13923         * lyxfind.h:
13924         * lyxfind.C: add "once" parameter, for thesaurus, to not
13925           move to the next match
13926
13927 2001-07-26  Juergen Vigna  <jug@sad.it>
13928
13929         * lyxfont.C (realize): honor ignore_language too!
13930         (resolved): ditto.
13931
13932         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13933
13934         * text.C (draw): one place more for ignore_language to not draw
13935         itself!
13936
13937 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13940
13941 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13944         the minipage conversion problem.
13945
13946 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13947
13948         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13949         insert an inset.
13950
13951 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * BufferView.h: don't forward declare WorkArea
13954
13955         * BufferView.C: don't include WorkArea.h
13956
13957 2001-07-25  André Pönitz <poenitz@gmx.net>
13958
13959         * commandtags.h:
13960         * LyXAction.C:
13961         * lyxfunc.C:  new LFUN 'math-space'
13962
13963         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13964
13965 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * text2.C (toggleInset): call open/close
13968
13969 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * lyxfunc.C (dispatch): add debug for the disabled case
13972
13973         * font.C (buttonText): make similar to rectText
13974
13975         * buffer.C (readInset): comment out parsing of insetlist and
13976         insttheorem
13977
13978         * PainterBase.C (rectText): small correction
13979
13980         * BufferView_pimpl.C: comment out insettheorem and insetlist
13981         * LyXAction.C: ditto
13982         * commandtags.h: ditto
13983
13984 2001-07-24  Juergen Vigna  <jug@sad.it>
13985
13986         * text.C (draw): honor the ignore_language.
13987
13988         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13989
13990 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13993         char inset.
13994
13995 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13996
13997         * lyxtext.h: remove unused (and unimplemented) methods
13998
13999 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14000
14001         * text.C (getVisibleRow): honor background color
14002
14003         * PainterBase.h:
14004         * Painter.h: remove default color argument for fillRectangle
14005
14006         * text.C (backgroundColor): new method
14007
14008 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * text.C (getVisibleRow): adjust
14011
14012         * font.[Ch] (rectText): new method, metrics
14013         (buttonText): new method, metrics
14014
14015         * PainterBase.[hC]: make rectText and buttonText always draw and take
14016         fewer paramteres.
14017
14018 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14019
14020         * ToolbarDefaults.C (read):
14021         * MenuBackend.C (read): allow escaping in all strings
14022
14023         * BufferView_pimpl.C (insertAndEditInset): new method.
14024         (Dispatch): use insertAndEditInset whenever appropriate.
14025
14026         * BufferView_pimpl.C (insertNote): removed
14027
14028         * BufferView_pimpl.C (smartQuote): new method, moved from
14029         BufferView; if an insetquote cannot be inserted, insert a '"'
14030         character instead.
14031
14032         * BufferView2.C: remove insertCorrectQuote();
14033
14034         * lyxfunc.C (getStatus): Add support for all remaingin
14035         inset-insert lfuns.
14036
14037         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14038
14039         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14040         command (necessary to pass " as parameter of self-insert.
14041
14042         * text.C (selectWordWhenUnderCursor):
14043         (selectWord): add word_location parameter
14044         (selectWordWhenUnderCursor): same + remove special code for word
14045         boundary.
14046         (selectNextWord): use kind() to guess type of insetspecialchar,
14047         not latex().
14048
14049         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14050         (insertErtContents): create ert insets as collapsed.
14051         (readInset): better compatibility code for Info inset.
14052
14053 2001-07-20  Juergen Vigna  <jug@sad.it>
14054
14055         * lyxfunc.C (dispatch): use always LyXFind now!
14056
14057         * text2.C (init): add a reinit flag so that the LyXText can be
14058         reinited instead of deleted and reallocated (used in InsetText).
14059
14060         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14061
14062         * text.C: ditto
14063
14064         * text2.C: ditto
14065
14066 2001-07-18  Juergen Vigna  <jug@sad.it>
14067
14068         * text.C (selectNextWord): handle insets inside inset by calling
14069         always the bv->text functions so that we can go up the_locking_inset!
14070
14071         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14072         in strange locations when inside an inset!
14073
14074         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14075         handling to include insets.
14076
14077         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14078
14079 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * LyXAction.C (init):
14082         * commandtags.h:
14083         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14084         LIGATURE_BREAK, since the name is so stupid.
14085
14086 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14089         InsetInfos.
14090
14091         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14092
14093         * sp_form.[Ch]: remove.
14094
14095         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14096
14097         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14098         InsetInfo.
14099
14100         * src/buffer.C (readInset): ditto.
14101
14102 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14103
14104         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14105         menuSeparator(), endOfSentenceDot(), ldots() and
14106         hyphenationPoint(), which are therefore removed.
14107         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14108
14109         * LyXAction.C (init):
14110         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14111
14112         * paragraph.C (getWord): removed.
14113
14114         * BufferView_pimpl.C (Dispatch): use last word or selection for
14115         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14116
14117         * lyx_main.C (queryUserLyXDir): do not ask before creating
14118         user_dir, except if it has been named explicitely.
14119
14120 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14123         a document of zero size.
14124
14125 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14126
14127         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14128         approriately in the c-tor and in require().
14129         (getPackages): output the appropriate LaTeX for natbib support.
14130
14131         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14132         variables "use_natbib" and "use_numerical_citations" when reading the
14133         LyX file.
14134         (readInset): read the various natbib cite commands.
14135         (validate): white-space change.
14136
14137         * bufferparams.[Ch]: new variables "bool use_natbib" and
14138         "bool use_numerical_citations".
14139         (writeFile): output them in the LyX file.
14140
14141 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14142
14143         * lyxfunc.C (getStatus): add support for all the inset insertion
14144         commands.
14145
14146         * text2.C (insertInset):
14147         * paragraph.C (insetAllowed):
14148         * BufferView_pimpl.C (insertInset): update to take in account the
14149         renaming of insertInsetAllowed
14150
14151         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14152
14153         * text2.C (getInset): new method. returns inset at cursor position.
14154
14155         * BufferView_pimpl.C (Dispatch): changes because of this.
14156
14157         * LyXAction.C (init): rename open-stuff to inset-toggle.
14158
14159         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14160
14161         * text2.C (toggleInset): renamed from openStuff; use
14162         Inset::open().
14163
14164 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14165
14166         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14167
14168         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14169
14170 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * buffer.C (readLyXformat2): Add filename to the error dialog
14173
14174 2001-07-18  Juergen Vigna  <jug@sad.it>
14175
14176         * tabular.C (GetCellNumber): put an assert here instead of the check!
14177
14178 2001-07-17  Juergen Vigna  <jug@sad.it>
14179
14180         * BufferView_pimpl.C (toggleSelection): adapted too.
14181
14182         * text.C (selectNextWord): adapted for use with insets.
14183         (selectSelectedWord): ditto
14184
14185 2001-07-17  Juergen Vigna  <jug@sad.it>
14186
14187         * sp_spell.C (PSpell): fix initialitation order.
14188
14189 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * paragraph.C: spacing
14192
14193 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14194
14195         * sp_spell.C: repair language selection for pspell
14196
14197 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * lyxfunc.h: change more methods to begin with lower char.
14200
14201 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14202
14203         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14204         for unknown layouts.
14205
14206 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * buffer.C (readLyXformat2): Generate an error dialog if there are
14209         unknown layouts.
14210
14211 2001-07-16  Juergen Vigna  <jug@sad.it>
14212
14213         * sp_spell.C: always compile ISpell part.
14214
14215         * lyxrc.C: added use_pspell entry and it's handling.
14216
14217 2001-07-13  Juergen Vigna  <jug@sad.it>
14218
14219         * sp_spell.C: removed double includes.
14220
14221 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         Consistent use of Lsstream.h:
14224         * Lsstream.h: added using std::stringstream for consistencies sake.
14225
14226         * buffer.C: removed using std::stringstream
14227
14228         * lyxfont.C (stateText):
14229         * paragraph.C (asString):
14230         * text.C (selectNextWord, selectSelectedWord):
14231         * text2.C (setCounter):
14232         * vspace.C (asString, asLatexString):
14233         std::ostringstream -> ostringstream.
14234
14235 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14236
14237         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14238         * commandtags.h: add LFUN_HELP_ABOUTLYX
14239         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14240
14241 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14242
14243         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14244         cursorToggle()
14245         * lyx_gui_misc.C: remove spellchecker
14246         * lyxfunc.C: showSpellchecker
14247         * sp_base.h: added
14248         * sp_ispell.h: added
14249         * sp_pspell.h: added
14250         * sp_spell.C: added
14251         * sp_form.[Ch]: removed
14252         * spellchecker.[Ch]: removed
14253
14254 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14255
14256         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14257         is set.
14258         (simpleTeXSpecialChars): Simply print the input character without
14259         any special translation if pass_thru is set.
14260
14261         * layout.h: Added bool pass_thru to layout class for being able to
14262         implement pass through of a paragraph for Literate Programming.
14263
14264         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14265         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14266         * layout.C (Read): add "passthru" to list of layout tags and add
14267         code to set the pass_thru boolean when it is read.
14268
14269 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * trans_decl.h: remove allowed from KmodInfo
14272
14273         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14274         remove allowed code
14275         (Load): adjust
14276
14277         * paragraph_pimpl.C (erase): use boost::prior
14278
14279         * Painter.C (text): use data() instead of c_str() when length is
14280         also provided.
14281         * WorkArea.C (putClipboard): ditto
14282         * font.h (width): ditto
14283
14284         * BufferView2.C: use it-> instead of (*it). for iterators
14285         * texrow.C: ditto
14286         * paragraph_pimpl.C: ditto
14287         * paragraph.C: ditto
14288         * minibuffer.C: ditto
14289         * language.C: ditto
14290         * kbmap.C: ditto
14291         * encoding.C: ditto
14292         * counters.C: ditto
14293         * converter.C: ditto
14294         * chset.C: ditto
14295         * Variables.C: ditto
14296         * TextCache.C: ditto
14297         * MenuBackend.C: ditto
14298         * LyXAction.C: ditto
14299         * LColor.C: ditto
14300         * FloatList.C: ditto
14301         * DepTable.C: ditto
14302         * ColorHandler.C (LyXColorHandler): ditto
14303
14304 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14307
14308         * text2.C (openStuff): reintroduce this method (which had been
14309         nuked in NEW_INSETS frenzy).
14310
14311         * lyxfunc.C (Dispatch): when an action has not been handled, use
14312         its name in the error message, not its number.
14313
14314         * paragraph.C (inInset): change method name to begin with lowercase.
14315
14316         * undo_funcs.C:
14317         * text2.C: updates because of this.
14318
14319 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14320
14321         * ToolbarDefaults.C (add): add spaces in error message
14322
14323 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14324
14325         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14326         (readLyXformat2): rename return_par to first_par, use lyxlex's
14327         pushToken and remove the manual push handling.
14328         (parseSingleLyXformat2Token): add another ert comp. variable:
14329         in_tabular, rename return_par to first_par. handle newlines better
14330
14331 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14334
14335 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * text2.C (getParFromID): removed
14338
14339         * buffer.C (getParFromID): new method moved form lyxtext.
14340         * BufferView2.C (insertErrors): adjust
14341         (setCursorFromRow): adjust
14342         * BufferView_pimpl.C (restorePosition): adjust
14343         * lyxfunc.C (Dispatch): adjust
14344         * undo_funcs.C (textUndo): adjust
14345         (textRedo): adjust
14346         (textHandleUndo): adjust
14347         (textHandleUndo): adjust
14348
14349 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14350
14351         * buffer.C: up' the LYX_FORMAT
14352
14353         * lyxfont.h: turn NO_LATEX on as default
14354
14355         * buffer.C (insertErtContents): new methods of tex style compability.
14356         (parseSingleLyXformat2Token): use it several places.
14357         * tabular.C (OldFormatRead): and here
14358
14359 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * text2.C: remove some commented code.
14362         reindent file.
14363
14364         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14365         * trans.C: changes because of the above.
14366
14367 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14368
14369         * text2.C (setCounter): Fix counters bug with bibliography layout.
14370
14371 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14374         own member functions
14375         (simpleTeXSpecialChars): ditto
14376
14377 2001-07-06  Juergen Vigna  <jug@sad.it>
14378
14379         * a lot of files: changed the access to LyXText::status and the
14380         call of undo-functions.
14381
14382         * undo.[Ch]: added a inset_id to the undo informations.
14383
14384         * undo_funcs.[Ch]: added and moved here all undo functions.
14385
14386         * lyxtext.h: give the status enum a weight, made status_ a private
14387         variable and made accessor functions for it, removed the whole bunch
14388         of undo-functions as they are now in their own file, make some
14389         functions publically available. Added function ownerParagraph with
14390         int parameter.
14391
14392         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14393         made InInset() a const function, added getParFromID() function.
14394
14395         * buffer.[Ch]: added const version for inset_iterator functions,
14396         added getInsetFromID() function.
14397
14398         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14399         changed undo functions for new version.
14400
14401 2001-07-05  Juergen Vigna  <jug@sad.it>
14402
14403         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14404         unknow mechanism does not call the proper constructor but only this
14405         one also if I request the other!?
14406
14407 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14410
14411         * text2.C (LyXText): use initialization lists.
14412
14413         * lyxtext.h (Selection): initialize set_ and mark_
14414         (init): remove method
14415
14416 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14417
14418         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14419
14420 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * screen.[Ch]: change method names to begin with lowercase
14423
14424         * BufferView_pimpl.C (updateScrollbar): simplify further and
14425         hopefully make it a bit faster.
14426
14427 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14430         calling directly xforms functions.
14431
14432         * Painter.C (Painter):
14433         * lyx_cb.C (MenuWrite):
14434         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14435         fl_display.
14436
14437         * lyx_gui.C: remove bogus guiruntime extern declaration.
14438
14439 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14442         in NEW_INSETS
14443         (redoDrawingOfParagraph): ditto
14444         (redoParagraphs): ditto
14445         (cutSelection): don't create a object for CutAndPaste use the
14446         static method directly
14447         (pasteSelection): ditto
14448
14449         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14450         LyXview (+ rename)
14451
14452 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * modifications to some other files because of this.
14455
14456         * Makefile.am (lyx_SOURCES): add XFormsView
14457
14458         * XFormsView.[Ch]: new files
14459
14460         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14461         the main window. Move the gui dependent stuff to XFormsView
14462
14463 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * tabular.C (GetCellInset): update cur_cell also in the row/col
14466         version of this function.
14467
14468         * lyxfunc.C: no need to include figure_form.h here.
14469
14470         * FontLoader.h:
14471         * lyxfunc.h:
14472         * lyxscreen.h:
14473         * text2.C:
14474         * lyxvc.C: no need to include forms.h here.
14475
14476 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14479
14480         * lyxfunc.C (Dispatch):
14481         * Spacing.C (set):
14482         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14483         constructor argument.
14484
14485 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * paragraph.C (Paragraph): dont't clear, and just set layout.
14488         (makeSameLayout): use params's copy contructor.
14489
14490         * ParagraphParameters.[Ch] (makeSame): delete method
14491
14492 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * Variables.[Ch]: fix indentation, rename set to isSet
14495
14496 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14497
14498         * lyxfunc.C (Dispatch): fix typo
14499
14500 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14503         upper_bound.
14504
14505         * bufferlist.C: include assert.h for emergencyWrite().
14506
14507 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14510           give up at last (bug #425202) !
14511
14512 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * lyx_gui_misc.C:
14515         * sp_form.h:
14516         * sp_form.C:
14517         * spellchecker.h:
14518         * spellchecker.C: strip spellchecker options and bring up
14519           preferences tab instead
14520
14521 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14522
14523         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14524         the istringstream constructor
14525
14526 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * paragraph.C (getLayout): fix return value
14529
14530         * paragraph.h: do not declare getLayout as inline.
14531
14532         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14533
14534 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * lyxcursor.h (operator<): new func
14537         (operator>): new func
14538         (operator>=): new func
14539         (operator<=): new func
14540
14541         * text.C (changeCase): use selection.start and selection.end
14542         (changeRegionCase): require from to be <= to. Require par to be a
14543         valid paragraph.
14544
14545         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14546
14547 2001-06-27  Juergen Vigna  <jug@sad.it>
14548
14549         * text.C (cursorLeftOneWord): changed to return the cursor and added
14550         overlay with BufferView * parameter which calls this one.
14551         (getWord): added
14552         (selectWord): use new getWord function.
14553         (changeCase): renamed from changeWordCase as and extended to work
14554         also on selections.
14555
14556         * lyxtext.h: added enum word_location
14557
14558         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14559         changeCase as this operates now also on selections.
14560
14561 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14562
14563         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14564
14565         * many files: send debug output to Debug::INFO instead of
14566         Debug::ANY.
14567
14568         * converter.C (View):
14569         (Convert):
14570         (Move): send debug output to Debug::FILES instead of console.
14571
14572 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14573
14574         * lyxfunc.C (getStatus): use func_status
14575
14576         * func_status.h: new header, describing the results of
14577         LyXFunc::getStatus;
14578
14579         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14580         LFUN_MATH_HALIGN.
14581
14582 2001-06-25  The LyX Project  <jug@sad.it>
14583
14584         * buffer.C (sgmlOpenTag):
14585         (sgmlCloseTag):
14586         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14587
14588 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * text2.C: remove some dead code
14591
14592         * tabular.C (GetCellInset): store the last cell checked (gotten)
14593
14594         * tabular.h: add the helper for the speedup
14595
14596         * lyxtext.h: remove some dead code
14597
14598 2001-06-26  The LyX Project  <Asger>
14599
14600         * paragraph.C: Change export to LaTeX of alignment to
14601         \begin{center} and family for better roundtrip work with reLyX.
14602
14603         * Tune the math drawing a bit.
14604
14605 2001-06-25  The LyX Project  <Asger>
14606
14607         * LColor.C (LColor): New color for math background. New color
14608         for buttons.
14609
14610 2001-06-25  The LyX Project  <jug@sad.it>
14611
14612         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14613
14614         * lyxfunc.C (Open):
14615         * bufferlist.C (newFile): do not restrict to files ending with
14616         .lyx
14617
14618         * BufferView_pimpl.C (MenuInsertLyXFile):
14619
14620 2001-06-24  The LyX Project  <jug@sad.it>
14621
14622         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14623         of compare_no_case
14624
14625 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14626
14627         * lyxtext.h: rename most methods to begin with a small char.
14628         Lots of changes because of this.
14629
14630         * paragraph.C (Paragraph): do not call fitToSize
14631         (erase): call Pimpl::erase
14632         (insertChar): call Pimpl::insertChar
14633         (insertInset): call Pipl::insertInset
14634         (breakParagraph): do not call fitToSize
14635         (breakParagraphConservative): do not call fitToSize
14636         (fitToSize): remove method
14637
14638         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14639
14640 2001-06-24  The LyX Project  <Asger>
14641
14642         * Fix Qt compilation^2
14643
14644 2001-06-24  The LyX Project  <jug@sad.it>
14645
14646         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14647         depthHook(getDepth()-1).
14648
14649         * paragraph.h:
14650         * ParagraphParameters.h:
14651         * ParameterStruct.h: change type of depth to unsigned int ==
14652         depth_type. Many adaptations to other files before of that.
14653
14654 2001-06-24  The LyX Project  <Asger>
14655
14656         * Fix Qt compilation.
14657
14658 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * paragraph.h: renamed several methods to begin with small letter.
14661         several changes to many parts of the code because of this.
14662
14663 2001-06-23  The LyX Project  <jug@sad.it>
14664
14665         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14666         rewritten to discard all double spaces when KeepEmpty is off
14667         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14668         to only handle newlines but not fiddle with spaces and friends.
14669
14670         * lyxfunc.C (MenuNew): when doing 'new from template', use
14671         template_path as default directory
14672
14673 2001-06-23  The LyX Project  <Asger>
14674
14675         * Clean-up of header file includes all over
14676         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14677
14678 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14679
14680         * paragraph.h: renamed from lyxparagraph.h
14681
14682 2001-06-23  Asger  <lyx@violet.home.sad.it>
14683
14684         * Buffer.h: Removed Buffer::resize
14685         * BufferList.h: Removed BufferList::resize
14686         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14687         the document lazily when we change the width, or the font settings.
14688
14689 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14690
14691         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14692
14693 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * buffer.h: remove out of date comment
14696
14697 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * lyxscreen.h:
14700         * screen.C: fix "theoretical" GC leak
14701
14702 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * LaTeX.C (scanAuxFile):
14705         (deplog): remove trailing \r when reading stream (useful under
14706         win32)
14707
14708 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14709
14710         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14711         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14712         and BufferView::theLockingInset(Inset*), so should use them and not
14713         access bv_->text->the_locking_inset directly.
14714
14715         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14716
14717 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * Makefile.am:
14720         * tex-defs.h: remove old unused file
14721
14722 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * BufferView_pimpl.C: fix typo, remove minibuffer message
14725           when buffer has loaded
14726
14727 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * lyxfunc.C (Dispatch): use stringstream
14730         (MenuNew): use stringstream
14731         (Open): use stringstream
14732
14733         * importer.C (Import): use stringstream
14734
14735         * bufferview_funcs.C (CurrentState): use stringstream
14736
14737         * LaTeX.C (run): use stringstream
14738
14739         * BufferView_pimpl.C (savePosition): use stringstream
14740         (restorePosition): use stringstream
14741         (MenuInsertLyXFile): use stringstream
14742
14743 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14744
14745         * BufferView.C:
14746         * Bullet.C:
14747         * ColorHandler.C:
14748         * FontInfo.C:
14749         * FontLoader.C:
14750         * LColor.C:
14751         * LaTeXFeatures.C:
14752         * Painter.C:
14753         * gettext.C:
14754         * lyx_gui_misc.C:
14755         * lyxserver.C:
14756         * vspace.C: removed // -*- C++ -*- as first line.
14757
14758         * lyxfind.h:
14759         * version.h: added // -*- C++ -*- as first line.
14760
14761 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14762
14763         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14764
14765         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14766         of string
14767
14768 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14771         of floats.
14772
14773 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * gettext.C: include LString.h even when --disable-nls is on.
14776
14777 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14778
14779         * converter.h (Get): changed argument type from int to
14780         FormatList::size_type to avoid unnecessary conversion.
14781
14782         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14783         before using it.
14784
14785 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * gettext.h: include LString.h even when --disable-nls is on.
14788
14789 2001-06-07  Juergen Vigna  <jug@sad.it>
14790
14791         * text.C (BreakAgain): subst spaces with tabs.
14792
14793         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14794         (resizeInsetsLyXText): set force on resizeLyXText.
14795
14796 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * gettext.h (gettext_init):
14799         (locale_init): use a real definition instead of a macro
14800
14801 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14802
14803         * Bufferview_pimpl.C:
14804         * LColor.h:
14805         * LColor.C: further lcolor tidies
14806
14807 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14808
14809         * BufferView_pimpl.C (updateScrollbar): simplify.
14810
14811         * BufferView2.C: don't include insets/insetinfo.h, change
14812         prototype for insertInset and call the Pimpl version. let
14813         updateInset call Pimpl version.
14814
14815         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14816         gotoInset to BufferView::Pimpl
14817
14818 2001-06-01  Juergen Vigna  <jug@sad.it>
14819
14820         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14821         inside a LockingInset (is the update needed at all?).
14822
14823 2001-05-31  Juergen Vigna  <jug@sad.it>
14824
14825         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14826         here not the old one otherwise how should we compare it afterwards
14827         if it's the same!
14828
14829 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * lyxfont.C:
14832         * tabular.C:
14833         * tabular-old.C:
14834         * FontInfo.C: bring C functions into global namespace when
14835         necessary
14836
14837 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * LString.h: make sure config.h has been loaded before LString.h.
14840
14841         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14842         (one for each char read by EatLine!).
14843
14844         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14845         variables.
14846
14847 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14850         to the same as the par we break from
14851
14852 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14853
14854         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14855
14856         * MenuBackend.C (expand): also create menu entries for wide
14857         versions of the floats.
14858
14859         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14860
14861         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14862
14863         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14864         frontends/Makefile.am
14865
14866         * text2.C: adjust
14867         * text.C: adjust
14868
14869
14870         * tabular.C (getTokenValue): add std::
14871
14872         * tabular-old.C (getTokenValue): add std::
14873         (getTokenValue): ditto
14874         (getTokenValue): ditto
14875
14876         * screen.C (ToggleSelection): adjust
14877
14878         * lyxtext.h: put selection cursors inside a Selection struct.
14879
14880         * lyxfunc.C (moveCursorUpdate): adjust
14881
14882         * lyxfont.C (latexWriteStartChanges): add std::
14883
14884         * lyxfind.C: adjust
14885
14886         * font.h: delete with(char const *, LyXFont const &)
14887
14888         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14889
14890         * FontInfo.C (getFontname): add std::
14891
14892         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14893         (workAreaButtonPress): adjust
14894         (tripleClick): adjust
14895         (update): adjust
14896         (moveCursorUpdate): adjust
14897         (Dispatch): adjust
14898
14899         * BufferView2.C (gotoInset): adjust
14900
14901 2001-05-30  Juergen Vigna  <jug@sad.it>
14902
14903         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14904         to check pspell I add this as default as I now have new pspell
14905         libraries and they seem to use this.
14906
14907 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * text2.C (CutSelection): make the cursor valid before the call to
14910         ClearSelection.
14911
14912 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14915         relied on 0 terminated strings and other horrors. Bug found due to
14916         the new assert in lyxstring!
14917
14918         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14919         KP_ keys.
14920
14921 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14924         to latinkeys.bind.
14925
14926         * lyxfunc.C (processKeySym): change method of getting to the
14927         self-insert char.
14928
14929         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14930         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14931         * BufferView_pimpl.[Ch]: here as private methods.
14932
14933 2001-05-28  Juergen Vigna  <jug@sad.it>
14934
14935         * text.C (SetHeightOfRow): added the update() call again as it is
14936         needed to initialize inset dimensions!
14937
14938 2001-05-16  Juergen Vigna  <jug@sad.it>
14939
14940         * text2.C (SetCharFont): Add new function with BufferView * and
14941         bool toggleall parameters for setting insets internal fonts.
14942         (SetFont): Freeze the undo as we may change fonts in Insets and
14943         all this change should be inside only one Undo!
14944
14945         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14946         setting font's in insets as for them we have the SetFont function!
14947
14948 2001-05-15  Juergen Vigna  <jug@sad.it>
14949
14950         * text2.C (ClearSelection): to be sure we REALLY don't have any
14951         selection anymore!
14952
14953         * tabular.C (TeXCellPreamble): fixed the left border problem for
14954         multicolumn cells.
14955
14956 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14957
14958         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14959         dependancy file
14960
14961 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14964         LFUN_BREAKPARAGRAPH.
14965
14966         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14967         help test to "internal only", similar for LFUN_INSERT_URL
14968
14969         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14970         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14971         auto_region_delete and deadkeys.
14972
14973 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * LColor.h:
14976         * LColor.C: remove some dead entries, tidy a little
14977
14978 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14981         commented code.
14982         (Dispatch): implement LFUN_ESCAPE
14983
14984         * commandtags.h: add LFUN_ESCAPE
14985
14986         * LyXAction.C (init): add entry for LFUN_ESCAPE
14987
14988         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14989         Remove commented code.
14990         (insertNote): moved here
14991         (open_new_inset): moved here
14992
14993         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14994         BufferView_pimpl
14995
14996 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * kbmap.C (findbinding): clean it up and make it work correctly.
14999
15000         * lyx_main.C (init): do not pass argc and argv as parameters
15001
15002 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15003
15004         * buffer.C: fix path for OS/2 & Win32
15005
15006         * lyx_gui.C:
15007         * lyx_main:
15008         * lyx_main.C: Added os:: class.
15009
15010         * os2_defines.h: update
15011
15012 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15015         better by trying again with reduced state.
15016
15017 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * lyxrc.C (read): print error about invalid key sequence only when
15020         debugging (because not all latinX keysyms are known to some X
15021         servers)
15022
15023         * kbsequence.C (getiso): add a few std:: qualifiers
15024         (getiso): comment out extra return statement.
15025
15026 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15029         handling.
15030         (Dispatch): enhance the accent inset a bit. (not perfect)
15031
15032 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15035
15036 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * bufferlist.C (emergencyWrite): fix assert() call
15039
15040 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15041
15042         * text.C (InsertChar): Added trivial patch to only send the "you
15043         can not do multiple spaces this way" message once during a
15044         session.
15045
15046 2001-05-08  Baruch Even  <baruch@lyx.org>
15047
15048         * Makefile.am: Changed order of libraries to get LyX to link properly
15049         with the gnome frontend.
15050
15051 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * LaTeXFeatures.h: add a std:: qualifier
15054
15055 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * paragraph.C (String): use stringstream
15058
15059 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * paragraph.C (writeFile): remove footflag arg
15062
15063         * buffer.C (makeLaTeXFile): use stringstream
15064         (latexParagraphs): remove footnot gurba
15065
15066         * LaTeXFeatures.C (getPackages): use stringstream
15067         (getMacros): likewise
15068         (getTClassPreamble): likewise
15069         (getFloatDefinitions): new method
15070
15071         * paragraph.C (writeFile): reindent
15072         (Erase): reindent
15073
15074         * WorkArea.h: revert the xpos + etc changes.
15075
15076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15077
15078         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15079
15080         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15081         (pasteSelection): likewise
15082         * text2.C (CreateUndo): likewise
15083
15084 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * minibuffer.C (peek_event): temporarily reduce the functionality
15087         of the minibuffer (to allow args on lfuns)
15088
15089         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15090         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15091
15092         * buffer.C (readInset): add compability reading of old float
15093         lists, add reading of new style float list.
15094         (readInset): avoid reevaluation of inscmd.getCmdName()
15095         (getLists): reindent
15096
15097         * MenuBackend.C (MenuItem): implement parsing of
15098         md_floatlistinsert and md_floatinsert.
15099         (expand::LastFiles): move initalizaton of iterators out of loop,
15100         avoid reevaluation.
15101         (expand::Documents): introduce typdedef vector<string> Strings,
15102         and use it.
15103         (expand::ExportFormats): introduce typedef vector<Format const *>
15104         Formats, and use it.
15105         (expand): implement FloatListInsert and FloatInsert.
15106
15107         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15108         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15109         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15110
15111         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15112         handling.
15113         (Dispatch::LFUN_FLOAT_LIST): implement
15114
15115 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15116
15117         * LaTeX.C (run): Fix problem with --export code.
15118
15119 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15120
15121         * BufferView.[Ch] (workarea): removed.
15122         (getClipboard) new method; wrapper for workarea()->getClipboard()
15123
15124         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15125         bug.
15126
15127         * WorkArea.h (width, height, xpos, ypos): These methods all
15128         returned the dimensions of the work_area sub-area of WorkArea,
15129         resulting in a position error if the WorkArea were resized. Now
15130         return the dimensions of the entire WorkArea.
15131
15132         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15133
15134 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * LaTeX.C (deplog): correct the syntax of regex reg1
15137
15138 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * undo.C: remove !NEW_INSETS cruft
15141
15142 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * text2.C: remove !NEW_INSETS cruft
15145
15146         * text.C: remove !NEW_INSETS cruft
15147
15148         * tabular.C: remove !NEW_INSETS cruft
15149
15150         * spellchecker.C: remove !NEW_INSETS cruft
15151
15152         * lyxtext.h: remove !NEW_INSETS cruft
15153
15154         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15155
15156         * lyxfunc.C: remove !NEW_INSETS cruft
15157
15158         * lyxfind.C: remove !NEW_INSETS cruft
15159
15160         * lyx_cb.C: remove !NEW_INSETS cruft
15161
15162         * figureForm.C: remove  !NEW_INSETS cruft
15163
15164         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15165
15166         * buffer.[Ch]: remove !NEW_INSETS cruft
15167
15168         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15169
15170         * CutAndPaste.C: remove !NEW_INSETS cruft
15171
15172         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15173
15174         * BufferView2.C: remove !NEW_INSETS cruft
15175
15176         * BufferView.h: remove !NEW_INSETS cruft
15177
15178 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * Lsstream.h: include LString.h before the sstream headers to
15181         fix problem with gcc 2.95.3 and lyxstring
15182
15183 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * lyx_main.C: add using directives when needed for C functions
15186         declared in std:: namespace.
15187
15188 2001-04-27  Juergen Vigna  <jug@sad.it>
15189
15190         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15191         (SetHeightOfRow): comment out the update call should not be needed!
15192
15193 2001-04-13  Juergen Vigna  <jug@sad.it>
15194
15195         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15196         (LyXTabular): tried to minimize operator= operations (and realized
15197         hopfully Lars wish).
15198
15199 2001-04-27  Juergen Vigna  <jug@sad.it>
15200
15201         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15202
15203 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15206
15207         * buffer.C (readInset): hack to make listof algorithm work
15208
15209         * BufferView_pimpl.C: hack to make listof algorithm work
15210
15211 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * LyXAction.C: removed all !NEW_INSETS cruft
15214         (init): moved lfun_item in method
15215
15216         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15217
15218 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15219
15220         * BufferView2.C (theLockingInset): white space.
15221
15222 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15223
15224         * minibuffer.C: include <iostream>
15225
15226         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15227
15228         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15229
15230         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15231
15232         * text.[Ch] (TransposeChars): new method
15233
15234 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15235
15236         * call message directly through LyXView instead of through LyXFunc
15237         * BufferView2.C: adjust
15238         * BufferView_pimpl.C: adjust
15239         * FontLoader.C: adjust
15240         * buffer.C: adjust
15241         * bufferview_funcs.C: adjust
15242         * converter.C: adjust
15243         * figureForm.C: adjust
15244         * importer.C: adjust
15245         * lyx_cb.C: adjust
15246         * lyx_gui_misc.C: adjust
15247         * lyxfunc.C: adjust
15248         * lyxvc.C: adjust
15249         * text2.C: adjust
15250         + more files in subdirs
15251
15252         * lyxparagraph.h (size): move up int file
15253         (GetLayout): ditto
15254
15255         * adjust all uses of Assert to lyx::Assert.
15256
15257         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15258         lyxfunctional in namespace lyx
15259         * layout.C (hasLayout): ditto
15260         (GetLayout): ditto
15261         (GetLayout): ditto
15262         (delete_layout): ditto
15263         (NumberOfClass): ditto
15264         * converter.C (GetFormat): ditto
15265         (GetNumber): ditto
15266         (Add): ditto
15267         (Delete): ditto
15268         (SetViewer): ditto
15269         * bufferlist.C (getFileNames): ditto
15270         (emergencyWriteAll): ditto
15271         (exists): ditto
15272         (getBuffer): ditto
15273         * MenuBackend.C (hasSubmenu): ditto
15274         (hasMenu): ditto
15275         (getMenu): ditto
15276         * BufferView_pimpl.C (getInsetByCode): ditto
15277
15278 2001-04-18  Juergen Vigna  <jug@sad.it>
15279
15280         * vspace.C (asLatexString): fixed the 100% problem.
15281
15282 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15283
15284         * lyxfunc.C (Dispatch):
15285         * minibuffer.C:
15286         * minibuffer.h: add a few std:: qualifiers
15287
15288 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15289
15290         * minibuffer.[Ch]: reimplement so that commands is initiated and
15291         run from lyxfunc, simplified som handling, and made the completion
15292         and history code for complete. wip.
15293
15294         * lyxfunc.C (processKeySym): call message
15295         (miniDispatch): new temporary method
15296         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15297         (LFUN_MESSAGE): implement
15298         (LFUN_MESSAGE_PUSH): implement
15299         (LFUN_MESSAGE_POP): implement
15300         (initMiniBuffer): the initial/defualt minibuffer message.
15301
15302         * lyxfont.[Ch]: inline some more getters
15303
15304         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15305
15306         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15307
15308         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15309         (AutoSave): use LFUN_MESSAGE
15310         (Reconfigure): ditto
15311
15312         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15313
15314         * figureForm.C: use LFUN_MESSAGE
15315
15316         * converter.C (runLaTeX): use LFUN_MESSAGE
15317
15318         * bufferview_funcs.C: use LFUN_MESSAGE
15319         (Melt): ditto
15320         (changeDepth): ditto
15321
15322         * bufferparams.h: use boost::
15323
15324         * bufferlist.h: inherit privately from noncopyable
15325
15326         * bufferlist.C (loadLyXFile): remove some commented code.
15327
15328         * buffer.C (runChktex): use LFUN_MESSAGE
15329
15330         * ShareContainer.h: inherit privately from noncopyable
15331
15332         * ParagraphParameters.[hC] (depth): inline it.
15333
15334         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15335         methods.
15336         (message): new method
15337         (messagePush): ditto
15338         (messagePop): ditto
15339         (show): init minibuffer
15340         (showState): direct call
15341
15342         * LaTeX.[Ch]: inherit privately from noncopyable
15343         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15344         instead of WriteStatus.
15345
15346         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15347
15348         * BufferView_pimpl.C (buffer): don't init minibuffer
15349         (workAreaButtonPress): use LFUN_MESSAGE
15350         (workAreaButtonRelease): ditto
15351         (savePosition): ditto
15352         (restorePosition): ditto
15353         (MenuInsertLyXFile): ditto
15354         (workAreaExpose): don't init minibuffer
15355         (update): remove commented code, simplify
15356
15357         * BufferView2.C (openStuff): use LFUN_MESSAGE
15358         (toggleFloat): ditto
15359         (menuUndo): ditto
15360         (menuRedo): ditto
15361         (copyEnvironment): ditto
15362         (pasteEnvironment): ditto
15363         (copy): ditto
15364         (cut): ditto
15365         (paste): ditto
15366         (gotoInset): ditto
15367         (updateInset): remove some commented code
15368
15369         * lastfiles.h: inherit privately from noncopyable
15370         * layout.h: ditto
15371         * lyx_gui.h: ditto
15372         * lyx_main.h: ditto
15373         * lyxlex.h: ditto
15374         * lyxlex_pimpl.h: ditto
15375
15376         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15377         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15378         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15379
15380         * LyXAction.h: inherit privately from noncopyable, add methods
15381         func_begin, func_end, returning iterators to the func map.
15382
15383         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15384         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15385         (func_begin): new method
15386         (func_end): new method
15387
15388         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15389         and not)
15390         (copySelection): ditto
15391         (pasteSelection): ditto
15392
15393         * BufferView.C: whitespace change
15394         * BufferView.h: inherit privately from noncopyable
15395
15396 2001-04-16  Allan Rae  <rae@lyx.org>
15397
15398         * tabular-old.C (l_getline):
15399         * spellchecker.C (sc_check_word):
15400         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15401         an unrecognised preprocessor directive.  So ensure they're wrapped.
15402
15403 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * src/exporter.C (Export): Give an error message when path to file
15406         contains spaces.
15407
15408 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * LaTeX.C (deplog): Always check that foundfile exists.
15411
15412 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * lyx_main.h:
15415         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15416
15417 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15418
15419         * tabular.[Ch] (getLabelList): implement new method
15420
15421         * minibuffer.h: comment ouf setTiimer
15422
15423         * minibuffer.C (ExecutingCB): constify res
15424         (peek_event): constify s
15425         (Set): constify ntext
15426         (Init): constify nicename
15427
15428         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15429
15430         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15431         (savePosition): use two params to Minibuffer::Set
15432         (restorePosition): ditto
15433
15434 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyx_main.C: include language.h
15437
15438         * Makefile.am (lyx_main.o): add language.h
15439
15440 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * exporter.C:
15443         * paragraph.C:
15444         * screen.C:
15445         * tabular.C:
15446         * CutAndPaste.C: include gettext.h
15447
15448         * lyxfont.h: remove old hack with ON and OFF.
15449
15450         * lyxparagraph.h:
15451         * lyxfont.h: do not include language.h...
15452
15453         * BufferView2.C:
15454         * LaTeXFeatures.C:
15455         * Painter.C:
15456         * bufferview_funcs.C:
15457         * font.C:
15458         * lyxfont.C:
15459         * text.C:
15460         * text2.C:
15461         * trans_mgr.C:
15462         * paragraph.C: ... but do it here instead
15463
15464 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15465
15466         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15467
15468         * tabular.C: small reformat
15469
15470         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15471         NEW_INSETS version
15472         (GetChar): ditto
15473         (BreakParagraph): ditto
15474         (SetOnlyLayout): ditto
15475         (SetLayout): ditto
15476
15477         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15478         with one arg less.
15479
15480         * lastfiles.C: removed most using decl, add std:: where needed
15481
15482         * buffer.C: ws changes
15483
15484         * MenuBackend.C (class compare_format): put into anon namespace
15485         (expand): constify label, names, action, action2
15486         (expand):
15487
15488         * text.C (SingleWidth): constify font
15489         (IsBoundary): constify rtl2
15490         (GetVisibleRow): constify ww
15491
15492         * LaTeX.C (deplog): constify logfile
15493
15494         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15495         start_x, end_x
15496         (workAreaExpose): constify widthChange, heightChange
15497
15498         * lyxrow.C (par): moved
15499         (height): moved
15500         (next): moved
15501         * lyxrow.h: as inlines here
15502
15503         * lyxfont.h (shape): moved from lyxfont.C
15504         (emph): moved from lyxfont.C
15505
15506         * lyxfont.C (LyXFont): use initialization list for all
15507         constructors
15508         (shape): move to lyxfont.h as inline
15509         (emph): move to lyxfont.h as inline
15510
15511
15512 2001-04-04  Juergen Vigna  <jug@sad.it>
15513
15514         * vspace.C: had to include stdio.h for use of sscanf
15515
15516 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15517
15518         * BufferView.h:
15519         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15520         independent of xforms.
15521
15522 2001-04-02  Juergen Vigna  <jug@sad.it>
15523
15524         * spellchecker.C: fixed namespace placing!
15525
15526 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15527
15528         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15529         the LyXParagraph * is 0.
15530
15531 2001-03-29  Juergen Vigna  <jug@sad.it>
15532
15533         * vspace.C: added support for %, c%, p%, l%.
15534         (stringFromUnit): added helper function.
15535         (asLatexString): changed to give right results for the %-values.
15536
15537         * buffer.C: convert the widthp in a width%.
15538
15539 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15540
15541         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15542         figureForm.[Ch].
15543
15544         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15545         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15546
15547         * lyx_cb.[Ch]: see above.
15548
15549         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15550         form1.[Ch].
15551
15552         * form1.[Ch]:
15553         * lyx.[Ch]: replaced by figure_form.[Ch].
15554
15555         * lyx_gui.C:
15556         * lyx_gui_misc.C:
15557         * lyxfunc.C: changed headers associated with above changes.
15558
15559 2001-03-27  Juergen Vigna  <jug@sad.it>
15560
15561         * BufferView_pimpl.C: set the temporary cursor right!
15562
15563 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15564
15565         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15566
15567 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15568
15569         * LString.h: removed "using std::getline"!
15570
15571         * BufferView_pimpl.C (Dispatch): changes due to changes in
15572         InsetInclude::Params.
15573
15574         * buffer.C (tag_name): removed redundant break statements as they were
15575         producing lots of warnings with my compiler.
15576
15577 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * LString.h: add "using std::getline" when using the real <string>.
15580
15581 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15582
15583         * buffer.C: removed bitset usage.
15584         PAR_TAG moved to an anonymous name space.
15585         (tag_name): new funtion, also in the anonymous namespace.
15586         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15587         (makeDocBookFile): clean code. Completed transition from string arrays
15588         to string vectors.
15589         (SimpleDocBookOnePar): code clean.
15590
15591 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15592
15593         * tabular.C: add some comments.
15594
15595 2001-03-22  Juergen Vigna  <jug@sad.it>
15596
15597         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15598         compatibility read a bit and fixed bug with minipage in different
15599         depth.
15600
15601 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15602
15603         * buffer.C (pop_tag): removed.
15604         (push_tag): removed.
15605         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15606         array replaced with vector. Added support for CDATA sections.
15607         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15608         at any nest level.
15609         (makeDocBookFile): XML conformant declaration of CDATA section,
15610         fixed bug related to <emphasis> in the first paragraph char.
15611         (sgmlOpenTag): exclude empty tags.
15612         (sgmlCloseTag): ditto.
15613
15614         * buffer.h (pop_tag): removed.
15615         (push_tag): removed.
15616
15617 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * language.h (Languages): added size_type and size().
15620
15621 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15622
15623         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15624         response on compability reading of minipages. One probliem is that
15625         the old usage of minipages was «flertydig»
15626
15627         * several files here and in subdirs: don't use static at file
15628         scope use anon namespaces instead.
15629
15630 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15631
15632         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15633         LaTeX output. This is necessary for Literate document
15634         processing.
15635
15636 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15637
15638         * buffer.C: insert hfill when needed.
15639
15640         * tabular.C (l_getline): use string::erase, small whitespace change.
15641
15642         * BufferView_pimpl.C: try the anon namespace.
15643         * WorkArea.C: ditto
15644
15645 2001-03-16  Juergen Vigna  <jug@sad.it>
15646
15647         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15648         otherwise it won't open options-dialogs.
15649
15650         * buffer.C: honor pextraWidth(p) on converting minipages.
15651
15652         * tabular.C (l_getline): changed the functions to strip trailing \r.
15653
15654 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15655
15656         * BufferView_pimpl.C:
15657         * minibuffer..C: added "using SigC::slot" declaration.
15658
15659 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15660
15661         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15662
15663         * text2.C: ditto
15664
15665         * text.C: ditto
15666
15667         * paragraph.C: ditto
15668
15669         * lyxtext.h: NO_PEXTRA
15670
15671         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15672
15673         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15674         * ParameterStruct.h: ditto
15675         * ParagraphParameters.h: ditto
15676         * lyxparagraph.h: ditto
15677
15678 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15679
15680         * buffer.C: add compability for minipage alignment.
15681         (latexParagraphs): remove unwanted pextra check.
15682
15683         * several files: remove CXX_WORKING_NAMESPACES
15684
15685         * buffer.C (pop_tag): tie is in namespace boost
15686
15687         * BufferView.h: noncopyable is in namespace boost
15688         * lyxlex.h: ditto
15689         * lyx_main.h: ditto
15690         * lyx_gui.h: ditto
15691         * layout.h: ditto
15692         * lastfiles.h: ditto
15693         * bufferlist.h: ditto
15694         * ShareContainer.h: ditto
15695         * LyXView.h: ditto
15696         * LyXAction.h: ditto
15697         * LaTeX.h: ditto
15698
15699 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         * Merging changes from BRANCH_MVC back into HEAD.
15702
15703         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15704
15705 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15706
15707         * BufferView_pimpl.C: change from intl.C
15708
15709         * combox.h:
15710         * combox.C:
15711         * Makefile.am: move combox.*
15712
15713         * form1.h:
15714         * form1.C:
15715         * lyx_gui.C:
15716         * intl.h:
15717         * intl.C: remove dialog (covered by prefs)
15718
15719 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * lyxfunc.C (Dispatch): removed redundant break statement.
15722
15723 2001-03-14  Juergen Vigna  <jug@sad.it>
15724
15725         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15726
15727 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15728
15729         * buffer.C: add hack to fix compability reading of minipages.
15730
15731 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15732
15733         * buffer.C (getLists): Cleanup.
15734
15735 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15736
15737         * lyxfont.C (update): don't honor toggleall on font size.
15738
15739 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15740
15741         * bmtable.c:
15742         * bmtable.h:
15743         * Makefile.am: moved to frontends/xforms/
15744
15745         * lyx_gui_misc.C:
15746         * lyxfunc.C:
15747         * BufferView_pimpl.C: changes for moved mathpanel
15748
15749 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * gettext.h: fix gettext_init() in --disable-nls
15752
15753 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15756
15757 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15758
15759         * lyx.C:
15760         * lyx.h: strip external form
15761
15762 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15763
15764         * BufferView_pimpl.C: add comment, destroySplash()
15765
15766 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15767
15768         * BufferView_pimpl.C:
15769         * LyXAction.C:
15770         * buffer.C:
15771         * commandtags.h:
15772         * lyxfunc.C: use re-worked insetinclude
15773
15774 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15775
15776         * buffer.C: add using std::stringstream.
15777
15778         * lyx_cb.C: readd using std::ios.
15779
15780         * buffer.C: add using std::map.
15781
15782         * BufferView_pimpl.C: add using std::vector.
15783
15784         * ShareContainer.h: add std:: to swap.
15785
15786         * buffer.h: add some typedefs
15787         * buffer.C (getLists): use them
15788         (getLists): renamed from getTocList.
15789         add a counter for the different float types and use it in the
15790         generated string.
15791         (getLists): use the same counter for the NEW_INSETS and the "non"
15792         NEW_INSETS
15793
15794         * lyx_cb.h: remove unused items, includes, using etc.
15795
15796         * ShareContainer.h: remove some commented code, add more comments
15797         and "documentation".
15798
15799 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15800
15801         * buffer.C (getTocList): make the list also when NEW_INSETS is
15802         defined.
15803
15804         * buffer.h: remove TocType
15805
15806         * buffer.C (getTocList): change to return a map<string,
15807         vector<TocItem> >, implement for dynamic number of list.
15808
15809         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15810         * text2.C (PasteSelection): adjust
15811         * CutAndPaste.C (pasteSelection): adjust
15812
15813         * FloatList.C (FloatList): update from the new_insets branch.
15814         * Floating.[Ch]: ditto
15815         * LaTeXFeatures.C: ditto
15816         * buffer.C: ditto
15817         * lyxlex_pimpl.C: ditto
15818
15819         * paragraph.C (Last): remove when NEW_INSETS is defined.
15820
15821         * other file: changes because of the above.
15822
15823 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15824
15825         * lyxparagraph.h: rename next to next_, previous to previous_,
15826         make them private for NEW_INSETS. Rename Next() to next(),
15827         Previous() to previous().
15828
15829         * other files: changes because of the above.
15830
15831 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15832
15833         * BufferView.h:
15834         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15835         problem.
15836
15837 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * main.C (main): pass lyx_localedir to gettext_init().
15840
15841         * gettext.h: remove locale_init and gettext_init macros
15842
15843         * gettext.C (locale_init): new function
15844         (gettext_init): new function
15845
15846         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15847         setlocale().
15848
15849 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15850
15851         * Moved credits to frontends:
15852         * credits.[Ch]: removed
15853         * credits_form.[Ch]: removed
15854         * lyx_gui_misc.C: remove credits stuff
15855         * Makefile.am:
15856
15857 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15858
15859         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15860
15861         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15862         unneeded destructor.
15863
15864         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15865         a standalone pointer again.
15866
15867         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15868
15869 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15870
15871         * Makefile.am:
15872         * filedlg.h:
15873         * filedlg.C:
15874         * LyXAction.C:
15875         * ToolbarDefaults.C:
15876         * bufferlist.C:
15877         * commandtags.h:
15878         * form1.C:
15879         * form1.h:
15880         * lyx_cb.C:
15881         * lyx_cb.h:
15882         * lyxfunc.h:
15883         * lyxfunc.C:
15884         * BufferView_pimpl.C: use new file dialog in GUII
15885
15886         * lyx_cb.h:
15887         * lyx_cb.C: remove LayoutsCB to Toolbar
15888
15889 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * ShareContainer.h (get): add std:: qualifier
15892
15893 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * ShareContainer.h: define a proper ShareContainer::value_type
15896         type (and use typename to please compaq cxx)
15897
15898 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15899
15900         * lyxparagraph.h: move serveral local vars to
15901         ParameterStruct/ParagraphParameters., use ShareContainer in
15902         FontTable., make vars in FontTable private and add getter and
15903         setter.
15904
15905         * paragraph.C: changes because of the above.
15906
15907         * lyxfont.h: remove copy constructor and copy assignment. (the
15908         default ones is ok), move number inside FontBits. move inlines to
15909         lyxfont.C
15910
15911         * lyxfont.C: add number to initializaton of statics, move several
15912         inlines here. constify several local vars. some whitespace
15913         cleanup. Dont hide outerscope variables.
15914
15915         * Spacing.h: add two new constructors to match the set methods.
15916
15917         * ShareContainer.h: new file, will perhaps be moved to support
15918
15919         * ParameterStruct.h: new file
15920
15921         * ParagraphParameters.h: new file
15922
15923         * ParagraphParameters.C: new file
15924
15925         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15926         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15927
15928         * BufferView_pimpl.C: ParagraphParameter changes.
15929         * buffer.C: Likewise.
15930         * bufferview_funcs.C: Likewise.
15931         * text.C: Likewise.
15932         * text2.C: Likewise.
15933
15934 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15935
15936         * lyxfind.C (LyXReplace): do not redefine default argument in
15937         implementation.
15938         (IsStringInText): ditto
15939         (SearchForward): ditto
15940         (SearchBackward): ditto
15941
15942 2001-03-06  Juergen Vigna  <jug@sad.it>
15943
15944         * lyxfind.C (IsStringInText): put parentes around expressions.
15945
15946 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15947
15948         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15949
15950 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15951
15952         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15953
15954         * stl_string_fwd.h: add comment
15955
15956         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15957
15958         * tabular.h:
15959         * tabular.C: remove unused DocBook methods
15960
15961         * intl.C:
15962         * language.C:
15963         * paragraph.C:
15964         * buffer.C:
15965         killed DO_USE_DEFAULT_LANGUAGE
15966
15967 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * lyx_gui.C: do not include language.h.
15970
15971         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15972         arguments in function implementation.
15973
15974 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15975
15976         * BufferView_pimpl.C: add <ctime>
15977
15978 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15979
15980         * BufferView_pimpl.C: add using std::find_if
15981
15982 2001-02-27  José Matos  <jamatos@fep.up.pt>
15983
15984         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15985         by OnlyPath.
15986
15987 2001-02-11  José Matos  <jamatos@fep.up.pt>
15988
15989         * buffer.C (makeDocBookFile): command styles now have a parameter as
15990         "title" by default.
15991
15992 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15993
15994         * layout_forms.[Ch]: removed
15995         * lyx_cb.[Ch]: out character
15996         * lyx_gui.C: out character
15997         * lyx_gui_misc.C: out character
15998         * bufferview_funcs.C: : out character,
15999         added toggleall as parameter in ToggleAndShow
16000
16001 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16002
16003         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16004
16005         * text2.C (SetCurrentFont): Disable number property at boundary.
16006
16007 2001-02-26  Juergen Vigna  <jug@sad.it>
16008
16009         * lyxfunc.C (getStatus): added a string argument override function so
16010         that this is correctly called from LyXFunc::Dispatch if it contains a
16011         do_not_use_argument which is used!
16012         (Dispatch): added check for "custom" export and call appropriate func.
16013
16014 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16015
16016         * lyxrc.C: Add language_command_local, language_use_babel and
16017         language_global_options.
16018
16019         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16020
16021         * buffer.C (makeLaTeXFile): Use language_use_babel and
16022         language_global_options.
16023
16024 2001-02-23  Juergen Vigna  <jug@sad.it>
16025
16026         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16027         which works with LyXText and putted it inside BufferView. Here now we
16028         only call for that part the BufferView::Dispatch() function.
16029
16030         * BufferView.C (Dispatch): added.
16031
16032         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16033         functions which needs to use a LyXText over from LyXFunc.
16034         (MenuInsertLyXFile): added
16035         (getInsetByCode): added
16036         (moveCursorUpdate): added
16037         (static TEXT): added
16038
16039 2001-02-22  Juergen Vigna  <jug@sad.it>
16040
16041         * BufferView_pimpl.C (update): call a status update to see if LyXText
16042         needs it.
16043
16044 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16045
16046         * vc-backend.C (revert): implement for CVS
16047         (getLog): implement for CVS
16048
16049 2001-02-20  Juergen Vigna  <jug@sad.it>
16050
16051         * text2.C (ClearSelection): added BufferView param for inset_owner call
16052
16053         * lyxfunc.C (TEXT): added this function and use it instead of
16054         directly owner->view()-text of getLyXText().
16055
16056 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16057
16058         * src/layout_forms.C: out preamble
16059         * src/layout_forms.h: out preamble
16060         * src/lyx_cb.C: out preamble
16061         * src/lyx_cb.h: out preamble
16062         * src/lyx_gui.C: out preamble
16063         * src/lyx_gui_misc.C: out preamble
16064         * src/lyxfunc.C: connect with guii preamble
16065
16066 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16067
16068         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16069
16070 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16071
16072         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16073         whether to run bibtex.
16074
16075 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16076
16077         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16078
16079 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16080
16081         * Makefile.am (lyx_SOURCES): removed bibforms.h
16082
16083         * vspace.h: doxygen
16084
16085         * text.C (GetVisibleRow): make several local vars const
16086
16087         * tabular.C: small cleanup.
16088
16089         * lyxserver.C (callback): use compare instead of strncmp
16090
16091         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16092         inlines to after class or to paragraph.C
16093
16094         * lyxfont.h: remove friend operator!=
16095
16096         * converter.h: move friend bool operator< to non friend and after
16097         class def.
16098
16099         * combox.h: small cleanup
16100
16101         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16102         to inlines after class def.
16103
16104         * buffer.C (pop_tag): use string operations instead of strcmp
16105
16106         * bmtable.c: doxygen, small cleanup
16107
16108         * LaTeX.h: remove friend operator==
16109
16110 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16111
16112         * screen.C:
16113         * lyxrc.[Ch]:
16114         * lyxfunc.C:
16115         * lyxfont.[Ch]:
16116         * lyx_cb.C:
16117         * intl.[Ch]:
16118         * commandtags.h:
16119         * buffer.C:
16120         * WorkArea.[Ch]:
16121         * LyXAction.C:
16122         * BufferView_pimpl.C:
16123         * BufferView.[Ch]: remove cruft
16124
16125 2001-02-14  Juergen Vigna  <jug@sad.it>
16126
16127         * lyxfunc.C: removed #if 0 unused code
16128
16129         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16130
16131         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16132
16133         * text2.C (SetSelection): added a BufferView * parameter
16134
16135 2001-02-13  Juergen Vigna  <jug@sad.it>
16136
16137         * lyxfunc.C (Dispatch): fixed protected blank problem.
16138         * BufferView2.C (protectedBlank): added LyxText * parameter.
16139
16140         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16141         (AppendColumn): same as above for column_info.
16142
16143         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16144         (moveCursorUpdate): use a LyXText param for support of InsetText.
16145
16146         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16147         (tripleClick): ditto
16148
16149         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16150
16151         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16152
16153         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16154
16155         * text2.C (SetSelection): set correct update status if inset_owner
16156         (ToggleFree): ditto
16157
16158 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16159
16160         * tabular.C: remove some commented code.
16161
16162 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16163
16164         * BufferView_pimpl.C: call hideSplash()
16165
16166         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16167
16168         * include_form.h:
16169         * bibforms.h: remove
16170
16171         * lyxfunc.C:
16172         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16173           add LFUN_CHILD_CREATE
16174
16175         * counters.h: fix tiny typo
16176
16177         * lyx_cb.C:
16178         * lyx.h:
16179         * lyx_gui.C:
16180         * lyx.C: move splash to frontends/xforms/
16181
16182         * lyx_gui_misc.C: move Include and Bibform to frontends
16183
16184         * lyxvc.h: clarify comment
16185
16186         * vspace.C: tiny housekeeping
16187
16188 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16189
16190         * text.C (PrepareToPrint): RTL Fix.
16191
16192         * paragraph.C (GetUChar): New method.
16193         (String):  Use GetUChar.
16194
16195         * buffer.C (asciiParagraph): Use GetUChar.
16196
16197 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16198
16199         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16200
16201 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16202
16203         * buffer.h:
16204         * buffer.C: rename to getLogName(), handle
16205           build log / latex log nicely
16206
16207 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16208
16209         * MenuBackend.C:
16210         * MenuBackend.h: remove support for reference menuitem type.
16211
16212 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * BufferView_pimpl.C: housekeeping
16215         * BufferView_pimpl.h:
16216         * LyXView.h:
16217         * Makefile.am:
16218         * Timeout.C:
16219         * Timeout.h:
16220         * minibuffer.h: move Timeout GUI-I
16221
16222 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16223
16224         * lyxrc.C (read): Update converters data-structures.
16225
16226 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16227
16228         * LaTeX.h (operator!=): add operator != for Aux_Info
16229
16230 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16231
16232         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16233
16234         * LaTeXLog.C: deleted, useful code moved to Buffer
16235
16236         * buffer.h:
16237         * buffer.C: new function getLatexLogName()
16238
16239         * lyx_gui_misc.C:
16240         * lyx_gui.C:
16241         * lyxvc.C:
16242         * lyxvc.h:
16243         * lyxfunc.C: use frontends for LaTeX and VC logs
16244
16245 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16246
16247         * LaTeX.h: yet another std:: that Allan forgot.
16248
16249         * Variables.C (set): renamed from isset(), because this clashes
16250         with some HP-UX macros (grr).
16251
16252 2001-02-06  Allan Rae  <rae@lyx.org>
16253
16254         * LaTeX.h: Another bug fix.  Missing std:: this time.
16255
16256 2001-02-04  Allan Rae  <rae@lyx.org>
16257
16258         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16259         floats problem. I've left it commented out because it's not quite
16260         correct.  It should also test that the current object is a table or
16261         figure inset.  But I haven't gotten around to figuring out how to do
16262         that.  I *think* it'll be something like: "table" == inset.type()
16263
16264         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16265         bool.
16266
16267 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16268
16269         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16270         all the citation/databases/styles in the auxilary file.
16271         (run): Rerun latex if there was a babel language error.
16272
16273 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16274
16275         * text.C (Backspace): Preserve the font when changing newline char
16276         with a space.
16277         (BreakParagraph): If the cursor is before a space, delete the space.
16278
16279         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16280
16281 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16284         new argument (code).
16285         (ChangeCitationsIfUnique): New method.
16286
16287         * paragraph.C (GetPositionOfInset): Handle bibkey.
16288
16289 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * BufferView_pimpl.h: change type of Position::par_pos to
16292         LyXParagraph::size_type.
16293
16294 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16295
16296         * BufferView_pimpl.C (savePosition, restorePosition): Write
16297         messages to minibuffer.
16298
16299 2001-01-28  José Matos  <jamatos@fep.up.pt>
16300
16301         * buffer.C (makeDocBookFile): adds support for document language.
16302         A silly restriction on the name of LatexCommand types where removed.
16303         Added support for CDATA sections, allows to chars unescaped, used
16304         among others in code, to avoid escape < and >.
16305
16306 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16309         saved positions instrad of a stack. Furthermore, a position is
16310         stored using paragraph id/paragraph position.
16311
16312         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16313         Remove LFUN_REF_BACK.
16314
16315 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * converter.C (dvipdfm_options): New method.
16318
16319 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * vspace.C (isValidLength): Fix for empty input string.
16322
16323 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16324
16325         * LyXAction.C (init): change description of LFUN_FIGURE to
16326         "Insert Graphics"
16327
16328 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16329
16330         * LaTeX.C: add using directive
16331
16332 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16333
16334         * MenuBackend.C (expand): Fix the sorting of the formats.
16335
16336 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16337
16338         * lyx_main.C: tiny error message fix
16339
16340 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16343         calling fl_initialize(). This fixes the problem with ',' as
16344         decimal separator in text files.
16345
16346 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16347
16348         * trans.C (process): Fix the keymap bug.
16349
16350 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * LaTeX.C (scanAuxFiles): New method. Provides support for
16353         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16354         (scanLogFile) Scan for "run BibTeX" messages.
16355
16356         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16357         OT1 font encoding. Also, load the aecompl package if the ae
16358         package is loaded.
16359
16360         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16361
16362 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * texrow.C (increasePos): turn two error messages into debug
16365         messages.
16366
16367 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16368
16369         * LaTeX.C (scanAux): Handle the \@input macro.
16370         (runBibTeX): Use scanAux().
16371
16372         * language.C (latex_options_): New field.
16373
16374         * LaTeXFeatures.C (getMacros): Add language macros.
16375
16376         * buffer.C (makeLaTeXFile): Small fix.
16377
16378 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16379
16380         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16381
16382         * text2.C: add a using directive.
16383
16384 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16385
16386         * BufferView2.C:
16387         * lyx_gui_misc.h:
16388         * lyxfr1.C:
16389         * lyxfunc.C: kill LyXBell.
16390
16391 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16392
16393         * text.C (IsBoundary): Remove the error message
16394
16395         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16396
16397         * lyxrc.C (setDefaults): Correct initialization value for
16398         font_norm_type.
16399
16400 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16401
16402         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16403         gotoError().
16404
16405         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16406         and GotoNextNote().
16407
16408         * src/LyXAction.C: Added reference-next.
16409
16410         * text.C (InsertChar): Use contains instead of strchr.
16411
16412         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16413
16414 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16415
16416         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16417         alignment commands (when needed).
16418
16419         * text.C (InsertChar): Add ':' to number separator chars.