]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
69d28446697b5bd82e2adcabaca955da5b07fc7f
[lyx.git] / src / ChangeLog
1 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
4
5 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * lyxfunc.C (dispatch): remove the verbose argument
8         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
9         instead
10
11         * kbmap.C (defkey): set the origin of func to KEYBOARD
12
13         * MenuBackend.C (MenuItem): 
14         * ToolbarBackend.C (add): set the origin of func to UI
15
16         * funcrequest.[Ch]: add origin member, which indicates which part
17         of LyX requests an action
18
19 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * converter.C (move): don't lie in the error message
22         * converter.h (isReachable, move): document
23
24 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
25
26         * buffer.C: remove unused using lyx::support::atoi
27         * paragraph_funcs.C: ditto
28
29 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * bufferlist.C (exists): use bind and equal_to instead of
32         compare_memfun
33         (getBuffer): ditto
34         * lyxtextclasslist.C (NumberOfClass): ditto
35
36         * cursor.C (insert): use for_each instead of explicit for loop
37
38         * bufferlist.C (getFileNames): use std::transform and
39         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
40
41         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
42         for loop
43
44         * buffer.C (changeLanguage): use for_each instead of explicit for
45         loop
46         (hasParWithID): implement using getParFromID
47
48         * LaTeXFeatures.C: ws change only
49
50         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
51         to cleanup a bit.
52
53         * BufferView_pimpl.C (trackChanges): use for_each instead of
54         expilicit for loop
55
56 2004-11-04  André Pönitz  <poenitz@gmx.net>
57
58         * undo.h:
59         * undo.C (textUndoOrRedo): fix crash when creating undo information.
60
61         * dociterator.C (asDocIterator): use hard assert again.
62
63 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * lyxlength.C (asLatexString): rewrite so that it does not use
66         snprintf anymore
67
68 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * text3.C (specialChar, dispatch): make sure cursor moves to the
71         right after inserting an inset
72
73 2004-11-02  José Matos  <jamatos@lyx.org>
74
75         * output_docbook.C (docbook):
76         * paragraph.C (getID):
77         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
78         garantee that the output is always legal.
79
80         * tabular.C (docbook):
81         * outputprams.[Ch]: remove mixed contents.
82
83 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
84
85         * text2.C (setCounter): prevent endless loop
86
87 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * exporter.C (copyFile): use the mover instead of support::copy()
90         * exporter.C (Export): pass format and latex name to copyFile()
91         * exporter.h (addExternalFile): document
92         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
93
94 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
97
98 2004-10-30  José Matos  <jamatos@lyx.org>
99
100         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
101         text and no inset or font change. This allows to use CDATA
102         sections just for the whole paragraph.
103
104 2004-10-30  José Matos  <jamatos@lyx.org>
105
106         * paragraph.C (getFirstWord): remove unused variable.
107
108 2004-10-30  José Matos  <jamatos@lyx.org>
109
110         * paragraph.C (getFirstWord): the content should always be escaped
111         there.
112         (simpleDocBookOnePar):
113         * output_docbook.C (makeEnvironment): replace reference to CDATA
114         to style pass_thru.
115
116 2004-10-30  José Matos  <jamatos@lyx.org>
117
118         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
119
120 2004-10-30  José Matos  <jamatos@lyx.org>
121
122         * output_docbook.C (makeParagraphs):
123         * paragraph.[Ch] (emptyTag): for docbook and company, if the
124         standard paragraph has only a given type of content drop the wrapper.
125
126 2004-10-29  José Matos  <jamatos@lyx.org>
127
128         * output_docbook.C (makeEnvironment):
129         * sgml.C (openTag):
130         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
131
132 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
133
134         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
135         (cleanID): sanitize any id.
136
137 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * buffer.C, lyxlex_pimpl.C:
140         * lyxlex_pimpl.C (setFile):
141         s/getExtFromContents/getFormatFromContents/
142
143 2004-10-28  José Matos  <jamatos@lyx.org>
144
145         * output_docbook.C (makeEnvironment): move id to broadest possible
146         scope.
147
148         * sgml.C (openTag): apply substitution of <> for all attributes.
149
150 2004-10-28  José Matos  <jamatos@lyx.org>
151
152         * buffer.C (makeLinuxDocFile, makeDocBookFile):
153         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
154         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
155
156         * sgml.[Ch]: new version for open and closeTag for paragraph and
157         for strings. Now they handle the ids of paragraphs.
158
159 2004-10-26  Angus Leeming  <leeming@lyx.org>
160
161         * Makefile.am: add mover.[Ch].
162
163         * converter.C (convert, move): use the new Movers to move external
164         files to the temp directory.
165
166         * lyx_main.C (init): ensure that the global system_movers data
167         is initialised.
168
169         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
170         preferences file.
171
172         * mover.[Ch]: new files, defining a Mover as a utility to move an
173         external file between directories and, if necessary, manipulate this
174         file using a helper script.
175
176 2004-10-25  José Matos  <jamatos@lyx.org>
177
178         * output_docbook.C (makeCommand): merge two if's that tested the
179         same condition.
180
181 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * sgml.C (escapeString): fix warning in a better way
184
185 2004-10-25  José Matos  <jamatos@lyx.org>
186
187         * sgml.C (escapeString): import the require boosts header file for
188         tie, and avoid a signed unsigned comparison.
189
190 2004-10-25  José Matos  <jamatos@lyx.org>
191
192         * sgml.h: add #include <string>
193
194 2004-10-25  José Matos  <jamatos@lyx.org>
195
196         * sgml.[Ch] (escapeString): new function to escape all the string.
197
198 2004-10-24  José Matos  <jamatos@lyx.org>
199
200         * paragraph.[Ch] (getFirstWord): new function to get the first
201         word. Useful for description.
202         (simpleDocBookOnePar): remove depth argument, add another that
203         says where to start the paragraph.
204
205         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
206         use the new functions to fix cleanly the support for descriptions.
207
208 2004-10-24  José Matos  <jamatos@lyx.org>
209
210         * buffer.C (makeLinuxDocFile, makeDocBookFile):
211         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
212         * output_linuxdoc.C (linuxdocParagraphs):
213         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
214         add buffer as argument.
215
216 2004-10-24  José Matos  <jamatos@lyx.org>
217
218         * output_docbook.C (makeEnvironment, searchEnvironment): place
219         CDATA inside paragraphs and fix scope for listitems.
220
221 2004-10-24  José Matos  <jamatos@lyx.org>
222
223         * output_docbook.C: remove using statement for stack.
224
225 2004-10-23  José Matos  <jamatos@lyx.org>
226
227         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
228         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
229         docbook. The new scheme is recursive and makes use of iterators, the
230         same as latex export works.
231         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
232         directly with the paragraph contents. This code was moved up to
233         output_docbook.C (docbookParagraphs).
234         * sgml.C (openTag, closeTag): removed unneeded newlines.
235         (closeEnvTags) removed.
236
237 2004-10-23  André Pönitz  <poenitz@gmx.net>
238
239         * undo.C (textUndoOrRedo):
240         * dociterator.C (asDocIterator): work around crash
241
242         * cursor.C (getStatus): replace ASSERT by more verbose error message
243           and manual correction of the problem. Should increase stability
244           while providing more sensible information.
245
246 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
249
250         * bufferlist.C (previous, next): new methods
251
252         * lfuns.h:
253         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
254
255 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
256
257         * buffer.C (makeDocBookFile): add dsssl stylesheet control
258         entities to preamble.
259
260 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
261
262         * messages.C (Pimpl): strip off translation context information
263
264 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
267         the cursor is correct (bug 1694)
268
269 2004-10-13  José Matos  <jamatos@lyx.org>
270
271         * output_docbook.C (docbookParagraphs): fix closing tags in the
272         end of the document.
273
274 2004-10-09  José Matos  <jamatos@lyx.org>
275
276         * buffer.C: format up to 237.
277         * bufferparams.C (write): use tostr to convert booleans to strings.
278
279 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
280
281         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
282
283 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * LaTeX.C: implement use of babel language in xindy.
286
287 2004-10-05  José Matos  <jamatos@lyx.org>
288
289         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
290         Add new translators to help reading and writing the lyx file.
291
292 2004-10-05  José Matos  <jamatos@lyx.org>
293
294         * ParagraphParameters.C (read):
295         * text.C (readParToken): replace nexToken by more appropriate lex
296         methods.
297
298 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
299
300         * LaTeX.C (runMakeIndex):
301         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
302         (usually 'makeindex') configurable.
303
304         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
305         with a variable rather than with a number.
306
307 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * output_latex.C (TeXOnePar): make sure font setting is the first
310         thing that gets output (and the last at the end). Should fix bug
311         1404.
312
313 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
314
315         * pch.h: use proper signal include
316
317         * LaTeX.h: Use preferred calling of Boost.Signal
318         * buffer.h: ditto
319
320 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
321
322         * pch.h: dont include <boost/function/function0.hpp>
323
324         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
325
326         * paragraph_pimpl.h: remove usage of ShareContainer
327
328         * paragraph_pimpl.C: remove initialization of ShareContainer.
329
330 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         Fix bug #1666
333
334         * BufferView.C (putSelectionAt): change the semantics when
335         backwards == true: now, this just swaps cursor and anchor wrt the
336         forward case
337
338         * BufferView.h (putSelectionAt): add some documentation
339
340         * lyxfind.C (findBackwards): rewrite using while(). In particular,
341         make sure backwardChar is done at least once (to avoid getting
342         stuck)
343         (findNextChange): use putSelectionAt in the forward direction
344         (operator()): use Paragraph::isWord
345
346 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
347
348         * Spacing.C (set): c_str fix
349
350 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * lyx_cb.C (Reconfigure): quote the name of configure script in
353         case it contains spaces
354
355 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
356
357         * client: new dir
358
359         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
360         (BOOST_LIBS): use top_buildir when looking for the file
361
362 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * pch.h: do not use include boost/format.hpp, multiple symbols
365                 will result (gcc bug)
366
367
368 2004-08-23  José Matos  <jamatos@lyx.org>
369
370         * bufferparams.C (readToken): fix reading of the author field.
371
372 2004-08-20  José Matos  <jamatos@lyx.org>
373
374         * lyxrc.C: remove support/translator.h inclusion since it is not used.
375
376 2004-08-20  José Matos  <jamatos@lyx.org>
377
378         * lyxlex.[Ch] (findToken): remove function.
379
380         * ParagraphParameters.C (findToken):
381         * bufferparams.C (findToken): replace call for previous function
382         with local copy. This local function has one more argument, the
383         read string argument.
384
385 2004-08-16  José Matos  <jamatos@lyx.org>
386
387         * ParagraphParameters.C (write):
388         * Spacing.C (writeFile):
389         * bufferparams.C (writeLaTeX):
390         * lyx_cb.C (Reconfigure):
391         * paragraph.C (write):
392         * tabular.C (write): remove unnecessary space at end of line.
393
394
395 2004-08-16  José Matos  <jamatos@lyx.org>
396
397         * text.C (readParagraph): remove debug message.
398
399 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
402         crash
403
404         * output_plaintext.C (asciiParagraph): set depth correctly
405
406         * outputparams.h: add member depth
407
408         * paragraph_funcs.C (ownerPar): remove.
409
410         * text2.C (setCounter): remove first_pit; comment out some
411         non-working code that uses ownerPar
412
413         * BufferView.C (getParentLanguage): remove. Not used anymore, and
414         uses ownerPar
415
416 2004-08-16  José Matos  <jamatos@lyx.org>
417
418         * text.C (readParToken, readParagraph, read): report all unknown tokens.
419         For the same level of importance use the same chanel to report problems.
420         (read): add code to deal with \begin_body and \end_body.
421
422
423 2004-08-15  José Matos  <jamatos@lyx.org>
424
425         * lyxlex.C (getString): fix comment, buffer::readBody is now
426         buffer:readDocument.
427
428         * tex-strings.C (string_papersize): Default -> default,
429         Custom -> custom, for consistency with other options.
430
431 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
432
433         * pch.h: new file
434
435         * Makefile.am: support pch
436
437 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * text.C (readParToken): remove the static LyXFont variable and
440         pass it as a parameter instead. This fixes a nasty bug where an
441         inset will be inserted with a bad font in some situations
442         (readParagraph): adapt
443
444         * text2.C (setCounter): reduce number of calls to pars_[pit]
445
446         * text.C (singleWidth): add an assert, fix a test
447
448         * rowpainter.C (paintText): reduce number of calls to singleWidth
449
450         * paragraph.C (isHfill):
451         (isNewline): ws only
452
453 2004-08-14  André Pönitz  <poenitz@gmx.net>
454
455         * text.C:
456         * text2.C:
457         * rowpainter.C:
458         * lyxtext.h (several functions): use a Paragraph & argument
459         instead of par_type
460
461 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * metricsinfo.h: add a new field ltr_pos to PainterInfo
464
465         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
466
467         * text.C (singleWidth): remove useless test
468
469 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * tabular.h: remove bogus comments
472
473         * tabular.C (getDescentOfRow):
474         (isPartOfMultiColumn): add assertions
475
476         * lyxlength.C (inPixels): remove #warning
477
478 2004-08-14  André Pönitz  <poenitz@gmx.net>
479
480         * paragraph.h: inline getChar()
481
482         * BufferView.h: remove unused declarations
483
484 2004-08-14  José Matos  <jamatos@lyx.org>
485
486         * Buffer.[Ch] (readDocument): new name for old readBody.
487         * Buffer.C: new file format, new keywords: \begin_document,
488         \begin_header, \begin_body, \end_body.
489
490         * bufferparams.C (readToken): replace all calls to lex.nextToken
491         by lex.next(). Do the same to eatLine except where really needed.
492
493         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
494         line when writing to the lyx file.
495
496         * output_plaintext.C (asciiParagraph): fix Bibliography style
497         handling.
498
499         * text.C (read): fix end of file handling.
500
501 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * MenuBackend.C (Menu::operator[]): new method to access
504         individual menu items
505         (Menu::hasFunc): new method. search for an item that corresponds
506         to a given func
507         (MenuBackend::specialMenu): new method
508         (MenuBackend::expand): if a special menu has been set, skip
509         entries whose func() appears in this menu
510
511 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
512
513         * text3.C: use Debug::DEBUG a bit more
514
515         * text.C (leftMargin): try to simplify a tiny bit change var x to
516         l_margin. Dont output the wide margins always.
517         (rightMargin): no margin in inner texts
518
519         * rowpainter.h (nestMargin): new func
520         (changebarMargin): new func
521         (rightMargin): new func
522
523         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
524         now functions.
525         (paintLast): ditto
526
527         * factory.C (createInset): modify setDrawFrame
528
529         * cursor.C: use Debug::DEBUG a bit more
530
531 2004-08-14  André Pönitz  <poenitz@gmx.net>
532
533         * coordcache.[Ch]:
534         * Makefile.am: new files to accomodate an 'external' (x,y)-position
535         cache for all insets in (at least partially) visible (top-level)
536         paragraphs.
537
538         * BufferView_pimpl.C: reset external coord cache before every update.
539         This means the coord cache only contains valid entries.
540
541 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
542
543         bug 1096
544         * BufferView_pimpl.C (getInsetByCode): move function out of class
545         and change in to a template in anon namespace. Also fix to do what
546         suits us better.
547
548 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
549
550         bug 1305
551         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
552         of char
553         (breakParagraph): rename par to par_offset and use a local
554         reference. Add code to keep the language over a rebreak.
555         (breakParagraphConservative): rename par to par_offset, use a
556         local reference
557         (mergeParagraph): ditto
558         (outerHook): ditto
559         (isFirstInSequence): ditto
560         (outerFont): rename pit to par_offset
561
562         * paragraph.C: ws change
563         * paragraph.h: ditto
564         * text3.C: ditto
565         * text.C: ditto
566
567 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
570         treatment for ']'
571
572         * paragraph.C (simpleTeXOnePar): when we have a \item with
573         optional argument, enclose the argument with curly brackets (in
574         case it contains a closing square bracket)
575
576         * text2.C (editXY):
577         * text2.C (editXY):
578         * text3.C (checkInsetHit): constify
579
580 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
583         documents (bug 1629)
584
585 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         Fix toggling of collapsable insets with the mouse (bug 1558)
588
589         * lyxfunc.C (dispatch): adapt to LCursor changes
590
591         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
592         make sure that dispatch is not invoked twice
593
594         * cursor.C (needsUpdate): new method
595         (dispatch): return void
596         (result): new method, to access the DispatchResult of the cursor.
597
598 2004-08-13  José Matos  <jamatos@lyx.org>
599
600         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
601
602 2004-08-13  André Pönitz  <poenitz@gmx.net>
603
604         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
605
606         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
607           multiple cells
608
609 2004-08-12  André Pönitz  <poenitz@gmx.net>
610
611         * text3.C: take out the 'cursor right' form insertInset and only
612         do it in those places when it is really needed. Fixes crash on
613         C-m...
614
615 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
618
619         * BufferView_pimpl.C (setBuffer): initialize the current font of
620         the underlying LyXText
621
622 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * kbsequence.C (print): use UI native formatting for menu
625         shortcuts
626
627         * text.C (insertChar): call Paragraph::insertChar with a font
628         argument (cosmetic)
629
630         * paragraph.C (insertInset, insertChar): the version that takes a
631         LyXFont argument is now a wrapper around the other one (the
632         opposite used to be true).
633
634         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
635         argument. Font setting is done in Paragraph now.
636
637 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * outputparams.h: add new members intitle and lang.
640
641         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
642         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
643
644 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * text3.C (dispatch): remove special handling of button 4 and 5,
647         it is now taken care of in the frontend code.
648
649 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
650
651         * Spacing.h: add <string> (STLPort compile fix)
652
653 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
654
655         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
656
657 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
658
659         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
660         to bool.
661
662         * converter.C (showMessage): inherit from unary_function, make
663         operator() const.
664
665         * buffer.C (writeFile): initialize retval
666
667         * InsetList.h: rename private variable list to list_
668         * InsetList.[Ch]: adjust accordingly.
669
670 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
671
672         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
673         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
674         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
675         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
676         * ParagraphParameters.C, LaTeXFeatures.C: replace
677         "support/std_sstream.h" with <sstream>
678
679 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
680
681         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
682         * lyxsocket.C (LyXServerSocket): ditto
683         (serverCallback): ditto
684
685 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
686
687         * LaTeXFeatures.C: check release date when loading jurabib.
688
689 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
690
691         * lyxserver.C (startPipe): call register_socket_callback
692         (endPipe): call unregister_socket_callback
693
694 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
695
696         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
697         (LyXServerSocket): register the callback
698         (LyXServerSocket): unregister the callback
699         (fd): delete function
700         (serverCallback): improve error checking and setup the callbacks.
701         (dataCallback): change arg to fd.
702         (writeln): new func (copied fro the client socket) used for server
703         write to client.
704         (LyXDataSocket): simplify
705         (~LyXDataSocket): close ann unregiser callback
706         (server): delete function
707         (fd): delete function
708         (readln): small changes, improve some std::string usage
709         (writeln): constify a bit
710
711 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
714         Qt frontend
715
716 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
717
718         * BufferView_pimpl.C (setBuffer): set the layout combox value only
719         after it has been populated
720
721 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * text2.C (insertInset): move cursor when inserting inset.
724
725 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * kbmap.C (findbindings): a couple of new methods. returns a
728         container of kb_sequence objects. The real work is done by the
729         private recursive version
730         (printbindings): uses findbindings to print out a bracketed list
731         of bindings (renamed from findbinding).
732
733         * MenuBackend.C (binding): use kb_keymap::findbindings
734
735         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
736
737 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
740
741 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * paragraph.C (isWord): return true on insets that report
744         isLetter().
745
746         * text.C (getWord): use Paragraph::isWord to decide what is in a
747         word and what is not; fix bug 1609.
748
749 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
750
751         * tex-strings.C: add "none" to string_paperpackages[], fixes
752         off-by-one-error in the paperpackage selection.
753
754         * lyxlex.[Ch]:
755         * tex-strings.[Ch]: char const * string[n]
756         -> char const * const string[]
757
758 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
759
760         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
761         command, return early.
762
763 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
764
765         * debug.h: add DEBUG to enum and fix size of ANY.
766
767         * debug.C: add support for Debug::DEBUG
768         (showTags): cast errorTags.level to unsigned int
769
770         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
771         (redoCurrentBuffer): ditto
772         (updateScrollbar): ditto
773         * cursor.C (dispatch): ditto
774         * text2.C (setLayout): ditto
775         (setFont): ditto
776         (updateCounters): ditto
777         (editXY): ditto
778         (deleteEmptyParagraphMechanism): ditto
779
780 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
783         annotations to cleanup the Makefile slightly.
784
785 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * lyxrc.C: do not set user_email to a default value but use empty
788         instead. The entry used to be translated, which does not work
789         since at the point where lyxrc is constructed there is no
790         translation service available
791
792         * messages.C (getLocaleDir): remove and use directly
793         lyx_localedir() instead
794
795 2004-06-02  Angus Leeming  <leeming@lyx.org>
796
797         Fix crash caused by dereferencing null pointer 'exportdata' in
798         OutputParams by creating a new ExportData variable on the heap,
799         storing it in a boost::shared_ptr.
800         The crash was triggered when generating an Instant Preview
801         of an external inset.
802
803         * Makefile.am: add outputparams.C
804
805         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
806         (c-tor): allocate memory to it.
807
808         * exporter.C (c-tor): associated changes.
809
810 2004-06-01  Angus Leeming  <leeming@lyx.org>
811
812         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
813         contains data before calling isInset(0). (Bug 1513.)
814
815 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
816
817         * exporter.C (checkOverwrite): new method
818         * exporter.C (copyFile): new method
819         * exporter.C (Export): copy referenced files to the document dir
820         * exporter.[Ch]: new class ExportedFile
821         * exporter.[Ch]: new class ExportData. Contains currently the
822         names of referenced external files
823         * outputparams.h: add exportdata member.
824
825 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
828         version.C-tmp
829
830 2004-05-19  Angus Leeming  <leeming@lyx.org>
831
832         * LaTeXFeatures.C:
833         * ToolbarBackend.C:
834         * bufferparams.C:
835         * lyxfunc.C: small changes due to the introduction of namespace
836         lyx::frontend and the moving of namespace biblio to lyx::biblio.
837
838 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
839
840         * text3.C (dispatch): supress update when only moving the cursor
841         * cursor.C (selHandle): remove commented code
842
843 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
844
845         * paragraph.C (startTeXParParams): correct column count
846         * CutAndPaste.C (pasteSelection): remove const_cast
847         * output_docbook.C (docbookParagraphs): remove const_cast
848         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
849         const_cast and return ParagraphList::const_iterator
850         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
851         * output_plaintext.C (writeFileAscii): remove const_cast
852         * paragraph.[Ch] (simpleTeXOnePar): make const
853         * paragraph_funcs.C (outerPar): use const iterators
854         * paragraph_pimpl.C (validate): use const iterators
855         * text.C (setHeightOfRow): use const iterators
856
857 2004-05-17  Angus Leeming  <leeming@lyx.org>
858
859         * lfuns.h:
860         * LyXAction.C (init): new LFUN_INSET_REFRESH.
861
862         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
863         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
864         if the citation engine has changed.
865
866 2004-05-14  José Matos  <jamatos@lyx.org>
867
868         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
869         if the textclass does not provide it. Have it different for sgml and
870         xml.
871         support the language of document.
872         * output_docbook.C (docbookParagraphs):
873         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
874         first anchor as the id of the paragraph, remove special case code.
875         * sgml.C (escapeChar): escape only < & >.
876
877 2004-05-14  Angus Leeming  <leeming@lyx.org>
878
879         * bufferparams.h: move biblio::CiteEngine enum here to minimize
880         dependencies on src/frontends/controllers/biblio.h. Define a
881         CiteEngine_enum wrapper class to enable the enum to be forward
882         declared.
883
884 2004-05-12  Angus Leeming  <leeming@lyx.org>
885
886         * buffer.C: up LYX_FORMAT to 234.
887         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
888         use_numerical_citations with a single biblio::CiteEngine cite_engine
889         variable.
890         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
891
892 2004-05-13  José Matos  <jamatos@lyx.org>
893
894         * converter.h:
895         * converter.C (Converter, readFlags): add xml member.
896         * outputparams.h: add XML flavor.
897         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
898
899 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * lyxfunc.C (dispatch):
902         (getStatus): fix handling of LFUN_SEQUENCE
903
904 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * debug.C (showLevel): do not forget the end-of-line marker
907
908 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * kbmap.C (read): do not stop parsing a bind file when an error
911         occurs (bug 1575)
912
913 2004-04-29  Angus Leeming  <leeming@lyx.org>
914
915         * cursor.C:
916         * factory.C:
917         * pariterator.C:
918         * text2.C: wrap a bunch of #warning statements
919         inside #ifdef WITH_WARNINGS blocks.
920
921 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
922
923         * buffer.C: increment format to 233.
924
925 2004-04-28  Angus Leeming  <leeming@lyx.org>
926
927         * BufferView_pimpl.C:
928         * lyxfunc.C:
929         * text3.C:
930         s/updateToolbar()/updateToolbars()/
931         s/Toolbar.h/Toolbars.h/
932
933 2004-04-28  Angus Leeming  <leeming@lyx.org>
934
935         * BufferView.[Ch] (c-tor):
936         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
937         No longer passes these data to the WorkArea generator.
938
939 2004-04-28  Angus Leeming  <leeming@lyx.org>
940
941         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
942
943 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
944
945         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
946
947 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * output_latex.C (TeXEnvironment): make sure that there is a line
950         break before \end{foo} for the last paragraph of a document
951         (TeXOnePar): if the paragraph is at the end of the document (or
952         inset) and the language has to be reset, then make sure that the
953         line break is _before_ the language command, not after (fixes bug
954         1225); also make sure that the language reset command is the first
955         thing after the paragraph (to ensure proper nesting of
956         environments and thus fix bug 1404)
957
958 2004-04-21  John Levon  <levon@movementarian.org>
959
960         * ToolbarBackend.h:
961         * ToolbarBackend.C: make "name" be a programmatic name
962         and a gui_name field.
963
964         * lyxfunc.C: display the minibuffer on M-x
965
966 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
969         (bug 1526)
970
971 2004-04-19  Angus Leeming  <leeming@lyx.org>
972
973         * BufferView_pimpl.C (setBuffer): changed preview interface.
974
975         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
976         possible values.
977
978 2004-04-19  John Levon  <levon@movementarian.org>
979
980         * BufferView_pimpl.C:
981         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
982
983 2004-04-05  Angus Leeming  <leeming@lyx.org>
984
985         * text.C (redoParagraphs): add call to updateCounters(), thereby
986         fixing the missing "Figure #:" label from the caption of a
987         figure float.
988
989 2004-04-13  Angus Leeming  <leeming@lyx.org>
990
991         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
992         cursor is clicked out of an inset.
993
994 2004-04-13  Angus Leeming  <leeming@lyx.org>
995
996         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
997         than an InsetOld one.
998
999 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1000
1001         * format.[Ch]: add editor to Format
1002         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1003         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1004
1005 2004-04-08  André Pönitz  <poenitz@gmx.net>
1006
1007         * metricsinfo.h: remove PainterInfo::width member
1008
1009 2004-04-08  Angus Leeming  <leeming@lyx.org>
1010
1011         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1012         "\providecommand" rather than "\newcommand", thereby preventing
1013         clashes with packages that define "\boldsymbol" themselves.
1014         Eg, beamer.
1015
1016 2004-04-08  Angus Leeming  <leeming@lyx.org>
1017
1018         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1019         thereby squashing an unnecessary warning.
1020
1021 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1022
1023         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1024         setBuffer()
1025
1026 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1027
1028         * BufferView.C (setCursor): call redoParagraph (some insets could
1029         have been opened)
1030         (putSelectionAt): remove the 'double update' trick
1031
1032         * BufferView_pimpl.C (fitCursor): call refreshPar
1033         (workAreaDispatch): remove an uneeded update call
1034         (dispatch): remove some manual update calls
1035
1036         * cursor.[Ch]: remove cached_y_, updatePos
1037         (selHandle): set noUpdate when appropriate
1038
1039         * lyxfunc.C (dispatch): track if we need an update
1040
1041         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1042
1043         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1044         (paintSelection): cheap optimization, do not call cursorX when not
1045         needed
1046         (paintPars): change signature
1047         (refreshPar): add
1048         (paintText): adjust
1049         (paintTextInset): adjust
1050
1051         * text.C: adjust
1052
1053 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * lengthcommon.C: compilation fix: remove explicit array size from
1056         unit_name[] and friends
1057
1058 2004-04-05  Angus Leeming  <leeming@lyx.org>
1059
1060         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1061
1062         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1063         present only for the preferences dialog.
1064         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1065
1066 2004-04-05  Angus Leeming  <leeming@lyx.org>
1067
1068         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1069         to enable the frontends to export changes to lyxrc correctly.
1070
1071         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1072
1073 2004-04-07  André Pönitz  <poenitz@gmx.net>
1074
1075         * cursor.[Ch] (selClear, adjust): remove math
1076
1077         * cursor_slice.C: more agressive assert
1078
1079         * lyxfunc.C:
1080         * BufferView_pimpl.C: rework mouse event dispatch
1081
1082         * dociterator.C:
1083         * paragraph.C:
1084         * text2.C:
1085         * text3.C: adjust
1086
1087 2004-04-05  André Pönitz  <poenitz@gmx.net>
1088
1089         * cursor.[Ch] (valign, halign...): remove unneeded functions
1090
1091 2004-04-05  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyxlength.[Ch] (unit_name et al.): const-correct.
1094
1095 2004-04-05  Angus Leeming  <leeming@lyx.org>
1096
1097         * BufferView_pimpl.C:
1098         * buffer.C:
1099         * counters.C:
1100         * cursor.C:
1101         * lyxfunc.C
1102         * paragraph.C:
1103         * pariterator.C:
1104         * text.C:
1105         * text2.C:
1106         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1107
1108 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1111
1112 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1115         * BufferView_pimpl.[Ch] (getStatus)
1116         * BufferView.[Ch] (getStatus): add
1117         * lyxfunc.C (getStatus): move lfuns handled in
1118         BufferView::dispatch to te function above
1119         * Cursor.C (setSelection): set selection() = true
1120
1121 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1122
1123         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1124
1125 2004-03-31  Angus Leeming  <leeming@lyx.org>
1126
1127         * lyxfunc.C (dispatch): Fall through to the generic
1128         Dialogs::show("preamble").
1129
1130 2004-03-31  Angus Leeming  <leeming@lyx.org>
1131
1132         * lyxfunc.C (dispatch): Fall through to the generic
1133         Dialogs::show("spellchecker").
1134
1135 2004-03-31  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1138         preferences dialog.
1139
1140 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1141
1142         * BufferView.C
1143         * cursor.[Ch]
1144         * dociterator.[Ch]:
1145         * insetiterator.[Ch]:
1146         * lyxfind.C:
1147         * lyxfunc.C:
1148         * pariterator.[Ch]:
1149         * text2.C:
1150         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1151
1152 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1153
1154         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1155         insets where we are putting the cursor.
1156
1157 2004-03-31  Angus Leeming  <leeming@lyx.org>
1158
1159         * lfuns.h:
1160         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1161
1162         * lyxrc.[Ch] (read, write): overloaded member functions taking
1163         a std::[io]stream arguments.
1164
1165         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1166
1167 2004-03-31  Angus Leeming  <leeming@lyx.org>
1168
1169         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1170         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1171
1172         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1173         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1174
1175 2004-03-31  Angus Leeming  <leeming@lyx.org>
1176
1177         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1178         the LFUN_ALL_INSETS_TOGGLE code.
1179
1180 2004-03-30  Angus Leeming  <leeming@lyx.org>
1181
1182         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1183         has died. Fall through to the generic Dialogs::show("document").
1184
1185 2004-03-30  Angus Leeming  <leeming@lyx.org>
1186
1187         * lfuns.h:
1188         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1189         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1190
1191         * lyxfunc.C (getStatus, dispatch): define the actions for these
1192         lfuns. Little more than a cut and pste job from ControlDocument.C
1193
1194         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1195
1196 2004-03-30  Angus Leeming  <leeming@lyx.org>
1197
1198         * lfuns.h:
1199         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1200         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1201
1202         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1203         open/closed state of ollapsable insets. Usage:
1204
1205         all-inset-toggle <state> <name>, where
1206         <state> == "open" || "closed" || "toggle" and
1207         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1208
1209         * lyxtext.h, text2.C (toggleInset): removed.
1210
1211         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1212         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1213         now passes LFUN_INSET_TOGGLE to the found inset.
1214
1215         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1216         is now invoked as "all-insets-toggle toggle branch".
1217
1218 2004-03-30  Angus Leeming  <leeming@lyx.org>
1219
1220         * dociterator.C:
1221         * insetiterator.C:
1222         * pariterator.[Ch]: added/corrected header blurb.
1223
1224 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * dociterator.[Ch]: add an inset_ member
1227         (backwardPos): implemented
1228         (backwardPos, forwardPos): use inset_ when the stack is empty.
1229         (doc_iterator_begin, doc_iterator_end): implemented
1230         * pariterator.[Ch]: adjust, add begin, end
1231         * insetiterator.[Ch]: adjust, add begin, end
1232         * cursor.C:
1233         * document.C:
1234         * BufferView.C:
1235         * BufferView_pimpl.C:
1236         * CutAndPaste.C: adjust
1237
1238 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1239
1240         * buffer.C: increment file format to 232.
1241         * LaTeXFeatures.C: add bibtopic package.
1242         * bufferparams.[Ch]: param \use_bibtopic.
1243
1244         * lyxrc.[Ch]: add lyxrc bibtex_command
1245         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1246
1247         * buffer.C: increment file format to 231.
1248
1249 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * dociterator.C: implement forwardPar
1252         * iterators.[Ch]: remove, replaced by
1253         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1254         * BufferView.C:
1255         * BufferView_pimpl.C:
1256         * CutAndPaste.C:
1257         * buffer.C:
1258         * bufferview_funcs.C:
1259         * cursor.C:
1260         * lyxfind.C
1261         * lyxfunc.C
1262         * paragraph_funcs.C
1263         * toc.C:
1264         * Makefile.am: adjust
1265
1266 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * CutAndPaste.C (pasteSelection): fix 2 crashes
1269         (eraseSelection): fix a crash
1270         * paragraph_funcs.C: remove a warning
1271
1272 2004-03-28  Angus Leeming  <leeming@lyx.org>
1273
1274         * lfuns.h:
1275         * LyXAction.C (init): new LFUN_PRINT.
1276
1277         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1278
1279 2004-03-27  Angus Leeming  <leeming@lyx.org>
1280
1281         * lfuns.h:
1282         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1283
1284         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1285
1286 2004-03-27  Angus Leeming  <leeming@lyx.org>
1287
1288         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1289         insetlist always contains non-null pointers to insets.
1290
1291 2004-03-26  Angus Leeming  <leeming@lyx.org>
1292
1293         * src/BufferView_pimpl.C:
1294         * src/CutAndPaste.C:
1295         * src/buffer.C:
1296         * src/iterators.C:
1297         * src/output_plaintext.C:
1298         * src/outputparams.h:
1299         * src/paragraph_funcs.C:
1300         * src/rowpainter.C:
1301         * src/text.C:
1302         * src/text2.C:
1303         * src/frontends/controllers/ControlErrorList.C:
1304         * src/frontends/gtk/FileDialogPrivate.C:
1305         * src/frontends/gtk/GPainter.C:
1306         * src/frontends/gtk/GToolbar.C:
1307         * src/frontends/qt2/QRef.C:
1308         * src/mathed/math_scriptinset.C: squash compiler warnings.
1309
1310 2004-03-26  Angus Leeming  <leeming@lyx.org>
1311
1312         * ispell.C (LaunchIspell::start):
1313         * lyx_cb.C (AutoSaveBuffer::start):
1314         invoke run(DontWait) rather than runNonBlocking().
1315
1316 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1319
1320 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * kbsequence.C (print): adjust
1323
1324         * kbmap.C (printKeySym): rename and change signature
1325         (printKey): use LyXKeySym::print()
1326
1327 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * undo.C: add using std::advance to compile for stlport
1330
1331 2004-03-24  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1334         it leads to a crash when no buffer is present.
1335
1336 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337             Martin Vermeer  <martin.vermeer@hut.fi>
1338
1339         * lyxfunc.C (dispatch):
1340         * bufferparams.C (readToken): use the new LColor::setColor
1341
1342         * LColor.[Ch] (setColor): new version that takes two strings as
1343         argument and creates a new color entry if necessary
1344
1345 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1346
1347         * buffer.C (makeLaTeXFile): if the main latex file that is
1348         processed is usually a subdocument of some master, then pretend
1349         for a while that it is actually the master
1350
1351 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1352
1353         * buffer.C (getLabelList):
1354         (getBibkeyList): use getMasterBuffer()
1355         (getMasterBuffer): new method. Returns the main document in the
1356         case where one is using included documents.
1357
1358 2004-03-25  André Pönitz  <poenitz@gmx.net>
1359
1360         * Makefile.am:
1361         * iterators.[Ch]:
1362         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1363
1364         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1365
1366         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1367         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1368
1369         * ParameterStruct.h: merge with ParagraphParameters
1370
1371         * lyxtext.h: remove LyXText::parOffset() and getPar()
1372
1373         * text3.C: Remove all 'manual' update calls. We do now one per user
1374         interaction which is completely sufficient.
1375
1376         * Bidi.C:
1377         * BufferView.[Ch]:
1378         * BufferView_pimpl.C:
1379         * FontIterator.[Ch]:
1380         * MenuBackend.C:
1381         * ParagraphParameters.[Ch]:
1382         * buffer.C:
1383         * buffer.h:
1384         * bufferlist.C:
1385         * cursor.[Ch]:
1386         * cursor_slice.[Ch]:
1387         * dociterator.[Ch]:
1388         * errorlist.[Ch]:
1389         * factory.C:
1390         * lfuns.h:
1391         * lyxfind.C:
1392         * lyxfunc.C:
1393         * output_docbook.[Ch]:
1394         * output_latex.[Ch]:
1395         * output_linuxdoc.[Ch]:
1396         * output_plaintext.[Ch]:
1397         * paragraph.[Ch]:
1398         * paragraph_funcs.[Ch]:
1399         * paragraph_pimpl.[Ch]:
1400         * rowpainter.C:
1401         * tabular.[Ch]:
1402         * text.C:
1403         * text2.C:
1404         * toc.C:
1405         * undo.[Ch]: adjust
1406
1407         * frontends/controllers/ControlDocument.C:
1408         * frontends/controllers/ControlErrorList.C:
1409         * frontends/controllers/ControlSpellchecker.C:
1410         * insets/inset.C:
1411         * insets/inset.h:
1412         * insets/insetbase.h:
1413         * insets/insetbibitem.C:
1414         * insets/insetbox.C:
1415         * insets/insetbranch.C:
1416         * insets/insetcaption.C:
1417         * insets/insetcharstyle.C:
1418         * insets/insetcharstyle.h:
1419         * insets/insetcollapsable.C:
1420         * insets/insetcollapsable.h:
1421         * insets/insetert.C:
1422         * insets/insetfloat.C:
1423         * insets/insetfoot.C:
1424         * insets/insetmarginal.C:
1425         * insets/insetnote.C:
1426         * insets/insetoptarg.C:
1427         * insets/insettabular.C:
1428         * insets/insettext.C:
1429         * insets/insettext.h:
1430         * insets/insetwrap.C:
1431         * mathed/math_mboxinset.C:
1432         * mathed/math_nestinset.C:
1433         * mathed/math_scriptinset.C:
1434         * mathed/math_scriptinset.h:
1435         * support/types.h:
1436
1437 2004-03-24  Angus Leeming  <leeming@lyx.org>
1438
1439         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1440         deal with any child processes that have finished but are waiting to
1441         communicate this fact to the rest of LyX.
1442
1443 2004-03-24  Angus Leeming  <leeming@lyx.org>
1444
1445         64-bit compile fixes.
1446
1447         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1448         (c-tor): pass lyx::pos_types rather than ints.
1449
1450         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1451         lyx::pos_type.
1452
1453         * text.C (Delete): compile fix.
1454         (getPar): ensure that function declaration is the same as that in
1455         the header file.
1456
1457 2004-03-23  Angus Leeming  <leeming@lyx.org>
1458
1459         * ispell.C (LaunchIspell):
1460         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1461         a boost::shred_ptr rather than a std::auto_ptr.
1462
1463 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1466         handle LFUN_FILE_INSERT_*
1467
1468         * lyxrc.C (setDefaults, getDescription, output, read):
1469         * lyxrc.h: remove ps_command
1470
1471 2004-03-22  Angus Leeming  <leeming@lyx.org>
1472
1473         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1474         Ensure that error_handler is processed once only and that all data
1475         is saved before attempting to output any warning messages.
1476
1477         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1478
1479 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1482
1483 2004-03-19  André Pönitz  <poenitz@gmx.net>
1484
1485         * cursor.[Ch] (reset): take main text inset as argument
1486
1487         * BufferView: adjust
1488         * BufferView_pimpl.C: adjust
1489
1490         * paragraph.[Ch]: fix completely broken operator=()
1491
1492 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * LColor.C (getFromLyXName): make sure that the color name is used
1495         as lowercase.
1496
1497 2004-03-17  Angus Leeming  <leeming@lyx.org>
1498
1499         * lfuns.h:
1500         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1501
1502         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1503         dialog and to kill a forked process.
1504
1505 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1506
1507         * text2.C (setCursorFromCoordinates): fix font problem
1508
1509 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1512         bogus "rebuild cursor" code
1513
1514 2004-03-11  André Pönitz  <poenitz@gmx.net>
1515
1516         * buffer.[Ch]: use InsetText instead of LyXText as container for
1517         the main lyx text.
1518
1519         * dociterator.[Ch]: drop the BufferView * member which is not needed
1520         anymore after the change to buffer.C
1521
1522         * paragraph_funcs.C:
1523         * text.C:
1524         * text2.C:
1525         * BufferView.[Ch]:
1526         * BufferView_pimpl.[Ch]:
1527         * cursor.[Ch]:
1528         * cursor_slice.[Ch]: adjust
1529
1530         * text3.C: fix bug in mathDispatch
1531
1532 2004-03-08  André Pönitz  <poenitz@gmx.net>
1533
1534         * undo.[Ch]: use 'StableDocumentIterator' as base for
1535         the Undo struct.
1536
1537 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1538
1539         * LaTeXFeatures.C:
1540         * bufferparams.[Ch]: add jurabib support and param.
1541
1542         * LaTeX.C: add FIXME/comment.
1543
1544 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1545
1546         * buffer.C: increment file format to 230.
1547
1548 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * cursor.C (dispatch): avoid infinite loops
1551
1552 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1553
1554         * rowpainter.C (paintSelection): fix x coordinates
1555
1556 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * text.C (rowBreakPoint): fix breaking before displayed insets
1559
1560 2004-03-01  André Pönitz  <poenitz@gmx.net>
1561
1562         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1563
1564         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1565
1566         * Makefile.am:
1567         * BufferView.C:
1568         * BufferView_pimpl.C:
1569         * buffer.C:
1570         * lyxfind.C:
1571         * lyxfunc.C:
1572         * text.C:
1573         * text2.C:
1574         * text3.C: adjust
1575
1576 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * lyxtext.h:
1579         * text.C:
1580         * text2.C:
1581         * rowpainter.C:
1582         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1583         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1584
1585 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * Bidi.[Ch] (computeTables): const correctness
1588         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1589         fill_hfill, fill_label_hfill and x from Row
1590         * lyxtext.h: prepareToPrint returns a RowMetrics
1591         * rowPainter.C: adjust
1592         * text.C (prepareToPrint): use width, not textWidth. adjust
1593         (redoParagraphInternal, cursorX): adjust
1594         * text2.C (getColumnNearX): adjust
1595         (init): put a default value to the top LyXText::width
1596
1597 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1598
1599         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1600
1601 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * lyxtext.h: add FontIterator class
1604
1605         * text.C (FontIterator, operator*, operator->, operator++): add
1606         (rowBreakPoint, setRowWidth): adjust (fixing a
1607         rebreaking bug)
1608
1609 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * BufferView_pimpl.C (workAreaDispatch): allow also
1612         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1613
1614 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * text.C (rowBreakPoint): fix a bug showing with very large insets
1617
1618 2004-02-25  André Pönitz  <poenitz@gmx.net>
1619
1620         * text3.C:
1621         * cursor.[Ch]: move some mathed specific code to mathed
1622
1623 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1624
1625         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1626         use_tempdir in preferences
1627         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1628         tempfile creation
1629         * lyx_main.C: ensure that tempdir is valid
1630         * lyxlex.h: correct typo
1631         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1632         * paragraph.[Ch] (isMultiLingual): make const
1633         * cursor.[Ch] (openable): make const
1634
1635 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1636
1637         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1638
1639 2004-02-20  André Pönitz  <poenitz@gmx.net>
1640
1641         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1642
1643         * cursor.[Ch]: prepare for localized getStatus()
1644
1645         * lyxtext.h:
1646         * tabular.C:
1647         * text.C:
1648         * text2.C:
1649         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1650
1651 2004-02-20  André Pönitz  <poenitz@gmx.net>
1652
1653         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1654
1655 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * text2.C (setCursorFromCoordinates): switch to absolute coords
1658         (cursorUp): adjust
1659         (cursorDown): adjust
1660         * text3.C (dispatch): adjust
1661
1662 2004-02-16  André Pönitz  <poenitz@gmx.net>
1663
1664         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1665           insets/ChangeLog)
1666
1667         * cursor_slice.[Ch]: remove unneeded acessor function
1668
1669         * lyxtext.h: rename rtl() to isRTL()
1670
1671         * rowpainter.C:
1672         * tabular.C:
1673         * text.C:
1674         * text2.C:
1675         * text3.C: adjust
1676
1677 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * rowpainter.C (paintSelection): coord fix
1680
1681 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1682
1683         * Spacing.C: compile fix
1684
1685 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1686
1687         * cursor.C (dispatch): restore current_ before returning
1688
1689 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1690
1691         * text2.C (cursorUp, cursorDown): fix coords
1692         (moveUp): fix crash
1693
1694 2004-02-12  André Pönitz  <poenitz@gmx.net>
1695
1696         * lyxtext.h:
1697         * text.C:
1698         * text2.C:
1699         * text3.C: add LCursor & parameter to most cursor movement functions
1700           remove usage of LyXText::cursorRow() and cursorPar()
1701
1702         * cursor.[Ch]: add textRow() needed members
1703
1704         * BufferView.C:
1705         * BufferView_pimpl.C:
1706         * paragraph.[Ch]:
1707         * BufferView.C:
1708         * BufferView_pimpl.C: adjust
1709
1710 2004-02-11  André Pönitz  <poenitz@gmx.net>
1711
1712         * lyxfunc.C:
1713         * BufferView.[Ch]:
1714         * BufferView_pimpl.C: shift undo/redo handling
1715
1716         * cursor.[Ch]: fix mathed crash
1717
1718         * lyxfind.C:
1719         * lyxtext.h: move selectionAsText to LCursor
1720
1721         * output_latex.C:
1722         * paragraph.C:
1723         * text.C:
1724         * text2.C:
1725         * text3.C: adjust
1726
1727         * rowpainter.C: fix excessive drawing
1728
1729 2004-02-06  André Pönitz  <poenitz@gmx.net>
1730
1731         * BufferView.[Ch]:
1732         * BufferView_pimpl.[Ch]:
1733         * text3.C: move some text specific LFUN handling
1734
1735 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * text3.C (checkInsetHit): adjust coords
1738         * text2.C (getColumnNearX): adjust coords
1739         (edit): adjust coords
1740         * text.C (getRowNearY): add two asserts
1741
1742 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1743
1744         * converter.C:
1745         * format.C: add using std::distance to compile on gcc 2.95/stlport
1746
1747 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1748
1749         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1750
1751 2004-02-04  André Pönitz  <poenitz@gmx.net>
1752
1753         * BufferView.[Ch] (insertInset):
1754         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1755
1756         * text2.C:
1757         * text3.C: adjust
1758
1759 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1762         on the default clause of the switch
1763         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1764         wasn't catched by LCursor::dispatch
1765
1766 2004-02-03  André Pönitz  <poenitz@gmx.net>
1767
1768         * BufferView.C:
1769         * cursor.[Ch]: some additional asserts
1770
1771         * undo.[Ch]: remove LyXText dependency in interface
1772
1773         * lyxfunc.C: adjust
1774
1775         * lyxtext.h (firstPar, lastPar): remove dead functions
1776
1777         * text.C:
1778         * text2.C:
1779         * text3.C:
1780         * paragraph.[Ch]: adjust
1781
1782 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1783
1784         * lyxfind.C (find): fix argument order in call to ::find
1785
1786 2004-02-02  André Pönitz  <poenitz@gmx.net>
1787
1788         * cursor.[Ch]: remove direct access to anchor
1789
1790         * text.C: remove findText() hack
1791
1792 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * iterators.[Ch] (lockPath): remove in favour of...
1795         * BufferView.[Ch] (setCursor): this addition
1796         * BufferView.C (putSelectionAt): adjust
1797         * undo.C (performUndoOrRedo): adjust
1798         * lyxfunc.C (dispatch): adjust
1799
1800 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1801
1802         * iterators.C (lockPath): add a missing slice
1803         * undo.C (performUndoOrRedo): remove redundant positioning code
1804
1805 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1806
1807         * vc-backend.C (scanMaster): ";" -> ';'
1808
1809 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1810
1811         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1812         std::binary_function
1813
1814         * lyxtextclass.C (compare_name): rename to...
1815         (LayoutNamesEqual): ...this
1816
1817         * lyxlex_pimpl.C (compare_tags): inherit from
1818         std::binary_function, put back into anon namespace
1819
1820         * lyxfind.C (MatchString): inherig from std::binary_function
1821         (findChange): use empty() istead of !size()
1822
1823         * format.C (FormatNamesEqual): new functor
1824         (getFormat): use it
1825         (getNumber): use it
1826         (add): use it
1827         (erase): use it
1828         (setViewer): use it
1829
1830         * converter.C (compare_Converter): rename to...
1831         (ConverterEqual): ...this, and fixup a bit.
1832         (getConverter): use it, and make function const
1833         (getNumber): use it, and make function const
1834         (add): use it
1835         (erase): use it:
1836
1837         * bufferlist.C: add using boost::bind
1838
1839         * MenuBackend.C (MenuNamesEqual): new functor
1840         (hasMenu): use it, and make function const
1841         (hasSubmenu): use nested bind to get rid of compare_memfun.
1842
1843 2004-01-30  André Pönitz  <poenitz@gmx.net>
1844
1845         * BufferView_pimpl.C:
1846         * cursor.C:
1847         * cursor.h:
1848         * cursor_slice.[Ch]:
1849         * lyxfunc.C:
1850         * lyxtext.h:
1851         * paragraph_funcs.C:
1852         * paragraph_funcs.h:
1853         * rowpainter.C:
1854         * text.C:
1855         * text2.C:
1856         * text3.C: move some of the edit(x,y) handling to the insets
1857         some coordinate changes.
1858
1859 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * text.C: add using statements for std::advance and std::distance
1862
1863         * paragraph.C: add using statement for std::distance
1864
1865         * lyxfind.C: add using statement for std::advance
1866
1867         * cursor.C (region): remove std:: from swap
1868         (openable): use nucleus in stead of operator->
1869
1870         * BufferView.C: add using statements for std::distance and std::swap
1871
1872 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1873
1874         * iterators.C: Remove the pimple, move the needed structures to
1875         the header file. Create accessor for the positions stack.
1876         (asPosIterator): remove function
1877
1878         * PosIterator.C (PosIterator): move constructors to top of file
1879         (PosIterator): reimplement the constructor taking a ParIterator in
1880         terms of setFrom.
1881         (setFrom): new function
1882         (operator!=): inline it
1883
1884 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1885
1886         * lyxfind.C (replaceAll): use std::advance
1887
1888         * iterators.h: inherit from std::iterator.
1889
1890         * PosIterator.C (advance, distance): remove
1891         * PosIterator.h: interit from std::iterator.
1892
1893 2004-01-26  André Pönitz  <poenitz@gmx.net>
1894
1895         * BufferView.[Ch]:
1896         * BufferView_pimpl.[Ch]:
1897         * InsetList.[Ch]:
1898         * PosIterator.[Ch]:
1899         * buffer.h:
1900         * bufferview_funcs.C:
1901         * cursor.[Ch]:
1902         * cursor_slice.h:
1903         * factory.[Ch]:
1904         * iterators.[Ch]:
1905         * lyxfind.C:
1906         * lyxfunc.C:
1907         * lyxtext.h:
1908         * output_docbook.C:
1909         * output_latex.C:
1910         * output_linuxdoc.C:
1911         * output_plaintext.C:
1912         * paragraph.[Ch]:
1913         * paragraph_funcs.[Ch]:
1914         * paragraph_pimpl.[Ch]:
1915         * rowpainter.C:
1916         * tabular.C:
1917         * tabular.h:
1918         * text.C:
1919         * text2.C:
1920         * text3.C: more IU:  dumps most of the rest of the mathcursor
1921     implementation into cursor.[Ch]; "globalize" a bit of it.
1922
1923 2004-01-25  Angus Leeming  <leeming@lyx.org>
1924
1925         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1926
1927 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1928
1929         * LaTeXFeatures.h: add nice_ and nice() const
1930         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1931
1932 2004-01-20  André Pönitz  <poenitz@gmx.net>
1933
1934         * BufferView.[Ch]:
1935         * BufferView_pimpl.C:
1936         * PosIterator.C:
1937         * bufferview_funcs.C:
1938         * cursor.[Ch]:
1939         * cursor_slice.[Ch]:
1940         * factory.C:
1941         * iterators.C:
1942         * lyx_cb.C:
1943         * lyxfind.C:
1944         * lyxfunc.C:
1945         * lyxtext.h:
1946         * rowpainter.C:
1947         * text.C:
1948         * text2.C:
1949         * text3.C:
1950         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1951           LCursor and mathcursor parts to LCursor and InsetBase.
1952
1953 2004-01-15  André Pönitz  <poenitz@gmx.net>
1954
1955         * cursor_slice.[Ch]: add a few covienience functions
1956
1957         * funcrequest.[Ch]: remove BufferView * member
1958
1959         * BufferView_pimpl.C:
1960         * cursor.C:
1961         * factory.[Ch]:
1962         * lyxfind.[Ch]:
1963         * lyxfunc.C:
1964         * lyxtext.h:
1965         * text3.C:
1966         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1967
1968 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1969
1970         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1971         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1972
1973 2004-01-13  André Pönitz  <poenitz@gmx.net>
1974
1975         * textcursor.[Ch]:
1976         * lyxtext.h: hide cursor and selection anchor behind accessor function
1977
1978         * BufferView.C:
1979         * BufferView_pimpl.[Ch]:
1980         * PosIterator.C:
1981         * bufferview_funcs.C:
1982         * cursor.h:
1983         * lyxfind.C:
1984         * lyxfunc.C:
1985         * text.C:
1986         * text2.C:
1987         * text3.C:
1988         * undo.C: adjust
1989
1990         * cursor.h:
1991         * cursor_slice.[Ch]: some integer type changes for inset unification
1992
1993         * lyxcursor.[hC]: remove, it's CursorSlice now.
1994
1995         * Makefile.am:
1996         * BufferView_pimpl.[Ch]:
1997         * bufferview_funcs.C:
1998         * cursor_slice.C:
1999         * lyxtext.h:
2000         * text.C:
2001         * text2.C:
2002         * text3.C:
2003         * textcursor.[Ch]: adjust
2004
2005 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * text2.C (undoSpan): add and use
2008         * text.C (breakParagraph): use undoSpan (fix bug 578)
2009         * lyxtext.h: adjust
2010
2011 2004-01-08  Angus Leeming  <leeming@lyx.org>
2012
2013         * BufferView_pimpl.C (MenuInsertLyXFile):
2014         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2015         * lyxfunc.C (menuNew, open, doImport):
2016         FileFilterList change to the FileDialog open and save functions.
2017
2018 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2019
2020         * ShareContainer.h: make isEqual and isUnique adaptable
2021
2022         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2023
2024 2004-01-07  Angus Leeming  <leeming@lyx.org>
2025
2026         * LyXAction.C:
2027         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2028
2029         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2030
2031         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2032         functions replacing find, replace and replaceAll.
2033
2034         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2035         LFUN_WORDFIND(FORWARD|BACKWARD).
2036
2037 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2038
2039         * text.C (breakParagraph): remove an outdated #warning
2040
2041 2004-01-07  André Pönitz  <poenitz@gmx.net>
2042
2043         * lyxfind.C: somewhat clearer logic
2044
2045         * text.C: prevent crash in cursorX on unitialized row cache
2046
2047 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * lyxcursor.[Ch] (operator>): add
2050         * textcursor.C (selStart, selEnd): use std::min and std::max
2051
2052 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2053
2054         * Chktex.C: include boost/format.hpp
2055
2056 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2057
2058         * InsetList.C: replace functor MathcIt with adaptable functor
2059         InsetTablePosLess
2060         (insetIterator): modify accordingly
2061
2062         * BranchList.h: move the BranchNamesEqual functor here from...
2063         * BranchList.C: ... to here
2064
2065         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2066         SameName and match.
2067         (add): replace a finding loop with std::find_if.
2068
2069 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2070
2071         * output_docbook.C: moving LatexParam functionality into
2072         .layout files
2073
2074 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2075
2076         * buffer.C: increment format to 229.
2077
2078 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2079
2080         * LaTeXFeatures.C:
2081         * lyx_sty.[Ch]: remove minipageindent_def
2082
2083         * LyXAction.C:
2084         * factory.C:
2085         * lfuns.h:
2086         * lyxfunc.C:
2087         * text3.C: remove LFUN_INSET_MINIPAGE
2088
2089 2003-12-28  Angus Leeming  <leeming@lyx.org>
2090
2091         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2092
2093 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * text2.C (setParagraph): fix off-by-one crash
2096
2097 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2098
2099         * output_docbook.C: header stuff for AGU
2100
2101 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * text2.C (redoCursor): remove
2104         * text.C:
2105         * text3.C:
2106         * BufferView_pimpl.C: remove calls to redoCursor and
2107         setCursor(cursor.par(), cursor.pos()) all around
2108
2109 2003-12-15  Angus Leeming  <leeming@lyx.org>
2110
2111         * buffer.C: up the format to 228.
2112
2113 2003-12-15  André Pönitz  <poenitz@gmx.net>
2114
2115         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2116         slices
2117
2118         * Makefile.am:
2119
2120         * BufferView_pimpl.C:
2121         * cursor.[Ch]:
2122         * lyxcursor.[Ch]:
2123         * rowpainter.[Ch]:
2124         * lyxtext.h:
2125         * text.C:
2126         * text2.C:
2127         * text3.C: adjust
2128
2129 2003-12-15  Angus Leeming  <leeming@lyx.org>
2130
2131         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2132         than getFromGUIName to manipulate the color.
2133
2134 2003-12-14  Angus Leeming  <leeming@lyx.org>
2135
2136         * BranchList.[Ch]: minimize the API.
2137         (Branch::getBranch, getColor): now return a 'const &'.
2138         (Branch::setSelected) now returns a bool set to true if the
2139         selection status changes.
2140         (BranchList::clear, size, getColor, setColor, setSelected,
2141         allBranches, allSelected, separator): removed.
2142         (BranchList::find): new functions, returning the Branch with
2143         the given name.
2144         (BranchList::add, remove): return a bool indicating that
2145         the operation was successful.
2146
2147         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2148         new InsetBranch::isBranchSlected member function.
2149
2150         * LColor.[Ch]: mimimize the API.
2151         (fill): renamed as addColor and made private.
2152         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2153         versions of these functions taking a string arg have been removed.
2154
2155         * bufferparams.C (readToken):
2156         * lyxfunc.C (dispatch):
2157         * lyxrc.C (read): changes due to the altered BranchList and
2158         LColor APIs.
2159
2160         * factory.C (createInset, readInset): changes due to altered
2161         InsetBranch c-tor.
2162
2163 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2164
2165         * factory.C:
2166         * lyxfunc.C: remove insetminipage. "minipage-insert"
2167         now produces a frameless minipage box inset.
2168
2169 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * textcursor.[Ch] (selStart,selEnd): add new methods
2172         remove selection::start, end, use LyXCursor::operator<
2173         * lyxcursor.[Ch] (operator<): add
2174         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2175         * BufferView.[Ch] (unsetXSel): add
2176         * text2.C (clearSelection): use unsetXSel,adjust
2177         * text.C: adjust
2178         * text3.C: adjust
2179         * rowpainter.C: adjust
2180         * bufferview_funcs.C (put_selection_at): adjust
2181
2182 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * BufferView_pimpl.C: small coord. correction
2185
2186 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2189         dragging over the splash screen.
2190
2191 2003-12-11  Angus Leeming  <leeming@lyx.org>
2192
2193         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2194         as it is now handled in LyXText::dispatch.
2195
2196         * text3.C (doInsertInset): remove a level of nesting.
2197
2198 2003-12-11  Angus Leeming  <leeming@lyx.org>
2199
2200         * factory.C (createInset): changes due to the changed interface to
2201         InsetCommandMailer::string2params.
2202
2203 2003-12-10  Angus Leeming  <leeming@lyx.org>
2204
2205         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2206         'dialog-show-new-inset <inset name>'
2207
2208 2003-12-10  Angus Leeming  <leeming@lyx.org>
2209
2210         * buffer.C: up the format to 227.
2211
2212         * factory.C: the box inset is now identified simply by 'Box'.
2213
2214 2003-12-10  Angus Leeming  <leeming@lyx.org>
2215
2216         * buffer.C: up the format to 226.
2217
2218         * factory.C: the note inset is now identified simply by 'Note'.
2219
2220 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2223         when a pit is enough. Standarize a couple of loops.
2224
2225 2003-12-05  Angus Leeming  <leeming@lyx.org>
2226
2227         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2228         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2229         data to the re-worked "log" dialog.
2230
2231 2003-12-03  André Pönitz  <poenitz@gmx.net>
2232
2233         * PosIterator.C:
2234         * iterators.C:
2235         * lyxtext.h:
2236         * output_latex.C:
2237         * paragraph_funcs.C:
2238         * text.C:
2239         * text2.C: use Inset::getText instead of Inset::getParagraph
2240
2241 2003-12-03  André Pönitz  <poenitz@gmx.net>
2242
2243         * buffer.[Ch]:
2244         * lyxtext.h:
2245         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2246         InsetText::read() as LyXText::read()
2247
2248 2003-12-02  Angus Leeming  <leeming@lyx.org>
2249
2250         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2251         type. Add a comment in the implementation that the function uses
2252         the stream's bad() function rather than fail() as the std::streams
2253         would do.
2254
2255 2003-12-02  André Pönitz  <poenitz@gmx.net>
2256
2257         * lyxlex.[Ch]: make interface more similar to std::stream
2258
2259         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2260
2261 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2262
2263         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2264
2265 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2266
2267         * vspace.[Ch]: remove VSpace::NONE
2268
2269 2003-12-01  André Pönitz  <poenitz@gmx.net>
2270
2271         * buffer.[Ch]:
2272         * lyxtext.h: move ParagraphList member to LyXText
2273         rename LyXText::ownerParagraphs to LyXText::paragraph
2274
2275         * CutAndPaste.C:
2276         * bufferview_funcs.C:
2277         * iterators.[Ch]:
2278         * lyx_cb.C:
2279         * paragraph.C:
2280         * rowpainter.C:
2281         * tabular.C:
2282         * text.C:
2283         * text2.C:
2284         * text3.C: adjust
2285
2286         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2287
2288         * undo.C: fix cursor positioning
2289
2290 2003-12-01  John Levon  <levon@movementarian.org>
2291
2292         * BufferView_pimpl.C: fix a crash on exit with
2293         a buffer open
2294
2295 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2296
2297         * BranchList.C: fix setSelected() method.
2298
2299 2003-11-28  André Pönitz  <poenitz@gmx.net>
2300
2301         * ParagraphParameters.[Ch]:
2302         * ParameterStruct.h: remove space above/below from Paragraph to
2303          InsetVSpace
2304
2305         * BufferView_pimpl.C:
2306         * factory.C:
2307         * lyxfunc.C:
2308         * lyxtext.h:
2309         * output_latex.C:
2310         * paragraph.C:
2311         * paragraph_funcs.C:
2312         * rowpainter.[Ch]:
2313         * text.C:
2314         * text2.C:
2315         * text3.C: adjust
2316
2317 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * factory.C: Syntax change for CharStyles
2320
2321 2003-11-28  André Pönitz  <poenitz@gmx.net>
2322
2323         * BufferView.[Ch]:
2324         * BufferView.[Ch]:
2325         * buffer.[Ch]:
2326         * buffer.[Ch]: move LyXText member
2327
2328 2003-11-28  André Pönitz  <poenitz@gmx.net>
2329
2330         * BufferView.[Ch]: make LyXText * text a private member
2331
2332         * BufferView_pimpl.C:
2333         * cursor.C:
2334         * iterators.C:
2335         * lyx_cb.C:
2336         * lyxfind.C:
2337         * lyxtext.h:
2338         * rowpainter.[Ch]:
2339         * text.C:
2340         * text2.C:
2341         * undo.C: adjust
2342
2343         * output_plaintext.C: cleanup
2344
2345 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2346
2347         * buffer.C:
2348         * lyxtextclass.[Ch]: parametrize SGML document header
2349
2350 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2351
2352         * converter.[Ch]:
2353         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2354         getFlavor().
2355
2356 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * text2.C (setFont): rework using PosIterator (no more recursive)
2359         (setCharFont): no more needed
2360         (setLayout): no more selection cursors fiddling (done by redoCursor)
2361         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2362         destroy remaining ones)
2363
2364 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2365
2366         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2367         * lyxtext.h: ditto
2368         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2369         selection cursors
2370         * lyxfunc.C: adjust
2371         * text3.C: adjust + re-allow multi par depth changes
2372         * textcursor.C: simplify a bit
2373
2374 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2375
2376         * src/buffer.C:
2377         * src/lyxlayout.C:
2378         * src/lyxlayout.h:
2379         * src/lyxtext.h:
2380         * src/output_docbook.C:
2381         * src/output_latex.C:
2382         * src/paragraph.C:
2383         * src/paragraph.h:
2384         * src/sgml.C:
2385         * src/sgml.h:
2386         * src/text2.C: Introducing a number of tags parametrizing various
2387         XML formats that we may want to support
2388
2389 2003-11-25  André Pönitz  <poenitz@gmx.net>
2390
2391         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2392
2393         * lyxtext.h (leftMargin/rightMargin): simplify interface
2394
2395         * rowpainter.C:
2396         * text.C:
2397         * text2.C:
2398         * text3.C: adjust
2399
2400 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2401
2402         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2403         master file to any child files. Fixes bug 546.
2404
2405 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2408
2409 2003-11-24  André Pönitz  <poenitz@gmx.net>
2410
2411         * rowpainter.C: simplification
2412
2413         * text2.C (updateCounters): remove call to redoParagraph on
2414         changed labels as this is far too expensive.
2415
2416 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2417
2418         * converter.C (convert): fix a crash: this function gets
2419         called with buffer == 0 from importer code.
2420
2421 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2422
2423         * text3.C (cursorPrevious): make sure that we do not compare
2424         iterators form different containers.
2425         (cursorNext): ditto
2426
2427         * rowpainter.C (paintSelection): make sure that we do not compare
2428         iterators from different containers.
2429
2430         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2431         iterators from different ParagraphList containers.
2432         [NEXT] ditto
2433
2434         * text2.C (LyXText): change order of initialization slightly
2435         (operator=): new function. copy all variables except cache_par_
2436         (moveUp): make sure that we do not compare iterators from
2437         different ParagraphList constainers.
2438         (moveDown): ditto
2439
2440         * text.C (firstPar): new function
2441         (lastPar): new function
2442         (endPar): new function
2443
2444         * lyxtext.h: move things around and group public functions, public
2445         variables, private functions, private variables
2446
2447 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2448
2449         * factory.C: change call to InsetERT constructor to avoid
2450         additional invocation of method status
2451         * text2.C (toggleInset): remove redundant update() call
2452         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2453         instead of a Bufferview pointer
2454
2455 2003-11-21  André Pönitz  <poenitz@gmx.net>
2456
2457         * rowpainter.C: simplification
2458
2459 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text3.C (dispatch): make possible to extend a word/row selection
2462         with the mouse
2463
2464 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * lyxtext.h: x0_,y0_ -> xo_,yo_
2467         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2468         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2469         * rowpainter.C (paintRows): paint full paragraphs
2470
2471 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2474         screen coordinates)
2475
2476 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * lyxtext.h: add x0_, y0_
2479         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2480         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2481
2482 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2483
2484         * text2.C (setCursorIntern): move the x_target update here *
2485         * text3.C: change some bv() to true/false in calls to
2486         cursorUp/Down/Right/Left
2487         * cursor.C: use helper function.
2488
2489 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2492         * paragraph_funcs.[Ch]: correct comment
2493         * rowpainter.C: do not paint selections away from bv->cursor()
2494         Fix a long standing selection painting bug.
2495         * text3.C: generalize mouse-selection code to LyXTexts other that
2496         top one
2497         * textcursor.C: do not use y coords if we can use par offsets
2498
2499 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2500
2501         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2502         cursor position after e.g. inset insert)
2503
2504 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2505
2506         * lyxfind.C (replace): adjust to locking removal + some
2507         code simplification
2508
2509 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2510
2511         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2512         of the path
2513
2514 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * lyxlayout.[Ch]:
2517         * output_docbook.C: XML sanitation: new layout
2518         parameters InnerTag and CommandDepth
2519
2520 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2521
2522         * BufferView_pimpl.C:
2523         * factory.C:
2524         * text3.C: Fix the insertion and modification of button-style
2525         insets
2526
2527 2003-11-13  André Pönitz  <poenitz@gmx.net>
2528
2529         * InsetList.[Ch]: remove deleteLyXText
2530
2531         * paragraph.[Ch]: cache beginOfBody position
2532
2533         * Bidi.C:
2534         * text.C:
2535         * text2.C:
2536         * text3.C: remove superfluous update() calls
2537
2538         * vspace.C: cleanup
2539
2540 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2541
2542         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2543         * BufferView.C (fitLockedInsetCursor): remove
2544         * cursor.[Ch] (getDim): add
2545         * text.C (getRowNearY): add faster version
2546         * text3.C: remove some update calls
2547
2548 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2549
2550         * LaTeXFeatures.C:
2551         * LyXAction.C:
2552         * MenuBackend.C:
2553         * MenuBackend.h:
2554         * dispatchresult.h:
2555         * factory.C:
2556         * lfuns.h:
2557         * lyxfunc.C:
2558         * lyxtextclass.C:
2559         * lyxtextclass.h:
2560         * text3.C: The Character Style /XML short element patch.
2561
2562 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2563
2564         * text3.C:
2565         * factory.C: Small step to solving 'unable to insert some insets'
2566         problem
2567
2568 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * cursor.[Ch] (updatePos): new function for updating the y
2571         position of the tip inset
2572         * bufferview_funcs.C (put_selection_at):
2573         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2574
2575 2003-11-11  André Pönitz  <poenitz@gmx.net>
2576
2577         * text.C: remove big comment on invalid Paragraph pointers as it is
2578         not valid anymore
2579
2580 2003-11-11  André Pönitz  <poenitz@gmx.net>
2581
2582         * text_funcs.[Ch]: merge with ...
2583
2584         * text.C: ... this
2585
2586         * lyxtext.h:
2587         * text2.C:
2588         * text3.C: adjust
2589
2590         * Makefile.am: remove text_funcs.[Ch]
2591
2592 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * cursor.C (getPos): return absolute cached y coord
2595
2596         * BufferView_pimpl.C (fitCursor): new simplistic code
2597         (workAreaDispatch): add a fitCursor call
2598
2599 2003-11-10  André Pönitz  <poenitz@gmx.net>
2600
2601         * BufferView.[Ch]:
2602         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2603
2604 2003-11-10  André Pönitz  <poenitz@gmx.net>
2605
2606         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2607         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2608         indicate that the cursor needs to leave an inset
2609
2610         * lyxtext.h: remove inset locking
2611
2612         * cursor.[Ch]: re-implement functionality provided by inset locking
2613
2614         * BufferView.[Ch]:
2615         * BufferView_pimpl.[Ch]:
2616         * LyXAction.C:
2617         * bufferview_funcs.[Ch]:
2618         * factory.C:
2619         * funcrequest.[Ch]:
2620         * iterators.C:
2621         * lyx_cb.C:
2622         * lyxfind.C:
2623         * lyxfunc.C:
2624         * text.C:
2625         * text2.C:
2626         * text3.C:
2627         * undo.C: adjust
2628
2629 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2630
2631         * PosIterator.[Ch]: replace the stack with a vector, add inset
2632         accesor
2633         * iterators.[C]: adjust
2634
2635 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2636
2637         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2638         replaced
2639         * paragraph_funcs.C (readParToken): put the correct id in the
2640         error item, not the id of the top paragraph
2641
2642 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2645         * bufferview_funcs.C (put_selection_at): use the above
2646
2647 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2650
2651 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2652
2653         * output_linuxdoc.h:
2654         * output_plaintext.h:
2655         * output.h:
2656         * output_docbook.h: add #include statements
2657
2658 2003-11-05  José Matos  <jamatos@lyx.org>
2659
2660         * output_docbook.[Ch]:
2661         * output_latex.[Ch]:
2662         * output_linuxdoc.[Ch]:
2663         * output_plaintext.[Ch]: New files for output formats.
2664         * output.[Ch]: New file for helper functions.
2665
2666         * buffer.[Ch]:
2667         * paragraph_funcs.[Ch]: output functions moved to new files.
2668
2669         * outputparams.h: rename of latexrunparams.h
2670
2671         * LaTeX.[Ch]:
2672         * buffer.[Ch]:
2673         * bufferlist.[Ch]:
2674         * converter.[Ch]:
2675         * exporter.C:
2676         * paragraph.[Ch]:
2677         * paragraph_funcs.[Ch]:
2678         * paragraph_pimpl.[Ch]:
2679         * tabular.[Ch]: rename ascii to plaintext
2680         and LatexRunParams to OutputParams.
2681
2682 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * iterators.[Ch] (text): require bv argument
2685         * undo.C (recordUndo):
2686         * lyxfunc.C (dispatch):
2687         * bufferview_funcs.C (put_selection_at): adjust
2688
2689 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2690
2691         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2692
2693 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2694
2695         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2696         nestings
2697
2698 2003-11-04  André Pönitz  <poenitz@gmx.net>
2699
2700         * cursor.[Ch]: restructure
2701
2702         * BufferView.[Ch]:
2703         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2704
2705         * iterators.[Ch] (asCursor): remove
2706
2707         * lfuns.h: remove LFUN_INSET_EDIT
2708
2709         * lyxfunc.C:
2710         * tabular.C:
2711         * text.C:
2712         * text2.C:
2713         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2714
2715 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * lyxfind.[Ch]: complete overhaul
2718         * BufferView_pimpl.C:
2719         * lyxfunc.C: adjust
2720         * paragraph.[Ch] (insert): add
2721
2722 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * BufferView.[Ch]:
2725         * lyxtext.h:
2726         * text.C: remove dead spellcheck code
2727
2728 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * dispatchresult.h: add a val setter
2731
2732         * cursor.C (dispatch): use a tempvar for data_[i]
2733
2734 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * PosIterator.[Ch]: compile fix
2737
2738 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * text.C (cursorPar): deactivate the cursor cache
2741
2742 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2745
2746 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * text3.C (dispatch): adjust for new DisptchResult semantics.
2749
2750         * lyxfunc.C (dispatch): handle update when return from
2751         Cursor::dispatch, adjust for new DispatchResult semantics.
2752
2753         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2754         DispatchResult(true) mean to not update. Add class functions for
2755         setting dispatched and update, as well as reading.
2756
2757         * cursor.C (dispatch): don't handle update here
2758
2759 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2762         * trans_mgr.C: adjust
2763
2764         * paragraph_funcs.C (readParToken): exception safety
2765
2766         * lyxvc.h: store the vcs pointer in a scoped_ptr
2767         * lyxvc.C: adjust
2768
2769         * lyxsocket.C (serverCallback): exception safety
2770
2771         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2772
2773         * ispell.C (clone): make it return a auto_ptr
2774
2775         * factory.C (createInset): exception safety
2776         (readInset): exception safety
2777
2778         * bufferlist.C (newBuffer): exception safety
2779
2780         * Thesaurus.C (Thesaurus): use initialization for aik_
2781
2782         * MenuBackend.C (expandToc): exception safety.
2783
2784 2003-11-03  André Pönitz  <poenitz@gmx.net>
2785
2786         * buffer.C:
2787         * buffer.h:
2788         * bufferview_funcs.C: remove getInsetFromId()
2789
2790         * lyxcursor.[Ch]:
2791         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2792
2793         * lyxfunc.C:
2794         * text2.C:
2795         * text3.C: adjust
2796
2797 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * PosIterator.C (distance, advance): new
2800         * bufferview_funcs.[Ch] (put_selection_at): new
2801         * iterators.[Ch] (lockPath): new
2802
2803 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2804
2805         * iterators.[Ch] (asPosIterator): added
2806         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2807         * PosIterator.[Ch]: added
2808
2809 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * text3.C:
2812         * lyxfunc.C:
2813         * cursor.C (dispatch):
2814         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2815
2816         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2817         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2818         contructor, add a class function dispatched. Remove operator>=
2819
2820 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * debug.C: only use the default constructor for debugstream
2823         (lyxerr) here.
2824
2825         * main.C (main): include debug.h and setup the lyxerr streambuf
2826         here.
2827
2828 2003-10-31  José Matos  <jamatos@lyx.org>
2829
2830         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2831
2832         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2833         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2834         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2835         * paragraph_pimpl.C (simpleTeXSpecialC):
2836         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2837         add LatexRunParams argument.
2838
2839         * exporter.C (Export): change call accordingly.
2840
2841         * latexrunparams.h: add new member to take care of the other backends.
2842 2003-10-30  José Matos  <jamatos@lyx.org>
2843
2844         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2845         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2846         factorise code for paragraph output.
2847         * buffer.[Ch]:
2848         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2849         move functions.
2850
2851 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * text3.C (dispatch):
2854         * lyxfunc.C (dispatch):
2855         * cursor.C (dispatch):
2856         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2857
2858         * dispatchresult.h: make the dispatch_result_t ctor explicit
2859
2860 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * sgml.[Ch]:
2863         * buffer.C: small refactoring of docbook stuff
2864
2865 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2868         meaning.
2869
2870 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2873         operator dispatch_result_t, and operators for == != and >=
2874
2875         * cursor.C (dispatch): adjust for operator dispatch_result_t
2876         removal. comment out call to update
2877
2878         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2879
2880 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * text3.C:
2883         * text2.C:
2884         * text.C:
2885         * lyxtext.h:
2886         * lyxfunc.C:
2887         * cursor.C:
2888         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2889         (dispatch):
2890
2891         * dispatchresult.h: new file, DispatchResult broken out of
2892         insets/insetbase.h
2893
2894         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2895
2896 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2897
2898         * text.C (rowBreakPoint): put a hack inside #if 0
2899
2900 2003-10-28  André Pönitz  <poenitz@gmx.net>
2901
2902         * lyxtext.h:
2903         * metricsinfo.C:
2904         * paragraph_funcs.C:
2905         * rowpainter.C:
2906         * text.C:
2907         * text2.C: general cleanup (lots of small stuff)
2908
2909 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2910
2911         * text2.C (cursorEnd): simple fix to the "end key goes to one
2912         before the end on last row" bug
2913
2914 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * text.C (backspace): fix the "zombie characters"
2917
2918 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2921
2922 2003-10-27  André Pönitz  <poenitz@gmx.net>
2923
2924         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2925
2926         * factory.C: handle new InsetPagebreak, InsetLine
2927
2928         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2929         and move handling into new InsetPagebreak, InsetLine
2930
2931         * BufferView_pimpl.C:
2932         * LyXAction.C:
2933         * ParagraphParameters.C:
2934         * ParameterStruct.h:
2935         * lyxfunc.C:
2936         * lyxtext.h:
2937         * paragraph.C:
2938         * paragraph.h:
2939         * paragraph_funcs.C:
2940         * paragraph_pimpl.C:
2941         * rowpainter.C:
2942         * text.C:
2943         * text2.C:
2944         * text3.C: adjust
2945
2946 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * text.C:
2949         * lyxrow_funcs.[Ch]:
2950         * Bidi.C:
2951         * paragraph.C:
2952         * lyxtext.h:
2953         * rowpainter.C:
2954         * text2.C:
2955         * text3.C: remove lastPos uses in favour of Row::endpos
2956
2957 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2958
2959         * undo.C (performUndoOrRedo): fix two crashes by setting a
2960         cursor by hand and reordering some calls. Use bv->lockInset instead
2961         of inset->edit because the latter loses cursor information
2962
2963 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2964
2965         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2966         by Martin
2967         (rowBreakPoint): fix width. change point to point + 1.
2968         Add a missing check.
2969
2970 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2971
2972         * MenuBackend.C:
2973         * lyxfunc.C: fix (at least partly) the problems
2974         with the Nav menu and headers inside branch insets
2975         reported by Kayvan
2976
2977 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * paragraph.C (getChar): add strong asserts
2980
2981         * lyxrow_funcs.C (lastPos): remove hideous hack
2982
2983         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2984         (fill): adjust to that (avoid an infinite loop)
2985
2986 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2989
2990 2003-10-23  André Pönitz  <poenitz@gmx.net>
2991
2992         * RowList_fwd.h: change list<> to vector<> to gain speed
2993         after suggestion from Alfredo
2994
2995 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2996
2997         * lyxtext.h: move the bidi stuff from here...
2998         * text.C: and here
2999         * text2.C: and here
3000         * Bidi.[Ch]: ... to here
3001
3002 2003-10-23  André Pönitz  <poenitz@gmx.net>
3003
3004         * lyxtext.h:
3005         * text.C (isLastRow, isFirstRow): new functions
3006
3007         * paragraph.h: new width cache member
3008
3009         * rowpainter.C: replace RowList::iterator with Row & where possible
3010
3011         * lyxfunc.C: replace several view()->text with a single call
3012
3013         * toc.C: fix 'unused' warning
3014
3015 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3018         when woring with stream::pos_type
3019         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3020
3021 2003-10-22  André Pönitz  <poenitz@gmx.net>
3022
3023         * lyxtext.h:
3024         * text.C: use Row & instead of RowList::iterator
3025
3026         * lyxrow.h: rename end() to endpos()
3027
3028         * rowpainter.C:
3029         * text.C:
3030         * text2.C: adjust
3031
3032 2003-10-22  Angus Leeming  <leeming@lyx.org>
3033
3034         * buffer.[Ch] (fully_loaded): new member function, returning true
3035         only when the file has been loaded fully.
3036         Used to prevent the premature generation of previews and by the
3037         citation inset to prevent computation of the natbib-style label.
3038
3039         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3040         templates are all set up.
3041
3042         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3043
3044 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3045
3046         * text.C: fixed an "oops" in the "is a bit silly"
3047         bug fix
3048
3049 2003-10-21  André Pönitz  <poenitz@gmx.net>
3050
3051         * FuncStatus.[Ch]: small stuff, whitespace
3052
3053         * lyxfont.[Ch]: operator<<() for debug reasons
3054
3055         * lyxfunc.C:
3056         * lyxrow_funcs.C:
3057         * lyxtext.h: whitespace, spelling
3058
3059         * paragraph.C: naming of variables
3060
3061         * text.C:
3062         * text2.C: small stuff
3063
3064
3065 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3066
3067         * text.C: (1) finish off the inset display() work;
3068         (2) fix the "is a bit silly" bug (accessing char
3069         past end of par).
3070
3071 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3072
3073         * text.C: re-introduce display() for insets, fixing the
3074         various bugs (stretch of line above, math inset
3075         positioning, ...)
3076
3077 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3078
3079         * text.C (rightMargin): remove spurious semicolon
3080
3081         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3082         1415)
3083
3084 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3085
3086         * text3.C: fix one crash due to wrong cursor def
3087
3088 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * vc-backend.C (scanMaster): make the regex static
3091
3092         * LaTeX.C (scanAuxFile): make the regexs static
3093
3094         * text3.C (doInsertInset, dispatch, dispatch):
3095         * text2.C (cursorUp, cursorDown):
3096         * text.C (selectNextWordToSpellcheck):
3097         * BufferView_pimpl.C (dispatch):
3098         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3099
3100 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3101
3102         * lyxsocket.C: include <cerrno>
3103
3104 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * lyxfunc.C (dispatch): remove textcache stuff
3107
3108         * bufferlist.C (release): remove textcache stuff
3109         (closeAll): ditto
3110
3111         * TextCache.C: delete file
3112         * TextCache.h: delete file
3113
3114         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3115
3116         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3117         delete of the bv_->text.
3118         (resizeCurrentBuffer): remove texcache stuff
3119         (workAreaResize): ditto
3120
3121 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3124         action.
3125
3126 2003-10-16  André Pönitz  <poenitz@gmx.net>
3127
3128         * lyxrow.[Ch]:
3129         * paragraph.h:
3130         * rowpainter.C:
3131         * text.C:
3132         * text2.C:
3133         * text3.C: speed up by storing y positions per paragraph plus per-row
3134         offset instead of having a 'full' y position in the row.
3135
3136 2003-10-15  André Pönitz  <poenitz@gmx.net>
3137
3138         * iterators.[Ch]:
3139         * iterators.[Ch]:
3140         * undo.[Ch]: make undo aware of inner insets
3141
3142 2003-10-14  Angus Leeming  <leeming@lyx.org>
3143
3144         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3145         static member functions LyX::ref() and LyX::cref.
3146         (lastfiles): new accessor functions for the new lastfiles_ member var.
3147         (addLyXView, views_): add a new LyXView to the list of views_.
3148         (updateInset): loop over all LyXViews to call their own updateInset
3149         member function, returning a pointer to the Buffer owning the inset.
3150
3151         * BufferView_pimpl.C (loadLyXFile):
3152         * MenuBackend.C (expandLastfiles):
3153         * bufferlist.C (MenuWrite, QuitLyX):
3154         lastfiles is no longer a global variable.
3155         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3156
3157         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3158         static function. Access through LyX::cref().emergencyCleanup().
3159
3160 2003-10-14  André Pönitz  <poenitz@gmx.net>
3161
3162         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3163
3164         * undo.[Ch]: restoring part of 'undo in insets'
3165
3166         * Makefile.am:
3167         * undo_funcs.[Ch]: merge with undo.[Ch]
3168
3169         * tabular.C: small cleansing stuff
3170
3171 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3172
3173         * paragraph_funcs.C (readParToken): report unknown insets as error
3174         boxes. Use the outer paragraph as location (also for unknown
3175         tokens).
3176
3177         * factory.C (readInset): do not abort on reading an unknown inset.
3178         Eat it and return 0.
3179
3180 2003-10-13  Angus Leeming  <leeming@lyx.org>
3181
3182         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3183
3184         * lyxrc.C: displayTranslator is now a function,
3185         declared in GraphicsTypes.h.
3186
3187 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3188
3189         * format.C: new placeholder $$a to pass the socket address.
3190
3191         * bufferlist.[Ch]: new function getBufferFromTmp.
3192
3193         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3194           files in the temporary dir.
3195
3196 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3197
3198         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3199
3200         * Makefile.am: add lyxsocket.[Ch].
3201
3202         * lyx_main.C (error_handler): handle SIGPIPE.
3203
3204 2003-10-13  André Pönitz  <poenitz@gmx.net>
3205
3206         * BufferView_pimpl.C:
3207         * lyxtext.h:
3208         * text.C:
3209         * text2.C:
3210         * text3.C:
3211         * undo_funcs.[Ch]: use paroffset_type instead of
3212           ParagraphList::iterators to prevent multiple conversion
3213           (and get a more robust interface)
3214
3215 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3218         * lyxtext.h: ditto
3219         * text3.C (dispatch): ditto
3220
3221 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3224         move the onlyfile, use onlyfile instead of foundfile in a couple
3225         of places.
3226
3227         * DepTable.C (update): flush the error stream a bit more
3228
3229 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3230
3231         * lyxserver.C (callback): adjust
3232
3233         * lyxfunc.C (getStatus): add a missing brace in commented code
3234         (ensureBufferClean): reindent
3235         (dispatch): delete version taking a string
3236
3237 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * LaTeX.C (deplog): move found file handlig from here...
3240         (handleFoundFile): .. to new function here.
3241         (deplog): make sure to discover several files mentioned on the
3242         same log line.
3243
3244 2003-10-10  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxfunc.C:
3247         * lyxtext.h:
3248         * tabular.C:
3249         * text.C:
3250         * text2.C:
3251         * text3.C: fix some of the tabular crashes
3252
3253 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3254
3255         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3256
3257         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3258
3259 2003-10-09  André Pönitz  <poenitz@gmx.net>
3260
3261         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3262
3263         * BufferView.C:
3264         * BufferView_pimpl.C:
3265         * bufferview_funcs.C:
3266         * lyx_cb.C:
3267         * lyxcursor.C:
3268         * lyxfind.C:
3269         * lyxfunc.C:
3270         * lyxtext.h:
3271         * text.C:
3272         * text2.C:
3273         * text3.C:
3274         * text_funcs.[Ch]:
3275         * textcursor.[Ch]:
3276         * undo_funcs.C: adjust
3277
3278 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * text2.C (incrementItemDepth): new function, use a backtracking
3281         algorithm to discover the correct item depth.
3282         (resetEnumCounterIfNeeded): new function, use a backtracking
3283         algorithm to discover if counter reset is needed.
3284         (setCounter): use them. Simplify a bit. Add different labels for
3285         different item depths for itemize.
3286
3287         * paragraph.C (Paragraph): remove initialization of enumdepth
3288         (operator=): ditto
3289
3290         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3291         enumerate and itemize. Change the type of itemdepth to signed char.
3292
3293 2003-10-08  André Pönitz  <poenitz@gmx.net>
3294
3295         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3296           thing assignable.
3297         * text.C:
3298         * text2.C: adjust
3299
3300         * tabular.[Ch]: fix crash after 'row-insert'
3301
3302 2003-10-08  Angus Leeming  <leeming@lyx.org>
3303
3304         Fix doxygen warnings.
3305
3306         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3307         Remove CutAndPaste:: prefix from header file declaration.
3308
3309         * LColor.h (fill): remove LColor:: prefix from declaration.
3310
3311         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3312         use lyx::depth_type rather than Paragraph::depth_type so that
3313         header file and .C file match.
3314
3315         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3316
3317         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3318         * aspell.C: \file aspell_local.C -> \file aspell.C
3319         * gettext.C: \file gettext.C -> \file src/gettext.C
3320         * gettext.h: \file gettext.h -> \file src/gettext.h
3321         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3322         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3323         * text.C: \file text.C -> \file src/text.C
3324
3325         * toc.C: move comment so that doxygen is not confused.
3326
3327 2003-10-07  Angus Leeming  <leeming@lyx.org>
3328
3329         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3330
3331 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3332
3333         * aspell.C:
3334         * aspell_local.h: add forgotten std::string's.
3335
3336 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3337
3338         * LaTeXFeatures.C:
3339         * LyXAction.C:
3340         * factory.C:
3341         * lfuns.h:
3342         * lyxfunc.C:
3343         * text3.C: The Box patch. Fancybox support, minipage, parbox
3344
3345 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3346
3347         * CutAndPaste.h:
3348         * DepTable.h:
3349         * FloatList.h:
3350         * LaTeXFeatures.h:
3351         * ParagraphParameters.h:
3352         * TextCache.h:
3353         * Thesaurus.h:
3354         * bufferlist.h:
3355         * exporter.h:
3356         * importer.h:
3357         * lastfiles.h:
3358         * lyxfind.h:
3359         * lyxfont.h:
3360         * lyxlex.h:
3361         * lyxtextclasslist.h:
3362         * messages.h:
3363         * paragraph.h:
3364         * paragraph_pimpl.C:
3365         * textcursor.h: add <string> and other small fixes to make Lars'
3366         std::string patch compile with STLport.
3367
3368 2003-10-06  Angus Leeming  <leeming@lyx.org>
3369
3370         * LColor.h: Add missing #include <string>.
3371
3372 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * All most all file in all subdirs: Make <string> be the prefered
3375         way of getting to std::string, add using declarations.
3376
3377 2003-10-06  André Pönitz  <poenitz@gmx.net>
3378
3379         * metricsinfo.C: initialize LyXFont before changing attribute.
3380         (fixes the 'math in \emph is upright' bug)
3381
3382 2003-10-06  André Pönitz  <poenitz@gmx.net>
3383
3384         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3385
3386 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * graph.C:
3389         * paragraph_pimpl.C: Small fixes to build using STLport
3390
3391 2003-10-02  André Pönitz  <poenitz@gmx.net>
3392
3393         * lyxfunc.C:
3394         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3395
3396 2003-10-01  André Pönitz  <poenitz@gmx.net>
3397
3398         * factory.C: assert early
3399
3400 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * lyx_main.C: remove the global debug object
3403
3404         * debug.h: adjust for new debugstream
3405
3406         * debug.C: adjust for new debugstream and keep the global debug
3407         object here.
3408
3409 2003-09-22  Angus Leeming  <leeming@lyx.org>
3410
3411         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3412         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3413         an incomplete class LyXFont.
3414
3415 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3416
3417         * factory.C: bug fix in branches
3418
3419 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * lyxfunc.C (processKeySym): adjust
3422         (dispatch): adjust
3423         (dispatch): change arg name from ev to func, adjust
3424         (sendDispatchMessage): ditto
3425
3426         * lyx_main.C (defaultKeyBindings): adjust keybindings
3427         (deadKeyBindings): ditto
3428
3429         * kbsequence.C (addkey): return a FuncRequest
3430
3431         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3432
3433         * kbmap.C (bind): take a FuncRequest as arg, adjust
3434         (read): adjust
3435         (lookup): adjust
3436         (defkey): change to take a FuncRequest as arg, adjust
3437         (findbinding): take a FuncRequest as arg, adjust.
3438
3439         * funcrequest.h (operator=): added
3440
3441         * funcrequest.C (FuncRequest): default kb_action changed from
3442         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3443
3444         * buffer.C (dispatch): simplify
3445         (dispatch): adjust to take a FuncRequest as arg, adjust
3446
3447         * boost.C (assertion_failed): change assertion message slightly
3448
3449         * ToolbarBackend.C (read): simplify
3450
3451         * MenuBackend.C (binding): adjust call to findbinding, add a
3452         message if no binding is found.
3453         (read): simplify
3454         (expandToc): correct by adding a empty FuncRequest
3455
3456         * LyXAction.C: include <boost/assert.hpp>
3457         (isPseudoAction): delete function
3458         (LookupFunc): change name to...
3459         (lookupFunc): this. change return type to FuncRequest.
3460         (getActionName): take kb_action as arg, simplify
3461         (funcHasFlag): add an assert, simplify.
3462
3463 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * toc.C (action): return a FuncRequest, simplify
3466
3467         * lyxfunc.C (processKeySym): adjust
3468         (getStatus): delete version that takes an int.
3469         (getStatus): adjust
3470         (dispatch): delete version that takes action as int
3471         (dispatch): adjust
3472         (sendDispatchMessage): simplify and adjust
3473
3474         * funcrequest.C (getArg): take unsigned int as arg
3475
3476         * ToolbarBackend.C (read): adjust
3477         (add): delete version that takes func as a string.
3478         (getIton): take a FuncRequest as arg
3479
3480         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3481         action.
3482
3483         * MenuBackend.C (MenuItem): add a new construct that only takes a
3484         Kind, simplify the constructor use for submenus.
3485         (add): adjust
3486         (expandLastfiles): adjust
3487         (expandDocuments): adjust
3488         (expandFormats): adjust
3489         (expandFloatListInsert): adjust
3490         (expandFloatInsert): adjust
3491         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3492
3493         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3494         Remove class variables lyx_pseudo_map and lyx_arg_map
3495
3496         * LyXAction.C (searchActionArg): delete function
3497         (getPseudoAction): delete function
3498         (retrieveActionArg): delete function
3499         (LookupFunc): make it return kb_action, simplify.
3500         (getActionName): simplify
3501
3502         * factory.C (createInset): fix new bug
3503
3504 2003-09-19  Angus Leeming  <leeming@lyx.org>
3505
3506         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3507         masterFilename_ parameter in the include inset.
3508
3509         * factory.C (createInset): changes due to the changes to InsetInclude.
3510
3511 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3512
3513         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3514
3515 2003-09-18  Angus Leeming  <leeming@lyx.org>
3516
3517         * buffer.C:
3518         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3519         Inset::fillWithBibKeys.
3520         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3521
3522 2003-09-18  Angus Leeming  <leeming@lyx.org>
3523
3524         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3525         variables.
3526         (ctor): pass and store a 'Buffer const &'
3527         (buffer): new member function.
3528
3529         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3530         '*this' to the LaTeXFeatures ctor.
3531
3532 2003-09-18  Angus Leeming  <leeming@lyx.org>
3533
3534         * LColor.h:
3535         * lyxfont.C:
3536         * lyxfont.h:
3537         * lyxtext.h:
3538         * text.C: rename EnumLColor as LColor_color.
3539
3540 2003-09-18  Angus Leeming  <leeming@lyx.org>
3541
3542         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3543         remove #include "insets/insetbase.h" from cursor.h.
3544
3545 2003-09-18  Angus Leeming  <leeming@lyx.org>
3546
3547         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3548         InsetOld_code to remove #include "inset.h".
3549
3550         * iterators.C: add #include "insets/inset.h"
3551
3552 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3553
3554         * BufferView.C: remove more locking stuff that apparently doesn't
3555         do anything sensible.
3556
3557 2003-09-16  André Pönitz  <poenitz@gmx.net>
3558
3559         * paragraph.[Ch]:
3560         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3561           performance boost.
3562
3563 2003-09-16  Angus Leeming  <leeming@lyx.org>
3564
3565         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3566
3567         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3568         arg/return type.
3569
3570         * paragraph.h: remove #include "lyxfont.h". Forward declare
3571         LyXFont_size.
3572
3573 2003-09-16  Angus Leeming  <leeming@lyx.org>
3574
3575         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3576         of support/textutils.h.
3577         (isWord): move the contents of support/textutils.h's IsWordChar here.
3578
3579         * buffer.C:
3580         * lyxfind.C:
3581         * rowpainter.C:
3582         * text.C:
3583         * text2.C: add #include "paragraph.h".
3584
3585         * rowpainter.C:
3586         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3587
3588 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * main.C:
3591         * lyx_main.C:
3592         * lyx_cb.C:
3593         * buffer.C:
3594         * LaTeX.C: use namespace alias for lyx::support::os
3595
3596 2003-09-16  Angus Leeming  <leeming@lyx.org>
3597
3598         * bufferparams.C:
3599         * bufferview_funcs.C:
3600         * factory.C:
3601         * lyxfunc.C:
3602         * paragraph_pimpl.C:
3603         * rowpainter.C:
3604         * text.C: add #include "LColor.h".
3605
3606 2003-09-16  Angus Leeming  <leeming@lyx.org>
3607
3608         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3609         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3610         return LyXFont &.
3611         Store the FontBits::color variable as an int rather than as an
3612         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3613         file.
3614
3615         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3616         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3617         string calls together.
3618
3619         * lyxrc.C: add #include "LColor.h".
3620
3621 2003-09-15  Angus Leeming  <leeming@lyx.org>
3622
3623         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3624         a cow_ptr.
3625
3626 2003-09-15  Angus Leeming  <leeming@lyx.org>
3627
3628         * LColor.h: add an EnumLColor wrapper for LColor::color.
3629
3630         * lyxfont.[Ch] (color, setColor, realColor):
3631         * lyxtext.h, text.C (backgroundColor):
3632         pass EnumLColor args to/from the functions, rather than LColor::color
3633         ones.
3634
3635         * lyxfont.h:
3636         * lyxtext.h: forward declare EnumLColor.
3637
3638         * lyx_main.C: add #include "LColor.h".
3639
3640 2003-09-15  Angus Leeming  <leeming@lyx.org>
3641
3642         * .cvsignore: add lyx-gtk.
3643
3644 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3645
3646         * Chktex.C
3647         * LaTeX.C
3648         * LaTeXFeatures.C
3649         * ParagraphParameters.C
3650         * Spacing.C
3651         * buffer.C
3652         * bufferparams.C
3653         * bufferview_funcs.C
3654         * chset.C
3655         * counters.C
3656         * funcrequest.C
3657         * lyxfont.C
3658         * lyxgluelength.C
3659         * lyxlength.C
3660         * paragraph.C
3661         * paragraph_funcs.C
3662         * text3.C
3663         * vc-backend.C: remove usage of STRCONV
3664
3665 2003-09-15  Angus Leeming  <leeming@lyx.org>
3666
3667         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3668         explicitly define the color passed to the painter.
3669
3670 2003-09-15  Angus Leeming  <leeming@lyx.org>
3671
3672         * bufferparams.C (BufferParams): reorder member initializers to avoid
3673         compiler warning.
3674
3675 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3678         * text.C (updateRowPositions): remove an unusual nop
3679
3680 2003-09-12  André Pönitz  <poenitz@gmx.net>
3681
3682         * BufferView_pimpl.C:
3683         * Bullet.C:
3684         * layout.h:
3685         * lyxfunc.C:
3686         * lyxlayout.[Ch]:
3687         * lyxtextclass.C:
3688         * rowpainter.C:
3689         * text.C:
3690         * text2.C:
3691         * Counters.[Ch]: finish the 'automatic counters' job
3692
3693 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3694
3695         * aspell.C: include <boost/assert.cpp> (compile fix)
3696
3697 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3698
3699         * boost.C (assertion_failed): use lyx::support::abort instead of
3700         assert.
3701
3702 2003-09-10  Angus Leeming  <leeming@lyx.org>
3703
3704         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3705         with their _fwd progeny.
3706
3707 2003-09-09  Angus Leeming  <leeming@lyx.org>
3708
3709         134 files throughtout the source tree: replace 'using namespace abc;'
3710         directives with the appropriate 'using abc::xyz;' declarations.
3711
3712 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3713
3714         * boost.C (emergencyCleanup): moved here from LAssert.c
3715         (assertion_failed): new function, called by BOOST_ASSERT
3716
3717         * several files: change Assert to BOOST_ASSERT
3718
3719 2003-09-09  Angus Leeming  <leeming@lyx.org>
3720
3721         * buffer.[Ch]: Add an Impl class and move Buffer's member
3722         variables into it. As a result move several header files out of
3723         buffer.h.
3724
3725         Add header files to lots of .C files all over the tree as a result.
3726
3727 2003-09-09  Angus Leeming  <leeming@lyx.org>
3728
3729         * buffer.[Ch]: make Buffer's member variables private. Add
3730         accessor functions.
3731
3732         Lots of changes all over the tree as a result.
3733
3734 2003-09-08  Angus Leeming  <leeming@lyx.org>
3735
3736         * graph.C: #include <config.h>.
3737
3738 2003-09-08  Angus Leeming  <leeming@lyx.org>
3739
3740         * BranchList.C:
3741         * BufferView.C:
3742         * BufferView_pimpl.C:
3743         * CutAndPaste.C:
3744         * DepTable.C:
3745         * LaTeX.C:
3746         * LaTeXFeatures.C:
3747         * LyXAction.C:
3748         * MenuBackend.C:
3749         * TextCache.C:
3750         * aspell.C:
3751         * buffer.C:
3752         * bufferlist.C:
3753         * changes.C:
3754         * chset.C:
3755         * converter.C:
3756         * counters.C:
3757         * debug.C:
3758         * graph.C:
3759         * ispell.C:
3760         * lyx_cb.C:
3761         * lyxfind.C:
3762         * lyxfunc.C:
3763         * lyxlex_pimpl.C:
3764         * lyxrc.C:
3765         * lyxrow.C:
3766         * paragraph.C:
3767         * rowpainter.C:
3768         * texrow.C:
3769         * text.C:
3770         * text2.C:
3771         * toc.C: remove redundant using directives.
3772
3773 2003-09-07  Angus Leeming  <leeming@lyx.org>
3774
3775         * LaTeXFeatures.h: remove #include "support/types.h".
3776         * ToolbarBackend.h: remove #include <algorithm>.
3777         * changes.h: remove #include <ctime>.
3778         * debug.h: remove #include <iosfwd>.
3779         * graph.h: remove #include "support/std_string.h".
3780         * lyx_main.h: remove #include <csignal>.
3781         * lyxlex_pimpl.h: remove #include <fstream>.
3782         * sgml.h: remove #include <algorithm>, <utility>.
3783         * toc.h: remove #include "support/std_ostream.h".
3784         Add #include <iosfwd>.
3785
3786 2003-09-07  Angus Leeming  <leeming@lyx.org>
3787
3788         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3789
3790         * converter.h: forward declare LatexRunParams.
3791         * encoding.h: remove #include "lyxrc.h".
3792         * lyxtext.h: remove #include "LColor.h".
3793         * lyxtextclass.h: remove #include "support/types.h".
3794         * trans.h: remove #include "tex-accent.h".
3795         * trans_mgr.h: remove #include "tex-accent.h".
3796         * insets/inset.h: remove #include "support/types.h", <vector>.
3797         * insets/insetcollapsable.h: remove #include "LColor.h".
3798         * insets/insetinclude.h: remove #include "dimension.h".
3799         * insets/insetlatexaccent.h: remove #include "dimension.h".
3800         * insets/insetoptarg.h:: remove #include "insettext.h".
3801         * insets/insettext.h: remove #include "dimension.h",
3802         <boost/shared_ptr.hpp>
3803
3804         * insets/renderers.h: add #include "dimension.h".
3805         * insets/updatableinset.h: add #include "support/types.h".
3806
3807         * many .C files: Associated changes.
3808
3809 2003-09-06  Angus Leeming  <leeming@lyx.org>
3810
3811         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3812         one, inside testInvariant.
3813
3814         * PrinterParams.C: new file.
3815         * PrinterParams.[Ch]: move the function bodies out of line.
3816
3817 2003-09-06  Angus Leeming  <leeming@lyx.org>
3818
3819         * ParagraphParameters.h: forward declare ParameterStruct rather than
3820         including its header file.
3821         (depth): moved out-of-line.
3822
3823 2003-09-06  Angus Leeming  <leeming@lyx.org>
3824
3825         * BufferView_pimpl.h:
3826         * kbmap.h:
3827         * kbsequence.h:
3828         * lyxfunc.h: forward declare LyXKeySym rather than
3829         #include "frontends/LyXKeySym.h".
3830
3831         * BufferView_pimpl.C:
3832         * kbmap.C:
3833         * kbsequence.C:
3834         * lyxfunc.C: associated changes.
3835
3836 2003-09-06  Angus Leeming  <leeming@lyx.org>
3837
3838         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3839         As a result, can remove the #include "insets/inset.h" from BufferView.h
3840
3841 2003-09-06  Angus Leeming  <leeming@lyx.org>
3842
3843         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3844         As a result, can remove the #include "insets/inset.h" from BufferView.h
3845
3846 2003-09-06  Angus Leeming  <leeming@lyx.org>
3847
3848         * buffer_funcs.C:
3849         * buffer.h:
3850         * bufferlist.C:
3851         * BufferView.C:
3852         * bufferview_funcs.C:
3853         * BufferView_pimpl.C:
3854         * CutAndPaste.C:
3855         * lyx_cb.C:
3856         * lyxfunc.C:
3857         * paragraph.h:
3858         * ParagraphParameters.C:
3859         * tabular.C:
3860         * text3.C:
3861         * toc.C:
3862         * undo_funcs.C:
3863         * frontends/controllers/ControlDocument.C:
3864         * insets/insetcaption.C: rearrange the #includes into some sort of
3865         coherent order.
3866
3867         * buffer.h: remove #includes ErrorList.h, undo.h
3868
3869 2003-09-06  Angus Leeming  <leeming@lyx.org>
3870
3871         * support/types.h: add a 'depth_type' typedef, used to store the
3872         nesting depth of a paragraph.
3873
3874         * paragraph.h:
3875         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3876         defining explicitly.
3877
3878         * buffer.h:
3879         * paragraph_funcs.h:
3880         * ParagraphParameters.h:
3881         * sgml.h: use lyx::depth_type rather than Paragraph or
3882         ParameterStruct's depth_type.
3883
3884         * buffer.h
3885         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3886
3887         * BufferView.C:
3888         * BufferView_pimpl.C:
3889         * CutAndPaste.C:
3890         * ParagraphParameters.C:
3891         * buffer_funcs.C:
3892         * bufferlist.C:
3893         * bufferview_funcs.C:
3894         * lyx_cb.C:
3895         * lyxfunc.C:
3896         * tabular.C:
3897         * text3.C:
3898         * toc.C:
3899         * undo_funcs.C:
3900         * frontends/LyXView.C:
3901         * frontends/controllers/ControlDocument.C:
3902         * frontends/controllers/ControlErrorList.C:
3903         * insets/insetbibitem.C:
3904         * insets/insetbranch.C:
3905         * insets/insetcaption.C:
3906         * insets/insetcollapsable.C:
3907         * insets/insetenv.C:
3908         * insets/insetert.C:
3909         * insets/insetfloat.C:
3910         * insets/insetfoot.C:
3911         * insets/insetfootlike.C:
3912         * insets/insetnewline.C:
3913         * insets/insetquotes.C:
3914         * insets/insettabular.C:
3915         * insets/insettext.C:
3916         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3917
3918         * frontends/controllers/ControlChanges.C: #include "changes.h".
3919
3920 2003-09-06  Angus Leeming  <leeming@lyx.org>
3921
3922         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3923         than #including paragraph.h.
3924
3925         * ParagraphList.h:
3926         * RowList.h: deleted. Superfluous.
3927
3928         * CutAndPaste.h:
3929         * iterators.h:
3930         * lyxcursor.h:
3931         * lyxtext.h:
3932         * text_funcs.h:
3933         * undo.h:
3934         * undo_funcs.h:
3935         * insets/inset.h:
3936         * insets/insettext.h: use ParagraphList_fwd.h rather than
3937         ParagraphList.h.
3938
3939         * paragraph.h: don't forward declare ParagraphList.
3940
3941         * buffer.h:
3942         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3943         rather than ParagraphList.h. paragraph.h is still needed for the
3944         Paragraph::depth_type parameters.
3945
3946         * textcursor.h: enable it to compile stand-alone in light of the
3947         above changes.
3948
3949         * bufferview_funcs.C:
3950         * iterators.C:
3951         * lyxfunc.C:
3952         * lyxrow_funcs.C:
3953         * paragraph.C:
3954         * rowpainter.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C:
3958         * text_funcs.C:
3959         * textcursor.C:
3960         * undo.C:
3961         * frontends/controllers/ControlParagraph.C:
3962         * frontends/controllers/ControlTabular.C:
3963         * insets/insetmarginal.C:
3964         * insets/insetminipage.C:
3965         * insets/insetnote.C:
3966         * insets/insetoptarg.C: add header files needed to compile again.
3967
3968 2003-09-06  Angus Leeming  <leeming@lyx.org>
3969
3970         * RowList_fwd.h: new file, forward-declaring Row rather than
3971         #including lyxrow.h.
3972
3973         * lyxrow_funcs.h:
3974         * lyxtext.h:
3975         * paragraph.h:
3976         * insets/insettext.h: use it instead of RowList.h
3977
3978         * bufferview_funcs.C:
3979         * lyxfunc.C:
3980         * lyxrow_funcs.C:
3981         * paragraph.C:
3982         * rowpainter.C:
3983         * text.C:
3984         * text2.C:
3985         * text3.C: #include "RowList.h".
3986
3987 2003-09-05  Angus Leeming  <leeming@lyx.org>
3988
3989         * factory.C (createInset):
3990         * vspace.C (c-tor): replace sscanf call with an istringstream.
3991         * ispell.C: re-add missing HP/UX headers.
3992         * lyxserver.C: re-add missing  os2 headers.
3993
3994 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3995
3996         * BranchList.C:
3997         * graph.C:
3998         * ispell.C:
3999         * lastfiles.C:
4000         * lyx_cb.C:
4001         * lyxserver.C:
4002         * texrow.C:
4003         * text3.C: re-add missing system headers, needed for 2.95.2.
4004
4005 2003-09-05  Angus Leeming  <leeming@lyx.org>
4006
4007         Changes most place everywhere due to the removal of using directives
4008         from support/std_sstream.h.
4009
4010 2003-09-05  Angus Leeming  <leeming@lyx.org>
4011
4012         Replace LString.h with support/std_string.h,
4013         Lsstream.h with support/std_sstream.h,
4014         support/LIstream.h with support/std_istream.h,
4015         support/LOstream.h with support/std_ostream.h.
4016
4017         Changes resulting throughout the tree.
4018
4019 2003-09-05  Angus Leeming  <leeming@lyx.org>
4020
4021         * sgml.h: ensure that the header file can be compiled stand-alone.
4022         * *.C: strip out redundant #includes. (320 in total.)
4023
4024 2003-09-04  Angus Leeming  <leeming@lyx.org>
4025
4026         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4027         here (from getPackages).
4028
4029         * debug.[Ch]: add a new EXTERNAL tag.
4030
4031 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4032
4033         * text2.C (cursorEnd): simplify
4034         (setCursor): adjust
4035         (getColumnNearX): adjust
4036
4037         * text.C (computeBidiTables): adjust
4038         (fill): adjust
4039
4040         * rowpainter.C (paintChars): adjust
4041         (paintSelection): adjust
4042         (paintChangeBar): adjust
4043         (paintText): adjust
4044
4045         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4046         lastPos instead.
4047         (numberOfSeparators): adjust
4048
4049 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4050
4051         * LyXAction.C:
4052         * box.[Ch]:
4053         * lfuns.h:
4054         * lyxfunc.C:
4055         * text3.C: Restricts the mouse click functionality
4056         of insets like bibtex, include, toc and floatlist to the visible
4057         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4058         up the dialogs. Cursor has to be in front of the inset (i.e.
4059         start of row) for this to function.
4060
4061 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4062
4063         * bufferview_funcs.C (currentState): output row information
4064
4065 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4066
4067         * bufferview_funcs.C (currentState): output paragraph position
4068
4069 2003-09-04  Angus Leeming  <leeming@lyx.org>
4070
4071         * FloatList.h: move out #include "Floating.h".
4072         * LaTeX.h: move out #include "DepTable.h".
4073         * LyXAction.h: move out #include "funcrequest.h".
4074         * buffer.h: move out #include "author.h", "iterators.h".
4075         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4076         * lyx_main.h: move out #include "errorlist.h".
4077         * lyxfunc.h: move out #include "FuncStatus.h".
4078         * lyxtext: move out #include "lyxcursor.h".
4079         * paragraph_pimpl.h: move out #include "counters.h".
4080
4081 2003-09-03  Angus Leeming  <leeming@lyx.org>
4082
4083         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4084         preamble_snippets list, enabling us to add snippets to the preamble
4085         only if the snippet was not there already.
4086
4087 2003-09-04  Angus Leeming  <leeming@lyx.org>
4088
4089         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4090
4091 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4094         update
4095
4096 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4097
4098         * BranchList.C: point fix, earlier forgotten
4099
4100 2003-09-02  Angus Leeming  <leeming@lyx.org>
4101
4102         * box.C (contains): renamed from 'contained' after a fantastic
4103         amount of hot air.
4104
4105 2003-09-02  John Levon  <levon@movementarian.org>
4106
4107         * BufferView.C:
4108         * lyxcursor.h:
4109         * lyxcursor.C:
4110         * lyxfunc.C:
4111         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4112
4113 2003-09-02  John Levon  <levon@movementarian.org>
4114
4115         * text2.C: simplification of cursorEnd(), including partial
4116         fix for bug 1376
4117
4118 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * buffer.C (readFile): add a space
4121
4122 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4123
4124         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4125
4126 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * buffer.C (readFile): new function, take a filename and a
4129         ParagraphList::iterator
4130         (readFile): adjust
4131         (readFile): adjust, make it private. don't use setStream, make
4132         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4133         always contain the filename.
4134
4135         * BufferView.C (insertLyXFile): simplify and make it work for
4136         gzipped files.
4137
4138 2003-08-30  John Levon  <levon@movementarian.org>
4139
4140         * Makefile.am: fix dist (from Kayvan)
4141
4142 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * most files: change to use const Buffer refs
4145
4146 2003-08-27  André Pönitz  <poenitz@gmx.net>
4147
4148         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4149         on top of ownerPar().
4150
4151 2003-08-27  John Levon  <levon@movementarian.org>
4152
4153         * funcrequest.C: properly initialise POD members
4154
4155 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * lyxtext.h (top_y): move top_y from here
4158         * text.C:
4159         * text2.C:
4160         * text3.C:
4161         * BufferView.[Ch]:
4162         * BufferView_pimpl.[Ch]: to here
4163         * frontends/screen.C:
4164         * insets/insettabular.C:
4165         * insets/insettext.C: adjust
4166         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4167
4168 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * BufferView.[Ch]:
4171         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4172
4173 2003-08-26  André Pönitz  <poenitz@gmx.net>
4174
4175         * paragraph_func.[Ch] (outerPar): new function
4176
4177         * paragraph.C:
4178         * paragraph_funcs.C:
4179         * paragraph_funcs.h:
4180         * paragraph_pimpl.C:
4181         * text2.C: remove Inset::par_owner
4182
4183 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4184
4185         * lyxrow_funcs.C:
4186         * lyxtext.h:
4187         * text.C:
4188         * text2.C: eliminates the needFullRow/display() stuff
4189         altogether, putting the logic in metrics/draw in the insets.
4190
4191 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * text2.C (redoParagraphInternal, redoParagraphs):
4194         * text.C (redoParagraph): add a call to updateRowPositions at the
4195         end of each 'metrics-like' call. Remove all others.
4196         (getRow): remove the 'y-computing' version.
4197         (getRowNearY): do not compute nor return the real y. Solve the
4198         'y < 0' problem and simplify.
4199
4200 2003-08-22  Angus Leeming  <leeming@lyx.org>
4201
4202         * *.[Ch]: clean-up of licence and author blurbs.
4203         Also move config.h out of a few .h files and into a few .C files.
4204
4205 2003-08-22  André Pönitz  <poenitz@gmx.net>
4206
4207         * lyxrow.[Ch]: add x_ and *fill_ members
4208
4209         * lyxtext.h:
4210         * text.C:
4211         * rowpainter.C:
4212         * text2.C: adjust/remove prepareToPrint() calls
4213
4214 2003-08-22  André Pönitz  <poenitz@gmx.net>
4215
4216         * lyxrow.[Ch]: add  end_ member
4217
4218         * lyxrow_funcs.C: use LyXRow::end_
4219
4220         * lyxtext.h (singleWidth): add LyXFont parameter
4221
4222         * rowpainter.C:
4223         * text2.C: adjust LyXText::singleWidth() calls
4224
4225         * text.C (redoParagraph): simplify row breaking logic
4226
4227
4228 2003-08-19  André Pönitz  <poenitz@gmx.net>
4229
4230         * funcrequest.C: initialize button_ member
4231
4232         * text3.C:
4233         * rowpainter.[Ch]: interface consolidation
4234
4235 2003-08-18  André Pönitz  <poenitz@gmx.net>
4236
4237         * BufferView.C:
4238         * BufferView_pimpl.C:
4239         * lyxfind.C:
4240         * paragraph_funcs.C:
4241         * rowpainter.C:
4242         * text3.C: remove LyXScreen::draw() and fitCursor calls
4243
4244         * BranchList.h: remove spurious semicolons
4245
4246         * MenuBackend.C: fix branchlist related crash
4247
4248 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4249
4250         * BranchList.[Ch]:
4251         * InsetList.[Ch]:
4252         * LColor.[Ch]:
4253         * LyXAction.C:
4254         * Makefile.am:
4255         * MenuBackend.[Ch]:
4256         * bufferparams.[Ch]:
4257         * factory.C:
4258         * lfuns.h:
4259         * lyxfunc.C:
4260         * text3.C: implements the 'branch inset'
4261         idea. This allows the output of various versions of a document
4262         from a single source version, selectively outputing or suppressing
4263         output of parts of the text.
4264         This implementation contains a 'branch list editor' in a separate
4265         tab of the document settings dialog. Branches are user definable
4266         and have a "display colour" to distinguish them on-screen.
4267
4268         ColorHandler was somewhat cleaned up.
4269         (1) make possible a dynamically growing LColor list by allowing
4270         the graphic context cache to grow along (vector);
4271         (2) eliminate an IMHO unnecessary step in colour allocation.
4272
4273 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4274
4275         * BufferView_pimpl.C: compile fix
4276
4277 2003-08-15  André Pönitz  <poenitz@gmx.net>
4278
4279         * rowpainter.C: remove extra metrics calls
4280
4281         * lyxtext.h: merge the two constructors into a single one,
4282           pass reference to owner's par list
4283
4284         * BufferView_pimpl.C:
4285         * text.C:
4286         * text2.C: adjust
4287
4288 2003-08-15  André Pönitz  <poenitz@gmx.net>
4289
4290         * lyxrow_funcs.[Ch]:
4291         * lyxtext.h:
4292         * paragraph.h:
4293         * paragraph_funcs.C:
4294         * rowpainter.C:
4295         * text.C:
4296         * text2.C:
4297         * text3.C:
4298         * text_funcs.C: split LyXText::rowlist_ into individual
4299         Paragraph::rows_ chunks
4300
4301         * BufferView.[Ch]:
4302         * BufferView_pimpl.[Ch]:
4303         * lyxfind.C:
4304         * lyxtext.h:
4305         * text3.C: remove toggleSelection()
4306
4307 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4308
4309         * bufferlist.C: beautify two alerts (shorter text of buttons)
4310         * buffer.C: Remove redundant ' ' from message
4311         * tabular.h:
4312         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4313         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4314         rename VALIGN_CENTER to VALIGN_MIDDLE
4315
4316 2003-08-11  André Pönitz  <poenitz@gmx.net>
4317
4318         * lyxtext.h (getPar):
4319         * text.C: new function
4320
4321 2003-08-11  André Pönitz  <poenitz@gmx.net>
4322
4323         * Makefile.am:
4324         * tracer.[Ch]: remove unneeded files
4325
4326         * InsetList.[Ch]: remove resizeInsetsLyXText()
4327
4328         * lyxtext.h:
4329         * text.C:
4330         * text2.C:
4331         * text3.C: merge insertParagraphs() and appendParagraph()
4332         remove breakAgain(), update()
4333
4334         * BufferView_pimpl.[Ch]:
4335         * bufferview_funcs.[Ch]:
4336         * lyxfunc.C:
4337         * paragraph.[Ch]:
4338         * rowpainter.C:
4339         * tabular.C: adjust after text & InsetList changes.
4340
4341 2003-08-08  André Pönitz  <poenitz@gmx.net>
4342
4343         * text.C (insertChar, backspace): replace rowlist fiddling
4344         with rebreak of full par
4345
4346         * lyxtext.h:
4347         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4348         checkParagraph, updateInset): removed
4349
4350 2003-08-07  André Pönitz  <poenitz@gmx.net>
4351
4352         * paragraph.C:
4353         * text3.C: merge some LFUN handlers, remove dead code
4354
4355 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4356
4357         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4358
4359 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * text2.C (DEPM): fix part of bug 1255 and 1256
4362
4363 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4364
4365         * BufferView_pimpl.C (workAreaDispatch): change to use
4366         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4367         that are no mouse related.
4368
4369 2003-08-05  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView.[Ch]:
4372         * BufferView_pimpl.[Ch]:
4373         * bufferview_funcs.C:
4374         * text2.C:
4375         * text3.C: rip out "deep update"
4376
4377         * textcursor.[Ch] (last_sel_cursor): remove unused member
4378
4379 2003-08-04  André Pönitz  <poenitz@gmx.net>
4380
4381         * BufferView.[Ch]:
4382         * BufferView_pimpl.[Ch]:
4383         * ParagraphParameters.C:
4384         * bufferview_funcs.C:
4385         * lyx_cb.C:
4386         * lyxfind.C:
4387         * lyxfunc.C:
4388         * text.C:
4389         * text2.C:
4390         * text3.C: replace "complicated" BufferView::update(...) calls with
4391         simpler ones.
4392
4393         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4394
4395 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4396
4397         * Makefile.am (lyx_SOURCES): add paper.h
4398
4399 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4400
4401         * Makefile.am: move things around so that both lyx-qt and
4402         lyx-xforms can be built (according to --with-frontend). Then lyx
4403         is a symbolic link to lyx-[firstfrontend]
4404
4405 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4406
4407         * Always use std::endl with lyxerr
4408
4409 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4410
4411         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4412
4413 2003-08-01  André Pönitz  <poenitz@gmx.net>
4414
4415         * BufferView.[Ch]:
4416         * BufferView_pimpl.[Ch]:
4417         * lyxfunc.C:
4418         * text3.C: merge BufferView::repaint() and BufferView::update()
4419
4420 2003-08-01  José Matos  <jamatos@lyx.org>
4421
4422         * buffer.[Ch]: file_format is no longer a buffer data element.
4423
4424 2003-08-01  André Pönitz  <poenitz@gmx.net>
4425
4426         * BufferView.C:
4427         * lyxtext.h:
4428         * text.C:
4429         * text2.C: make redoParagraph more independent of current cursor
4430
4431         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4432         * text.C:
4433         * text2.C: remove unneeded members
4434
4435 2003-07-30  André Pönitz  <poenitz@gmx.net>
4436
4437         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4438
4439         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4440           create a single function...
4441
4442         * paragraph_funcs.C (moveItem): ... here.
4443
4444         * text.C:
4445           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4446
4447 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4448
4449         * LColor.[Ch]: Add comment and greyedout logical colors.
4450
4451 2003-07-30  André Pönitz  <poenitz@gmx.net>
4452
4453         * tabular.C: don't use Assert too heavily. This crashes where it
4454           shouldn't
4455
4456 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4459         is disabled (bug 1232)
4460
4461 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4462
4463         * factory.C: limited 'arg' scope
4464
4465 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4466
4467         * factory.C: fixed Note submenu issues
4468
4469 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4470
4471         * factory.C: submenu for Note/Comment/Greyedout
4472
4473 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * lyx_main.C (LyX):
4476         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4477
4478 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4479
4480         * LaTeXFeatures.C:
4481         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4482         greyedout. Patch provided by Jürgen Spitzmüller.
4483
4484 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4485
4486         * kbmap.C (read): fix error message when reading bind files
4487
4488 2003-07-29  Angus Leeming  <leeming@lyx.org>
4489
4490         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4491         certainly does not do what it purports to do. I am doing it, and
4492         us, a favour by killing it.
4493
4494 2003-07-28  José Matos  <jamatos@lyx.org>
4495
4496         * buffer.C (readBody, do_writeFile):
4497         * paragraph.C(readParagraph): \end_document replaces \the_end.
4498
4499 2003-07-29  André Pönitz  <poenitz@gmx.net>
4500
4501         * BufferView.[Ch]:
4502         * BufferView_pimpl.[Ch]:
4503         * lyxfunc.C:
4504         * text2.C:
4505         * text3.C:
4506         * textcursor.[Ch]: remove toggleToggle & Co
4507
4508 2003-07-28  José Matos  <jamatos@fep.up.pt>
4509
4510         * buffer.C (readParagraph):
4511         * params_func (readParToken, readParagraph):
4512         * paragraph.C (write): \layout -> \begin_layout.
4513
4514 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * lyxlex_pimpl.C (setFile): clean up slightly.
4517
4518         * bufferparams.h: add compressed var
4519
4520         * buffer_funcs.C (readFile): adjust for LyXLex change
4521         (newFile): ditto + simplify
4522
4523         * buffer.C (writeFile): handle writing of compressed files
4524
4525         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4526         Check if the file is compressed and set a bufferparm if so.
4527
4528         * Makefile.am (lyx_LDADD): remove explicit -lz
4529
4530 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4531
4532         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4533         makeDocBookFile): put the real LyX version in the first line of
4534         the file
4535
4536         * version.h:
4537         * version.C.in: remove lyx_docversion
4538
4539         * tabular.C (write_attribute): add a template-based version to
4540         write enums properly
4541
4542 2003-07-28  André Pönitz  <poenitz@gmx.net>
4543
4544         * lyxtext.h:
4545         * text.C:
4546         * text2.C:
4547         * text3.C: use doubles again for x-coordinates. They are needed.
4548
4549 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * messages.C (getLocaleDir): use lyx_localedir()
4552
4553         * lyxlex_pimpl.C (setFile): compress stuff
4554
4555         * buffer.C (writeFile): add some compression stuff
4556         (do_writeFile): new func, dont call expliti close... will this
4557         breake anything?
4558
4559         * Makefile.am (lyx_LDADD): add -lz
4560
4561 2003-07-28  José Matos  <jamatos@fep.up.pt>
4562
4563         * buffer.C: increment file format.
4564         * paragraph_funcs (readParagraph, readParToken):
4565         * paragraph.C (readParagraph): add \end_layout.
4566
4567 2003-07-27  Angus Leeming  <leeming@lyx.org>
4568
4569         * Makefile.am: remove special casing for configure-time setting of
4570         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4571
4572         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4573         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4574
4575 2003-07-26  André Pönitz  <poenitz@gmx.net>
4576
4577         * paragraph_func.[Ch]:
4578         * paragraph.C (realizeFont): inline it whereever it is used
4579
4580         * rowpainter.C:
4581         * text.C:
4582         * text2.C:
4583         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4584
4585
4586 2003-07-26  André Pönitz  <poenitz@gmx.net>
4587
4588         *       lyxtext.h:
4589         * text.C:
4590         * text2.C: get rid of LyXText::need_break_row
4591
4592 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * toc.[Ch]: put namespace toc inside namespace lyx
4595
4596         * MenuBackend.C (expandToc2): adjust for lyx::toc
4597         (expandToc): ditto
4598
4599         * lyxfunc.C (dispatch): adjust for lyx::find
4600
4601         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4602         lyx::find instead. Reorganize a bit.
4603         (LyXReplace): rename to replace
4604         (LyXFind): rename to find
4605
4606         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4607         (dispatch): ditto
4608
4609 2003-07-26  André Pönitz  <poenitz@gmx.net>
4610
4611         * text.C (setHeightOfRow): restrict scope of temporary variable
4612
4613         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4614           code (never has been used?)
4615
4616 2003-07-27  Asger Alstrup  <alstrup@local>
4617
4618         * text.C (fill): Optimise algorithm to exploit that we can reuse
4619         the LyXFont for many characters.
4620         (setHeightOfRow): Same thing.
4621         (rowBreakPoint): Same thing.
4622
4623 2003-07-26  Asger Alstrup  <alstrup@local>
4624
4625         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4626
4627         * text.C (singleWidth): Spurious font copying in hot-spot
4628         singleWidth avoided. Reorder tests for arabic for efficiency.
4629
4630         * text.C (fill): handle empty paragraphs better.
4631
4632 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4633
4634         * ispell.C:
4635         * encoding.h: add includes
4636
4637         * lyxrc.C: remove reading of bind files
4638
4639         * lyx_main.C (init): setup bindings and menus only if we have a
4640         gui.
4641
4642         * kbmap.C (read): new method. Do the actual reading of bind
4643         files.
4644
4645         * converter.C (dvipdfm_options):
4646         * bufferparams.C:
4647         * lyxrc.C (read):
4648         (output): adapt PAPER_* enums.
4649
4650         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4651
4652         * bufferparams.h: remove paper-related enums from there
4653
4654         * paper.h: New file. A trivial header file to hold paper-related
4655         enums. It should later expand to contain many paper-related
4656         horrors access.
4657
4658         * lyxrc.C: declare extern displayTranslator
4659
4660 2003-07-27  José Matos  <jamatos@fep.up.pt>
4661
4662         * tabular.[Ch] (linuxdoc): add support for tables and figures
4663         (linuxdoc).
4664
4665 2003-07-27  José Matos  <jamatos@fep.up.pt>
4666
4667         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4668         consistency in both functions.
4669         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4670
4671 2003-07-26  Asger Alstrup  <alstrup@local>
4672
4673         * rowpainter.C (paintRows): Change algorithm to work directly on
4674         the insets rather than asking every character in the document
4675         whether its an inset.
4676
4677 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * buffer.C (openFileWrite): factorize some code
4680
4681 2003-07-26  Angus Leeming  <leeming@lyx.org>
4682
4683         * lyx_cb.C:
4684         * lyx_main.[Ch]: replace occurances of system_tempdir with
4685         os::getTmpDir().
4686
4687 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * rename Inset to InsetOld
4690
4691 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4692
4693         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4694         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4695         which I think is a bit clearer. EDIT is gone, since it was
4696         premature optimisation, and broken for mathed anyway.
4697         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4698         with cursor positioning in insets as well (math insets still do not
4699         work, but that's a different story anyway.) It mysteriously
4700         crashes sometimes with undo in the first paragraph, but I'm fairly
4701         confident that this is a compiler bug.
4702
4703 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * paragraph.C (Paragraph): adjust for new clone return type
4706         (operator==): ditto
4707         (copyIntoMinibuffer): ditto
4708
4709 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4710
4711         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4712         by not having a special case, and always doing a full rebreak of
4713         the document after undo.
4714
4715 2003-07-23  Angus Leeming  <leeming@lyx.org>
4716
4717         * factory.C (createInset): InsetExternal::setParams now takes a
4718         Buffer const * arg.
4719
4720 2003-07-23  Angus Leeming  <leeming@lyx.org>
4721
4722         * factory.C (createInset): changed interface to the external and
4723         graphics mailers' string2params functions.
4724
4725 2003-07-23  Angus Leeming  <leeming@lyx.org>
4726
4727         * factory.C (createInset): pass a
4728         Buffer const * parameter to InsetExternalMailer's string2params.
4729
4730 2003-07-22  John Levon  <levon@movementarian.org>
4731
4732         * Thesaurus.h: include the right aiksaurus header
4733
4734 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4735
4736         * MenuBackend.C (expand): check menu shortcuts unconditionally
4737
4738 2003-07-21  Angus Leeming  <leeming@lyx.org>
4739
4740         * factory.C (createInset): pass a
4741         buffer_path parameter to InsetGraphicsMailer's string2params.
4742
4743 2003-07-21  Angus Leeming  <leeming@lyx.org>
4744
4745         * BufferView_pimpl.C (buffer):
4746         * buffer.C (d-tor):
4747         * lyx_main.C (LyX):
4748         * lyxfunc.C (dispatch):
4749         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4750         rather than the grfx shortcut.
4751
4752 2003-07-21  André Pönitz  <poenitz@gmx.net>
4753
4754         * rowpainter.C: remove unused variables
4755
4756         * tabular_funcs.C:
4757         * tabular_funcs.h: move to tabular.C
4758         * Makefile.am: adjust
4759
4760         * tabular.[Ch]: basic optical cleaning
4761
4762         * author.h: pass references, not values
4763
4764 2003-07-18  André Pönitz  <poenitz@gmx.net>
4765
4766         * lyxtext.h:
4767         * metricsinfo.C:
4768         * metricsinfo.h:
4769         * rowpainter.C:
4770         * text.C:
4771         * text2.C:
4772         * text3.C: two-phase drawing for InsetText and InsetTabular
4773         some float -> int changes.
4774
4775 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * lyx_main.C: fix the fix
4778
4779 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * lyx_main.C: fix a crash in batch mode if no files specified
4782         * converter.C: ws
4783
4784 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * format.[Ch] (papersize): moved to BufferParams
4787         * converter.[Ch] (dvips_options): moved to BufferParams
4788         (dvipdfm_options): moved to anon namespace
4789         * bufferparams.[Ch]: added above functions.
4790
4791 2003-07-17  André Pönitz  <poenitz@gmx.net>
4792
4793         * lyxtext.h:
4794         * rowpainter.C:
4795         * text2.C: don't call inset->update() anymore
4796
4797         * metricsinfo.[Ch]: add convenience constructor
4798
4799 2003-07-16  André Pönitz  <poenitz@gmx.net>
4800
4801         * lyxcursor.[Ch]:
4802         * lyxfunc.[Ch]:
4803         * text.C:
4804         * text2.C: replace the LyXCursor::irow_ member with
4805          on-demand computation of the value
4806
4807 2003-07-16  John Levon  <levon@movementarian.org>
4808
4809         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4810
4811 2003-07-15  André Pönitz  <poenitz@gmx.net>
4812
4813         * text.C:
4814         * text2.C: remove no more needed refresh_row
4815
4816 2003-07-15  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxtext.h:
4819         * rowpainter.C:
4820         * text2.C:
4821         * text3.C: refresh_status tristate -> need_update bool
4822
4823 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * lyxtext.h (init): remove reinit argument (act as if always true)
4826         * text2.C: adjust to that
4827
4828 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4829
4830         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4831         * text3.C: use it to delete selections in some cases
4832         (bugs 441, 673, 702, 954).
4833
4834 2003-07-14  André Pönitz  <poenitz@gmx.net>
4835
4836         * rowpainter.[Ch]: reduce interface
4837
4838 2003-07-14  André Pönitz  <poenitz@gmx.net>
4839
4840         * BufferView_pimpl.C:
4841         * text2.C: adjust after removing unused BufferView * argument
4842
4843 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * text2.C (init): fix a crash fired on resize
4846
4847 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * buffer.[Ch]: added new closing signal
4850         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4851         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4852         BufferView::Pimpl via the closing the signal
4853
4854 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * buffer.[Ch]: take out all bv-related from buffer
4857         * BufferView.C:
4858         * BufferView_pimpl.[Ch]: connect to new signals
4859         * CutAndPaste.C: removed useless asserts
4860         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4861         * lyxvc.[Ch]:
4862         * vc-backend.[Ch]:
4863         * lyxfunc.C: moved view-related funciontality from vc here
4864         * paragraph.C: removed outdated comments
4865         * text.C: ws
4866
4867 2003-07-10  André Pönitz  <poenitz@gmx.net>
4868
4869         * BufferView_pimpl.C:
4870         * tabular.h:
4871         * tabular_funcs.C:
4872         * text.C:
4873         * text2.C: remove InsetText::InnerCache, clean up consequences
4874
4875 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4876
4877         * ispell.C: fix two typos in error messages
4878
4879 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4880
4881         * Extend Note inset to other forms of annotation like Comment
4882         and Greyedout. Right button click gives dialog.
4883
4884         Files modified or added (+):
4885
4886         * insetnote.[Ch]
4887         * FormNote.[Ch]      +
4888         * ControlNote.[Ch]   +
4889         * form_note.fd       +
4890         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4891         frontends/controllers
4892         * xforms/Dialogs.C
4893         * factory.C
4894
4895 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4896
4897         * aspell.C: add missing namespace lyx::support
4898
4899 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * BufferView.[Ch] (newFile): Add
4902         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4903         * LaTeX.[Ch] (message): added this signal and use it
4904         * buffer.[Ch] (busy, message): added these signals and use them
4905         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4906         * converter.C:
4907         * exporter.C:
4908         * format.C:
4909         * importer.C: use buffer signals instead of direct bv calling
4910         * lyx_cb.[Ch] (ShowMessage): removed
4911         * lyx_main.C:
4912         * lyxfunc.C:
4913         * paragraph_funcs.C:
4914         * text2.C: use buffer signals
4915
4916 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * introduce namespace lyx::graphics
4919
4920 2003-07-02  André Pönitz  <poenitz@gmx.net>
4921
4922         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4923
4924 2003-07-01  André Pönitz  <poenitz@gmx.net>
4925
4926         * text.C:
4927         * text2.C:
4928         * text3.C:
4929         * text_funcs.[Ch]:
4930         * textcursor.h:
4931         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4932           text*.C to text_func.C
4933
4934 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * introduce namespace lyx::support
4937
4938 2003-06-30  André Pönitz  <poenitz@gmx.net>
4939
4940         * Chktex.C:
4941         * funcrequest.C:
4942         * lyxtext.h:
4943         * text.C: re-enable --with-included-string
4944
4945 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * textcursor.C: add <config.h>
4948
4949         * text.C (getWord): remove const from word_location arg
4950
4951         * lyxvc.C (getLogFile): fix const type order
4952
4953         * lyxtext.h: remove const from word_location arg, add arg name
4954
4955         * lyxlayout.h: currect type on labeltype.
4956
4957         * importer.C: correct \file
4958
4959         * converter.C (intToFormat): use std:: on ret val, ws changes
4960
4961         * bufferlist.h: correct \file
4962
4963         * buffer.C (makeLinuxDocFile): fix const type order
4964         (makeDocBookFile): ditto
4965         (fillWithBibKeys): use std:: on stdlib args.
4966
4967         * CutAndPaste.C: fix authors.
4968         (availableSelections): use std:: on return vector
4969
4970 2003-06-27  André Pönitz  <poenitz@gmx.net>
4971
4972         * BufferView_pimpl.C:
4973         * bufferview_funcs.C:
4974         * lyxcursor.C:
4975         * lyxcursor.h:
4976         * lyxfunc.C:
4977         * lyxtext.h:
4978         * rowpainter.C:
4979         * text.C:
4980         * text2.C:
4981         * text3.C: remove LyXCursor::row_ member
4982
4983         * lyxtext.h:
4984         * text.C: rename fullRebreak() to partialRebreak() and implement
4985           a fullRebreak() that really bereks fully
4986
4987         * textcursor.h: new struct for cursor-related data
4988
4989 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4990
4991         * lyx_main.C (LyX): get full path of document loaded on the
4992         command line
4993
4994 2003-06-26  André Pönitz  <poenitz@gmx.net>
4995
4996         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4997           remove unused/broken operator>,<,>=.
4998
4999         *       text.C: remove only use of broken operator<= in an Assert().
5000
5001 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5002
5003         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5004         moved errorlist_.clear to showErrorList
5005
5006 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5007
5008         * converter.C (scanLog, runLaTeX):
5009         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5010         move the bv->showErrorList call to the callers
5011         * lyxfunc.C: i.e. here...
5012         * text2.C: and here
5013         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5014         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5015         namespace, the second to...
5016         * buffer_funcs (BufferFormat, parseErrors): added
5017         * errorlist.C (ErrorList(TeXErrors const &)): removed
5018
5019 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5020
5021         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5022
5023 2003-06-24  "Garst R. Reese" <reese@isn.net>
5024
5025         * debug.C: fix typo
5026
5027 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5028
5029         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5030
5031         * version.C.in: change docversion to 1.4
5032
5033 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5034
5035         * buffer.C: fix a bug just introduced
5036
5037 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * buffer.[Ch]: added the parseError signal and use it, removed
5040         sgmlError
5041         * BufferView.[Ch] (addError): moved to ...
5042         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5043         to the Buffer::parseError signal to catch (guess what) parse errors
5044         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5045
5046 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5049         ability to create a buffer and to return an existing one from
5050         the list. Moved these functions to...
5051         * buffer_funcs.[Ch]: added
5052         * BufferView.[Ch] (loadLyXFile): added
5053         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5054         job removed from bufferlist::loadLyXFile.
5055         * buffer.C (setReadOnly): make it work without view
5056         (i.e added an if (users))
5057
5058 2003-06-19  Angus Leeming  <leeming@lyx.org>
5059
5060         * lfuns.h:
5061         * LyXAction.C (init):
5062         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5063         with LFUN_DIALOG_SHOW <name> <data>.
5064
5065 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5066
5067         * CutAndPaste.C (availableSelections): small compilation fix for
5068         ancient (gcc 2.9x) compilers
5069
5070 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * text3.C (cursorNext): add tmp var
5073
5074         * text2.C (updateCounters): for function calling out of for clause
5075         (replaceSelectionWithString): ditto
5076         (insertStringAsParagraphs): ditto
5077         (getColumnNearX): add tmp var
5078         (setCursorFromCoordinates): add tmp var
5079         (cursorDownParagraph): add tmp var
5080         (deleteEmptyParagraphMechanism): add tmp var
5081
5082         * text.C (insertChar): add tmp var
5083
5084         * rowpainter.C (paintDepthBar): add tmp var
5085
5086         * CutAndPaste.C (availableSelections): potentially check all
5087         paragraphs in a cut to fill the shown strings.
5088
5089 2003-06-18  André Pönitz  <poenitz@gmx.net>
5090
5091         * kbmap.[Ch]: use vector<> instead of list<>
5092
5093 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5094
5095         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5096         pasteSelection with index
5097
5098         * text2.C (pasteSelection): modify, call pasteSelection with index
5099
5100         * paragraph.C (asString): reimplement version with no interval to
5101         call the one with interval.
5102
5103         * lyxtext.h: add index arg to pasteSelection
5104
5105         * MenuBackend.C (MenuItem): handle PasteRecent
5106         (Menu::read::Menutags): add md_pasterecent
5107         (read): handle it
5108         (expandPasteRecent): new function
5109         (expand): use it
5110
5111         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5112
5113         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5114         the limited stack
5115         (availableSelections): new function
5116
5117 2003-06-17  Angus Leeming  <leeming@lyx.org>
5118
5119         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5120
5121 2003-06-17  Angus Leeming  <leeming@lyx.org>
5122
5123         * lfuns.h:
5124         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5125
5126         * lyxfunc.C (dispatch): invoke it.
5127
5128 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5129
5130         * iterators.C (operator++, ParPosition): reintroduce some
5131         const_cast for the benefit of older compilers.
5132
5133 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5134
5135         * text3.C (dispatch): do not modify clipboard when doing
5136         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5137         LFUN_DELETE_SKIP on a selection selection
5138
5139 2003-06-16  André Pönitz  <poenitz@gmx.net>
5140
5141         * BufferView.C:
5142         * buffer.C:
5143         * buffer.h:
5144         * paragraph.C:
5145         * tabular.[Ch]: IU of clone() and getLabelList();
5146
5147 2003-06-13  André Pönitz  <poenitz@gmx.net>
5148
5149         * tabular.h: compactification
5150
5151 2003-06-12  André Pönitz  <poenitz@gmx.net>
5152
5153         * tabular.C:
5154         * tabular.h:
5155         * tabular_funcs.h: some renaming plus whitespace
5156
5157 2003-06-12  André Pönitz  <poenitz@gmx.net>
5158
5159         * BufferView.C:
5160         * BufferView_pimpl.C:
5161         * CutAndPaste.C:
5162         * buffer.C:
5163         * iterators.[Ch]:
5164         * lyxfunc.C:
5165         * text.C:
5166         * toc.C: Return a Paragraph & for ParIterator::operator*()
5167
5168 2003-06-11  John Levon  <levon@movementarian.org>
5169
5170         * lyx_main.C:
5171         * ToolbarBackend.h:
5172         * ToolbarBackend.C: add "Toolbars" section and
5173         put the flags there
5174
5175 2003-06-10  Angus Leeming  <leeming@lyx.org>
5176
5177         * lfuns.h:
5178         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5179
5180         * lyxfunc.C (dispatch): invoke it.
5181
5182 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * main.C: protect <ios> with HAVE_IOS
5185         (main): protect sync_with_stdio with HAVE_IOS
5186
5187 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5188
5189         * text2.C (cutSelection): adjust
5190         (pasteSelection): adjust
5191
5192         * messages.C: handle get of empty string
5193
5194         * main.C (main): use sync_with_stdio(false)
5195
5196         * lyxfunc.C (dispatch): adjust
5197
5198         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5199         (WriteAs): remove unneeded BufferView arg.
5200
5201         * bufferparams.h: use correct types on papersize, papersize2 and
5202         paperpackage.
5203
5204         * bufferparams.C (readToken): adjust for type
5205         (writeLaTeX): add missing cases to switch.
5206
5207         * bufferlist.C (quitWriteBuffer): adjust
5208         (close): adjust
5209
5210         * buffer.C (asciiParagraph): remove some commented code.
5211
5212         * CutAndPaste.C: remove current_view extern variable.
5213         (cutSelection): add BufferParams arg.
5214         (eraseSelection): add BufferParams arg.
5215         (pasteSelection): add Buffer const & arg
5216
5217 2003-06-07  John Levon  <levon@movementarian.org>
5218
5219         * buffer.C:
5220         * paragraph_funcs.C:
5221         * paragraph_pimpl.C:
5222         * text.C:
5223         * text2.C:
5224         * paragraph.h:
5225         * paragraph.C: allow InsetERT to freely space lines,
5226         and some consolidation of code
5227
5228 2003-06-06  José Matos  <jamatos@fep.up.pt>
5229
5230         * buffer.C (makeDocBookFile): fix bug #821
5231
5232 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5233
5234         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5235
5236 2003-06-04  Angus Leeming  <leeming@lyx.org>
5237
5238         * buffer.C: bump format to 224.
5239
5240 2003-06-05  André Pönitz  <poenitz@gmx.net>
5241
5242         * text2.C (redoParagraphs): remove two const_cast<>
5243
5244 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5245
5246         * ParagraphList.h: remove last remnants of NO_STD_LIST
5247
5248 2003-06-03  Angus Leeming  <leeming@lyx.org>
5249
5250         * factory.C (createInset): small change to the way InsetExternal's params
5251         are set.
5252
5253 2003-06-04  André Pönitz  <poenitz@gmx.net>
5254
5255         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5256
5257         * paragraph_pimpl.h:
5258         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5259
5260         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5261
5262         * undo_funcs.C: make some simple cases of undo work again
5263
5264 2003-06-03  John Levon  <levon@movementarian.org>
5265
5266         * ispell.C: HPUX doesn't have sys/select.h
5267         (from Albert Chin)
5268
5269 2003-06-03  John Levon  <levon@movementarian.org>
5270
5271         * CutAndPaste.C: update tabular and include inset
5272         buffer references
5273
5274         * buffer.h:
5275         * paragraph.h:
5276         * paragraph.C: remove owningBuffer(), don't pass Buffer
5277         to clone()
5278
5279         * factory.C: insetGraphicsParams changed
5280
5281 2003-06-02  John Levon  <levon@movementarian.org>
5282
5283         * LyXAction.C:
5284         * factory.C:
5285         * lfuns.h:
5286         * lyxfunc.C:
5287         * text3.C: remove insetparent
5288
5289 2003-06-02  John Levon  <levon@movementarian.org>
5290
5291         * buffer.h:
5292         * buffer.C: fix inset_iterator.end(), move out of line
5293         (bug 1149)
5294
5295 2003-06-01  John Levon  <levon@movementarian.org>
5296
5297         * text3.C: use a proper cut/paste when doing inset
5298         insert (from Jürgen Spitzmüller)
5299
5300 2003-06-01  John Levon  <levon@movementarian.org>
5301
5302         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5303
5304 2003-05-30  André Pönitz  <poenitz@gmx.net>
5305
5306         * rowpainter.C: unify second drawing phase
5307
5308 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * trans_mgr.C: remove one case of current_view
5311
5312         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5313
5314         * paragraph_funcs.h: remove paragraph.h include
5315
5316         * paragraph.h: delete NO_STD_LIST stuff
5317
5318         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5319
5320         * buffer.h: remove paragraph.h include
5321
5322         * ParagraphList.C: delete file
5323
5324         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5325
5326         * toc.C (getTocList): adjust
5327
5328         * paragraph_pimpl.C (validate): adjust
5329
5330         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5331
5332         * paragraph.C (Paragraph): adjust
5333         (getPositionOfInset): use const_iterator, adjust
5334         (bibitem): use const_iterator, adjust
5335         (setInsetOwner): adjust
5336
5337         * iterators.C (operator++): adjust
5338
5339         * InsetList.[Ch]: Replace selfmade iterator with standard
5340         vector::iterator also introduce const_iterator. Remove getPos,
5341         getInset and setInset from InsetTable. Adjust accordingly.
5342
5343         * BufferView.C (lockInset): adjust
5344         (ChangeInsets): adjust
5345
5346         * tabular.[Ch]: delete commented same_id functions
5347
5348 2003-05-28  John Levon  <levon@movementarian.org>
5349
5350         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5351
5352 2003-05-28  André Pönitz  <poenitz@gmx.net>
5353
5354         * metricsinfo.[Ch]: remove 'fullredraw' member
5355
5356 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5357
5358         * lyxtextclass.C (operator): remove caching.
5359
5360 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * text3.C: adjust
5363
5364         * text2.C (cursorBottom): adjust
5365         (setCounter): use ParagraphList::find, adjust
5366
5367         * text.C (workWidth): use ParagraphList::find, adjust
5368
5369         * lyxcursor.C (LyXCursor): adjust
5370
5371         * buffer.C (inset_iterator): adjust
5372
5373         * ParagraphList.h: make iterator(value_type) private, make
5374         ParagraphList a friend of iterator.
5375
5376         * ParagraphList.C (find): new function
5377
5378         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5379
5380 2003-05-27  André Pönitz  <poenitz@gmx.net>
5381
5382         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5383
5384 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5385
5386         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5387
5388 2003-05-26  John Levon  <levon@movementarian.org>
5389
5390         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5391
5392 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * remove same_id from function signatures, adjust.
5395
5396 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5399
5400         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5401
5402         * paragraph.C (Paragraph): get rid of same_ids parameter
5403
5404         * ParagraphList.C (insert): adjust
5405         (push_back): adjust
5406
5407 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * paragraph_funcs.C (breakParagraph): adjust
5410         (breakParagraphConservative): adjust
5411
5412         * buffer.C (readParagraph): adjust
5413
5414         * ParagraphList.C (insert): take a reference instead of a pointer
5415         (insert): adjust
5416
5417         * paragraph.[Ch] (id): new function
5418
5419         * bufferlist.C (newFile): adjust
5420
5421         * ParagraphList.C (ParagraphList): adjust
5422         (assign): adjust
5423         (push_back): take a reference instead of a pointer.
5424
5425         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5426
5427         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5428         instead.
5429
5430         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5431         set else use old code.
5432
5433         * ParagraphList.C: remove all NO_NEXT code and only compile this
5434         code of NO_STD_LIST is set.
5435
5436 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * BufferView_pimpl.C:
5439         * TextCache.C:
5440         * TextCache.h:
5441         * bufferlist.C:
5442         * errorlist.h:
5443         * format.C:
5444         * format.h:
5445         * graph.C:
5446         * lyxfunc.C:
5447         * lyxrc.C:
5448         * graphics/GraphicsConverter.C:
5449         * graphics/PreviewLoader.C: header adjustment
5450
5451 2003-05-23  Angus Leeming  <leeming@lyx.org>
5452
5453         * LaTeXFeatures.[Ch] (useBabel): new method.
5454         * bufferparams.C (writeLaTeX): use it.
5455
5456 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * ParagraphList.h (set): remove unused function.
5459
5460 2003-05-23  André Pönitz  <poenitz@gmx.net>
5461
5462         * BufferView.C:
5463         * BufferView_pimpl.C:
5464         * buffer.C:
5465         * buffer.h:
5466         * lyxfunc.C:
5467         * undo_funcs.C: setUndo reworked
5468
5469         * iterators.[Ch]: add access to topmost ParagraphList
5470
5471         * lyxtext.[Ch] (workWidth): add a const
5472
5473 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5474
5475         * texrow.[Ch] (increasePos): remove function
5476         * exporter.C (export): removed unused var and outdated comment
5477
5478 2003-05-23  Angus Leeming  <leeming@lyx.org>
5479
5480         * latexrunparams.h: rename fragile as moving_arg.
5481         * paragraph.C (simpleTeXOnePar): ditto.
5482         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5483
5484 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5485
5486         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5487         (createUndo): ditto
5488         (textUndoOrRedo): comment out a currently unused var.
5489
5490         * paragraph.h (NO_NEXT): enable NO_NEXT
5491
5492         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5493
5494         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5495
5496         * exporter.C (Export): adjust for removeAutoInsets removal.
5497
5498         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5499
5500         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5501
5502         * BufferView.[Ch] (removeAutoInsets): delete function
5503
5504 2003-05-22  Angus Leeming  <leeming@lyx.org>
5505
5506         * latexrunparams.h: add a free_spacing variable.
5507
5508         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5509         to pass moving_arg, as the data is stored in runparams.fragile.
5510
5511         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5512         to Inset::latexOptional or to simpleTeXOnePar.
5513
5514         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5515         free_spacing arg to Inset::latexOptional.
5516
5517         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5518         free_spacing arg.
5519
5520 2003-05-22  Angus Leeming  <leeming@lyx.org>
5521
5522         * latexrunparams.h: add fragile and use_babel variables.
5523
5524         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5525         * buffer.C (makeLaTeXFile): store this returned value in
5526         runparams.use_babel, thus passing it to the inset::latex methods.
5527
5528         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5529         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5530
5531         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5532         longer has a fragile arg, as it is stored in runparams.fragile.
5533
5534         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5535         moving_arg parameter as the data is stored in runparams.fragile.
5536
5537         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5538         a fragile parameter as the data is stored in runparams.fragile.
5539
5540 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5543
5544 2003-05-22  Angus Leeming  <leeming@lyx.org>
5545
5546         * latexrunparams.h: add a 'bool nice' which defaults to false.
5547
5548         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5549         now encapsulated within runparams.
5550
5551         * bufferlist.C (updateIncludedTeXfiles):
5552         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5553
5554 2003-05-22  Angus Leeming  <leeming@lyx.org>
5555
5556         * latexrunparams.h: new file containing struct LatexRunParams.
5557         * Makefile.am: add new file.
5558
5559         * LaTeX.[Ch] (c-tor, run):
5560         * buffer.[Ch] (makeLaTeXFile):
5561         * bufferlist.[Ch] (updateIncludedTeXfiles):
5562         * converter.C (convert, scanLog):
5563         * converter.[Ch] (runLaTeX):
5564         * exporter.C (Export):
5565         * paragraph.[Ch] (simpleTeXOnePar):
5566         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5567         * paragraph_funcs.[Ch] (latexParagraphs):
5568         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5569         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5570         pass around a LatexRunParams parameter.
5571
5572 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * paragraph.[Ch]: remove unused constructor
5575
5576         * ParagraphList.C (erase): new function, taking two iterators
5577
5578 2003-05-22  André Pönitz  <poenitz@gmx.net>
5579
5580         * undo_funcs.C: remove duplicated code
5581
5582         * iterator.[Ch]: operator=
5583
5584 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * tabular.C (SetMultiColumn): ws changes
5587
5588         * rowpainter.C (paintFirst): get rid of a ->previous
5589
5590         * lyx_cb.C (getPossibleLabel): parlist simplification
5591
5592         * BufferView.C (ChangeInsets): simplify slightly.
5593
5594 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5595
5596         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5597         * lfuns.h: new LFUN_SPACE
5598         * lyxfunc.C: protected space has a new lfun
5599         * paragraph_funcs.C: read new space insets
5600         * text3.C:
5601         * factory.C: handle new space insets
5602
5603 2003-05-22  André Pönitz  <poenitz@gmx.net>
5604
5605         * BufferView.C:
5606         * BufferView_pimpl.C:
5607         * buffer.[Ch]:
5608         * lyxfunc.C:
5609         * undo_funcs.C: return a ParIterator from getParFromID.
5610
5611         * iterators.[Ch]: add two const's
5612
5613 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * toc.C (getTocList): adjust
5616
5617         * iterators.[Ch]: rework for parlist
5618
5619         * buffer.C (par_iterator_begin): adjust
5620         (par_iterator_end): adjust
5621
5622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5623
5624         * BufferView.C (removeAutoInsets): adjust
5625         (ChangeInsets): adjust
5626
5627 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * text.C (top_y): fix bug 1110
5630
5631 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * errorlist.[Ch]: added
5634         * buffer.C:
5635         * BufferView.[Ch]:
5636         * BufferView_pimpl.C:
5637         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5638         instead
5639
5640 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * Makefile.am: ensure that lyx is relinked upon changes to the
5643         various "convenience" libs.
5644
5645 2003-05-20  Angus Leeming  <leeming@lyx.org>
5646
5647         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5648         files are compiled in alphabetical order again.
5649
5650         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5651
5652 2003-05-19  Angus Leeming  <leeming@lyx.org>
5653
5654         * gettext.[Ch]: remove "char const * _(char const *)".
5655
5656 2003-05-19  André Pönitz  <poenitz@gmx.net>
5657
5658         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5659
5660         * Makefile.am:
5661         * BufferView.C:
5662         * DepTable.h:
5663         * LaTeXFeatures.C:
5664         * buffer.C:
5665         * lyxfont.C:
5666         * lyxlex.h:
5667         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5668
5669 2003-05-19  André Pönitz  <poenitz@gmx.net>
5670
5671         * buffer.C:
5672         * lyxlayout.[Ch]:
5673         * lyxtextclass.[Ch]:
5674         * paragraph.C:
5675         * paragraph_funcs.[Ch]:
5676         * text2.C:
5677         * text3.C: more insetenv work
5678
5679 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * ParagraphParameters.C (params2string): small bug fixed
5682
5683 2003-05-16  André Pönitz  <poenitz@gmx.net>
5684
5685         * debug.C:
5686         * bufferview_funcs.C: patch from Kornel Benko to prevent
5687           crash when _(...) is called twice in a statement
5688
5689 2003-05-16  André Pönitz  <poenitz@gmx.net>
5690
5691         * BufferView.C:
5692         * lyxfunc.C:
5693         * text.C:
5694         * text2.C:
5695         * text3.C:
5696         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5697
5698 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5699
5700         * lyx_main.C (init): remove spurious static_cast
5701
5702 2003-05-14  André Pönitz  <poenitz@gmx.net>
5703
5704         * BufferView.C: fix format string
5705
5706 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5707
5708         * BufferView.[Ch] (insertErrors): removed
5709         * BufferView.[Ch] (showErrorList): added
5710         * buffer.C (runChkTeX):
5711         * converter.C (scanLog): call showErrorList instead of inserterrors
5712
5713 2003-05-13  André Pönitz  <poenitz@gmx.net>
5714
5715         * BufferView_pimpl.C:
5716         * buffer.C:
5717         * bufferview_func.C:
5718         * MenuBackend.C:
5719         * lyxfunc.C:
5720         * lyxrc.C:
5721         * tex-accent.C:
5722         * text3.C:
5723         * toc.C:
5724         * tabular_funcs.h: tostr() from its own header
5725
5726         * ParagraphParameters.C:
5727         * ToolbarBackend.C:
5728         * bufferparams.C:
5729         * format.C:
5730         * lyxlex_pimpl.C:
5731         * text3.C: STRCONV()
5732
5733 2003-05-12  André Pönitz  <poenitz@gmx.net>
5734
5735         * BufferView.C:
5736         * BufferView_pimpl.C:
5737         * CutAndPaste.C:
5738         * LaTeX.C:
5739         * LaTeXFeatures.C:
5740         * ParagraphParameters.C:
5741         * buffer.C:
5742         * bufferlist.C:
5743         * bufferparams.C:
5744         * bufferview_funcs.C:
5745         * converter.C:
5746         * counters.C:
5747         * debug.C:
5748         * exporter.C:
5749         * format.C:
5750         * importer.C:
5751         * lyx_cb.C:
5752         * lyx_main.C:
5753         * lyxfont.C:
5754         * lyxfunc.C:
5755         * lyxvc.C:
5756         * paragraph.C:
5757         * paragraph_funcs.C:
5758         * tabular.C:
5759         * tabular_funcs.C:
5760         * text2.C:
5761         * text3.C:  boost::format -> bformat  all over the place
5762
5763
5764 2003-05-09  André Pönitz  <poenitz@gmx.net>
5765
5766         * LColor.[Ch]: Pimpl the #include <map> away
5767
5768 2003-05-09  John Levon  <levon@movementarian.org>
5769
5770         * bufferlist.C: never remove emergency saves
5771
5772 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * Makefile.am: better lib building
5775
5776 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5779         instead.
5780         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5781         (simpleTeXSpecialChars): adjust
5782         (simpleTeXSpecialChars): adjust
5783         * paragraph.C (simpleTeXOnePar): adjust
5784         * buffer.C (makeLaTeXFile): adjust
5785
5786         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5787
5788         * text2.C (changeDepth): parlist cleanup
5789         (getColumnNearX): ditto
5790
5791         * rowpainter.C (getLabelFont): parlist cleanup
5792
5793         * bufferlist.C (newFile): parlist cleanup
5794
5795         * CutAndPaste.C (eraseSelection): parlist cleanup
5796
5797         * BufferView_pimpl.C (trackChanges): parlist cleanup
5798         (dispatch): ditto
5799
5800         * BufferView.C (lockInset): parlist cleanup.
5801         (ChangeInsets): ditto
5802
5803 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * CutAndPaste.h: Update file header.
5806
5807         * CutAndPaste.C: Update file header.
5808         Store the parts cut out of the Document in a limited_stack.
5809         (copySelection): adjust
5810         (pasteSelection): new function, takes the index in the limited stack.
5811         (nrOfParagraphs): adjust
5812         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5813         simplify error inset insertion.
5814         (checkPastePossible): adjust
5815
5816 2003-05-06  John Levon  <levon@movementarian.org>
5817
5818         * text2.C: don't cast wrap inset to float
5819
5820 2003-05-05  André Pönitz  <poenitz@gmx.net>
5821
5822         * iterator.C:
5823         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5824
5825         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5826           few naked Paragraph *.
5827
5828 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5829
5830         * bufferparams.C: Output warning if a document with missing
5831         TeX document class is loaded
5832         * exporter.C: Disable TeX exports if the document class is missing
5833         * lyxtextclass.C:
5834         * lyxtextclass.h:
5835         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5836         isTeXClassAvailable()
5837
5838 2003-05-03  John Levon  <levon@movementarian.org>
5839
5840         * BufferView.h:
5841         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5842         explicit cursor show/hide
5843
5844         * BufferView_pimpl.h:
5845         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5846         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5847
5848         * lyxfunc.C: hide cursor before dispatching.
5849
5850         * lyx_cb.C:
5851         * lyxfind.C:
5852         * text.C:
5853         * text3.C: remove explicit cursor hides
5854
5855 2003-05-02  André Pönitz  <poenitz@gmx.net>
5856
5857         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5858
5859         * undo_funcs.C:
5860         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5861           linked lists
5862
5863         * text2.C: tiny whitespace
5864
5865 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * undo_funcs.C: almost only ws changes.
5868
5869         * ParagraphList.C (splice): just return if pl is empty.
5870
5871 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * ParagraphList.C (splice): new function.
5874
5875         * CutAndPaste.C (pasteSelection): use it
5876
5877 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * CutAndPaste.C (pasteSelection): remove the last next and
5880         previous from this file.
5881
5882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * CutAndPaste.C (pasteSelection): more clean up, user proper
5885         ParagraphList functions for pasteing.
5886
5887         * ParagraphList.C (insert): new function, three arg insert
5888
5889 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * ParagraphList.C (insert): new function, three arg insert
5892
5893         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5894         not on paragraphs.
5895
5896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5899
5900 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5903
5904 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5907         (copySelection): clean up a bit.
5908         (pasteSelection): use make_pair
5909
5910         * ParagraphList.C (ParagraphList): implement copy constructor
5911         (operator=): implement, base on copy constructor.
5912         (assign): new func
5913
5914         * paragraph.C (erase): return a bool
5915
5916         * paragraph_pimpl.C (erasePos): remove function, move contents...
5917         (erase): ... here. Return a bool.
5918         (erase): call erase instead of erasePos.
5919
5920 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * ParagraphList.h: define PitPosPair
5923         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5924         ParagraphList, fix a bug on pasting multiple pars
5925         * text2.C: change interface to C&P
5926
5927 2003-04-30  André Pönitz  <poenitz@gmx.net>
5928
5929         * undo_func.C: revert part of yesterday's patch 2
5930
5931 2003-04-30  John Levon  <levon@movementarian.org>
5932
5933         * LColor.C: s/tabular/table/
5934
5935 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * text3.C (dispatch): do not convert iterator -> pointer
5938         * undo_funcs.C (setCursorParUndo): ditto
5939         * text_funcs.C (transposeChars): ditto
5940
5941         * text2.C (setLayout): ws changes only
5942
5943         * text.C (breakParagraph): do not convert iterator -> pointer
5944         (insertChar): ditto
5945         (acceptChange): ditto
5946         (rejectChange): ditto
5947         (changeCase): ditto
5948         (Delete): ditto
5949         (backspace): ditto
5950
5951         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5952         pointer
5953
5954 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * text3.C (gotoInset): YABG (yet another bad getChar)
5957
5958 2003-04-29  André Pönitz  <poenitz@gmx.net>
5959
5960         * paragraph.h: make operator= private unimplemented as long as
5961           it is unusable
5962
5963         * ParagraphList.C: whitespace
5964
5965         * paragraph.[Ch]:
5966         * paragraph_pimpl.[Ch]:
5967         * paragraph_funcs.C:
5968         * CutAndPaste.C:
5969         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5970
5971         * text2.C:
5972           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5973
5974 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5977         * paragraph.[Ch] (erase):
5978         * paragraph_pimpl.[Ch] (erase): change return type and value
5979         * text2.C (cutSelection): some rework
5980
5981 2003-04-28  John Levon  <levon@movementarian.org>
5982
5983         * bufferlist.C: changes for unsaved changes dialog
5984
5985 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5986
5987         * bufferlist.C (newFile): set language (messages_) for new
5988         documents also.
5989
5990         * buffer.C (readFile): ws changes only.
5991
5992 2003-04-28  André Pönitz  <poenitz@gmx.net>
5993
5994         * undo_funcs.C:
5995         * lyxfunc.C:
5996         * buffer.[Ch]:
5997         * BufferView_pimpl.C:
5998         * BufferView.C: getParFromID related ParagraphList::iterator changes
5999
6000 2003-04-28  André Pönitz  <poenitz@gmx.net>
6001
6002         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6003           Changes
6004
6005 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * messages.C: remove one more localedir class variable.
6008
6009 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * messages.C (getLocaleDir): singleton generation function
6012         (Pimpl): use it.
6013         (Messages): add a default constructor.
6014
6015         * main.C (main): do not setup localedir here, do not call
6016         gettext_init.
6017
6018         * gettext.C (_): use it.
6019         (gettext_init): delete funciton
6020
6021 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * gettext.C (getLyXMessages): new singleton generating function.
6024
6025         * buffer.C (updateDocLang): adjust
6026
6027         * Makefile.am (messages.o): add target
6028         (main.o): remove target
6029
6030 2003-04-27  John Levon  <levon@movementarian.org>
6031
6032         * bufferlist.C:
6033         * lyx_cb.C:
6034         * lyxfunc.C:
6035         * lyxvc.C: specify cancel button in Alert::prompt
6036
6037 2003-04-26  John Levon  <levon@movementarian.org>
6038
6039         * text3.C:
6040         * lyxfunc.C:
6041         * lfuns.h:
6042         * LyXAction.C: add LFUN_INSET_SETTINGS
6043
6044         * lyxfunc.C: don't enable tabular-feature when there's
6045         just any locking inset
6046
6047 2003-04-26  John Levon  <levon@movementarian.org>
6048
6049         * bufferlist.C: re-add Cancel to buffer close question
6050
6051         * lyxfunc.C: fix import UI a bit
6052
6053 2003-04-25  John Levon  <levon@movementarian.org>
6054
6055         * gettext.C: remove the broken asserts for now
6056
6057 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * messages.C: make case where setlocale cannot comply work better.
6060
6061         * buffer.C (updateDocLang): new function
6062         (changeLanguage): use it
6063         (readFile): use it
6064
6065         * text2.C (setCounter): use B_ a bit.
6066
6067         * lyxlayout.C (Read): be sure to trim the label strings.
6068
6069         * messages.C (Messages): fix typo in comment
6070
6071         * buffer.C (readFile): set message_ after file is loaded.
6072         (makeDocBookFile): remove double return
6073         (changeLanguage): reset message_ upon language change.
6074         (B_): new func, use this to get translated buffer strings.
6075
6076         * main.C: add myself and Jean Marc as authors.
6077
6078 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * messages.[hC]: pimplify Messages, and three different pimpls to be
6081         used in different circumstances.
6082
6083         * gettext.[Ch]: change for use with new message code.
6084
6085 2003-04-24 André Pönitz <poenitz@gmx.net>
6086
6087         * factory.C: support for eqref
6088
6089 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * messages.[Ch]: add missing char
6092
6093         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6094
6095         * messages.[Ch]: New files
6096
6097 2003-04-18  John Levon  <levon@movementarian.org>
6098
6099         * BufferView.h:
6100         * BufferView.C:
6101         * BufferView_pimpl.C:
6102         * lfuns.h:
6103         * LyXAction.C:
6104         * lyxtext.h:
6105         * text2.C: remove layout-copy/paste (bug 778)
6106
6107 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6110
6111 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6114         if they succeed. Act accordingly.
6115
6116 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * text2.C (setCharFont): adjust
6119         (setCounter): adjust
6120         (insertStringAsLines): adjust
6121
6122         * text.C (leftMargin): adjust
6123         (setHeightOfRow): adjust
6124
6125         * rowpainter.C (paintFirst): adjust
6126         (paintLast): adjust
6127
6128         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6129         (outerHook): ditto
6130         (isFirstInSequence): ditto
6131         (getEndLabel): ditto
6132         (outerFont): adjust
6133
6134         * paragraph.C (getParLanguage): comment out some hard stuff.
6135
6136         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6137         (sgmlError): ditto
6138         (simpleDocBookOnePar): ditto
6139         (makeDocBookFile): use ParagraphList::iterator
6140
6141         * CutAndPaste.C (pasteSelection): adjust
6142
6143 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * text2.C (getFont): adjust
6146         (getLayoutFont): adjust
6147         (getLabelFont): adjust
6148
6149         * paragraph_funcs.C (TeXOnePar): adjust
6150
6151         * buffer.C (simpleLinuxDocOnePar): adjust
6152         (simpleDocBookOnePar): adjust
6153
6154         * CutAndPaste.C (pasteSelection): adjust
6155
6156         * BufferView.C (getEncoding): adjust
6157
6158         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6159
6160 2003-04-16  John Levon  <levon@movementarian.org>
6161
6162         * lyxfind.C: use parlist stuff for search/changes
6163
6164 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6167
6168         * text2.C (deleteEmptyParagraphMechanism): adjust
6169
6170         * text2.[Ch] (ownerParagraph): delete func (both of them
6171
6172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6175
6176 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * ParagraphList.C: prepare for NO_NEXT
6179
6180 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * text2.C (getFont): adjust
6183         (getLayoutFont): adjust
6184         (getLabelFont): adjust
6185
6186         * paragraph.C (getFont): adjust
6187         (getLabelFont): adjust
6188         (getLayoutFont): adjust
6189
6190         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6191
6192 2003-04-15  John Levon  <levon@movementarian.org>
6193
6194         From Angus Leeming
6195
6196         * lyx_main.C: handle Include in .ui files
6197
6198 2003-04-15  John Levon  <levon@movementarian.org>
6199
6200         * MenuBackend.C: make the doc files length shorter
6201
6202         * ToolbarBackend.h:
6203         * ToolbarBackend.C: handle toolbar placement flags,
6204         Minibuffer
6205
6206 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6209         adjust
6210
6211         * paragraph_funcs.C (TeXOnePar): adjust
6212
6213         * paragraph.C (getLabelFont): add outerfont arg, adjust
6214         (getLayoutFont): ditto
6215         (simpleTeXOnePar): adjust
6216
6217         * paragraph_pimpl.C (realizeFont): delete func
6218
6219 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6220
6221         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6222         row argument, constify cur argument.
6223
6224 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * text2.C (getFont): adjust
6227         (getLayoutFont): adjust
6228         (getLabelFont): adjust
6229
6230         * paragraph_funcs.C (TeXOnePar): adjust
6231         (outerFont): new func...
6232         (realizeFont): ...moved out from here, changed this to facilitate
6233         transition
6234
6235         * paragraph.C (getFont): take outerfont as arg, adjust
6236         (simpleTeXOnePar): add outerfont arg, adjust
6237
6238         * buffer.C (simpleLinuxDocOnePar): adjust
6239         (simpleDocBookOnePar): adjust
6240
6241         * CutAndPaste.C (pasteSelection): adjust
6242
6243         * BufferView.C (getEncoding): adjust
6244
6245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * text2.C (setCharFont): adjust
6248         (setCounter): adjust
6249
6250         * text.C (leftMargin): adjust
6251         (setHeightOfRow): adjust
6252
6253         * rowpainter.C (paintFirst): adjust
6254         (paintLast): adjust
6255
6256         * paragraph_pimpl.C (realizeFont): adjust
6257
6258         * paragraph.C (isFirstInSequence): move from here...
6259         * paragraph_funcs.C (isFirstInSequence): ...to here
6260
6261         * paragraph.C (outerHook): move from here...
6262         * paragraph_funcs.C (outerHook): ...to here
6263
6264         * paragraph.C (depthHook): move from here...
6265         * paragraph_funcs.C (depthHook): ...to here
6266
6267         * paragraph.C (getEndLabel): move from here...
6268         * paragraph_funcs.C (getEndLabel): ...to here
6269
6270         * text2.C (realizeFont): move from here...
6271         * paragraph_funcs.C (realizeFont): ...to here
6272
6273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6276
6277 2003-04-14  Angus Leeming  <leeming@lyx.org>
6278
6279         * LColor.[Ch]: scrap LColor mathcursor.
6280
6281 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * lyxlex.[Ch] (text): delete function
6284         * trans.C (Load): adjust
6285         * paragraph_funcs.C (readParToken): adjust
6286
6287 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6290         vector<char> instead of a char[].
6291
6292         * lyxlex_pimpl.C (getString): adjust
6293         (next): adjust
6294         (lex): use getString
6295         (eatLine): adjust
6296         (nextToken): adjust
6297
6298         * lyxlex.C (text): use pimpl_->getString()
6299         (getBool): ditto
6300         (findToken): ditto
6301
6302 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6305         (makeFontEntriesLayoutSpecific): temp var for par.size()
6306         (setLayout): temp var for ownerParagraphs().end()
6307         (fullRebreak): temp var for rows().end()
6308         (selectionAsString): temp var for boost::next(startpit), realize
6309         that the while really is a regular for loop.
6310         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6311         setCursor in one place.
6312         (setParagraph): temp vr for ownerParagraphs().end()
6313         (updateCounters): make the while loop a for loop
6314         (cutSelection): temp var for ownerParagraphs().end()
6315         (updateInset): make the do {} while() a regular for loop
6316         (getCursorX): use temp vars
6317         (setCurrentFont): use temp vars
6318         (getColumnNearX): use temp vars
6319
6320 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * text.C (transformChar): use temp var for getChar
6323         (computeBidiTables): use temp var for row->par()
6324         (fill): move temp vars for row->par() and pit->layout() earlier in
6325         the function.
6326         (labelFill): use temp var for row->par()
6327         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6328         asc and desc, realize that pit never changes and that firstpit is
6329         just a duplicate and not needed. Exchange rit->par() with pit in a
6330         lot of places.
6331         (breakAgain): use a temp var for boost::next(rit)
6332         (breakAgainOneRow): ditto
6333         (breakParagraph): use a temp var for rows().begin()
6334         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6335         (cursorRightOneWord): use temp var for cursor.par() and
6336         cursor.pos(), remove usage of tmpcursor.
6337         (cursorLeftOneWord): use temp var for cursor.par() and
6338         cursor.pos() only set cur at end of function.
6339
6340 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * text.C, text2.C: exchange all usage of Paragraph::next with
6343         boost::next(ParagraphList::iterator)
6344
6345         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6346
6347         * text2.C (cursorTop): simplify implementation
6348         (cursorBottom): ditto
6349         (setParagraph): use ParagraphList::iterator
6350         (setCurrentFont): adjust
6351         (getColumnNearX): adjust
6352         (cursorRight): adjust
6353         (cursorLeft): remove usage of Paragraph::previous
6354         (cursorUpParagraph): ditto
6355         (deleteEmptyParagraphMechanism): slight cleanup
6356
6357         * text.C (isBoundary): take a Paragraph const & instead of a
6358         pointer as arg.
6359         (addressBreakPoint): ditto
6360         (leftMargin): remove usage of Paragraph::previous.
6361         (setHeightOfRow): ditto
6362         (cursorLeftOneWord): ditto
6363         (selectNextWordToSpellcheck): ditto
6364         (Delete): ditto
6365         (backspace): ditto
6366         (breakParagraph): remove one usage of Paragraph::next
6367         (redoParagraph): ditto
6368         (acceptChange): ditto
6369         (insertChar): adjust
6370         (rowBreakPoint): adjust
6371
6372         * bufferview_funcs.C (toggleAndShow): adjust
6373
6374 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6375
6376         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6377         methods to access it.
6378         * lyxtext.h:
6379         * text.C: Added updateRowPositions to compute all row positions.
6380         Make top_y and getRowNearY() to use the cached y position
6381
6382 2003-04-11  John Levon  <levon@movementarian.org>
6383
6384         * text.C (rowBreakPoint): reintroduce the labelEnd
6385         checks, code copied from the row fill stuff. Deep voodoo.
6386
6387         * text.C (fill): add a comment and debugging for the
6388         next poor soul.
6389
6390 2003-04-11  John Levon  <levon@movementarian.org>
6391
6392         * text.C: make sure fullrow insets get wrapped to the next line,
6393         even when they're in a manual label
6394
6395 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * text2.C (insertParagraph): make it take ParagraphList::iterator
6398         as arg.
6399         (setLayout): make it return ParagraphList::iterator
6400         (redoParagraphs): ditto
6401         (setCounter): ditto
6402         (checkParagraph): ditto
6403
6404         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6405
6406         * text2.C: adjust several funcs.
6407         (realizeFont): take a ParagraphList::iterator as arg.
6408         (getLayoutFont): ditto
6409         (getLabelFont): ditto
6410         (setCharFont): ditto
6411
6412         * text.C: adjust several funcs.
6413
6414 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * text.C (selectNextWordToSpellcheck): don't accidentally
6417         skip insets
6418
6419 2003-04-10  John Levon  <levon@movementarian.org>
6420
6421         * ToolbarBackend.C (getIcon): special handling for
6422         LFUN_MATH_DELIM
6423
6424 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6425
6426         * text2.C (cursorRight): a getChar assert fixed
6427
6428 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * text2.C (getFont): change to take a ParagraphList::iterator
6431         instead of Paragraph*
6432         Adjust several functions.
6433
6434         * text.C (transformChar): change to take a ParagraphList::iterator
6435         instead of Paragraph*
6436         (singleWidth): ditto
6437         Adjust several functions.
6438
6439         * rowpainter.C: adjust several functions
6440         * rowpainter.h:store a ParagraphList::iterator and not a
6441         Paragraph&.
6442
6443
6444 2003-04-09  John Levon  <levon@movementarian.org>
6445
6446         * lyxfunc.C:
6447         * lfuns.h:
6448         * LyXAction.h:
6449         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6450         and the "help" bits as well
6451
6452 2003-04-09  John Levon  <levon@movementarian.org>
6453
6454         * ToolbarBackend.h:
6455         * ToolbarBackend.C: allow multiple toolbars
6456
6457 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * undo_funcs.C (setCursorParUndo): adjust
6460
6461         * text_funcs.C (transposeChars): adjust
6462
6463         * text3.C (gotoNextInset): adjust
6464         (dispatch): adjust
6465
6466         * text2.C (setLayout): adjust
6467         (changeDepth): adjust
6468         (setFont): adjust
6469         (redoParagraphs): adjust
6470         (selectionAsString): adjust
6471         (setParagraph): adjust
6472         (insertInset): adjust
6473         (cutSelection): adjust
6474         (copySelection): adjust
6475         (pasteSelection): adjust
6476         (insertStringAsLines): adjust
6477         (updateInset): adjust
6478         (setCursor): change to take a ParagraphList::iterator parameter
6479         (setCursorIntern): change to take a ParagraphList::iterator parameter
6480         (setCurrentFont): adjust
6481         (cursorLeft): adjust
6482         (cursorRight): adjust
6483         (deleteEmptyParagraphMechanism): adjust
6484
6485         * text.C (breakParagraph): adjust
6486         (insertChar): adjust
6487         (acceptChange): adjust
6488         (rejectChange): adjust
6489         (selectNextWordToSpellcheck): adjust
6490         (changeCase): adjust
6491         (Delete): adjust
6492         (backspace): adjust
6493
6494         * lyxfind.C (SearchForward): adjust
6495         (SearchBackward): adjust
6496         (nextChange): adjust
6497
6498         * lyxcursor.C (par): adjust
6499
6500         * lyxcursor.h: store a ParagraphList::iterator instead of a
6501         Paragraph*
6502
6503         * lyx_cb.C (getPossibleLabel): adjust
6504
6505         * bufferview_funcs.C (toggleAndShow): adjust
6506
6507         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6508         (dispatch): adjust
6509
6510         * BufferView.C (removeAutoInsets): adjust
6511         (lockedInsetStoreUndo): adjust
6512
6513 2003-04-09  John Levon  <levon@movementarian.org>
6514
6515         * ToolbarBackend.C: try icon without argument
6516         if with argument fails
6517
6518 2003-04-08  John Levon  <levon@movementarian.org>
6519
6520         * ToolbarBackend.h:
6521         * ToolbarBackend.C: add getIcon(), handle tooltip,
6522         and change from "Icon" to "Item".
6523
6524 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * BufferView.C (lockInset): another bad getchar crunched
6527
6528 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6529
6530         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6531         again)
6532
6533 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * lyxfind.C (searchForward, searchBackwards): bug 782
6536
6537 2003-04-07  John Levon  <levon@movementarian.org>
6538
6539         * paragraph.C: remove dead comment
6540
6541         * text.C: remove troublesome depth-fiddling code
6542         in leftMargin() and rightMargin() (bug 1017)
6543
6544         * text.C: fix breaking of rows in nested lists
6545         (bug 1004)
6546
6547         * text2.C (updateCounters): fix up depth values
6548         (bug 1013)
6549
6550 2003-04-07  John Levon  <levon@movementarian.org>
6551
6552         * BufferView_pimpl.C: clear message when doc finishes resizing,
6553         and after a mouse event
6554
6555         * lyxfunc.C: clear message after exiting inset
6556
6557 2003-04-07  John Levon  <levon@movementarian.org>
6558
6559         * bufferview_funcs.C: show math status not outside
6560         status in the statusbar
6561
6562 2003-04-07  John Levon  <levon@movementarian.org>
6563
6564         * lyxfunc.C: note status changed after a depth change
6565
6566 2003-04-04  Angus Leeming  <leeming@lyx.org>
6567
6568         * LaTeX.h: move AuxInfo operator==, != out of line.
6569         Remove LaTeX virtual destructor; nothing derives from it.
6570         Move operator()() out of public area and rename it startscript().
6571         Change protected for private.
6572
6573 2003-04-04  Angus Leeming  <leeming@lyx.org>
6574
6575         * lyxfunc.C:
6576         * text2.C: remove unneeded #includes.
6577
6578 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * text2.C (dEPM): fix the heigth of the next row
6581
6582 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * text.C: squashed an invalid getChar requester + some ws changes
6585
6586 2003-04-03  John Levon  <levon@movementarian.org>
6587
6588         * bufferview_funcs.h:
6589         * bufferview_funcs.C:
6590         * lyxfunc.C:
6591         * lyxtext.h:
6592         * text2.C: make getStatus work for the env depth lfuns
6593
6594 2003-04-03  John Levon  <levon@movementarian.org>
6595
6596         * bufferview_funcs.h:
6597         * bufferview_funcs.C:
6598         * lyxfunc.C:
6599         * lyxtext.h:
6600         * text2.C: parlistize decDepth(), by merging it with incDepth()
6601
6602 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * lyxrow.h: store a ParagraphList::iterator instead of a
6605         Paragraph* and adjust other class functions to suit.
6606
6607         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6608         above.
6609
6610 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * text2.C (setCursor): do not anchor to cursor row for the time being
6613
6614 2003-04-02  John Levon  <levon@movementarian.org>
6615
6616         * LyXAction.C:
6617         * lfuns.h:
6618         * lyx_main.C:
6619         * lyxtext.h:
6620         * text.C:
6621         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6622
6623 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * paragraph.h: make ParagraphList and ParagraphList::iterator
6626         friends of Paragraph.
6627
6628         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6629
6630         * ParagraphList.C: Use the private next_ and previous_ from
6631         Paragraph.
6632
6633 2003-04-01  John Levon  <levon@movementarian.org>
6634
6635         * ToolbarBackend.h:
6636         * ToolbarBackend.C:
6637         * Makefile.am: rename, remove defaults gunk
6638
6639         * MenuBackend.h:
6640         * MenuBackend.C: remove defaults gunk
6641
6642         * Languages.h:
6643         * Languages.C: remove defaults gunk
6644
6645         * lyx_main.h:
6646         * lyx_main.C: error out if files couldn't be found.
6647
6648 2003-04-02  John Levon  <levon@movementarian.org>
6649
6650         * text2.C: make incDepth() use parlist
6651
6652 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * undo_funcs.C (firstUndoParagraph): adjust
6655
6656         * text3.C (gotoInset): adjust
6657         (dispatch): adjust, and rewrite loop.
6658
6659         * text2.C (init): adjust, and rewrite loop.
6660         (redoParagraphs): adjust
6661         (updateInset): adjust, and rewrite loop.
6662         (deleteEmptyParagraphMechanism): adjust
6663
6664         * tabular.C (LyXTabular): adjust
6665         (SetMultiColumn): adjust
6666         (TeXRow): adjust
6667
6668         * lyxtext.[Ch] (ownerParagraph): delete function
6669         (ownerParagraphs): new function returns a ParagraphList.
6670
6671         * BufferView.C (removeAutoInsets): adjust
6672         (insertErrors): adjust
6673         (setCursorFromRow): adjust
6674
6675 2003-04-01  Angus Leeming  <leeming@lyx.org>
6676
6677         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6678         in the frontends.
6679
6680 2003-04-02  John Levon  <levon@movementarian.org>
6681
6682         * lyxtext.h:
6683         * text.C:
6684         * Makefile.am:
6685         * text_funcs.h:
6686         * text_funcs.C: make transposeChars a free function
6687
6688         * lyxrow_funcs.C: remove wrong comment
6689
6690 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * lyxtext.h: adjust
6693         * rowpainter.C: adjust
6694         * text.C: adjust
6695         * text2.C: adjust
6696         * text3.C: adjust
6697
6698         * lyxrow_funcs. [Ch]: new files
6699
6700         * lyxrow.[Ch]: remove next and previous pointers
6701         (next,previous): remove accessor functions
6702         (isParEnd): move to lyxrow_funcs
6703         (lastPos): move to lyxrow_funcs
6704         (nextRowIsAllInset): move to lyxrow_funcs
6705         (lastPrintablePos): move to lyxrow_funcs
6706         (numberOfSeparators): move to lyxrow_funcs
6707         (numberOfHfills): move to lyxrow_funcs
6708         (numberOfLabelHfills): move to lyxrow_funcs
6709         (hfillExpansion): move to lyxrow_funcs
6710
6711         * lyxfunc.C: adjust
6712
6713         * bufferview_funcs.C (toggleAndShow): adjust
6714
6715         * RowList.h: Remove class RowList from file leave just a
6716         std::list<Row>.
6717
6718         * RowList.C: delete file
6719
6720         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6721         and lyxrow_funcs.h
6722
6723 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * text3.C (cursorPrevious): adjust
6726         (cursorNext): adjust
6727         (dispatch): adjust
6728
6729         * text2.C (redoHeightOfParagraph): adjust
6730         (redoDrawingOfParagraph): adjust
6731         (setCursor): adjust
6732
6733         * text.C (breakParagraph): adjust
6734         (insertChar): adjust
6735         (backspace): adjust
6736
6737         * rowpainter.C (RowPainter): adjust
6738         (leftMargin): simplify and adjust
6739         (most rowpainter functions): adjust.
6740
6741         * rowpainter.h: store the row as RowList::iterator not as Row*
6742
6743         * lyxcursor.C (row): taka RowList::iterator as arg
6744         (irow): ditto
6745
6746         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6747         of Row*.
6748
6749 2003-04-01  Angus Leeming  <leeming@lyx.org>
6750
6751         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6752         stuff like bool Bool.
6753
6754 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6757         rewrite a loop
6758
6759 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6762         RowList::iterator.
6763
6764         * lyxtext.h (rows): drop one version and leve a const variant that
6765         returns a RowList::iterator.
6766
6767 2003-03-31  Angus Leeming  <leeming@lyx.org>
6768
6769         * text.C (fill): ensure that the signature is the same as that in the
6770         header file.
6771
6772 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * text2.C (redoParagraphs): adjust
6775         (updateCounters): adjust
6776         (checkParagraph): adjust
6777         (getColumnNearX): adjust and reformat a bit.
6778
6779         * text.C (top_y): adjust
6780         (workWidth): adjust
6781         (leftMargin): adjust
6782         (prepareToPrint): adjust
6783         (getRow): adjust
6784         (getRowNearY): adjust
6785
6786         * lyxtext.h: make rowlist_ mutable.
6787
6788         * RowList.h: add const_iterator
6789         * RowList.C: adjust for RowList::const_iterator.
6790
6791         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6792         adjust.
6793
6794 2003-03-31  John Levon  <levon@movementarian.org>
6795
6796         * lyxrc.h:
6797         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6798
6799         * lyx_main.C: set default fonts from using lyx_gui funcs
6800
6801         * exporter.C: pdf_mode moved from lyxrc
6802
6803         * lyx_cb.C:
6804         * lyxfunc.C: changes from above
6805
6806 2003-03-31  John Levon  <levon@movementarian.org>
6807
6808         * lyx_main.C: fix to the last fix
6809
6810 2003-03-31  John Levon  <levon@movementarian.org>
6811
6812         * bufferlist.C: "Load original" -> "Load Original"
6813
6814         * converter.C:
6815         * exporter.C:
6816         * importer.C:
6817         * lyx_main.C:
6818         * format.C: more Alert cleanups
6819
6820 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * text2.C (removeParagraph): make it take a RowList::iterator as
6823         arg, adjust.
6824         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6825         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6826
6827         * text.C (anchor_row): make it take a RowList::iterator as arg,
6828         adjust.
6829         (computeBidiTables): make it take a const reference to Row instead
6830         of Row pointer, adjust.
6831         (leftMargin): make it take a RowList::iterator as arg, adjust.
6832         (rowBreakPoint): adjust
6833         (breakAgainOneRow): make it take a RowList::iterator as arg,
6834         adjust.
6835         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6836
6837         * bufferview_funcs.C (toggleAndShow): adjust
6838
6839 2003-03-30  John Levon  <levon@movementarian.org>
6840
6841         * Makefile.am:
6842         * BoostFormat.h:
6843         * boost-inst.C: moved to support
6844
6845         * several files: changes as a result
6846
6847 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * text2.C (LyXText): adjust.
6850         (init): adjust
6851         (removeRow): make it take a RowList::iterator as arg, adjust.
6852         (fullRebreak): adjust
6853         (deleteEmptyParagraphMechanism): adjust
6854         (clearPaint): adjust
6855         (postPaint): adjust
6856
6857         * text.C (top_y): adjust
6858         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6859         (breakAgain): make it take a RowList::iterator as arg, adjust.
6860         (breakParagraph): adjust
6861         (insertChar): adjust
6862         (backspace): adjust
6863
6864         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6865         need_break_row, and refresh_row.
6866
6867         * text3.C (dispatch): adjust
6868
6869         * text2.C (checkParagraph): adjust
6870         (setCursor): adjust
6871         (setCursorFromCoordinates): adjust
6872
6873         * text.C (top_y): adjust
6874         (workWidth): adjust
6875         (getRow): make it return a RowList::iterator, adjust
6876         (getRowNearY): make it return a RowList::iterator, adjust
6877
6878         * text2.C (init): adjust
6879         (insertRow): remove function
6880         (insertParagraph): adjust
6881         (redoParagraphs): adjust
6882         (fullRebreak): adjust
6883         (updateCounters): adjust
6884
6885         * text.C (top_y): rewrite to use RowList iterators.
6886         (top_y): adjust
6887         (setHeightOfRow): rewrite to sue RowList iterators.
6888         (appendParagraph): adjust
6889         (breakAgain): adjust
6890         (breakAgainOneRow): adjust
6891         (breakParagraph): adjust
6892         (getRow): adjust
6893         (getRowNearY): adjust, and remove commented code.
6894
6895         * lyxtext.h (firstRow): delete function
6896         (lastRow): delete function
6897         (rows): new function (const and non-const versions.)
6898         (insertRow): delete function
6899
6900         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6901
6902 2003-03-29  John Levon  <levon@movementarian.org>
6903
6904         * BufferView_pimpl.C: always update scrollbar top
6905         because pasting text when we're anchored could mean we
6906         miss an update altogether
6907
6908 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * text2.C (init): use rowlist_.end() and not 0.
6911         (insertRow): change to take a RowList::iterator as arg, adjust
6912         for this.
6913         (insertParagraph): change to take a RowList::iterator as arg,
6914         adjust for this.
6915         (redoParagraphs): remove some debug msgs.
6916
6917         * text.C (appendParagraph): change to take a RowList::iterator
6918         arg, adjust for this.
6919         (breakAgain): add an assert
6920         (breakAgainOneRow): ditto
6921
6922 2003-03-29  John Levon  <levon@movementarian.org>
6923
6924         * text2.C: do not clear selection after inc/decDepth
6925         (bug 550)
6926
6927 2003-03-29  John Levon  <levon@movementarian.org>
6928
6929         * BufferView.C:
6930         * buffer.C: fix broken strerrors according to Lars
6931
6932 2003-03-29  John Levon  <levon@movementarian.org>
6933
6934         * converters.C: more Alert cleanups
6935
6936 2003-03-29  John Levon  <levon@movementarian.org>
6937
6938         * bufferview_funcs.C: remove pointless Alert
6939
6940         * buffer.C: fix confusing error message when
6941         a template is chmoded 000
6942
6943 2003-03-29  John Levon  <levon@movementarian.org>
6944
6945         * BufferView.C:
6946         * BufferView.h:
6947         * BufferView_pimpl.C: Alert fixes
6948
6949         * Makefile.am:
6950         * tabular.C:
6951         * tabular-old.C: remove unused table compat reading
6952
6953 2003-03-29  John Levon  <levon@movementarian.org>
6954
6955         * BufferView.C:
6956         * buffer.C:
6957         * lyx_cb.h:
6958         * lyx_cb.C: more Alert cleanups
6959
6960         * lyxfunc.C: don't allow chktex if not latex document
6961
6962 2003-03-29  John Levon  <levon@movementarian.org>
6963
6964         * lyx_cb.C:
6965         * BufferView.C:
6966         * buffer.C: warnings pushed down from support/,
6967         kill err_alert
6968
6969 2003-03-29  John Levon  <levon@movementarian.org>
6970
6971         * lyxfunc.C: safety check for C-r (revert)
6972
6973 2003-03-29  John Levon  <levon@movementarian.org>
6974
6975         * bufferlist.h:
6976         * bufferlist.C: several UI fixes using Alert::prompt.
6977         Fix the pointless looping quit code. Fix stupid revert
6978         behaviour (bug 938)
6979
6980         * lyxvc.h:
6981         * lyxvc.C:
6982         * lyx_cb.C: use Alert::prompt
6983
6984         * lyx_main.C: remove a silly question
6985
6986         * lyxfunc.C: remove a couple of silly questions,
6987         use Alert::prompt
6988
6989 2003-03-28  John Levon  <levon@movementarian.org>
6990
6991         * text2.C: fix bug 974 (End on empty par)
6992
6993 2003-03-28  John Levon  <levon@movementarian.org>
6994
6995         * BufferView_pimpl.C:
6996         * LyXAction.C:
6997         * lfuns.h: remove do-nothing math greek lfuns
6998
6999 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * lyxgluelength.h (isValidGlueLength): add default arg on
7002         parameter 2. Remove default arg from friend in class.
7003
7004         * lyxlength.h (isValidLength): add default arg on parameter 2.
7005         Remove default arg from friend in class.
7006
7007         * text2.C (LyXText): adjust, initialize refresh_row.
7008         (init): adjust
7009         (removeRow): adjust
7010         (insertRow): adjust
7011         (insertParagraph): adjst
7012         (redoParagraphs): adjust
7013         (fullRebreak): adjust
7014         (updateCounters): adjust
7015         (deleteEmptyParagraphMechanism): first attempt at fixing a
7016         crashing bug.
7017
7018         * text.C (top_y): adjust
7019         (setHeightOfRow): adjust
7020         (getRow): adjust
7021         (getRowNearY): adjust
7022
7023         * lyxtext.h: include RowList.h
7024         (~LyXText): not needed anymore, deleted.
7025         (firstRow): modify for RowList
7026         (lastRow): new function
7027         Delete firstrow and lastrow class variables, add a Rowlist
7028         rowlist_ class variable.
7029
7030         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7031         paragraph is empty.
7032
7033         * RowList.C (insert): fix case where it == begin().
7034
7035 2003-03-26  Angus Leeming  <leeming@lyx.org>
7036
7037         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7038         the thesaurus dialog.
7039
7040 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7043
7044         * RowList.[Ch]: new files
7045
7046         * ParagraphList.C (erase): handle the case where it == begin
7047         correctly.
7048
7049 2003-03-25  John Levon  <levon@movementarian.org>
7050
7051         * Makefile.am:
7052         * aspell_local.h:
7053         * aspell.C: add new aspell support
7054
7055         * lyxrc.h:
7056         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7057         have it accessible.
7058
7059 2003-03-25  Angus Leeming  <leeming@lyx.org>
7060
7061         * lfuns.h:
7062         * LyXAction.C (init): new LFUN_INSET_INSERT.
7063
7064         * BufferView_pimpl.C (dispatch): split out part of the
7065         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7066
7067         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7068         LFUN_INSET_APPLY.
7069
7070 2003-03-25  Angus Leeming  <leeming@lyx.org>
7071
7072         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7073
7074 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7075
7076         * text2.C:
7077         * text3.C: remove useless row->height(0)
7078
7079 2003-03-25  John Levon  <levon@movementarian.org>
7080
7081         * lyxtext.h:
7082         * text2.C:
7083         * text3.C: rename the refreshing stuff to better names
7084
7085 2003-03-24  John Levon  <levon@movementarian.org>
7086
7087         * BufferView_pimpl.h:
7088         * BufferView_pimpl.C: update layout choice on a mouse
7089         press/release
7090
7091 2003-03-23  John Levon  <levon@movementarian.org>
7092
7093         * Makefile.am: fix commandtags.h reference
7094
7095 2003-03-22  John Levon  <levon@movementarian.org>
7096
7097         * BufferView_pimpl.C:
7098         * lyxtext.h:
7099         * rowpainter.C:
7100         * rowpainter.h:
7101         * text.C:
7102         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7103
7104 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * lyxtext.h:
7107         * text.C: take the rtl methods out of line
7108
7109 2003-03-21 André Pönitz <poenitz@gmx.net>
7110
7111         * metricsinfo.[Ch]: new files containing structures to be passed around
7112         during the two-phase-drawing...
7113
7114 2003-03-21 André Pönitz <poenitz@gmx.net>
7115
7116         * lyxtextclass.C: read 'environment' tag.
7117
7118 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * text2.C (removeRow): fix bug 964
7121
7122 2003-03-20  John Levon  <levon@movementarian.org>
7123
7124         * rowpainter.C:
7125         * text.C:
7126         * text2.C: paint cleanups. Inset::update() dropped font
7127         parameter
7128
7129 2003-03-19  John Levon  <levon@movementarian.org>
7130
7131         * lyxfunc.C: only fitcursor/markDirty if available()
7132
7133 2003-03-19  John Levon  <levon@movementarian.org>
7134
7135         * commandtags.h: rename to ...
7136
7137         * lfuns.h: ... this, and renumber / cleanup
7138
7139 2003-03-19  John Levon  <levon@movementarian.org>
7140
7141         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7142         fit the cursor after an lfun
7143
7144         * BufferView.h:
7145         * BufferView.C:
7146         * BufferView_pimpl.h:
7147         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7148
7149         * LyXAction.C: layout-character should have ReadOnly
7150
7151         * ParagraphParameters.C:
7152         * buffer.C:
7153         * bufferview_funcs.C:
7154         * lyx_cb.C:
7155         * lyxfind.C:
7156         * lyxtext.h:
7157         * text.C:
7158         * text2.C:
7159         * text3.C:
7160         * undo_funcs.C: changes from above
7161
7162 2003-03-18  John Levon  <levon@movementarian.org>
7163
7164         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7165         remove it from update()
7166
7167         * lyxfunc.C: update layout choice after an lfun
7168
7169         * text3.C: remove extra updateLayoutChoice()s
7170
7171 2003-03-18  John Levon  <levon@movementarian.org>
7172
7173         * text.C: top_y change means full repaint, fix
7174         a drawing bug with cursor movement
7175
7176 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7177
7178         * lyxtext.h:
7179         * text.C:
7180         * text2.C: anchor row on setCursor
7181
7182 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7183
7184         * lyxtext.h: remove almost all mutable keywords
7185         * text.C:
7186         * text2.C:
7187         * text3.C: remove const keywords accordingly
7188
7189 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7192         anon namespace
7193         (TeXEnvironment): ditto
7194         (TeXOnePar): ditto
7195
7196 2003-03-17  John Levon  <levon@movementarian.org>
7197
7198         * text.C (rowBreakPoint): remove attempt to fix displayed
7199         math insets inside a manual label
7200
7201 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7202
7203         * lyxtext.h: remove BufferView* as first arg from almost all class
7204         functions.
7205         * other files: adjust.
7206
7207 2003-03-17  John Levon  <levon@movementarian.org>
7208
7209         * lyxtext.h:
7210         * undo_funcs.C:
7211         * text2.C: more paint cleanups
7212
7213         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7214
7215         * rowpainter.h:
7216         * rowpainter.C: remove "smart" background painting code
7217
7218 2003-03-16  John Levon  <levon@movementarian.org>
7219
7220         * lyxtext.h:
7221         * text.C:
7222         * text2.C:
7223         * text3.C: add helper functions for setting refresh_row/y
7224
7225 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7226
7227         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7228         newline inset which *can* get inserted in the pass_thru layouts.
7229         This is primarily for literate documents.
7230
7231 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * buffer.C: increment LYX_FORMAT to 223
7234
7235 2003-03-14 André Pönitz <poenitz@gmx.net>
7236
7237         * textclass.h: prepare for environment handling, ws changes
7238         * lyxlayout.C: read latexheader and latexfooter tags
7239
7240 2003-03-14  John Levon  <levon@movementarian.org>
7241
7242         * text2.C: rewrite ::status() a bit
7243
7244 2003-03-13  John Levon  <levon@movementarian.org>
7245
7246         * lyxtext.h: add some docs
7247
7248 2003-03-13  John Levon  <levon@movementarian.org>
7249
7250         * lyxtext.h:
7251         * text.C:
7252         * text2.C:
7253         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7254
7255 2003-03-13  John Levon  <levon@movementarian.org>
7256
7257         * text3.C: fix appendix redrawing
7258
7259 2003-03-13  John Levon  <levon@movementarian.org>
7260
7261         * text.C (setHeightOfRow):
7262         * rowpainter.h:
7263         * rowpainter.C: make appendix mark have the text
7264           "Appendix" so the user knows what it is
7265
7266         * LColor.h:
7267         * LColor.C: s/appendixline/appendix/ from above
7268
7269 2003-03-13  John Levon  <levon@movementarian.org>
7270
7271         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7272
7273         * text.C: fix a getChar(pos) bug properly
7274
7275 2003-03-13  Angus Leeming  <leeming@lyx.org>
7276
7277         * commandtags.h:
7278         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7279         Probably only temporary. Let's see how things pan out.
7280
7281         * BufferView.C (unlockInset):
7282         * BufferView_pimpl.C (fitCursor):
7283         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7284
7285         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7286         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7287
7288         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7289         new functions that convert ParagraphParameters to and from a string.
7290
7291         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7292         BufferView::Pimpl's dispatch.
7293         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7294
7295 2003-03-13 André Pönitz <poenitz@gmx.net>
7296
7297         * lyxfunc.C:
7298         * text3.C:
7299         * factory.C: make it aware of InsetEnv
7300
7301 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * text2.C (setCursor): never ask for one past last
7304         (setCursor): add some debugging messages.
7305
7306         * text.C (singleWidth): never ask for one past last
7307         (singleWidth): ditto
7308         (leftMargin): ditto
7309         (rightMargin): ditto
7310         (rowBreakPoint): ditto
7311         (setHeightOfRow): ditto
7312         (prepareToPrint): ditto
7313
7314         * rowpainter.C (paintBackground): never ask for one past last
7315         (paintText): never ask for one past last
7316
7317         * paragraph_pimpl.C (getChar): make the assert stricter, never
7318         allow the one past last pos to be taken
7319
7320         * paragraph.C (getChar): ws changes only
7321
7322         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7323         (numberOfSeparators): ditto
7324         (numberOfHfills): ditto
7325
7326 2003-03-12  John Levon  <levon@movementarian.org>
7327
7328         * author.h:
7329         * author.C:
7330         * bufferparams.h:
7331         * bufferparams.C:
7332         * paragraph_funcs.C: fix per-buffer authorlists
7333
7334 2003-03-12  John Levon  <levon@movementarian.org>
7335
7336         * text.C: fix newline in right address
7337
7338 2003-03-12  Angus Leeming  <leeming@lyx.org>
7339
7340         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7341         duplicate those in LyXFunc::dispatch.
7342
7343         * commandtags.h:
7344         * LyXAction.C:
7345         * ToolbarDefaults.C:
7346         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7347         Add LFUN_FONTFREE_UPDATE.
7348
7349         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7350         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7351
7352         * bufferview_func.[Ch]: several new functions to facilliate
7353         transfer of data to and from the character dialog.
7354
7355 2003-03-12  John Levon  <levon@movementarian.org>
7356
7357         * buffer.C:
7358         * paragraph.h:
7359         * paragraph.C:
7360         * paragraph_funcs.C:
7361         * paragraph_pimpl.C:
7362         * sgml.C:
7363         * tabular.C:
7364         * text.C:
7365         * text3.C: remove META_NEWLINE in favour of an inset
7366
7367         * rowpainter.h:
7368         * rowpainter.C: remove paintNewline (done by inset)
7369
7370 2003-03-12  John Levon  <levon@movementarian.org>
7371
7372         * paragraph_pimpl.C: complain about bad getChar()s
7373         for a while at least
7374
7375 2003-03-12  John Levon  <levon@movementarian.org>
7376
7377         * buffer.h:
7378         * buffer.C: move paragraph read into a separate function,
7379         a little renaming to reflect that.
7380
7381         * bufferparams.h:
7382         * bufferparams.C: remove the author_ids map, not necessary now
7383
7384         * factory.h:
7385         * factory.C: moved Buffer::readInset to here
7386
7387         * paragraph_funcs.h:
7388         * paragraph_funcs.C: readParagraph free function moved from
7389         buffer.C
7390
7391         * tabular.C: name change
7392
7393 2003-03-12  John Levon  <levon@movementarian.org>
7394
7395         * buffer.C:
7396         * ParagraphParameters.C: move par params input to
7397         a read() method
7398
7399         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7400         behave like a normal read from the stream wrt reading
7401         a line vs. a \\token
7402
7403 2003-03-12  John Levon  <levon@movementarian.org>
7404
7405         * paragraph.C:
7406         * ParagraphParameters.h:
7407         * ParagraphParameters.C: move output code to a
7408         ::write() method
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * BufferView.C (insertLyXFile):
7413         * buffer.h:
7414         * buffer.C:
7415         * tabular.C: use a parlist iterator for creating the
7416           document.
7417
7418 2003-03-12  John Levon  <levon@movementarian.org>
7419
7420         * buffer.C: make current_change static local not
7421           static file-scope
7422
7423 2003-03-12  John Levon  <levon@movementarian.org>
7424
7425         * buffer.C: fix insertStringAsLines for change tracking
7426
7427 2003-03-12  John Levon  <levon@movementarian.org>
7428
7429         * BufferView.C:
7430         * tabular.C:
7431         * buffer.h:
7432         * buffer.C:
7433         * bufferparams.h:
7434         * bufferparams.C: move author list into params. Rename some
7435           functions. Move the header reading into a separate token
7436           loop. Move the header token reading into BufferParams.
7437
7438 2003-03-12  John Levon  <levon@movementarian.org>
7439
7440         * changes.C: put debug inside lyxerr.debugging() checks
7441
7442 2003-03-11 André Pönitz <poenitz@gmx.net>
7443
7444         * factory.C: make it aware of InsetHFill
7445
7446 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7447
7448         * buffer.C (latexParagraphs): move function from here...
7449         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7450         args.
7451
7452 2003-03-10  Angus Leeming  <leeming@lyx.org>
7453
7454         * LyXAction.C (init): fix bug in poplating array with multiple entries
7455         with the same LFUN (spotted by JMarc).
7456
7457 2003-03-10  John Levon  <levon@movementarian.org>
7458
7459         * text.C:
7460         * text2.C: move getColumnNearX() near its
7461         only call site
7462
7463 2003-03-10  John Levon  <levon@movementarian.org>
7464
7465         * text.C: fix break before a minipage
7466
7467 2003-03-10  John Levon  <levon@movementarian.org>
7468
7469         * text.C: fix the last commit
7470
7471 2003-03-09  John Levon  <levon@movementarian.org>
7472
7473         * lyxtext.h:
7474         * text.C:
7475         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7476         bug 365 (don't break before insets unless needed). Don't
7477         return a value > last under any circumstances.
7478
7479 2003-03-09  Angus Leeming  <leeming@lyx.org>
7480
7481         * BufferView_pimpl.C (trackChanges, dispatch): call
7482         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7483
7484 2003-03-09  Angus Leeming  <leeming@lyx.org>
7485
7486         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7487         than Dialogs::showAboutlyx().
7488
7489 2003-03-09  Angus Leeming  <leeming@lyx.org>
7490
7491         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7492         than Dialogs::showTabularCreate().
7493
7494 2003-03-09  John Levon  <levon@movementarian.org>
7495
7496         * lyxtext.h:
7497         * text.C:
7498         * text2.C: 3rd arg to nextBreakPoint was always the same.
7499           Use references.
7500
7501 2003-03-08  John Levon  <levon@movementarian.org>
7502
7503         * lyxrow.C:
7504         * paragraph.C:
7505         * paragraph.h:
7506         * rowpainter.C:
7507         * text.C:
7508         * text2.C: Remove the "main" bit from the "main body"
7509           notion.
7510
7511 2003-03-08  John Levon  <levon@movementarian.org>
7512
7513         * text.C (leftMargin): The left margin of an empty
7514         manual label paragraph should not include the label width
7515         string length.
7516
7517         * text.C (prepareToPrint): don't attempt to measure hfills
7518         for empty manual label paragraphs - the answer should be 0
7519
7520 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * CutAndPaste.C: remove commented code and reindent.
7523
7524 2003-03-08  John Levon  <levon@movementarian.org>
7525
7526         * lyxfunc.h:
7527         * lyxfunc.C: move reloadBuffer()
7528
7529         * BufferView.h:
7530         * BufferView.C: to here
7531
7532         * lyxvc.C: add comment
7533
7534         * vc-backend.h:
7535         * vc-backend.C: call bv->reload() to avoid
7536           getStatus() check on MENURELOAD
7537
7538 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7539
7540         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7541         to an old format .dep file.
7542
7543 2003-03-07  Angus Leeming  <leeming@lyx.org>
7544
7545         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7546         when the LFUN_MOUSE_RELEASE should have been handled by
7547         inset->localDispatch.
7548
7549 2003-03-07  Angus Leeming  <leeming@lyx.org>
7550
7551         * BufferView_pimpl.C (dispatch):
7552         * LyXAction.C (init):
7553         * ToolbarDefaults.C (init):
7554         * commandtags.h:
7555         * lyxfunc.C (getStatus):
7556         remove LFUN_INSET_GRAPHICS.
7557
7558         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7559
7560 2003-03-07  Angus Leeming  <leeming@lyx.org>
7561
7562         * commandtags.h:
7563         * LyXAction.C (init):
7564         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7565
7566         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7567
7568         * commandtags.h:
7569         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7570
7571         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7572         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7573
7574 2003-03-07  Angus Leeming  <leeming@lyx.org>
7575
7576         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7577         remove "ert".
7578
7579 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * ParagraphList.C (front): new function
7582         (back): implement
7583
7584 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7585
7586         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7587         and top_row_offset_. removed var first_y.
7588         * text.C (top_y):
7589         * text2.C (LyXText, removeRow):
7590         * text3.C:
7591         * BufferView_pimpl.C:
7592         use these methods instead of using first_y
7593
7594 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * text2.C (pasteSelection): adjust for checkPastePossible
7597
7598         * CutAndPaste.C: remove Paragraph * buf and replace with
7599         ParagraphList paragraphs.
7600         (DeleteBuffer): delete
7601         (cutSelection): change the tc type to textclass_type
7602         (copySelection): change the tc type to textclass_type
7603         (copySelection): adjust for ParagraphList
7604         (pasteSelection): change the tc type to textclass_type
7605         (pasteSelection): adjust for Paragraphlist
7606         (nrOfParagraphs): simplify for ParagraphList
7607         (checkPastePossible): simplify for ParagraphList
7608         (checkPastePossible): remove unused arg
7609
7610         * ParagraphList.C (insert): handle the case where there are no
7611         paragraphs yet.
7612
7613         * CutAndPaste.h: make CutAndPaste a namespace.
7614
7615         * text3.C (dispatch): adjust
7616
7617         * text.C (breakParagraph): add a ParagraphList as arg
7618
7619         * paragraph_funcs.C (breakParagraph): change to take a
7620         BufferParams and a ParagraphList as args.
7621         (breakParagraphConservative): ditto
7622         (mergeParagraph): ditto
7623         (TeXDeeper): add a ParagraphList arg
7624         (TeXEnvironment): ditto
7625         (TeXOnePar): ditto
7626
7627         * buffer.C (readLyXformat2): adjust
7628         (insertStringAsLines): adjust
7629         (latexParagraphs): adjust
7630
7631         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7632         (cutSelection): adjust
7633         (pasteSelection): adjust
7634
7635         * BufferView_pimpl.C (insertInset): adjust
7636
7637 2003-03-05  Angus Leeming  <leeming@lyx.org>
7638
7639         * commandtags.h:
7640         * LyXAction.C (init):
7641         * BufferView_pimpl.C (dispatch):
7642         * lyxfunc.C (getStatus):
7643         remove LFUN_CHILD_INSERT.
7644
7645         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7646
7647 2003-03-05  Angus Leeming  <leeming@lyx.org>
7648
7649         * commandtags.h:
7650         * LyXAction.C (init):
7651         * src/factory.C (createInset):
7652         * lyxfunc.C (getStatus):
7653         * text3.C (dispatch):
7654         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7655
7656         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7657
7658 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * ParagraphList.C (insert): handle insert right before end()
7661         (erase): fix cases where it can be first or last paragraph.
7662
7663 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7666         Paragraph::next and Paragraph::previous
7667         (TeXOnePar): ditto
7668
7669         * text.C (breakParagraph): adjust
7670
7671         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7672         BufferParams& as arg.
7673         (breakParagraph): use ParagraphList::insert
7674         (breakParagraphConservative): take a Buffer* instead of a
7675         BufferParams& as arg.
7676         (breakParagraphConservative): use ParagraphList::insert.
7677
7678         * buffer.C (insertStringAsLines): un-const it
7679         (insertStringAsLines): adjust
7680
7681         * ParagraphList.C (insert): new function
7682
7683         * CutAndPaste.C (pasteSelection): adjust
7684
7685         * text.C (backspace): adjust
7686
7687         * tabular.C (SetMultiColumn): adjust
7688
7689         * CutAndPaste.C (cutSelection): adjust
7690         (pasteSelection): adjust
7691
7692         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7693         Buffer const * as arg
7694
7695         * ParagraphList.C (erase): new function
7696         * paragraph_funcs.C (mergeParagraph): use it
7697         (mergeParagraph): make it take a Buffer* instead of a
7698         BufferParams* as arg
7699
7700         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7701         as arg
7702         (breakParagraphConservative): ditto
7703
7704         * paragraph.h: remove the breakParagraph friend
7705
7706         * paragraph.C (eraseIntern): new function
7707         (setChange): new function
7708
7709         * paragraph_funcs.C (mergeParagraph): make it take a
7710         ParagraphList::iterator instead of a Paragraph *, adjust
7711         accordingly.
7712
7713         * paragraph.h: move an #endif so that the change tracking stuff
7714         also works in the NO_NEXT case.
7715
7716 2003-03-04  Angus Leeming  <leeming@lyx.org>
7717
7718         * commandtags.h:
7719         * LyXAction.C: new LFUN_INSET_MODIFY.
7720
7721         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7722         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7723
7724 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * several files: ws changes only
7727
7728         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7729         (TeXEnvironment): ditto
7730         (TeXDeeper): ditto
7731
7732         * buffer.C (makeLaTeXFile): adjust
7733         (latexParagraphs): make it take ParagraphList::iterator as args
7734
7735 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * buffer.C (latexParagraphs): adjust
7738
7739         * paragraph.C (TeXOnePar): move function...
7740         (optArgInset): move function...
7741         (TeXEnvironment): move function...
7742         * paragraph_pimpl.C (TeXDeeper): move function...
7743         * paragraph_funcs.C: ...here
7744
7745         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7746
7747 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * buffer.C (readInset): remove compability code for old Figure and
7750         InsetInfo insets
7751
7752 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * buffer.C: ws changes
7755         (readInset):
7756
7757         * BufferView_pimpl.C: ditto
7758         * author.C: ditto
7759         * buffer.h: ditto
7760         * bufferlist.h: ditto
7761         * changes.h: ditto
7762         * lyxfunc.C: ditto
7763
7764 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7765
7766         * converter.[Ch]: split into itself +
7767         * graph.[Ch]
7768         * format.[Ch]
7769         * Makefile.am: += graph.[Ch] + format.[Ch]
7770         * MenuBackend.C
7771         * buffer.C
7772         * exporter.C
7773         * importer.C
7774         * lyx_main.C
7775         * lyxfunc.C
7776         * lyxrc.C: added #include "format.h"
7777
7778 2003-02-27  Angus Leeming  <leeming@lyx.org>
7779
7780         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7781           a label.
7782
7783         * factory.C (createInset): add "label" to the factory.
7784
7785         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7786           string and do no more.
7787
7788 2003-02-27  Angus Leeming  <leeming@lyx.org>
7789
7790         * commandtags.h:
7791         * LyXAction.C (init):
7792         * factory.C (createInset):
7793         * BufferView_pimpl.C (dispatch):
7794           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7795
7796         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7797
7798         * lyxfunc.C (dispatch):
7799         * text3.C (dispatch): pass name to params2string.
7800
7801 2003-02-26  Angus Leeming  <leeming@lyx.org>
7802
7803         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7804           blocks together.
7805           Rearrange the ~includes. Strip out the unnecessary ones.
7806
7807         * factory.C (createInset): reformat.
7808           create new insets for the various LFUN_XYZ_APPLY lfuns.
7809
7810 2003-02-26  John Levon  <levon@movementarian.org>
7811
7812         * lyxrow.h:
7813         * lyxrow.C: add isParStart,isParEnd helpers
7814
7815         * paragraph.h: make isInserted/DeletedText take refs
7816
7817         * paragraph_funcs.h:
7818         * paragraph_funcs.C: remove #if 0'd code
7819
7820         * lyxtext.h:
7821         * text3.C:
7822         * text2.C:
7823         * text.C: use lyxrow helpers above.
7824           Move draw and paint routines to RowPainter.
7825           Make several methods use refs not pointers.
7826           Make backgroundColor() const.
7827           Add markChangeInDraw(), isInInset().
7828           Merge changeRegionCase into changeCase.
7829           Make workWidth() shouldn't-happen code into an Assert.
7830
7831         * rowpainter.h:
7832         * rowpainter.C: new class for painting a row.
7833
7834         * vspace.h:
7835         * vspace.C: make inPixels take a ref
7836
7837 2003-02-26  Angus Leeming  <leeming@lyx.org>
7838
7839         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7840         LFUN_REF_APPLY.
7841
7842 2003-02-25  John Levon  <levon@movementarian.org>
7843
7844         * ispell.C: give the forked command a more accurate name
7845
7846 2003-02-22  John Levon  <levon@movementarian.org>
7847
7848         * toc.h:
7849         * toc.C: make TocItem store an id not a Paragraph *
7850           (bug #913)
7851
7852 2003-02-21  Angus Leeming  <leeming@lyx.org>
7853
7854         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7855           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7856           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7857           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7858           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7859           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7860
7861         * BufferView_pimpl.C (dispatch):
7862         * LyXAction.C (init):
7863         * factory.C (createInset):
7864         * lyxfunc.C (getStatus, dispatch):
7865         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7866
7867 2003-02-21  Angus Leeming  <leeming@lyx.org>
7868
7869         * BufferView_pimpl.C (MenuInsertLyXFile):
7870         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7871         * lyxfunc.C (menuNew, open, doImport):
7872           no longer pass a LyXView & to fileDlg.
7873
7874 2003-02-21  Angus Leeming  <leeming@lyx.org>
7875
7876         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7877         * LyXAction.C: change, BIBKEY to BIBITEM.
7878         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7879         Change InsetBibKey to InsetBibitem.
7880         Change BIBKEY_CODE to BIBITEM_CODE.
7881         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7882         * factory.C: replace insetbib.h with insetbibitem.h.
7883         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7884         * paragraph.C: replace insetbib.h with insetbibitem.h.
7885         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7886         Change bibkey() to bibitem().
7887         * text.C: remove insetbib.h.
7888         * text2.C: replace insetbib.h with insetbibitem.h.
7889         change bibkey() to bibitem().
7890         * text3.C: remove insetbib.h.
7891         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7892
7893 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7894
7895         * lyxrc.C (output): enclose user email in quotes (in case there are
7896         several words)
7897
7898 2003-02-18  John Levon  <levon@movementarian.org>
7899
7900         * buffer.h: add std::
7901
7902 2003-02-17  John Levon  <levon@movementarian.org>
7903
7904         * SpellBase.h:
7905         * ispell.h:
7906         * ispell.C:
7907         * pspell.h:
7908         * pspell.C: reworking. Especially in ispell, a large
7909           number of clean ups and bug fixes.
7910
7911         * lyxfunc.C: fix revert to behave sensibly
7912
7913 2003-02-17 André Pönitz <poenitz@gmx.net>
7914
7915         * LyXAction.C:
7916         * commandtags.h: new LFUN_INSERT_BIBKEY
7917
7918         * layout.h:
7919         * lyxlayout.C:
7920         * buffer.C:
7921         * factory.C:
7922         * text.C:
7923         * text2.C:
7924         * text3.C:
7925         * paragraph.[Ch]:
7926         * paragraph_func.C: remove special bibkey handling
7927
7928 2003-02-17  John Levon  <levon@movementarian.org>
7929
7930         * text.C (Delete): fix case where delete at the end of
7931           the very first paragraph would not merge the pars
7932
7933 2003-02-17  John Levon  <levon@movementarian.org>
7934
7935         * lyxrow.C: fix lastPrintablePos()
7936
7937 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7938
7939         * bufferparams.C (writeLaTeX): add a std:here
7940
7941         * buffer.C: and remove a using directive there
7942
7943 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * buffer.C (makeLaTeXFile): move the code that generates the
7946           preamble...
7947
7948         * bufferparams.C (writeLaTeX): ... in this new method
7949
7950         * LaTeXFeatures.C (getEncodingSet): make const
7951           (getLanguages): make const
7952
7953         * MenuBackend.C (binding): returns the binding associated to this
7954           action
7955           (add): sets the status of each item by calling getStatus. Adds
7956           some intelligence.
7957           (read): add support for OptSubMenu
7958           (expand): remove extra separator at the end of expanded menu
7959
7960 2003-02-15  John Levon  <levon@movementarian.org>
7961
7962         * BufferView.C:
7963         * BufferView_pimpl.C:
7964         * bufferlist.h:
7965         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7966           inset code that had no actual effect. Remove unneeded status
7967           code.
7968
7969 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7970
7971         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7972           in preamble
7973
7974 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7975
7976         * text.C (drawLengthMarker): also draw an arrow marker for
7977           symbolic lengths (medskip...)
7978
7979 2003-02-14  John Levon  <levon@movementarian.org>
7980
7981         * tabular.h:
7982         * tabular.C: better method names
7983
7984 2003-02-14  John Levon  <levon@movementarian.org>
7985
7986         * BufferView_pimpl.C:
7987         * bufferlist.C:
7988         * buffer.C:
7989         * converter.C:
7990         * lyx_cb.C:
7991         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7992           it's a more accurate name. Remove some pointless uses.
7993
7994 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7995
7996         * text2.C (LyXText): change order of initilizers to shut off
7997           warnings
7998
7999 2003-02-14  John Levon  <levon@movementarian.org>
8000
8001         * buffer.C: use ParIterator for getParFromID()
8002
8003         * paragraph.h:
8004         * paragraph.C:
8005         * paragraph_pimpl.h:
8006         * paragraph_pimpl.C: remove unused getParFromID()
8007
8008 2003-02-14  John Levon  <levon@movementarian.org>
8009
8010         * buffer.C: remove some very old #if 0'd parse code
8011
8012 2003-02-13  John Levon  <levon@movementarian.org>
8013
8014         * text.h:
8015         * text.C:
8016         * text2.C: move hfillExpansion(), numberOfSeparators(),
8017           rowLast(), rowLastPrintable(), numberofHfills(),
8018           numberOfLabelHfills() ...
8019
8020         * lyxrow.h:
8021         * lyxrow.C: ... to member functions here.
8022
8023         * paragraph.h:
8024         * paragraph.C:
8025         * lyxtext.h:
8026         * text.C: remove LyXText::beginningOfMainBody(), and call
8027           p->beginningOfMainBody() directly. Move the check for
8028           LABEL_MANUAL into the latter.
8029
8030         * text.h:
8031         * text.C:
8032         * text2.C:
8033         * vspace.C:
8034         * BufferView.h:
8035         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8036
8037         * text.h:
8038         * text.C:
8039         * text2.C:
8040         * text3.C:
8041         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8042           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8043
8044 2003-02-13  John Levon  <levon@movementarian.org>
8045
8046         * CutAndPaste.C: remove debug
8047
8048 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * paragraph.C (asString): remove two unused variables
8051
8052         * lyxtextclass.C (readTitleType):
8053           (Read):
8054           (LyXTextClass): handle new members titletype_ and titlename_
8055
8056         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8057
8058 2003-02-09  John Levon  <levon@movementarian.org>
8059
8060         * buffer.h:
8061         * buffer.C: replace hand-coded list with a map for the dep clean
8062
8063 2003-02-08  John Levon  <levon@movementarian.org>
8064
8065         * LaTeX.C: consolidate code into showRunMessage() helper
8066
8067 2003-02-08  John Levon  <levon@movementarian.org>
8068
8069         * lyxfind.C:
8070         * lyxtext.h:
8071         * text2.C:
8072         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8073           and pass the size in explicitly
8074
8075         * BufferView_pimpl.h:
8076         * BufferView_pimpl.C:
8077         * BufferView.h:
8078         * BufferView.C: add getCurrentChange()
8079
8080         * BufferView_pimpl.h:
8081         * BufferView_pimpl.C: handle change lfuns
8082
8083         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8084           for changes. Mark pasted paragraphs as new.
8085
8086         * support/lyxtime.h:
8087         * support/lyxtime.C:
8088         * DepTable.C: abstract time_t as lyx::time_type
8089
8090         * LColor.h:
8091         * LColor.C: add colours for new text, deleted text, changebars
8092
8093         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8094           package use "usenames" option.
8095
8096         * commandtags.h:
8097         * lyxfunc.C:
8098         * LyXAction.C: add change lfuns
8099
8100         * Makefile.am:
8101         * author.h:
8102         * author.C: author handling
8103
8104         * buffer.h:
8105         * buffer.C: add a per-buffer author list, with first entry as
8106           current author. Handle new .lyx tokens for change tracking. Output
8107           author list to .lyx file. Output dvipost stuff to .tex preamble.
8108           Bump lyx format to 222.
8109
8110         * bufferlist.h:
8111         * bufferlist.C: add setCurrentAuthor() to reset current author details
8112           in all buffers.
8113
8114         * bufferparams.h:
8115         * bufferparams.C: add param for tracking
8116
8117         * bufferview_funcs.C: output change info in minibuffer
8118
8119         * Makefile.am:
8120         * changes.h:
8121         * changes.C: add change-tracking structure
8122
8123         * debug.h:
8124         * debug.C: add CHANGES debug flag
8125
8126         * lyxfind.h:
8127         * lyxfind.C: add code for finding the next change piece
8128
8129         * lyxrc.h:
8130         * lyxrc.C: add user_name and user_email
8131
8132         * lyxrow.h:
8133         * lyxrow.C: add a metric for the top of the text line
8134
8135         * lyxtext.h:
8136         * text.C: implement accept/rejectChange()
8137
8138         * lyxtext.h:
8139         * text.C: paint changebars. Paint new/deleted text in the chosen
8140         colours. Strike through deleted text.
8141
8142         * paragraph.h:
8143         * paragraph.C:
8144         * paragraph_pimpl.h:
8145         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8146           in the current change to the insert functions. Rework erase to
8147           mark text as deleted, adding an eraseIntern() and a range-based
8148           erase(). Implement per-paragraph change lookup and
8149           accept/reject.
8150
8151         * paragraph_funcs.C: Fixup paste for change tracking.
8152
8153         * tabular.C: mark added row/columns as new.
8154
8155         * text.C: fix rowLast() to never return -1. Don't allow
8156           spellchecking of deleted text. Track transpose changes. Don't
8157           allow paragraph break or merge where appropriate.
8158
8159         * text2.C: leave cursor at end of selection after a cut.
8160
8161 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8162
8163         * text.C (getLengthMarkerHeight):
8164         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8165         visible on screen too.
8166
8167 2003-02-07  John Levon  <levon@movementarian.org>
8168
8169         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8170
8171 2003-02-05  Angus Leeming  <leeming@lyx.org>
8172
8173         * lyxserver.C (read_ready): revert my patch of 11 September last year
8174         as it sends PC cpu through the roof. Presumably this means that
8175         the lyxserver will no longer run on an Alpha...
8176
8177 2003-01-30  Angus Leeming  <leeming@lyx.org>
8178
8179         * factory.C (createInset): create an InsetCommandParam of type "index"
8180         and use it to 'do the right thing'.
8181
8182         * text2.C (getStringToIndex): ensure that cursor position is always
8183         reset to the reset_cursor position.
8184
8185 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8186
8187         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8188         disabled.
8189
8190 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8191
8192         * bufferview.C:
8193         * lyxcb.C:
8194         * lyxfunc.C: Output messages with identical spelling, punctuation,
8195         and spaces
8196
8197 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8198
8199         * MenuBackend.C (expandFormats): List only viewable export formats
8200         in "View" menu
8201
8202         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8203         message
8204
8205         * lyxfunc.C (getStatus): Make sure that formats other than
8206         "fax" can also be disabled
8207
8208 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8209
8210         * text3.C (dispatch): put the lfuns that insert insets in 3
8211         groups, and call doInsertInset with appropriate arguments.
8212         (doInsertInset): new function, that creates an inset and inserts
8213         it according to some boolean parameters.
8214
8215 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * buffer.C (readFile): remember to pass on 'par' when calling
8218         readFile recursively.
8219
8220 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8221
8222         * MenuBackend.C (expandFormats): add "..." to import formats.
8223
8224 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * paragraph.C (asString): Remove XForms RTL hacks.
8227
8228 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8229         * buffer.C: fix typo
8230
8231 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * Makefile.am (LIBS): delete var
8234         (lyx_LDADD): add @LIBS@ here instead.
8235
8236 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8237
8238         * Clarify the meaning of "wheel mouse jump"
8239
8240 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8241
8242         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8243         tabular in a float
8244
8245 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8246
8247         * importer.C (Loaders): do not preallocate 3 elements in the
8248         vector, since one ends up with 6 elements otherwise
8249
8250 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8251
8252         * DepTable.C (write): write the file name as last element of the
8253         .dep file (because it may contain spaces)
8254         (read): read info in the right order
8255
8256 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8257
8258         * paragraph_pimpl.C (simpleTeXBlanks):
8259         (simpleTeXSpecialChars):
8260         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8261
8262         * tabular.C (latex): add some missing case statements. Reindent.
8263
8264         * MenuBackend.C (expandToc): remove unused variable.
8265
8266 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8267
8268         * LColor.C:
8269         * LaTeX.C:
8270         * LyXAction.C:
8271         * MenuBackend.C:
8272         * buffer.C:
8273         * exporter.C:
8274         * lyxfunc.C:
8275         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8276         and the like.
8277
8278 2003-01-05  John Levon  <levon@movementarian.org>
8279
8280         * BufferView.h:
8281         * BufferView.C: add getEncoding()
8282
8283         * kbsequence.h:
8284         * kbsequence.C: do not store last keypress
8285
8286         * lyxfunc.h:
8287         * lyxfunc.C: store last keypress here instead. Pass encoding
8288           to getISOEncoded()
8289
8290 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8291
8292         * lyx_main.C (init): remove annoying error message when following
8293         symbolic links (bug #780)
8294
8295 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8296
8297         * text.C (insertChar):
8298         * lyxrc.C (getDescription): remove extra spaces
8299
8300 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8301
8302         * lyxrc.C (getDescription): remove extra spaces
8303
8304 2002-12-20  John Levon  <levon@movementarian.org>
8305
8306         * text3.C: hack fix for page up/down across tall rows
8307
8308 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8309
8310         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8311         not been invoked
8312
8313 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314
8315         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8316         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8317         thesaurus is not compiled in
8318
8319 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8320
8321         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8322
8323 2002-12-16  Angus Leeming  <leeming@lyx.org>
8324
8325         * lyxrc.[Ch]:
8326         * lyx_main.C (init): remove override_x_deadkeys stuff.
8327
8328 2002-12-12  John Levon  <levon@movementarian.org>
8329
8330         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8331           insert. Only remove shift modifier under strict
8332           circumstances.
8333
8334 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * MenuBackend.C (expandToc): fix crash.
8337
8338 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * MenuBackend.C (expandToc): gettext on float names.
8341
8342 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8343
8344         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8345         implement bool empty() [bug 490]
8346
8347 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8350
8351 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * several files: ws changes
8354
8355 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * text2.C (setCounter): clean up a bit, use boost.format.
8358         (updateCounters): initialize par upon declaration.
8359
8360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8361         if the layout exists. We do not just store the layout any more.
8362         (SwitchLayoutsBetweenClasses): use boost.format
8363
8364 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8365
8366         * converter.C (convert): if from and to files are the same, use a
8367         temporary files as intermediary
8368
8369 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8370
8371         * commandtags.h:
8372         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8373
8374 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8375
8376         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8377
8378 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * tabular.C (asciiPrintCell): use string(size, char) instead of
8381         explicit loop.
8382
8383         * sgml.C (openTag): fix order of arguments to string constructor
8384         (closeTag): ditto
8385
8386         * lyxfunc.C (dispatch): use boost.format
8387
8388         * lots of files: change "c" -> 'c'
8389
8390 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8391
8392         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8393
8394 2002-11-25  Angus Leeming  <leeming@lyx.org>
8395
8396         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8397
8398         * lyx_main.C (init): compile fix.
8399
8400 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * lyx_cb.C (start): boost.formatify
8403         do not include <iostream>
8404
8405         * lengthcommon.C: ws only
8406
8407         * boost-inst.C,BoostFormat.h: add more explict instantations
8408
8409 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8410
8411         * lots of files: handle USE_BOOST_FORMAT
8412
8413 2002-11-21  John Levon  <levon@movementarian.org>
8414
8415         * pspell.C: fix compile
8416
8417 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8418
8419         * lyxfunc.C (dispatch): use boost::format
8420         (open): ditto
8421         (doImport): ditto
8422
8423         * lyxfont.C (stateText): use boost::format
8424
8425         * lyx_main.C (LyX): use boost::format
8426         (init): ditto
8427         (queryUserLyXDir): ditto
8428         (readRcFile): ditto
8429         (parse_dbg): ditto
8430         (typedef boost::function): use the recommened syntax.
8431
8432         * importer.C (Import): use boost::format
8433
8434         * debug.C (showLevel): use boost::format
8435
8436         * converter.C (view): use boost::format
8437         (convert): ditto
8438         (move): ditto
8439         (scanLog): ditto
8440
8441         * bufferview_funcs.C (currentState): use boost::format
8442
8443         * bufferlist.C (emergencyWrite): use boost::format
8444
8445         * buffer.C (readLyXformat2): use boost::format
8446         (parseSingleLyXformat2Token): ditto
8447
8448         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8449
8450         * LaTeX.C (run): use boost::format
8451
8452         * Chktex.C (scanLogFile): use boost::format
8453
8454         * BufferView_pimpl.C (savePosition): use boost::format
8455         (restorePosition): ditto
8456         (MenuInsertLyXFile): ditto
8457
8458         * BoostFormat.h: help file for explicit instation.
8459
8460 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8461
8462         * tabular.C (latex): Support for block alignment in fixed width
8463         columns.
8464
8465 2002-11-17  John Levon  <levon@movementarian.org>
8466
8467         * BufferView_pimpl.C:
8468         * lyx_cb.C:
8469         * lyxfunc.C: split filedialog into open/save
8470
8471 2002-11-08  Juergen Vigna  <jug@sad.it>
8472
8473         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8474         by my last patch (hopefully).
8475
8476 2002-11-08  John Levon  <levon@movementarian.org>
8477
8478         * iterators.h:
8479         * iterators.C:
8480         * buffer.h:
8481         * buffer.C:
8482         * paragraph.h:
8483         * paragraph.C:
8484         * toc.h:
8485         * toc.C: ParConstIterator, and use it (from Lars)
8486
8487 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8488
8489         * lyxtextclass.[Ch]: revise and add doxygen comments
8490
8491 2002-11-07  John Levon  <levon@movementarian.org>
8492
8493         * text.C: fix progress value for spellchecker
8494
8495         * toc.C: fix navigate menu for insetwrap inside minipage
8496
8497         * paragraph_funcs.C: added FIXME for suspect code
8498
8499 2002-11-07  John Levon  <levon@movementarian.org>
8500
8501         * BufferView_pimpl.C: fix redrawing of insets
8502           on buffer switch
8503
8504 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8505
8506         * text2.C (updateCounters): fix bug 668
8507
8508 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8509
8510         * text3.C (dispatch): Do not make the buffer dirty when moving the
8511         cursor.
8512
8513 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * vc-backend.C: STRCONV
8516         (scanMaster): ditto
8517
8518         * text2.C (setCounter): STRCONV
8519
8520         * paragraph.C (asString): STRCONV
8521
8522         * lyxlength.C (asString): STRCONV
8523         (asLatexString): ditto
8524
8525         * lyxgluelength.C (asString): STRCONV
8526         (asLatexString): ditto
8527
8528         * lyxfunc.C (dispatch): STRCONV
8529         (open): ditto
8530
8531         * lyxfont.C (stateText): STRCONV
8532
8533         * importer.C (Import): STRCONV
8534
8535         * counters.C (labelItem): STRCONV
8536         (numberLabel): ditto
8537         (numberLabel): remove unused ostringstream o
8538
8539         * chset.C: STRCONV
8540         (loadFile): ditto
8541
8542         * bufferview_funcs.C (currentState): STRCONV
8543
8544         * buffer.C (readFile): STRCONV
8545         (asciiParagraph): ditto
8546         (makeLaTeXFile): ditto
8547
8548         * Spacing.C (writeEnvirBegin): STRCONV
8549
8550         * LaTeXFeatures.C (getLanguages): STRCONV
8551         (getPackages): ditto
8552         (getMacros): ditto
8553         (getBabelOptions): ditto
8554         (getTClassPreamble): ditto
8555         (getLyXSGMLEntities): ditto
8556         (getIncludedFiles): ditto
8557
8558         * LaTeX.C: STRCONV
8559         (run): ditto
8560         (scanAuxFile): ditto
8561         (deplog): ditto
8562
8563         * LString.h: add the STRCONV macros
8564
8565         * BufferView_pimpl.C (savePosition): STRCONV
8566         (restorePosition): ditto
8567         (MenuInsertLyXFile): ditto
8568
8569         * vc-backend.C (scanMaster): change from submatch[...] to
8570         submatch.str(...)
8571
8572         * funcrequest.C: include config.h
8573
8574         * factory.C: include config.h
8575
8576         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8577
8578         * box.C: include config.h
8579
8580         * LaTeX.C (scanAuxFile): change from submatch[...] to
8581         submatch.str(...)
8582         (deplog): ditto
8583
8584 2002-10-25  Angus Leeming  <leeming@lyx.org>
8585
8586         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8587
8588         * ispell.[Ch] (setError): new method.
8589         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8590         Use setError() insetead of goto END.
8591
8592         * lyx_cb.C (AutoSave): move out child process into new class
8593         AutoSaveBuffer.
8594
8595 2002-10-30  John Levon  <levon@movementarian.org>
8596
8597         * text3.C: make start appendix undoable
8598
8599 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8600
8601         * lyxlength.C (inPixels): Fix returned value.
8602
8603         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8604         environment.
8605
8606 2002-10-24  Angus Leeming  <leeming@lyx.org>
8607
8608         * lyxgluelength.h: no need to forward declare BufferParams
8609         or BufferView, so don't.
8610
8611 2002-10-21  John Levon  <levon@movementarian.org>
8612
8613         * BufferView.C: menuUndo ->undo, redo
8614
8615         * BufferView.h: document, remove dead, make some methods private
8616
8617         * paragraph_funcs.h:
8618         * paragraph_funcs.C:
8619         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8620
8621         * buffer.h:
8622         * buffer.C:
8623         * sgml.h:
8624         * sgml.C: move sgml open/close tag into sgml.C
8625
8626         * bufferview_funcs.h: unused prototype
8627
8628         * lyxfunc.h:
8629         * lyxfunc.C: remove unused
8630
8631         * lyxtext.h:
8632         * text.C: remove unused
8633
8634 2002-10-21  John Levon  <levon@movementarian.org>
8635
8636         * BufferView.h:
8637         * BufferView.C:
8638         * BufferView_pimpl.h:
8639         * BufferView_pimpl.C: fix mouse wheel handling based on
8640           patch from Darren Freeman
8641
8642 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8643
8644         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8645
8646 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8647
8648         * lyxlength.C (inPixels): Fix hanfling of negative length.
8649         Fix LyXLength::MU case.
8650
8651 2002-10-16  John Levon  <levon@movementarian.org>
8652
8653         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8654
8655 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8656
8657         * converter.C (view): add support for $$i (file name) and $$p
8658         (file path) for the viewer command. If $$i is not specified, then
8659         it is appended to the command (for compatibility with old syntax)
8660
8661 2002-10-14  Juergen Vigna  <jug@sad.it>
8662
8663         * undo_funcs.C (textHandleUndo): alter the order in which the
8664         new undopar is added to the LyXText, as we have to set first
8665         the right prev/next and then add it as otherwise the rebuild of
8666         LyXText is not correct. Also reset the cursor to the right paragraph,
8667         with this IMO we could remove the hack in "redoParagraphs()".
8668
8669 2002-10-09  Angus Leeming  <leeming@lyx.org>
8670
8671         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8672         to turn off an optimisation if a new inset is to be inserted.
8673
8674 2002-10-11 André Pönitz <poenitz@gmx.net>
8675
8676         * lyxtext.h: make some functions public to allow access
8677         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8678
8679 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8680
8681         * text3.C (dispatch): when changing layout, avoid an infinite loop
8682         [bug #652]
8683
8684 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8685
8686         * lyxrc.C (read): treat a viewer or converter command of "none" as
8687         if it were empty.
8688
8689         * MenuBackend.C (expandFormats): for an update, also allow the
8690         formats that are not viewable
8691
8692         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8693         script if it is newer than the lyxrc.defaults in user directory
8694
8695 2002-10-07 André Pönitz <poenitz@gmx.net>
8696
8697         * text.C: Vitaly Lipatov's small i18n fix
8698
8699 2002-09-25  Angus Leeming  <leeming@lyx.org>
8700
8701         * ispell.h: doxygen fix.
8702
8703 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8704
8705         * buffer.h (readFile): Add a new argument to the method, to allow
8706         reading of old-format templates.
8707
8708 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8709
8710         * toc.C (getTocList): Get TOC from InsetWrap.
8711
8712 2002-09-16  John Levon  <levon@movementarian.org>
8713
8714         * lyxfunc.C: check tabular for cut/copy too
8715
8716 2002-09-12  John Levon  <levon@movementarian.org>
8717
8718         * LyXAction.C: tidy
8719
8720         * factory.h:
8721         * factory.C: add header
8722
8723         * paragraph_funcs.h:
8724         * paragraph_funcs.C: cleanup
8725
8726 2002-09-11  John Levon  <levon@movementarian.org>
8727
8728         * PrinterParams.h: odd/even default to true
8729
8730 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8731
8732         * PrinterParams.h: update printer parameters for new xforms dialog
8733
8734 2002-09-11  Angus Leeming  <leeming@lyx.org>
8735
8736         * lyxserver.C (read_ready): re-write to make it more transparent
8737         and to make it work in coherent fashion under Tru64 Unix.
8738
8739 2002-09-11  André Pönitz <poenitz@gmx.net>
8740
8741         * commandtags.h:
8742         * LyXAction.C:
8743         * text3.C: implement LFUN_WORDSEL
8744
8745 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8746
8747         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8748         make floatlist_ a boost::shared_ptr<FloatList>
8749
8750         * lyxtextclass.C: include FloatList.h
8751         (LyXTextClass): initialize floatlist_
8752         (TextClassTags): add TC_NOFLOAT
8753         (Read): match "nofloat" to TC_NOFLOAT and use it.
8754         (readFloat): modify call to floatlist_
8755         (floats): ditto
8756         (floats): ditto
8757
8758         * FloatList.[Ch] (FloatList): remove commented out float
8759         initialization.
8760         (erase): new function
8761
8762 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8763
8764         * MenuBackend.C (expandToc): fix crash when there is no document
8765         open
8766
8767 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8768
8769         * many files: Add insetwrap.
8770
8771 2002-09-09  John Levon  <levon@movementarian.org>
8772
8773         * text2.C: remove confusing and awkward depth wraparound
8774
8775 2002-09-09  John Levon  <levon@movementarian.org>
8776
8777         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8778
8779         * buffer.h:
8780         * buffer.C: remove getIncludeonlyList()
8781
8782         * paragraph.C:
8783         * lyxfunc.C: remove headers
8784
8785 2002-09-09  Juergen Vigna  <jug@sad.it>
8786
8787         * text.C (getColumnNearX): fix form Michael this is most
8788         probably a cut&paste bug.
8789
8790 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8793
8794         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8795         references, ws changes.
8796
8797         * text2.C (init): update counters after init
8798         (insertParagraph): no need to set counter on idividual paragraphs.
8799         (setCounter): access the counters object in the textclass object
8800         on in the buffer object.
8801         (updateCounters): ditto
8802
8803         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8804         shared_ptr<Counters> to avoid loading counters.h in all
8805         compilation units.
8806         (LyXTextClass): initialize ctrs_
8807         (TextClassTags): add TC_COUNTER, and ...
8808         (Read): use it here.
8809         (CounterTags): new tags
8810         (readCounter): new function
8811         (counters): new funtion
8812         (defaultLayoutName): return a const reference
8813
8814         * counters.C (Counters): remove contructor
8815         (newCounter): remove a couple of unneeded statements.
8816         (newCounter): simplify a bit.
8817         (numberLabel): some small formatting changes.
8818
8819         * buffer.[Ch]: remove all traces of counters, move the Counters
8820         object to the LyXTextClass.
8821
8822 2002-09-06  Alain Castera  <castera@in2p3.fr>
8823
8824         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8825         package to set the horizontal alignment on fixed width columns.
8826
8827         * lyx_sty.C:
8828         * lyx_sty.h: added tabularnewline macro def.
8829
8830         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8831
8832 2002-09-06  John Levon  <levon@movementarian.org>
8833
8834         * LyXAction.C: tooltips for sub/superscript
8835
8836         * MenuBackend.C: a bit more verbose
8837
8838         * lyxfunc.C: tiny clean
8839
8840         * undo_funcs.C: document undo_frozen
8841
8842 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8843
8844         * counters.C (Counters): add missing algorithm counter.
8845
8846         * text2.C (setCounter): lookup the counter with layouts latexname
8847         instead of by section number.
8848         (setCounter): use a hackish way to lookup the correct enum
8849         counter.
8850         a float name->type change
8851         reset enum couners with counter name directly instead of depth value.
8852
8853         * counters.C (Counters): remove the push_backs, change to use the
8854         float type not the float name.
8855         (labelItem): remove unused string, float name->type change
8856
8857         * counters.h: don't include vector, loose the enums and sects vectors
8858
8859 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8860
8861         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8862         (Read): add float->TC_FLOAT to textclassTags
8863         (Read): and handle it in the switch
8864         (readFloat): new function
8865
8866         * FloatList.C (FloatList): comment out the hardcoded float
8867         definitions.
8868
8869         * lyxlayout.h: ws change.
8870
8871 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8872
8873         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8874
8875 2002-09-03  Angus Leeming  <leeming@lyx.org>
8876
8877         * BufferView_pimpl.h: qualified name is not allowed in member
8878         declaration: WorkArea & Pimpl::workarea() const;
8879
8880         * factory.C: added using std::endl directive.
8881
8882         * text3.C: added using std::find and std::vector directives.
8883
8884 2002-08-29  André Pönitz <poenitz@gmx.net>
8885
8886         * lyxtext.h:
8887         * text2.C: remove unused member number_of_rows
8888
8889         * Makefile.am:
8890         * BufferView2.C: remove file, move contents to...
8891         * BufferView.C: ... here
8892
8893         * BufferView_pimpl.C:
8894         * factory.C: move more inset creation to factory
8895
8896         * vspace.C: avoid direct usage of LyXText, ws changes
8897
8898         * BufferView.[Ch]:
8899                 don't provide direct access to WorkArea, use two simple
8900                 acessors haveSelction() and workHeight() instead
8901
8902
8903 2002-08-29  John Levon  <levon@movementarian.org>
8904
8905         * BufferView_pimpl.C (dispatch): do not continue when
8906           no buffer
8907
8908 2002-08-28  André Pönitz <poenitz@gmx.net>
8909
8910         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8911
8912         * BufferView.h:
8913         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8914
8915 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8916
8917         * buffer.C: increment LYX_FORMAT to 221
8918
8919         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8920         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8921
8922         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8923
8924         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8925
8926 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8927
8928         * factory.C (createInset): use LyXTextClass::floats
8929
8930         * MenuBackend.C (expandFloatListInsert):
8931         (expandFloatInsert):
8932         (expandToc):
8933
8934         * text2.C (setCounter):
8935
8936         * LaTeXFeatures.C (useFloat):
8937         (getFloatDefinitions):
8938
8939         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8940
8941         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8942         floatlist_, with accessor floats().
8943
8944         * FloatList.h: remove global FloatList
8945
8946 2002-08-26  André Pönitz <poenitz@gmx.net>
8947
8948         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8949
8950         * BufferView.h:
8951         * BufferView2.C:
8952         * BufferView_pimpl.C:
8953         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8954
8955 2002-08-25  John Levon  <levon@movementarian.org>
8956
8957         * LyXAction.C: fix margin note description
8958
8959 2002-08-24  John Levon  <levon@movementarian.org>
8960
8961         * buffer.C:
8962         * bufferlist.C:
8963         * bufferview_funcs.C:
8964         * lyxfont.C:
8965         * undo_funcs.C: cleanups
8966
8967         * lyxfunc.C: disable CUT/COPY when no selection
8968
8969 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8970
8971         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8972         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8973
8974         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8975         Add backward compatibility to "mono", "gray" and "no".
8976
8977 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8978
8979         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8980         (and file_format >= 200).
8981
8982 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8983
8984         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8985
8986 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8987
8988         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8989
8990 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8991
8992         * BufferView_pimpl.C:
8993         * LyXAction.C:
8994         * buffer.C:
8995         * commandtags.h:
8996         * lyxfunc.C:
8997         * paragraph.[Ch]:
8998         * text2.C:
8999         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9000         inset and code to make it  work with the paragraph code. The inset
9001         can be anywhere in the paragraph, but will only do the expected
9002         thing in LaTeX if the layout file contains the parameter line
9003                         OptionalArgs    1
9004         (or more generally, a nonzero value) for that layout.
9005
9006 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * paragraph.h: remove the declaration of undefined counters class
9009         function.
9010
9011 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9012
9013         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9014         Dr. Richard Hawkins.
9015
9016 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * paragraph_funcs.h: remove some unneeded includes
9019
9020         * text.C (backspace): pasteParagraph now in global scipe
9021
9022         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9023         (pasteSelection): ditto
9024
9025         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9026         * paragraph_funcs.C (pasteParagraph): ... here
9027
9028 2002-08-20  André Pönitz <poenitz@gmx.net>
9029
9030         * commandtags.h: new LFUNs for swapping/copying table row/colums
9031
9032         * LyXAction.C:
9033         * lyxfunc.C: support for new lfuns
9034
9035 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9036
9037         * tabular.C:
9038         * buffer.[Ch]: remove NO_COMPABILITY stuff
9039
9040 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * boost.C (throw_exception): new file, with helper function for
9043         boost compiled without exceptions.
9044
9045         * paragraph.h:
9046         * lyxlength.C:
9047         * buffer.C:
9048         * ParameterStruct.h:
9049         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9050
9051         * bufferlist.C (emergencyWriteAll): use boost bind
9052
9053         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9054
9055         * text.C: include paragraph_funcs.h
9056         (breakParagraph): breakParagraph is now in global scope
9057
9058         * paragraph_funcs.[Ch]: new files
9059
9060         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9061         global scope
9062
9063         * buffer.C: include paragraph_funcs.h
9064         (insertStringAsLines): breakParagraph is now in global scope
9065
9066         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9067         paragraph_funcs.C
9068
9069         * CutAndPaste.C: include paragraph_funcs.h
9070         (cutSelection): breakParagraphConservative is now in global scope
9071         (pasteSelection): ditto
9072
9073         * buffer.h: declare oprator== and operator!= for
9074         Buffer::inset_iterator
9075
9076         * bufferlist.C (emergencyWrite): don't use fmt(...)
9077
9078         * text3.C: add using std::endl
9079
9080         * BufferView.C (moveCursorUpdate): remove default arg
9081
9082 2002-08-20  André Pönitz <poenitz@gmx.net>
9083
9084         * buffer.[Ch]: move inline functions to .C
9085
9086         * BufferView2.C:
9087         * BufferView_pimpl.C:
9088         * text.C:
9089         * buffer.[Ch]: use improved inset_iterator
9090
9091         * buffer.C:
9092         * paragraph.[Ch]: write one paragraph at a time
9093
9094 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9097         style if style is not specified.
9098
9099 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9100
9101         * text2.C (setCounter): when searching for right label for a
9102         caption, make sure to recurse to parent insets (so that a caption
9103         in a minipage in a figure float works) (bug #568)
9104
9105 2002-08-20  André Pönitz <poenitz@gmx.net>
9106
9107         * text3.C: new file for LyXText::dispatch() and helpers
9108
9109         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9110
9111         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9112
9113 2002-08-19  André Pönitz <poenitz@gmx.net>
9114
9115         * lyxtext.h:
9116         * text.C: new LyXText::dispatch()
9117
9118         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9119
9120 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9121
9122         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9123
9124         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9125         Hebrew text.
9126
9127 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9128
9129         * Makefile.am: use $(variables) instead of @substitutions@
9130
9131 2002-08-15  André Pönitz <poenitz@gmx.net>
9132
9133         * lyxfunc.C:
9134         * BufferView_pimpl.C: streamlining mathed <-> outer world
9135         interaction
9136
9137         * commandtags.h:
9138         * LyXAction.C: remove unused LFUN_MATH
9139
9140 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9141
9142         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9143
9144 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9145
9146         * paragraph.C (Paragraph): reformat a bit
9147         (cutIntoMinibuffer): use builtin InsetList function instad of
9148         doing it manually.
9149         (getInset): ditto
9150
9151         * buffer.C: include boost/bind.hpp, add using std::for_each
9152         (writeFileAscii): use ParagraphList iterators
9153         (validate): use for_each for validate traversal of paragraphs
9154         (getBibkeyList): use ParagraphList iterators
9155         (resizeInsets): use for_each to resizeInsetsLyXText for all
9156         paragraphs.
9157         (getParFromID): use ParagraphList iterators
9158
9159         * BufferView2.C (lockInset): use paragraph list and iterators
9160
9161 2002-08-14  John Levon  <levon@movementarian.org>
9162
9163         * lyxserver.C: remove spurious xforms include
9164
9165 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9166
9167         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9168
9169 2002-08-13  André Pönitz <poenitz@gmx.net>
9170
9171         * LyXAction.[Ch]:
9172         * lyxfunc.C: further cleaning
9173
9174 2002-08-13  André Pönitz <poenitz@gmx.net>
9175
9176         * funcrequest.h: new constructor
9177
9178         * funcrequest.C: move stuff here from .h
9179
9180         * Makefile.am:
9181         * BufferView_pimpl.C:
9182         * LyXAction.C:
9183         * toc.C:
9184         * lyxfunc.C: subsequent changes
9185
9186         * lyxfunc.h: new view() member function
9187
9188         * lyxfunc.C: subsequent changes
9189
9190 2002-08-13  Angus Leeming  <leeming@lyx.org>
9191
9192         * BufferView2.C:
9193         * BufferView_pimpl.C:
9194         * buffer.C:
9195         * converter.C:
9196         * importer.C:
9197         * lyxfunc.C:
9198         * lyxvc.C:
9199         * toc.C:
9200         * vc-backend.C:
9201         changes due to the changed LyXView interface that now returns references
9202         to member variables not pointers.
9203
9204 2002-08-13  Angus Leeming  <leeming@lyx.org>
9205
9206         * WordLangTuple (word, lang_code): return references to strings,
9207         not strings.
9208
9209         * BufferView.h:
9210         * SpellBase.h:
9211         * lyxtext.h: forward-declare WordLangTuple.
9212
9213         * BufferView2.C:
9214         * ispell.C:
9215         * pspell.C:
9216         * text.C: #include "WordLangTuple.h".
9217
9218         * lyxtext.h:
9219         * text.C: (selectNextWordToSpellcheck): constify return type.
9220
9221 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9222
9223         * buffer.C:
9224         * buffer.h:
9225         * lyxtext.h:
9226         * paragraph.C:
9227         * paragraph_pimpl.h:
9228         * text.C:
9229         * text2.C:
9230         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9231         suggested by Angus.
9232         Made updateCounter always count from start of buffer, and removed
9233         second argument (par).
9234         Reverted floats number display to '#'. Perhaps I'll try again when the
9235         code base is sanitized a bit.
9236
9237 2002-08-12  Angus Leeming  <leeming@lyx.org>
9238
9239         * buffer.[Ch] (getLabelList): constify.
9240
9241 2002-08-07  André Pönitz <poenitz@gmx.net>
9242
9243         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9244
9245         * funcrequest.h: extension to keep mouse (x,y) position
9246
9247 2002-08-12  Juergen Vigna  <jug@sad.it>
9248
9249         * BufferView2.C (insertErrors): forbid undo when inserting error
9250         insets.
9251
9252         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9253
9254 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * ParagraphList.[Ch]: new files
9257
9258         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9259
9260         * BufferView2.C (lockInset): ParagraphList changes
9261         * toc.C: ditto
9262         * text2.C: ditto
9263         * bufferlist.C: ditto
9264         * buffer.h: ditto
9265         * buffer.C: ditto
9266
9267 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9270         unused class variable counter_,
9271
9272         * paragraph.[Ch] (getFirstCounter): delete unused function
9273
9274         * counters.C: include LAssert.h
9275         (reset): add a new function with no arg, change other version to
9276         not have def. arg and to not allow empty arg.
9277
9278         * text2.C (setCounter): remove empty arg from call to Counters::reset
9279
9280 2002-08-11  John Levon  <levon@movementarian.org>
9281
9282         * Makefile.am: add WordLangTuple.h
9283
9284 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9287         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9288
9289         * insets/insettext.C: InsetList changes
9290
9291         * graphics/GraphicsSupport.C (operator()): InsetList changes
9292
9293         * toc.C (getTocList): InsetList changes
9294
9295         * paragraph_pimpl.[Ch]: InsetList changes
9296
9297         * paragraph.[Ch]: InsetList changes
9298
9299         * buffer.C (inset_iterator): InsetList changes
9300         (setParagraph): ditto
9301         * buffer.h (inset_iterator): ditto
9302         * iterators.C (operator++): ditto
9303         * iterators.h: ditto
9304
9305         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9306
9307         * InsetList.[Ch]: new files, most InsetList handling moved out of
9308         paragraph.C.
9309
9310         * BufferView2.C (removeAutoInsets): InsetList changes
9311         (lockInset): ditto
9312         (ChangeInsets): ditto
9313
9314 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9315
9316         * paragraph_pimpl.h (empty): new function
9317
9318         * paragraph.[Ch] (empty): new function
9319
9320         * other files: use the new Paragraph::empty function
9321
9322 2002-08-09  John Levon  <levon@movementarian.org>
9323
9324         * lyxtext.h: remove unused refresh_height
9325
9326 2002-08-09  John Levon  <levon@movementarian.org>
9327
9328         * Makefile.am:
9329         * sgml.h:
9330         * sgml.C:
9331         * buffer.C:
9332         * paragraph.h:
9333         * paragraph.C: move sgml char escaping out of paragraph
9334
9335         * paragraph.h:
9336         * paragraph.C: remove id setter
9337
9338         * buffer.C:
9339         * paragraph.C:
9340         * paragraph_pimpl.C: remove dead tex_code_break_column
9341
9342         * bufferview_funcs.C: small cleanup
9343
9344         * lyxfunc.C: remove dead proto
9345
9346         * lyxtext.h: make some stuff private. Remove some dead stuff.
9347
9348         * lyxgluelength.C: make as[LyX]String() readable
9349
9350 2002-08-08  John Levon  <levon@movementarian.org>
9351
9352         * LyXAction.h:
9353         * LyXAction.C:
9354         * MenuBackend.C:
9355         * ToolbarDefaults.C:
9356         * lyxfunc.C:
9357         * lyxrc.C:
9358         * toc.C: lyxaction cleanup
9359
9360 2002-08-08  John Levon  <levon@movementarian.org>
9361
9362         * BufferView2.C: small cleanup
9363
9364         * lyxfind.h:
9365         * lyxfind.C: move unnecessary header into the .C
9366
9367 2002-08-08  John Levon  <levon@movementarian.org>
9368
9369         * funcrequest.h: just tedious nonsense
9370
9371         * lyx_main.h:
9372         * lyx_main.C: cleanups
9373
9374         * buffer.C:
9375         * vspace.C: remove dead header lyx_main.h
9376
9377 2002-08-07  Angus Leeming  <leeming@lyx.org>
9378
9379         * Paragraph.[Ch]:
9380         * paragraph_pimpl.h:
9381         Forward declare class Counters in paragraph.h by moving the ctrs member
9382         variable into Paragraph::Pimpl.
9383         (counters): new method, returning a reference to pimpl_->ctrs.
9384
9385         * text2.C: ensuing changes.
9386
9387 2002-08-07  John Levon  <levon@movementarian.org>
9388
9389         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9390
9391         * BufferView_pimpl.C: announce X selection on double/triple
9392           click
9393
9394         * lyx_main.C: use correct bool in batch dispatch
9395
9396         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9397
9398 2002-08-07  André Pönitz <poenitz@gmx.net>
9399
9400         * funcrequest.h: new class to wrap a kb_action and its argument
9401
9402         * BufferView.[Ch]:
9403         * BufferView_pimpl[Ch]:
9404         * LaTeX.C:
9405         * LyXAction.[Ch]:
9406         * lyxfunc.[Ch]:
9407         * lyxrc.C: subsequent changes
9408
9409
9410 2002-08-07  John Levon  <levon@movementarian.org>
9411
9412         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9413           document options change.
9414
9415 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9416
9417         * counters.[Ch]
9418         * text2.C
9419         * paragraph.[Ch]
9420         * makefile.am: move counters functionality over from
9421         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9422
9423 2002-08-06  John Levon  <levon@movementarian.org>
9424
9425         * WordLangTuple.h: new file for word + language code tuple
9426
9427         * SpellBase.h:
9428         * pspell.h:
9429         * pspell.C:
9430         * ispell.h:
9431         * ispell.C:
9432         * lyxtext.h:
9433         * text.C:
9434         * text2.C:
9435         * BufferView.h:
9436         * BufferView2.C: use WordLangTuple
9437
9438         * layout.h:
9439         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9440
9441 2002-08-06  John Levon  <levon@movementarian.org>
9442
9443         * lyx_main.C: fix cmdline batch handling
9444
9445 2002-08-06  André Pönitz <poenitz@gmx.net>
9446
9447         * lyxrc.C: set default for show_banner to true
9448
9449 2002-08-06  John Levon  <levon@movementarian.org>
9450
9451         * pspell.C: fix a crash, and allow new aspell to work
9452
9453 2002-08-06  John Levon  <levon@movementarian.org>
9454
9455         * lyxfunc.C:
9456         * kbmap.C: small cleanup
9457
9458         * vspace.h:
9459         * vspace.C: add const
9460
9461 2002-08-05  John Levon  <levon@movementarian.org>
9462
9463         * LyXAction.C: back to tabular-insert
9464
9465 2002-08-04  John Levon  <levon@movementarian.org>
9466
9467         * BufferView.h:
9468         * BufferView.C: cosmetic change
9469
9470         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9471
9472         * bufferlist.C:
9473         * buffer.h:
9474         * buffer.C:
9475         * lyxcb.h:
9476         * lyxcb.C:
9477         * lyxserver.C:
9478         * lyxvc.C:
9479         * vc-backend.C:
9480         * BufferView2.C: purge all "Lyx" not "LyX" strings
9481
9482         * lyxcursor.h:
9483         * lyxcursor.C: attempt to add some documentation
9484
9485         * lyxfunc.C:
9486         * commandtags.h:
9487         * LyXAction.C:
9488         * ToolbarDefaults.C:
9489         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9490           merge with LFUN_TABULAR_INSERT
9491
9492         * Makefile.am:
9493         * SpellBase.h:
9494         * ispell.h:
9495         * ispell.C:
9496         * pspell.h:
9497         * pspell.C: split up i/pspell implementations into separate
9498           files, many cleanups
9499
9500         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9501
9502         * text2.C: some cleanup
9503
9504         * lyxfunc.C: don't check for isp_command == "none" any more, it
9505           didn't make any sense
9506
9507 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9508
9509         * counters.[Ch]
9510         * text2.C
9511         * paragraph.[Ch]
9512         * makefile.am: move counters functionality over
9513         from text2.C/paragraph.[Ch] to counters.[Ch], and
9514         make proper C++.
9515 2002-08-02  John Levon  <levon@movementarian.org>
9516
9517         * buffer.C: s/lyxconvert/lyx2lyx/
9518
9519 2002-08-02  Angus Leeming  <leeming@lyx.org>
9520
9521         * lyxlex.C: revert John's change as it breaks reading of the user
9522         preamble.
9523
9524 2002-08-02  Angus Leeming  <leeming@lyx.org>
9525
9526         * importer.C (Import):
9527         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9528         changes due to LyXView::view() now returning a boost::shared_ptr.
9529
9530 2002-08-02  John Levon  <levon@movementarian.org>
9531
9532         * lyxlex.C: small cleanup
9533
9534 2002-08-02  John Levon  <levon@movementarian.org>
9535
9536         * text2.C (status): small cleanup, no logic change
9537
9538 2002-08-01  John Levon  <levon@movementarian.org>
9539
9540         * buffer.h:
9541         * buffer.C (writeFile): don't output alerts, caller
9542           handles this
9543
9544         * bufferlist.C:
9545         * lyx_cb.C: from above
9546
9547         * lyxfunc.C: allow to open non-existent files
9548
9549 2002-07-31  John Levon  <levon@movementarian.org>
9550
9551         * lyxserver.C: don't let incidental errors get
9552           in the way (errno)
9553
9554 2002-07-30  John Levon  <levon@movementarian.org>
9555
9556         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9557
9558 2002-07-30  John Levon  <levon@movementarian.org>
9559
9560         * lyxserver.h:
9561         * lyxserver.C: remove I/O callback too
9562
9563 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9566         log.
9567
9568 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9569
9570         * many files: strip,frontStrip -> trim,ltrim,rtrim
9571
9572 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * PrinterParams.h: remove extern containsOnly, and include
9575         support/lstrings.h instead.
9576
9577         * LaTeX.C (scanAuxFile): modify because of strip changes
9578         (deplog): ditto
9579         * buffer.C (makeLaTeXFile): ditto
9580         * bufferparams.C (writeFile): ditt
9581         * lyxfont.C (stateText): ditto
9582         * lyxserver.C (read_ready): ditto
9583         * vc-backend.C (scanMaster): ditto
9584
9585         * BufferView_pimpl.h: ws changes
9586
9587         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9588
9589 2002-07-26  André Pönitz <poenitz@gmx.net>
9590
9591         * kb_sequence.C: remove unnedred usings
9592
9593 2002-07-26  Juergen Vigna  <jug@sad.it>
9594
9595         * lyxfind.C (LyXReplace): we have to check better if the returned
9596         text is not of theLockingInset()->getLockingInset().
9597
9598 2002-07-25  Juergen Vigna  <jug@sad.it>
9599
9600         * lyxfind.C (LyXReplace): don't replace if we don't get the
9601         right LyXText.
9602
9603         * undo_funcs.C (createUndo): remove debugging code.
9604
9605 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9606
9607         * buffer.C (parseSingleLyXformat2Token): Use default placement
9608         when reading old floats.
9609
9610         * FloatList.C (FloatList): Change the default placement of figure
9611         and tables to "tbp".
9612
9613 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9614
9615         * MenuBackend.C: using std::max
9616
9617 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9618
9619         * MenuBackend.C (expandToc):
9620         (expandToc2): code moved from xforms menu frontend. It is now
9621         generic and TOCs are transparent to menu frontends.
9622
9623 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * toc.C (getTocList): protect against buf=0
9626
9627         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9628         Menu as first parameter. Now, this calls itself recursively to
9629         expand a whole tree (this will be useful for TOC handling)
9630         (expandFloatInsert): remove 'wide' version of floats
9631
9632         * MenuBackend.h (submenuname): returns the name of the submenu.
9633         (submenu): returns the submenu itself, provided it has been
9634         created by MenuBackend::expand
9635
9636 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9639         insets which have noFontChange == true. (bug #172)
9640
9641 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9642
9643         * BufferView_pimpl.C: add connection objects and use them...
9644         (Pimpl): here.
9645
9646 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * MenuBackend.C (expandLastfiles):
9649         (expandDocuments):
9650         (expandFormats):
9651         (expandFloatListInsert):
9652         (expandFloatInsert):
9653         (expand): split expand in parts
9654
9655 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9656
9657         * lyx_gui.C: use lyx_gui::exit()
9658
9659 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9660
9661         * LyXAction.C: show the failing pseudo action
9662
9663 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9664
9665         * buffer.C (readFile): Run the lyxconvert script in order to read
9666         old files.
9667
9668 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * LyXAction.C:
9671         * commandtags.h:
9672         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9673
9674 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * LyXAction.C:
9677         * commandtags.h:
9678         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9679
9680 2002-07-22  Herbert Voss  <voss@lyx.org>
9681
9682         * lengthcommon.C:
9683         * lyxlength.[Ch]: add support for the vertical lengths
9684
9685 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * toc.[Ch]: std:: fixes
9688
9689 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * lyxrc.C: do not include lyx_main.h
9692
9693         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9694         for layouts
9695
9696         * lyxrc.C:
9697         * encoding.C:
9698         * bufferlist.C:
9699         * BufferView2.C: include "lyxlex.h"
9700
9701         * tabular.h:
9702         * bufferparams.h: do not #include "lyxlex.h"
9703
9704         * lyxtextclasslist.C (Add): remove method
9705         (classlist): renamed to classlist_
9706
9707         * paragraph_pimpl.C:
9708         * paragraph.C:
9709         * text2.C:
9710         * CutAndPaste.C:
9711         * bufferview_funcs.C:
9712         * bufferlist.C:
9713         * text.C:
9714         * LaTeXFeatures.C:
9715         * buffer.C:
9716         * toc.C (getTocList): use BufferParams::getLyXTextClass
9717
9718         * toc.C (getTocList): use InsetFloat::addToToc
9719
9720         * toc.[Ch]: new files, containing helper functions to handle table
9721         of contents
9722
9723         * lyxfunc.C (dispatch): no need to remove spaces around command
9724         given as a string
9725         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9726         first command of the sequence; it is not very clever, but I do not
9727         have a better idea, actually
9728
9729         * LyXAction.C (LookupFunc): make sure to remove space at the
9730         beginning and end of the command
9731
9732 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * MenuBackend.C (getMenubar): new method: return the menubar of
9735         this menu set
9736         (read): treat differently reading of menu and menubar (in
9737         particular, the menubar has no name now)
9738         (Menu::menubar): remove
9739
9740         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9741         saving is finished
9742
9743 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9744
9745         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9746         a bibitem inset in a RTL paragraph.
9747
9748 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * paragraph_pimpl.C: constify
9751
9752         * BufferView_pimpl.C:
9753         * LaTeX.C:
9754         * lyxfunc.C: fix dispatch in a nicer way
9755
9756 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * lyxfunc.C (dispatch):
9759         * BufferView_pimpl.C:
9760         * BufferView_pimpl.h:
9761         * BufferView.C:
9762         * BufferView.h: rename Dispatch() to dispatch()
9763
9764         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9765
9766         * lyxlayout.C (Read): honor DependsOn tag
9767
9768         * lyxlayout.[Ch] (depends_on): new method
9769
9770         * version.C.in: update lyx_docversion
9771
9772         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9773
9774         * paragraph.C (validate): remove from here...
9775         * paragraph_pimpl.C (validate): ... and move here
9776         (isTextAt): make it const
9777
9778         * buffer.C (getLists): ws cleanup
9779
9780 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * language.C (read): Use iso8859-1 encoding in latex_lang
9783         (this prevents LyX from crashing when using iso10646-1 encoding).
9784
9785 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * text2.C (toggleInset): if cursor is inside an inset, close the
9788         inset and leave cursor _after_ it
9789
9790 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * lyxfunc.C: move minibuffer completion handling out of here
9793
9794 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * BufferView_pimpl.C:
9797         * LaTeX.C: fix dispatch calls
9798
9799 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9800
9801         * text.C (drawChars): Fix Arabic text rendering.
9802
9803 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * LyXAction.C:
9806         * commandtags.h:
9807         * lyxfunc.C: remove message-push/pop
9808
9809         * lyxserver.C:
9810         * lyxfunc.h:
9811         * lyxfunc.C: rationalise some code by removing verboseDispatch
9812           in favour of a bool argument to dispatch()
9813
9814 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * lyx_main.C (init): make sure to read symlinks as absolute paths
9817
9818 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * lyxfunc.h:
9821         * lyxfunc.C: no need for commandshortcut to be a member
9822
9823 2002-07-15  André Pönitz <poenitz@gmx.net>
9824
9825         * converter.C: add support for $$s (scripts from lib/scripts dir)
9826         * lyx_main.C: white space
9827
9828 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * bufferlist.C:
9831         * lyxrc.h:
9832         * lyxrc.C: remove second exit confirmation
9833
9834 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * BufferView.h:
9837         * BufferView.C:
9838         * BufferView2.C:
9839         * BufferView_pimpl.h:
9840         * BufferView_pimpl.C:
9841         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9842
9843 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * MenuBackend.C (expand): add numeric shortcuts to document menu
9846
9847         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9848
9849 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * lyxfont.C (setLyXFamily):
9852         (setLyXSeries):
9853         (setLyXShape):
9854         (setLyXSize):
9855         (setLyXMisc):
9856         (lyxRead):
9857         * debug.C (value):
9858         * buffer.C (asciiParagraph): use ascii_lowercase
9859
9860 2002-07-15  Mike Fabian  <mfabian@suse.de>
9861
9862         * lyxlex_pimpl.C (search_kw):
9863         * lyxlex.C (getLongString):
9864         * converter.h (operator<):
9865         * converter.C (operator<):
9866         * buffer.C (parseSingleLyXformat2Token):
9867         (asciiParagraph):
9868         * ToolbarDefaults.C (read):
9869         * MenuBackend.C (checkShortcuts):
9870         (read):
9871         * LColor.C (getFromGUIName):
9872         (getFromLyXName): use the compare_ascii_no_case instead of
9873         compare_no_case, because in turkish, 'i' is not the lowercase
9874         version of 'I', and thus turkish locale breaks parsing of tags.
9875
9876 2002-07-16  Angus Leeming  <leeming@lyx.org>
9877
9878         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9879         now takes a Buffer const & argument.
9880
9881 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * BufferView.C (resize): check there's a buffer to resize
9884
9885 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * lyxfunc.C: remove dead code
9888
9889         * lyxserver.h:
9890         * lyxserver.C: use lyx_guii::set_read_callback
9891
9892 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9893
9894         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9895         an inset in a RTL paragraph.
9896
9897 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * lyxfunc.C: repaint after a font size update
9900
9901 2002-07-15  André Pönitz <poenitz@gmx.net>
9902
9903         * lyxlength.C: inBP should be able to return negative values
9904
9905 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * lyxfunc.C: use lyx_gui::update_fonts()
9908
9909 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * lyxfunc.C: use lyx_gui::update_color()
9912
9913 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * bufferlist.C:
9916         * lyxfunc.h:
9917         * lyxfunc.C:
9918         * lyxrc.h:
9919         * lyxrc.C: remove file->new asks for name option, and let
9920           buffer-new take an argument
9921
9922 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * BufferView_pimpl.C: remove unneeded extra repaint()
9925
9926 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * LyXAction.C: allow command-sequence with NoBuffer
9929
9930         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9931
9932 2002-07-10  Angus Leeming  <leeming@lyx.org>
9933
9934         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9935
9936 2002-07-09  Angus Leeming  <leeming@lyx.org>
9937
9938         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9939
9940 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * lengthcommon.h: whitespace
9943
9944         * lyxfunc.C: update scrollbar after goto paragraph
9945
9946         * lyxtext.h: factor out page break drawing, and fix it so
9947           page break/added space paints as selected nicely
9948
9949 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * BufferView_pimpl.C: add FIXMEs, clean up a little
9952
9953 2002-07-09  André Pönitz <poenitz@gmx.net>
9954
9955         * lyxfont.[Ch]: support for wasy symbols
9956
9957 2002-07-08  André Pönitz <poenitz@gmx.net>
9958
9959         * BufferView_pimpl.C: apply John's patch for #93.
9960
9961 2002-07-05  Angus Leeming  <leeming@lyx.org>
9962
9963         * BufferView_pimpl.C (buffer): generate previews if desired.
9964
9965         * LColor.h: add "preview" to the color enum.
9966
9967         * LColor.C (LColor): add a corresponding entry to the items array.
9968
9969         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9970         with this buffer.
9971
9972 2002-07-05  Angus Leeming  <leeming@lyx.org>
9973
9974         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9975         The body of the code is now in the method that is passed an ostream &
9976         rather than a file name.
9977         Pass an additional only_preamble parameter, useful for the forthcoming
9978         preview stuff.
9979
9980 2002-07-03  André Pönitz <poenitz@gmx.net>
9981
9982         * lyxfunc.C: simplify getStatus() a bit for math stuff
9983
9984 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9987
9988 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9989
9990         * text.C (changeRegionCase): do not change case of all the
9991         document when region ends at paragraph end (bug #461)
9992
9993 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * paragraph.C (startTeXParParams):
9996         (endTeXParParams): add \protect when necessary
9997
9998 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * BufferView_pimpl.C (workAreaExpose): remove warning
10001
10002 2002-06-27  Angus Leeming  <leeming@lyx.org>
10003
10004         * Makefile.am: add lyxlayout_ptr_fwd.h.
10005
10006 2002-06-26  André Pönitz <poenitz@gmx.net>
10007
10008         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10009
10010 2002-06-25  Angus Leeming  <leeming@lyx.org>
10011
10012         * lyxfunc.C (dispatch): Comment out the call to
10013         grfx::GCache::changeDisplay. The method no longer exists now that the
10014         pixmap generation part of the graphics loader has been moved into
10015         InsetGraphics.
10016
10017 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10018
10019         * text2.C: layout as layout
10020
10021         * text.C: layout as layout
10022
10023         * tabular.C (OldFormatRead): layout as layout
10024
10025         * paragraph_pimpl.C (TeXDeeper): layout as layout
10026         (realizeFont): layout as layout
10027
10028         * paragraph.C (writeFile): layout as layout
10029         (validate): layout as layout
10030         (getFont): layout as layout
10031         (getLabelFont): layout as layout
10032         (getLayoutFont): layout as layout
10033         (breakParagraph): layout as layout
10034         (stripLeadingSpaces): layout as layout
10035         (getEndLabel): layout as layout
10036         (getMaxDepthAfter): layout as layout
10037         (applyLayout): layout as layout
10038         (TeXOnePar): layout as layout
10039         (simpleTeXOnePar): layout as layout
10040         (TeXEnvironment): layout as layout
10041         (layout): layout as layout
10042         (layout): layout as layout
10043
10044         * lyxtextclass.C (compare_name): new functor to work with
10045         shared_ptr, layout as layout
10046         (Read): layout as layout
10047         (hasLayout): layout as layout
10048         (operator): layout as layout
10049         (delete_layout): layout as layout
10050         (defaultLayout): layout as layout
10051
10052         * lyxlayout_ptr_fwd.h: new file
10053
10054         * lyxlayout.C (Read): layout as layout
10055
10056         * lyx_cb.C (MenuInsertLabel): layout as layout
10057
10058         * bufferlist.C (newFile): layout as layout
10059
10060         * buffer.C (readLyXformat2): layout as layout
10061         (parseSingleLyXformat2Token): layout as layout
10062         (insertStringAsLines): layout as layout
10063         (asciiParagraph): layout as layout
10064         (latexParagraphs): layout as layout
10065         (makeLinuxDocFile): layout as layout
10066         (simpleLinuxDocOnePar): layout as layout
10067         (makeDocBookFile): layout as layout
10068         (simpleDocBookOnePar): layout as layout
10069         (getLists): layout as layout
10070
10071         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10072
10073         * CutAndPaste.C (cutSelection): layout as layout
10074         (pasteSelection): layout as layout
10075         (SwitchLayoutsBetweenClasses): layout as layout
10076
10077         * BufferView_pimpl.C (Dispatch): layout as layout
10078         (smartQuote): layout as layout
10079
10080         * BufferView2.C (unlockInset): layout as layout
10081
10082 2002-06-24  André Pönitz <poenitz@gmx.net>
10083
10084         * lyxfunc.C: fix #487
10085
10086 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * lyxrc.h:
10089         * lyxrc.C:
10090         * lyxfunc.C: remove display_shortcuts, show_banner
10091
10092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * Buffer_pimpl.C: oops, update on resize
10095
10096 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * buffer.C:
10099         * converter.C:
10100         * exporter.C:
10101         * lyxfunc.C:
10102         * BufferView.h:
10103         * BufferView.C: use repaint()
10104
10105         * BufferView_pimpl.h:
10106         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10107           as it's a clearer description. Remove superfluous
10108           redraws.
10109
10110 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * text.C: fix bug 488. Not ideal, but getting
10113           getWord() to work properly for the insets that
10114           matter is more difficult ...
10115
10116 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * BufferView_pimpl.C:
10119         * LyXAction.C:
10120         * commandtags.h:
10121         * lyxfunc.C: remove the six million index lyxfuncs to just
10122           one, and DTRT (bug 458)
10123
10124 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10125
10126         * BufferView.h:
10127         * BufferView.C:
10128         * BufferView_pimpl.h:
10129         * BufferView_pimpl.C: clean up resize() stuff,
10130           and unnecessary updateScreen()s
10131
10132 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * BufferView.h:
10135         * BufferView.C:
10136         * BufferView_pimpl.h:
10137         * BufferView_pimpl.C:
10138         * lyxfind.h:
10139         * lyxfind.C:
10140         * minibuffer.C: remove focus management of workarea,
10141           not needed. Use screen's greyOut()
10142
10143 2002-06-17  Herbert Voss  <voss@lyx.org>
10144
10145         * converter.C: (convert) do not post a message, when converting
10146         fails, let the calling function decide what to do in this case
10147
10148 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * lyxfunc.C: tidy up a little
10151
10152 2002-06-16    <alstrup@diku.dk>
10153
10154         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10155         Got rid of FORMS_H_LOCATION include. Now we are
10156         GUII.
10157
10158 2002-06-15  LyX Development team  <lyx@rilke>
10159
10160         * buffer.[Ch] (sgmlOpenTag):
10161         (sgmlCloseTag): Added support for avoiding pernicious mixed
10162         content. Return number of lines written.
10163
10164         (makeLinuxDocFile):
10165         (makeDocBookFile): Fixed calls to sgml*Tag.
10166         Simple white space clean.
10167
10168         (simpleDocBookOnePar): Simple white space clean.
10169
10170         * tabular.[Ch] (docBook): Renamed to docbook and got another
10171         argument to related with the pernicious mixed content.
10172
10173         (docbookRow): Fixed calls for docbook inset method.
10174
10175 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10176
10177         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10178         so it's X11 independent.
10179
10180         * kb*.[Ch]: ditto.
10181
10182         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10183
10184 2002-06-15  Lyx Development team  <lyx@electronia>
10185
10186         * intl.h: Renamed getTrans to getTransManager.
10187
10188 2002-06-14  Angus Leeming  <leeming@lyx.org>
10189
10190         * Makefile.am: nuke forgotten stl_string_fwd.h.
10191
10192 2002-06-12  Angus Leeming  <leeming@lyx.org>
10193
10194         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10195
10196 2002-06-13  Angus Leeming  <leeming@lyx.org>
10197
10198         * LaTeX.C:
10199         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10200
10201 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10202
10203         * kbmap.C (getiso): add support for cyrillic and greek
10204
10205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * BufferView.h:
10208         * BufferView.C:
10209         * BufferView_pimpl.h:
10210         * BufferView_pimpl.C: move bogus scrolling logic
10211           to xforms
10212
10213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyxfunc.C:
10216         * BufferView_pimpl.C: view->resize() change
10217
10218 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView_pimpl.C: topCursorVisible
10221           prototype change
10222
10223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * Makefile.am:
10226         * lyx_gui.h:
10227         * lyx_gui.C: move to frontends/
10228
10229         * main.C:
10230         * lyx_main.h:
10231         * lyx_main.C: changes from above
10232
10233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * intl.C:
10236         * intl.h:
10237         * kbmap.C:
10238         * kbsequence.C:
10239         * lyx_cb.C:
10240         * lyx_main.C: minor tidy
10241
10242 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.h:
10245         * BufferView_pimpl.C:
10246         * BufferView.h:
10247         * BufferView.C: make painter() const,
10248           remove dead code
10249
10250         * BufferView2.C: use screen() accessor
10251
10252         * lyx_main.h:
10253         * lyx_main.C: some minor cleanup
10254
10255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * BufferView_pimpl.h:
10258         * BufferView_pimpl.C: remove enter/leaveView,
10259           use workHeight()
10260
10261 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10262
10263         * BufferView.h:
10264         * BufferView.C:
10265         * BufferView2.C:
10266         * BufferView_pimpl.h:
10267         * BufferView_pimpl.C: only construct screen once,
10268           rename
10269
10270         * lyxrc.C: remove pointless comment
10271
10272 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView.h:
10275         * BufferView.C: remove active() and belowMouse()
10276
10277         * BufferView_pimpl.h:
10278         * BufferView_pimpl.C: use workarea() not workarea_,
10279           and make it use a scoped_ptr instead
10280
10281 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * lyx_gui.C: add debug message on BadWindow
10284
10285 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * sp_spell.C: fdopen is not part of the C++ standard.
10288
10289         * paragraph.C (InsetIterator): use >= instead of ==
10290
10291 2002-06-07  Angus Leeming  <leeming@lyx.org>
10292
10293         Fixes needed to compile with Compaq cxx 6.5.
10294         * BufferView_pimpl.C:
10295         * DepTable.C:
10296         * buffer.C:
10297         * converter.C:
10298         * encoding.C:
10299         * lyx_gui.C:
10300         * lyx_main.C:
10301         * lyxtextclasslist.C:
10302         * minibuffer.C:
10303         * sp_spell.C:
10304         * tabular_funcs.C:
10305         * vc-backend.C:
10306         all c-library variables have been moved into namespace std. Wrap
10307         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10308
10309         * lyxlength.C:
10310         * tabular-old.C:
10311         * tabular.C:
10312         Add a using std::abs declaration.
10313
10314         * kbmap.h (modifier_pair):
10315         * paragraph.h (InsetTable, InsetList):
10316         * lyxfont.h (FontBits):
10317         type definition made public.
10318
10319         * bufferlist.C (emergencyWriteAll): the compiler complains that
10320         there is more than one possible lyx::class_fun template to choose from.
10321         I re-named the void specialisation as lyx::void_class_fun.
10322
10323         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10324
10325         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10326         the compiler is is unable to find tostr in write_attribute.
10327
10328 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * buffer.C (sgmlError): hide #warning
10331
10332 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10333
10334         * xtl/*: get rid of xtl, which is not in use anyway
10335
10336         * LyXAction.C (init):
10337         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10338         were unimplemented xtl experimentation
10339
10340 2002-06-04  André Pönitz <poenitz@gmx.net>
10341
10342         * lyxfunc.C: disable array operation on simple formulae
10343
10344 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * converter.C: constify a bit
10347
10348 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * lyx_gui.C: check xforms version correctly
10351
10352 2002-04-30  Herbert Voss  <voss@lyx.org>
10353
10354         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10355         "keep" option
10356
10357 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10360           attempt to register it with a VCS)
10361
10362 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * lyx_main.C (init): honor variables LYX_DIR_13x and
10365         LYX_USERDIR_13x
10366
10367 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * buffer.h:
10370         * buffer.C:
10371         * lyx_main.C: fix a crash on bad command line,
10372           and give a useful exit status on error
10373
10374         * lyxfunc.C (doImport): allow -i lyx to work
10375
10376 2002-03-30  André Pönitz <poenitz@gmx.net>
10377
10378         * lyxfunc.C: mathed font changes
10379
10380 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * LaTeX.C:
10383         * importer.h:
10384         * importer.C:
10385         * lyx_sty.h:
10386         * lyx_sty.C:
10387         * lyxlex.C:
10388         * lyxrow.h:
10389         * lyxtext.h:
10390         * paragraph.h:
10391         * paragraph.C:
10392         * texrow.h:
10393         * texrow.C:
10394         * text.C:
10395         * trans_mgr.h: srcdocs, and some minor cleanups
10396
10397 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10400         call getFont all the time)
10401
10402 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10403
10404         * switch from SigC signals to boost::signals
10405
10406 2002-05-29  André Pönitz <poenitz@gmx.net>
10407
10408         * paragraph_pimpl.C (getChar): don't call size() too often...
10409
10410 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * paragraph_pimpl.C (insertChar): do not try to update tables when
10413         appending (pos == size())
10414
10415         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10416         in order to reduce drastically the number of comparisons needed to
10417         parse a large document
10418
10419 2002-05-29  André Pönitz <poenitz@gmx.net>
10420
10421         * text.C:
10422         * text2.C:
10423         * lyxtextclass.C:
10424         * sp_pspell.h:
10425         * textclasslist.[Ch]:
10426         * sp_ispell.h: whitespace change
10427
10428 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10431         lyxaction directly now.
10432
10433 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * trans.C:
10436         * lyxfont.C:
10437         * lyxvc.C: remove unused headers
10438
10439 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * Makefile.am:
10442         * buffer.h:
10443         * undostack.h:
10444         * undostack.C:
10445         * undo_funcs.h:
10446         * undo_funcs.C: some cleanups. Use shared_ptr
10447           and a template for the undo stacks.
10448
10449 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView_pimpl.h:
10452         * BufferView_pimpl.C:
10453         * kbmap.h:
10454         * kbmap.C:
10455         * kbsequence.h:
10456         * kbsequence.C:
10457         * lyxfunc.h:
10458         * lyxfunc.C:
10459         * text2.C: use key_state/mouse_state
10460
10461 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10462
10463         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10464         and LSubstring
10465
10466         * chset.C: change include order
10467         (loadFile): use boost regex and get rid of LRegex and LSubstring
10468
10469         * Makefile.am (BOOST_LIBS): new variable
10470         (lyx_LDADD): use it
10471
10472         * LaTeX.C: change include order.
10473         (scanAuxFile): use boost regex and get rid of LRegex and
10474         LSubstring
10475         (deplog): ditto
10476
10477 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * ColorHandler.h:
10480         * ColorHandler.C:
10481         * FontInfo.h:
10482         * FontInfo.C: moved to frontends/xforms/
10483
10484         * FontLoader.h:
10485         * FontLoader.C: moved into frontends for GUIIzation
10486
10487         * Makefile.am:
10488         * lyx_gui.C:
10489         * lyxfont.C:
10490         * lyxfunc.C: changes from above
10491
10492 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * LColor.C: remove spurious X include
10495
10496         * BufferView_pimpl.C:
10497         * Makefile.am:
10498         * font.h:
10499         * font.C:
10500         * text.C:
10501         * text2.C: move font metrics to frontends/
10502
10503 2002-05-24  Juergen Vigna  <jug@sad.it>
10504
10505         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10506         setting the undo_cursor.
10507
10508         * ParagraphParameters.h: include local includes first.
10509
10510 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * BufferView_pimpl.C:
10513         * BufferView_pimpl.h:
10514         * Makefile.am:
10515         * WorkArea.h:
10516         * WorkArea.C:
10517         * screen.C: move WorkArea into frontends/
10518
10519         * lyxscreen.h:
10520         * screen.C:
10521         * text.C:
10522         * BufferView.C:
10523         * BufferView2.C: move LyXScreen into frontends/
10524
10525         * lyxlookup.h:
10526         * lyxlookup.C:
10527         * lyx_gui.C: move lyxlookup into frontends/xforms/
10528
10529 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * BufferView2.C:
10532         * BufferView_pimpl.C:
10533         * FontLoader.C:
10534         * LyXView.h:
10535         * LyXView.C:
10536         * Makefile.am:
10537         * WorkArea.C:
10538         * XFormsView.h:
10539         * XFormsView.C:
10540         * buffer.C:
10541         * bufferlist.C:
10542         * bufferview_funcs.C:
10543         * converter.C:
10544         * importer.C:
10545         * lyx_cb.C:
10546         * lyx_gui.C:
10547         * lyx_main.C:
10548         * lyx_find.C:
10549         * lyxfunc.C:
10550         * lyxvc.C:
10551         * minibuffer.C:
10552         * text.C:
10553         * text2.C:
10554         * trans.C:
10555         * vc-backend.C: move LyX/XFormsView into frontends/
10556
10557 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * Makefile.am:
10560         * PainterBase.C:
10561         * PainterBase.h:
10562         * Painter.C:
10563         * Painter.h:
10564         * WorkArea.C:
10565         * WorkArea.h:
10566         * screen.C:
10567         * tabular.C:
10568         * text.C:
10569         * text2.C: move Painter to frontends/
10570
10571 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * buffer.C: comment out some some code that depend upon lyx_format
10574         < 220
10575
10576         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10577         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10578
10579         * buffer.h (NO_COMPABILITY): turn off compability
10580
10581         * ColorHandler.C: include scoped_array.hpp
10582
10583         * font.C: Use more specific smart_ptr header.
10584         * Painter.C: ditto
10585         * gettext.C: ditto
10586         * ShareContainer.h: ditto
10587         * lyx_main.h: ditto
10588         * kbmap.h: ditto
10589         * FontInfo.h: ditto
10590         * BufferView_pimpl.h: ditto
10591         * ColorHandler.h: ditto
10592
10593         * kbmap.C (defkey): change call to shared_ptr::reset
10594
10595 2002-05-21  Juergen Vigna  <jug@sad.it>
10596
10597         * buffer.C (insertErtContents): fix to insert ert asis if it is
10598         non empty. Skip it completely if it contains only whitespaces.
10599
10600 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * BufferView_pimpl.C:
10603         * BufferView2.C: clear selection on paste (bug 393)
10604
10605 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * DepTable.C: include ctime
10608
10609 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10612
10613 2002-05-14  Juergen Vigna  <jug@sad.it>
10614
10615         * text.C (breakParagraph): fixed function to honor the keepempty
10616         layout in the right maner and also to permit the right breaking
10617         algorithm on empty or non empyt keepempty paragraphs.
10618
10619         * paragraph.C (breakParagraph): we have to check also if the par
10620         is really empty (!size()) for isempty otherwise we do the wrong
10621         paragraph break.
10622
10623 2002-05-10  Juergen Vigna  <jug@sad.it>
10624
10625         * buffer.[Ch] : The following are only changes to the ert
10626         compatibility read reading old LaTeX layout and font stuff and
10627         convert it to ERTInsets.
10628
10629         * buffer.h: added isErtInset().
10630
10631         * buffer.C (struct ErtComp): add a fromlayout bool to check
10632         if we're inside a LaTeX layout.
10633         (isErtInset): new helper function.
10634         (insertErtContents): look for other ert insets before this one
10635         and insert the contents there, so that we don't have subsequent
10636         ERT insets with nothing between them. This way we create only one
10637         inset with multiple paragraphs. Also check if we don't insert only
10638         spaces ' ' as they are ignored anyway afterwards in the .tex file
10639         so if we have only spaces we will ignore this latex part in the
10640         new file.
10641         (parseSingleLyXformat2Token \\layout): better compatibility when
10642         reading layout-latex stuff.
10643         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10644         language tag.
10645         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10646         stuff after reading the inset only get the information back from
10647         the stack.
10648
10649 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10650
10651         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10652
10653         * LaTeXFeatures.C (getBabelOptions): New method.
10654
10655 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * BufferView_pimpl.C (Dispatch): work around missing argument for
10658         'layout'
10659
10660 2002-05-08  Juergen Vigna  <jug@sad.it>
10661
10662         * text.C (leftMargin): handle paragraph leftindent.
10663
10664         * paragraph.C (writeFile): write the new \\leftindent tag.
10665         (validate): handle leftindent code.
10666         (TeXEnvironment): handle paragraphleftindent code again.
10667
10668         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10669
10670         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10671         for paragrap_extra indent code and new token \\leftindent.
10672         (latexParagraphs): handle the leftindent as environment.
10673
10674         * ParameterStruct.h: added leftindent support.
10675
10676         * ParagraphParameters.C (leftIndent): added support functions for
10677         the paragraph left indent.
10678
10679         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10680         more appropriate.
10681
10682 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10683
10684         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10685         inside insetERT.
10686
10687         * text.C (computeBidiTables): No bidi in insetERT.
10688
10689         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10690         in RTL documents.
10691
10692 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * version.C.in: pre 5
10695
10696 2002-05-02  José Matos  <jamatos@fep.up.pt>
10697         * buffer.C (makeDocBookFile): white space changes, add newline to
10698         command styles.
10699         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10700
10701         * tabular.C (docBook): fix typo.
10702
10703 2002-05-03  Juergen Vigna  <jug@sad.it>
10704
10705         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10706         change in LyXText as we can not be sure it was not freed.
10707         (drawOneRow): remove unused code.
10708
10709         * text.C (drawInset): redo the calculation of the need_break_row as
10710         it could have a row which was already freed.
10711         (draw): look at the return value of drawInset and return false if
10712         it also returned false.
10713         (paintRowText): look at the return value of draw and return false if
10714         it also returned false.
10715
10716         * lyxtext.h: added bool return type to drawInset() and draw() so that
10717         if we have a change in the row so that the rowbreak has to be redone
10718         we abort drawing as it will be called again.
10719
10720 2002-05-02  Juergen Vigna  <jug@sad.it>
10721
10722         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10723         a change in the maintext also if we're inside an inset.
10724         (Dispatch): set the cursor again after a break line and after the
10725         screen has been updated as it could be we're in a different row.
10726
10727         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10728         to set the cursor behind the pargraph with > size().
10729         (setCursor): check also for the same paragraph when checking where
10730         to put the cursor if we have a NFR inset.
10731
10732         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10733         parts of layout read further up as it still was in the wrong
10734         position.
10735
10736 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * screen.C (drawFromTo): change sine fullRebreak always return
10739         true.
10740
10741         * buffer.C (parseSingleLyXformat2Token): reindent some
10742
10743         * BufferView_pimpl.C (update): change since fullRebreak always
10744         return true.
10745         (Dispatch): git rid of the last hardcoded "Standard"s.
10746
10747 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * text2.[Ch] (fullRebreak): make it return void now that we always
10750         returned true.
10751
10752 2002-04-30  Juergen Vigna  <jug@sad.it>
10753
10754         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10755         ert compatibility check for "latex" layout.
10756
10757 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10758
10759         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10760         minipages: use col% instead of p%, and also use the current font.
10761         (makeLaTeXFile): Fix use babel condition.
10762         (parseSingleLyXformat2Token): Correct font when reading old floats.
10763
10764 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10767         inserting list of floats.
10768
10769 2002-04-25  Herbert Voss  <voss@lyx.org>
10770
10771         * MenuBackend.C (expand): don't add the graphics extensions to the
10772         export menu
10773
10774 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10777         non-existing layout, do not complain if it was the default layout
10778         of the original class (bug #342)
10779
10780 2002-04-24  Juergen Vigna  <jug@sad.it>
10781
10782         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10783         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10784
10785 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10786
10787         * buffer.C (getBibkeyList): If using \bibliography, return the
10788         option field with the reference itself. Enables us to provide natbib
10789         support when using \bibliography.
10790
10791 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10792
10793         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10794
10795         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10796         natbib is provided by the LaTeX class.
10797
10798 2002-04-23  Juergen Vigna  <jug@sad.it>
10799
10800         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10801         Wakeup functions.
10802
10803         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10804
10805 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10806
10807         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10808
10809         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10810         ensuremath around textordmasculine, textordfeminine and
10811         textdegree.
10812
10813 2002-04-19  Juergen Vigna  <jug@sad.it>
10814
10815         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10816         reinitializing the buffer otherwise row-dimensions may be wrong.
10817         (update): reset also the selection cursors if they do exits otherwise
10818         their x/y positions may be wrong.
10819
10820         * text2.C (cursorDown): don't enter the inset if we came from a row
10821         above and are one row over the inset.
10822
10823         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10824         really leaving an inset.
10825
10826 2002-04-18  Juergen Vigna  <jug@sad.it>
10827
10828         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10829         of the selected paragraph does not have the selected layout also if
10830         the last one had!
10831
10832         * text2.C (setLayout): fixed bug which did not change last selected
10833         paragraph.
10834
10835         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10836         changed the read and substituted \\end_float with \\end_inset!
10837
10838         * BufferView_pimpl.C (cursorPrevious):
10839         (cursorNext): fixed to make it work with rows heigher than the work
10840         area without moving the cursor only the draw of the row.
10841         (workAreaMotionNotify): fix jumping over high rows.
10842
10843 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10844
10845         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10846         Ressler.
10847
10848 2002-04-16  Juergen Vigna  <jug@sad.it>
10849
10850         * text2.C (setCursor): set also the irow().
10851         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10852         (cursorUp):
10853         (cursorDown): support for locking an inset if the x_fix value goes
10854         inside it. That way I can transverse insets too with cursor up/down.
10855
10856         * lyxrow.h: added irow helper function same as other (i) functions.
10857
10858         * BufferView_pimpl.C (cursorPrevious):
10859         (cursorNext): fixed for insets!
10860
10861 2002-04-15  Juergen Vigna  <jug@sad.it>
10862
10863         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10864         position otherwise it is wrong in some cases.
10865
10866         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10867         inside the inset before the call.
10868
10869 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10870
10871         * buffer.[Ch] (getBibkeyList): make it const.
10872
10873 2002-04-12  Juergen Vigna  <jug@sad.it>
10874
10875         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10876
10877         * text2.C (getCursorX): new helper function
10878         (setCursor): compute also ix_
10879         (setCursorFromCoordinates): set also ix.
10880
10881         * lyxcursor.h: added ix_ and helper functions.
10882
10883         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10884
10885         * buffer.C (insertStringAsLines): dont break paragraph if the this
10886         paragraph is inside an inset which does not permit it!
10887
10888         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10889         also with no chars on this paragraph.
10890         (paintRowText): only paint stuff if it's inside the workarea!
10891
10892         * paragraph.C (breakParagraph): honor keepempty flag and break the
10893         paragraph always below not above.
10894
10895         * BufferView2.C (unlockInset): update the paragraph layout on inset
10896         unlock as we changed paragraph in such a case.
10897
10898         * lyxfind.C (LyXFind): clear the former selection if not found!
10899
10900         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10901         again called in insertChar().
10902
10903         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10904         an inset which uses the whole row!
10905         (rightMargin): ditto.
10906         (insertChar): force a rebreak if we inserted an inset!
10907
10908 2002-03-28  Herbert Voss  <voss@lyx.org>
10909
10910         * lyxlength.[Ch]: add inBP() to get the right PS-point
10911         units (BigPoint). With inPixels we have rounding errors
10912
10913 2002-04-11  Juergen Vigna  <jug@sad.it>
10914
10915         * text2.C (setCursorFromCoordinates): set iy to the right value.
10916         (setCursor): add check if row->previous exists!
10917
10918         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10919         an old float_type as this was the case in the old code!
10920
10921         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10922
10923         * BufferView2.C (showLockedInsetCursor): use iy
10924         (fitLockedInsetCursor): ditto
10925
10926         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10927         locked insets as there we have the right value now.
10928
10929         * lyxcursor.C: added iy_ variable and iy functions to set to the
10930         baseline of cursor-y of the locked inset.
10931
10932         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10933         (setCursor): fixed for insets which need a full row.
10934
10935         * text.C (rowLastPrintable): don't ignore the last space when before
10936         an inset which needs a full row.
10937         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10938         as last character of a row when before a inset which needs a full row.
10939
10940 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * version.C.in: update date
10943
10944         * text2.C (fullRebreak): try to always return true and see what
10945         happens...
10946
10947 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10948
10949         * MenuBackend.C (expand): use Floating::listName
10950
10951         * FloatList.C (FloatList): add listName argument to the built-in
10952         floats
10953
10954         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10955         text associated with the float.
10956
10957 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10960
10961 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10962
10963         * ShareContainer.h: add a couple of missing typenames.
10964
10965 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10966
10967         * lyxrc.C (getDescription): use _() correctly rather than N_().
10968
10969 2002-03-28  Herbert Voss  <voss@lyx.org>
10970
10971         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10972         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10973
10974 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10977         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10978
10979 2002-03-29  Juergen Vigna  <jug@sad.it>
10980
10981         * lyxfunc.C (dispatch): add a missing fitCursor call.
10982
10983         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10984         it was scrolled by a cursor move, so return the bool status.
10985
10986         * BufferView.C (fitCursor): return the bool flag also to the outside
10987         world as this is needed.
10988
10989         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10990
10991         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10992         call the edit() as it is not needed (and wrong) IMO.
10993         (workAreaButtonPress): set the screen_first variable before evt.
10994         unlock the inset as this may change screen_first and then we have
10995         a wrong y position for the click!
10996
10997 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10998
10999         * MenuBackend.C (expand): another translation that I missed
11000
11001 2002-03-28  Juergen Vigna  <jug@sad.it>
11002
11003         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11004
11005         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11006
11007 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11008
11009         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11010
11011         * MenuBackend.C (expand): fix export/view/update when there is no
11012         document open.
11013
11014 2002-03-27  Herbert Voss  <voss@lyx.org>
11015
11016         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11017         and text%
11018
11019 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11020
11021         * bufferview_funcs.C (currentState): only show paragraph number
11022         for is DEVEL_VERSION is set.
11023
11024         * lyxfunc.C (dispatch): put warning in INFO channel
11025
11026         * MenuBackend.C (expand): translate the name of floats
11027
11028         * FloatList.C (FloatList): mark the float names for translation
11029
11030         * converter.C (convert): use LibScriptSearch
11031
11032 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * MenuBackend.C (defaults): fix default menu (we might as well get
11035         rid of it...)
11036
11037 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11038
11039         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11040         directory.
11041
11042 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * lyxvc.C: reorder includes.
11045
11046 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11049           properly
11050
11051 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * CutAndPaste.C: change layouts earlier on paste
11054           to avoid crashing when calling getFont()
11055
11056 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11057
11058         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11059         irritating #error.
11060
11061 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * WorkArea.C: remove 'Pending' debug message.
11064
11065         * most files: ws cleanup
11066
11067         * buffer.[Ch]: ws changes
11068
11069         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11070
11071 2002-03-21  Juergen Vigna  <jug@sad.it>
11072
11073         * tabular.C (SetMultiColumn): collapse also the contents of the
11074         cells and set the last border right. Added a Buffer const * param.
11075
11076 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11079         linking or not.
11080
11081 2002-03-19  Juergen Vigna  <jug@sad.it>
11082
11083         * text2.C (clearSelection): reset also xsel_cache.
11084
11085         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11086         where it needs to be called (John tells us to do so too :)
11087         (selectionLost): reset sel_cache.
11088
11089         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11090
11091 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * text2.C (setCursorIntern): put debuging code in INSETS channel
11094
11095 2002-03-19  André Pönitz <poenitz@gmx.net>
11096
11097         * lyxfunc.C: tiny whitespace change
11098
11099 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * ToolbarDefaults.C (init):
11102         * LyXAction.C (init):
11103         * commandtags.h:
11104         * BufferView_pimpl.C (Dispatch):
11105         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11106
11107 2002-03-19  Allan Rae  <rae@lyx.org>
11108
11109         * exporter.C (Export): removeAutoInsets before doing anything else.
11110         While I've just introduced a dependency on BufferView this really is
11111         the best place to clean the buffer otherwise you need to cleanup in
11112         a dozen places before calling export or cleanup in a dozen functions
11113         that export calls.
11114
11115         * converter.C (runLaTeX):
11116         (scanLog): Better handling of removeAutoInsets and screen updates.
11117
11118         * lyxfunc.C (dispatch): small whitespace changes
11119
11120 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * WorkArea.C (C_WorkAreaEvent): return a value.
11123         (event_cb): return 1 if we handled the event, 0 otherwise.
11124
11125         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11126
11127 2002-03-18  Juergen Vigna  <jug@sad.it>
11128
11129         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11130         (GetAdditionalWidth): ditto.
11131         (RightLine): ditto.
11132         (LeftLine): ditto.
11133
11134         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11135         inset if we're there actually (probably not used right now but this
11136         is the direction to go for unifying code).
11137         (paste): disable code to clear the selection.
11138
11139         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11140         inside an InsetText and move the check further up as it is in the
11141         wrong place.
11142
11143         * text2.C (pasteSelection): set a selection over the pasted text.
11144
11145 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11146
11147         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11148         and libgraphics to build on Cygwin.
11149
11150 2002-03-15  Juergen Vigna  <jug@sad.it>
11151
11152         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11153         inserting an Inset into the paragraph. I know this is not the best
11154         fix but we already use current_view in CutAndPaste so we will remove
11155         all of it's using at the same time.
11156
11157         * buffer.C (sgmlError): deactivated function till it is rewritten in
11158         the right mode, now it can create problems.
11159
11160         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11161         before accessing it.
11162
11163 2002-03-14  Juergen Vigna  <jug@sad.it>
11164
11165         * undo_funcs.C (textHandleUndo): do the right thing when updating
11166         the inset after the undo/redo.
11167
11168         * text2.C (setCursor): just some testcode for #44 not ready yet.
11169
11170         * undo_funcs.C (textHandleUndo): set the next() and previous()
11171         pointers of the paragraph to 0 before deleting otherwise we have
11172         problems with the Paragraph::[destructor].
11173
11174         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11175         on a paragraph insertion.
11176
11177 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * buffer.C (asciiParagraph): use += operator for char append to
11180         string.
11181
11182         * paragraph.C (getFontSettings): compare >= not just >
11183         (highestFontInRange): ditto
11184         (setFont): ditto
11185
11186 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11187
11188         * paragraph.C: change several algorithm to be more appripriate for
11189         the problem domain. This is lookip in FontList and in the InsetList.
11190
11191 2002-03-13  André Pönitz <poenitz@gmx.net>
11192
11193         * commandtags.h:
11194         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11195
11196 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * commandtags.h:
11199         * LyXAction.C:
11200         * lyxfunc.C:
11201         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11202
11203 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * Painter.C (display): anon helper function, adjust code for this
11206         change.
11207         (pixmap): remove function.
11208
11209         * Painter.h: remove private display variable.
11210
11211         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11212
11213 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11214
11215         * WorkArea.[Ch]: remove figinset_canvas cruft.
11216
11217 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11218
11219         * lyxtextclass.C (operator): add one item cache optimization.
11220
11221         * bufferlist.h: doxy changes
11222
11223         * bufferlist.C: ws changes
11224
11225         * DepTable.[Ch] (ext_exist): place const in the right spot.
11226
11227         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11228         call resizeInsets.
11229         (workAreaExpose): call resizeInsets when the with BufferView changes.
11230         (Dispatch): adjust for protectedBlank removal
11231         (specialChar): call updateInset if the insert went ok.
11232
11233         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11234         specialChar instead.
11235
11236         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11237
11238         * BufferView.h: doxy change
11239
11240         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11241
11242         * lyxtextclass.C (operator[]): remove non-const version
11243         (defaultLayout): remove non-const version
11244
11245 2002-03-12  Juergen Vigna  <jug@sad.it>
11246
11247         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11248         did resize the LyXText too.
11249
11250         * buffer.C (readLyXformat2): set layout information on newly allocated
11251         paragraphs.
11252
11253         * tabular.C (OldFormatRead): set layout information on the paragraph.
11254
11255 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11256
11257         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11258
11259 2002-03-11  Juergen Vigna  <jug@sad.it>
11260
11261         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11262         plainly wrong.
11263         (resizeCurrentBuffer): force also the insets to resize themselfes.
11264         (moveCursorUpdate): fixed up for InsetText.
11265
11266 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * commandtags.h:
11269         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11270         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11271         value of Dialogs::tooltipsEnabled().
11272         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11273
11274 2002-03-08  Juergen Vigna  <jug@sad.it>
11275
11276         * BufferView_pimpl.C (updateInset): update inset inside inset also
11277         if it isn't inside theLockingInset().
11278
11279 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * buffer.C (asciiParagraph): redo some of the word and line length
11282         handling.
11283         (getLists): look for Caption instead of caption.
11284
11285 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * buffer.C (Buffer): initialize niceFile to true
11288         (makeLaTeXFile):
11289         (makeLinuxDocFile):
11290         (makeDocBookFile): make sure niceFile is true on exit
11291
11292 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11295
11296 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * LyXSendto.C: remove.
11299         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11300         * lyx_gui.C: remove now-redundant comment.
11301         * ColorHandler.h: remove forward declaration of class WorkArea.
11302         * lyxfunc.C: remove #include "WorkArea.h".
11303
11304 2002-03-07  Juergen Vigna  <jug@sad.it>
11305
11306         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11307         got moved away with the DEPM and also set the inset_owner always
11308         right which before could have been omitted.
11309
11310 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11313         wanted layout is not found.
11314
11315 2002-03-07  Juergen Vigna  <jug@sad.it>
11316
11317         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11318
11319 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * paragraph.C (breakParagraph): use default layout not layout of
11322         prev paragraph.
11323         (Paragraph): clear ParagraphParameters.
11324
11325 2002-03-06  Juergen Vigna  <jug@sad.it>
11326
11327         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11328         otherwise it would not be a valid lenght. Fixed a special case in
11329         the minipage compatibility read where we end the document with a
11330         minipage.
11331
11332         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11333         was set as it could be 0 for InsetTexts first entry.
11334
11335 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * paragraph.C (writeFile): if layout is empty write out
11338         defaultLayoutName().
11339
11340         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11341         file without named layout we set layout to defaultLayoutName().
11342
11343 2002-03-06  Juergen Vigna  <jug@sad.it>
11344
11345         * CutAndPaste.C (copySelection): set layout for new paragraph.
11346
11347         * text.C (prepareToPrint): leave ERT inset left aligned
11348         (leftMargin): don't indent paragraphs inside ERT insets
11349
11350 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11351
11352         * paragraph.C (breakParagraph): dont call clear do the work manually
11353
11354         * paragraph.[Ch] (clear): remove function
11355
11356 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * paragraph.C (Paragraph): dont call clear, the work has already
11359         been done.
11360
11361         * lyxtextclass.C (operator): assert if n is empty
11362
11363         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11364         work manually instead.
11365
11366 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * BufferView_pimpl.C: protect selectionLost against text == 0
11369
11370 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * text.C (breakParagraph): fix a setting layout to '0' problem.
11373
11374 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11375
11376         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11377         final location of file, for the included files, and graphics.
11378
11379 2002-03-05  Juergen Vigna  <jug@sad.it>
11380
11381         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11382
11383 2002-03-04  Juergen Vigna  <jug@sad.it>
11384
11385         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11386
11387         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11388         last column of multicolumn cells.
11389         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11390
11391 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11392
11393         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11394         file if it doesn't go to a temporary file.
11395
11396         * buffer.C (sgmlOpenTag):
11397         (sgmlCloseTag):  remove extra newline insertion.
11398
11399 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11400
11401         * text.C (getRowNearY): comment out debug msg
11402
11403 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * text2.C: first -> first_y
11406
11407         * text.C (getRowNearY): add some attemts at a possible
11408         optimization, not working.
11409
11410         * tabular.[Ch]: add BufferParams to several function so that newly
11411         created paragraph can be initialized to he default layotu for the
11412         buffers textclass.
11413
11414         * tabular-old.C (ReadOld): add buf->params to call of Init
11415
11416         * screen.C: rename text->first to text->first_y
11417
11418         * paragraph.C (breakParagraph): always set layout in the broken
11419         paragraph
11420
11421         * lyxtextclass.C (Read): remove lowercase
11422         (hasLayout): ditto
11423         (operator): ditto
11424         (delete_layout): ditto
11425
11426         * lyxtext.h: rename first -> first_y
11427
11428         * lyxlayout.C (Read): remove lowercase
11429         (name): ditto
11430         (setName): ditto
11431         (obsoleted_by): ditto
11432
11433         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11434
11435         * buffer.C (insertErtContents): add params are to InsetERT
11436         (parseSingleLyXformat2Token): add code to check if a paragraphs
11437         layout really exist.
11438         (parseSingleLyXformat2Token): add params to several inset
11439         constructors
11440         (asciiParagraph): remove lowercase, do the layout comparisons with
11441         no_case
11442
11443         * BufferView_pimpl.C (cursorNext): first -> first_y
11444         (resizeCurrentBuffer): first -> first_y
11445         (updateScrollbar): first -> first_y
11446         (scrollCB): first -> first_y
11447         (workAreaMotionNotify): first -> first_y
11448         (workAreaButtonPress): first -> first_y
11449         (checkInsetHit): first -> first_y
11450         (cursorPrevious): first -> first_y
11451         (cursorNext): first -> first_y
11452         (Dispatch): add buffer_->params to severl inset contructors
11453
11454 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * lyxlayout.C (Read): remove some debug info that I forgot.
11457
11458         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11459         clean up the code slightly.
11460         (makeLinuxDocFile): ditto
11461         (makeDocBookFile): ditto
11462
11463         * text2.C: layout as string
11464
11465         * text.C: layout as string
11466
11467         * paragraph_pimpl.C: layout as string
11468
11469         * paragraph.[Ch]: layout as string
11470
11471         * lyxtextclasslist.[Ch]: layout as string
11472
11473         * lyxtextclass.[Ch]: layout as string
11474
11475         * lyxtext.h: layout as string
11476
11477         * lyxlayout.[Ch]: layout as string
11478
11479         * lyx_cb.C: layout as string
11480
11481         * bufferview_funcs.C: layout as string
11482
11483         * bufferparams.C: layout as string
11484
11485         * buffer.C: layout as string
11486
11487         * LyXView.[Ch]: layout as string
11488
11489         * LaTeXFeatures.[Ch]: layout as string
11490
11491         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11492
11493         * BufferView_pimpl.C: change current_layout to string, remove
11494         lyx::layout_type.
11495         (Dispatch):
11496         (smartQuote):
11497         (insertInset):
11498         (workAreaButtonRelease): layout as string
11499
11500         * BufferView2.C (unlockInset): adjust
11501
11502         * vspace.C (asLatexCommand): use an explict temp variable.
11503
11504 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * Makefile.am: use FRONTEND_*
11507
11508 2002-03-01  Juergen Vigna  <jug@sad.it>
11509
11510         * tabular.C (SetWidthOfMulticolCell): changed to something better
11511         I hope but still work in progress.
11512         (recalculateMulticolumnsOfColumn): renamed function from
11513         recalculateMulticolCells as it is more appropriate now.
11514         (SetWidthOfCell): calculate multicols better.
11515
11516 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11519
11520         * lyxfunc.C (processKeySym): print sequence also if it is
11521         `deleted' (complete)
11522
11523         * kbsequence.C (print): print sequence even if it is deleted
11524         (complete would be a better word, actually).
11525
11526         * lyxfunc.C (dispatch): print complete options after a prefix key
11527
11528         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11529
11530 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11531
11532         * text2.C (setCharFont): eliminate setCharFont code duplication.
11533
11534 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11535
11536         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11537         LFUN_TABULAR_FEATURE (bug #177)
11538
11539 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11540
11541         * Makefile.am: remove figure.h
11542
11543 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11544
11545         * Bufferview_pimpl.C:
11546         * CutAndPasteC:
11547         * LaTeX.C:
11548         * LyXSendto.C:
11549         * buffer.C:
11550         * bufferlist.C:
11551         * converter.C:
11552         * language.C:
11553         * lyxfunc.C:
11554         * lyxvc.C:
11555         * paragraph.C:
11556         * text.C:
11557         * text2.C: remove #include "lyx_gui_misc.h".
11558
11559         * LaTeX.C: added #include <cstdio>
11560
11561 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11562
11563         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11564         that the paragraph following this one can have.
11565
11566         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11567
11568         * vspace.C (asLatexCommand): fix bogus gcc warning
11569
11570         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11571
11572 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11573
11574         * text2.C (setLayout): get rid of redundant code
11575
11576 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11577
11578         * text2.C (incDepth): make sure depth cannot be increased beyond
11579         reasonable values.
11580
11581 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11582
11583         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11584         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11585
11586         * PainterBase.h (image):
11587         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11588         a LyXImage const *.
11589
11590 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * BufferView.C:
11593         * BufferView.h:
11594         * BufferView_pimpl.C:
11595         * BufferView_pimpl.h:
11596         * LaTeXFeatures.C:
11597         * LyXAction.C:
11598         * LyXView.C:
11599         * Makefile.am:
11600         * UpdateList.h:
11601         * UpdateList.C:
11602         * buffer.C:
11603         * figure.h:
11604         * figureForm.C:
11605         * figureForm.h:
11606         * figure_form.C:
11607         * figure_form.h:
11608         * lyx_cb.C:
11609         * lyx_gui.C:
11610         * lyx_gui_misc.C:
11611         * lyxfunc.C:
11612         * sp_base.h:
11613         * sp_ispell.h:
11614         * sp_pspell.h:
11615         * sp_spell.C: remove fig inset, and the crap house of
11616           cards that follows it
11617
11618 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * Makefile.am:
11621         * lyxserver.C:
11622         * os2_defines.h:
11623         * os2_errortable.h:
11624         * nt_defines.h: move .h into support/
11625
11626         * vms_defines.h: remove
11627
11628         * WorkArea.C: add space in debug output
11629
11630         * text2.C:
11631         * paragraph.C:
11632         * buffer.C: add WITH_WARNINGS
11633
11634         * vc-backend.h:
11635         * vc-backend.C:
11636         * bufferlist.C: s/retrive/retrieve/, add docs
11637
11638         * vspace.h:
11639         * vspace.C:
11640         * kbmap.h:
11641         * lyxlength.h:
11642         * lyxgluelength.h:
11643         * length_common.h:
11644         * chset.h:
11645         * chset.C: add docs
11646
11647         * lyxgui.C: add ID to X error handler
11648
11649         * lyxtestclass.c: fix typo
11650
11651 2002-02-26  Juergen Vigna  <jug@sad.it>
11652
11653         * tabular_funcs.C (write_attribute): changed so that some default
11654         attributes are not written at all.
11655         (getTokenValue): set default values before trying to read the
11656         value so we have the return value always set as default if we don't
11657         find the token we search for.
11658
11659         * tabular.C (Write): write bools as bools not as strings!
11660
11661 2002-02-22  Juergen Vigna  <jug@sad.it>
11662
11663         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11664         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11665
11666         * text.C (leftMargin): don't add an indent for paragraphs inside
11667         tabular cells (fix #208).
11668
11669 2002-02-21  José Matos  <jamatos@fep.up.pt>
11670
11671         * tabular.C (docBook): fixed support for long tables.
11672
11673 2002-02-20  Juergen Vigna  <jug@sad.it>
11674
11675         * text2.C (getFont): get the drawing font of the Inset if this
11676         paragraph is inside an inset (only important for InsetERT for now).
11677
11678         * buffer.C (insertErtContents): use new lanugage params in ERT
11679         constructor.
11680
11681         * CutAndPaste.C: commenting out seemingly uneeded code.
11682
11683 2002-02-19  Allan Rae  <rae@lyx.org>
11684
11685         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11686         Iterators might be simple to use but they also get invalidated.
11687         (removeAutoInsets): renamed saved cursor tracking variables and added
11688         some comments to clarify what everything does.
11689
11690 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11691
11692         * Chktex.C:
11693         * LaTeX.C:
11694         * LyXSendto.C:
11695         * converter.C:
11696         * lyx_cb.C:
11697         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11698         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11699
11700         * lyxfunc.C:
11701         * vc-backend.h: remove #include "support/syscall.h"
11702
11703         * LaTeX.C:
11704         * LyXSendto.C:
11705         * converter.C: rearrange #includes in Lars' approved fashion.
11706
11707         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11708         forward declare class Timeout in the header file.
11709
11710         * XFormsView.C: changes due to the above.
11711
11712         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11713         similar to LyXView.
11714
11715         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11716         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11717
11718 2002-02-18  José Matos  <jamatos@fep.up.pt>
11719
11720         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11721         insets contents.
11722
11723 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11724
11725         * a lot of small ws changes
11726         * add a lot of using std::XXX
11727         * use std construcs some places where approp.
11728         * use some exisint stuff from lyxfunctional where approp.
11729         * Make file changes to use partial linking (lets test this now...)
11730
11731 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11732
11733         * Chktex.C:
11734         * buffer.C:
11735         remove #include "support/syscontr.h" as it's redundant. Always has been.
11736
11737         * Chktex.C:
11738         * LaTeX.C:
11739         * LyXSendto.C:
11740         * converter.C:
11741         * lyx_cb.C:
11742         * vc-backend.C:
11743         change Systemcalls::System to Systemcalls::Wait and
11744         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11745         No change of functionality, just reflects the stripped down Systemcalls
11746         class.
11747
11748 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * debug.[Ch]: add a GRAPHICS type to the enum.
11751
11752 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11755
11756         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11757         there is an inset.
11758
11759 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11760
11761         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11762         match the changes below.
11763
11764         * text2.C (toggleInset): if there is not editable inset at cursor
11765         position, try to see if cursor is _inside_ a collapsable inset
11766         and close it.
11767
11768 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11771         document menu has a nice checkbox
11772
11773 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * lyxlength.C (asLatexString): change PW to output as percent of
11776         \textwidth.
11777
11778         * lengthcommon.C: change '%' to 't%'
11779
11780         * lyxfunc.C (dispatch): a few comments from Martin
11781
11782 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * WorkArea.h:
11785         * WorkArea.C:
11786         * BufferView_pimpl.h:
11787         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11788           the X selection.
11789
11790 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11791
11792         * vspace.C (inPixels): fix compiler warning
11793
11794 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * lyxfunc.C (getStatus): fix status message for disabled commands.
11797
11798 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * BufferView_pimpl.C: fix crash on close buffer
11801         during selection (#227)
11802
11803 2002-01-27  Herbert Voss  <voss@lyx.org>
11804
11805         * buffer.C: link old Figure to new graphic inset
11806
11807 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11808
11809         * FontLoader.C (getFontinfo): Change the latex font names in order
11810         to match the names of type1inst.
11811
11812 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11813
11814         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11815
11816         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11817         (extchanged): ditto
11818         (ext_exist): ditto
11819         (remove_files_with_extension): ditto
11820         (remove_file): ditto
11821         (write): ditto
11822
11823         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11824         document is smaller than the work area height. Do not initialize
11825         static variables to 0.
11826
11827 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11830
11831         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11832         LFUN_LAYOUT_PARAGRAPHS.
11833
11834         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11835         tabular. It is possible to provide a possible cell, which will
11836         typically be the actcell from the corresponding insettabular
11837
11838         * lyxfunc.C (getStatus): small cleanup; disable
11839         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11840         true
11841
11842 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11843
11844         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11845
11846         * paragraph.C (startTeXParParams):
11847         (endTeXParParams): new methods. The LaTeX code to
11848         start/end paragraph formatting
11849         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11850         empty (fixes bug #200)
11851
11852         * vspace.C (inPixels): adapt to the change below
11853         (inPixels): [later] more cleanups (remove unused variables)
11854
11855         * lyxlength.C (inPixels): change to use a width and a height as
11856         parameter.
11857
11858 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11861         Replaced with \paperwidth
11862
11863         * DepTable.C (insert): add std:: qualifier
11864
11865 2002-01-18  Allan Rae  <rae@lyx.org>
11866
11867         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11868         updated also?
11869
11870         * text.C (drawInset): Turned out I didn't know enough about how
11871         rebreaking worked.  This fixes most of the redraw problems.  I see
11872         an occasional cursor trail when a line is broken now and the cursor
11873         placement can seem out by a few pixels also after a rebreak.
11874
11875 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11876
11877         * buffer.C (parseSingleLyXformat2Token): update because minipage
11878         width is now a LyXLength
11879
11880         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11881
11882         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11883         math insets
11884
11885 2002-01-17  Juergen Vigna  <jug@sad.it>
11886
11887         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11888
11889         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11890         is set correctly and the inset is updated correctly.
11891
11892 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11895         the beginning of the loop.
11896
11897 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyxrc.C: improve help for use_scalable_fonts
11900
11901 2002-01-17  Allan Rae  <rae@lyx.org>
11902
11903         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11904
11905 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11908         make sure to set their inset_owner to the right value (bug #171)
11909
11910 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11911
11912         * DepTable.h
11913         * DepTable.C: Implement mtime checking to reduce time spent doing
11914         CRCs.
11915
11916 2002-01-16  Juergen Vigna  <jug@sad.it>
11917
11918         * tabular.C (GetAdditionalHeight): one of error fixed.
11919
11920         * lyxrc.C (output): small fix in writing use_pspell.
11921
11922 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * sp_base.h: #include LString.h
11925
11926 2002-01-16  Allan Rae  <rae@lyx.org>
11927
11928         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11929         Can someone check this please?
11930
11931         * text.C (drawInset): It was possible that p.row would be removed by
11932         breakAgainOneRow upsetting a few other settings.  There may be another
11933         small tweak possible by setting need_break_row = 0 when p.row has been
11934         removed but I don't know enough about the logic here.
11935
11936 2002-01-15  Allan Rae  <rae@lyx.org>
11937
11938         * text.C (insertChar): removed conditional truism.
11939
11940         * BufferView2.C (removeAutoInsets): More tweaks.
11941         cur_par_prev could be a stray pointer.  Check for trailing empty line
11942         in case last line was cur_par and only had an error inset on it.
11943
11944 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11947         absolute
11948
11949         * vc-backend.C (most methods):
11950         * exporter.C (Export):
11951         * converter.C (convert):
11952         (runLaTeX):
11953         * LyXSendto.C (SendtoApplyCB):
11954         * lyxfunc.C (dispatch):
11955         (menuNew):
11956         (open):
11957         (doImport):
11958         * lyx_cb.C (AutoSave):
11959         (InsertAsciiFile):
11960         * BufferView_pimpl.C (MenuInsertLyXFile):
11961         * buffer.C (runChktex): use Buffer::filePath().
11962
11963         * buffer.h: rename filename to filename_; rename filepath to
11964         filepath_ and make it private
11965         (filePath): new method
11966
11967         * buffer.C (writeFile): use fileName()
11968         (getLatexName):
11969
11970         * lyx_main.C (init): fix starting  of LyX when the binary is a
11971         link from so,ewhere else.
11972
11973         * minibuffer.C: include <cctype> for isprint
11974
11975 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11978         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11979         name clash with InsetCollapsable's width function.
11980
11981 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * lastfiles.C: include <iterator>
11984
11985 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11986
11987         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11988         std::count.
11989
11990         * buffer.C (makeLaTeXFile): ditto.
11991         Also make loop operation more transparent.
11992
11993 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11994
11995         * ToolbarDefaults.C: remove trailing comma closing namespace.
11996
11997         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11998
11999         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12000         as in WorkArea.
12001
12002         * trans.C (Load): comment out unused variable, allowed.
12003
12004 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12005
12006         * minibuffer.[Ch] (append_char): new method to recieve input from the
12007         drop-down completion browser. If a key was pressed, then recieve this
12008         char and append it to the existing string.
12009         (peek_event): modify the positioning data passed to the completion
12010         browser so that it can be placed above the minibuffer rather than below.
12011 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * LyXAction.C (init): alloe error-next for readonly documents.
12014
12015         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12016         count.
12017
12018 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * bufferlist.C (readFile): create the buffer _after_ checking that
12021         the file exists.
12022
12023         * lyxfunc.C (verboseDispatch): fix handling of arguments
12024
12025         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12026
12027         * lyxrc.C: use string::erase() instead of initializing to "".
12028
12029
12030 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.h:
12033         * BufferView_pimpl.C:
12034         * WorkArea.h:
12035         * WorkArea.C:
12036         * text2.C: tell X when we have made a selection for copying
12037
12038 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * BufferView_pimpl.C (MenuInsertLyXFile):
12041         * lyxfunc.C (menuNew):
12042         (open):
12043         (doImport): add shortcuts to directory buttons
12044
12045         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12046         open a float)
12047
12048         * lyxfunc.C (setStatusMessage):
12049         (getStatusMessage): new methods
12050         (getStatus):use setStatusMessage instead of setErrorMessage
12051         (dispatch): when function is disabled, set error message here
12052         [instead of in getStatus previously]
12053
12054         * BufferView_pimpl.C (workAreaButtonRelease): update
12055         toolbar/menubar here too.
12056
12057 2002-01-13  Allan Rae  <rae@lyx.org>
12058
12059         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12060         Now seems indestructible.  Remaining task is to audit all other
12061         code affected by deleteEmptyParagraphMechanism.  One small quirk
12062         left is that an empty document with an error in the preamble can
12063         be made to report an error but no error box appears.  I don't know
12064         where it goes.
12065         (removeAutoInsets): Improved comments.
12066
12067 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * Thesaurus.h:
12070         * Thesaurus.C: update for Aiksaurus 0.14
12071
12072 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * text2.C (firstParagraph): removed member function, all uses
12075         replaces with ownerParagraph
12076         (redoParagraphs): here
12077         (updateInset): here
12078         (toggleAppendix): here
12079         * BufferView2.C (insertErrors): here
12080         (setCursorFromRow): here
12081
12082 2002-01-13  Allan Rae  <rae@lyx.org>
12083
12084         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12085         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12086         There is still a way to segfault this although you may have to do this
12087         multiple times: Have an InsetERT with an unknown command in it.
12088         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12089         <down-arrow>, <Enter> again, View->DVI, BANG!
12090
12091         * text2.C (setCursor):
12092         (deleteEmptyParagraphMechanism):
12093         * lyxtext.h (setCursor):
12094         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12095         Making use of the return value may help fix other bugs.
12096
12097 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12098
12099         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12100
12101         * LyXView.C (updateMenubar): call MenuBar::update here
12102         (updateToolbar): but not here
12103         (showState): do not update toolbar/menubar
12104
12105         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12106         should need to care about that.
12107
12108         * lyxfunc.C (verboseDispatch): simplify a bit
12109         (getStatus): have a version which takes a pseudoaction, and
12110         another which requires a (kb_action,string).
12111
12112         * LyXAction.C (retrieveActionArg): make it work also when action
12113         is not a pseudo-action.
12114         (getActionName): simplify a bit
12115         (helpText):
12116
12117 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * lyxfunc.C (verboseDispatch): new families of methods with
12120         several ways to specify a command and a bool to indicate whether
12121         the command name and shortcut should be displayed in minibuffer
12122         (eventually, we could extend that to a finer bitmask like
12123         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12124         (dispatch): the pristine dispatch command which just, well,
12125         dispatchs! Note it still sets its result to minibuffer; I'm not
12126         sure we want that.
12127
12128         * lyxfunc.h: remove setHintMessage
12129
12130         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12131
12132 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * BufferView_pimpl.C (specialChar): delete new inset if we have
12135         not been able to insert it.
12136
12137         * kbmap.C: revert to using int instead of kb_action, since all we
12138         are dealing with is pseudo-actions.
12139
12140         * LyXAction.C (searchActionArg): change to return int instead of
12141         kb_action, since the result is a pseudoaction.
12142
12143 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * buffer.C (insertErtContents): Fix (partially) the font bug.
12146
12147 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12148
12149         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12150         as the other one is broken on my machine!
12151
12152 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12153
12154         * commandtags.h:
12155         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12156
12157 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12160         reflect their actual use. Provide compatibility code for older lyxrc
12161         files.
12162
12163         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12164         FL_NORMAL_STYLE.
12165         change names of popup font variables in line with the changes to lyxrc.C
12166
12167 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * buffer.C (asciiParagraph): avoid outputing a word twice after
12170         an inset.
12171
12172         * lyxrc.C (getDescription): document that document_path and
12173         template_path can be empty.
12174
12175 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12176
12177         * LaTeXFeatures.C (getMacros):
12178         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12179
12180         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12181
12182         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12183         getPackages.
12184         (getPackages): rename feature "floats" to "float". Use an array to
12185         iterate over 'simple' features (i.e. just a \usepackage). Add
12186         handling of "amsmath" (renamed from "amsstyle").
12187
12188 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12189
12190         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12191         features list.
12192
12193 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12196         FuncStaus::FuncStatus & FuncStaus::some_method().
12197
12198 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12199
12200         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12201         of the func_satus stuff. Edited and massaged in various ways by
12202         JMarc.
12203
12204         * lyxfunc.C (getStatus): use FuncStatus
12205
12206 2002-01-08  Juergen Vigna  <jug@sad.it>
12207
12208         * text.C (nextBreakPoint): use function Inset::isChar().
12209
12210         * paragraph.C (TeXOnePar): use function
12211         Inset::forceDefaultParagraphs.
12212
12213         * buffer.C (latexParagraphs): use function
12214         Inset::forceDefaultParagraphs.
12215
12216 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * lyx_gui.C (init): set the style of the menu popups to
12219         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12220
12221 2002-01-07  Juergen Vigna  <jug@sad.it>
12222
12223         * text.C (setHeightOfRow): small fix
12224         (prepareToPrint): don't look at alignment if we don't have the place
12225         for doing it.
12226
12227 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12228
12229         * box.C: New file. Move the Box methods and functions out of box.h,
12230         following Lars' suggestion.
12231
12232 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * box.h: #include "support/LOstream.h", needed for inlined function.
12235
12236         * lyxtextclass.C:
12237         * lyxtextclasslist.C: added some using std declarations.
12238
12239 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * box.h: make signed dimensions to allow insets wider than
12242           the screen (bug #162)
12243
12244         * BufferView_pimpl.C: add some insetHit debug
12245
12246 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * vc-backend.C: add FIXME
12249
12250 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * lyxfunc.C (getStatus): enable code for showing math font status
12253         in toolbar/menu.
12254
12255 2002-01-07  Juergen Vigna  <jug@sad.it>
12256
12257         * text.C (nextBreakPoint): removed debug output not needed anymore.
12258
12259 2002-01-06  Juergen Vigna  <jug@sad.it>
12260
12261         * text.C (nextBreakPoint): fixed up this function we had this bug
12262         since ever but now hopefully we break row better.
12263         (insertChar): we have to check if an inset is the next char as it
12264         could now happen that a large inset is causing a break.
12265
12266 2002-01-05  Juergen Vigna  <jug@sad.it>
12267
12268         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12269         if it doesn't like to be drawed.
12270
12271 2002-01-04  Juergen Vigna  <jug@sad.it>
12272
12273         * BufferView2.C (lockInset): forgot to set a cursor.
12274
12275         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12276
12277 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12278
12279         * FormMathsPanel.C:
12280         * FormMathsPanel.h
12281         * MathsSymbols.C:
12282         * form_maths_panel.C:
12283         * form_maths_panel.h:
12284         * form_maths_panel.fd: implemented sub- and super- buttons in math
12285         panel.
12286
12287         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12288         (or ^ space) to be used as in TeX (req'd by André).
12289
12290         * lyxfunc.C: Allow ^ and _ again to be used both as
12291         super/subscript (mathed) and as themselves (in text).
12292
12293 2002-01-03  Allan Rae  <rae@lyx.org>
12294
12295         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12296         "LyX" or the filename of the current buffer if it has one.  This is a
12297         modified form of John Levon's patch.
12298
12299         * XFormsView.C (setWindowTitle): also set icon title.
12300
12301         * LyXView.h (setWindowTitle): signature changed.
12302         * XFormsView.h (setWindowTitle): ditto.
12303
12304 2002-01-02  Juergen Vigna  <jug@sad.it>
12305
12306         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12307
12308 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * screen.C (topCursorVisible): introduce a temp var for
12311         text->cursor.row(), handle the case where this row is null. (kindo
12312         hachish)
12313
12314         * text2.C (setCursor): add a couple of asserts.
12315
12316         * paragraph.h (inset_iterator): add -> operator
12317
12318         * paragraph.[Ch] (autoDeleteInsets): remove member function
12319
12320         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12321         cursor pos correctly and handle inset deletion by itself.
12322         (insertErrors): move iterator declaration out of for expression
12323
12324         * lyxtextclass.C: add <algorithm>
12325
12326         * Makefile.am: added the new files to sources, removed layout.C
12327
12328         * layout.C: removed file
12329
12330         * layout.h: remove LYX_DUMMY_LAYOUT
12331
12332         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12333         layout.
12334
12335         * lyxlayout.[Ch]:
12336         * lyxtextclass.[Ch]:
12337         * lyxtextclasslist.[Ch]: new files
12338
12339         * include order changes to a lot of files, also changes because of
12340         the six new files.
12341
12342 2001-12-27  Juergen Vigna  <jug@sad.it>
12343
12344         * buffer.C (asciiParagraph): more fixes.
12345
12346         * tabular.C (ascii): make ascii export support export of only the
12347         data separated by a column-delimiter.
12348         (ascii): better support for ascii export.
12349
12350         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12351
12352 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * tabular_funcs.C: use a "using std::getline" instead of the
12355         previous fix from Angus (necessary for cxx + lyxstring)
12356
12357 2001-12-24  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12360
12361         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12362         problems. First check a minipage also if we have some ert-contents
12363         (not only on par->size(), second set the right depth of the paragraph
12364         on the relink to the root-paragraph-list!
12365
12366         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12367         which then did not anymore update the main paragraphs on undo/redo!
12368
12369 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12372         code. Support all font-changing funcs (even those which are not in
12373         menu currently). Support for reporting font settings in
12374         mathed (disabled until Andre provides a function on mathed's side).
12375
12376         * func_status.h (toggle): small helper function to set toggle
12377         state on a flag.
12378
12379 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * tabular_funcs.C: getline -> std::getline
12382
12383 2001-12-21  Juergen Vigna  <jug@sad.it>
12384
12385         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12386         accessed and could be 0 (I couldn't generate this but it seems
12387         Michael could!).
12388
12389 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12392         * tabular_funcs.h: here and include iosfwd
12393
12394 2001-12-20  Juergen Vigna  <jug@sad.it>
12395
12396         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12397         inside inset but undo_par was.
12398
12399 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12400
12401         * Thesaurus.C: always include <config.h> in sources.
12402
12403         * Painter.h:
12404         * lyxlookup.h:
12405         * box.h: do not include <config.h> in header files
12406
12407         * text.C (paintLastRow): remove unused variable
12408
12409         * text.C (transformChar):
12410         (insertChar):
12411         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12412
12413         * Painter.C (text):
12414         * font.C (width): rewrite to use uppercase() instead of
12415         islower/toupper.
12416
12417         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12418
12419 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * lyxfind.C: clean up of find failure position change
12422
12423 2001-12-20  Juergen Vigna  <jug@sad.it>
12424
12425         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12426
12427         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12428         (TeXRow): added to LaTeX a single tabular row.
12429         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12430         (Latex): simplified and finally good LT-h/f support.
12431         (various_functions): just small adaptions for LT-h/f support.
12432
12433         * tabular_funcs.[hC]: added and moved here all not classfunctions
12434         of LyXTabular.
12435
12436 2001-12-19  Juergen Vigna  <jug@sad.it>
12437
12438         * tabular.[Ch]: better support for longtabular options (not finished
12439         yet!)
12440
12441 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12442
12443         * text.C (paintLastRow): use the label font instead of the font of
12444         the last character to compute the size of *_BOX. This makes more
12445         sense and avoids a crash with empty paragraphs.
12446         Use Painter::rectangle to draw EMPTY_BOX.
12447
12448 2001-12-19  Juergen Vigna  <jug@sad.it>
12449
12450         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12451         the paragraphs if the replaced paragraph is not the first one!
12452         Tried to delete not used paragraphs but does not work yet so for
12453         now it's inside #ifdef's and by default off!
12454
12455 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * MenuBackend.C: include "lyx_main.h" instead of declaring
12458         lastfiles (actually was declared as LastFiles* instead of a
12459         scoped_ptr).
12460
12461 2001-12-17  Juergen Vigna  <jug@sad.it>
12462
12463         * tabular.C (AppendColumn): applied John's fix
12464
12465 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * BufferView.h:
12468         * BufferView.C:
12469         * BufferView_pimpl.h:
12470         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12471
12472         * Makefile.am:
12473         * box.h: new start of class for above
12474
12475         * lyxfunc.C: ignore space-only minibuffer dispatches.
12476           Show the command name when it doesn't exist
12477
12478         * minibuffer.C: don't add empty lines to the history
12479
12480         * minibuffer.C: add a space on dropdown completion
12481
12482 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * text.C: fix line above/below drawing in insets
12485
12486 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * lyxlength.C (LyXLength): Initialize private variables.
12489
12490 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12491
12492         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12493         when inserting error insets.
12494
12495 2001-12-13  Juergen Vigna  <jug@sad.it>
12496
12497         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12498         actually sometimes the before-paragraph.
12499         (setUndo): don't clear the redostack if we're not actually undoing!
12500
12501 2001-12-06  Juergen Vigna  <jug@sad.it>
12502
12503         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12504         and fixed redoing of main paragraph, so we can use it now ;)
12505
12506         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12507
12508 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12511         Juergen's request
12512
12513 2001-12-13  André Pönitz <poenitz@gmx.net>
12514
12515         * undostack.[Ch]:
12516         * undo_func.C: minor cleanup
12517
12518 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12521         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12522         font in urw-fonts package which is marked as -urw-fontspecific and
12523         does not work (incidentally, changing the encoding in the
12524         fonts.dir of this package to -adobe-fontspecific fixes the
12525         problem).
12526
12527         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12528         is a crash when undoing first paragraph (Juergen, please take a
12529         look). THis does not mean the undo fix is wrong, just that it
12530         uncovers problems.
12531
12532         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12533         the (Paragraph*) version when needed instead of duplicating the
12534         code.
12535
12536         * text.C (workWidth): use Inset::parOwner to find out where the
12537         inset has been inserted. This is a huge performance gain for large
12538         documents with lots of insets. If Inset::parOwner is not set, fall
12539         back on the brute force method
12540
12541         * paragraph_pimpl.C (insertInset):
12542         * paragraph.C (Paragraph):
12543         (cutIntoMinibuffer): set parOwner of insets when
12544         inserting/removing them
12545
12546         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12547
12548 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12549
12550         * commandtags.h:
12551         * LyXAction.C:
12552         * lyx_main.C:
12553         * lyxfunc.C:
12554         * mathed/formulabase.C:
12555         * mathed/math_cursor.[Ch]:
12556         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12557
12558
12559 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12560
12561         * lyxlength.[Ch] (operator!=): new function
12562
12563 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12564
12565         * text.C (workWidth): use Inset::parOwner to find out where the
12566         inset has been inserted. This is a huge performance gain for large
12567         documents with lots of insets. If Inset::parOwner is not set, fall
12568         back on the brute force method
12569
12570         * paragraph_pimpl.C (insertInset):
12571         * paragraph.C (Paragraph):
12572         (cutIntoMinibuffer): set parOwner of insets when
12573         inserting/removing them
12574
12575         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12576
12577 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * tabular-old.C (getTokenValue):
12580         * tabular.C (getTokenValue):
12581         (write_attribute): new versions for LyXLength
12582         (everywhere): adjust the use of widths
12583
12584         * tabular.h: change the type of widths from string to LyXLength
12585
12586 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12587
12588         * paragraph.C: fixed missing line number count when exporting
12589         Environments to LaTeX file
12590
12591         * buffer.C: added informational message for checking line numbers.
12592
12593 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12596         paragraph, do the 'double space' part, but not the 'empty
12597         paragraph' one.
12598
12599         * text.C (workWidth): small optimization
12600         (getLengthMarkerHeight): use minimal size for negative lengths.
12601
12602 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12603
12604         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12605
12606         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12607
12608 2001-12-11  André Pönitz <poenitz@gmx.net>
12609
12610         * FontLoader.C:
12611         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12612
12613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * text2.C: keep selection on a setFont()
12616
12617 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * lyx_cb.C: another bv->text misuse, from insert label
12620
12621 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * kbsequence.h:
12624         * kbsequence.C: re-instate nmodifier mask
12625
12626 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12627
12628         * lyx_main.h: make lyxGUI private.
12629
12630 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * lyxfind.C: place the cursor correctly on failed search
12633
12634 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12635
12636         * text.C (getLengthMarkerHeight): for small heights, the arrows
12637         are not always on top/bottom of the text
12638         (drawLengthMarker): smaller arrows; take the left margin in
12639         account; draw also vfills.
12640         (paintFirstRow):
12641         (paintLastRow): remove special code for vfill and standard spaces,
12642         since everything is handled in drawLengthMarker now.
12643
12644 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * buffer.C (insertErtContents): try to handle font and language
12647         interaction a bit better.g
12648
12649         * ColorHandler.C (updateColor): change the hash to cover the whole
12650         LColor enum, ws cleanup
12651         (getGCLinepars): ditto
12652         (getGCLinepars): only lookup in the linecache once.
12653
12654 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * iterators.C (operator++): Make the iterator more robust
12657
12658         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12659         (John's patch)
12660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12661
12662 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * lyxtext.h:
12665         * text.C: better added space drawing
12666
12667 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12668
12669         * LyXView.C:
12670         * BufferView2.C: fix layout combo update on inset unlock
12671
12672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * Makefile.am: don't compile unused files
12675
12676 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * lyxfunc.C:
12679         * commandtags.h:
12680         * LyXAction.C: remove old LFUN_LAYOUTNO
12681
12682 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * paragraph_pimpl.h:
12685         * paragraph_pimpl.C: isTextAt() doesn't need font param
12686
12687 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * lyxlex.h:
12690         * lyxlex.C: little cleanup
12691
12692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * BufferView_pimpl.C: fix insertAscii for insets
12695
12696 2001-12-05  Juergen Vigna  <jug@sad.it>
12697
12698         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12699         set the right font on the "multi" paragraph paste!
12700
12701 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * trans_decl.h:
12704         * trans_mgr.[Ch]:
12705         * trans.[Ch]:
12706         * lyxgluelength.C:
12707         * lyxlength.C: remove out-commented code.
12708
12709         * BufferView_pimpl:
12710         * CutAndPaste.C:
12711         * DepTable.C:
12712         * buffer.C:
12713         * chset.C:
12714         * lastfiles.C:
12715         * lyxlex.C:
12716         * lyxlex_pimpl.C:
12717         * lyxserver.C:
12718         * screen.C:
12719         * tabular-old.C:
12720         * tabular.C:
12721         * text.C:
12722         * trans_mgr.C:
12723         * vc-backend.C: change "while(" to "while ("
12724
12725         * lyxlength.[Ch]: add zero function to check if length is zero or
12726         not
12727         * lyxgluelength.C: use it
12728
12729 2001-12-05  Allan Rae  <rae@lyx.org>
12730
12731         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12732         Works for 2.95.3, from what I understand of Garst's reports this should
12733         work for other g++ versions.  We're screwed if the abs(int) definition
12734         changed between bugfix releases of gcc.
12735
12736 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * text.C: fix chapter label offset !
12739
12740 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * lyxtext.h:
12743         * text.C: fix hfill at end of line, clean up
12744
12745 2001-12-04  Juergen Vigna  <jug@sad.it>
12746
12747         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12748         that we force an update of the inset and it's owners if neccessary.
12749
12750 2001-12-03  Juergen Vigna  <jug@sad.it>
12751
12752         * text.C (rowLast): simplified code
12753
12754 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * lyxfunc.C: fix show options on timeout
12757
12758 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * screen.C (topCursorVisible): scroll half a page when the cursor
12761         reached top of bottom of screen
12762
12763 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * minibuffer.C: deactivate on loss of focus
12766
12767 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * vspace.[Ch] (operator!=): add operator.
12770
12771 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * BufferView_pimpl.C: refuse to open an inset when
12774         there's a selection.
12775
12776 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * BufferView_pimpl.C: allow to click on RHS of full row insets
12779
12780 2001-11-30  Juergen Vigna  <jug@sad.it>
12781
12782         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12783         insets for undo reasons.
12784
12785 2001-11-28  André Pönitz <poenitz@gmx.net>
12786
12787         * vspace.[Ch]: cosmetical changes
12788
12789 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * LyXAction.h:
12792         * LyXAction.C:
12793         * lyxfunc.h:
12794         * lyxfunc.C:
12795         * kbmap.h:
12796         * kbmap.C:
12797         * lyxrc.C:
12798         * kbsequence.h:
12799         * kbsequence.C: part re-write of old kb code
12800
12801         * Painter.C:
12802         * WorkArea.C: remove Lgb_bug_find_hack
12803
12804 2001-11-30  José Matos <jamatos@fep.up.pt>
12805
12806         * buffer.C (makeDocBookFile): add a comment to point a hack.
12807         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12808         Fixed a double write of labels.
12809
12810 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12811
12812         * LaTeX.C:
12813         * LaTeX.h Fixed bug in LaTeX class where it would not
12814         re-run latex if no depfiles were changed, but the .dvi was removed.
12815
12816 2001-11-28  André Pönitz <poenitz@gmx.net>
12817
12818         * all the files from the change on 2001/11/26:
12819         use lyx::layout_type instead of LyXTextClass::size_type
12820         use lyx::textclass_type instead of LyXTextClassList::size_type
12821
12822 2001-11-29  Juergen Vigna  <jug@sad.it>
12823
12824         * text.C: added support for paragraph::isFreeSpacing()
12825
12826         * buffer.C: same as above
12827
12828         * paragraph.h: inserted isFreeSpacing() function to enable
12829         FreeSpacing inside InsetERT.
12830
12831         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12832         of the paragraph's in the cut/copy buffer to 0!
12833
12834         * text2.C (removeRow): remove the assert as it can!
12835
12836         * lyxtext.h: added helper function firstRow returning firstrow and
12837         made firstrow private again.
12838
12839         * BufferView2.C (lockInset): don't relock if we're already locked!
12840
12841         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12842         the only paragraph.
12843         (removeRow): added Assert::(firstrow)
12844
12845         * debug.C: forgot to add INSETTEXT here.
12846
12847 2001-11-28  Juergen Vigna  <jug@sad.it>
12848
12849         * sp_spell.C (initialize): changed error text to more general
12850         spellchecker command use (not only ispell!)
12851
12852         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12853
12854         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12855
12856 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * vspace.C: initialise lyxgluelength on failure
12859
12860 2001-11-28  Allan Rae  <rae@lyx.org>
12861
12862         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12863         declaration & definition that looks like a function declaration.
12864
12865 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12866
12867         * BufferView2.C (copy):
12868         (copyEnvironment): do not clear the selection when doing a copy.
12869
12870         * text.C (paintFirstRow): compilation fix
12871
12872 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12873
12874         * tabular.C (Latex): correct line count when writing latex.
12875
12876 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * paragraph_pimpl.h:
12879         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12880           bug a bit
12881
12882 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * text.C:
12885         * LColor.h:
12886         * LColor.C: change vfillline->added_space
12887
12888         * text.C: add markers and text for added space
12889
12890         * vspace.C: fix comment
12891
12892 2001-11-28  André Pönitz <poenitz@gmx.net>
12893
12894         * paragraph.C: whitespace changes
12895         * all the other files from the change on 2001/11/26:
12896         change *::pos_type into lyx::pos_type
12897
12898 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12901         language of the document when inserting error insets.
12902
12903 2001-11-26  André Pönitz <poenitz@gmx.net>
12904
12905         * BufferView_pimpl.[Ch]:
12906         *       CutAndPaste.C:
12907         * buffer.[Ch]:
12908         * lyxcursor.[Ch]:
12909         * lyxfind.C:
12910         * lyxfunc.C:
12911         * lyxrow.[Ch]:
12912         * paragraph.[Ch]:
12913         * paragraph_pimpl.[Ch]:
12914         * sp_spell.C:
12915         * text.C:
12916         * text2.C: reduce header dependencies, introduce type for positions
12917
12918 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * <various>: change to use Alert.h
12921
12922 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12925         when encountering an unknown token.
12926         (readLyXformat2): Show an error message if there were unknown tokens.
12927
12928 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * BufferView2.C:
12931         * BufferView_pimpl.C:
12932         * buffer.C:
12933         * paragraph.h:
12934         * text.C:
12935         * text2.C: use par->isInset()
12936
12937 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * paragraph_pimpl.h:
12940         * paragraph_pimpl.C: cleanup
12941
12942 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * text2.C (removeRow):
12945         * text.C (setHeightOfRow): remove useless (and costly) call to
12946         getRow.
12947
12948 2001-11-20  Allan Rae  <rae@lyx.org>
12949
12950         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12951         Now need Inset*::checkInsertChar() to return true for appropriate
12952         cases so that the characters in the minibuffer will actually be
12953         inserted.
12954
12955 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12956
12957         * text.C: change the order of the includes.
12958         (workWidth): initialize it at once.
12959         (workWidth): make maxw unsigned
12960         (setHeightOfRow): remove unused variable (inset)
12961         (selectSelectedWord): remove unused variable (inset)
12962         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12963
12964 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12965
12966         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12967         server is not running.
12968         (openConnection):
12969         (closeConnection): add debug info when server is disabled.
12970
12971         * ColorHandler.C (getGCForeground): send debug message to GUI
12972         channel.
12973
12974         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12975
12976         * kbmap.C (bind): modify because return conventions of
12977         kb_sequence::parse have changed.
12978
12979         * kbsequence.C (parse): only ignore spaces and not any stupid
12980         control character. This avoids tests like s[i] <= ' ', which are
12981         guaranteed to fail with 8bit characters and signed chars.
12982         Change return code to string::npos when there have been no error
12983         (0 was a bad idea when error is at first character)
12984
12985 2001-11-14  José Matos  <jamatos@fep.up.pt>
12986
12987         * buffer.h:
12988         * buffer.C (simpleDocBookOnePar): removed unused argument.
12989
12990 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12991
12992         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12993         insets which are part of a word. Paragraph::isLetter takes care of
12994         that now. Use Paragraph::isInset to identify insets.
12995         (selectSelectedWord): do not test for hyphenation break.
12996
12997         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12998         that protected spaces are considered as spaces.
12999
13000         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13001         Inset::isLetter.
13002
13003 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * lyxserver.h:
13006         * lyxserver.C: fix it. and small cleanup.
13007
13008 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * BufferView_pimpl.C: use inline helpers
13011
13012         * LaTeXFeatures.h:
13013         * LaTeXFeatures.C: fix typos
13014
13015         * Spacing.h:
13016         * Spacing.C: move spacing_string into class
13017
13018         * ToolbarDefaults.C: move stuff into namespace anon
13019
13020         * layout.h: update enum
13021
13022         * lyxfunc.C: use better debug
13023
13024         * minibuffer.h: fix typo
13025
13026         * debug.h:
13027         * debug.C:
13028         * WorkArea.C: add and use Debug::WORKAREA
13029
13030         * lyxtext.h:
13031         * text.C:
13032         * text2.C: code re-organisation, inline helpers
13033
13034 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13035
13036         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13037         std::vector.empty().
13038
13039 2001-11-09  Allan Rae  <rae@lyx.org>
13040
13041         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13042         '\n's after tables.  Tabular and ERT inset work now makes this no
13043         longer necessary.
13044
13045 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13046
13047         * minibuffer.h:
13048         * minibuffer.C: fix crash, improve drop-down completion
13049
13050 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13051
13052         * lyxserver.h:
13053         * lyxserver.C: invalidate fd's when doing endPipe()
13054
13055 2001-11-08  José Matos  <jamatos@fep.up.pt>
13056
13057         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13058         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13059
13060         * paragraph.h:
13061         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13062
13063 2001-11-07  José Matos  <jamatos@fep.up.pt>
13064
13065         * buffer.h:
13066         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13067         const qualifier.
13068
13069         * buffer.C (sgmlOpenTag):
13070         * buffer.C (sgmlCloseTag): removed debug info.
13071
13072         * buffer.h (sgmlOpenTag):
13073         * buffer.h (sgmlCloseTag): made public.
13074
13075 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13076
13077         * buffer.C (saveParamsAsDefaults):
13078         * lyx_cb.C (MenuLayoutSave): remove
13079
13080         * LyXAction.C (init):
13081         * commandtags.h:
13082         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13083
13084 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * buffer.C (setPaperStuff): removed from here...
13087
13088         * bufferparams.C (setPaperStuff): ... and moved there.
13089
13090 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13091
13092         * minibuffer.h:
13093         * minibuffer.C:
13094         * XFormsView.C: add support for drop-down completion
13095
13096 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13097
13098         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13099         commands.
13100
13101 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13104         disabled.
13105
13106 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * lyx_main.C: change ref to known bugs
13109
13110 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13111
13112         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13113         to work around older babel problems.
13114
13115 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13116
13117         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13118
13119 2001-10-24  Juergen Vigna  <jug@sad.it>
13120
13121         * tabular-old.C (ReadOld): below variable changes reflected.
13122
13123         * tabular.[Ch]: added ltType struct for longtable header/footer
13124         defines and changed all instances where they are used. Added
13125         future support for double top/bottom rows.
13126
13127 2001-10-24  José Matos  <jamatos@fep.up.pt>
13128
13129         * buffer.h (docbookHandleCaption):
13130         * buffer.C (docbookHandleCaption): removed unused function.
13131         (makeDocBookFile): moved docbook supported version to v4.1.
13132
13133 2001-10-24  José Matos  <jamatos@fep.up.pt>
13134
13135         * tabular.h:
13136         * tabular.C (docbookRow): new function to export docbook code of a row.
13137         (DocBook): now honors the longtable flags.
13138
13139 2001-10-23  José Matos  <jamatos@fep.up.pt>
13140
13141         * LaTeXFeatures.h:
13142         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13143         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13144
13145         * buffer.C (makeLinuxDocFile):
13146         (makeDocBookFile): reworked the preamble, more clean, and with
13147         support for lyx defined entities. Changed the document declaration
13148         to be more XML friendly.
13149
13150         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13151         if we need to output XML that should be done with a filter.
13152
13153 2001-10-22  Juergen Vigna  <jug@sad.it>
13154
13155         * sp_pspell.h (class PSpell): add alive function needed in the
13156         controller to see if the spellchecker could be started.
13157
13158 2001-10-22  Juergen Vigna  <jug@sad.it>
13159
13160         * buffer.C (insertStringAsLines): modify the font for inserting
13161         chars in certain conditions by calling checkInsertChar(font).
13162
13163 2001-10-19  Juergen Vigna  <jug@sad.it>
13164
13165         * text.C (workWidth): use getRow instead of wrong algorithm.
13166         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13167
13168 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * lyxserver.h:
13171         * lyxserver.C:
13172         * lyx_main.h:
13173         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13174
13175 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * text.C (workWidth): do not search for the exact row when
13178         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13179         optimization for big documents.
13180
13181 2001-10-18  Juergen Vigna  <jug@sad.it>
13182
13183         * text.C (workWidth): new function with added Inset * parameter.
13184
13185 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13188
13189         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13190         change return type of getColumnNearX.
13191
13192
13193         * text.C (changeRegionCase): use uppercase/lowercase instead of
13194         toupper/tolower.
13195         (leftMargin):
13196         (rightMargin): simplify code by factoring out the uses of
13197         textclasslist.
13198         (labelFill):
13199         (numberOfHfills):
13200         (setHeightOfRow):
13201         (appendParagraph): use Paragraph::size_type
13202
13203 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * vspace.C (asLatexString): add a missing break
13206
13207 2001-10-15  Herbert Voss  <voss@perce.de>
13208
13209         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13210
13211 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13212
13213         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13214         is not available.
13215
13216 2001-10-10  André Pönitz <poenitz@gmx.net>
13217
13218         * lyxfunc.C: removed greek_kb_flag.
13219
13220 2001-10-10  Herbert Voss  <voss@perce.de>
13221
13222         * lyx_main.C: delete global string help_lyxdir.
13223
13224 2001-10-09  Herbert Voss  <voss@perce.de>
13225
13226         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13227
13228         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13229
13230         * lyx_main.C: added global string help_lyxdir.
13231
13232         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13233
13234 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13235
13236         * lyxrc.C (set_font_norm_type): support iso8859-4
13237
13238 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13239
13240         * LaTeX.C (deplog): add another regex for MikTeX
13241
13242 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13243
13244         * lyxrc.C (set_font_norm_type): support iso8859-3
13245
13246 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13249
13250         * LaTeXFeatures.C: remove special case of french and index
13251
13252         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13253         before \begin{document}). This solves several incompatibilities.
13254
13255 2001-10-03  Garst Reese  <reese@isn.net>
13256
13257         * lyx_cb.C: change CheckTex error msg.
13258
13259 2001-10-03  José Matos  <jamatos@fep.up.pt>
13260
13261         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13262
13263 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * .cvsignore: update
13266
13267         * lyx_main.C (commandLineVersionInfo): use new style version info.
13268
13269         * buffer.C (writeFile):
13270         (makeLaTeXFile):
13271         (makeLinuxDocFile):
13272         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13273
13274         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13275
13276         * version.h: update to use stuff in version.C
13277
13278         * version.C.in: new file. Contains version information determined
13279         at compile time. This is a merging of version.h and
13280         version_info.h.in.
13281
13282 2001-10-03  Juergen Vigna  <jug@sad.it>
13283
13284         * BufferView_pimpl.C (update): don't change "dirty" status in
13285         updateInset call.
13286
13287 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * WorkArea.C (c-tor): re-position version string slightly.
13290
13291 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13292
13293         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13294         revert to previous code.
13295
13296         WorkArea.[Ch]: (show, destroySplash): methods removed.
13297
13298         WorkArea.C: rework code so that it's an amalgam of the codes before and
13299         after the splash screen was moved to WorkArea.
13300
13301 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * lyxrc.C (read):
13304         * vspace.C (inPixels):
13305         (lyx_advance):
13306         * kbmap.C (bind):
13307         * buffer.C (insertStringAsLines):
13308         (asciiParagraph): fix types to be large enough
13309
13310         * lyxlex_pimpl.h: change member status from short to int
13311
13312         * layout.h: fix type of endlabeltype
13313
13314         * kbmap.C (bind):
13315         * kbsequence.C (parse): change return type to string::size_type
13316
13317         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13318         variable
13319
13320         * Bullet.C (bulletSize):
13321         (bulletEntry): do not use short ints as parameters
13322
13323         * BufferView2.C (insertLyXFile): change a char to an int.
13324
13325         * WorkArea.C (WorkArea): remove unneeded floats in computation
13326
13327 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13328
13329         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13330
13331         * paragraph.C (asString): Do not ignore newline/hfill chars when
13332         copying to the clipboard.
13333
13334 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13335
13336         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13337         after a multi-line inset.
13338
13339 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * paragraph.C (validate): Set NeedLyXFootnoteCode
13342
13343 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13346         and decrease-error to decrease.
13347
13348 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13351         it more readable (should be equivalent)
13352
13353 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13354
13355         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13356
13357 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13360         of a cursor (row, etc.) after a character has been deleted
13361         (deleteEmptyParagraphMechanism): call the method above on _all_
13362         cursors held by the LyXText when a double space has been
13363         detected/deleted.
13364
13365 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13368         pixmap.
13369         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13370
13371         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13372         background. Use greyOut() and the new show() methods to toggle between
13373         the foreground and background. Add code to remove the splash after
13374         its initial showing.
13375
13376         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13377         (create_forms): no longer call Dialogs::showSplash.
13378
13379 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * .cvsignore: add version_info.h
13382
13383 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13384
13385         * version_info.h.in: new file
13386
13387         * Makefile.am: add version_info.h.in
13388
13389         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13390         version_info.h instead of VERSION_INFO
13391
13392 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13395         The ERT inset now returns string().
13396
13397 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * lyxtext.h, text.C (selectNextWord): renamed as
13400         selectNextWordToSpellcheck.
13401
13402         * text.C (selectNextWordToSpellcheck): Modified to not select
13403         words inside an ERT inset.
13404
13405 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13406
13407         * lyx_cb.C (MenuLayoutSave): change a bit the question
13408
13409         * sp_base.h: include <sys/types.h>
13410
13411 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13412
13413         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13414
13415 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13416
13417         * several files: fix typos in user-visible strings
13418
13419 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * text2.C (pasteSelection): do not set the selection, since it
13422         will be cleared later. Actually, the intent was to fix the way the
13423         selection was set, but I figured rmoving the code was just as good.
13424
13425 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * FontLoader.C (available): Check if font is available without
13428         loading the font.
13429
13430 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13431
13432         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13433
13434 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * lyxrc.[Ch]: added display_graphics variable and associated code.
13437
13438 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13439
13440         * bufferparams.C (hasClassDefaults): new method. Returns true if
13441         the buffer parameters correspond to known class defaults
13442
13443 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13444
13445         * XFormsView.C (show): set minimum size to the main window.
13446
13447 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * text2.C (copySelection):
13450         (cutSelection):
13451         * lyxfind.C (LyXReplace):
13452         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13453         LyXText::selectionAsString.
13454
13455         * paragraph.C (asString): add "label" argument to the second form
13456
13457         * text2.C (selectionAsString): add "label" argument and pass it to
13458         Paragraph::asString.
13459
13460 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * lyx_main.C (commandLineHelp): remove version information
13463
13464 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13465
13466         * lyx_main.C: add -version commandline option
13467
13468 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * paragraph.h: make the optional constructor arg required instead.
13471         some modifications to other files because of this.
13472
13473         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13474
13475         * lyxserver.C (C_LyXComm_callback): make it static
13476
13477         * lyx_main.C (error_handler): make it static
13478
13479         * lyx_gui.C (LyX_XErrHandler): make it static
13480
13481         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13482
13483         * WorkArea.C: make the extern "C" methods static.
13484
13485         * Makefile.am (lyx_LDADD): simplify
13486
13487 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13488
13489         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13490         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13491
13492         * LyXAction.C (init):
13493         * lyxfunc.C (dispatch): associated code removal.
13494
13495 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * lyxfont.h (isSymbolFont): shut off warning
13498
13499         * text.C (setHeightOfRow):
13500         (getVisibleRow): fix crash with empty paragraphs which have a
13501         bottom line
13502
13503 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13504
13505         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13506         code.
13507
13508 2001-09-04  José Matos  <jamatos@fep.up.pt>
13509         * buffer.C
13510         * buffer.h
13511         * tabular.C (docbook): rename docBook method to docbook.
13512
13513 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * Makefile.am: add dependencies to main.o.
13516
13517 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13518
13519         * FontLoader.C (available): Return false if !lyxrc.use_gui
13520
13521 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13522
13523         * FontInfo.C (query):
13524         * converter.C (view):
13525         * importer.C (Import):
13526         * exporter.C (Export): Can not -> cannot.
13527
13528 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * BufferView_pimpl.C: allow to create index inset even if
13531           string is empty
13532
13533 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13534
13535         * buffer.C (getLists): replace boost::tie code with an explicit pair
13536         as boost::tie can break some compilers.
13537
13538         * iterators.h: Added a std:: declaration to the return type of
13539         ParIterator::size.
13540
13541 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13544           case.
13545
13546 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13547
13548         * iterators.[Ch]: New files. Provide paragraph iterators.
13549
13550         * buffer.C (changeLanguage): Use paragraph iterators.
13551         (isMultiLingual): ditto
13552
13553         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13554
13555 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13556
13557         * FontLoader.C: Support for cmr font.
13558
13559 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13562         (available): New method.
13563
13564         * FontInfo.C (getFontname): Use scalable fonts even when
13565         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13566         found.
13567
13568 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * converter.C (Formats::view): reverted! Incorrect fix.
13571
13572 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13573
13574         * converter.C (Formats::view): only output the -paper option
13575         if the dvi viewer is xdvi, thereby fixing bug #233429.
13576
13577 2001-08-23  Herbert Voss  <voss@perce>
13578
13579         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13580
13581 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13582
13583         * Spacing.h (Spacing): Set space to Default on in the default
13584         constructor.
13585
13586 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * vc-backend.h (RCS::versionString): add RCS to version
13589         (CVS::versionString): add CVS to version
13590
13591         * vc-backend.C (scanMaster): do not add CVS to version.
13592         (scanMaster): do not add RCS to version
13593
13594         * lyxvc.C (versionString): new method
13595
13596         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13597
13598 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * Spacing.C (set): initialize fval
13601
13602 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13605         " or \.
13606
13607 2001-08-16  Juergen Vigna  <jug@sad.it>
13608
13609         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13610
13611 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * BufferView_pimpl.C:
13614         * figureForm.C:
13615         * lyxtext.h:
13616         * text2.C: setParagraph takes linespacing now
13617
13618 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13619
13620         * LyxAction.C: add internal LFUN_CITATION_INSERT
13621
13622         * LyXView.C: actually apply fix
13623
13624         * bufferlist.C: fix open non-existent file
13625
13626         * lyxfind.C: fix indentation
13627
13628         * lyxfunc.C: remove unneeded assert, fix typo
13629
13630 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * MenuBackend.C: use "Floatname List"
13633
13634 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13637         when converting LaTeX layout to insetERT.
13638         Generate a non-collapsed float when reading old float
13639
13640 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13641
13642         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13643         ERT insets.
13644
13645 2001-08-13  Juergen Vigna  <jug@sad.it>
13646
13647         * text.C (fill): return 0 instead of 20 as this seems to be the more
13648         correct value.
13649
13650 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13653         lyxrc.font_norm.
13654
13655 2001-08-13  Juergen Vigna  <jug@sad.it>
13656
13657         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13658         casesensitive off.
13659         (SearchBackward): comment out the unlocking of the inset_owner this
13660         should not be needed!
13661
13662 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13663
13664         * Many files: Remove inherit_language, and add latex_language
13665
13666         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13667         collapsible insets.
13668
13669 2001-08-10  Juergen Vigna  <jug@sad.it>
13670
13671         * text.C (prepareToPrint): fixed hfill-width in draw!
13672
13673         * BufferView2.C (selectLastWord): save the selection cursor as this
13674         now is cleared in the function LyXText::clearSelection!
13675
13676 2001-08-08  Juergen Vigna  <jug@sad.it>
13677
13678         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13679         BACKSPACE type functions.
13680
13681         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13682         is only cutted from the document but not put in the cut-buffer, where
13683         still the old stuff should be.
13684
13685         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13686
13687         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13688
13689         * tabular.C (SetWidthOfCell): fixed special case where the width
13690         was not updated!
13691         (LeftLine): handle '|' in align_special.
13692         (RightLine): ditto
13693         (LeftAlreadyDrawed): ditto
13694         (SetWidthOfCell): ditto
13695
13696 2001-08-07  Juergen Vigna  <jug@sad.it>
13697
13698         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13699
13700 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13703         * lyxlex.[hC]: ditto
13704
13705 2001-08-06  Juergen Vigna  <jug@sad.it>
13706
13707         * text.C (getVisibleRow): fix up row clearing a bit.
13708
13709 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * minibuffer.C: make sure the X server sees the changes in the input.
13712
13713 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * paragraph.C (getFont): split into...
13716         (getLabelFont): this
13717         (getLayoutFont): and this
13718         * paragraph_pimpl.C (realizeFont): calling this
13719
13720         * text2.C (getFont): split into...
13721         (getLayoutFont): this
13722         (getLabelFont): and this
13723         (realizeFont): all three calling this
13724
13725         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13726         files where used.
13727
13728 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13729
13730         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13731
13732 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13733
13734         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13735         layouts from the Quote inset insertion.
13736
13737 2001-08-03  Juergen Vigna  <jug@sad.it>
13738
13739         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13740
13741         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13742         only if status not is already CHANGED_IN_DRAW (second level).
13743
13744         * text.C (draw): don't set the need_break_row when inside an
13745         InsetText LyXText.
13746
13747 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * buffer.C (parseSingleLyXformat2Token): handle more latex
13750         conversion cases.
13751
13752         * bufferview_funcs.[hC]: change function names to
13753         begin with small char, adjust other files.
13754
13755 2001-08-02  André Pönitz <poenitz@gmx.net>
13756
13757         * lyxfunc.C:
13758         BufferView_pimpl.C: remove broken special code for math-greek
13759
13760 2001-08-02  Juergen Vigna  <jug@sad.it>
13761
13762         * BufferView_pimpl.C (update): redone this function so that we
13763         update the text again if there was a CHANGE_IN_DRAW.
13764
13765         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13766         (drawFromTo): added a new internal bool which is used by draw() and
13767         redraw() function.
13768         (general): some cursor drawing problems fixed.
13769
13770 2001-08-01  Juergen Vigna  <jug@sad.it>
13771
13772         * lyxfind.C (LyXFind): fixed
13773         (SearchForward): ditto
13774         (SearchBackward): ditto
13775
13776         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13777         spurius drawing of the cursor in the main area.
13778
13779         * text2.C (status): small fix which could lead to a segfault!
13780         (clearSelection): remove unneeded BufferView param.
13781
13782 2001-08-01  André Pönitz <poenitz@gmx.net>
13783
13784         * lyxfunc.C: small change due to changed mathed interface
13785
13786 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13789
13790 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13791
13792         * lyxfunc.c: fail gracefully if file doesn't exist
13793
13794         * LyXSendto.C:
13795         * buffer.C:
13796         * lyxfunc.C:
13797         * BufferView_pimpl.C: IsDirWriteable() proto changed
13798
13799         * LyXView.C: fix updateWindowTitle() to store the last title
13800
13801 2001-07-31  Juergen Vigna  <jug@sad.it>
13802
13803         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13804         the font (wrong since using of Paragraph::highestFontInRange).
13805
13806         * paragraph.C (highestFontInRange): added a default_size parameter.
13807
13808         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13809         (setHeightOfRow): reformat
13810
13811 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13812
13813         * converter.[hC] + affected files: move to (inital-char)lowercase
13814         function names.
13815
13816         * ParagraphParameters.C (ParagraphParameters): remove commented code
13817
13818         * PainterBase.[Ch]: remove commented code
13819
13820         * LaTeXFeatures.h: add "bool floats" for float.sty
13821
13822         * LaTeXFeatures.C (LaTeXFeatures): init floats
13823         (require): handle float
13824         (getPackages): do it with floats
13825
13826 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13827
13828         * BufferView_pimpl.C (Dispatch): improve handling of
13829         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13830
13831         * commandtags.h: #include lyxfont.h here temporarily to avoid
13832         keybinding bug.
13833
13834         * bufferlist.h: include LString.h here.
13835
13836 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * text2.C (getStringToIndex): new method.
13839
13840 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13841
13842         * *: Reduced header file dependencies all over.
13843
13844 2001-07-30  Baruch Even  <baruch@lyx.org>
13845
13846         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13847
13848 2001-07-29  Baruch Even  <baruch@lyx.org>
13849
13850         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13851
13852 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * ParameterStruct.h (endif): add a default constructor to make
13855         sure that all variables is initialized.
13856
13857         * ParagraphParameters.C (ParagraphParameters): adjust
13858
13859 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13862         index; also, check that there is something to index, and that it
13863         does not span over several paragraphs.
13864         (doubleClick): use WHOLE_WORD_STRICT for double click.
13865
13866         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13867
13868         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13869         scheme.
13870
13871 2001-07-26  Baruch Even  <baruch@lyx.org>
13872
13873         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13874         an InsetFig figure, backwards compatible reading of old figure code.
13875
13876 2001-07-27  Juergen Vigna  <jug@sad.it>
13877
13878         * text2.C: font.realize function adaption.
13879
13880         * text.C (draw): add a warnings lyxerr text if needed.
13881
13882         * layout.C: font.realize function adaption.
13883
13884         * language.C: add inherit_language and implement it's handlings
13885
13886         * bufferview_funcs.C (StyleReset): remove language parameter from
13887         font creation (should be language_inherit now).
13888
13889         * bufferparams.C (writeFile): handle ignore_language.
13890
13891         * paragraph.C (getFontSettings): the language has to be resolved
13892         otherwise we have problems in LyXFont!
13893
13894         * lyxfont.C (lyxWriteChanges): added document_language parameter
13895         (update): removed unneeded language parameter
13896
13897         * paragraph.C (validate): fixed wrong output of color-package when
13898         using interface colors for certain fonts in certain environments,
13899         which should not seen as that on the final output.
13900
13901 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * BufferView_pimpl.C:
13904         * Thesaurus.h:
13905         * Thesaurus.C:
13906         * Makefile.am:
13907         * commandtags.h:
13908         * LyXAction.C: add thesaurus support
13909
13910         * lyxfind.h:
13911         * lyxfind.C: add "once" parameter, for thesaurus, to not
13912           move to the next match
13913
13914 2001-07-26  Juergen Vigna  <jug@sad.it>
13915
13916         * lyxfont.C (realize): honor ignore_language too!
13917         (resolved): ditto.
13918
13919         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13920
13921         * text.C (draw): one place more for ignore_language to not draw
13922         itself!
13923
13924 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13927
13928 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13931         the minipage conversion problem.
13932
13933 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13934
13935         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13936         insert an inset.
13937
13938 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * BufferView.h: don't forward declare WorkArea
13941
13942         * BufferView.C: don't include WorkArea.h
13943
13944 2001-07-25  André Pönitz <poenitz@gmx.net>
13945
13946         * commandtags.h:
13947         * LyXAction.C:
13948         * lyxfunc.C:  new LFUN 'math-space'
13949
13950         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13951
13952 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * text2.C (toggleInset): call open/close
13955
13956 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * lyxfunc.C (dispatch): add debug for the disabled case
13959
13960         * font.C (buttonText): make similar to rectText
13961
13962         * buffer.C (readInset): comment out parsing of insetlist and
13963         insttheorem
13964
13965         * PainterBase.C (rectText): small correction
13966
13967         * BufferView_pimpl.C: comment out insettheorem and insetlist
13968         * LyXAction.C: ditto
13969         * commandtags.h: ditto
13970
13971 2001-07-24  Juergen Vigna  <jug@sad.it>
13972
13973         * text.C (draw): honor the ignore_language.
13974
13975         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13976
13977 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13978
13979         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13980         char inset.
13981
13982 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13983
13984         * lyxtext.h: remove unused (and unimplemented) methods
13985
13986 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13987
13988         * text.C (getVisibleRow): honor background color
13989
13990         * PainterBase.h:
13991         * Painter.h: remove default color argument for fillRectangle
13992
13993         * text.C (backgroundColor): new method
13994
13995 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * text.C (getVisibleRow): adjust
13998
13999         * font.[Ch] (rectText): new method, metrics
14000         (buttonText): new method, metrics
14001
14002         * PainterBase.[hC]: make rectText and buttonText always draw and take
14003         fewer paramteres.
14004
14005 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14006
14007         * ToolbarDefaults.C (read):
14008         * MenuBackend.C (read): allow escaping in all strings
14009
14010         * BufferView_pimpl.C (insertAndEditInset): new method.
14011         (Dispatch): use insertAndEditInset whenever appropriate.
14012
14013         * BufferView_pimpl.C (insertNote): removed
14014
14015         * BufferView_pimpl.C (smartQuote): new method, moved from
14016         BufferView; if an insetquote cannot be inserted, insert a '"'
14017         character instead.
14018
14019         * BufferView2.C: remove insertCorrectQuote();
14020
14021         * lyxfunc.C (getStatus): Add support for all remaingin
14022         inset-insert lfuns.
14023
14024         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14025
14026         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14027         command (necessary to pass " as parameter of self-insert.
14028
14029         * text.C (selectWordWhenUnderCursor):
14030         (selectWord): add word_location parameter
14031         (selectWordWhenUnderCursor): same + remove special code for word
14032         boundary.
14033         (selectNextWord): use kind() to guess type of insetspecialchar,
14034         not latex().
14035
14036         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14037         (insertErtContents): create ert insets as collapsed.
14038         (readInset): better compatibility code for Info inset.
14039
14040 2001-07-20  Juergen Vigna  <jug@sad.it>
14041
14042         * lyxfunc.C (dispatch): use always LyXFind now!
14043
14044         * text2.C (init): add a reinit flag so that the LyXText can be
14045         reinited instead of deleted and reallocated (used in InsetText).
14046
14047         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14048
14049         * text.C: ditto
14050
14051         * text2.C: ditto
14052
14053 2001-07-18  Juergen Vigna  <jug@sad.it>
14054
14055         * text.C (selectNextWord): handle insets inside inset by calling
14056         always the bv->text functions so that we can go up the_locking_inset!
14057
14058         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14059         in strange locations when inside an inset!
14060
14061         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14062         handling to include insets.
14063
14064         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14065
14066 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14067
14068         * LyXAction.C (init):
14069         * commandtags.h:
14070         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14071         LIGATURE_BREAK, since the name is so stupid.
14072
14073 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14076         InsetInfos.
14077
14078         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14079
14080         * sp_form.[Ch]: remove.
14081
14082         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14083
14084         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14085         InsetInfo.
14086
14087         * src/buffer.C (readInset): ditto.
14088
14089 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14090
14091         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14092         menuSeparator(), endOfSentenceDot(), ldots() and
14093         hyphenationPoint(), which are therefore removed.
14094         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14095
14096         * LyXAction.C (init):
14097         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14098
14099         * paragraph.C (getWord): removed.
14100
14101         * BufferView_pimpl.C (Dispatch): use last word or selection for
14102         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14103
14104         * lyx_main.C (queryUserLyXDir): do not ask before creating
14105         user_dir, except if it has been named explicitely.
14106
14107 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14108
14109         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14110         a document of zero size.
14111
14112 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14115         approriately in the c-tor and in require().
14116         (getPackages): output the appropriate LaTeX for natbib support.
14117
14118         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14119         variables "use_natbib" and "use_numerical_citations" when reading the
14120         LyX file.
14121         (readInset): read the various natbib cite commands.
14122         (validate): white-space change.
14123
14124         * bufferparams.[Ch]: new variables "bool use_natbib" and
14125         "bool use_numerical_citations".
14126         (writeFile): output them in the LyX file.
14127
14128 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14129
14130         * lyxfunc.C (getStatus): add support for all the inset insertion
14131         commands.
14132
14133         * text2.C (insertInset):
14134         * paragraph.C (insetAllowed):
14135         * BufferView_pimpl.C (insertInset): update to take in account the
14136         renaming of insertInsetAllowed
14137
14138         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14139
14140         * text2.C (getInset): new method. returns inset at cursor position.
14141
14142         * BufferView_pimpl.C (Dispatch): changes because of this.
14143
14144         * LyXAction.C (init): rename open-stuff to inset-toggle.
14145
14146         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14147
14148         * text2.C (toggleInset): renamed from openStuff; use
14149         Inset::open().
14150
14151 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14152
14153         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14154
14155         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14156
14157 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14158
14159         * buffer.C (readLyXformat2): Add filename to the error dialog
14160
14161 2001-07-18  Juergen Vigna  <jug@sad.it>
14162
14163         * tabular.C (GetCellNumber): put an assert here instead of the check!
14164
14165 2001-07-17  Juergen Vigna  <jug@sad.it>
14166
14167         * BufferView_pimpl.C (toggleSelection): adapted too.
14168
14169         * text.C (selectNextWord): adapted for use with insets.
14170         (selectSelectedWord): ditto
14171
14172 2001-07-17  Juergen Vigna  <jug@sad.it>
14173
14174         * sp_spell.C (PSpell): fix initialitation order.
14175
14176 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * paragraph.C: spacing
14179
14180 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14181
14182         * sp_spell.C: repair language selection for pspell
14183
14184 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * lyxfunc.h: change more methods to begin with lower char.
14187
14188 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14189
14190         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14191         for unknown layouts.
14192
14193 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * buffer.C (readLyXformat2): Generate an error dialog if there are
14196         unknown layouts.
14197
14198 2001-07-16  Juergen Vigna  <jug@sad.it>
14199
14200         * sp_spell.C: always compile ISpell part.
14201
14202         * lyxrc.C: added use_pspell entry and it's handling.
14203
14204 2001-07-13  Juergen Vigna  <jug@sad.it>
14205
14206         * sp_spell.C: removed double includes.
14207
14208 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14209
14210         Consistent use of Lsstream.h:
14211         * Lsstream.h: added using std::stringstream for consistencies sake.
14212
14213         * buffer.C: removed using std::stringstream
14214
14215         * lyxfont.C (stateText):
14216         * paragraph.C (asString):
14217         * text.C (selectNextWord, selectSelectedWord):
14218         * text2.C (setCounter):
14219         * vspace.C (asString, asLatexString):
14220         std::ostringstream -> ostringstream.
14221
14222 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14223
14224         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14225         * commandtags.h: add LFUN_HELP_ABOUTLYX
14226         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14227
14228 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14229
14230         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14231         cursorToggle()
14232         * lyx_gui_misc.C: remove spellchecker
14233         * lyxfunc.C: showSpellchecker
14234         * sp_base.h: added
14235         * sp_ispell.h: added
14236         * sp_pspell.h: added
14237         * sp_spell.C: added
14238         * sp_form.[Ch]: removed
14239         * spellchecker.[Ch]: removed
14240
14241 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14242
14243         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14244         is set.
14245         (simpleTeXSpecialChars): Simply print the input character without
14246         any special translation if pass_thru is set.
14247
14248         * layout.h: Added bool pass_thru to layout class for being able to
14249         implement pass through of a paragraph for Literate Programming.
14250
14251         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14252         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14253         * layout.C (Read): add "passthru" to list of layout tags and add
14254         code to set the pass_thru boolean when it is read.
14255
14256 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * trans_decl.h: remove allowed from KmodInfo
14259
14260         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14261         remove allowed code
14262         (Load): adjust
14263
14264         * paragraph_pimpl.C (erase): use boost::prior
14265
14266         * Painter.C (text): use data() instead of c_str() when length is
14267         also provided.
14268         * WorkArea.C (putClipboard): ditto
14269         * font.h (width): ditto
14270
14271         * BufferView2.C: use it-> instead of (*it). for iterators
14272         * texrow.C: ditto
14273         * paragraph_pimpl.C: ditto
14274         * paragraph.C: ditto
14275         * minibuffer.C: ditto
14276         * language.C: ditto
14277         * kbmap.C: ditto
14278         * encoding.C: ditto
14279         * counters.C: ditto
14280         * converter.C: ditto
14281         * chset.C: ditto
14282         * Variables.C: ditto
14283         * TextCache.C: ditto
14284         * MenuBackend.C: ditto
14285         * LyXAction.C: ditto
14286         * LColor.C: ditto
14287         * FloatList.C: ditto
14288         * DepTable.C: ditto
14289         * ColorHandler.C (LyXColorHandler): ditto
14290
14291 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14294
14295         * text2.C (openStuff): reintroduce this method (which had been
14296         nuked in NEW_INSETS frenzy).
14297
14298         * lyxfunc.C (Dispatch): when an action has not been handled, use
14299         its name in the error message, not its number.
14300
14301         * paragraph.C (inInset): change method name to begin with lowercase.
14302
14303         * undo_funcs.C:
14304         * text2.C: updates because of this.
14305
14306 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * ToolbarDefaults.C (add): add spaces in error message
14309
14310 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14313         (readLyXformat2): rename return_par to first_par, use lyxlex's
14314         pushToken and remove the manual push handling.
14315         (parseSingleLyXformat2Token): add another ert comp. variable:
14316         in_tabular, rename return_par to first_par. handle newlines better
14317
14318 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14321
14322 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * text2.C (getParFromID): removed
14325
14326         * buffer.C (getParFromID): new method moved form lyxtext.
14327         * BufferView2.C (insertErrors): adjust
14328         (setCursorFromRow): adjust
14329         * BufferView_pimpl.C (restorePosition): adjust
14330         * lyxfunc.C (Dispatch): adjust
14331         * undo_funcs.C (textUndo): adjust
14332         (textRedo): adjust
14333         (textHandleUndo): adjust
14334         (textHandleUndo): adjust
14335
14336 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14337
14338         * buffer.C: up' the LYX_FORMAT
14339
14340         * lyxfont.h: turn NO_LATEX on as default
14341
14342         * buffer.C (insertErtContents): new methods of tex style compability.
14343         (parseSingleLyXformat2Token): use it several places.
14344         * tabular.C (OldFormatRead): and here
14345
14346 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14347
14348         * text2.C: remove some commented code.
14349         reindent file.
14350
14351         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14352         * trans.C: changes because of the above.
14353
14354 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14355
14356         * text2.C (setCounter): Fix counters bug with bibliography layout.
14357
14358 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14359
14360         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14361         own member functions
14362         (simpleTeXSpecialChars): ditto
14363
14364 2001-07-06  Juergen Vigna  <jug@sad.it>
14365
14366         * a lot of files: changed the access to LyXText::status and the
14367         call of undo-functions.
14368
14369         * undo.[Ch]: added a inset_id to the undo informations.
14370
14371         * undo_funcs.[Ch]: added and moved here all undo functions.
14372
14373         * lyxtext.h: give the status enum a weight, made status_ a private
14374         variable and made accessor functions for it, removed the whole bunch
14375         of undo-functions as they are now in their own file, make some
14376         functions publically available. Added function ownerParagraph with
14377         int parameter.
14378
14379         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14380         made InInset() a const function, added getParFromID() function.
14381
14382         * buffer.[Ch]: added const version for inset_iterator functions,
14383         added getInsetFromID() function.
14384
14385         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14386         changed undo functions for new version.
14387
14388 2001-07-05  Juergen Vigna  <jug@sad.it>
14389
14390         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14391         unknow mechanism does not call the proper constructor but only this
14392         one also if I request the other!?
14393
14394 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14395
14396         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14397
14398         * text2.C (LyXText): use initialization lists.
14399
14400         * lyxtext.h (Selection): initialize set_ and mark_
14401         (init): remove method
14402
14403 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14406
14407 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * screen.[Ch]: change method names to begin with lowercase
14410
14411         * BufferView_pimpl.C (updateScrollbar): simplify further and
14412         hopefully make it a bit faster.
14413
14414 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14417         calling directly xforms functions.
14418
14419         * Painter.C (Painter):
14420         * lyx_cb.C (MenuWrite):
14421         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14422         fl_display.
14423
14424         * lyx_gui.C: remove bogus guiruntime extern declaration.
14425
14426 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14427
14428         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14429         in NEW_INSETS
14430         (redoDrawingOfParagraph): ditto
14431         (redoParagraphs): ditto
14432         (cutSelection): don't create a object for CutAndPaste use the
14433         static method directly
14434         (pasteSelection): ditto
14435
14436         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14437         LyXview (+ rename)
14438
14439 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * modifications to some other files because of this.
14442
14443         * Makefile.am (lyx_SOURCES): add XFormsView
14444
14445         * XFormsView.[Ch]: new files
14446
14447         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14448         the main window. Move the gui dependent stuff to XFormsView
14449
14450 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * tabular.C (GetCellInset): update cur_cell also in the row/col
14453         version of this function.
14454
14455         * lyxfunc.C: no need to include figure_form.h here.
14456
14457         * FontLoader.h:
14458         * lyxfunc.h:
14459         * lyxscreen.h:
14460         * text2.C:
14461         * lyxvc.C: no need to include forms.h here.
14462
14463 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14466
14467         * lyxfunc.C (Dispatch):
14468         * Spacing.C (set):
14469         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14470         constructor argument.
14471
14472 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * paragraph.C (Paragraph): dont't clear, and just set layout.
14475         (makeSameLayout): use params's copy contructor.
14476
14477         * ParagraphParameters.[Ch] (makeSame): delete method
14478
14479 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * Variables.[Ch]: fix indentation, rename set to isSet
14482
14483 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14484
14485         * lyxfunc.C (Dispatch): fix typo
14486
14487 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14490         upper_bound.
14491
14492         * bufferlist.C: include assert.h for emergencyWrite().
14493
14494 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14497           give up at last (bug #425202) !
14498
14499 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * lyx_gui_misc.C:
14502         * sp_form.h:
14503         * sp_form.C:
14504         * spellchecker.h:
14505         * spellchecker.C: strip spellchecker options and bring up
14506           preferences tab instead
14507
14508 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14509
14510         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14511         the istringstream constructor
14512
14513 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * paragraph.C (getLayout): fix return value
14516
14517         * paragraph.h: do not declare getLayout as inline.
14518
14519         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14520
14521 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * lyxcursor.h (operator<): new func
14524         (operator>): new func
14525         (operator>=): new func
14526         (operator<=): new func
14527
14528         * text.C (changeCase): use selection.start and selection.end
14529         (changeRegionCase): require from to be <= to. Require par to be a
14530         valid paragraph.
14531
14532         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14533
14534 2001-06-27  Juergen Vigna  <jug@sad.it>
14535
14536         * text.C (cursorLeftOneWord): changed to return the cursor and added
14537         overlay with BufferView * parameter which calls this one.
14538         (getWord): added
14539         (selectWord): use new getWord function.
14540         (changeCase): renamed from changeWordCase as and extended to work
14541         also on selections.
14542
14543         * lyxtext.h: added enum word_location
14544
14545         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14546         changeCase as this operates now also on selections.
14547
14548 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14549
14550         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14551
14552         * many files: send debug output to Debug::INFO instead of
14553         Debug::ANY.
14554
14555         * converter.C (View):
14556         (Convert):
14557         (Move): send debug output to Debug::FILES instead of console.
14558
14559 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14560
14561         * lyxfunc.C (getStatus): use func_status
14562
14563         * func_status.h: new header, describing the results of
14564         LyXFunc::getStatus;
14565
14566         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14567         LFUN_MATH_HALIGN.
14568
14569 2001-06-25  The LyX Project  <jug@sad.it>
14570
14571         * buffer.C (sgmlOpenTag):
14572         (sgmlCloseTag):
14573         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14574
14575 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * text2.C: remove some dead code
14578
14579         * tabular.C (GetCellInset): store the last cell checked (gotten)
14580
14581         * tabular.h: add the helper for the speedup
14582
14583         * lyxtext.h: remove some dead code
14584
14585 2001-06-26  The LyX Project  <Asger>
14586
14587         * paragraph.C: Change export to LaTeX of alignment to
14588         \begin{center} and family for better roundtrip work with reLyX.
14589
14590         * Tune the math drawing a bit.
14591
14592 2001-06-25  The LyX Project  <Asger>
14593
14594         * LColor.C (LColor): New color for math background. New color
14595         for buttons.
14596
14597 2001-06-25  The LyX Project  <jug@sad.it>
14598
14599         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14600
14601         * lyxfunc.C (Open):
14602         * bufferlist.C (newFile): do not restrict to files ending with
14603         .lyx
14604
14605         * BufferView_pimpl.C (MenuInsertLyXFile):
14606
14607 2001-06-24  The LyX Project  <jug@sad.it>
14608
14609         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14610         of compare_no_case
14611
14612 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * lyxtext.h: rename most methods to begin with a small char.
14615         Lots of changes because of this.
14616
14617         * paragraph.C (Paragraph): do not call fitToSize
14618         (erase): call Pimpl::erase
14619         (insertChar): call Pimpl::insertChar
14620         (insertInset): call Pipl::insertInset
14621         (breakParagraph): do not call fitToSize
14622         (breakParagraphConservative): do not call fitToSize
14623         (fitToSize): remove method
14624
14625         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14626
14627 2001-06-24  The LyX Project  <Asger>
14628
14629         * Fix Qt compilation^2
14630
14631 2001-06-24  The LyX Project  <jug@sad.it>
14632
14633         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14634         depthHook(getDepth()-1).
14635
14636         * paragraph.h:
14637         * ParagraphParameters.h:
14638         * ParameterStruct.h: change type of depth to unsigned int ==
14639         depth_type. Many adaptations to other files before of that.
14640
14641 2001-06-24  The LyX Project  <Asger>
14642
14643         * Fix Qt compilation.
14644
14645 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * paragraph.h: renamed several methods to begin with small letter.
14648         several changes to many parts of the code because of this.
14649
14650 2001-06-23  The LyX Project  <jug@sad.it>
14651
14652         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14653         rewritten to discard all double spaces when KeepEmpty is off
14654         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14655         to only handle newlines but not fiddle with spaces and friends.
14656
14657         * lyxfunc.C (MenuNew): when doing 'new from template', use
14658         template_path as default directory
14659
14660 2001-06-23  The LyX Project  <Asger>
14661
14662         * Clean-up of header file includes all over
14663         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14664
14665 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * paragraph.h: renamed from lyxparagraph.h
14668
14669 2001-06-23  Asger  <lyx@violet.home.sad.it>
14670
14671         * Buffer.h: Removed Buffer::resize
14672         * BufferList.h: Removed BufferList::resize
14673         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14674         the document lazily when we change the width, or the font settings.
14675
14676 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14679
14680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14681
14682         * buffer.h: remove out of date comment
14683
14684 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * lyxscreen.h:
14687         * screen.C: fix "theoretical" GC leak
14688
14689 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * LaTeX.C (scanAuxFile):
14692         (deplog): remove trailing \r when reading stream (useful under
14693         win32)
14694
14695 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14698         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14699         and BufferView::theLockingInset(Inset*), so should use them and not
14700         access bv_->text->the_locking_inset directly.
14701
14702         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14703
14704 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14705
14706         * Makefile.am:
14707         * tex-defs.h: remove old unused file
14708
14709 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * BufferView_pimpl.C: fix typo, remove minibuffer message
14712           when buffer has loaded
14713
14714 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14715
14716         * lyxfunc.C (Dispatch): use stringstream
14717         (MenuNew): use stringstream
14718         (Open): use stringstream
14719
14720         * importer.C (Import): use stringstream
14721
14722         * bufferview_funcs.C (CurrentState): use stringstream
14723
14724         * LaTeX.C (run): use stringstream
14725
14726         * BufferView_pimpl.C (savePosition): use stringstream
14727         (restorePosition): use stringstream
14728         (MenuInsertLyXFile): use stringstream
14729
14730 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14731
14732         * BufferView.C:
14733         * Bullet.C:
14734         * ColorHandler.C:
14735         * FontInfo.C:
14736         * FontLoader.C:
14737         * LColor.C:
14738         * LaTeXFeatures.C:
14739         * Painter.C:
14740         * gettext.C:
14741         * lyx_gui_misc.C:
14742         * lyxserver.C:
14743         * vspace.C: removed // -*- C++ -*- as first line.
14744
14745         * lyxfind.h:
14746         * version.h: added // -*- C++ -*- as first line.
14747
14748 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14751
14752         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14753         of string
14754
14755 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14756
14757         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14758         of floats.
14759
14760 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * gettext.C: include LString.h even when --disable-nls is on.
14763
14764 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14765
14766         * converter.h (Get): changed argument type from int to
14767         FormatList::size_type to avoid unnecessary conversion.
14768
14769         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14770         before using it.
14771
14772 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * gettext.h: include LString.h even when --disable-nls is on.
14775
14776 2001-06-07  Juergen Vigna  <jug@sad.it>
14777
14778         * text.C (BreakAgain): subst spaces with tabs.
14779
14780         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14781         (resizeInsetsLyXText): set force on resizeLyXText.
14782
14783 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14784
14785         * gettext.h (gettext_init):
14786         (locale_init): use a real definition instead of a macro
14787
14788 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14789
14790         * Bufferview_pimpl.C:
14791         * LColor.h:
14792         * LColor.C: further lcolor tidies
14793
14794 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14795
14796         * BufferView_pimpl.C (updateScrollbar): simplify.
14797
14798         * BufferView2.C: don't include insets/insetinfo.h, change
14799         prototype for insertInset and call the Pimpl version. let
14800         updateInset call Pimpl version.
14801
14802         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14803         gotoInset to BufferView::Pimpl
14804
14805 2001-06-01  Juergen Vigna  <jug@sad.it>
14806
14807         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14808         inside a LockingInset (is the update needed at all?).
14809
14810 2001-05-31  Juergen Vigna  <jug@sad.it>
14811
14812         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14813         here not the old one otherwise how should we compare it afterwards
14814         if it's the same!
14815
14816 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * lyxfont.C:
14819         * tabular.C:
14820         * tabular-old.C:
14821         * FontInfo.C: bring C functions into global namespace when
14822         necessary
14823
14824 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * LString.h: make sure config.h has been loaded before LString.h.
14827
14828         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14829         (one for each char read by EatLine!).
14830
14831         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14832         variables.
14833
14834 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14837         to the same as the par we break from
14838
14839 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14842
14843         * MenuBackend.C (expand): also create menu entries for wide
14844         versions of the floats.
14845
14846         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14847
14848         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14849
14850         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14851         frontends/Makefile.am
14852
14853         * text2.C: adjust
14854         * text.C: adjust
14855
14856
14857         * tabular.C (getTokenValue): add std::
14858
14859         * tabular-old.C (getTokenValue): add std::
14860         (getTokenValue): ditto
14861         (getTokenValue): ditto
14862
14863         * screen.C (ToggleSelection): adjust
14864
14865         * lyxtext.h: put selection cursors inside a Selection struct.
14866
14867         * lyxfunc.C (moveCursorUpdate): adjust
14868
14869         * lyxfont.C (latexWriteStartChanges): add std::
14870
14871         * lyxfind.C: adjust
14872
14873         * font.h: delete with(char const *, LyXFont const &)
14874
14875         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14876
14877         * FontInfo.C (getFontname): add std::
14878
14879         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14880         (workAreaButtonPress): adjust
14881         (tripleClick): adjust
14882         (update): adjust
14883         (moveCursorUpdate): adjust
14884         (Dispatch): adjust
14885
14886         * BufferView2.C (gotoInset): adjust
14887
14888 2001-05-30  Juergen Vigna  <jug@sad.it>
14889
14890         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14891         to check pspell I add this as default as I now have new pspell
14892         libraries and they seem to use this.
14893
14894 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * text2.C (CutSelection): make the cursor valid before the call to
14897         ClearSelection.
14898
14899 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14902         relied on 0 terminated strings and other horrors. Bug found due to
14903         the new assert in lyxstring!
14904
14905         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14906         KP_ keys.
14907
14908 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14911         to latinkeys.bind.
14912
14913         * lyxfunc.C (processKeySym): change method of getting to the
14914         self-insert char.
14915
14916         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14917         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14918         * BufferView_pimpl.[Ch]: here as private methods.
14919
14920 2001-05-28  Juergen Vigna  <jug@sad.it>
14921
14922         * text.C (SetHeightOfRow): added the update() call again as it is
14923         needed to initialize inset dimensions!
14924
14925 2001-05-16  Juergen Vigna  <jug@sad.it>
14926
14927         * text2.C (SetCharFont): Add new function with BufferView * and
14928         bool toggleall parameters for setting insets internal fonts.
14929         (SetFont): Freeze the undo as we may change fonts in Insets and
14930         all this change should be inside only one Undo!
14931
14932         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14933         setting font's in insets as for them we have the SetFont function!
14934
14935 2001-05-15  Juergen Vigna  <jug@sad.it>
14936
14937         * text2.C (ClearSelection): to be sure we REALLY don't have any
14938         selection anymore!
14939
14940         * tabular.C (TeXCellPreamble): fixed the left border problem for
14941         multicolumn cells.
14942
14943 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14944
14945         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14946         dependancy file
14947
14948 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14949
14950         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14951         LFUN_BREAKPARAGRAPH.
14952
14953         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14954         help test to "internal only", similar for LFUN_INSERT_URL
14955
14956         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14957         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14958         auto_region_delete and deadkeys.
14959
14960 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * LColor.h:
14963         * LColor.C: remove some dead entries, tidy a little
14964
14965 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14968         commented code.
14969         (Dispatch): implement LFUN_ESCAPE
14970
14971         * commandtags.h: add LFUN_ESCAPE
14972
14973         * LyXAction.C (init): add entry for LFUN_ESCAPE
14974
14975         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14976         Remove commented code.
14977         (insertNote): moved here
14978         (open_new_inset): moved here
14979
14980         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14981         BufferView_pimpl
14982
14983 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * kbmap.C (findbinding): clean it up and make it work correctly.
14986
14987         * lyx_main.C (init): do not pass argc and argv as parameters
14988
14989 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14990
14991         * buffer.C: fix path for OS/2 & Win32
14992
14993         * lyx_gui.C:
14994         * lyx_main:
14995         * lyx_main.C: Added os:: class.
14996
14997         * os2_defines.h: update
14998
14999 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15002         better by trying again with reduced state.
15003
15004 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * lyxrc.C (read): print error about invalid key sequence only when
15007         debugging (because not all latinX keysyms are known to some X
15008         servers)
15009
15010         * kbsequence.C (getiso): add a few std:: qualifiers
15011         (getiso): comment out extra return statement.
15012
15013 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15014
15015         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15016         handling.
15017         (Dispatch): enhance the accent inset a bit. (not perfect)
15018
15019 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15020
15021         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15022
15023 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * bufferlist.C (emergencyWrite): fix assert() call
15026
15027 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15028
15029         * text.C (InsertChar): Added trivial patch to only send the "you
15030         can not do multiple spaces this way" message once during a
15031         session.
15032
15033 2001-05-08  Baruch Even  <baruch@lyx.org>
15034
15035         * Makefile.am: Changed order of libraries to get LyX to link properly
15036         with the gnome frontend.
15037
15038 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * LaTeXFeatures.h: add a std:: qualifier
15041
15042 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15043
15044         * paragraph.C (String): use stringstream
15045
15046 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * paragraph.C (writeFile): remove footflag arg
15049
15050         * buffer.C (makeLaTeXFile): use stringstream
15051         (latexParagraphs): remove footnot gurba
15052
15053         * LaTeXFeatures.C (getPackages): use stringstream
15054         (getMacros): likewise
15055         (getTClassPreamble): likewise
15056         (getFloatDefinitions): new method
15057
15058         * paragraph.C (writeFile): reindent
15059         (Erase): reindent
15060
15061         * WorkArea.h: revert the xpos + etc changes.
15062
15063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15064
15065         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15066
15067         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15068         (pasteSelection): likewise
15069         * text2.C (CreateUndo): likewise
15070
15071 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * minibuffer.C (peek_event): temporarily reduce the functionality
15074         of the minibuffer (to allow args on lfuns)
15075
15076         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15077         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15078
15079         * buffer.C (readInset): add compability reading of old float
15080         lists, add reading of new style float list.
15081         (readInset): avoid reevaluation of inscmd.getCmdName()
15082         (getLists): reindent
15083
15084         * MenuBackend.C (MenuItem): implement parsing of
15085         md_floatlistinsert and md_floatinsert.
15086         (expand::LastFiles): move initalizaton of iterators out of loop,
15087         avoid reevaluation.
15088         (expand::Documents): introduce typdedef vector<string> Strings,
15089         and use it.
15090         (expand::ExportFormats): introduce typedef vector<Format const *>
15091         Formats, and use it.
15092         (expand): implement FloatListInsert and FloatInsert.
15093
15094         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15095         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15096         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15097
15098         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15099         handling.
15100         (Dispatch::LFUN_FLOAT_LIST): implement
15101
15102 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15103
15104         * LaTeX.C (run): Fix problem with --export code.
15105
15106 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15107
15108         * BufferView.[Ch] (workarea): removed.
15109         (getClipboard) new method; wrapper for workarea()->getClipboard()
15110
15111         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15112         bug.
15113
15114         * WorkArea.h (width, height, xpos, ypos): These methods all
15115         returned the dimensions of the work_area sub-area of WorkArea,
15116         resulting in a position error if the WorkArea were resized. Now
15117         return the dimensions of the entire WorkArea.
15118
15119         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15120
15121 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * LaTeX.C (deplog): correct the syntax of regex reg1
15124
15125 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * undo.C: remove !NEW_INSETS cruft
15128
15129 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15130
15131         * text2.C: remove !NEW_INSETS cruft
15132
15133         * text.C: remove !NEW_INSETS cruft
15134
15135         * tabular.C: remove !NEW_INSETS cruft
15136
15137         * spellchecker.C: remove !NEW_INSETS cruft
15138
15139         * lyxtext.h: remove !NEW_INSETS cruft
15140
15141         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15142
15143         * lyxfunc.C: remove !NEW_INSETS cruft
15144
15145         * lyxfind.C: remove !NEW_INSETS cruft
15146
15147         * lyx_cb.C: remove !NEW_INSETS cruft
15148
15149         * figureForm.C: remove  !NEW_INSETS cruft
15150
15151         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15152
15153         * buffer.[Ch]: remove !NEW_INSETS cruft
15154
15155         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15156
15157         * CutAndPaste.C: remove !NEW_INSETS cruft
15158
15159         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15160
15161         * BufferView2.C: remove !NEW_INSETS cruft
15162
15163         * BufferView.h: remove !NEW_INSETS cruft
15164
15165 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * Lsstream.h: include LString.h before the sstream headers to
15168         fix problem with gcc 2.95.3 and lyxstring
15169
15170 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * lyx_main.C: add using directives when needed for C functions
15173         declared in std:: namespace.
15174
15175 2001-04-27  Juergen Vigna  <jug@sad.it>
15176
15177         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15178         (SetHeightOfRow): comment out the update call should not be needed!
15179
15180 2001-04-13  Juergen Vigna  <jug@sad.it>
15181
15182         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15183         (LyXTabular): tried to minimize operator= operations (and realized
15184         hopfully Lars wish).
15185
15186 2001-04-27  Juergen Vigna  <jug@sad.it>
15187
15188         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15189
15190 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15191
15192         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15193
15194         * buffer.C (readInset): hack to make listof algorithm work
15195
15196         * BufferView_pimpl.C: hack to make listof algorithm work
15197
15198 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15199
15200         * LyXAction.C: removed all !NEW_INSETS cruft
15201         (init): moved lfun_item in method
15202
15203         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15204
15205 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15206
15207         * BufferView2.C (theLockingInset): white space.
15208
15209 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * minibuffer.C: include <iostream>
15212
15213         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15214
15215         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15216
15217         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15218
15219         * text.[Ch] (TransposeChars): new method
15220
15221 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * call message directly through LyXView instead of through LyXFunc
15224         * BufferView2.C: adjust
15225         * BufferView_pimpl.C: adjust
15226         * FontLoader.C: adjust
15227         * buffer.C: adjust
15228         * bufferview_funcs.C: adjust
15229         * converter.C: adjust
15230         * figureForm.C: adjust
15231         * importer.C: adjust
15232         * lyx_cb.C: adjust
15233         * lyx_gui_misc.C: adjust
15234         * lyxfunc.C: adjust
15235         * lyxvc.C: adjust
15236         * text2.C: adjust
15237         + more files in subdirs
15238
15239         * lyxparagraph.h (size): move up int file
15240         (GetLayout): ditto
15241
15242         * adjust all uses of Assert to lyx::Assert.
15243
15244         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15245         lyxfunctional in namespace lyx
15246         * layout.C (hasLayout): ditto
15247         (GetLayout): ditto
15248         (GetLayout): ditto
15249         (delete_layout): ditto
15250         (NumberOfClass): ditto
15251         * converter.C (GetFormat): ditto
15252         (GetNumber): ditto
15253         (Add): ditto
15254         (Delete): ditto
15255         (SetViewer): ditto
15256         * bufferlist.C (getFileNames): ditto
15257         (emergencyWriteAll): ditto
15258         (exists): ditto
15259         (getBuffer): ditto
15260         * MenuBackend.C (hasSubmenu): ditto
15261         (hasMenu): ditto
15262         (getMenu): ditto
15263         * BufferView_pimpl.C (getInsetByCode): ditto
15264
15265 2001-04-18  Juergen Vigna  <jug@sad.it>
15266
15267         * vspace.C (asLatexString): fixed the 100% problem.
15268
15269 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * lyxfunc.C (Dispatch):
15272         * minibuffer.C:
15273         * minibuffer.h: add a few std:: qualifiers
15274
15275 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * minibuffer.[Ch]: reimplement so that commands is initiated and
15278         run from lyxfunc, simplified som handling, and made the completion
15279         and history code for complete. wip.
15280
15281         * lyxfunc.C (processKeySym): call message
15282         (miniDispatch): new temporary method
15283         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15284         (LFUN_MESSAGE): implement
15285         (LFUN_MESSAGE_PUSH): implement
15286         (LFUN_MESSAGE_POP): implement
15287         (initMiniBuffer): the initial/defualt minibuffer message.
15288
15289         * lyxfont.[Ch]: inline some more getters
15290
15291         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15292
15293         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15294
15295         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15296         (AutoSave): use LFUN_MESSAGE
15297         (Reconfigure): ditto
15298
15299         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15300
15301         * figureForm.C: use LFUN_MESSAGE
15302
15303         * converter.C (runLaTeX): use LFUN_MESSAGE
15304
15305         * bufferview_funcs.C: use LFUN_MESSAGE
15306         (Melt): ditto
15307         (changeDepth): ditto
15308
15309         * bufferparams.h: use boost::
15310
15311         * bufferlist.h: inherit privately from noncopyable
15312
15313         * bufferlist.C (loadLyXFile): remove some commented code.
15314
15315         * buffer.C (runChktex): use LFUN_MESSAGE
15316
15317         * ShareContainer.h: inherit privately from noncopyable
15318
15319         * ParagraphParameters.[hC] (depth): inline it.
15320
15321         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15322         methods.
15323         (message): new method
15324         (messagePush): ditto
15325         (messagePop): ditto
15326         (show): init minibuffer
15327         (showState): direct call
15328
15329         * LaTeX.[Ch]: inherit privately from noncopyable
15330         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15331         instead of WriteStatus.
15332
15333         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15334
15335         * BufferView_pimpl.C (buffer): don't init minibuffer
15336         (workAreaButtonPress): use LFUN_MESSAGE
15337         (workAreaButtonRelease): ditto
15338         (savePosition): ditto
15339         (restorePosition): ditto
15340         (MenuInsertLyXFile): ditto
15341         (workAreaExpose): don't init minibuffer
15342         (update): remove commented code, simplify
15343
15344         * BufferView2.C (openStuff): use LFUN_MESSAGE
15345         (toggleFloat): ditto
15346         (menuUndo): ditto
15347         (menuRedo): ditto
15348         (copyEnvironment): ditto
15349         (pasteEnvironment): ditto
15350         (copy): ditto
15351         (cut): ditto
15352         (paste): ditto
15353         (gotoInset): ditto
15354         (updateInset): remove some commented code
15355
15356         * lastfiles.h: inherit privately from noncopyable
15357         * layout.h: ditto
15358         * lyx_gui.h: ditto
15359         * lyx_main.h: ditto
15360         * lyxlex.h: ditto
15361         * lyxlex_pimpl.h: ditto
15362
15363         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15364         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15365         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15366
15367         * LyXAction.h: inherit privately from noncopyable, add methods
15368         func_begin, func_end, returning iterators to the func map.
15369
15370         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15371         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15372         (func_begin): new method
15373         (func_end): new method
15374
15375         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15376         and not)
15377         (copySelection): ditto
15378         (pasteSelection): ditto
15379
15380         * BufferView.C: whitespace change
15381         * BufferView.h: inherit privately from noncopyable
15382
15383 2001-04-16  Allan Rae  <rae@lyx.org>
15384
15385         * tabular-old.C (l_getline):
15386         * spellchecker.C (sc_check_word):
15387         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15388         an unrecognised preprocessor directive.  So ensure they're wrapped.
15389
15390 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * src/exporter.C (Export): Give an error message when path to file
15393         contains spaces.
15394
15395 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15396
15397         * LaTeX.C (deplog): Always check that foundfile exists.
15398
15399 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * lyx_main.h:
15402         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15403
15404 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * tabular.[Ch] (getLabelList): implement new method
15407
15408         * minibuffer.h: comment ouf setTiimer
15409
15410         * minibuffer.C (ExecutingCB): constify res
15411         (peek_event): constify s
15412         (Set): constify ntext
15413         (Init): constify nicename
15414
15415         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15416
15417         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15418         (savePosition): use two params to Minibuffer::Set
15419         (restorePosition): ditto
15420
15421 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * lyx_main.C: include language.h
15424
15425         * Makefile.am (lyx_main.o): add language.h
15426
15427 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * exporter.C:
15430         * paragraph.C:
15431         * screen.C:
15432         * tabular.C:
15433         * CutAndPaste.C: include gettext.h
15434
15435         * lyxfont.h: remove old hack with ON and OFF.
15436
15437         * lyxparagraph.h:
15438         * lyxfont.h: do not include language.h...
15439
15440         * BufferView2.C:
15441         * LaTeXFeatures.C:
15442         * Painter.C:
15443         * bufferview_funcs.C:
15444         * font.C:
15445         * lyxfont.C:
15446         * text.C:
15447         * text2.C:
15448         * trans_mgr.C:
15449         * paragraph.C: ... but do it here instead
15450
15451 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15452
15453         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15454
15455         * tabular.C: small reformat
15456
15457         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15458         NEW_INSETS version
15459         (GetChar): ditto
15460         (BreakParagraph): ditto
15461         (SetOnlyLayout): ditto
15462         (SetLayout): ditto
15463
15464         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15465         with one arg less.
15466
15467         * lastfiles.C: removed most using decl, add std:: where needed
15468
15469         * buffer.C: ws changes
15470
15471         * MenuBackend.C (class compare_format): put into anon namespace
15472         (expand): constify label, names, action, action2
15473         (expand):
15474
15475         * text.C (SingleWidth): constify font
15476         (IsBoundary): constify rtl2
15477         (GetVisibleRow): constify ww
15478
15479         * LaTeX.C (deplog): constify logfile
15480
15481         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15482         start_x, end_x
15483         (workAreaExpose): constify widthChange, heightChange
15484
15485         * lyxrow.C (par): moved
15486         (height): moved
15487         (next): moved
15488         * lyxrow.h: as inlines here
15489
15490         * lyxfont.h (shape): moved from lyxfont.C
15491         (emph): moved from lyxfont.C
15492
15493         * lyxfont.C (LyXFont): use initialization list for all
15494         constructors
15495         (shape): move to lyxfont.h as inline
15496         (emph): move to lyxfont.h as inline
15497
15498
15499 2001-04-04  Juergen Vigna  <jug@sad.it>
15500
15501         * vspace.C: had to include stdio.h for use of sscanf
15502
15503 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15504
15505         * BufferView.h:
15506         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15507         independent of xforms.
15508
15509 2001-04-02  Juergen Vigna  <jug@sad.it>
15510
15511         * spellchecker.C: fixed namespace placing!
15512
15513 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15514
15515         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15516         the LyXParagraph * is 0.
15517
15518 2001-03-29  Juergen Vigna  <jug@sad.it>
15519
15520         * vspace.C: added support for %, c%, p%, l%.
15521         (stringFromUnit): added helper function.
15522         (asLatexString): changed to give right results for the %-values.
15523
15524         * buffer.C: convert the widthp in a width%.
15525
15526 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15527
15528         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15529         figureForm.[Ch].
15530
15531         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15532         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15533
15534         * lyx_cb.[Ch]: see above.
15535
15536         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15537         form1.[Ch].
15538
15539         * form1.[Ch]:
15540         * lyx.[Ch]: replaced by figure_form.[Ch].
15541
15542         * lyx_gui.C:
15543         * lyx_gui_misc.C:
15544         * lyxfunc.C: changed headers associated with above changes.
15545
15546 2001-03-27  Juergen Vigna  <jug@sad.it>
15547
15548         * BufferView_pimpl.C: set the temporary cursor right!
15549
15550 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15553
15554 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15555
15556         * LString.h: removed "using std::getline"!
15557
15558         * BufferView_pimpl.C (Dispatch): changes due to changes in
15559         InsetInclude::Params.
15560
15561         * buffer.C (tag_name): removed redundant break statements as they were
15562         producing lots of warnings with my compiler.
15563
15564 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * LString.h: add "using std::getline" when using the real <string>.
15567
15568 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15569
15570         * buffer.C: removed bitset usage.
15571         PAR_TAG moved to an anonymous name space.
15572         (tag_name): new funtion, also in the anonymous namespace.
15573         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15574         (makeDocBookFile): clean code. Completed transition from string arrays
15575         to string vectors.
15576         (SimpleDocBookOnePar): code clean.
15577
15578 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15579
15580         * tabular.C: add some comments.
15581
15582 2001-03-22  Juergen Vigna  <jug@sad.it>
15583
15584         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15585         compatibility read a bit and fixed bug with minipage in different
15586         depth.
15587
15588 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15589
15590         * buffer.C (pop_tag): removed.
15591         (push_tag): removed.
15592         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15593         array replaced with vector. Added support for CDATA sections.
15594         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15595         at any nest level.
15596         (makeDocBookFile): XML conformant declaration of CDATA section,
15597         fixed bug related to <emphasis> in the first paragraph char.
15598         (sgmlOpenTag): exclude empty tags.
15599         (sgmlCloseTag): ditto.
15600
15601         * buffer.h (pop_tag): removed.
15602         (push_tag): removed.
15603
15604 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15605
15606         * language.h (Languages): added size_type and size().
15607
15608 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15609
15610         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15611         response on compability reading of minipages. One probliem is that
15612         the old usage of minipages was «flertydig»
15613
15614         * several files here and in subdirs: don't use static at file
15615         scope use anon namespaces instead.
15616
15617 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15618
15619         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15620         LaTeX output. This is necessary for Literate document
15621         processing.
15622
15623 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15624
15625         * buffer.C: insert hfill when needed.
15626
15627         * tabular.C (l_getline): use string::erase, small whitespace change.
15628
15629         * BufferView_pimpl.C: try the anon namespace.
15630         * WorkArea.C: ditto
15631
15632 2001-03-16  Juergen Vigna  <jug@sad.it>
15633
15634         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15635         otherwise it won't open options-dialogs.
15636
15637         * buffer.C: honor pextraWidth(p) on converting minipages.
15638
15639         * tabular.C (l_getline): changed the functions to strip trailing \r.
15640
15641 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15642
15643         * BufferView_pimpl.C:
15644         * minibuffer..C: added "using SigC::slot" declaration.
15645
15646 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15647
15648         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15649
15650         * text2.C: ditto
15651
15652         * text.C: ditto
15653
15654         * paragraph.C: ditto
15655
15656         * lyxtext.h: NO_PEXTRA
15657
15658         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15659
15660         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15661         * ParameterStruct.h: ditto
15662         * ParagraphParameters.h: ditto
15663         * lyxparagraph.h: ditto
15664
15665 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15666
15667         * buffer.C: add compability for minipage alignment.
15668         (latexParagraphs): remove unwanted pextra check.
15669
15670         * several files: remove CXX_WORKING_NAMESPACES
15671
15672         * buffer.C (pop_tag): tie is in namespace boost
15673
15674         * BufferView.h: noncopyable is in namespace boost
15675         * lyxlex.h: ditto
15676         * lyx_main.h: ditto
15677         * lyx_gui.h: ditto
15678         * layout.h: ditto
15679         * lastfiles.h: ditto
15680         * bufferlist.h: ditto
15681         * ShareContainer.h: ditto
15682         * LyXView.h: ditto
15683         * LyXAction.h: ditto
15684         * LaTeX.h: ditto
15685
15686 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * Merging changes from BRANCH_MVC back into HEAD.
15689
15690         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15691
15692 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15693
15694         * BufferView_pimpl.C: change from intl.C
15695
15696         * combox.h:
15697         * combox.C:
15698         * Makefile.am: move combox.*
15699
15700         * form1.h:
15701         * form1.C:
15702         * lyx_gui.C:
15703         * intl.h:
15704         * intl.C: remove dialog (covered by prefs)
15705
15706 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15707
15708         * lyxfunc.C (Dispatch): removed redundant break statement.
15709
15710 2001-03-14  Juergen Vigna  <jug@sad.it>
15711
15712         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15713
15714 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15715
15716         * buffer.C: add hack to fix compability reading of minipages.
15717
15718 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * buffer.C (getLists): Cleanup.
15721
15722 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * lyxfont.C (update): don't honor toggleall on font size.
15725
15726 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15727
15728         * bmtable.c:
15729         * bmtable.h:
15730         * Makefile.am: moved to frontends/xforms/
15731
15732         * lyx_gui_misc.C:
15733         * lyxfunc.C:
15734         * BufferView_pimpl.C: changes for moved mathpanel
15735
15736 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15737
15738         * gettext.h: fix gettext_init() in --disable-nls
15739
15740 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15743
15744 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15745
15746         * lyx.C:
15747         * lyx.h: strip external form
15748
15749 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * BufferView_pimpl.C: add comment, destroySplash()
15752
15753 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15754
15755         * BufferView_pimpl.C:
15756         * LyXAction.C:
15757         * buffer.C:
15758         * commandtags.h:
15759         * lyxfunc.C: use re-worked insetinclude
15760
15761 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15762
15763         * buffer.C: add using std::stringstream.
15764
15765         * lyx_cb.C: readd using std::ios.
15766
15767         * buffer.C: add using std::map.
15768
15769         * BufferView_pimpl.C: add using std::vector.
15770
15771         * ShareContainer.h: add std:: to swap.
15772
15773         * buffer.h: add some typedefs
15774         * buffer.C (getLists): use them
15775         (getLists): renamed from getTocList.
15776         add a counter for the different float types and use it in the
15777         generated string.
15778         (getLists): use the same counter for the NEW_INSETS and the "non"
15779         NEW_INSETS
15780
15781         * lyx_cb.h: remove unused items, includes, using etc.
15782
15783         * ShareContainer.h: remove some commented code, add more comments
15784         and "documentation".
15785
15786 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15787
15788         * buffer.C (getTocList): make the list also when NEW_INSETS is
15789         defined.
15790
15791         * buffer.h: remove TocType
15792
15793         * buffer.C (getTocList): change to return a map<string,
15794         vector<TocItem> >, implement for dynamic number of list.
15795
15796         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15797         * text2.C (PasteSelection): adjust
15798         * CutAndPaste.C (pasteSelection): adjust
15799
15800         * FloatList.C (FloatList): update from the new_insets branch.
15801         * Floating.[Ch]: ditto
15802         * LaTeXFeatures.C: ditto
15803         * buffer.C: ditto
15804         * lyxlex_pimpl.C: ditto
15805
15806         * paragraph.C (Last): remove when NEW_INSETS is defined.
15807
15808         * other file: changes because of the above.
15809
15810 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15811
15812         * lyxparagraph.h: rename next to next_, previous to previous_,
15813         make them private for NEW_INSETS. Rename Next() to next(),
15814         Previous() to previous().
15815
15816         * other files: changes because of the above.
15817
15818 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15819
15820         * BufferView.h:
15821         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15822         problem.
15823
15824 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * main.C (main): pass lyx_localedir to gettext_init().
15827
15828         * gettext.h: remove locale_init and gettext_init macros
15829
15830         * gettext.C (locale_init): new function
15831         (gettext_init): new function
15832
15833         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15834         setlocale().
15835
15836 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15837
15838         * Moved credits to frontends:
15839         * credits.[Ch]: removed
15840         * credits_form.[Ch]: removed
15841         * lyx_gui_misc.C: remove credits stuff
15842         * Makefile.am:
15843
15844 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15845
15846         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15847
15848         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15849         unneeded destructor.
15850
15851         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15852         a standalone pointer again.
15853
15854         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15855
15856 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15857
15858         * Makefile.am:
15859         * filedlg.h:
15860         * filedlg.C:
15861         * LyXAction.C:
15862         * ToolbarDefaults.C:
15863         * bufferlist.C:
15864         * commandtags.h:
15865         * form1.C:
15866         * form1.h:
15867         * lyx_cb.C:
15868         * lyx_cb.h:
15869         * lyxfunc.h:
15870         * lyxfunc.C:
15871         * BufferView_pimpl.C: use new file dialog in GUII
15872
15873         * lyx_cb.h:
15874         * lyx_cb.C: remove LayoutsCB to Toolbar
15875
15876 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * ShareContainer.h (get): add std:: qualifier
15879
15880 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * ShareContainer.h: define a proper ShareContainer::value_type
15883         type (and use typename to please compaq cxx)
15884
15885 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15886
15887         * lyxparagraph.h: move serveral local vars to
15888         ParameterStruct/ParagraphParameters., use ShareContainer in
15889         FontTable., make vars in FontTable private and add getter and
15890         setter.
15891
15892         * paragraph.C: changes because of the above.
15893
15894         * lyxfont.h: remove copy constructor and copy assignment. (the
15895         default ones is ok), move number inside FontBits. move inlines to
15896         lyxfont.C
15897
15898         * lyxfont.C: add number to initializaton of statics, move several
15899         inlines here. constify several local vars. some whitespace
15900         cleanup. Dont hide outerscope variables.
15901
15902         * Spacing.h: add two new constructors to match the set methods.
15903
15904         * ShareContainer.h: new file, will perhaps be moved to support
15905
15906         * ParameterStruct.h: new file
15907
15908         * ParagraphParameters.h: new file
15909
15910         * ParagraphParameters.C: new file
15911
15912         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15913         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15914
15915         * BufferView_pimpl.C: ParagraphParameter changes.
15916         * buffer.C: Likewise.
15917         * bufferview_funcs.C: Likewise.
15918         * text.C: Likewise.
15919         * text2.C: Likewise.
15920
15921 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15922
15923         * lyxfind.C (LyXReplace): do not redefine default argument in
15924         implementation.
15925         (IsStringInText): ditto
15926         (SearchForward): ditto
15927         (SearchBackward): ditto
15928
15929 2001-03-06  Juergen Vigna  <jug@sad.it>
15930
15931         * lyxfind.C (IsStringInText): put parentes around expressions.
15932
15933 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15934
15935         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15936
15937 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15938
15939         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15940
15941         * stl_string_fwd.h: add comment
15942
15943         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15944
15945         * tabular.h:
15946         * tabular.C: remove unused DocBook methods
15947
15948         * intl.C:
15949         * language.C:
15950         * paragraph.C:
15951         * buffer.C:
15952         killed DO_USE_DEFAULT_LANGUAGE
15953
15954 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * lyx_gui.C: do not include language.h.
15957
15958         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15959         arguments in function implementation.
15960
15961 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15962
15963         * BufferView_pimpl.C: add <ctime>
15964
15965 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15966
15967         * BufferView_pimpl.C: add using std::find_if
15968
15969 2001-02-27  José Matos  <jamatos@fep.up.pt>
15970
15971         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15972         by OnlyPath.
15973
15974 2001-02-11  José Matos  <jamatos@fep.up.pt>
15975
15976         * buffer.C (makeDocBookFile): command styles now have a parameter as
15977         "title" by default.
15978
15979 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15980
15981         * layout_forms.[Ch]: removed
15982         * lyx_cb.[Ch]: out character
15983         * lyx_gui.C: out character
15984         * lyx_gui_misc.C: out character
15985         * bufferview_funcs.C: : out character,
15986         added toggleall as parameter in ToggleAndShow
15987
15988 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15989
15990         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15991
15992         * text2.C (SetCurrentFont): Disable number property at boundary.
15993
15994 2001-02-26  Juergen Vigna  <jug@sad.it>
15995
15996         * lyxfunc.C (getStatus): added a string argument override function so
15997         that this is correctly called from LyXFunc::Dispatch if it contains a
15998         do_not_use_argument which is used!
15999         (Dispatch): added check for "custom" export and call appropriate func.
16000
16001 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16002
16003         * lyxrc.C: Add language_command_local, language_use_babel and
16004         language_global_options.
16005
16006         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16007
16008         * buffer.C (makeLaTeXFile): Use language_use_babel and
16009         language_global_options.
16010
16011 2001-02-23  Juergen Vigna  <jug@sad.it>
16012
16013         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16014         which works with LyXText and putted it inside BufferView. Here now we
16015         only call for that part the BufferView::Dispatch() function.
16016
16017         * BufferView.C (Dispatch): added.
16018
16019         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16020         functions which needs to use a LyXText over from LyXFunc.
16021         (MenuInsertLyXFile): added
16022         (getInsetByCode): added
16023         (moveCursorUpdate): added
16024         (static TEXT): added
16025
16026 2001-02-22  Juergen Vigna  <jug@sad.it>
16027
16028         * BufferView_pimpl.C (update): call a status update to see if LyXText
16029         needs it.
16030
16031 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16032
16033         * vc-backend.C (revert): implement for CVS
16034         (getLog): implement for CVS
16035
16036 2001-02-20  Juergen Vigna  <jug@sad.it>
16037
16038         * text2.C (ClearSelection): added BufferView param for inset_owner call
16039
16040         * lyxfunc.C (TEXT): added this function and use it instead of
16041         directly owner->view()-text of getLyXText().
16042
16043 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16044
16045         * src/layout_forms.C: out preamble
16046         * src/layout_forms.h: out preamble
16047         * src/lyx_cb.C: out preamble
16048         * src/lyx_cb.h: out preamble
16049         * src/lyx_gui.C: out preamble
16050         * src/lyx_gui_misc.C: out preamble
16051         * src/lyxfunc.C: connect with guii preamble
16052
16053 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16054
16055         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16056
16057 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16058
16059         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16060         whether to run bibtex.
16061
16062 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16065
16066 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16067
16068         * Makefile.am (lyx_SOURCES): removed bibforms.h
16069
16070         * vspace.h: doxygen
16071
16072         * text.C (GetVisibleRow): make several local vars const
16073
16074         * tabular.C: small cleanup.
16075
16076         * lyxserver.C (callback): use compare instead of strncmp
16077
16078         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16079         inlines to after class or to paragraph.C
16080
16081         * lyxfont.h: remove friend operator!=
16082
16083         * converter.h: move friend bool operator< to non friend and after
16084         class def.
16085
16086         * combox.h: small cleanup
16087
16088         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16089         to inlines after class def.
16090
16091         * buffer.C (pop_tag): use string operations instead of strcmp
16092
16093         * bmtable.c: doxygen, small cleanup
16094
16095         * LaTeX.h: remove friend operator==
16096
16097 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16098
16099         * screen.C:
16100         * lyxrc.[Ch]:
16101         * lyxfunc.C:
16102         * lyxfont.[Ch]:
16103         * lyx_cb.C:
16104         * intl.[Ch]:
16105         * commandtags.h:
16106         * buffer.C:
16107         * WorkArea.[Ch]:
16108         * LyXAction.C:
16109         * BufferView_pimpl.C:
16110         * BufferView.[Ch]: remove cruft
16111
16112 2001-02-14  Juergen Vigna  <jug@sad.it>
16113
16114         * lyxfunc.C: removed #if 0 unused code
16115
16116         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16117
16118         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16119
16120         * text2.C (SetSelection): added a BufferView * parameter
16121
16122 2001-02-13  Juergen Vigna  <jug@sad.it>
16123
16124         * lyxfunc.C (Dispatch): fixed protected blank problem.
16125         * BufferView2.C (protectedBlank): added LyxText * parameter.
16126
16127         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16128         (AppendColumn): same as above for column_info.
16129
16130         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16131         (moveCursorUpdate): use a LyXText param for support of InsetText.
16132
16133         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16134         (tripleClick): ditto
16135
16136         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16137
16138         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16139
16140         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16141
16142         * text2.C (SetSelection): set correct update status if inset_owner
16143         (ToggleFree): ditto
16144
16145 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16146
16147         * tabular.C: remove some commented code.
16148
16149 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16150
16151         * BufferView_pimpl.C: call hideSplash()
16152
16153         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16154
16155         * include_form.h:
16156         * bibforms.h: remove
16157
16158         * lyxfunc.C:
16159         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16160           add LFUN_CHILD_CREATE
16161
16162         * counters.h: fix tiny typo
16163
16164         * lyx_cb.C:
16165         * lyx.h:
16166         * lyx_gui.C:
16167         * lyx.C: move splash to frontends/xforms/
16168
16169         * lyx_gui_misc.C: move Include and Bibform to frontends
16170
16171         * lyxvc.h: clarify comment
16172
16173         * vspace.C: tiny housekeeping
16174
16175 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16176
16177         * text.C (PrepareToPrint): RTL Fix.
16178
16179         * paragraph.C (GetUChar): New method.
16180         (String):  Use GetUChar.
16181
16182         * buffer.C (asciiParagraph): Use GetUChar.
16183
16184 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16185
16186         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16187
16188 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16189
16190         * buffer.h:
16191         * buffer.C: rename to getLogName(), handle
16192           build log / latex log nicely
16193
16194 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * MenuBackend.C:
16197         * MenuBackend.h: remove support for reference menuitem type.
16198
16199 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16200
16201         * BufferView_pimpl.C: housekeeping
16202         * BufferView_pimpl.h:
16203         * LyXView.h:
16204         * Makefile.am:
16205         * Timeout.C:
16206         * Timeout.h:
16207         * minibuffer.h: move Timeout GUI-I
16208
16209 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16210
16211         * lyxrc.C (read): Update converters data-structures.
16212
16213 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16214
16215         * LaTeX.h (operator!=): add operator != for Aux_Info
16216
16217 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16218
16219         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16220
16221         * LaTeXLog.C: deleted, useful code moved to Buffer
16222
16223         * buffer.h:
16224         * buffer.C: new function getLatexLogName()
16225
16226         * lyx_gui_misc.C:
16227         * lyx_gui.C:
16228         * lyxvc.C:
16229         * lyxvc.h:
16230         * lyxfunc.C: use frontends for LaTeX and VC logs
16231
16232 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16233
16234         * LaTeX.h: yet another std:: that Allan forgot.
16235
16236         * Variables.C (set): renamed from isset(), because this clashes
16237         with some HP-UX macros (grr).
16238
16239 2001-02-06  Allan Rae  <rae@lyx.org>
16240
16241         * LaTeX.h: Another bug fix.  Missing std:: this time.
16242
16243 2001-02-04  Allan Rae  <rae@lyx.org>
16244
16245         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16246         floats problem. I've left it commented out because it's not quite
16247         correct.  It should also test that the current object is a table or
16248         figure inset.  But I haven't gotten around to figuring out how to do
16249         that.  I *think* it'll be something like: "table" == inset.type()
16250
16251         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16252         bool.
16253
16254 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16255
16256         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16257         all the citation/databases/styles in the auxilary file.
16258         (run): Rerun latex if there was a babel language error.
16259
16260 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16261
16262         * text.C (Backspace): Preserve the font when changing newline char
16263         with a space.
16264         (BreakParagraph): If the cursor is before a space, delete the space.
16265
16266         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16267
16268 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16269
16270         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16271         new argument (code).
16272         (ChangeCitationsIfUnique): New method.
16273
16274         * paragraph.C (GetPositionOfInset): Handle bibkey.
16275
16276 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * BufferView_pimpl.h: change type of Position::par_pos to
16279         LyXParagraph::size_type.
16280
16281 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * BufferView_pimpl.C (savePosition, restorePosition): Write
16284         messages to minibuffer.
16285
16286 2001-01-28  José Matos  <jamatos@fep.up.pt>
16287
16288         * buffer.C (makeDocBookFile): adds support for document language.
16289         A silly restriction on the name of LatexCommand types where removed.
16290         Added support for CDATA sections, allows to chars unescaped, used
16291         among others in code, to avoid escape < and >.
16292
16293 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16296         saved positions instrad of a stack. Furthermore, a position is
16297         stored using paragraph id/paragraph position.
16298
16299         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16300         Remove LFUN_REF_BACK.
16301
16302 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * converter.C (dvipdfm_options): New method.
16305
16306 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * vspace.C (isValidLength): Fix for empty input string.
16309
16310 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16311
16312         * LyXAction.C (init): change description of LFUN_FIGURE to
16313         "Insert Graphics"
16314
16315 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * LaTeX.C: add using directive
16318
16319 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * MenuBackend.C (expand): Fix the sorting of the formats.
16322
16323 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16324
16325         * lyx_main.C: tiny error message fix
16326
16327 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16328
16329         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16330         calling fl_initialize(). This fixes the problem with ',' as
16331         decimal separator in text files.
16332
16333 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16334
16335         * trans.C (process): Fix the keymap bug.
16336
16337 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16338
16339         * LaTeX.C (scanAuxFiles): New method. Provides support for
16340         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16341         (scanLogFile) Scan for "run BibTeX" messages.
16342
16343         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16344         OT1 font encoding. Also, load the aecompl package if the ae
16345         package is loaded.
16346
16347         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16348
16349 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16350
16351         * texrow.C (increasePos): turn two error messages into debug
16352         messages.
16353
16354 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * LaTeX.C (scanAux): Handle the \@input macro.
16357         (runBibTeX): Use scanAux().
16358
16359         * language.C (latex_options_): New field.
16360
16361         * LaTeXFeatures.C (getMacros): Add language macros.
16362
16363         * buffer.C (makeLaTeXFile): Small fix.
16364
16365 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16366
16367         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16368
16369         * text2.C: add a using directive.
16370
16371 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16372
16373         * BufferView2.C:
16374         * lyx_gui_misc.h:
16375         * lyxfr1.C:
16376         * lyxfunc.C: kill LyXBell.
16377
16378 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16379
16380         * text.C (IsBoundary): Remove the error message
16381
16382         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16383
16384         * lyxrc.C (setDefaults): Correct initialization value for
16385         font_norm_type.
16386
16387 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16388
16389         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16390         gotoError().
16391
16392         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16393         and GotoNextNote().
16394
16395         * src/LyXAction.C: Added reference-next.
16396
16397         * text.C (InsertChar): Use contains instead of strchr.
16398
16399         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16400
16401 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16402
16403         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16404         alignment commands (when needed).
16405
16406         * text.C (InsertChar): Add ':' to number separator chars.