]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix typo
[lyx.git] / src / ChangeLog
1 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * output_latex.C (TeXOnePar): override runparams.moving_arg
4         according to the needprotect value of the current paragraph (bug 1739)
5
6         * paragraph.C (simpleTeXOnePar): no need to override
7         runparams.moving_args here
8
9 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
10
11         * vspace.C: fix off-by-one-error, related to fix #1682
12
13 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14
15         * lengthcommon.C: a more general fix for bug 1682
16
17 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * text.C (backspace): fix crash
20
21 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * format.[Ch] (getFormatFromFile): new method
24         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
25
26 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
29
30 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * lyxfunc.C (dispatch): remove the verbose argument
33         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
34         instead
35
36         * kbmap.C (defkey): set the origin of func to KEYBOARD
37
38         * MenuBackend.C (MenuItem): 
39         * ToolbarBackend.C (add): set the origin of func to UI
40
41         * funcrequest.[Ch]: add origin member, which indicates which part
42         of LyX requests an action
43
44 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
45
46         * converter.C (move): don't lie in the error message
47         * converter.h (isReachable, move): document
48
49 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * buffer.C: remove unused using lyx::support::atoi
52         * paragraph_funcs.C: ditto
53
54 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
55
56         * bufferlist.C (exists): use bind and equal_to instead of
57         compare_memfun
58         (getBuffer): ditto
59         * lyxtextclasslist.C (NumberOfClass): ditto
60
61         * cursor.C (insert): use for_each instead of explicit for loop
62
63         * bufferlist.C (getFileNames): use std::transform and
64         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
65
66         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
67         for loop
68
69         * buffer.C (changeLanguage): use for_each instead of explicit for
70         loop
71         (hasParWithID): implement using getParFromID
72
73         * LaTeXFeatures.C: ws change only
74
75         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
76         to cleanup a bit.
77
78         * BufferView_pimpl.C (trackChanges): use for_each instead of
79         expilicit for loop
80
81 2004-11-04  André Pönitz  <poenitz@gmx.net>
82
83         * undo.h:
84         * undo.C (textUndoOrRedo): fix crash when creating undo information.
85
86         * dociterator.C (asDocIterator): use hard assert again.
87
88 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * lyxlength.C (asLatexString): rewrite so that it does not use
91         snprintf anymore
92
93 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * text3.C (specialChar, dispatch): make sure cursor moves to the
96         right after inserting an inset
97
98 2004-11-02  José Matos  <jamatos@lyx.org>
99
100         * output_docbook.C (docbook):
101         * paragraph.C (getID):
102         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
103         garantee that the output is always legal.
104
105         * tabular.C (docbook):
106         * outputprams.[Ch]: remove mixed contents.
107
108 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
109
110         * text2.C (setCounter): prevent endless loop
111
112 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
113
114         * exporter.C (copyFile): use the mover instead of support::copy()
115         * exporter.C (Export): pass format and latex name to copyFile()
116         * exporter.h (addExternalFile): document
117         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
118
119 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
122
123 2004-10-30  José Matos  <jamatos@lyx.org>
124
125         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
126         text and no inset or font change. This allows to use CDATA
127         sections just for the whole paragraph.
128
129 2004-10-30  José Matos  <jamatos@lyx.org>
130
131         * paragraph.C (getFirstWord): remove unused variable.
132
133 2004-10-30  José Matos  <jamatos@lyx.org>
134
135         * paragraph.C (getFirstWord): the content should always be escaped
136         there.
137         (simpleDocBookOnePar):
138         * output_docbook.C (makeEnvironment): replace reference to CDATA
139         to style pass_thru.
140
141 2004-10-30  José Matos  <jamatos@lyx.org>
142
143         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
144
145 2004-10-30  José Matos  <jamatos@lyx.org>
146
147         * output_docbook.C (makeParagraphs):
148         * paragraph.[Ch] (emptyTag): for docbook and company, if the
149         standard paragraph has only a given type of content drop the wrapper.
150
151 2004-10-29  José Matos  <jamatos@lyx.org>
152
153         * output_docbook.C (makeEnvironment):
154         * sgml.C (openTag):
155         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
156
157 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
158
159         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
160         (cleanID): sanitize any id.
161
162 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
163
164         * buffer.C, lyxlex_pimpl.C:
165         * lyxlex_pimpl.C (setFile):
166         s/getExtFromContents/getFormatFromContents/
167
168 2004-10-28  José Matos  <jamatos@lyx.org>
169
170         * output_docbook.C (makeEnvironment): move id to broadest possible
171         scope.
172
173         * sgml.C (openTag): apply substitution of <> for all attributes.
174
175 2004-10-28  José Matos  <jamatos@lyx.org>
176
177         * buffer.C (makeLinuxDocFile, makeDocBookFile):
178         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
179         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
180
181         * sgml.[Ch]: new version for open and closeTag for paragraph and
182         for strings. Now they handle the ids of paragraphs.
183
184 2004-10-26  Angus Leeming  <leeming@lyx.org>
185
186         * Makefile.am: add mover.[Ch].
187
188         * converter.C (convert, move): use the new Movers to move external
189         files to the temp directory.
190
191         * lyx_main.C (init): ensure that the global system_movers data
192         is initialised.
193
194         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
195         preferences file.
196
197         * mover.[Ch]: new files, defining a Mover as a utility to move an
198         external file between directories and, if necessary, manipulate this
199         file using a helper script.
200
201 2004-10-25  José Matos  <jamatos@lyx.org>
202
203         * output_docbook.C (makeCommand): merge two if's that tested the
204         same condition.
205
206 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * sgml.C (escapeString): fix warning in a better way
209
210 2004-10-25  José Matos  <jamatos@lyx.org>
211
212         * sgml.C (escapeString): import the require boosts header file for
213         tie, and avoid a signed unsigned comparison.
214
215 2004-10-25  José Matos  <jamatos@lyx.org>
216
217         * sgml.h: add #include <string>
218
219 2004-10-25  José Matos  <jamatos@lyx.org>
220
221         * sgml.[Ch] (escapeString): new function to escape all the string.
222
223 2004-10-24  José Matos  <jamatos@lyx.org>
224
225         * paragraph.[Ch] (getFirstWord): new function to get the first
226         word. Useful for description.
227         (simpleDocBookOnePar): remove depth argument, add another that
228         says where to start the paragraph.
229
230         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
231         use the new functions to fix cleanly the support for descriptions.
232
233 2004-10-24  José Matos  <jamatos@lyx.org>
234
235         * buffer.C (makeLinuxDocFile, makeDocBookFile):
236         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
237         * output_linuxdoc.C (linuxdocParagraphs):
238         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
239         add buffer as argument.
240
241 2004-10-24  José Matos  <jamatos@lyx.org>
242
243         * output_docbook.C (makeEnvironment, searchEnvironment): place
244         CDATA inside paragraphs and fix scope for listitems.
245
246 2004-10-24  José Matos  <jamatos@lyx.org>
247
248         * output_docbook.C: remove using statement for stack.
249
250 2004-10-23  José Matos  <jamatos@lyx.org>
251
252         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
253         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
254         docbook. The new scheme is recursive and makes use of iterators, the
255         same as latex export works.
256         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
257         directly with the paragraph contents. This code was moved up to
258         output_docbook.C (docbookParagraphs).
259         * sgml.C (openTag, closeTag): removed unneeded newlines.
260         (closeEnvTags) removed.
261
262 2004-10-23  André Pönitz  <poenitz@gmx.net>
263
264         * undo.C (textUndoOrRedo):
265         * dociterator.C (asDocIterator): work around crash
266
267         * cursor.C (getStatus): replace ASSERT by more verbose error message
268           and manual correction of the problem. Should increase stability
269           while providing more sensible information.
270
271 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
274
275         * bufferlist.C (previous, next): new methods
276
277         * lfuns.h:
278         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
279
280 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
281
282         * buffer.C (makeDocBookFile): add dsssl stylesheet control
283         entities to preamble.
284
285 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * messages.C (Pimpl): strip off translation context information
288
289 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
292         the cursor is correct (bug 1694)
293
294 2004-10-13  José Matos  <jamatos@lyx.org>
295
296         * output_docbook.C (docbookParagraphs): fix closing tags in the
297         end of the document.
298
299 2004-10-09  José Matos  <jamatos@lyx.org>
300
301         * buffer.C: format up to 237.
302         * bufferparams.C (write): use tostr to convert booleans to strings.
303
304 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
305
306         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
307
308 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * LaTeX.C: implement use of babel language in xindy.
311
312 2004-10-05  José Matos  <jamatos@lyx.org>
313
314         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
315         Add new translators to help reading and writing the lyx file.
316
317 2004-10-05  José Matos  <jamatos@lyx.org>
318
319         * ParagraphParameters.C (read):
320         * text.C (readParToken): replace nexToken by more appropriate lex
321         methods.
322
323 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
324
325         * LaTeX.C (runMakeIndex):
326         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
327         (usually 'makeindex') configurable.
328
329         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
330         with a variable rather than with a number.
331
332 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * output_latex.C (TeXOnePar): make sure font setting is the first
335         thing that gets output (and the last at the end). Should fix bug
336         1404.
337
338 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
339
340         * pch.h: use proper signal include
341
342         * LaTeX.h: Use preferred calling of Boost.Signal
343         * buffer.h: ditto
344
345 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
346
347         * pch.h: dont include <boost/function/function0.hpp>
348
349         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
350
351         * paragraph_pimpl.h: remove usage of ShareContainer
352
353         * paragraph_pimpl.C: remove initialization of ShareContainer.
354
355 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         Fix bug #1666
358
359         * BufferView.C (putSelectionAt): change the semantics when
360         backwards == true: now, this just swaps cursor and anchor wrt the
361         forward case
362
363         * BufferView.h (putSelectionAt): add some documentation
364
365         * lyxfind.C (findBackwards): rewrite using while(). In particular,
366         make sure backwardChar is done at least once (to avoid getting
367         stuck)
368         (findNextChange): use putSelectionAt in the forward direction
369         (operator()): use Paragraph::isWord
370
371 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
372
373         * Spacing.C (set): c_str fix
374
375 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * lyx_cb.C (Reconfigure): quote the name of configure script in
378         case it contains spaces
379
380 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
381
382         * client: new dir
383
384         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
385         (BOOST_LIBS): use top_buildir when looking for the file
386
387 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
388
389         * pch.h: do not use include boost/format.hpp, multiple symbols
390                 will result (gcc bug)
391
392
393 2004-08-23  José Matos  <jamatos@lyx.org>
394
395         * bufferparams.C (readToken): fix reading of the author field.
396
397 2004-08-20  José Matos  <jamatos@lyx.org>
398
399         * lyxrc.C: remove support/translator.h inclusion since it is not used.
400
401 2004-08-20  José Matos  <jamatos@lyx.org>
402
403         * lyxlex.[Ch] (findToken): remove function.
404
405         * ParagraphParameters.C (findToken):
406         * bufferparams.C (findToken): replace call for previous function
407         with local copy. This local function has one more argument, the
408         read string argument.
409
410 2004-08-16  José Matos  <jamatos@lyx.org>
411
412         * ParagraphParameters.C (write):
413         * Spacing.C (writeFile):
414         * bufferparams.C (writeLaTeX):
415         * lyx_cb.C (Reconfigure):
416         * paragraph.C (write):
417         * tabular.C (write): remove unnecessary space at end of line.
418
419
420 2004-08-16  José Matos  <jamatos@lyx.org>
421
422         * text.C (readParagraph): remove debug message.
423
424 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
427         crash
428
429         * output_plaintext.C (asciiParagraph): set depth correctly
430
431         * outputparams.h: add member depth
432
433         * paragraph_funcs.C (ownerPar): remove.
434
435         * text2.C (setCounter): remove first_pit; comment out some
436         non-working code that uses ownerPar
437
438         * BufferView.C (getParentLanguage): remove. Not used anymore, and
439         uses ownerPar
440
441 2004-08-16  José Matos  <jamatos@lyx.org>
442
443         * text.C (readParToken, readParagraph, read): report all unknown tokens.
444         For the same level of importance use the same chanel to report problems.
445         (read): add code to deal with \begin_body and \end_body.
446
447
448 2004-08-15  José Matos  <jamatos@lyx.org>
449
450         * lyxlex.C (getString): fix comment, buffer::readBody is now
451         buffer:readDocument.
452
453         * tex-strings.C (string_papersize): Default -> default,
454         Custom -> custom, for consistency with other options.
455
456 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
457
458         * pch.h: new file
459
460         * Makefile.am: support pch
461
462 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * text.C (readParToken): remove the static LyXFont variable and
465         pass it as a parameter instead. This fixes a nasty bug where an
466         inset will be inserted with a bad font in some situations
467         (readParagraph): adapt
468
469         * text2.C (setCounter): reduce number of calls to pars_[pit]
470
471         * text.C (singleWidth): add an assert, fix a test
472
473         * rowpainter.C (paintText): reduce number of calls to singleWidth
474
475         * paragraph.C (isHfill):
476         (isNewline): ws only
477
478 2004-08-14  André Pönitz  <poenitz@gmx.net>
479
480         * text.C:
481         * text2.C:
482         * rowpainter.C:
483         * lyxtext.h (several functions): use a Paragraph & argument
484         instead of par_type
485
486 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * metricsinfo.h: add a new field ltr_pos to PainterInfo
489
490         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
491
492         * text.C (singleWidth): remove useless test
493
494 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
495
496         * tabular.h: remove bogus comments
497
498         * tabular.C (getDescentOfRow):
499         (isPartOfMultiColumn): add assertions
500
501         * lyxlength.C (inPixels): remove #warning
502
503 2004-08-14  André Pönitz  <poenitz@gmx.net>
504
505         * paragraph.h: inline getChar()
506
507         * BufferView.h: remove unused declarations
508
509 2004-08-14  José Matos  <jamatos@lyx.org>
510
511         * Buffer.[Ch] (readDocument): new name for old readBody.
512         * Buffer.C: new file format, new keywords: \begin_document,
513         \begin_header, \begin_body, \end_body.
514
515         * bufferparams.C (readToken): replace all calls to lex.nextToken
516         by lex.next(). Do the same to eatLine except where really needed.
517
518         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
519         line when writing to the lyx file.
520
521         * output_plaintext.C (asciiParagraph): fix Bibliography style
522         handling.
523
524         * text.C (read): fix end of file handling.
525
526 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * MenuBackend.C (Menu::operator[]): new method to access
529         individual menu items
530         (Menu::hasFunc): new method. search for an item that corresponds
531         to a given func
532         (MenuBackend::specialMenu): new method
533         (MenuBackend::expand): if a special menu has been set, skip
534         entries whose func() appears in this menu
535
536 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
537
538         * text3.C: use Debug::DEBUG a bit more
539
540         * text.C (leftMargin): try to simplify a tiny bit change var x to
541         l_margin. Dont output the wide margins always.
542         (rightMargin): no margin in inner texts
543
544         * rowpainter.h (nestMargin): new func
545         (changebarMargin): new func
546         (rightMargin): new func
547
548         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
549         now functions.
550         (paintLast): ditto
551
552         * factory.C (createInset): modify setDrawFrame
553
554         * cursor.C: use Debug::DEBUG a bit more
555
556 2004-08-14  André Pönitz  <poenitz@gmx.net>
557
558         * coordcache.[Ch]:
559         * Makefile.am: new files to accomodate an 'external' (x,y)-position
560         cache for all insets in (at least partially) visible (top-level)
561         paragraphs.
562
563         * BufferView_pimpl.C: reset external coord cache before every update.
564         This means the coord cache only contains valid entries.
565
566 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
567
568         bug 1096
569         * BufferView_pimpl.C (getInsetByCode): move function out of class
570         and change in to a template in anon namespace. Also fix to do what
571         suits us better.
572
573 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
574
575         bug 1305
576         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
577         of char
578         (breakParagraph): rename par to par_offset and use a local
579         reference. Add code to keep the language over a rebreak.
580         (breakParagraphConservative): rename par to par_offset, use a
581         local reference
582         (mergeParagraph): ditto
583         (outerHook): ditto
584         (isFirstInSequence): ditto
585         (outerFont): rename pit to par_offset
586
587         * paragraph.C: ws change
588         * paragraph.h: ditto
589         * text3.C: ditto
590         * text.C: ditto
591
592 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
595         treatment for ']'
596
597         * paragraph.C (simpleTeXOnePar): when we have a \item with
598         optional argument, enclose the argument with curly brackets (in
599         case it contains a closing square bracket)
600
601         * text2.C (editXY):
602         * text2.C (editXY):
603         * text3.C (checkInsetHit): constify
604
605 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
608         documents (bug 1629)
609
610 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         Fix toggling of collapsable insets with the mouse (bug 1558)
613
614         * lyxfunc.C (dispatch): adapt to LCursor changes
615
616         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
617         make sure that dispatch is not invoked twice
618
619         * cursor.C (needsUpdate): new method
620         (dispatch): return void
621         (result): new method, to access the DispatchResult of the cursor.
622
623 2004-08-13  José Matos  <jamatos@lyx.org>
624
625         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
626
627 2004-08-13  André Pönitz  <poenitz@gmx.net>
628
629         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
630
631         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
632           multiple cells
633
634 2004-08-12  André Pönitz  <poenitz@gmx.net>
635
636         * text3.C: take out the 'cursor right' form insertInset and only
637         do it in those places when it is really needed. Fixes crash on
638         C-m...
639
640 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
643
644         * BufferView_pimpl.C (setBuffer): initialize the current font of
645         the underlying LyXText
646
647 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * kbsequence.C (print): use UI native formatting for menu
650         shortcuts
651
652         * text.C (insertChar): call Paragraph::insertChar with a font
653         argument (cosmetic)
654
655         * paragraph.C (insertInset, insertChar): the version that takes a
656         LyXFont argument is now a wrapper around the other one (the
657         opposite used to be true).
658
659         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
660         argument. Font setting is done in Paragraph now.
661
662 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * outputparams.h: add new members intitle and lang.
665
666         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
667         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
668
669 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
670
671         * text3.C (dispatch): remove special handling of button 4 and 5,
672         it is now taken care of in the frontend code.
673
674 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
675
676         * Spacing.h: add <string> (STLPort compile fix)
677
678 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
679
680         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
681
682 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
683
684         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
685         to bool.
686
687         * converter.C (showMessage): inherit from unary_function, make
688         operator() const.
689
690         * buffer.C (writeFile): initialize retval
691
692         * InsetList.h: rename private variable list to list_
693         * InsetList.[Ch]: adjust accordingly.
694
695 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
698         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
699         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
700         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
701         * ParagraphParameters.C, LaTeXFeatures.C: replace
702         "support/std_sstream.h" with <sstream>
703
704 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
705
706         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
707         * lyxsocket.C (LyXServerSocket): ditto
708         (serverCallback): ditto
709
710 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
711
712         * LaTeXFeatures.C: check release date when loading jurabib.
713
714 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
715
716         * lyxserver.C (startPipe): call register_socket_callback
717         (endPipe): call unregister_socket_callback
718
719 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
720
721         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
722         (LyXServerSocket): register the callback
723         (LyXServerSocket): unregister the callback
724         (fd): delete function
725         (serverCallback): improve error checking and setup the callbacks.
726         (dataCallback): change arg to fd.
727         (writeln): new func (copied fro the client socket) used for server
728         write to client.
729         (LyXDataSocket): simplify
730         (~LyXDataSocket): close ann unregiser callback
731         (server): delete function
732         (fd): delete function
733         (readln): small changes, improve some std::string usage
734         (writeln): constify a bit
735
736 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
739         Qt frontend
740
741 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * BufferView_pimpl.C (setBuffer): set the layout combox value only
744         after it has been populated
745
746 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * text2.C (insertInset): move cursor when inserting inset.
749
750 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * kbmap.C (findbindings): a couple of new methods. returns a
753         container of kb_sequence objects. The real work is done by the
754         private recursive version
755         (printbindings): uses findbindings to print out a bracketed list
756         of bindings (renamed from findbinding).
757
758         * MenuBackend.C (binding): use kb_keymap::findbindings
759
760         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
761
762 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
763
764         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
765
766 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * paragraph.C (isWord): return true on insets that report
769         isLetter().
770
771         * text.C (getWord): use Paragraph::isWord to decide what is in a
772         word and what is not; fix bug 1609.
773
774 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
775
776         * tex-strings.C: add "none" to string_paperpackages[], fixes
777         off-by-one-error in the paperpackage selection.
778
779         * lyxlex.[Ch]:
780         * tex-strings.[Ch]: char const * string[n]
781         -> char const * const string[]
782
783 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
786         command, return early.
787
788 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * debug.h: add DEBUG to enum and fix size of ANY.
791
792         * debug.C: add support for Debug::DEBUG
793         (showTags): cast errorTags.level to unsigned int
794
795         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
796         (redoCurrentBuffer): ditto
797         (updateScrollbar): ditto
798         * cursor.C (dispatch): ditto
799         * text2.C (setLayout): ditto
800         (setFont): ditto
801         (updateCounters): ditto
802         (editXY): ditto
803         (deleteEmptyParagraphMechanism): ditto
804
805 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
808         annotations to cleanup the Makefile slightly.
809
810 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         * lyxrc.C: do not set user_email to a default value but use empty
813         instead. The entry used to be translated, which does not work
814         since at the point where lyxrc is constructed there is no
815         translation service available
816
817         * messages.C (getLocaleDir): remove and use directly
818         lyx_localedir() instead
819
820 2004-06-02  Angus Leeming  <leeming@lyx.org>
821
822         Fix crash caused by dereferencing null pointer 'exportdata' in
823         OutputParams by creating a new ExportData variable on the heap,
824         storing it in a boost::shared_ptr.
825         The crash was triggered when generating an Instant Preview
826         of an external inset.
827
828         * Makefile.am: add outputparams.C
829
830         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
831         (c-tor): allocate memory to it.
832
833         * exporter.C (c-tor): associated changes.
834
835 2004-06-01  Angus Leeming  <leeming@lyx.org>
836
837         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
838         contains data before calling isInset(0). (Bug 1513.)
839
840 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * exporter.C (checkOverwrite): new method
843         * exporter.C (copyFile): new method
844         * exporter.C (Export): copy referenced files to the document dir
845         * exporter.[Ch]: new class ExportedFile
846         * exporter.[Ch]: new class ExportData. Contains currently the
847         names of referenced external files
848         * outputparams.h: add exportdata member.
849
850 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
853         version.C-tmp
854
855 2004-05-19  Angus Leeming  <leeming@lyx.org>
856
857         * LaTeXFeatures.C:
858         * ToolbarBackend.C:
859         * bufferparams.C:
860         * lyxfunc.C: small changes due to the introduction of namespace
861         lyx::frontend and the moving of namespace biblio to lyx::biblio.
862
863 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * text3.C (dispatch): supress update when only moving the cursor
866         * cursor.C (selHandle): remove commented code
867
868 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
869
870         * paragraph.C (startTeXParParams): correct column count
871         * CutAndPaste.C (pasteSelection): remove const_cast
872         * output_docbook.C (docbookParagraphs): remove const_cast
873         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
874         const_cast and return ParagraphList::const_iterator
875         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
876         * output_plaintext.C (writeFileAscii): remove const_cast
877         * paragraph.[Ch] (simpleTeXOnePar): make const
878         * paragraph_funcs.C (outerPar): use const iterators
879         * paragraph_pimpl.C (validate): use const iterators
880         * text.C (setHeightOfRow): use const iterators
881
882 2004-05-17  Angus Leeming  <leeming@lyx.org>
883
884         * lfuns.h:
885         * LyXAction.C (init): new LFUN_INSET_REFRESH.
886
887         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
888         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
889         if the citation engine has changed.
890
891 2004-05-14  José Matos  <jamatos@lyx.org>
892
893         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
894         if the textclass does not provide it. Have it different for sgml and
895         xml.
896         support the language of document.
897         * output_docbook.C (docbookParagraphs):
898         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
899         first anchor as the id of the paragraph, remove special case code.
900         * sgml.C (escapeChar): escape only < & >.
901
902 2004-05-14  Angus Leeming  <leeming@lyx.org>
903
904         * bufferparams.h: move biblio::CiteEngine enum here to minimize
905         dependencies on src/frontends/controllers/biblio.h. Define a
906         CiteEngine_enum wrapper class to enable the enum to be forward
907         declared.
908
909 2004-05-12  Angus Leeming  <leeming@lyx.org>
910
911         * buffer.C: up LYX_FORMAT to 234.
912         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
913         use_numerical_citations with a single biblio::CiteEngine cite_engine
914         variable.
915         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
916
917 2004-05-13  José Matos  <jamatos@lyx.org>
918
919         * converter.h:
920         * converter.C (Converter, readFlags): add xml member.
921         * outputparams.h: add XML flavor.
922         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
923
924 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
925
926         * lyxfunc.C (dispatch):
927         (getStatus): fix handling of LFUN_SEQUENCE
928
929 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * debug.C (showLevel): do not forget the end-of-line marker
932
933 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * kbmap.C (read): do not stop parsing a bind file when an error
936         occurs (bug 1575)
937
938 2004-04-29  Angus Leeming  <leeming@lyx.org>
939
940         * cursor.C:
941         * factory.C:
942         * pariterator.C:
943         * text2.C: wrap a bunch of #warning statements
944         inside #ifdef WITH_WARNINGS blocks.
945
946 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * buffer.C: increment format to 233.
949
950 2004-04-28  Angus Leeming  <leeming@lyx.org>
951
952         * BufferView_pimpl.C:
953         * lyxfunc.C:
954         * text3.C:
955         s/updateToolbar()/updateToolbars()/
956         s/Toolbar.h/Toolbars.h/
957
958 2004-04-28  Angus Leeming  <leeming@lyx.org>
959
960         * BufferView.[Ch] (c-tor):
961         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
962         No longer passes these data to the WorkArea generator.
963
964 2004-04-28  Angus Leeming  <leeming@lyx.org>
965
966         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
967
968 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
969
970         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
971
972 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
973
974         * output_latex.C (TeXEnvironment): make sure that there is a line
975         break before \end{foo} for the last paragraph of a document
976         (TeXOnePar): if the paragraph is at the end of the document (or
977         inset) and the language has to be reset, then make sure that the
978         line break is _before_ the language command, not after (fixes bug
979         1225); also make sure that the language reset command is the first
980         thing after the paragraph (to ensure proper nesting of
981         environments and thus fix bug 1404)
982
983 2004-04-21  John Levon  <levon@movementarian.org>
984
985         * ToolbarBackend.h:
986         * ToolbarBackend.C: make "name" be a programmatic name
987         and a gui_name field.
988
989         * lyxfunc.C: display the minibuffer on M-x
990
991 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
992
993         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
994         (bug 1526)
995
996 2004-04-19  Angus Leeming  <leeming@lyx.org>
997
998         * BufferView_pimpl.C (setBuffer): changed preview interface.
999
1000         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1001         possible values.
1002
1003 2004-04-19  John Levon  <levon@movementarian.org>
1004
1005         * BufferView_pimpl.C:
1006         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1007
1008 2004-04-05  Angus Leeming  <leeming@lyx.org>
1009
1010         * text.C (redoParagraphs): add call to updateCounters(), thereby
1011         fixing the missing "Figure #:" label from the caption of a
1012         figure float.
1013
1014 2004-04-13  Angus Leeming  <leeming@lyx.org>
1015
1016         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1017         cursor is clicked out of an inset.
1018
1019 2004-04-13  Angus Leeming  <leeming@lyx.org>
1020
1021         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1022         than an InsetOld one.
1023
1024 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * format.[Ch]: add editor to Format
1027         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1028         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1029
1030 2004-04-08  André Pönitz  <poenitz@gmx.net>
1031
1032         * metricsinfo.h: remove PainterInfo::width member
1033
1034 2004-04-08  Angus Leeming  <leeming@lyx.org>
1035
1036         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1037         "\providecommand" rather than "\newcommand", thereby preventing
1038         clashes with packages that define "\boldsymbol" themselves.
1039         Eg, beamer.
1040
1041 2004-04-08  Angus Leeming  <leeming@lyx.org>
1042
1043         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1044         thereby squashing an unnecessary warning.
1045
1046 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1047
1048         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1049         setBuffer()
1050
1051 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1052
1053         * BufferView.C (setCursor): call redoParagraph (some insets could
1054         have been opened)
1055         (putSelectionAt): remove the 'double update' trick
1056
1057         * BufferView_pimpl.C (fitCursor): call refreshPar
1058         (workAreaDispatch): remove an uneeded update call
1059         (dispatch): remove some manual update calls
1060
1061         * cursor.[Ch]: remove cached_y_, updatePos
1062         (selHandle): set noUpdate when appropriate
1063
1064         * lyxfunc.C (dispatch): track if we need an update
1065
1066         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1067
1068         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1069         (paintSelection): cheap optimization, do not call cursorX when not
1070         needed
1071         (paintPars): change signature
1072         (refreshPar): add
1073         (paintText): adjust
1074         (paintTextInset): adjust
1075
1076         * text.C: adjust
1077
1078 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1079
1080         * lengthcommon.C: compilation fix: remove explicit array size from
1081         unit_name[] and friends
1082
1083 2004-04-05  Angus Leeming  <leeming@lyx.org>
1084
1085         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1086
1087         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1088         present only for the preferences dialog.
1089         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1090
1091 2004-04-05  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1094         to enable the frontends to export changes to lyxrc correctly.
1095
1096         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1097
1098 2004-04-07  André Pönitz  <poenitz@gmx.net>
1099
1100         * cursor.[Ch] (selClear, adjust): remove math
1101
1102         * cursor_slice.C: more agressive assert
1103
1104         * lyxfunc.C:
1105         * BufferView_pimpl.C: rework mouse event dispatch
1106
1107         * dociterator.C:
1108         * paragraph.C:
1109         * text2.C:
1110         * text3.C: adjust
1111
1112 2004-04-05  André Pönitz  <poenitz@gmx.net>
1113
1114         * cursor.[Ch] (valign, halign...): remove unneeded functions
1115
1116 2004-04-05  Angus Leeming  <leeming@lyx.org>
1117
1118         * lyxlength.[Ch] (unit_name et al.): const-correct.
1119
1120 2004-04-05  Angus Leeming  <leeming@lyx.org>
1121
1122         * BufferView_pimpl.C:
1123         * buffer.C:
1124         * counters.C:
1125         * cursor.C:
1126         * lyxfunc.C
1127         * paragraph.C:
1128         * pariterator.C:
1129         * text.C:
1130         * text2.C:
1131         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1132
1133 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1134
1135         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1136
1137 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1138
1139         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1140         * BufferView_pimpl.[Ch] (getStatus)
1141         * BufferView.[Ch] (getStatus): add
1142         * lyxfunc.C (getStatus): move lfuns handled in
1143         BufferView::dispatch to te function above
1144         * Cursor.C (setSelection): set selection() = true
1145
1146 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1149
1150 2004-03-31  Angus Leeming  <leeming@lyx.org>
1151
1152         * lyxfunc.C (dispatch): Fall through to the generic
1153         Dialogs::show("preamble").
1154
1155 2004-03-31  Angus Leeming  <leeming@lyx.org>
1156
1157         * lyxfunc.C (dispatch): Fall through to the generic
1158         Dialogs::show("spellchecker").
1159
1160 2004-03-31  Angus Leeming  <leeming@lyx.org>
1161
1162         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1163         preferences dialog.
1164
1165 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1166
1167         * BufferView.C
1168         * cursor.[Ch]
1169         * dociterator.[Ch]:
1170         * insetiterator.[Ch]:
1171         * lyxfind.C:
1172         * lyxfunc.C:
1173         * pariterator.[Ch]:
1174         * text2.C:
1175         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1176
1177 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1178
1179         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1180         insets where we are putting the cursor.
1181
1182 2004-03-31  Angus Leeming  <leeming@lyx.org>
1183
1184         * lfuns.h:
1185         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1186
1187         * lyxrc.[Ch] (read, write): overloaded member functions taking
1188         a std::[io]stream arguments.
1189
1190         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1191
1192 2004-03-31  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1195         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1196
1197         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1198         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1199
1200 2004-03-31  Angus Leeming  <leeming@lyx.org>
1201
1202         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1203         the LFUN_ALL_INSETS_TOGGLE code.
1204
1205 2004-03-30  Angus Leeming  <leeming@lyx.org>
1206
1207         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1208         has died. Fall through to the generic Dialogs::show("document").
1209
1210 2004-03-30  Angus Leeming  <leeming@lyx.org>
1211
1212         * lfuns.h:
1213         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1214         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1215
1216         * lyxfunc.C (getStatus, dispatch): define the actions for these
1217         lfuns. Little more than a cut and pste job from ControlDocument.C
1218
1219         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1220
1221 2004-03-30  Angus Leeming  <leeming@lyx.org>
1222
1223         * lfuns.h:
1224         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1225         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1226
1227         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1228         open/closed state of ollapsable insets. Usage:
1229
1230         all-inset-toggle <state> <name>, where
1231         <state> == "open" || "closed" || "toggle" and
1232         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1233
1234         * lyxtext.h, text2.C (toggleInset): removed.
1235
1236         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1237         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1238         now passes LFUN_INSET_TOGGLE to the found inset.
1239
1240         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1241         is now invoked as "all-insets-toggle toggle branch".
1242
1243 2004-03-30  Angus Leeming  <leeming@lyx.org>
1244
1245         * dociterator.C:
1246         * insetiterator.C:
1247         * pariterator.[Ch]: added/corrected header blurb.
1248
1249 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * dociterator.[Ch]: add an inset_ member
1252         (backwardPos): implemented
1253         (backwardPos, forwardPos): use inset_ when the stack is empty.
1254         (doc_iterator_begin, doc_iterator_end): implemented
1255         * pariterator.[Ch]: adjust, add begin, end
1256         * insetiterator.[Ch]: adjust, add begin, end
1257         * cursor.C:
1258         * document.C:
1259         * BufferView.C:
1260         * BufferView_pimpl.C:
1261         * CutAndPaste.C: adjust
1262
1263 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1264
1265         * buffer.C: increment file format to 232.
1266         * LaTeXFeatures.C: add bibtopic package.
1267         * bufferparams.[Ch]: param \use_bibtopic.
1268
1269         * lyxrc.[Ch]: add lyxrc bibtex_command
1270         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1271
1272         * buffer.C: increment file format to 231.
1273
1274 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * dociterator.C: implement forwardPar
1277         * iterators.[Ch]: remove, replaced by
1278         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1279         * BufferView.C:
1280         * BufferView_pimpl.C:
1281         * CutAndPaste.C:
1282         * buffer.C:
1283         * bufferview_funcs.C:
1284         * cursor.C:
1285         * lyxfind.C
1286         * lyxfunc.C
1287         * paragraph_funcs.C
1288         * toc.C:
1289         * Makefile.am: adjust
1290
1291 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * CutAndPaste.C (pasteSelection): fix 2 crashes
1294         (eraseSelection): fix a crash
1295         * paragraph_funcs.C: remove a warning
1296
1297 2004-03-28  Angus Leeming  <leeming@lyx.org>
1298
1299         * lfuns.h:
1300         * LyXAction.C (init): new LFUN_PRINT.
1301
1302         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1303
1304 2004-03-27  Angus Leeming  <leeming@lyx.org>
1305
1306         * lfuns.h:
1307         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1308
1309         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1310
1311 2004-03-27  Angus Leeming  <leeming@lyx.org>
1312
1313         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1314         insetlist always contains non-null pointers to insets.
1315
1316 2004-03-26  Angus Leeming  <leeming@lyx.org>
1317
1318         * src/BufferView_pimpl.C:
1319         * src/CutAndPaste.C:
1320         * src/buffer.C:
1321         * src/iterators.C:
1322         * src/output_plaintext.C:
1323         * src/outputparams.h:
1324         * src/paragraph_funcs.C:
1325         * src/rowpainter.C:
1326         * src/text.C:
1327         * src/text2.C:
1328         * src/frontends/controllers/ControlErrorList.C:
1329         * src/frontends/gtk/FileDialogPrivate.C:
1330         * src/frontends/gtk/GPainter.C:
1331         * src/frontends/gtk/GToolbar.C:
1332         * src/frontends/qt2/QRef.C:
1333         * src/mathed/math_scriptinset.C: squash compiler warnings.
1334
1335 2004-03-26  Angus Leeming  <leeming@lyx.org>
1336
1337         * ispell.C (LaunchIspell::start):
1338         * lyx_cb.C (AutoSaveBuffer::start):
1339         invoke run(DontWait) rather than runNonBlocking().
1340
1341 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1344
1345 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * kbsequence.C (print): adjust
1348
1349         * kbmap.C (printKeySym): rename and change signature
1350         (printKey): use LyXKeySym::print()
1351
1352 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * undo.C: add using std::advance to compile for stlport
1355
1356 2004-03-24  Angus Leeming  <leeming@lyx.org>
1357
1358         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1359         it leads to a crash when no buffer is present.
1360
1361 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362             Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * lyxfunc.C (dispatch):
1365         * bufferparams.C (readToken): use the new LColor::setColor
1366
1367         * LColor.[Ch] (setColor): new version that takes two strings as
1368         argument and creates a new color entry if necessary
1369
1370 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1371
1372         * buffer.C (makeLaTeXFile): if the main latex file that is
1373         processed is usually a subdocument of some master, then pretend
1374         for a while that it is actually the master
1375
1376 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1377
1378         * buffer.C (getLabelList):
1379         (getBibkeyList): use getMasterBuffer()
1380         (getMasterBuffer): new method. Returns the main document in the
1381         case where one is using included documents.
1382
1383 2004-03-25  André Pönitz  <poenitz@gmx.net>
1384
1385         * Makefile.am:
1386         * iterators.[Ch]:
1387         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1388
1389         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1390
1391         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1392         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1393
1394         * ParameterStruct.h: merge with ParagraphParameters
1395
1396         * lyxtext.h: remove LyXText::parOffset() and getPar()
1397
1398         * text3.C: Remove all 'manual' update calls. We do now one per user
1399         interaction which is completely sufficient.
1400
1401         * Bidi.C:
1402         * BufferView.[Ch]:
1403         * BufferView_pimpl.C:
1404         * FontIterator.[Ch]:
1405         * MenuBackend.C:
1406         * ParagraphParameters.[Ch]:
1407         * buffer.C:
1408         * buffer.h:
1409         * bufferlist.C:
1410         * cursor.[Ch]:
1411         * cursor_slice.[Ch]:
1412         * dociterator.[Ch]:
1413         * errorlist.[Ch]:
1414         * factory.C:
1415         * lfuns.h:
1416         * lyxfind.C:
1417         * lyxfunc.C:
1418         * output_docbook.[Ch]:
1419         * output_latex.[Ch]:
1420         * output_linuxdoc.[Ch]:
1421         * output_plaintext.[Ch]:
1422         * paragraph.[Ch]:
1423         * paragraph_funcs.[Ch]:
1424         * paragraph_pimpl.[Ch]:
1425         * rowpainter.C:
1426         * tabular.[Ch]:
1427         * text.C:
1428         * text2.C:
1429         * toc.C:
1430         * undo.[Ch]: adjust
1431
1432         * frontends/controllers/ControlDocument.C:
1433         * frontends/controllers/ControlErrorList.C:
1434         * frontends/controllers/ControlSpellchecker.C:
1435         * insets/inset.C:
1436         * insets/inset.h:
1437         * insets/insetbase.h:
1438         * insets/insetbibitem.C:
1439         * insets/insetbox.C:
1440         * insets/insetbranch.C:
1441         * insets/insetcaption.C:
1442         * insets/insetcharstyle.C:
1443         * insets/insetcharstyle.h:
1444         * insets/insetcollapsable.C:
1445         * insets/insetcollapsable.h:
1446         * insets/insetert.C:
1447         * insets/insetfloat.C:
1448         * insets/insetfoot.C:
1449         * insets/insetmarginal.C:
1450         * insets/insetnote.C:
1451         * insets/insetoptarg.C:
1452         * insets/insettabular.C:
1453         * insets/insettext.C:
1454         * insets/insettext.h:
1455         * insets/insetwrap.C:
1456         * mathed/math_mboxinset.C:
1457         * mathed/math_nestinset.C:
1458         * mathed/math_scriptinset.C:
1459         * mathed/math_scriptinset.h:
1460         * support/types.h:
1461
1462 2004-03-24  Angus Leeming  <leeming@lyx.org>
1463
1464         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1465         deal with any child processes that have finished but are waiting to
1466         communicate this fact to the rest of LyX.
1467
1468 2004-03-24  Angus Leeming  <leeming@lyx.org>
1469
1470         64-bit compile fixes.
1471
1472         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1473         (c-tor): pass lyx::pos_types rather than ints.
1474
1475         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1476         lyx::pos_type.
1477
1478         * text.C (Delete): compile fix.
1479         (getPar): ensure that function declaration is the same as that in
1480         the header file.
1481
1482 2004-03-23  Angus Leeming  <leeming@lyx.org>
1483
1484         * ispell.C (LaunchIspell):
1485         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1486         a boost::shred_ptr rather than a std::auto_ptr.
1487
1488 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1491         handle LFUN_FILE_INSERT_*
1492
1493         * lyxrc.C (setDefaults, getDescription, output, read):
1494         * lyxrc.h: remove ps_command
1495
1496 2004-03-22  Angus Leeming  <leeming@lyx.org>
1497
1498         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1499         Ensure that error_handler is processed once only and that all data
1500         is saved before attempting to output any warning messages.
1501
1502         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1503
1504 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1507
1508 2004-03-19  André Pönitz  <poenitz@gmx.net>
1509
1510         * cursor.[Ch] (reset): take main text inset as argument
1511
1512         * BufferView: adjust
1513         * BufferView_pimpl.C: adjust
1514
1515         * paragraph.[Ch]: fix completely broken operator=()
1516
1517 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * LColor.C (getFromLyXName): make sure that the color name is used
1520         as lowercase.
1521
1522 2004-03-17  Angus Leeming  <leeming@lyx.org>
1523
1524         * lfuns.h:
1525         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1526
1527         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1528         dialog and to kill a forked process.
1529
1530 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * text2.C (setCursorFromCoordinates): fix font problem
1533
1534 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1537         bogus "rebuild cursor" code
1538
1539 2004-03-11  André Pönitz  <poenitz@gmx.net>
1540
1541         * buffer.[Ch]: use InsetText instead of LyXText as container for
1542         the main lyx text.
1543
1544         * dociterator.[Ch]: drop the BufferView * member which is not needed
1545         anymore after the change to buffer.C
1546
1547         * paragraph_funcs.C:
1548         * text.C:
1549         * text2.C:
1550         * BufferView.[Ch]:
1551         * BufferView_pimpl.[Ch]:
1552         * cursor.[Ch]:
1553         * cursor_slice.[Ch]: adjust
1554
1555         * text3.C: fix bug in mathDispatch
1556
1557 2004-03-08  André Pönitz  <poenitz@gmx.net>
1558
1559         * undo.[Ch]: use 'StableDocumentIterator' as base for
1560         the Undo struct.
1561
1562 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1563
1564         * LaTeXFeatures.C:
1565         * bufferparams.[Ch]: add jurabib support and param.
1566
1567         * LaTeX.C: add FIXME/comment.
1568
1569 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1570
1571         * buffer.C: increment file format to 230.
1572
1573 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1574
1575         * cursor.C (dispatch): avoid infinite loops
1576
1577 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1578
1579         * rowpainter.C (paintSelection): fix x coordinates
1580
1581 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * text.C (rowBreakPoint): fix breaking before displayed insets
1584
1585 2004-03-01  André Pönitz  <poenitz@gmx.net>
1586
1587         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1588
1589         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1590
1591         * Makefile.am:
1592         * BufferView.C:
1593         * BufferView_pimpl.C:
1594         * buffer.C:
1595         * lyxfind.C:
1596         * lyxfunc.C:
1597         * text.C:
1598         * text2.C:
1599         * text3.C: adjust
1600
1601 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * lyxtext.h:
1604         * text.C:
1605         * text2.C:
1606         * rowpainter.C:
1607         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1608         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1609
1610 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * Bidi.[Ch] (computeTables): const correctness
1613         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1614         fill_hfill, fill_label_hfill and x from Row
1615         * lyxtext.h: prepareToPrint returns a RowMetrics
1616         * rowPainter.C: adjust
1617         * text.C (prepareToPrint): use width, not textWidth. adjust
1618         (redoParagraphInternal, cursorX): adjust
1619         * text2.C (getColumnNearX): adjust
1620         (init): put a default value to the top LyXText::width
1621
1622 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1623
1624         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1625
1626 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1627
1628         * lyxtext.h: add FontIterator class
1629
1630         * text.C (FontIterator, operator*, operator->, operator++): add
1631         (rowBreakPoint, setRowWidth): adjust (fixing a
1632         rebreaking bug)
1633
1634 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1635
1636         * BufferView_pimpl.C (workAreaDispatch): allow also
1637         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1638
1639 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * text.C (rowBreakPoint): fix a bug showing with very large insets
1642
1643 2004-02-25  André Pönitz  <poenitz@gmx.net>
1644
1645         * text3.C:
1646         * cursor.[Ch]: move some mathed specific code to mathed
1647
1648 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1649
1650         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1651         use_tempdir in preferences
1652         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1653         tempfile creation
1654         * lyx_main.C: ensure that tempdir is valid
1655         * lyxlex.h: correct typo
1656         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1657         * paragraph.[Ch] (isMultiLingual): make const
1658         * cursor.[Ch] (openable): make const
1659
1660 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1661
1662         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1663
1664 2004-02-20  André Pönitz  <poenitz@gmx.net>
1665
1666         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1667
1668         * cursor.[Ch]: prepare for localized getStatus()
1669
1670         * lyxtext.h:
1671         * tabular.C:
1672         * text.C:
1673         * text2.C:
1674         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1675
1676 2004-02-20  André Pönitz  <poenitz@gmx.net>
1677
1678         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1679
1680 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * text2.C (setCursorFromCoordinates): switch to absolute coords
1683         (cursorUp): adjust
1684         (cursorDown): adjust
1685         * text3.C (dispatch): adjust
1686
1687 2004-02-16  André Pönitz  <poenitz@gmx.net>
1688
1689         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1690           insets/ChangeLog)
1691
1692         * cursor_slice.[Ch]: remove unneeded acessor function
1693
1694         * lyxtext.h: rename rtl() to isRTL()
1695
1696         * rowpainter.C:
1697         * tabular.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: adjust
1701
1702 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * rowpainter.C (paintSelection): coord fix
1705
1706 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1707
1708         * Spacing.C: compile fix
1709
1710 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1711
1712         * cursor.C (dispatch): restore current_ before returning
1713
1714 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * text2.C (cursorUp, cursorDown): fix coords
1717         (moveUp): fix crash
1718
1719 2004-02-12  André Pönitz  <poenitz@gmx.net>
1720
1721         * lyxtext.h:
1722         * text.C:
1723         * text2.C:
1724         * text3.C: add LCursor & parameter to most cursor movement functions
1725           remove usage of LyXText::cursorRow() and cursorPar()
1726
1727         * cursor.[Ch]: add textRow() needed members
1728
1729         * BufferView.C:
1730         * BufferView_pimpl.C:
1731         * paragraph.[Ch]:
1732         * BufferView.C:
1733         * BufferView_pimpl.C: adjust
1734
1735 2004-02-11  André Pönitz  <poenitz@gmx.net>
1736
1737         * lyxfunc.C:
1738         * BufferView.[Ch]:
1739         * BufferView_pimpl.C: shift undo/redo handling
1740
1741         * cursor.[Ch]: fix mathed crash
1742
1743         * lyxfind.C:
1744         * lyxtext.h: move selectionAsText to LCursor
1745
1746         * output_latex.C:
1747         * paragraph.C:
1748         * text.C:
1749         * text2.C:
1750         * text3.C: adjust
1751
1752         * rowpainter.C: fix excessive drawing
1753
1754 2004-02-06  André Pönitz  <poenitz@gmx.net>
1755
1756         * BufferView.[Ch]:
1757         * BufferView_pimpl.[Ch]:
1758         * text3.C: move some text specific LFUN handling
1759
1760 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * text3.C (checkInsetHit): adjust coords
1763         * text2.C (getColumnNearX): adjust coords
1764         (edit): adjust coords
1765         * text.C (getRowNearY): add two asserts
1766
1767 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1768
1769         * converter.C:
1770         * format.C: add using std::distance to compile on gcc 2.95/stlport
1771
1772 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1773
1774         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1775
1776 2004-02-04  André Pönitz  <poenitz@gmx.net>
1777
1778         * BufferView.[Ch] (insertInset):
1779         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1780
1781         * text2.C:
1782         * text3.C: adjust
1783
1784 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1787         on the default clause of the switch
1788         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1789         wasn't catched by LCursor::dispatch
1790
1791 2004-02-03  André Pönitz  <poenitz@gmx.net>
1792
1793         * BufferView.C:
1794         * cursor.[Ch]: some additional asserts
1795
1796         * undo.[Ch]: remove LyXText dependency in interface
1797
1798         * lyxfunc.C: adjust
1799
1800         * lyxtext.h (firstPar, lastPar): remove dead functions
1801
1802         * text.C:
1803         * text2.C:
1804         * text3.C:
1805         * paragraph.[Ch]: adjust
1806
1807 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1808
1809         * lyxfind.C (find): fix argument order in call to ::find
1810
1811 2004-02-02  André Pönitz  <poenitz@gmx.net>
1812
1813         * cursor.[Ch]: remove direct access to anchor
1814
1815         * text.C: remove findText() hack
1816
1817 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * iterators.[Ch] (lockPath): remove in favour of...
1820         * BufferView.[Ch] (setCursor): this addition
1821         * BufferView.C (putSelectionAt): adjust
1822         * undo.C (performUndoOrRedo): adjust
1823         * lyxfunc.C (dispatch): adjust
1824
1825 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * iterators.C (lockPath): add a missing slice
1828         * undo.C (performUndoOrRedo): remove redundant positioning code
1829
1830 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1831
1832         * vc-backend.C (scanMaster): ";" -> ';'
1833
1834 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1835
1836         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1837         std::binary_function
1838
1839         * lyxtextclass.C (compare_name): rename to...
1840         (LayoutNamesEqual): ...this
1841
1842         * lyxlex_pimpl.C (compare_tags): inherit from
1843         std::binary_function, put back into anon namespace
1844
1845         * lyxfind.C (MatchString): inherig from std::binary_function
1846         (findChange): use empty() istead of !size()
1847
1848         * format.C (FormatNamesEqual): new functor
1849         (getFormat): use it
1850         (getNumber): use it
1851         (add): use it
1852         (erase): use it
1853         (setViewer): use it
1854
1855         * converter.C (compare_Converter): rename to...
1856         (ConverterEqual): ...this, and fixup a bit.
1857         (getConverter): use it, and make function const
1858         (getNumber): use it, and make function const
1859         (add): use it
1860         (erase): use it:
1861
1862         * bufferlist.C: add using boost::bind
1863
1864         * MenuBackend.C (MenuNamesEqual): new functor
1865         (hasMenu): use it, and make function const
1866         (hasSubmenu): use nested bind to get rid of compare_memfun.
1867
1868 2004-01-30  André Pönitz  <poenitz@gmx.net>
1869
1870         * BufferView_pimpl.C:
1871         * cursor.C:
1872         * cursor.h:
1873         * cursor_slice.[Ch]:
1874         * lyxfunc.C:
1875         * lyxtext.h:
1876         * paragraph_funcs.C:
1877         * paragraph_funcs.h:
1878         * rowpainter.C:
1879         * text.C:
1880         * text2.C:
1881         * text3.C: move some of the edit(x,y) handling to the insets
1882         some coordinate changes.
1883
1884 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1885
1886         * text.C: add using statements for std::advance and std::distance
1887
1888         * paragraph.C: add using statement for std::distance
1889
1890         * lyxfind.C: add using statement for std::advance
1891
1892         * cursor.C (region): remove std:: from swap
1893         (openable): use nucleus in stead of operator->
1894
1895         * BufferView.C: add using statements for std::distance and std::swap
1896
1897 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * iterators.C: Remove the pimple, move the needed structures to
1900         the header file. Create accessor for the positions stack.
1901         (asPosIterator): remove function
1902
1903         * PosIterator.C (PosIterator): move constructors to top of file
1904         (PosIterator): reimplement the constructor taking a ParIterator in
1905         terms of setFrom.
1906         (setFrom): new function
1907         (operator!=): inline it
1908
1909 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1910
1911         * lyxfind.C (replaceAll): use std::advance
1912
1913         * iterators.h: inherit from std::iterator.
1914
1915         * PosIterator.C (advance, distance): remove
1916         * PosIterator.h: interit from std::iterator.
1917
1918 2004-01-26  André Pönitz  <poenitz@gmx.net>
1919
1920         * BufferView.[Ch]:
1921         * BufferView_pimpl.[Ch]:
1922         * InsetList.[Ch]:
1923         * PosIterator.[Ch]:
1924         * buffer.h:
1925         * bufferview_funcs.C:
1926         * cursor.[Ch]:
1927         * cursor_slice.h:
1928         * factory.[Ch]:
1929         * iterators.[Ch]:
1930         * lyxfind.C:
1931         * lyxfunc.C:
1932         * lyxtext.h:
1933         * output_docbook.C:
1934         * output_latex.C:
1935         * output_linuxdoc.C:
1936         * output_plaintext.C:
1937         * paragraph.[Ch]:
1938         * paragraph_funcs.[Ch]:
1939         * paragraph_pimpl.[Ch]:
1940         * rowpainter.C:
1941         * tabular.C:
1942         * tabular.h:
1943         * text.C:
1944         * text2.C:
1945         * text3.C: more IU:  dumps most of the rest of the mathcursor
1946     implementation into cursor.[Ch]; "globalize" a bit of it.
1947
1948 2004-01-25  Angus Leeming  <leeming@lyx.org>
1949
1950         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1951
1952 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1953
1954         * LaTeXFeatures.h: add nice_ and nice() const
1955         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1956
1957 2004-01-20  André Pönitz  <poenitz@gmx.net>
1958
1959         * BufferView.[Ch]:
1960         * BufferView_pimpl.C:
1961         * PosIterator.C:
1962         * bufferview_funcs.C:
1963         * cursor.[Ch]:
1964         * cursor_slice.[Ch]:
1965         * factory.C:
1966         * iterators.C:
1967         * lyx_cb.C:
1968         * lyxfind.C:
1969         * lyxfunc.C:
1970         * lyxtext.h:
1971         * rowpainter.C:
1972         * text.C:
1973         * text2.C:
1974         * text3.C:
1975         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1976           LCursor and mathcursor parts to LCursor and InsetBase.
1977
1978 2004-01-15  André Pönitz  <poenitz@gmx.net>
1979
1980         * cursor_slice.[Ch]: add a few covienience functions
1981
1982         * funcrequest.[Ch]: remove BufferView * member
1983
1984         * BufferView_pimpl.C:
1985         * cursor.C:
1986         * factory.[Ch]:
1987         * lyxfind.[Ch]:
1988         * lyxfunc.C:
1989         * lyxtext.h:
1990         * text3.C:
1991         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1992
1993 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1996         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1997
1998 2004-01-13  André Pönitz  <poenitz@gmx.net>
1999
2000         * textcursor.[Ch]:
2001         * lyxtext.h: hide cursor and selection anchor behind accessor function
2002
2003         * BufferView.C:
2004         * BufferView_pimpl.[Ch]:
2005         * PosIterator.C:
2006         * bufferview_funcs.C:
2007         * cursor.h:
2008         * lyxfind.C:
2009         * lyxfunc.C:
2010         * text.C:
2011         * text2.C:
2012         * text3.C:
2013         * undo.C: adjust
2014
2015         * cursor.h:
2016         * cursor_slice.[Ch]: some integer type changes for inset unification
2017
2018         * lyxcursor.[hC]: remove, it's CursorSlice now.
2019
2020         * Makefile.am:
2021         * BufferView_pimpl.[Ch]:
2022         * bufferview_funcs.C:
2023         * cursor_slice.C:
2024         * lyxtext.h:
2025         * text.C:
2026         * text2.C:
2027         * text3.C:
2028         * textcursor.[Ch]: adjust
2029
2030 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * text2.C (undoSpan): add and use
2033         * text.C (breakParagraph): use undoSpan (fix bug 578)
2034         * lyxtext.h: adjust
2035
2036 2004-01-08  Angus Leeming  <leeming@lyx.org>
2037
2038         * BufferView_pimpl.C (MenuInsertLyXFile):
2039         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2040         * lyxfunc.C (menuNew, open, doImport):
2041         FileFilterList change to the FileDialog open and save functions.
2042
2043 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2044
2045         * ShareContainer.h: make isEqual and isUnique adaptable
2046
2047         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2048
2049 2004-01-07  Angus Leeming  <leeming@lyx.org>
2050
2051         * LyXAction.C:
2052         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2053
2054         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2055
2056         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2057         functions replacing find, replace and replaceAll.
2058
2059         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2060         LFUN_WORDFIND(FORWARD|BACKWARD).
2061
2062 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2063
2064         * text.C (breakParagraph): remove an outdated #warning
2065
2066 2004-01-07  André Pönitz  <poenitz@gmx.net>
2067
2068         * lyxfind.C: somewhat clearer logic
2069
2070         * text.C: prevent crash in cursorX on unitialized row cache
2071
2072 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * lyxcursor.[Ch] (operator>): add
2075         * textcursor.C (selStart, selEnd): use std::min and std::max
2076
2077 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2078
2079         * Chktex.C: include boost/format.hpp
2080
2081 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2082
2083         * InsetList.C: replace functor MathcIt with adaptable functor
2084         InsetTablePosLess
2085         (insetIterator): modify accordingly
2086
2087         * BranchList.h: move the BranchNamesEqual functor here from...
2088         * BranchList.C: ... to here
2089
2090         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2091         SameName and match.
2092         (add): replace a finding loop with std::find_if.
2093
2094 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2095
2096         * output_docbook.C: moving LatexParam functionality into
2097         .layout files
2098
2099 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2100
2101         * buffer.C: increment format to 229.
2102
2103 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2104
2105         * LaTeXFeatures.C:
2106         * lyx_sty.[Ch]: remove minipageindent_def
2107
2108         * LyXAction.C:
2109         * factory.C:
2110         * lfuns.h:
2111         * lyxfunc.C:
2112         * text3.C: remove LFUN_INSET_MINIPAGE
2113
2114 2003-12-28  Angus Leeming  <leeming@lyx.org>
2115
2116         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2117
2118 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * text2.C (setParagraph): fix off-by-one crash
2121
2122 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2123
2124         * output_docbook.C: header stuff for AGU
2125
2126 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2127
2128         * text2.C (redoCursor): remove
2129         * text.C:
2130         * text3.C:
2131         * BufferView_pimpl.C: remove calls to redoCursor and
2132         setCursor(cursor.par(), cursor.pos()) all around
2133
2134 2003-12-15  Angus Leeming  <leeming@lyx.org>
2135
2136         * buffer.C: up the format to 228.
2137
2138 2003-12-15  André Pönitz  <poenitz@gmx.net>
2139
2140         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2141         slices
2142
2143         * Makefile.am:
2144
2145         * BufferView_pimpl.C:
2146         * cursor.[Ch]:
2147         * lyxcursor.[Ch]:
2148         * rowpainter.[Ch]:
2149         * lyxtext.h:
2150         * text.C:
2151         * text2.C:
2152         * text3.C: adjust
2153
2154 2003-12-15  Angus Leeming  <leeming@lyx.org>
2155
2156         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2157         than getFromGUIName to manipulate the color.
2158
2159 2003-12-14  Angus Leeming  <leeming@lyx.org>
2160
2161         * BranchList.[Ch]: minimize the API.
2162         (Branch::getBranch, getColor): now return a 'const &'.
2163         (Branch::setSelected) now returns a bool set to true if the
2164         selection status changes.
2165         (BranchList::clear, size, getColor, setColor, setSelected,
2166         allBranches, allSelected, separator): removed.
2167         (BranchList::find): new functions, returning the Branch with
2168         the given name.
2169         (BranchList::add, remove): return a bool indicating that
2170         the operation was successful.
2171
2172         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2173         new InsetBranch::isBranchSlected member function.
2174
2175         * LColor.[Ch]: mimimize the API.
2176         (fill): renamed as addColor and made private.
2177         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2178         versions of these functions taking a string arg have been removed.
2179
2180         * bufferparams.C (readToken):
2181         * lyxfunc.C (dispatch):
2182         * lyxrc.C (read): changes due to the altered BranchList and
2183         LColor APIs.
2184
2185         * factory.C (createInset, readInset): changes due to altered
2186         InsetBranch c-tor.
2187
2188 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2189
2190         * factory.C:
2191         * lyxfunc.C: remove insetminipage. "minipage-insert"
2192         now produces a frameless minipage box inset.
2193
2194 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2195
2196         * textcursor.[Ch] (selStart,selEnd): add new methods
2197         remove selection::start, end, use LyXCursor::operator<
2198         * lyxcursor.[Ch] (operator<): add
2199         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2200         * BufferView.[Ch] (unsetXSel): add
2201         * text2.C (clearSelection): use unsetXSel,adjust
2202         * text.C: adjust
2203         * text3.C: adjust
2204         * rowpainter.C: adjust
2205         * bufferview_funcs.C (put_selection_at): adjust
2206
2207 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2208
2209         * BufferView_pimpl.C: small coord. correction
2210
2211 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2214         dragging over the splash screen.
2215
2216 2003-12-11  Angus Leeming  <leeming@lyx.org>
2217
2218         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2219         as it is now handled in LyXText::dispatch.
2220
2221         * text3.C (doInsertInset): remove a level of nesting.
2222
2223 2003-12-11  Angus Leeming  <leeming@lyx.org>
2224
2225         * factory.C (createInset): changes due to the changed interface to
2226         InsetCommandMailer::string2params.
2227
2228 2003-12-10  Angus Leeming  <leeming@lyx.org>
2229
2230         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2231         'dialog-show-new-inset <inset name>'
2232
2233 2003-12-10  Angus Leeming  <leeming@lyx.org>
2234
2235         * buffer.C: up the format to 227.
2236
2237         * factory.C: the box inset is now identified simply by 'Box'.
2238
2239 2003-12-10  Angus Leeming  <leeming@lyx.org>
2240
2241         * buffer.C: up the format to 226.
2242
2243         * factory.C: the note inset is now identified simply by 'Note'.
2244
2245 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2246
2247         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2248         when a pit is enough. Standarize a couple of loops.
2249
2250 2003-12-05  Angus Leeming  <leeming@lyx.org>
2251
2252         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2253         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2254         data to the re-worked "log" dialog.
2255
2256 2003-12-03  André Pönitz  <poenitz@gmx.net>
2257
2258         * PosIterator.C:
2259         * iterators.C:
2260         * lyxtext.h:
2261         * output_latex.C:
2262         * paragraph_funcs.C:
2263         * text.C:
2264         * text2.C: use Inset::getText instead of Inset::getParagraph
2265
2266 2003-12-03  André Pönitz  <poenitz@gmx.net>
2267
2268         * buffer.[Ch]:
2269         * lyxtext.h:
2270         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2271         InsetText::read() as LyXText::read()
2272
2273 2003-12-02  Angus Leeming  <leeming@lyx.org>
2274
2275         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2276         type. Add a comment in the implementation that the function uses
2277         the stream's bad() function rather than fail() as the std::streams
2278         would do.
2279
2280 2003-12-02  André Pönitz  <poenitz@gmx.net>
2281
2282         * lyxlex.[Ch]: make interface more similar to std::stream
2283
2284         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2285
2286 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2287
2288         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2289
2290 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2291
2292         * vspace.[Ch]: remove VSpace::NONE
2293
2294 2003-12-01  André Pönitz  <poenitz@gmx.net>
2295
2296         * buffer.[Ch]:
2297         * lyxtext.h: move ParagraphList member to LyXText
2298         rename LyXText::ownerParagraphs to LyXText::paragraph
2299
2300         * CutAndPaste.C:
2301         * bufferview_funcs.C:
2302         * iterators.[Ch]:
2303         * lyx_cb.C:
2304         * paragraph.C:
2305         * rowpainter.C:
2306         * tabular.C:
2307         * text.C:
2308         * text2.C:
2309         * text3.C: adjust
2310
2311         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2312
2313         * undo.C: fix cursor positioning
2314
2315 2003-12-01  John Levon  <levon@movementarian.org>
2316
2317         * BufferView_pimpl.C: fix a crash on exit with
2318         a buffer open
2319
2320 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2321
2322         * BranchList.C: fix setSelected() method.
2323
2324 2003-11-28  André Pönitz  <poenitz@gmx.net>
2325
2326         * ParagraphParameters.[Ch]:
2327         * ParameterStruct.h: remove space above/below from Paragraph to
2328          InsetVSpace
2329
2330         * BufferView_pimpl.C:
2331         * factory.C:
2332         * lyxfunc.C:
2333         * lyxtext.h:
2334         * output_latex.C:
2335         * paragraph.C:
2336         * paragraph_funcs.C:
2337         * rowpainter.[Ch]:
2338         * text.C:
2339         * text2.C:
2340         * text3.C: adjust
2341
2342 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2343
2344         * factory.C: Syntax change for CharStyles
2345
2346 2003-11-28  André Pönitz  <poenitz@gmx.net>
2347
2348         * BufferView.[Ch]:
2349         * BufferView.[Ch]:
2350         * buffer.[Ch]:
2351         * buffer.[Ch]: move LyXText member
2352
2353 2003-11-28  André Pönitz  <poenitz@gmx.net>
2354
2355         * BufferView.[Ch]: make LyXText * text a private member
2356
2357         * BufferView_pimpl.C:
2358         * cursor.C:
2359         * iterators.C:
2360         * lyx_cb.C:
2361         * lyxfind.C:
2362         * lyxtext.h:
2363         * rowpainter.[Ch]:
2364         * text.C:
2365         * text2.C:
2366         * undo.C: adjust
2367
2368         * output_plaintext.C: cleanup
2369
2370 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2371
2372         * buffer.C:
2373         * lyxtextclass.[Ch]: parametrize SGML document header
2374
2375 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2376
2377         * converter.[Ch]:
2378         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2379         getFlavor().
2380
2381 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * text2.C (setFont): rework using PosIterator (no more recursive)
2384         (setCharFont): no more needed
2385         (setLayout): no more selection cursors fiddling (done by redoCursor)
2386         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2387         destroy remaining ones)
2388
2389 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2392         * lyxtext.h: ditto
2393         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2394         selection cursors
2395         * lyxfunc.C: adjust
2396         * text3.C: adjust + re-allow multi par depth changes
2397         * textcursor.C: simplify a bit
2398
2399 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2400
2401         * src/buffer.C:
2402         * src/lyxlayout.C:
2403         * src/lyxlayout.h:
2404         * src/lyxtext.h:
2405         * src/output_docbook.C:
2406         * src/output_latex.C:
2407         * src/paragraph.C:
2408         * src/paragraph.h:
2409         * src/sgml.C:
2410         * src/sgml.h:
2411         * src/text2.C: Introducing a number of tags parametrizing various
2412         XML formats that we may want to support
2413
2414 2003-11-25  André Pönitz  <poenitz@gmx.net>
2415
2416         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2417
2418         * lyxtext.h (leftMargin/rightMargin): simplify interface
2419
2420         * rowpainter.C:
2421         * text.C:
2422         * text2.C:
2423         * text3.C: adjust
2424
2425 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2426
2427         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2428         master file to any child files. Fixes bug 546.
2429
2430 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2433
2434 2003-11-24  André Pönitz  <poenitz@gmx.net>
2435
2436         * rowpainter.C: simplification
2437
2438         * text2.C (updateCounters): remove call to redoParagraph on
2439         changed labels as this is far too expensive.
2440
2441 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * converter.C (convert): fix a crash: this function gets
2444         called with buffer == 0 from importer code.
2445
2446 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2447
2448         * text3.C (cursorPrevious): make sure that we do not compare
2449         iterators form different containers.
2450         (cursorNext): ditto
2451
2452         * rowpainter.C (paintSelection): make sure that we do not compare
2453         iterators from different containers.
2454
2455         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2456         iterators from different ParagraphList containers.
2457         [NEXT] ditto
2458
2459         * text2.C (LyXText): change order of initialization slightly
2460         (operator=): new function. copy all variables except cache_par_
2461         (moveUp): make sure that we do not compare iterators from
2462         different ParagraphList constainers.
2463         (moveDown): ditto
2464
2465         * text.C (firstPar): new function
2466         (lastPar): new function
2467         (endPar): new function
2468
2469         * lyxtext.h: move things around and group public functions, public
2470         variables, private functions, private variables
2471
2472 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2473
2474         * factory.C: change call to InsetERT constructor to avoid
2475         additional invocation of method status
2476         * text2.C (toggleInset): remove redundant update() call
2477         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2478         instead of a Bufferview pointer
2479
2480 2003-11-21  André Pönitz  <poenitz@gmx.net>
2481
2482         * rowpainter.C: simplification
2483
2484 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * text3.C (dispatch): make possible to extend a word/row selection
2487         with the mouse
2488
2489 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * lyxtext.h: x0_,y0_ -> xo_,yo_
2492         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2493         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2494         * rowpainter.C (paintRows): paint full paragraphs
2495
2496 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2499         screen coordinates)
2500
2501 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * lyxtext.h: add x0_, y0_
2504         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2505         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2506
2507 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2508
2509         * text2.C (setCursorIntern): move the x_target update here *
2510         * text3.C: change some bv() to true/false in calls to
2511         cursorUp/Down/Right/Left
2512         * cursor.C: use helper function.
2513
2514 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2517         * paragraph_funcs.[Ch]: correct comment
2518         * rowpainter.C: do not paint selections away from bv->cursor()
2519         Fix a long standing selection painting bug.
2520         * text3.C: generalize mouse-selection code to LyXTexts other that
2521         top one
2522         * textcursor.C: do not use y coords if we can use par offsets
2523
2524 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2527         cursor position after e.g. inset insert)
2528
2529 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2530
2531         * lyxfind.C (replace): adjust to locking removal + some
2532         code simplification
2533
2534 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2535
2536         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2537         of the path
2538
2539 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * lyxlayout.[Ch]:
2542         * output_docbook.C: XML sanitation: new layout
2543         parameters InnerTag and CommandDepth
2544
2545 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2546
2547         * BufferView_pimpl.C:
2548         * factory.C:
2549         * text3.C: Fix the insertion and modification of button-style
2550         insets
2551
2552 2003-11-13  André Pönitz  <poenitz@gmx.net>
2553
2554         * InsetList.[Ch]: remove deleteLyXText
2555
2556         * paragraph.[Ch]: cache beginOfBody position
2557
2558         * Bidi.C:
2559         * text.C:
2560         * text2.C:
2561         * text3.C: remove superfluous update() calls
2562
2563         * vspace.C: cleanup
2564
2565 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2568         * BufferView.C (fitLockedInsetCursor): remove
2569         * cursor.[Ch] (getDim): add
2570         * text.C (getRowNearY): add faster version
2571         * text3.C: remove some update calls
2572
2573 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * LaTeXFeatures.C:
2576         * LyXAction.C:
2577         * MenuBackend.C:
2578         * MenuBackend.h:
2579         * dispatchresult.h:
2580         * factory.C:
2581         * lfuns.h:
2582         * lyxfunc.C:
2583         * lyxtextclass.C:
2584         * lyxtextclass.h:
2585         * text3.C: The Character Style /XML short element patch.
2586
2587 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2588
2589         * text3.C:
2590         * factory.C: Small step to solving 'unable to insert some insets'
2591         problem
2592
2593 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * cursor.[Ch] (updatePos): new function for updating the y
2596         position of the tip inset
2597         * bufferview_funcs.C (put_selection_at):
2598         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2599
2600 2003-11-11  André Pönitz  <poenitz@gmx.net>
2601
2602         * text.C: remove big comment on invalid Paragraph pointers as it is
2603         not valid anymore
2604
2605 2003-11-11  André Pönitz  <poenitz@gmx.net>
2606
2607         * text_funcs.[Ch]: merge with ...
2608
2609         * text.C: ... this
2610
2611         * lyxtext.h:
2612         * text2.C:
2613         * text3.C: adjust
2614
2615         * Makefile.am: remove text_funcs.[Ch]
2616
2617 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * cursor.C (getPos): return absolute cached y coord
2620
2621         * BufferView_pimpl.C (fitCursor): new simplistic code
2622         (workAreaDispatch): add a fitCursor call
2623
2624 2003-11-10  André Pönitz  <poenitz@gmx.net>
2625
2626         * BufferView.[Ch]:
2627         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2628
2629 2003-11-10  André Pönitz  <poenitz@gmx.net>
2630
2631         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2632         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2633         indicate that the cursor needs to leave an inset
2634
2635         * lyxtext.h: remove inset locking
2636
2637         * cursor.[Ch]: re-implement functionality provided by inset locking
2638
2639         * BufferView.[Ch]:
2640         * BufferView_pimpl.[Ch]:
2641         * LyXAction.C:
2642         * bufferview_funcs.[Ch]:
2643         * factory.C:
2644         * funcrequest.[Ch]:
2645         * iterators.C:
2646         * lyx_cb.C:
2647         * lyxfind.C:
2648         * lyxfunc.C:
2649         * text.C:
2650         * text2.C:
2651         * text3.C:
2652         * undo.C: adjust
2653
2654 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2655
2656         * PosIterator.[Ch]: replace the stack with a vector, add inset
2657         accesor
2658         * iterators.[C]: adjust
2659
2660 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2661
2662         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2663         replaced
2664         * paragraph_funcs.C (readParToken): put the correct id in the
2665         error item, not the id of the top paragraph
2666
2667 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2670         * bufferview_funcs.C (put_selection_at): use the above
2671
2672 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2675
2676 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * output_linuxdoc.h:
2679         * output_plaintext.h:
2680         * output.h:
2681         * output_docbook.h: add #include statements
2682
2683 2003-11-05  José Matos  <jamatos@lyx.org>
2684
2685         * output_docbook.[Ch]:
2686         * output_latex.[Ch]:
2687         * output_linuxdoc.[Ch]:
2688         * output_plaintext.[Ch]: New files for output formats.
2689         * output.[Ch]: New file for helper functions.
2690
2691         * buffer.[Ch]:
2692         * paragraph_funcs.[Ch]: output functions moved to new files.
2693
2694         * outputparams.h: rename of latexrunparams.h
2695
2696         * LaTeX.[Ch]:
2697         * buffer.[Ch]:
2698         * bufferlist.[Ch]:
2699         * converter.[Ch]:
2700         * exporter.C:
2701         * paragraph.[Ch]:
2702         * paragraph_funcs.[Ch]:
2703         * paragraph_pimpl.[Ch]:
2704         * tabular.[Ch]: rename ascii to plaintext
2705         and LatexRunParams to OutputParams.
2706
2707 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * iterators.[Ch] (text): require bv argument
2710         * undo.C (recordUndo):
2711         * lyxfunc.C (dispatch):
2712         * bufferview_funcs.C (put_selection_at): adjust
2713
2714 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2715
2716         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2717
2718 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2721         nestings
2722
2723 2003-11-04  André Pönitz  <poenitz@gmx.net>
2724
2725         * cursor.[Ch]: restructure
2726
2727         * BufferView.[Ch]:
2728         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2729
2730         * iterators.[Ch] (asCursor): remove
2731
2732         * lfuns.h: remove LFUN_INSET_EDIT
2733
2734         * lyxfunc.C:
2735         * tabular.C:
2736         * text.C:
2737         * text2.C:
2738         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2739
2740 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * lyxfind.[Ch]: complete overhaul
2743         * BufferView_pimpl.C:
2744         * lyxfunc.C: adjust
2745         * paragraph.[Ch] (insert): add
2746
2747 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * BufferView.[Ch]:
2750         * lyxtext.h:
2751         * text.C: remove dead spellcheck code
2752
2753 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * dispatchresult.h: add a val setter
2756
2757         * cursor.C (dispatch): use a tempvar for data_[i]
2758
2759 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * PosIterator.[Ch]: compile fix
2762
2763 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2764
2765         * text.C (cursorPar): deactivate the cursor cache
2766
2767 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2768
2769         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2770
2771 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * text3.C (dispatch): adjust for new DisptchResult semantics.
2774
2775         * lyxfunc.C (dispatch): handle update when return from
2776         Cursor::dispatch, adjust for new DispatchResult semantics.
2777
2778         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2779         DispatchResult(true) mean to not update. Add class functions for
2780         setting dispatched and update, as well as reading.
2781
2782         * cursor.C (dispatch): don't handle update here
2783
2784 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2787         * trans_mgr.C: adjust
2788
2789         * paragraph_funcs.C (readParToken): exception safety
2790
2791         * lyxvc.h: store the vcs pointer in a scoped_ptr
2792         * lyxvc.C: adjust
2793
2794         * lyxsocket.C (serverCallback): exception safety
2795
2796         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2797
2798         * ispell.C (clone): make it return a auto_ptr
2799
2800         * factory.C (createInset): exception safety
2801         (readInset): exception safety
2802
2803         * bufferlist.C (newBuffer): exception safety
2804
2805         * Thesaurus.C (Thesaurus): use initialization for aik_
2806
2807         * MenuBackend.C (expandToc): exception safety.
2808
2809 2003-11-03  André Pönitz  <poenitz@gmx.net>
2810
2811         * buffer.C:
2812         * buffer.h:
2813         * bufferview_funcs.C: remove getInsetFromId()
2814
2815         * lyxcursor.[Ch]:
2816         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2817
2818         * lyxfunc.C:
2819         * text2.C:
2820         * text3.C: adjust
2821
2822 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * PosIterator.C (distance, advance): new
2825         * bufferview_funcs.[Ch] (put_selection_at): new
2826         * iterators.[Ch] (lockPath): new
2827
2828 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * iterators.[Ch] (asPosIterator): added
2831         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2832         * PosIterator.[Ch]: added
2833
2834 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * text3.C:
2837         * lyxfunc.C:
2838         * cursor.C (dispatch):
2839         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2840
2841         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2842         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2843         contructor, add a class function dispatched. Remove operator>=
2844
2845 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * debug.C: only use the default constructor for debugstream
2848         (lyxerr) here.
2849
2850         * main.C (main): include debug.h and setup the lyxerr streambuf
2851         here.
2852
2853 2003-10-31  José Matos  <jamatos@lyx.org>
2854
2855         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2856
2857         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2858         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2859         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2860         * paragraph_pimpl.C (simpleTeXSpecialC):
2861         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2862         add LatexRunParams argument.
2863
2864         * exporter.C (Export): change call accordingly.
2865
2866         * latexrunparams.h: add new member to take care of the other backends.
2867 2003-10-30  José Matos  <jamatos@lyx.org>
2868
2869         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2870         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2871         factorise code for paragraph output.
2872         * buffer.[Ch]:
2873         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2874         move functions.
2875
2876 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * text3.C (dispatch):
2879         * lyxfunc.C (dispatch):
2880         * cursor.C (dispatch):
2881         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2882
2883         * dispatchresult.h: make the dispatch_result_t ctor explicit
2884
2885 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2886
2887         * sgml.[Ch]:
2888         * buffer.C: small refactoring of docbook stuff
2889
2890 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2893         meaning.
2894
2895 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2898         operator dispatch_result_t, and operators for == != and >=
2899
2900         * cursor.C (dispatch): adjust for operator dispatch_result_t
2901         removal. comment out call to update
2902
2903         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2904
2905 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * text3.C:
2908         * text2.C:
2909         * text.C:
2910         * lyxtext.h:
2911         * lyxfunc.C:
2912         * cursor.C:
2913         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2914         (dispatch):
2915
2916         * dispatchresult.h: new file, DispatchResult broken out of
2917         insets/insetbase.h
2918
2919         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2920
2921 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * text.C (rowBreakPoint): put a hack inside #if 0
2924
2925 2003-10-28  André Pönitz  <poenitz@gmx.net>
2926
2927         * lyxtext.h:
2928         * metricsinfo.C:
2929         * paragraph_funcs.C:
2930         * rowpainter.C:
2931         * text.C:
2932         * text2.C: general cleanup (lots of small stuff)
2933
2934 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2935
2936         * text2.C (cursorEnd): simple fix to the "end key goes to one
2937         before the end on last row" bug
2938
2939 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * text.C (backspace): fix the "zombie characters"
2942
2943 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2946
2947 2003-10-27  André Pönitz  <poenitz@gmx.net>
2948
2949         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2950
2951         * factory.C: handle new InsetPagebreak, InsetLine
2952
2953         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2954         and move handling into new InsetPagebreak, InsetLine
2955
2956         * BufferView_pimpl.C:
2957         * LyXAction.C:
2958         * ParagraphParameters.C:
2959         * ParameterStruct.h:
2960         * lyxfunc.C:
2961         * lyxtext.h:
2962         * paragraph.C:
2963         * paragraph.h:
2964         * paragraph_funcs.C:
2965         * paragraph_pimpl.C:
2966         * rowpainter.C:
2967         * text.C:
2968         * text2.C:
2969         * text3.C: adjust
2970
2971 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * text.C:
2974         * lyxrow_funcs.[Ch]:
2975         * Bidi.C:
2976         * paragraph.C:
2977         * lyxtext.h:
2978         * rowpainter.C:
2979         * text2.C:
2980         * text3.C: remove lastPos uses in favour of Row::endpos
2981
2982 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * undo.C (performUndoOrRedo): fix two crashes by setting a
2985         cursor by hand and reordering some calls. Use bv->lockInset instead
2986         of inset->edit because the latter loses cursor information
2987
2988 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2991         by Martin
2992         (rowBreakPoint): fix width. change point to point + 1.
2993         Add a missing check.
2994
2995 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2996
2997         * MenuBackend.C:
2998         * lyxfunc.C: fix (at least partly) the problems
2999         with the Nav menu and headers inside branch insets
3000         reported by Kayvan
3001
3002 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3003
3004         * paragraph.C (getChar): add strong asserts
3005
3006         * lyxrow_funcs.C (lastPos): remove hideous hack
3007
3008         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3009         (fill): adjust to that (avoid an infinite loop)
3010
3011 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3012
3013         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3014
3015 2003-10-23  André Pönitz  <poenitz@gmx.net>
3016
3017         * RowList_fwd.h: change list<> to vector<> to gain speed
3018         after suggestion from Alfredo
3019
3020 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * lyxtext.h: move the bidi stuff from here...
3023         * text.C: and here
3024         * text2.C: and here
3025         * Bidi.[Ch]: ... to here
3026
3027 2003-10-23  André Pönitz  <poenitz@gmx.net>
3028
3029         * lyxtext.h:
3030         * text.C (isLastRow, isFirstRow): new functions
3031
3032         * paragraph.h: new width cache member
3033
3034         * rowpainter.C: replace RowList::iterator with Row & where possible
3035
3036         * lyxfunc.C: replace several view()->text with a single call
3037
3038         * toc.C: fix 'unused' warning
3039
3040 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3043         when woring with stream::pos_type
3044         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3045
3046 2003-10-22  André Pönitz  <poenitz@gmx.net>
3047
3048         * lyxtext.h:
3049         * text.C: use Row & instead of RowList::iterator
3050
3051         * lyxrow.h: rename end() to endpos()
3052
3053         * rowpainter.C:
3054         * text.C:
3055         * text2.C: adjust
3056
3057 2003-10-22  Angus Leeming  <leeming@lyx.org>
3058
3059         * buffer.[Ch] (fully_loaded): new member function, returning true
3060         only when the file has been loaded fully.
3061         Used to prevent the premature generation of previews and by the
3062         citation inset to prevent computation of the natbib-style label.
3063
3064         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3065         templates are all set up.
3066
3067         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3068
3069 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3070
3071         * text.C: fixed an "oops" in the "is a bit silly"
3072         bug fix
3073
3074 2003-10-21  André Pönitz  <poenitz@gmx.net>
3075
3076         * FuncStatus.[Ch]: small stuff, whitespace
3077
3078         * lyxfont.[Ch]: operator<<() for debug reasons
3079
3080         * lyxfunc.C:
3081         * lyxrow_funcs.C:
3082         * lyxtext.h: whitespace, spelling
3083
3084         * paragraph.C: naming of variables
3085
3086         * text.C:
3087         * text2.C: small stuff
3088
3089
3090 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3091
3092         * text.C: (1) finish off the inset display() work;
3093         (2) fix the "is a bit silly" bug (accessing char
3094         past end of par).
3095
3096 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3097
3098         * text.C: re-introduce display() for insets, fixing the
3099         various bugs (stretch of line above, math inset
3100         positioning, ...)
3101
3102 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3103
3104         * text.C (rightMargin): remove spurious semicolon
3105
3106         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3107         1415)
3108
3109 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3110
3111         * text3.C: fix one crash due to wrong cursor def
3112
3113 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * vc-backend.C (scanMaster): make the regex static
3116
3117         * LaTeX.C (scanAuxFile): make the regexs static
3118
3119         * text3.C (doInsertInset, dispatch, dispatch):
3120         * text2.C (cursorUp, cursorDown):
3121         * text.C (selectNextWordToSpellcheck):
3122         * BufferView_pimpl.C (dispatch):
3123         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3124
3125 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * lyxsocket.C: include <cerrno>
3128
3129 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * lyxfunc.C (dispatch): remove textcache stuff
3132
3133         * bufferlist.C (release): remove textcache stuff
3134         (closeAll): ditto
3135
3136         * TextCache.C: delete file
3137         * TextCache.h: delete file
3138
3139         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3140
3141         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3142         delete of the bv_->text.
3143         (resizeCurrentBuffer): remove texcache stuff
3144         (workAreaResize): ditto
3145
3146 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3149         action.
3150
3151 2003-10-16  André Pönitz  <poenitz@gmx.net>
3152
3153         * lyxrow.[Ch]:
3154         * paragraph.h:
3155         * rowpainter.C:
3156         * text.C:
3157         * text2.C:
3158         * text3.C: speed up by storing y positions per paragraph plus per-row
3159         offset instead of having a 'full' y position in the row.
3160
3161 2003-10-15  André Pönitz  <poenitz@gmx.net>
3162
3163         * iterators.[Ch]:
3164         * iterators.[Ch]:
3165         * undo.[Ch]: make undo aware of inner insets
3166
3167 2003-10-14  Angus Leeming  <leeming@lyx.org>
3168
3169         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3170         static member functions LyX::ref() and LyX::cref.
3171         (lastfiles): new accessor functions for the new lastfiles_ member var.
3172         (addLyXView, views_): add a new LyXView to the list of views_.
3173         (updateInset): loop over all LyXViews to call their own updateInset
3174         member function, returning a pointer to the Buffer owning the inset.
3175
3176         * BufferView_pimpl.C (loadLyXFile):
3177         * MenuBackend.C (expandLastfiles):
3178         * bufferlist.C (MenuWrite, QuitLyX):
3179         lastfiles is no longer a global variable.
3180         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3181
3182         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3183         static function. Access through LyX::cref().emergencyCleanup().
3184
3185 2003-10-14  André Pönitz  <poenitz@gmx.net>
3186
3187         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3188
3189         * undo.[Ch]: restoring part of 'undo in insets'
3190
3191         * Makefile.am:
3192         * undo_funcs.[Ch]: merge with undo.[Ch]
3193
3194         * tabular.C: small cleansing stuff
3195
3196 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * paragraph_funcs.C (readParToken): report unknown insets as error
3199         boxes. Use the outer paragraph as location (also for unknown
3200         tokens).
3201
3202         * factory.C (readInset): do not abort on reading an unknown inset.
3203         Eat it and return 0.
3204
3205 2003-10-13  Angus Leeming  <leeming@lyx.org>
3206
3207         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3208
3209         * lyxrc.C: displayTranslator is now a function,
3210         declared in GraphicsTypes.h.
3211
3212 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3213
3214         * format.C: new placeholder $$a to pass the socket address.
3215
3216         * bufferlist.[Ch]: new function getBufferFromTmp.
3217
3218         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3219           files in the temporary dir.
3220
3221 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3222
3223         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3224
3225         * Makefile.am: add lyxsocket.[Ch].
3226
3227         * lyx_main.C (error_handler): handle SIGPIPE.
3228
3229 2003-10-13  André Pönitz  <poenitz@gmx.net>
3230
3231         * BufferView_pimpl.C:
3232         * lyxtext.h:
3233         * text.C:
3234         * text2.C:
3235         * text3.C:
3236         * undo_funcs.[Ch]: use paroffset_type instead of
3237           ParagraphList::iterators to prevent multiple conversion
3238           (and get a more robust interface)
3239
3240 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3243         * lyxtext.h: ditto
3244         * text3.C (dispatch): ditto
3245
3246 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3249         move the onlyfile, use onlyfile instead of foundfile in a couple
3250         of places.
3251
3252         * DepTable.C (update): flush the error stream a bit more
3253
3254 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * lyxserver.C (callback): adjust
3257
3258         * lyxfunc.C (getStatus): add a missing brace in commented code
3259         (ensureBufferClean): reindent
3260         (dispatch): delete version taking a string
3261
3262 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * LaTeX.C (deplog): move found file handlig from here...
3265         (handleFoundFile): .. to new function here.
3266         (deplog): make sure to discover several files mentioned on the
3267         same log line.
3268
3269 2003-10-10  André Pönitz  <poenitz@gmx.net>
3270
3271         * lyxfunc.C:
3272         * lyxtext.h:
3273         * tabular.C:
3274         * text.C:
3275         * text2.C:
3276         * text3.C: fix some of the tabular crashes
3277
3278 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3279
3280         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3281
3282         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3283
3284 2003-10-09  André Pönitz  <poenitz@gmx.net>
3285
3286         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3287
3288         * BufferView.C:
3289         * BufferView_pimpl.C:
3290         * bufferview_funcs.C:
3291         * lyx_cb.C:
3292         * lyxcursor.C:
3293         * lyxfind.C:
3294         * lyxfunc.C:
3295         * lyxtext.h:
3296         * text.C:
3297         * text2.C:
3298         * text3.C:
3299         * text_funcs.[Ch]:
3300         * textcursor.[Ch]:
3301         * undo_funcs.C: adjust
3302
3303 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * text2.C (incrementItemDepth): new function, use a backtracking
3306         algorithm to discover the correct item depth.
3307         (resetEnumCounterIfNeeded): new function, use a backtracking
3308         algorithm to discover if counter reset is needed.
3309         (setCounter): use them. Simplify a bit. Add different labels for
3310         different item depths for itemize.
3311
3312         * paragraph.C (Paragraph): remove initialization of enumdepth
3313         (operator=): ditto
3314
3315         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3316         enumerate and itemize. Change the type of itemdepth to signed char.
3317
3318 2003-10-08  André Pönitz  <poenitz@gmx.net>
3319
3320         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3321           thing assignable.
3322         * text.C:
3323         * text2.C: adjust
3324
3325         * tabular.[Ch]: fix crash after 'row-insert'
3326
3327 2003-10-08  Angus Leeming  <leeming@lyx.org>
3328
3329         Fix doxygen warnings.
3330
3331         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3332         Remove CutAndPaste:: prefix from header file declaration.
3333
3334         * LColor.h (fill): remove LColor:: prefix from declaration.
3335
3336         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3337         use lyx::depth_type rather than Paragraph::depth_type so that
3338         header file and .C file match.
3339
3340         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3341
3342         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3343         * aspell.C: \file aspell_local.C -> \file aspell.C
3344         * gettext.C: \file gettext.C -> \file src/gettext.C
3345         * gettext.h: \file gettext.h -> \file src/gettext.h
3346         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3347         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3348         * text.C: \file text.C -> \file src/text.C
3349
3350         * toc.C: move comment so that doxygen is not confused.
3351
3352 2003-10-07  Angus Leeming  <leeming@lyx.org>
3353
3354         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3355
3356 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3357
3358         * aspell.C:
3359         * aspell_local.h: add forgotten std::string's.
3360
3361 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3362
3363         * LaTeXFeatures.C:
3364         * LyXAction.C:
3365         * factory.C:
3366         * lfuns.h:
3367         * lyxfunc.C:
3368         * text3.C: The Box patch. Fancybox support, minipage, parbox
3369
3370 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3371
3372         * CutAndPaste.h:
3373         * DepTable.h:
3374         * FloatList.h:
3375         * LaTeXFeatures.h:
3376         * ParagraphParameters.h:
3377         * TextCache.h:
3378         * Thesaurus.h:
3379         * bufferlist.h:
3380         * exporter.h:
3381         * importer.h:
3382         * lastfiles.h:
3383         * lyxfind.h:
3384         * lyxfont.h:
3385         * lyxlex.h:
3386         * lyxtextclasslist.h:
3387         * messages.h:
3388         * paragraph.h:
3389         * paragraph_pimpl.C:
3390         * textcursor.h: add <string> and other small fixes to make Lars'
3391         std::string patch compile with STLport.
3392
3393 2003-10-06  Angus Leeming  <leeming@lyx.org>
3394
3395         * LColor.h: Add missing #include <string>.
3396
3397 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * All most all file in all subdirs: Make <string> be the prefered
3400         way of getting to std::string, add using declarations.
3401
3402 2003-10-06  André Pönitz  <poenitz@gmx.net>
3403
3404         * metricsinfo.C: initialize LyXFont before changing attribute.
3405         (fixes the 'math in \emph is upright' bug)
3406
3407 2003-10-06  André Pönitz  <poenitz@gmx.net>
3408
3409         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3410
3411 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3412
3413         * graph.C:
3414         * paragraph_pimpl.C: Small fixes to build using STLport
3415
3416 2003-10-02  André Pönitz  <poenitz@gmx.net>
3417
3418         * lyxfunc.C:
3419         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3420
3421 2003-10-01  André Pönitz  <poenitz@gmx.net>
3422
3423         * factory.C: assert early
3424
3425 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * lyx_main.C: remove the global debug object
3428
3429         * debug.h: adjust for new debugstream
3430
3431         * debug.C: adjust for new debugstream and keep the global debug
3432         object here.
3433
3434 2003-09-22  Angus Leeming  <leeming@lyx.org>
3435
3436         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3437         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3438         an incomplete class LyXFont.
3439
3440 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * factory.C: bug fix in branches
3443
3444 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * lyxfunc.C (processKeySym): adjust
3447         (dispatch): adjust
3448         (dispatch): change arg name from ev to func, adjust
3449         (sendDispatchMessage): ditto
3450
3451         * lyx_main.C (defaultKeyBindings): adjust keybindings
3452         (deadKeyBindings): ditto
3453
3454         * kbsequence.C (addkey): return a FuncRequest
3455
3456         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3457
3458         * kbmap.C (bind): take a FuncRequest as arg, adjust
3459         (read): adjust
3460         (lookup): adjust
3461         (defkey): change to take a FuncRequest as arg, adjust
3462         (findbinding): take a FuncRequest as arg, adjust.
3463
3464         * funcrequest.h (operator=): added
3465
3466         * funcrequest.C (FuncRequest): default kb_action changed from
3467         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3468
3469         * buffer.C (dispatch): simplify
3470         (dispatch): adjust to take a FuncRequest as arg, adjust
3471
3472         * boost.C (assertion_failed): change assertion message slightly
3473
3474         * ToolbarBackend.C (read): simplify
3475
3476         * MenuBackend.C (binding): adjust call to findbinding, add a
3477         message if no binding is found.
3478         (read): simplify
3479         (expandToc): correct by adding a empty FuncRequest
3480
3481         * LyXAction.C: include <boost/assert.hpp>
3482         (isPseudoAction): delete function
3483         (LookupFunc): change name to...
3484         (lookupFunc): this. change return type to FuncRequest.
3485         (getActionName): take kb_action as arg, simplify
3486         (funcHasFlag): add an assert, simplify.
3487
3488 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * toc.C (action): return a FuncRequest, simplify
3491
3492         * lyxfunc.C (processKeySym): adjust
3493         (getStatus): delete version that takes an int.
3494         (getStatus): adjust
3495         (dispatch): delete version that takes action as int
3496         (dispatch): adjust
3497         (sendDispatchMessage): simplify and adjust
3498
3499         * funcrequest.C (getArg): take unsigned int as arg
3500
3501         * ToolbarBackend.C (read): adjust
3502         (add): delete version that takes func as a string.
3503         (getIton): take a FuncRequest as arg
3504
3505         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3506         action.
3507
3508         * MenuBackend.C (MenuItem): add a new construct that only takes a
3509         Kind, simplify the constructor use for submenus.
3510         (add): adjust
3511         (expandLastfiles): adjust
3512         (expandDocuments): adjust
3513         (expandFormats): adjust
3514         (expandFloatListInsert): adjust
3515         (expandFloatInsert): adjust
3516         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3517
3518         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3519         Remove class variables lyx_pseudo_map and lyx_arg_map
3520
3521         * LyXAction.C (searchActionArg): delete function
3522         (getPseudoAction): delete function
3523         (retrieveActionArg): delete function
3524         (LookupFunc): make it return kb_action, simplify.
3525         (getActionName): simplify
3526
3527         * factory.C (createInset): fix new bug
3528
3529 2003-09-19  Angus Leeming  <leeming@lyx.org>
3530
3531         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3532         masterFilename_ parameter in the include inset.
3533
3534         * factory.C (createInset): changes due to the changes to InsetInclude.
3535
3536 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3537
3538         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3539
3540 2003-09-18  Angus Leeming  <leeming@lyx.org>
3541
3542         * buffer.C:
3543         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3544         Inset::fillWithBibKeys.
3545         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3546
3547 2003-09-18  Angus Leeming  <leeming@lyx.org>
3548
3549         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3550         variables.
3551         (ctor): pass and store a 'Buffer const &'
3552         (buffer): new member function.
3553
3554         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3555         '*this' to the LaTeXFeatures ctor.
3556
3557 2003-09-18  Angus Leeming  <leeming@lyx.org>
3558
3559         * LColor.h:
3560         * lyxfont.C:
3561         * lyxfont.h:
3562         * lyxtext.h:
3563         * text.C: rename EnumLColor as LColor_color.
3564
3565 2003-09-18  Angus Leeming  <leeming@lyx.org>
3566
3567         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3568         remove #include "insets/insetbase.h" from cursor.h.
3569
3570 2003-09-18  Angus Leeming  <leeming@lyx.org>
3571
3572         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3573         InsetOld_code to remove #include "inset.h".
3574
3575         * iterators.C: add #include "insets/inset.h"
3576
3577 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3578
3579         * BufferView.C: remove more locking stuff that apparently doesn't
3580         do anything sensible.
3581
3582 2003-09-16  André Pönitz  <poenitz@gmx.net>
3583
3584         * paragraph.[Ch]:
3585         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3586           performance boost.
3587
3588 2003-09-16  Angus Leeming  <leeming@lyx.org>
3589
3590         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3591
3592         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3593         arg/return type.
3594
3595         * paragraph.h: remove #include "lyxfont.h". Forward declare
3596         LyXFont_size.
3597
3598 2003-09-16  Angus Leeming  <leeming@lyx.org>
3599
3600         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3601         of support/textutils.h.
3602         (isWord): move the contents of support/textutils.h's IsWordChar here.
3603
3604         * buffer.C:
3605         * lyxfind.C:
3606         * rowpainter.C:
3607         * text.C:
3608         * text2.C: add #include "paragraph.h".
3609
3610         * rowpainter.C:
3611         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3612
3613 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * main.C:
3616         * lyx_main.C:
3617         * lyx_cb.C:
3618         * buffer.C:
3619         * LaTeX.C: use namespace alias for lyx::support::os
3620
3621 2003-09-16  Angus Leeming  <leeming@lyx.org>
3622
3623         * bufferparams.C:
3624         * bufferview_funcs.C:
3625         * factory.C:
3626         * lyxfunc.C:
3627         * paragraph_pimpl.C:
3628         * rowpainter.C:
3629         * text.C: add #include "LColor.h".
3630
3631 2003-09-16  Angus Leeming  <leeming@lyx.org>
3632
3633         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3634         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3635         return LyXFont &.
3636         Store the FontBits::color variable as an int rather than as an
3637         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3638         file.
3639
3640         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3641         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3642         string calls together.
3643
3644         * lyxrc.C: add #include "LColor.h".
3645
3646 2003-09-15  Angus Leeming  <leeming@lyx.org>
3647
3648         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3649         a cow_ptr.
3650
3651 2003-09-15  Angus Leeming  <leeming@lyx.org>
3652
3653         * LColor.h: add an EnumLColor wrapper for LColor::color.
3654
3655         * lyxfont.[Ch] (color, setColor, realColor):
3656         * lyxtext.h, text.C (backgroundColor):
3657         pass EnumLColor args to/from the functions, rather than LColor::color
3658         ones.
3659
3660         * lyxfont.h:
3661         * lyxtext.h: forward declare EnumLColor.
3662
3663         * lyx_main.C: add #include "LColor.h".
3664
3665 2003-09-15  Angus Leeming  <leeming@lyx.org>
3666
3667         * .cvsignore: add lyx-gtk.
3668
3669 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * Chktex.C
3672         * LaTeX.C
3673         * LaTeXFeatures.C
3674         * ParagraphParameters.C
3675         * Spacing.C
3676         * buffer.C
3677         * bufferparams.C
3678         * bufferview_funcs.C
3679         * chset.C
3680         * counters.C
3681         * funcrequest.C
3682         * lyxfont.C
3683         * lyxgluelength.C
3684         * lyxlength.C
3685         * paragraph.C
3686         * paragraph_funcs.C
3687         * text3.C
3688         * vc-backend.C: remove usage of STRCONV
3689
3690 2003-09-15  Angus Leeming  <leeming@lyx.org>
3691
3692         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3693         explicitly define the color passed to the painter.
3694
3695 2003-09-15  Angus Leeming  <leeming@lyx.org>
3696
3697         * bufferparams.C (BufferParams): reorder member initializers to avoid
3698         compiler warning.
3699
3700 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3703         * text.C (updateRowPositions): remove an unusual nop
3704
3705 2003-09-12  André Pönitz  <poenitz@gmx.net>
3706
3707         * BufferView_pimpl.C:
3708         * Bullet.C:
3709         * layout.h:
3710         * lyxfunc.C:
3711         * lyxlayout.[Ch]:
3712         * lyxtextclass.C:
3713         * rowpainter.C:
3714         * text.C:
3715         * text2.C:
3716         * Counters.[Ch]: finish the 'automatic counters' job
3717
3718 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3719
3720         * aspell.C: include <boost/assert.cpp> (compile fix)
3721
3722 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3723
3724         * boost.C (assertion_failed): use lyx::support::abort instead of
3725         assert.
3726
3727 2003-09-10  Angus Leeming  <leeming@lyx.org>
3728
3729         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3730         with their _fwd progeny.
3731
3732 2003-09-09  Angus Leeming  <leeming@lyx.org>
3733
3734         134 files throughtout the source tree: replace 'using namespace abc;'
3735         directives with the appropriate 'using abc::xyz;' declarations.
3736
3737 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3738
3739         * boost.C (emergencyCleanup): moved here from LAssert.c
3740         (assertion_failed): new function, called by BOOST_ASSERT
3741
3742         * several files: change Assert to BOOST_ASSERT
3743
3744 2003-09-09  Angus Leeming  <leeming@lyx.org>
3745
3746         * buffer.[Ch]: Add an Impl class and move Buffer's member
3747         variables into it. As a result move several header files out of
3748         buffer.h.
3749
3750         Add header files to lots of .C files all over the tree as a result.
3751
3752 2003-09-09  Angus Leeming  <leeming@lyx.org>
3753
3754         * buffer.[Ch]: make Buffer's member variables private. Add
3755         accessor functions.
3756
3757         Lots of changes all over the tree as a result.
3758
3759 2003-09-08  Angus Leeming  <leeming@lyx.org>
3760
3761         * graph.C: #include <config.h>.
3762
3763 2003-09-08  Angus Leeming  <leeming@lyx.org>
3764
3765         * BranchList.C:
3766         * BufferView.C:
3767         * BufferView_pimpl.C:
3768         * CutAndPaste.C:
3769         * DepTable.C:
3770         * LaTeX.C:
3771         * LaTeXFeatures.C:
3772         * LyXAction.C:
3773         * MenuBackend.C:
3774         * TextCache.C:
3775         * aspell.C:
3776         * buffer.C:
3777         * bufferlist.C:
3778         * changes.C:
3779         * chset.C:
3780         * converter.C:
3781         * counters.C:
3782         * debug.C:
3783         * graph.C:
3784         * ispell.C:
3785         * lyx_cb.C:
3786         * lyxfind.C:
3787         * lyxfunc.C:
3788         * lyxlex_pimpl.C:
3789         * lyxrc.C:
3790         * lyxrow.C:
3791         * paragraph.C:
3792         * rowpainter.C:
3793         * texrow.C:
3794         * text.C:
3795         * text2.C:
3796         * toc.C: remove redundant using directives.
3797
3798 2003-09-07  Angus Leeming  <leeming@lyx.org>
3799
3800         * LaTeXFeatures.h: remove #include "support/types.h".
3801         * ToolbarBackend.h: remove #include <algorithm>.
3802         * changes.h: remove #include <ctime>.
3803         * debug.h: remove #include <iosfwd>.
3804         * graph.h: remove #include "support/std_string.h".
3805         * lyx_main.h: remove #include <csignal>.
3806         * lyxlex_pimpl.h: remove #include <fstream>.
3807         * sgml.h: remove #include <algorithm>, <utility>.
3808         * toc.h: remove #include "support/std_ostream.h".
3809         Add #include <iosfwd>.
3810
3811 2003-09-07  Angus Leeming  <leeming@lyx.org>
3812
3813         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3814
3815         * converter.h: forward declare LatexRunParams.
3816         * encoding.h: remove #include "lyxrc.h".
3817         * lyxtext.h: remove #include "LColor.h".
3818         * lyxtextclass.h: remove #include "support/types.h".
3819         * trans.h: remove #include "tex-accent.h".
3820         * trans_mgr.h: remove #include "tex-accent.h".
3821         * insets/inset.h: remove #include "support/types.h", <vector>.
3822         * insets/insetcollapsable.h: remove #include "LColor.h".
3823         * insets/insetinclude.h: remove #include "dimension.h".
3824         * insets/insetlatexaccent.h: remove #include "dimension.h".
3825         * insets/insetoptarg.h:: remove #include "insettext.h".
3826         * insets/insettext.h: remove #include "dimension.h",
3827         <boost/shared_ptr.hpp>
3828
3829         * insets/renderers.h: add #include "dimension.h".
3830         * insets/updatableinset.h: add #include "support/types.h".
3831
3832         * many .C files: Associated changes.
3833
3834 2003-09-06  Angus Leeming  <leeming@lyx.org>
3835
3836         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3837         one, inside testInvariant.
3838
3839         * PrinterParams.C: new file.
3840         * PrinterParams.[Ch]: move the function bodies out of line.
3841
3842 2003-09-06  Angus Leeming  <leeming@lyx.org>
3843
3844         * ParagraphParameters.h: forward declare ParameterStruct rather than
3845         including its header file.
3846         (depth): moved out-of-line.
3847
3848 2003-09-06  Angus Leeming  <leeming@lyx.org>
3849
3850         * BufferView_pimpl.h:
3851         * kbmap.h:
3852         * kbsequence.h:
3853         * lyxfunc.h: forward declare LyXKeySym rather than
3854         #include "frontends/LyXKeySym.h".
3855
3856         * BufferView_pimpl.C:
3857         * kbmap.C:
3858         * kbsequence.C:
3859         * lyxfunc.C: associated changes.
3860
3861 2003-09-06  Angus Leeming  <leeming@lyx.org>
3862
3863         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3864         As a result, can remove the #include "insets/inset.h" from BufferView.h
3865
3866 2003-09-06  Angus Leeming  <leeming@lyx.org>
3867
3868         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3869         As a result, can remove the #include "insets/inset.h" from BufferView.h
3870
3871 2003-09-06  Angus Leeming  <leeming@lyx.org>
3872
3873         * buffer_funcs.C:
3874         * buffer.h:
3875         * bufferlist.C:
3876         * BufferView.C:
3877         * bufferview_funcs.C:
3878         * BufferView_pimpl.C:
3879         * CutAndPaste.C:
3880         * lyx_cb.C:
3881         * lyxfunc.C:
3882         * paragraph.h:
3883         * ParagraphParameters.C:
3884         * tabular.C:
3885         * text3.C:
3886         * toc.C:
3887         * undo_funcs.C:
3888         * frontends/controllers/ControlDocument.C:
3889         * insets/insetcaption.C: rearrange the #includes into some sort of
3890         coherent order.
3891
3892         * buffer.h: remove #includes ErrorList.h, undo.h
3893
3894 2003-09-06  Angus Leeming  <leeming@lyx.org>
3895
3896         * support/types.h: add a 'depth_type' typedef, used to store the
3897         nesting depth of a paragraph.
3898
3899         * paragraph.h:
3900         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3901         defining explicitly.
3902
3903         * buffer.h:
3904         * paragraph_funcs.h:
3905         * ParagraphParameters.h:
3906         * sgml.h: use lyx::depth_type rather than Paragraph or
3907         ParameterStruct's depth_type.
3908
3909         * buffer.h
3910         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3911
3912         * BufferView.C:
3913         * BufferView_pimpl.C:
3914         * CutAndPaste.C:
3915         * ParagraphParameters.C:
3916         * buffer_funcs.C:
3917         * bufferlist.C:
3918         * bufferview_funcs.C:
3919         * lyx_cb.C:
3920         * lyxfunc.C:
3921         * tabular.C:
3922         * text3.C:
3923         * toc.C:
3924         * undo_funcs.C:
3925         * frontends/LyXView.C:
3926         * frontends/controllers/ControlDocument.C:
3927         * frontends/controllers/ControlErrorList.C:
3928         * insets/insetbibitem.C:
3929         * insets/insetbranch.C:
3930         * insets/insetcaption.C:
3931         * insets/insetcollapsable.C:
3932         * insets/insetenv.C:
3933         * insets/insetert.C:
3934         * insets/insetfloat.C:
3935         * insets/insetfoot.C:
3936         * insets/insetfootlike.C:
3937         * insets/insetnewline.C:
3938         * insets/insetquotes.C:
3939         * insets/insettabular.C:
3940         * insets/insettext.C:
3941         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3942
3943         * frontends/controllers/ControlChanges.C: #include "changes.h".
3944
3945 2003-09-06  Angus Leeming  <leeming@lyx.org>
3946
3947         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3948         than #including paragraph.h.
3949
3950         * ParagraphList.h:
3951         * RowList.h: deleted. Superfluous.
3952
3953         * CutAndPaste.h:
3954         * iterators.h:
3955         * lyxcursor.h:
3956         * lyxtext.h:
3957         * text_funcs.h:
3958         * undo.h:
3959         * undo_funcs.h:
3960         * insets/inset.h:
3961         * insets/insettext.h: use ParagraphList_fwd.h rather than
3962         ParagraphList.h.
3963
3964         * paragraph.h: don't forward declare ParagraphList.
3965
3966         * buffer.h:
3967         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3968         rather than ParagraphList.h. paragraph.h is still needed for the
3969         Paragraph::depth_type parameters.
3970
3971         * textcursor.h: enable it to compile stand-alone in light of the
3972         above changes.
3973
3974         * bufferview_funcs.C:
3975         * iterators.C:
3976         * lyxfunc.C:
3977         * lyxrow_funcs.C:
3978         * paragraph.C:
3979         * rowpainter.C:
3980         * text.C:
3981         * text2.C:
3982         * text3.C:
3983         * text_funcs.C:
3984         * textcursor.C:
3985         * undo.C:
3986         * frontends/controllers/ControlParagraph.C:
3987         * frontends/controllers/ControlTabular.C:
3988         * insets/insetmarginal.C:
3989         * insets/insetminipage.C:
3990         * insets/insetnote.C:
3991         * insets/insetoptarg.C: add header files needed to compile again.
3992
3993 2003-09-06  Angus Leeming  <leeming@lyx.org>
3994
3995         * RowList_fwd.h: new file, forward-declaring Row rather than
3996         #including lyxrow.h.
3997
3998         * lyxrow_funcs.h:
3999         * lyxtext.h:
4000         * paragraph.h:
4001         * insets/insettext.h: use it instead of RowList.h
4002
4003         * bufferview_funcs.C:
4004         * lyxfunc.C:
4005         * lyxrow_funcs.C:
4006         * paragraph.C:
4007         * rowpainter.C:
4008         * text.C:
4009         * text2.C:
4010         * text3.C: #include "RowList.h".
4011
4012 2003-09-05  Angus Leeming  <leeming@lyx.org>
4013
4014         * factory.C (createInset):
4015         * vspace.C (c-tor): replace sscanf call with an istringstream.
4016         * ispell.C: re-add missing HP/UX headers.
4017         * lyxserver.C: re-add missing  os2 headers.
4018
4019 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4020
4021         * BranchList.C:
4022         * graph.C:
4023         * ispell.C:
4024         * lastfiles.C:
4025         * lyx_cb.C:
4026         * lyxserver.C:
4027         * texrow.C:
4028         * text3.C: re-add missing system headers, needed for 2.95.2.
4029
4030 2003-09-05  Angus Leeming  <leeming@lyx.org>
4031
4032         Changes most place everywhere due to the removal of using directives
4033         from support/std_sstream.h.
4034
4035 2003-09-05  Angus Leeming  <leeming@lyx.org>
4036
4037         Replace LString.h with support/std_string.h,
4038         Lsstream.h with support/std_sstream.h,
4039         support/LIstream.h with support/std_istream.h,
4040         support/LOstream.h with support/std_ostream.h.
4041
4042         Changes resulting throughout the tree.
4043
4044 2003-09-05  Angus Leeming  <leeming@lyx.org>
4045
4046         * sgml.h: ensure that the header file can be compiled stand-alone.
4047         * *.C: strip out redundant #includes. (320 in total.)
4048
4049 2003-09-04  Angus Leeming  <leeming@lyx.org>
4050
4051         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4052         here (from getPackages).
4053
4054         * debug.[Ch]: add a new EXTERNAL tag.
4055
4056 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4057
4058         * text2.C (cursorEnd): simplify
4059         (setCursor): adjust
4060         (getColumnNearX): adjust
4061
4062         * text.C (computeBidiTables): adjust
4063         (fill): adjust
4064
4065         * rowpainter.C (paintChars): adjust
4066         (paintSelection): adjust
4067         (paintChangeBar): adjust
4068         (paintText): adjust
4069
4070         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4071         lastPos instead.
4072         (numberOfSeparators): adjust
4073
4074 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4075
4076         * LyXAction.C:
4077         * box.[Ch]:
4078         * lfuns.h:
4079         * lyxfunc.C:
4080         * text3.C: Restricts the mouse click functionality
4081         of insets like bibtex, include, toc and floatlist to the visible
4082         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4083         up the dialogs. Cursor has to be in front of the inset (i.e.
4084         start of row) for this to function.
4085
4086 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4087
4088         * bufferview_funcs.C (currentState): output row information
4089
4090 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4091
4092         * bufferview_funcs.C (currentState): output paragraph position
4093
4094 2003-09-04  Angus Leeming  <leeming@lyx.org>
4095
4096         * FloatList.h: move out #include "Floating.h".
4097         * LaTeX.h: move out #include "DepTable.h".
4098         * LyXAction.h: move out #include "funcrequest.h".
4099         * buffer.h: move out #include "author.h", "iterators.h".
4100         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4101         * lyx_main.h: move out #include "errorlist.h".
4102         * lyxfunc.h: move out #include "FuncStatus.h".
4103         * lyxtext: move out #include "lyxcursor.h".
4104         * paragraph_pimpl.h: move out #include "counters.h".
4105
4106 2003-09-03  Angus Leeming  <leeming@lyx.org>
4107
4108         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4109         preamble_snippets list, enabling us to add snippets to the preamble
4110         only if the snippet was not there already.
4111
4112 2003-09-04  Angus Leeming  <leeming@lyx.org>
4113
4114         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4115
4116 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4119         update
4120
4121 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4122
4123         * BranchList.C: point fix, earlier forgotten
4124
4125 2003-09-02  Angus Leeming  <leeming@lyx.org>
4126
4127         * box.C (contains): renamed from 'contained' after a fantastic
4128         amount of hot air.
4129
4130 2003-09-02  John Levon  <levon@movementarian.org>
4131
4132         * BufferView.C:
4133         * lyxcursor.h:
4134         * lyxcursor.C:
4135         * lyxfunc.C:
4136         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4137
4138 2003-09-02  John Levon  <levon@movementarian.org>
4139
4140         * text2.C: simplification of cursorEnd(), including partial
4141         fix for bug 1376
4142
4143 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * buffer.C (readFile): add a space
4146
4147 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4150
4151 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * buffer.C (readFile): new function, take a filename and a
4154         ParagraphList::iterator
4155         (readFile): adjust
4156         (readFile): adjust, make it private. don't use setStream, make
4157         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4158         always contain the filename.
4159
4160         * BufferView.C (insertLyXFile): simplify and make it work for
4161         gzipped files.
4162
4163 2003-08-30  John Levon  <levon@movementarian.org>
4164
4165         * Makefile.am: fix dist (from Kayvan)
4166
4167 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * most files: change to use const Buffer refs
4170
4171 2003-08-27  André Pönitz  <poenitz@gmx.net>
4172
4173         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4174         on top of ownerPar().
4175
4176 2003-08-27  John Levon  <levon@movementarian.org>
4177
4178         * funcrequest.C: properly initialise POD members
4179
4180 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * lyxtext.h (top_y): move top_y from here
4183         * text.C:
4184         * text2.C:
4185         * text3.C:
4186         * BufferView.[Ch]:
4187         * BufferView_pimpl.[Ch]: to here
4188         * frontends/screen.C:
4189         * insets/insettabular.C:
4190         * insets/insettext.C: adjust
4191         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4192
4193 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * BufferView.[Ch]:
4196         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4197
4198 2003-08-26  André Pönitz  <poenitz@gmx.net>
4199
4200         * paragraph_func.[Ch] (outerPar): new function
4201
4202         * paragraph.C:
4203         * paragraph_funcs.C:
4204         * paragraph_funcs.h:
4205         * paragraph_pimpl.C:
4206         * text2.C: remove Inset::par_owner
4207
4208 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4209
4210         * lyxrow_funcs.C:
4211         * lyxtext.h:
4212         * text.C:
4213         * text2.C: eliminates the needFullRow/display() stuff
4214         altogether, putting the logic in metrics/draw in the insets.
4215
4216 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4217
4218         * text2.C (redoParagraphInternal, redoParagraphs):
4219         * text.C (redoParagraph): add a call to updateRowPositions at the
4220         end of each 'metrics-like' call. Remove all others.
4221         (getRow): remove the 'y-computing' version.
4222         (getRowNearY): do not compute nor return the real y. Solve the
4223         'y < 0' problem and simplify.
4224
4225 2003-08-22  Angus Leeming  <leeming@lyx.org>
4226
4227         * *.[Ch]: clean-up of licence and author blurbs.
4228         Also move config.h out of a few .h files and into a few .C files.
4229
4230 2003-08-22  André Pönitz  <poenitz@gmx.net>
4231
4232         * lyxrow.[Ch]: add x_ and *fill_ members
4233
4234         * lyxtext.h:
4235         * text.C:
4236         * rowpainter.C:
4237         * text2.C: adjust/remove prepareToPrint() calls
4238
4239 2003-08-22  André Pönitz  <poenitz@gmx.net>
4240
4241         * lyxrow.[Ch]: add  end_ member
4242
4243         * lyxrow_funcs.C: use LyXRow::end_
4244
4245         * lyxtext.h (singleWidth): add LyXFont parameter
4246
4247         * rowpainter.C:
4248         * text2.C: adjust LyXText::singleWidth() calls
4249
4250         * text.C (redoParagraph): simplify row breaking logic
4251
4252
4253 2003-08-19  André Pönitz  <poenitz@gmx.net>
4254
4255         * funcrequest.C: initialize button_ member
4256
4257         * text3.C:
4258         * rowpainter.[Ch]: interface consolidation
4259
4260 2003-08-18  André Pönitz  <poenitz@gmx.net>
4261
4262         * BufferView.C:
4263         * BufferView_pimpl.C:
4264         * lyxfind.C:
4265         * paragraph_funcs.C:
4266         * rowpainter.C:
4267         * text3.C: remove LyXScreen::draw() and fitCursor calls
4268
4269         * BranchList.h: remove spurious semicolons
4270
4271         * MenuBackend.C: fix branchlist related crash
4272
4273 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4274
4275         * BranchList.[Ch]:
4276         * InsetList.[Ch]:
4277         * LColor.[Ch]:
4278         * LyXAction.C:
4279         * Makefile.am:
4280         * MenuBackend.[Ch]:
4281         * bufferparams.[Ch]:
4282         * factory.C:
4283         * lfuns.h:
4284         * lyxfunc.C:
4285         * text3.C: implements the 'branch inset'
4286         idea. This allows the output of various versions of a document
4287         from a single source version, selectively outputing or suppressing
4288         output of parts of the text.
4289         This implementation contains a 'branch list editor' in a separate
4290         tab of the document settings dialog. Branches are user definable
4291         and have a "display colour" to distinguish them on-screen.
4292
4293         ColorHandler was somewhat cleaned up.
4294         (1) make possible a dynamically growing LColor list by allowing
4295         the graphic context cache to grow along (vector);
4296         (2) eliminate an IMHO unnecessary step in colour allocation.
4297
4298 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4299
4300         * BufferView_pimpl.C: compile fix
4301
4302 2003-08-15  André Pönitz  <poenitz@gmx.net>
4303
4304         * rowpainter.C: remove extra metrics calls
4305
4306         * lyxtext.h: merge the two constructors into a single one,
4307           pass reference to owner's par list
4308
4309         * BufferView_pimpl.C:
4310         * text.C:
4311         * text2.C: adjust
4312
4313 2003-08-15  André Pönitz  <poenitz@gmx.net>
4314
4315         * lyxrow_funcs.[Ch]:
4316         * lyxtext.h:
4317         * paragraph.h:
4318         * paragraph_funcs.C:
4319         * rowpainter.C:
4320         * text.C:
4321         * text2.C:
4322         * text3.C:
4323         * text_funcs.C: split LyXText::rowlist_ into individual
4324         Paragraph::rows_ chunks
4325
4326         * BufferView.[Ch]:
4327         * BufferView_pimpl.[Ch]:
4328         * lyxfind.C:
4329         * lyxtext.h:
4330         * text3.C: remove toggleSelection()
4331
4332 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4333
4334         * bufferlist.C: beautify two alerts (shorter text of buttons)
4335         * buffer.C: Remove redundant ' ' from message
4336         * tabular.h:
4337         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4338         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4339         rename VALIGN_CENTER to VALIGN_MIDDLE
4340
4341 2003-08-11  André Pönitz  <poenitz@gmx.net>
4342
4343         * lyxtext.h (getPar):
4344         * text.C: new function
4345
4346 2003-08-11  André Pönitz  <poenitz@gmx.net>
4347
4348         * Makefile.am:
4349         * tracer.[Ch]: remove unneeded files
4350
4351         * InsetList.[Ch]: remove resizeInsetsLyXText()
4352
4353         * lyxtext.h:
4354         * text.C:
4355         * text2.C:
4356         * text3.C: merge insertParagraphs() and appendParagraph()
4357         remove breakAgain(), update()
4358
4359         * BufferView_pimpl.[Ch]:
4360         * bufferview_funcs.[Ch]:
4361         * lyxfunc.C:
4362         * paragraph.[Ch]:
4363         * rowpainter.C:
4364         * tabular.C: adjust after text & InsetList changes.
4365
4366 2003-08-08  André Pönitz  <poenitz@gmx.net>
4367
4368         * text.C (insertChar, backspace): replace rowlist fiddling
4369         with rebreak of full par
4370
4371         * lyxtext.h:
4372         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4373         checkParagraph, updateInset): removed
4374
4375 2003-08-07  André Pönitz  <poenitz@gmx.net>
4376
4377         * paragraph.C:
4378         * text3.C: merge some LFUN handlers, remove dead code
4379
4380 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4381
4382         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4383
4384 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4385
4386         * text2.C (DEPM): fix part of bug 1255 and 1256
4387
4388 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4389
4390         * BufferView_pimpl.C (workAreaDispatch): change to use
4391         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4392         that are no mouse related.
4393
4394 2003-08-05  André Pönitz  <poenitz@gmx.net>
4395
4396         * BufferView.[Ch]:
4397         * BufferView_pimpl.[Ch]:
4398         * bufferview_funcs.C:
4399         * text2.C:
4400         * text3.C: rip out "deep update"
4401
4402         * textcursor.[Ch] (last_sel_cursor): remove unused member
4403
4404 2003-08-04  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView.[Ch]:
4407         * BufferView_pimpl.[Ch]:
4408         * ParagraphParameters.C:
4409         * bufferview_funcs.C:
4410         * lyx_cb.C:
4411         * lyxfind.C:
4412         * lyxfunc.C:
4413         * text.C:
4414         * text2.C:
4415         * text3.C: replace "complicated" BufferView::update(...) calls with
4416         simpler ones.
4417
4418         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4419
4420 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4421
4422         * Makefile.am (lyx_SOURCES): add paper.h
4423
4424 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4425
4426         * Makefile.am: move things around so that both lyx-qt and
4427         lyx-xforms can be built (according to --with-frontend). Then lyx
4428         is a symbolic link to lyx-[firstfrontend]
4429
4430 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4431
4432         * Always use std::endl with lyxerr
4433
4434 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4435
4436         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4437
4438 2003-08-01  André Pönitz  <poenitz@gmx.net>
4439
4440         * BufferView.[Ch]:
4441         * BufferView_pimpl.[Ch]:
4442         * lyxfunc.C:
4443         * text3.C: merge BufferView::repaint() and BufferView::update()
4444
4445 2003-08-01  José Matos  <jamatos@lyx.org>
4446
4447         * buffer.[Ch]: file_format is no longer a buffer data element.
4448
4449 2003-08-01  André Pönitz  <poenitz@gmx.net>
4450
4451         * BufferView.C:
4452         * lyxtext.h:
4453         * text.C:
4454         * text2.C: make redoParagraph more independent of current cursor
4455
4456         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4457         * text.C:
4458         * text2.C: remove unneeded members
4459
4460 2003-07-30  André Pönitz  <poenitz@gmx.net>
4461
4462         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4463
4464         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4465           create a single function...
4466
4467         * paragraph_funcs.C (moveItem): ... here.
4468
4469         * text.C:
4470           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4471
4472 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4473
4474         * LColor.[Ch]: Add comment and greyedout logical colors.
4475
4476 2003-07-30  André Pönitz  <poenitz@gmx.net>
4477
4478         * tabular.C: don't use Assert too heavily. This crashes where it
4479           shouldn't
4480
4481 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4482
4483         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4484         is disabled (bug 1232)
4485
4486 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * factory.C: limited 'arg' scope
4489
4490 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4491
4492         * factory.C: fixed Note submenu issues
4493
4494 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * factory.C: submenu for Note/Comment/Greyedout
4497
4498 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * lyx_main.C (LyX):
4501         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4502
4503 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * LaTeXFeatures.C:
4506         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4507         greyedout. Patch provided by Jürgen Spitzmüller.
4508
4509 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4510
4511         * kbmap.C (read): fix error message when reading bind files
4512
4513 2003-07-29  Angus Leeming  <leeming@lyx.org>
4514
4515         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4516         certainly does not do what it purports to do. I am doing it, and
4517         us, a favour by killing it.
4518
4519 2003-07-28  José Matos  <jamatos@lyx.org>
4520
4521         * buffer.C (readBody, do_writeFile):
4522         * paragraph.C(readParagraph): \end_document replaces \the_end.
4523
4524 2003-07-29  André Pönitz  <poenitz@gmx.net>
4525
4526         * BufferView.[Ch]:
4527         * BufferView_pimpl.[Ch]:
4528         * lyxfunc.C:
4529         * text2.C:
4530         * text3.C:
4531         * textcursor.[Ch]: remove toggleToggle & Co
4532
4533 2003-07-28  José Matos  <jamatos@fep.up.pt>
4534
4535         * buffer.C (readParagraph):
4536         * params_func (readParToken, readParagraph):
4537         * paragraph.C (write): \layout -> \begin_layout.
4538
4539 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * lyxlex_pimpl.C (setFile): clean up slightly.
4542
4543         * bufferparams.h: add compressed var
4544
4545         * buffer_funcs.C (readFile): adjust for LyXLex change
4546         (newFile): ditto + simplify
4547
4548         * buffer.C (writeFile): handle writing of compressed files
4549
4550         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4551         Check if the file is compressed and set a bufferparm if so.
4552
4553         * Makefile.am (lyx_LDADD): remove explicit -lz
4554
4555 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4556
4557         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4558         makeDocBookFile): put the real LyX version in the first line of
4559         the file
4560
4561         * version.h:
4562         * version.C.in: remove lyx_docversion
4563
4564         * tabular.C (write_attribute): add a template-based version to
4565         write enums properly
4566
4567 2003-07-28  André Pönitz  <poenitz@gmx.net>
4568
4569         * lyxtext.h:
4570         * text.C:
4571         * text2.C:
4572         * text3.C: use doubles again for x-coordinates. They are needed.
4573
4574 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * messages.C (getLocaleDir): use lyx_localedir()
4577
4578         * lyxlex_pimpl.C (setFile): compress stuff
4579
4580         * buffer.C (writeFile): add some compression stuff
4581         (do_writeFile): new func, dont call expliti close... will this
4582         breake anything?
4583
4584         * Makefile.am (lyx_LDADD): add -lz
4585
4586 2003-07-28  José Matos  <jamatos@fep.up.pt>
4587
4588         * buffer.C: increment file format.
4589         * paragraph_funcs (readParagraph, readParToken):
4590         * paragraph.C (readParagraph): add \end_layout.
4591
4592 2003-07-27  Angus Leeming  <leeming@lyx.org>
4593
4594         * Makefile.am: remove special casing for configure-time setting of
4595         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4596
4597         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4598         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4599
4600 2003-07-26  André Pönitz  <poenitz@gmx.net>
4601
4602         * paragraph_func.[Ch]:
4603         * paragraph.C (realizeFont): inline it whereever it is used
4604
4605         * rowpainter.C:
4606         * text.C:
4607         * text2.C:
4608         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4609
4610
4611 2003-07-26  André Pönitz  <poenitz@gmx.net>
4612
4613         *       lyxtext.h:
4614         * text.C:
4615         * text2.C: get rid of LyXText::need_break_row
4616
4617 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * toc.[Ch]: put namespace toc inside namespace lyx
4620
4621         * MenuBackend.C (expandToc2): adjust for lyx::toc
4622         (expandToc): ditto
4623
4624         * lyxfunc.C (dispatch): adjust for lyx::find
4625
4626         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4627         lyx::find instead. Reorganize a bit.
4628         (LyXReplace): rename to replace
4629         (LyXFind): rename to find
4630
4631         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4632         (dispatch): ditto
4633
4634 2003-07-26  André Pönitz  <poenitz@gmx.net>
4635
4636         * text.C (setHeightOfRow): restrict scope of temporary variable
4637
4638         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4639           code (never has been used?)
4640
4641 2003-07-27  Asger Alstrup  <alstrup@local>
4642
4643         * text.C (fill): Optimise algorithm to exploit that we can reuse
4644         the LyXFont for many characters.
4645         (setHeightOfRow): Same thing.
4646         (rowBreakPoint): Same thing.
4647
4648 2003-07-26  Asger Alstrup  <alstrup@local>
4649
4650         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4651
4652         * text.C (singleWidth): Spurious font copying in hot-spot
4653         singleWidth avoided. Reorder tests for arabic for efficiency.
4654
4655         * text.C (fill): handle empty paragraphs better.
4656
4657 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4658
4659         * ispell.C:
4660         * encoding.h: add includes
4661
4662         * lyxrc.C: remove reading of bind files
4663
4664         * lyx_main.C (init): setup bindings and menus only if we have a
4665         gui.
4666
4667         * kbmap.C (read): new method. Do the actual reading of bind
4668         files.
4669
4670         * converter.C (dvipdfm_options):
4671         * bufferparams.C:
4672         * lyxrc.C (read):
4673         (output): adapt PAPER_* enums.
4674
4675         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4676
4677         * bufferparams.h: remove paper-related enums from there
4678
4679         * paper.h: New file. A trivial header file to hold paper-related
4680         enums. It should later expand to contain many paper-related
4681         horrors access.
4682
4683         * lyxrc.C: declare extern displayTranslator
4684
4685 2003-07-27  José Matos  <jamatos@fep.up.pt>
4686
4687         * tabular.[Ch] (linuxdoc): add support for tables and figures
4688         (linuxdoc).
4689
4690 2003-07-27  José Matos  <jamatos@fep.up.pt>
4691
4692         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4693         consistency in both functions.
4694         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4695
4696 2003-07-26  Asger Alstrup  <alstrup@local>
4697
4698         * rowpainter.C (paintRows): Change algorithm to work directly on
4699         the insets rather than asking every character in the document
4700         whether its an inset.
4701
4702 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * buffer.C (openFileWrite): factorize some code
4705
4706 2003-07-26  Angus Leeming  <leeming@lyx.org>
4707
4708         * lyx_cb.C:
4709         * lyx_main.[Ch]: replace occurances of system_tempdir with
4710         os::getTmpDir().
4711
4712 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * rename Inset to InsetOld
4715
4716 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4717
4718         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4719         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4720         which I think is a bit clearer. EDIT is gone, since it was
4721         premature optimisation, and broken for mathed anyway.
4722         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4723         with cursor positioning in insets as well (math insets still do not
4724         work, but that's a different story anyway.) It mysteriously
4725         crashes sometimes with undo in the first paragraph, but I'm fairly
4726         confident that this is a compiler bug.
4727
4728 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * paragraph.C (Paragraph): adjust for new clone return type
4731         (operator==): ditto
4732         (copyIntoMinibuffer): ditto
4733
4734 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4735
4736         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4737         by not having a special case, and always doing a full rebreak of
4738         the document after undo.
4739
4740 2003-07-23  Angus Leeming  <leeming@lyx.org>
4741
4742         * factory.C (createInset): InsetExternal::setParams now takes a
4743         Buffer const * arg.
4744
4745 2003-07-23  Angus Leeming  <leeming@lyx.org>
4746
4747         * factory.C (createInset): changed interface to the external and
4748         graphics mailers' string2params functions.
4749
4750 2003-07-23  Angus Leeming  <leeming@lyx.org>
4751
4752         * factory.C (createInset): pass a
4753         Buffer const * parameter to InsetExternalMailer's string2params.
4754
4755 2003-07-22  John Levon  <levon@movementarian.org>
4756
4757         * Thesaurus.h: include the right aiksaurus header
4758
4759 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4760
4761         * MenuBackend.C (expand): check menu shortcuts unconditionally
4762
4763 2003-07-21  Angus Leeming  <leeming@lyx.org>
4764
4765         * factory.C (createInset): pass a
4766         buffer_path parameter to InsetGraphicsMailer's string2params.
4767
4768 2003-07-21  Angus Leeming  <leeming@lyx.org>
4769
4770         * BufferView_pimpl.C (buffer):
4771         * buffer.C (d-tor):
4772         * lyx_main.C (LyX):
4773         * lyxfunc.C (dispatch):
4774         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4775         rather than the grfx shortcut.
4776
4777 2003-07-21  André Pönitz  <poenitz@gmx.net>
4778
4779         * rowpainter.C: remove unused variables
4780
4781         * tabular_funcs.C:
4782         * tabular_funcs.h: move to tabular.C
4783         * Makefile.am: adjust
4784
4785         * tabular.[Ch]: basic optical cleaning
4786
4787         * author.h: pass references, not values
4788
4789 2003-07-18  André Pönitz  <poenitz@gmx.net>
4790
4791         * lyxtext.h:
4792         * metricsinfo.C:
4793         * metricsinfo.h:
4794         * rowpainter.C:
4795         * text.C:
4796         * text2.C:
4797         * text3.C: two-phase drawing for InsetText and InsetTabular
4798         some float -> int changes.
4799
4800 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * lyx_main.C: fix the fix
4803
4804 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4805
4806         * lyx_main.C: fix a crash in batch mode if no files specified
4807         * converter.C: ws
4808
4809 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4810
4811         * format.[Ch] (papersize): moved to BufferParams
4812         * converter.[Ch] (dvips_options): moved to BufferParams
4813         (dvipdfm_options): moved to anon namespace
4814         * bufferparams.[Ch]: added above functions.
4815
4816 2003-07-17  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxtext.h:
4819         * rowpainter.C:
4820         * text2.C: don't call inset->update() anymore
4821
4822         * metricsinfo.[Ch]: add convenience constructor
4823
4824 2003-07-16  André Pönitz  <poenitz@gmx.net>
4825
4826         * lyxcursor.[Ch]:
4827         * lyxfunc.[Ch]:
4828         * text.C:
4829         * text2.C: replace the LyXCursor::irow_ member with
4830          on-demand computation of the value
4831
4832 2003-07-16  John Levon  <levon@movementarian.org>
4833
4834         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4835
4836 2003-07-15  André Pönitz  <poenitz@gmx.net>
4837
4838         * text.C:
4839         * text2.C: remove no more needed refresh_row
4840
4841 2003-07-15  André Pönitz  <poenitz@gmx.net>
4842
4843         * lyxtext.h:
4844         * rowpainter.C:
4845         * text2.C:
4846         * text3.C: refresh_status tristate -> need_update bool
4847
4848 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * lyxtext.h (init): remove reinit argument (act as if always true)
4851         * text2.C: adjust to that
4852
4853 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4854
4855         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4856         * text3.C: use it to delete selections in some cases
4857         (bugs 441, 673, 702, 954).
4858
4859 2003-07-14  André Pönitz  <poenitz@gmx.net>
4860
4861         * rowpainter.[Ch]: reduce interface
4862
4863 2003-07-14  André Pönitz  <poenitz@gmx.net>
4864
4865         * BufferView_pimpl.C:
4866         * text2.C: adjust after removing unused BufferView * argument
4867
4868 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4869
4870         * text2.C (init): fix a crash fired on resize
4871
4872 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4873
4874         * buffer.[Ch]: added new closing signal
4875         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4876         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4877         BufferView::Pimpl via the closing the signal
4878
4879 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * buffer.[Ch]: take out all bv-related from buffer
4882         * BufferView.C:
4883         * BufferView_pimpl.[Ch]: connect to new signals
4884         * CutAndPaste.C: removed useless asserts
4885         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4886         * lyxvc.[Ch]:
4887         * vc-backend.[Ch]:
4888         * lyxfunc.C: moved view-related funciontality from vc here
4889         * paragraph.C: removed outdated comments
4890         * text.C: ws
4891
4892 2003-07-10  André Pönitz  <poenitz@gmx.net>
4893
4894         * BufferView_pimpl.C:
4895         * tabular.h:
4896         * tabular_funcs.C:
4897         * text.C:
4898         * text2.C: remove InsetText::InnerCache, clean up consequences
4899
4900 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4901
4902         * ispell.C: fix two typos in error messages
4903
4904 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4905
4906         * Extend Note inset to other forms of annotation like Comment
4907         and Greyedout. Right button click gives dialog.
4908
4909         Files modified or added (+):
4910
4911         * insetnote.[Ch]
4912         * FormNote.[Ch]      +
4913         * ControlNote.[Ch]   +
4914         * form_note.fd       +
4915         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4916         frontends/controllers
4917         * xforms/Dialogs.C
4918         * factory.C
4919
4920 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4921
4922         * aspell.C: add missing namespace lyx::support
4923
4924 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * BufferView.[Ch] (newFile): Add
4927         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4928         * LaTeX.[Ch] (message): added this signal and use it
4929         * buffer.[Ch] (busy, message): added these signals and use them
4930         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4931         * converter.C:
4932         * exporter.C:
4933         * format.C:
4934         * importer.C: use buffer signals instead of direct bv calling
4935         * lyx_cb.[Ch] (ShowMessage): removed
4936         * lyx_main.C:
4937         * lyxfunc.C:
4938         * paragraph_funcs.C:
4939         * text2.C: use buffer signals
4940
4941 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * introduce namespace lyx::graphics
4944
4945 2003-07-02  André Pönitz  <poenitz@gmx.net>
4946
4947         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4948
4949 2003-07-01  André Pönitz  <poenitz@gmx.net>
4950
4951         * text.C:
4952         * text2.C:
4953         * text3.C:
4954         * text_funcs.[Ch]:
4955         * textcursor.h:
4956         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4957           text*.C to text_func.C
4958
4959 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * introduce namespace lyx::support
4962
4963 2003-06-30  André Pönitz  <poenitz@gmx.net>
4964
4965         * Chktex.C:
4966         * funcrequest.C:
4967         * lyxtext.h:
4968         * text.C: re-enable --with-included-string
4969
4970 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * textcursor.C: add <config.h>
4973
4974         * text.C (getWord): remove const from word_location arg
4975
4976         * lyxvc.C (getLogFile): fix const type order
4977
4978         * lyxtext.h: remove const from word_location arg, add arg name
4979
4980         * lyxlayout.h: currect type on labeltype.
4981
4982         * importer.C: correct \file
4983
4984         * converter.C (intToFormat): use std:: on ret val, ws changes
4985
4986         * bufferlist.h: correct \file
4987
4988         * buffer.C (makeLinuxDocFile): fix const type order
4989         (makeDocBookFile): ditto
4990         (fillWithBibKeys): use std:: on stdlib args.
4991
4992         * CutAndPaste.C: fix authors.
4993         (availableSelections): use std:: on return vector
4994
4995 2003-06-27  André Pönitz  <poenitz@gmx.net>
4996
4997         * BufferView_pimpl.C:
4998         * bufferview_funcs.C:
4999         * lyxcursor.C:
5000         * lyxcursor.h:
5001         * lyxfunc.C:
5002         * lyxtext.h:
5003         * rowpainter.C:
5004         * text.C:
5005         * text2.C:
5006         * text3.C: remove LyXCursor::row_ member
5007
5008         * lyxtext.h:
5009         * text.C: rename fullRebreak() to partialRebreak() and implement
5010           a fullRebreak() that really bereks fully
5011
5012         * textcursor.h: new struct for cursor-related data
5013
5014 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5015
5016         * lyx_main.C (LyX): get full path of document loaded on the
5017         command line
5018
5019 2003-06-26  André Pönitz  <poenitz@gmx.net>
5020
5021         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5022           remove unused/broken operator>,<,>=.
5023
5024         *       text.C: remove only use of broken operator<= in an Assert().
5025
5026 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5027
5028         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5029         moved errorlist_.clear to showErrorList
5030
5031 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5032
5033         * converter.C (scanLog, runLaTeX):
5034         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5035         move the bv->showErrorList call to the callers
5036         * lyxfunc.C: i.e. here...
5037         * text2.C: and here
5038         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5039         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5040         namespace, the second to...
5041         * buffer_funcs (BufferFormat, parseErrors): added
5042         * errorlist.C (ErrorList(TeXErrors const &)): removed
5043
5044 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5045
5046         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5047
5048 2003-06-24  "Garst R. Reese" <reese@isn.net>
5049
5050         * debug.C: fix typo
5051
5052 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5053
5054         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5055
5056         * version.C.in: change docversion to 1.4
5057
5058 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * buffer.C: fix a bug just introduced
5061
5062 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * buffer.[Ch]: added the parseError signal and use it, removed
5065         sgmlError
5066         * BufferView.[Ch] (addError): moved to ...
5067         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5068         to the Buffer::parseError signal to catch (guess what) parse errors
5069         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5070
5071 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5074         ability to create a buffer and to return an existing one from
5075         the list. Moved these functions to...
5076         * buffer_funcs.[Ch]: added
5077         * BufferView.[Ch] (loadLyXFile): added
5078         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5079         job removed from bufferlist::loadLyXFile.
5080         * buffer.C (setReadOnly): make it work without view
5081         (i.e added an if (users))
5082
5083 2003-06-19  Angus Leeming  <leeming@lyx.org>
5084
5085         * lfuns.h:
5086         * LyXAction.C (init):
5087         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5088         with LFUN_DIALOG_SHOW <name> <data>.
5089
5090 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5091
5092         * CutAndPaste.C (availableSelections): small compilation fix for
5093         ancient (gcc 2.9x) compilers
5094
5095 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * text3.C (cursorNext): add tmp var
5098
5099         * text2.C (updateCounters): for function calling out of for clause
5100         (replaceSelectionWithString): ditto
5101         (insertStringAsParagraphs): ditto
5102         (getColumnNearX): add tmp var
5103         (setCursorFromCoordinates): add tmp var
5104         (cursorDownParagraph): add tmp var
5105         (deleteEmptyParagraphMechanism): add tmp var
5106
5107         * text.C (insertChar): add tmp var
5108
5109         * rowpainter.C (paintDepthBar): add tmp var
5110
5111         * CutAndPaste.C (availableSelections): potentially check all
5112         paragraphs in a cut to fill the shown strings.
5113
5114 2003-06-18  André Pönitz  <poenitz@gmx.net>
5115
5116         * kbmap.[Ch]: use vector<> instead of list<>
5117
5118 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5119
5120         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5121         pasteSelection with index
5122
5123         * text2.C (pasteSelection): modify, call pasteSelection with index
5124
5125         * paragraph.C (asString): reimplement version with no interval to
5126         call the one with interval.
5127
5128         * lyxtext.h: add index arg to pasteSelection
5129
5130         * MenuBackend.C (MenuItem): handle PasteRecent
5131         (Menu::read::Menutags): add md_pasterecent
5132         (read): handle it
5133         (expandPasteRecent): new function
5134         (expand): use it
5135
5136         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5137
5138         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5139         the limited stack
5140         (availableSelections): new function
5141
5142 2003-06-17  Angus Leeming  <leeming@lyx.org>
5143
5144         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5145
5146 2003-06-17  Angus Leeming  <leeming@lyx.org>
5147
5148         * lfuns.h:
5149         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5150
5151         * lyxfunc.C (dispatch): invoke it.
5152
5153 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5154
5155         * iterators.C (operator++, ParPosition): reintroduce some
5156         const_cast for the benefit of older compilers.
5157
5158 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5159
5160         * text3.C (dispatch): do not modify clipboard when doing
5161         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5162         LFUN_DELETE_SKIP on a selection selection
5163
5164 2003-06-16  André Pönitz  <poenitz@gmx.net>
5165
5166         * BufferView.C:
5167         * buffer.C:
5168         * buffer.h:
5169         * paragraph.C:
5170         * tabular.[Ch]: IU of clone() and getLabelList();
5171
5172 2003-06-13  André Pönitz  <poenitz@gmx.net>
5173
5174         * tabular.h: compactification
5175
5176 2003-06-12  André Pönitz  <poenitz@gmx.net>
5177
5178         * tabular.C:
5179         * tabular.h:
5180         * tabular_funcs.h: some renaming plus whitespace
5181
5182 2003-06-12  André Pönitz  <poenitz@gmx.net>
5183
5184         * BufferView.C:
5185         * BufferView_pimpl.C:
5186         * CutAndPaste.C:
5187         * buffer.C:
5188         * iterators.[Ch]:
5189         * lyxfunc.C:
5190         * text.C:
5191         * toc.C: Return a Paragraph & for ParIterator::operator*()
5192
5193 2003-06-11  John Levon  <levon@movementarian.org>
5194
5195         * lyx_main.C:
5196         * ToolbarBackend.h:
5197         * ToolbarBackend.C: add "Toolbars" section and
5198         put the flags there
5199
5200 2003-06-10  Angus Leeming  <leeming@lyx.org>
5201
5202         * lfuns.h:
5203         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5204
5205         * lyxfunc.C (dispatch): invoke it.
5206
5207 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * main.C: protect <ios> with HAVE_IOS
5210         (main): protect sync_with_stdio with HAVE_IOS
5211
5212 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5213
5214         * text2.C (cutSelection): adjust
5215         (pasteSelection): adjust
5216
5217         * messages.C: handle get of empty string
5218
5219         * main.C (main): use sync_with_stdio(false)
5220
5221         * lyxfunc.C (dispatch): adjust
5222
5223         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5224         (WriteAs): remove unneeded BufferView arg.
5225
5226         * bufferparams.h: use correct types on papersize, papersize2 and
5227         paperpackage.
5228
5229         * bufferparams.C (readToken): adjust for type
5230         (writeLaTeX): add missing cases to switch.
5231
5232         * bufferlist.C (quitWriteBuffer): adjust
5233         (close): adjust
5234
5235         * buffer.C (asciiParagraph): remove some commented code.
5236
5237         * CutAndPaste.C: remove current_view extern variable.
5238         (cutSelection): add BufferParams arg.
5239         (eraseSelection): add BufferParams arg.
5240         (pasteSelection): add Buffer const & arg
5241
5242 2003-06-07  John Levon  <levon@movementarian.org>
5243
5244         * buffer.C:
5245         * paragraph_funcs.C:
5246         * paragraph_pimpl.C:
5247         * text.C:
5248         * text2.C:
5249         * paragraph.h:
5250         * paragraph.C: allow InsetERT to freely space lines,
5251         and some consolidation of code
5252
5253 2003-06-06  José Matos  <jamatos@fep.up.pt>
5254
5255         * buffer.C (makeDocBookFile): fix bug #821
5256
5257 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5260
5261 2003-06-04  Angus Leeming  <leeming@lyx.org>
5262
5263         * buffer.C: bump format to 224.
5264
5265 2003-06-05  André Pönitz  <poenitz@gmx.net>
5266
5267         * text2.C (redoParagraphs): remove two const_cast<>
5268
5269 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5270
5271         * ParagraphList.h: remove last remnants of NO_STD_LIST
5272
5273 2003-06-03  Angus Leeming  <leeming@lyx.org>
5274
5275         * factory.C (createInset): small change to the way InsetExternal's params
5276         are set.
5277
5278 2003-06-04  André Pönitz  <poenitz@gmx.net>
5279
5280         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5281
5282         * paragraph_pimpl.h:
5283         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5284
5285         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5286
5287         * undo_funcs.C: make some simple cases of undo work again
5288
5289 2003-06-03  John Levon  <levon@movementarian.org>
5290
5291         * ispell.C: HPUX doesn't have sys/select.h
5292         (from Albert Chin)
5293
5294 2003-06-03  John Levon  <levon@movementarian.org>
5295
5296         * CutAndPaste.C: update tabular and include inset
5297         buffer references
5298
5299         * buffer.h:
5300         * paragraph.h:
5301         * paragraph.C: remove owningBuffer(), don't pass Buffer
5302         to clone()
5303
5304         * factory.C: insetGraphicsParams changed
5305
5306 2003-06-02  John Levon  <levon@movementarian.org>
5307
5308         * LyXAction.C:
5309         * factory.C:
5310         * lfuns.h:
5311         * lyxfunc.C:
5312         * text3.C: remove insetparent
5313
5314 2003-06-02  John Levon  <levon@movementarian.org>
5315
5316         * buffer.h:
5317         * buffer.C: fix inset_iterator.end(), move out of line
5318         (bug 1149)
5319
5320 2003-06-01  John Levon  <levon@movementarian.org>
5321
5322         * text3.C: use a proper cut/paste when doing inset
5323         insert (from Jürgen Spitzmüller)
5324
5325 2003-06-01  John Levon  <levon@movementarian.org>
5326
5327         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5328
5329 2003-05-30  André Pönitz  <poenitz@gmx.net>
5330
5331         * rowpainter.C: unify second drawing phase
5332
5333 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * trans_mgr.C: remove one case of current_view
5336
5337         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5338
5339         * paragraph_funcs.h: remove paragraph.h include
5340
5341         * paragraph.h: delete NO_STD_LIST stuff
5342
5343         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5344
5345         * buffer.h: remove paragraph.h include
5346
5347         * ParagraphList.C: delete file
5348
5349         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5350
5351         * toc.C (getTocList): adjust
5352
5353         * paragraph_pimpl.C (validate): adjust
5354
5355         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5356
5357         * paragraph.C (Paragraph): adjust
5358         (getPositionOfInset): use const_iterator, adjust
5359         (bibitem): use const_iterator, adjust
5360         (setInsetOwner): adjust
5361
5362         * iterators.C (operator++): adjust
5363
5364         * InsetList.[Ch]: Replace selfmade iterator with standard
5365         vector::iterator also introduce const_iterator. Remove getPos,
5366         getInset and setInset from InsetTable. Adjust accordingly.
5367
5368         * BufferView.C (lockInset): adjust
5369         (ChangeInsets): adjust
5370
5371         * tabular.[Ch]: delete commented same_id functions
5372
5373 2003-05-28  John Levon  <levon@movementarian.org>
5374
5375         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5376
5377 2003-05-28  André Pönitz  <poenitz@gmx.net>
5378
5379         * metricsinfo.[Ch]: remove 'fullredraw' member
5380
5381 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5382
5383         * lyxtextclass.C (operator): remove caching.
5384
5385 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * text3.C: adjust
5388
5389         * text2.C (cursorBottom): adjust
5390         (setCounter): use ParagraphList::find, adjust
5391
5392         * text.C (workWidth): use ParagraphList::find, adjust
5393
5394         * lyxcursor.C (LyXCursor): adjust
5395
5396         * buffer.C (inset_iterator): adjust
5397
5398         * ParagraphList.h: make iterator(value_type) private, make
5399         ParagraphList a friend of iterator.
5400
5401         * ParagraphList.C (find): new function
5402
5403         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5404
5405 2003-05-27  André Pönitz  <poenitz@gmx.net>
5406
5407         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5408
5409 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5410
5411         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5412
5413 2003-05-26  John Levon  <levon@movementarian.org>
5414
5415         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5416
5417 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * remove same_id from function signatures, adjust.
5420
5421 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5424
5425         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5426
5427         * paragraph.C (Paragraph): get rid of same_ids parameter
5428
5429         * ParagraphList.C (insert): adjust
5430         (push_back): adjust
5431
5432 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * paragraph_funcs.C (breakParagraph): adjust
5435         (breakParagraphConservative): adjust
5436
5437         * buffer.C (readParagraph): adjust
5438
5439         * ParagraphList.C (insert): take a reference instead of a pointer
5440         (insert): adjust
5441
5442         * paragraph.[Ch] (id): new function
5443
5444         * bufferlist.C (newFile): adjust
5445
5446         * ParagraphList.C (ParagraphList): adjust
5447         (assign): adjust
5448         (push_back): take a reference instead of a pointer.
5449
5450         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5451
5452         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5453         instead.
5454
5455         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5456         set else use old code.
5457
5458         * ParagraphList.C: remove all NO_NEXT code and only compile this
5459         code of NO_STD_LIST is set.
5460
5461 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * BufferView_pimpl.C:
5464         * TextCache.C:
5465         * TextCache.h:
5466         * bufferlist.C:
5467         * errorlist.h:
5468         * format.C:
5469         * format.h:
5470         * graph.C:
5471         * lyxfunc.C:
5472         * lyxrc.C:
5473         * graphics/GraphicsConverter.C:
5474         * graphics/PreviewLoader.C: header adjustment
5475
5476 2003-05-23  Angus Leeming  <leeming@lyx.org>
5477
5478         * LaTeXFeatures.[Ch] (useBabel): new method.
5479         * bufferparams.C (writeLaTeX): use it.
5480
5481 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * ParagraphList.h (set): remove unused function.
5484
5485 2003-05-23  André Pönitz  <poenitz@gmx.net>
5486
5487         * BufferView.C:
5488         * BufferView_pimpl.C:
5489         * buffer.C:
5490         * buffer.h:
5491         * lyxfunc.C:
5492         * undo_funcs.C: setUndo reworked
5493
5494         * iterators.[Ch]: add access to topmost ParagraphList
5495
5496         * lyxtext.[Ch] (workWidth): add a const
5497
5498 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * texrow.[Ch] (increasePos): remove function
5501         * exporter.C (export): removed unused var and outdated comment
5502
5503 2003-05-23  Angus Leeming  <leeming@lyx.org>
5504
5505         * latexrunparams.h: rename fragile as moving_arg.
5506         * paragraph.C (simpleTeXOnePar): ditto.
5507         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5508
5509 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5512         (createUndo): ditto
5513         (textUndoOrRedo): comment out a currently unused var.
5514
5515         * paragraph.h (NO_NEXT): enable NO_NEXT
5516
5517         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5518
5519         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5520
5521         * exporter.C (Export): adjust for removeAutoInsets removal.
5522
5523         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5524
5525         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5526
5527         * BufferView.[Ch] (removeAutoInsets): delete function
5528
5529 2003-05-22  Angus Leeming  <leeming@lyx.org>
5530
5531         * latexrunparams.h: add a free_spacing variable.
5532
5533         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5534         to pass moving_arg, as the data is stored in runparams.fragile.
5535
5536         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5537         to Inset::latexOptional or to simpleTeXOnePar.
5538
5539         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5540         free_spacing arg to Inset::latexOptional.
5541
5542         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5543         free_spacing arg.
5544
5545 2003-05-22  Angus Leeming  <leeming@lyx.org>
5546
5547         * latexrunparams.h: add fragile and use_babel variables.
5548
5549         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5550         * buffer.C (makeLaTeXFile): store this returned value in
5551         runparams.use_babel, thus passing it to the inset::latex methods.
5552
5553         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5554         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5555
5556         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5557         longer has a fragile arg, as it is stored in runparams.fragile.
5558
5559         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5560         moving_arg parameter as the data is stored in runparams.fragile.
5561
5562         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5563         a fragile parameter as the data is stored in runparams.fragile.
5564
5565 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5568
5569 2003-05-22  Angus Leeming  <leeming@lyx.org>
5570
5571         * latexrunparams.h: add a 'bool nice' which defaults to false.
5572
5573         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5574         now encapsulated within runparams.
5575
5576         * bufferlist.C (updateIncludedTeXfiles):
5577         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5578
5579 2003-05-22  Angus Leeming  <leeming@lyx.org>
5580
5581         * latexrunparams.h: new file containing struct LatexRunParams.
5582         * Makefile.am: add new file.
5583
5584         * LaTeX.[Ch] (c-tor, run):
5585         * buffer.[Ch] (makeLaTeXFile):
5586         * bufferlist.[Ch] (updateIncludedTeXfiles):
5587         * converter.C (convert, scanLog):
5588         * converter.[Ch] (runLaTeX):
5589         * exporter.C (Export):
5590         * paragraph.[Ch] (simpleTeXOnePar):
5591         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5592         * paragraph_funcs.[Ch] (latexParagraphs):
5593         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5594         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5595         pass around a LatexRunParams parameter.
5596
5597 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * paragraph.[Ch]: remove unused constructor
5600
5601         * ParagraphList.C (erase): new function, taking two iterators
5602
5603 2003-05-22  André Pönitz  <poenitz@gmx.net>
5604
5605         * undo_funcs.C: remove duplicated code
5606
5607         * iterator.[Ch]: operator=
5608
5609 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * tabular.C (SetMultiColumn): ws changes
5612
5613         * rowpainter.C (paintFirst): get rid of a ->previous
5614
5615         * lyx_cb.C (getPossibleLabel): parlist simplification
5616
5617         * BufferView.C (ChangeInsets): simplify slightly.
5618
5619 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5620
5621         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5622         * lfuns.h: new LFUN_SPACE
5623         * lyxfunc.C: protected space has a new lfun
5624         * paragraph_funcs.C: read new space insets
5625         * text3.C:
5626         * factory.C: handle new space insets
5627
5628 2003-05-22  André Pönitz  <poenitz@gmx.net>
5629
5630         * BufferView.C:
5631         * BufferView_pimpl.C:
5632         * buffer.[Ch]:
5633         * lyxfunc.C:
5634         * undo_funcs.C: return a ParIterator from getParFromID.
5635
5636         * iterators.[Ch]: add two const's
5637
5638 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * toc.C (getTocList): adjust
5641
5642         * iterators.[Ch]: rework for parlist
5643
5644         * buffer.C (par_iterator_begin): adjust
5645         (par_iterator_end): adjust
5646
5647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5648
5649         * BufferView.C (removeAutoInsets): adjust
5650         (ChangeInsets): adjust
5651
5652 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * text.C (top_y): fix bug 1110
5655
5656 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5657
5658         * errorlist.[Ch]: added
5659         * buffer.C:
5660         * BufferView.[Ch]:
5661         * BufferView_pimpl.C:
5662         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5663         instead
5664
5665 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * Makefile.am: ensure that lyx is relinked upon changes to the
5668         various "convenience" libs.
5669
5670 2003-05-20  Angus Leeming  <leeming@lyx.org>
5671
5672         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5673         files are compiled in alphabetical order again.
5674
5675         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5676
5677 2003-05-19  Angus Leeming  <leeming@lyx.org>
5678
5679         * gettext.[Ch]: remove "char const * _(char const *)".
5680
5681 2003-05-19  André Pönitz  <poenitz@gmx.net>
5682
5683         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5684
5685         * Makefile.am:
5686         * BufferView.C:
5687         * DepTable.h:
5688         * LaTeXFeatures.C:
5689         * buffer.C:
5690         * lyxfont.C:
5691         * lyxlex.h:
5692         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5693
5694 2003-05-19  André Pönitz  <poenitz@gmx.net>
5695
5696         * buffer.C:
5697         * lyxlayout.[Ch]:
5698         * lyxtextclass.[Ch]:
5699         * paragraph.C:
5700         * paragraph_funcs.[Ch]:
5701         * text2.C:
5702         * text3.C: more insetenv work
5703
5704 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * ParagraphParameters.C (params2string): small bug fixed
5707
5708 2003-05-16  André Pönitz  <poenitz@gmx.net>
5709
5710         * debug.C:
5711         * bufferview_funcs.C: patch from Kornel Benko to prevent
5712           crash when _(...) is called twice in a statement
5713
5714 2003-05-16  André Pönitz  <poenitz@gmx.net>
5715
5716         * BufferView.C:
5717         * lyxfunc.C:
5718         * text.C:
5719         * text2.C:
5720         * text3.C:
5721         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5722
5723 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * lyx_main.C (init): remove spurious static_cast
5726
5727 2003-05-14  André Pönitz  <poenitz@gmx.net>
5728
5729         * BufferView.C: fix format string
5730
5731 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5732
5733         * BufferView.[Ch] (insertErrors): removed
5734         * BufferView.[Ch] (showErrorList): added
5735         * buffer.C (runChkTeX):
5736         * converter.C (scanLog): call showErrorList instead of inserterrors
5737
5738 2003-05-13  André Pönitz  <poenitz@gmx.net>
5739
5740         * BufferView_pimpl.C:
5741         * buffer.C:
5742         * bufferview_func.C:
5743         * MenuBackend.C:
5744         * lyxfunc.C:
5745         * lyxrc.C:
5746         * tex-accent.C:
5747         * text3.C:
5748         * toc.C:
5749         * tabular_funcs.h: tostr() from its own header
5750
5751         * ParagraphParameters.C:
5752         * ToolbarBackend.C:
5753         * bufferparams.C:
5754         * format.C:
5755         * lyxlex_pimpl.C:
5756         * text3.C: STRCONV()
5757
5758 2003-05-12  André Pönitz  <poenitz@gmx.net>
5759
5760         * BufferView.C:
5761         * BufferView_pimpl.C:
5762         * CutAndPaste.C:
5763         * LaTeX.C:
5764         * LaTeXFeatures.C:
5765         * ParagraphParameters.C:
5766         * buffer.C:
5767         * bufferlist.C:
5768         * bufferparams.C:
5769         * bufferview_funcs.C:
5770         * converter.C:
5771         * counters.C:
5772         * debug.C:
5773         * exporter.C:
5774         * format.C:
5775         * importer.C:
5776         * lyx_cb.C:
5777         * lyx_main.C:
5778         * lyxfont.C:
5779         * lyxfunc.C:
5780         * lyxvc.C:
5781         * paragraph.C:
5782         * paragraph_funcs.C:
5783         * tabular.C:
5784         * tabular_funcs.C:
5785         * text2.C:
5786         * text3.C:  boost::format -> bformat  all over the place
5787
5788
5789 2003-05-09  André Pönitz  <poenitz@gmx.net>
5790
5791         * LColor.[Ch]: Pimpl the #include <map> away
5792
5793 2003-05-09  John Levon  <levon@movementarian.org>
5794
5795         * bufferlist.C: never remove emergency saves
5796
5797 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * Makefile.am: better lib building
5800
5801 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5804         instead.
5805         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5806         (simpleTeXSpecialChars): adjust
5807         (simpleTeXSpecialChars): adjust
5808         * paragraph.C (simpleTeXOnePar): adjust
5809         * buffer.C (makeLaTeXFile): adjust
5810
5811         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5812
5813         * text2.C (changeDepth): parlist cleanup
5814         (getColumnNearX): ditto
5815
5816         * rowpainter.C (getLabelFont): parlist cleanup
5817
5818         * bufferlist.C (newFile): parlist cleanup
5819
5820         * CutAndPaste.C (eraseSelection): parlist cleanup
5821
5822         * BufferView_pimpl.C (trackChanges): parlist cleanup
5823         (dispatch): ditto
5824
5825         * BufferView.C (lockInset): parlist cleanup.
5826         (ChangeInsets): ditto
5827
5828 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * CutAndPaste.h: Update file header.
5831
5832         * CutAndPaste.C: Update file header.
5833         Store the parts cut out of the Document in a limited_stack.
5834         (copySelection): adjust
5835         (pasteSelection): new function, takes the index in the limited stack.
5836         (nrOfParagraphs): adjust
5837         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5838         simplify error inset insertion.
5839         (checkPastePossible): adjust
5840
5841 2003-05-06  John Levon  <levon@movementarian.org>
5842
5843         * text2.C: don't cast wrap inset to float
5844
5845 2003-05-05  André Pönitz  <poenitz@gmx.net>
5846
5847         * iterator.C:
5848         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5849
5850         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5851           few naked Paragraph *.
5852
5853 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5854
5855         * bufferparams.C: Output warning if a document with missing
5856         TeX document class is loaded
5857         * exporter.C: Disable TeX exports if the document class is missing
5858         * lyxtextclass.C:
5859         * lyxtextclass.h:
5860         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5861         isTeXClassAvailable()
5862
5863 2003-05-03  John Levon  <levon@movementarian.org>
5864
5865         * BufferView.h:
5866         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5867         explicit cursor show/hide
5868
5869         * BufferView_pimpl.h:
5870         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5871         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5872
5873         * lyxfunc.C: hide cursor before dispatching.
5874
5875         * lyx_cb.C:
5876         * lyxfind.C:
5877         * text.C:
5878         * text3.C: remove explicit cursor hides
5879
5880 2003-05-02  André Pönitz  <poenitz@gmx.net>
5881
5882         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5883
5884         * undo_funcs.C:
5885         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5886           linked lists
5887
5888         * text2.C: tiny whitespace
5889
5890 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * undo_funcs.C: almost only ws changes.
5893
5894         * ParagraphList.C (splice): just return if pl is empty.
5895
5896 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * ParagraphList.C (splice): new function.
5899
5900         * CutAndPaste.C (pasteSelection): use it
5901
5902 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * CutAndPaste.C (pasteSelection): remove the last next and
5905         previous from this file.
5906
5907 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * CutAndPaste.C (pasteSelection): more clean up, user proper
5910         ParagraphList functions for pasteing.
5911
5912         * ParagraphList.C (insert): new function, three arg insert
5913
5914 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * ParagraphList.C (insert): new function, three arg insert
5917
5918         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5919         not on paragraphs.
5920
5921 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5924
5925 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5928
5929 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5932         (copySelection): clean up a bit.
5933         (pasteSelection): use make_pair
5934
5935         * ParagraphList.C (ParagraphList): implement copy constructor
5936         (operator=): implement, base on copy constructor.
5937         (assign): new func
5938
5939         * paragraph.C (erase): return a bool
5940
5941         * paragraph_pimpl.C (erasePos): remove function, move contents...
5942         (erase): ... here. Return a bool.
5943         (erase): call erase instead of erasePos.
5944
5945 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5946
5947         * ParagraphList.h: define PitPosPair
5948         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5949         ParagraphList, fix a bug on pasting multiple pars
5950         * text2.C: change interface to C&P
5951
5952 2003-04-30  André Pönitz  <poenitz@gmx.net>
5953
5954         * undo_func.C: revert part of yesterday's patch 2
5955
5956 2003-04-30  John Levon  <levon@movementarian.org>
5957
5958         * LColor.C: s/tabular/table/
5959
5960 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * text3.C (dispatch): do not convert iterator -> pointer
5963         * undo_funcs.C (setCursorParUndo): ditto
5964         * text_funcs.C (transposeChars): ditto
5965
5966         * text2.C (setLayout): ws changes only
5967
5968         * text.C (breakParagraph): do not convert iterator -> pointer
5969         (insertChar): ditto
5970         (acceptChange): ditto
5971         (rejectChange): ditto
5972         (changeCase): ditto
5973         (Delete): ditto
5974         (backspace): ditto
5975
5976         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5977         pointer
5978
5979 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * text3.C (gotoInset): YABG (yet another bad getChar)
5982
5983 2003-04-29  André Pönitz  <poenitz@gmx.net>
5984
5985         * paragraph.h: make operator= private unimplemented as long as
5986           it is unusable
5987
5988         * ParagraphList.C: whitespace
5989
5990         * paragraph.[Ch]:
5991         * paragraph_pimpl.[Ch]:
5992         * paragraph_funcs.C:
5993         * CutAndPaste.C:
5994         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5995
5996         * text2.C:
5997           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5998
5999 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6002         * paragraph.[Ch] (erase):
6003         * paragraph_pimpl.[Ch] (erase): change return type and value
6004         * text2.C (cutSelection): some rework
6005
6006 2003-04-28  John Levon  <levon@movementarian.org>
6007
6008         * bufferlist.C: changes for unsaved changes dialog
6009
6010 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * bufferlist.C (newFile): set language (messages_) for new
6013         documents also.
6014
6015         * buffer.C (readFile): ws changes only.
6016
6017 2003-04-28  André Pönitz  <poenitz@gmx.net>
6018
6019         * undo_funcs.C:
6020         * lyxfunc.C:
6021         * buffer.[Ch]:
6022         * BufferView_pimpl.C:
6023         * BufferView.C: getParFromID related ParagraphList::iterator changes
6024
6025 2003-04-28  André Pönitz  <poenitz@gmx.net>
6026
6027         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6028           Changes
6029
6030 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * messages.C: remove one more localedir class variable.
6033
6034 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * messages.C (getLocaleDir): singleton generation function
6037         (Pimpl): use it.
6038         (Messages): add a default constructor.
6039
6040         * main.C (main): do not setup localedir here, do not call
6041         gettext_init.
6042
6043         * gettext.C (_): use it.
6044         (gettext_init): delete funciton
6045
6046 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * gettext.C (getLyXMessages): new singleton generating function.
6049
6050         * buffer.C (updateDocLang): adjust
6051
6052         * Makefile.am (messages.o): add target
6053         (main.o): remove target
6054
6055 2003-04-27  John Levon  <levon@movementarian.org>
6056
6057         * bufferlist.C:
6058         * lyx_cb.C:
6059         * lyxfunc.C:
6060         * lyxvc.C: specify cancel button in Alert::prompt
6061
6062 2003-04-26  John Levon  <levon@movementarian.org>
6063
6064         * text3.C:
6065         * lyxfunc.C:
6066         * lfuns.h:
6067         * LyXAction.C: add LFUN_INSET_SETTINGS
6068
6069         * lyxfunc.C: don't enable tabular-feature when there's
6070         just any locking inset
6071
6072 2003-04-26  John Levon  <levon@movementarian.org>
6073
6074         * bufferlist.C: re-add Cancel to buffer close question
6075
6076         * lyxfunc.C: fix import UI a bit
6077
6078 2003-04-25  John Levon  <levon@movementarian.org>
6079
6080         * gettext.C: remove the broken asserts for now
6081
6082 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * messages.C: make case where setlocale cannot comply work better.
6085
6086         * buffer.C (updateDocLang): new function
6087         (changeLanguage): use it
6088         (readFile): use it
6089
6090         * text2.C (setCounter): use B_ a bit.
6091
6092         * lyxlayout.C (Read): be sure to trim the label strings.
6093
6094         * messages.C (Messages): fix typo in comment
6095
6096         * buffer.C (readFile): set message_ after file is loaded.
6097         (makeDocBookFile): remove double return
6098         (changeLanguage): reset message_ upon language change.
6099         (B_): new func, use this to get translated buffer strings.
6100
6101         * main.C: add myself and Jean Marc as authors.
6102
6103 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * messages.[hC]: pimplify Messages, and three different pimpls to be
6106         used in different circumstances.
6107
6108         * gettext.[Ch]: change for use with new message code.
6109
6110 2003-04-24 André Pönitz <poenitz@gmx.net>
6111
6112         * factory.C: support for eqref
6113
6114 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * messages.[Ch]: add missing char
6117
6118         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6119
6120         * messages.[Ch]: New files
6121
6122 2003-04-18  John Levon  <levon@movementarian.org>
6123
6124         * BufferView.h:
6125         * BufferView.C:
6126         * BufferView_pimpl.C:
6127         * lfuns.h:
6128         * LyXAction.C:
6129         * lyxtext.h:
6130         * text2.C: remove layout-copy/paste (bug 778)
6131
6132 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6133
6134         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6135
6136 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6137
6138         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6139         if they succeed. Act accordingly.
6140
6141 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6142
6143         * text2.C (setCharFont): adjust
6144         (setCounter): adjust
6145         (insertStringAsLines): adjust
6146
6147         * text.C (leftMargin): adjust
6148         (setHeightOfRow): adjust
6149
6150         * rowpainter.C (paintFirst): adjust
6151         (paintLast): adjust
6152
6153         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6154         (outerHook): ditto
6155         (isFirstInSequence): ditto
6156         (getEndLabel): ditto
6157         (outerFont): adjust
6158
6159         * paragraph.C (getParLanguage): comment out some hard stuff.
6160
6161         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6162         (sgmlError): ditto
6163         (simpleDocBookOnePar): ditto
6164         (makeDocBookFile): use ParagraphList::iterator
6165
6166         * CutAndPaste.C (pasteSelection): adjust
6167
6168 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * text2.C (getFont): adjust
6171         (getLayoutFont): adjust
6172         (getLabelFont): adjust
6173
6174         * paragraph_funcs.C (TeXOnePar): adjust
6175
6176         * buffer.C (simpleLinuxDocOnePar): adjust
6177         (simpleDocBookOnePar): adjust
6178
6179         * CutAndPaste.C (pasteSelection): adjust
6180
6181         * BufferView.C (getEncoding): adjust
6182
6183         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6184
6185 2003-04-16  John Levon  <levon@movementarian.org>
6186
6187         * lyxfind.C: use parlist stuff for search/changes
6188
6189 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6192
6193         * text2.C (deleteEmptyParagraphMechanism): adjust
6194
6195         * text2.[Ch] (ownerParagraph): delete func (both of them
6196
6197 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6200
6201 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * ParagraphList.C: prepare for NO_NEXT
6204
6205 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * text2.C (getFont): adjust
6208         (getLayoutFont): adjust
6209         (getLabelFont): adjust
6210
6211         * paragraph.C (getFont): adjust
6212         (getLabelFont): adjust
6213         (getLayoutFont): adjust
6214
6215         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6216
6217 2003-04-15  John Levon  <levon@movementarian.org>
6218
6219         From Angus Leeming
6220
6221         * lyx_main.C: handle Include in .ui files
6222
6223 2003-04-15  John Levon  <levon@movementarian.org>
6224
6225         * MenuBackend.C: make the doc files length shorter
6226
6227         * ToolbarBackend.h:
6228         * ToolbarBackend.C: handle toolbar placement flags,
6229         Minibuffer
6230
6231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6234         adjust
6235
6236         * paragraph_funcs.C (TeXOnePar): adjust
6237
6238         * paragraph.C (getLabelFont): add outerfont arg, adjust
6239         (getLayoutFont): ditto
6240         (simpleTeXOnePar): adjust
6241
6242         * paragraph_pimpl.C (realizeFont): delete func
6243
6244 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6245
6246         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6247         row argument, constify cur argument.
6248
6249 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * text2.C (getFont): adjust
6252         (getLayoutFont): adjust
6253         (getLabelFont): adjust
6254
6255         * paragraph_funcs.C (TeXOnePar): adjust
6256         (outerFont): new func...
6257         (realizeFont): ...moved out from here, changed this to facilitate
6258         transition
6259
6260         * paragraph.C (getFont): take outerfont as arg, adjust
6261         (simpleTeXOnePar): add outerfont arg, adjust
6262
6263         * buffer.C (simpleLinuxDocOnePar): adjust
6264         (simpleDocBookOnePar): adjust
6265
6266         * CutAndPaste.C (pasteSelection): adjust
6267
6268         * BufferView.C (getEncoding): adjust
6269
6270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * text2.C (setCharFont): adjust
6273         (setCounter): adjust
6274
6275         * text.C (leftMargin): adjust
6276         (setHeightOfRow): adjust
6277
6278         * rowpainter.C (paintFirst): adjust
6279         (paintLast): adjust
6280
6281         * paragraph_pimpl.C (realizeFont): adjust
6282
6283         * paragraph.C (isFirstInSequence): move from here...
6284         * paragraph_funcs.C (isFirstInSequence): ...to here
6285
6286         * paragraph.C (outerHook): move from here...
6287         * paragraph_funcs.C (outerHook): ...to here
6288
6289         * paragraph.C (depthHook): move from here...
6290         * paragraph_funcs.C (depthHook): ...to here
6291
6292         * paragraph.C (getEndLabel): move from here...
6293         * paragraph_funcs.C (getEndLabel): ...to here
6294
6295         * text2.C (realizeFont): move from here...
6296         * paragraph_funcs.C (realizeFont): ...to here
6297
6298 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6301
6302 2003-04-14  Angus Leeming  <leeming@lyx.org>
6303
6304         * LColor.[Ch]: scrap LColor mathcursor.
6305
6306 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * lyxlex.[Ch] (text): delete function
6309         * trans.C (Load): adjust
6310         * paragraph_funcs.C (readParToken): adjust
6311
6312 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6315         vector<char> instead of a char[].
6316
6317         * lyxlex_pimpl.C (getString): adjust
6318         (next): adjust
6319         (lex): use getString
6320         (eatLine): adjust
6321         (nextToken): adjust
6322
6323         * lyxlex.C (text): use pimpl_->getString()
6324         (getBool): ditto
6325         (findToken): ditto
6326
6327 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6328
6329         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6330         (makeFontEntriesLayoutSpecific): temp var for par.size()
6331         (setLayout): temp var for ownerParagraphs().end()
6332         (fullRebreak): temp var for rows().end()
6333         (selectionAsString): temp var for boost::next(startpit), realize
6334         that the while really is a regular for loop.
6335         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6336         setCursor in one place.
6337         (setParagraph): temp vr for ownerParagraphs().end()
6338         (updateCounters): make the while loop a for loop
6339         (cutSelection): temp var for ownerParagraphs().end()
6340         (updateInset): make the do {} while() a regular for loop
6341         (getCursorX): use temp vars
6342         (setCurrentFont): use temp vars
6343         (getColumnNearX): use temp vars
6344
6345 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * text.C (transformChar): use temp var for getChar
6348         (computeBidiTables): use temp var for row->par()
6349         (fill): move temp vars for row->par() and pit->layout() earlier in
6350         the function.
6351         (labelFill): use temp var for row->par()
6352         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6353         asc and desc, realize that pit never changes and that firstpit is
6354         just a duplicate and not needed. Exchange rit->par() with pit in a
6355         lot of places.
6356         (breakAgain): use a temp var for boost::next(rit)
6357         (breakAgainOneRow): ditto
6358         (breakParagraph): use a temp var for rows().begin()
6359         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6360         (cursorRightOneWord): use temp var for cursor.par() and
6361         cursor.pos(), remove usage of tmpcursor.
6362         (cursorLeftOneWord): use temp var for cursor.par() and
6363         cursor.pos() only set cur at end of function.
6364
6365 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * text.C, text2.C: exchange all usage of Paragraph::next with
6368         boost::next(ParagraphList::iterator)
6369
6370         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6371
6372         * text2.C (cursorTop): simplify implementation
6373         (cursorBottom): ditto
6374         (setParagraph): use ParagraphList::iterator
6375         (setCurrentFont): adjust
6376         (getColumnNearX): adjust
6377         (cursorRight): adjust
6378         (cursorLeft): remove usage of Paragraph::previous
6379         (cursorUpParagraph): ditto
6380         (deleteEmptyParagraphMechanism): slight cleanup
6381
6382         * text.C (isBoundary): take a Paragraph const & instead of a
6383         pointer as arg.
6384         (addressBreakPoint): ditto
6385         (leftMargin): remove usage of Paragraph::previous.
6386         (setHeightOfRow): ditto
6387         (cursorLeftOneWord): ditto
6388         (selectNextWordToSpellcheck): ditto
6389         (Delete): ditto
6390         (backspace): ditto
6391         (breakParagraph): remove one usage of Paragraph::next
6392         (redoParagraph): ditto
6393         (acceptChange): ditto
6394         (insertChar): adjust
6395         (rowBreakPoint): adjust
6396
6397         * bufferview_funcs.C (toggleAndShow): adjust
6398
6399 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6400
6401         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6402         methods to access it.
6403         * lyxtext.h:
6404         * text.C: Added updateRowPositions to compute all row positions.
6405         Make top_y and getRowNearY() to use the cached y position
6406
6407 2003-04-11  John Levon  <levon@movementarian.org>
6408
6409         * text.C (rowBreakPoint): reintroduce the labelEnd
6410         checks, code copied from the row fill stuff. Deep voodoo.
6411
6412         * text.C (fill): add a comment and debugging for the
6413         next poor soul.
6414
6415 2003-04-11  John Levon  <levon@movementarian.org>
6416
6417         * text.C: make sure fullrow insets get wrapped to the next line,
6418         even when they're in a manual label
6419
6420 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * text2.C (insertParagraph): make it take ParagraphList::iterator
6423         as arg.
6424         (setLayout): make it return ParagraphList::iterator
6425         (redoParagraphs): ditto
6426         (setCounter): ditto
6427         (checkParagraph): ditto
6428
6429         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6430
6431         * text2.C: adjust several funcs.
6432         (realizeFont): take a ParagraphList::iterator as arg.
6433         (getLayoutFont): ditto
6434         (getLabelFont): ditto
6435         (setCharFont): ditto
6436
6437         * text.C: adjust several funcs.
6438
6439 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6440
6441         * text.C (selectNextWordToSpellcheck): don't accidentally
6442         skip insets
6443
6444 2003-04-10  John Levon  <levon@movementarian.org>
6445
6446         * ToolbarBackend.C (getIcon): special handling for
6447         LFUN_MATH_DELIM
6448
6449 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * text2.C (cursorRight): a getChar assert fixed
6452
6453 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * text2.C (getFont): change to take a ParagraphList::iterator
6456         instead of Paragraph*
6457         Adjust several functions.
6458
6459         * text.C (transformChar): change to take a ParagraphList::iterator
6460         instead of Paragraph*
6461         (singleWidth): ditto
6462         Adjust several functions.
6463
6464         * rowpainter.C: adjust several functions
6465         * rowpainter.h:store a ParagraphList::iterator and not a
6466         Paragraph&.
6467
6468
6469 2003-04-09  John Levon  <levon@movementarian.org>
6470
6471         * lyxfunc.C:
6472         * lfuns.h:
6473         * LyXAction.h:
6474         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6475         and the "help" bits as well
6476
6477 2003-04-09  John Levon  <levon@movementarian.org>
6478
6479         * ToolbarBackend.h:
6480         * ToolbarBackend.C: allow multiple toolbars
6481
6482 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * undo_funcs.C (setCursorParUndo): adjust
6485
6486         * text_funcs.C (transposeChars): adjust
6487
6488         * text3.C (gotoNextInset): adjust
6489         (dispatch): adjust
6490
6491         * text2.C (setLayout): adjust
6492         (changeDepth): adjust
6493         (setFont): adjust
6494         (redoParagraphs): adjust
6495         (selectionAsString): adjust
6496         (setParagraph): adjust
6497         (insertInset): adjust
6498         (cutSelection): adjust
6499         (copySelection): adjust
6500         (pasteSelection): adjust
6501         (insertStringAsLines): adjust
6502         (updateInset): adjust
6503         (setCursor): change to take a ParagraphList::iterator parameter
6504         (setCursorIntern): change to take a ParagraphList::iterator parameter
6505         (setCurrentFont): adjust
6506         (cursorLeft): adjust
6507         (cursorRight): adjust
6508         (deleteEmptyParagraphMechanism): adjust
6509
6510         * text.C (breakParagraph): adjust
6511         (insertChar): adjust
6512         (acceptChange): adjust
6513         (rejectChange): adjust
6514         (selectNextWordToSpellcheck): adjust
6515         (changeCase): adjust
6516         (Delete): adjust
6517         (backspace): adjust
6518
6519         * lyxfind.C (SearchForward): adjust
6520         (SearchBackward): adjust
6521         (nextChange): adjust
6522
6523         * lyxcursor.C (par): adjust
6524
6525         * lyxcursor.h: store a ParagraphList::iterator instead of a
6526         Paragraph*
6527
6528         * lyx_cb.C (getPossibleLabel): adjust
6529
6530         * bufferview_funcs.C (toggleAndShow): adjust
6531
6532         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6533         (dispatch): adjust
6534
6535         * BufferView.C (removeAutoInsets): adjust
6536         (lockedInsetStoreUndo): adjust
6537
6538 2003-04-09  John Levon  <levon@movementarian.org>
6539
6540         * ToolbarBackend.C: try icon without argument
6541         if with argument fails
6542
6543 2003-04-08  John Levon  <levon@movementarian.org>
6544
6545         * ToolbarBackend.h:
6546         * ToolbarBackend.C: add getIcon(), handle tooltip,
6547         and change from "Icon" to "Item".
6548
6549 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * BufferView.C (lockInset): another bad getchar crunched
6552
6553 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6556         again)
6557
6558 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6559
6560         * lyxfind.C (searchForward, searchBackwards): bug 782
6561
6562 2003-04-07  John Levon  <levon@movementarian.org>
6563
6564         * paragraph.C: remove dead comment
6565
6566         * text.C: remove troublesome depth-fiddling code
6567         in leftMargin() and rightMargin() (bug 1017)
6568
6569         * text.C: fix breaking of rows in nested lists
6570         (bug 1004)
6571
6572         * text2.C (updateCounters): fix up depth values
6573         (bug 1013)
6574
6575 2003-04-07  John Levon  <levon@movementarian.org>
6576
6577         * BufferView_pimpl.C: clear message when doc finishes resizing,
6578         and after a mouse event
6579
6580         * lyxfunc.C: clear message after exiting inset
6581
6582 2003-04-07  John Levon  <levon@movementarian.org>
6583
6584         * bufferview_funcs.C: show math status not outside
6585         status in the statusbar
6586
6587 2003-04-07  John Levon  <levon@movementarian.org>
6588
6589         * lyxfunc.C: note status changed after a depth change
6590
6591 2003-04-04  Angus Leeming  <leeming@lyx.org>
6592
6593         * LaTeX.h: move AuxInfo operator==, != out of line.
6594         Remove LaTeX virtual destructor; nothing derives from it.
6595         Move operator()() out of public area and rename it startscript().
6596         Change protected for private.
6597
6598 2003-04-04  Angus Leeming  <leeming@lyx.org>
6599
6600         * lyxfunc.C:
6601         * text2.C: remove unneeded #includes.
6602
6603 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6604
6605         * text2.C (dEPM): fix the heigth of the next row
6606
6607 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6608
6609         * text.C: squashed an invalid getChar requester + some ws changes
6610
6611 2003-04-03  John Levon  <levon@movementarian.org>
6612
6613         * bufferview_funcs.h:
6614         * bufferview_funcs.C:
6615         * lyxfunc.C:
6616         * lyxtext.h:
6617         * text2.C: make getStatus work for the env depth lfuns
6618
6619 2003-04-03  John Levon  <levon@movementarian.org>
6620
6621         * bufferview_funcs.h:
6622         * bufferview_funcs.C:
6623         * lyxfunc.C:
6624         * lyxtext.h:
6625         * text2.C: parlistize decDepth(), by merging it with incDepth()
6626
6627 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * lyxrow.h: store a ParagraphList::iterator instead of a
6630         Paragraph* and adjust other class functions to suit.
6631
6632         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6633         above.
6634
6635 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6636
6637         * text2.C (setCursor): do not anchor to cursor row for the time being
6638
6639 2003-04-02  John Levon  <levon@movementarian.org>
6640
6641         * LyXAction.C:
6642         * lfuns.h:
6643         * lyx_main.C:
6644         * lyxtext.h:
6645         * text.C:
6646         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6647
6648 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * paragraph.h: make ParagraphList and ParagraphList::iterator
6651         friends of Paragraph.
6652
6653         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6654
6655         * ParagraphList.C: Use the private next_ and previous_ from
6656         Paragraph.
6657
6658 2003-04-01  John Levon  <levon@movementarian.org>
6659
6660         * ToolbarBackend.h:
6661         * ToolbarBackend.C:
6662         * Makefile.am: rename, remove defaults gunk
6663
6664         * MenuBackend.h:
6665         * MenuBackend.C: remove defaults gunk
6666
6667         * Languages.h:
6668         * Languages.C: remove defaults gunk
6669
6670         * lyx_main.h:
6671         * lyx_main.C: error out if files couldn't be found.
6672
6673 2003-04-02  John Levon  <levon@movementarian.org>
6674
6675         * text2.C: make incDepth() use parlist
6676
6677 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * undo_funcs.C (firstUndoParagraph): adjust
6680
6681         * text3.C (gotoInset): adjust
6682         (dispatch): adjust, and rewrite loop.
6683
6684         * text2.C (init): adjust, and rewrite loop.
6685         (redoParagraphs): adjust
6686         (updateInset): adjust, and rewrite loop.
6687         (deleteEmptyParagraphMechanism): adjust
6688
6689         * tabular.C (LyXTabular): adjust
6690         (SetMultiColumn): adjust
6691         (TeXRow): adjust
6692
6693         * lyxtext.[Ch] (ownerParagraph): delete function
6694         (ownerParagraphs): new function returns a ParagraphList.
6695
6696         * BufferView.C (removeAutoInsets): adjust
6697         (insertErrors): adjust
6698         (setCursorFromRow): adjust
6699
6700 2003-04-01  Angus Leeming  <leeming@lyx.org>
6701
6702         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6703         in the frontends.
6704
6705 2003-04-02  John Levon  <levon@movementarian.org>
6706
6707         * lyxtext.h:
6708         * text.C:
6709         * Makefile.am:
6710         * text_funcs.h:
6711         * text_funcs.C: make transposeChars a free function
6712
6713         * lyxrow_funcs.C: remove wrong comment
6714
6715 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * lyxtext.h: adjust
6718         * rowpainter.C: adjust
6719         * text.C: adjust
6720         * text2.C: adjust
6721         * text3.C: adjust
6722
6723         * lyxrow_funcs. [Ch]: new files
6724
6725         * lyxrow.[Ch]: remove next and previous pointers
6726         (next,previous): remove accessor functions
6727         (isParEnd): move to lyxrow_funcs
6728         (lastPos): move to lyxrow_funcs
6729         (nextRowIsAllInset): move to lyxrow_funcs
6730         (lastPrintablePos): move to lyxrow_funcs
6731         (numberOfSeparators): move to lyxrow_funcs
6732         (numberOfHfills): move to lyxrow_funcs
6733         (numberOfLabelHfills): move to lyxrow_funcs
6734         (hfillExpansion): move to lyxrow_funcs
6735
6736         * lyxfunc.C: adjust
6737
6738         * bufferview_funcs.C (toggleAndShow): adjust
6739
6740         * RowList.h: Remove class RowList from file leave just a
6741         std::list<Row>.
6742
6743         * RowList.C: delete file
6744
6745         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6746         and lyxrow_funcs.h
6747
6748 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * text3.C (cursorPrevious): adjust
6751         (cursorNext): adjust
6752         (dispatch): adjust
6753
6754         * text2.C (redoHeightOfParagraph): adjust
6755         (redoDrawingOfParagraph): adjust
6756         (setCursor): adjust
6757
6758         * text.C (breakParagraph): adjust
6759         (insertChar): adjust
6760         (backspace): adjust
6761
6762         * rowpainter.C (RowPainter): adjust
6763         (leftMargin): simplify and adjust
6764         (most rowpainter functions): adjust.
6765
6766         * rowpainter.h: store the row as RowList::iterator not as Row*
6767
6768         * lyxcursor.C (row): taka RowList::iterator as arg
6769         (irow): ditto
6770
6771         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6772         of Row*.
6773
6774 2003-04-01  Angus Leeming  <leeming@lyx.org>
6775
6776         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6777         stuff like bool Bool.
6778
6779 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6780
6781         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6782         rewrite a loop
6783
6784 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6787         RowList::iterator.
6788
6789         * lyxtext.h (rows): drop one version and leve a const variant that
6790         returns a RowList::iterator.
6791
6792 2003-03-31  Angus Leeming  <leeming@lyx.org>
6793
6794         * text.C (fill): ensure that the signature is the same as that in the
6795         header file.
6796
6797 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * text2.C (redoParagraphs): adjust
6800         (updateCounters): adjust
6801         (checkParagraph): adjust
6802         (getColumnNearX): adjust and reformat a bit.
6803
6804         * text.C (top_y): adjust
6805         (workWidth): adjust
6806         (leftMargin): adjust
6807         (prepareToPrint): adjust
6808         (getRow): adjust
6809         (getRowNearY): adjust
6810
6811         * lyxtext.h: make rowlist_ mutable.
6812
6813         * RowList.h: add const_iterator
6814         * RowList.C: adjust for RowList::const_iterator.
6815
6816         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6817         adjust.
6818
6819 2003-03-31  John Levon  <levon@movementarian.org>
6820
6821         * lyxrc.h:
6822         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6823
6824         * lyx_main.C: set default fonts from using lyx_gui funcs
6825
6826         * exporter.C: pdf_mode moved from lyxrc
6827
6828         * lyx_cb.C:
6829         * lyxfunc.C: changes from above
6830
6831 2003-03-31  John Levon  <levon@movementarian.org>
6832
6833         * lyx_main.C: fix to the last fix
6834
6835 2003-03-31  John Levon  <levon@movementarian.org>
6836
6837         * bufferlist.C: "Load original" -> "Load Original"
6838
6839         * converter.C:
6840         * exporter.C:
6841         * importer.C:
6842         * lyx_main.C:
6843         * format.C: more Alert cleanups
6844
6845 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * text2.C (removeParagraph): make it take a RowList::iterator as
6848         arg, adjust.
6849         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6850         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6851
6852         * text.C (anchor_row): make it take a RowList::iterator as arg,
6853         adjust.
6854         (computeBidiTables): make it take a const reference to Row instead
6855         of Row pointer, adjust.
6856         (leftMargin): make it take a RowList::iterator as arg, adjust.
6857         (rowBreakPoint): adjust
6858         (breakAgainOneRow): make it take a RowList::iterator as arg,
6859         adjust.
6860         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6861
6862         * bufferview_funcs.C (toggleAndShow): adjust
6863
6864 2003-03-30  John Levon  <levon@movementarian.org>
6865
6866         * Makefile.am:
6867         * BoostFormat.h:
6868         * boost-inst.C: moved to support
6869
6870         * several files: changes as a result
6871
6872 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * text2.C (LyXText): adjust.
6875         (init): adjust
6876         (removeRow): make it take a RowList::iterator as arg, adjust.
6877         (fullRebreak): adjust
6878         (deleteEmptyParagraphMechanism): adjust
6879         (clearPaint): adjust
6880         (postPaint): adjust
6881
6882         * text.C (top_y): adjust
6883         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6884         (breakAgain): make it take a RowList::iterator as arg, adjust.
6885         (breakParagraph): adjust
6886         (insertChar): adjust
6887         (backspace): adjust
6888
6889         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6890         need_break_row, and refresh_row.
6891
6892         * text3.C (dispatch): adjust
6893
6894         * text2.C (checkParagraph): adjust
6895         (setCursor): adjust
6896         (setCursorFromCoordinates): adjust
6897
6898         * text.C (top_y): adjust
6899         (workWidth): adjust
6900         (getRow): make it return a RowList::iterator, adjust
6901         (getRowNearY): make it return a RowList::iterator, adjust
6902
6903         * text2.C (init): adjust
6904         (insertRow): remove function
6905         (insertParagraph): adjust
6906         (redoParagraphs): adjust
6907         (fullRebreak): adjust
6908         (updateCounters): adjust
6909
6910         * text.C (top_y): rewrite to use RowList iterators.
6911         (top_y): adjust
6912         (setHeightOfRow): rewrite to sue RowList iterators.
6913         (appendParagraph): adjust
6914         (breakAgain): adjust
6915         (breakAgainOneRow): adjust
6916         (breakParagraph): adjust
6917         (getRow): adjust
6918         (getRowNearY): adjust, and remove commented code.
6919
6920         * lyxtext.h (firstRow): delete function
6921         (lastRow): delete function
6922         (rows): new function (const and non-const versions.)
6923         (insertRow): delete function
6924
6925         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6926
6927 2003-03-29  John Levon  <levon@movementarian.org>
6928
6929         * BufferView_pimpl.C: always update scrollbar top
6930         because pasting text when we're anchored could mean we
6931         miss an update altogether
6932
6933 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * text2.C (init): use rowlist_.end() and not 0.
6936         (insertRow): change to take a RowList::iterator as arg, adjust
6937         for this.
6938         (insertParagraph): change to take a RowList::iterator as arg,
6939         adjust for this.
6940         (redoParagraphs): remove some debug msgs.
6941
6942         * text.C (appendParagraph): change to take a RowList::iterator
6943         arg, adjust for this.
6944         (breakAgain): add an assert
6945         (breakAgainOneRow): ditto
6946
6947 2003-03-29  John Levon  <levon@movementarian.org>
6948
6949         * text2.C: do not clear selection after inc/decDepth
6950         (bug 550)
6951
6952 2003-03-29  John Levon  <levon@movementarian.org>
6953
6954         * BufferView.C:
6955         * buffer.C: fix broken strerrors according to Lars
6956
6957 2003-03-29  John Levon  <levon@movementarian.org>
6958
6959         * converters.C: more Alert cleanups
6960
6961 2003-03-29  John Levon  <levon@movementarian.org>
6962
6963         * bufferview_funcs.C: remove pointless Alert
6964
6965         * buffer.C: fix confusing error message when
6966         a template is chmoded 000
6967
6968 2003-03-29  John Levon  <levon@movementarian.org>
6969
6970         * BufferView.C:
6971         * BufferView.h:
6972         * BufferView_pimpl.C: Alert fixes
6973
6974         * Makefile.am:
6975         * tabular.C:
6976         * tabular-old.C: remove unused table compat reading
6977
6978 2003-03-29  John Levon  <levon@movementarian.org>
6979
6980         * BufferView.C:
6981         * buffer.C:
6982         * lyx_cb.h:
6983         * lyx_cb.C: more Alert cleanups
6984
6985         * lyxfunc.C: don't allow chktex if not latex document
6986
6987 2003-03-29  John Levon  <levon@movementarian.org>
6988
6989         * lyx_cb.C:
6990         * BufferView.C:
6991         * buffer.C: warnings pushed down from support/,
6992         kill err_alert
6993
6994 2003-03-29  John Levon  <levon@movementarian.org>
6995
6996         * lyxfunc.C: safety check for C-r (revert)
6997
6998 2003-03-29  John Levon  <levon@movementarian.org>
6999
7000         * bufferlist.h:
7001         * bufferlist.C: several UI fixes using Alert::prompt.
7002         Fix the pointless looping quit code. Fix stupid revert
7003         behaviour (bug 938)
7004
7005         * lyxvc.h:
7006         * lyxvc.C:
7007         * lyx_cb.C: use Alert::prompt
7008
7009         * lyx_main.C: remove a silly question
7010
7011         * lyxfunc.C: remove a couple of silly questions,
7012         use Alert::prompt
7013
7014 2003-03-28  John Levon  <levon@movementarian.org>
7015
7016         * text2.C: fix bug 974 (End on empty par)
7017
7018 2003-03-28  John Levon  <levon@movementarian.org>
7019
7020         * BufferView_pimpl.C:
7021         * LyXAction.C:
7022         * lfuns.h: remove do-nothing math greek lfuns
7023
7024 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * lyxgluelength.h (isValidGlueLength): add default arg on
7027         parameter 2. Remove default arg from friend in class.
7028
7029         * lyxlength.h (isValidLength): add default arg on parameter 2.
7030         Remove default arg from friend in class.
7031
7032         * text2.C (LyXText): adjust, initialize refresh_row.
7033         (init): adjust
7034         (removeRow): adjust
7035         (insertRow): adjust
7036         (insertParagraph): adjst
7037         (redoParagraphs): adjust
7038         (fullRebreak): adjust
7039         (updateCounters): adjust
7040         (deleteEmptyParagraphMechanism): first attempt at fixing a
7041         crashing bug.
7042
7043         * text.C (top_y): adjust
7044         (setHeightOfRow): adjust
7045         (getRow): adjust
7046         (getRowNearY): adjust
7047
7048         * lyxtext.h: include RowList.h
7049         (~LyXText): not needed anymore, deleted.
7050         (firstRow): modify for RowList
7051         (lastRow): new function
7052         Delete firstrow and lastrow class variables, add a Rowlist
7053         rowlist_ class variable.
7054
7055         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7056         paragraph is empty.
7057
7058         * RowList.C (insert): fix case where it == begin().
7059
7060 2003-03-26  Angus Leeming  <leeming@lyx.org>
7061
7062         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7063         the thesaurus dialog.
7064
7065 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7068
7069         * RowList.[Ch]: new files
7070
7071         * ParagraphList.C (erase): handle the case where it == begin
7072         correctly.
7073
7074 2003-03-25  John Levon  <levon@movementarian.org>
7075
7076         * Makefile.am:
7077         * aspell_local.h:
7078         * aspell.C: add new aspell support
7079
7080         * lyxrc.h:
7081         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7082         have it accessible.
7083
7084 2003-03-25  Angus Leeming  <leeming@lyx.org>
7085
7086         * lfuns.h:
7087         * LyXAction.C (init): new LFUN_INSET_INSERT.
7088
7089         * BufferView_pimpl.C (dispatch): split out part of the
7090         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7091
7092         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7093         LFUN_INSET_APPLY.
7094
7095 2003-03-25  Angus Leeming  <leeming@lyx.org>
7096
7097         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7098
7099 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7100
7101         * text2.C:
7102         * text3.C: remove useless row->height(0)
7103
7104 2003-03-25  John Levon  <levon@movementarian.org>
7105
7106         * lyxtext.h:
7107         * text2.C:
7108         * text3.C: rename the refreshing stuff to better names
7109
7110 2003-03-24  John Levon  <levon@movementarian.org>
7111
7112         * BufferView_pimpl.h:
7113         * BufferView_pimpl.C: update layout choice on a mouse
7114         press/release
7115
7116 2003-03-23  John Levon  <levon@movementarian.org>
7117
7118         * Makefile.am: fix commandtags.h reference
7119
7120 2003-03-22  John Levon  <levon@movementarian.org>
7121
7122         * BufferView_pimpl.C:
7123         * lyxtext.h:
7124         * rowpainter.C:
7125         * rowpainter.h:
7126         * text.C:
7127         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7128
7129 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * lyxtext.h:
7132         * text.C: take the rtl methods out of line
7133
7134 2003-03-21 André Pönitz <poenitz@gmx.net>
7135
7136         * metricsinfo.[Ch]: new files containing structures to be passed around
7137         during the two-phase-drawing...
7138
7139 2003-03-21 André Pönitz <poenitz@gmx.net>
7140
7141         * lyxtextclass.C: read 'environment' tag.
7142
7143 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7144
7145         * text2.C (removeRow): fix bug 964
7146
7147 2003-03-20  John Levon  <levon@movementarian.org>
7148
7149         * rowpainter.C:
7150         * text.C:
7151         * text2.C: paint cleanups. Inset::update() dropped font
7152         parameter
7153
7154 2003-03-19  John Levon  <levon@movementarian.org>
7155
7156         * lyxfunc.C: only fitcursor/markDirty if available()
7157
7158 2003-03-19  John Levon  <levon@movementarian.org>
7159
7160         * commandtags.h: rename to ...
7161
7162         * lfuns.h: ... this, and renumber / cleanup
7163
7164 2003-03-19  John Levon  <levon@movementarian.org>
7165
7166         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7167         fit the cursor after an lfun
7168
7169         * BufferView.h:
7170         * BufferView.C:
7171         * BufferView_pimpl.h:
7172         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7173
7174         * LyXAction.C: layout-character should have ReadOnly
7175
7176         * ParagraphParameters.C:
7177         * buffer.C:
7178         * bufferview_funcs.C:
7179         * lyx_cb.C:
7180         * lyxfind.C:
7181         * lyxtext.h:
7182         * text.C:
7183         * text2.C:
7184         * text3.C:
7185         * undo_funcs.C: changes from above
7186
7187 2003-03-18  John Levon  <levon@movementarian.org>
7188
7189         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7190         remove it from update()
7191
7192         * lyxfunc.C: update layout choice after an lfun
7193
7194         * text3.C: remove extra updateLayoutChoice()s
7195
7196 2003-03-18  John Levon  <levon@movementarian.org>
7197
7198         * text.C: top_y change means full repaint, fix
7199         a drawing bug with cursor movement
7200
7201 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7202
7203         * lyxtext.h:
7204         * text.C:
7205         * text2.C: anchor row on setCursor
7206
7207 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * lyxtext.h: remove almost all mutable keywords
7210         * text.C:
7211         * text2.C:
7212         * text3.C: remove const keywords accordingly
7213
7214 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7217         anon namespace
7218         (TeXEnvironment): ditto
7219         (TeXOnePar): ditto
7220
7221 2003-03-17  John Levon  <levon@movementarian.org>
7222
7223         * text.C (rowBreakPoint): remove attempt to fix displayed
7224         math insets inside a manual label
7225
7226 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * lyxtext.h: remove BufferView* as first arg from almost all class
7229         functions.
7230         * other files: adjust.
7231
7232 2003-03-17  John Levon  <levon@movementarian.org>
7233
7234         * lyxtext.h:
7235         * undo_funcs.C:
7236         * text2.C: more paint cleanups
7237
7238         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7239
7240         * rowpainter.h:
7241         * rowpainter.C: remove "smart" background painting code
7242
7243 2003-03-16  John Levon  <levon@movementarian.org>
7244
7245         * lyxtext.h:
7246         * text.C:
7247         * text2.C:
7248         * text3.C: add helper functions for setting refresh_row/y
7249
7250 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7251
7252         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7253         newline inset which *can* get inserted in the pass_thru layouts.
7254         This is primarily for literate documents.
7255
7256 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7257
7258         * buffer.C: increment LYX_FORMAT to 223
7259
7260 2003-03-14 André Pönitz <poenitz@gmx.net>
7261
7262         * textclass.h: prepare for environment handling, ws changes
7263         * lyxlayout.C: read latexheader and latexfooter tags
7264
7265 2003-03-14  John Levon  <levon@movementarian.org>
7266
7267         * text2.C: rewrite ::status() a bit
7268
7269 2003-03-13  John Levon  <levon@movementarian.org>
7270
7271         * lyxtext.h: add some docs
7272
7273 2003-03-13  John Levon  <levon@movementarian.org>
7274
7275         * lyxtext.h:
7276         * text.C:
7277         * text2.C:
7278         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7279
7280 2003-03-13  John Levon  <levon@movementarian.org>
7281
7282         * text3.C: fix appendix redrawing
7283
7284 2003-03-13  John Levon  <levon@movementarian.org>
7285
7286         * text.C (setHeightOfRow):
7287         * rowpainter.h:
7288         * rowpainter.C: make appendix mark have the text
7289           "Appendix" so the user knows what it is
7290
7291         * LColor.h:
7292         * LColor.C: s/appendixline/appendix/ from above
7293
7294 2003-03-13  John Levon  <levon@movementarian.org>
7295
7296         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7297
7298         * text.C: fix a getChar(pos) bug properly
7299
7300 2003-03-13  Angus Leeming  <leeming@lyx.org>
7301
7302         * commandtags.h:
7303         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7304         Probably only temporary. Let's see how things pan out.
7305
7306         * BufferView.C (unlockInset):
7307         * BufferView_pimpl.C (fitCursor):
7308         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7309
7310         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7311         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7312
7313         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7314         new functions that convert ParagraphParameters to and from a string.
7315
7316         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7317         BufferView::Pimpl's dispatch.
7318         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7319
7320 2003-03-13 André Pönitz <poenitz@gmx.net>
7321
7322         * lyxfunc.C:
7323         * text3.C:
7324         * factory.C: make it aware of InsetEnv
7325
7326 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * text2.C (setCursor): never ask for one past last
7329         (setCursor): add some debugging messages.
7330
7331         * text.C (singleWidth): never ask for one past last
7332         (singleWidth): ditto
7333         (leftMargin): ditto
7334         (rightMargin): ditto
7335         (rowBreakPoint): ditto
7336         (setHeightOfRow): ditto
7337         (prepareToPrint): ditto
7338
7339         * rowpainter.C (paintBackground): never ask for one past last
7340         (paintText): never ask for one past last
7341
7342         * paragraph_pimpl.C (getChar): make the assert stricter, never
7343         allow the one past last pos to be taken
7344
7345         * paragraph.C (getChar): ws changes only
7346
7347         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7348         (numberOfSeparators): ditto
7349         (numberOfHfills): ditto
7350
7351 2003-03-12  John Levon  <levon@movementarian.org>
7352
7353         * author.h:
7354         * author.C:
7355         * bufferparams.h:
7356         * bufferparams.C:
7357         * paragraph_funcs.C: fix per-buffer authorlists
7358
7359 2003-03-12  John Levon  <levon@movementarian.org>
7360
7361         * text.C: fix newline in right address
7362
7363 2003-03-12  Angus Leeming  <leeming@lyx.org>
7364
7365         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7366         duplicate those in LyXFunc::dispatch.
7367
7368         * commandtags.h:
7369         * LyXAction.C:
7370         * ToolbarDefaults.C:
7371         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7372         Add LFUN_FONTFREE_UPDATE.
7373
7374         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7375         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7376
7377         * bufferview_func.[Ch]: several new functions to facilliate
7378         transfer of data to and from the character dialog.
7379
7380 2003-03-12  John Levon  <levon@movementarian.org>
7381
7382         * buffer.C:
7383         * paragraph.h:
7384         * paragraph.C:
7385         * paragraph_funcs.C:
7386         * paragraph_pimpl.C:
7387         * sgml.C:
7388         * tabular.C:
7389         * text.C:
7390         * text3.C: remove META_NEWLINE in favour of an inset
7391
7392         * rowpainter.h:
7393         * rowpainter.C: remove paintNewline (done by inset)
7394
7395 2003-03-12  John Levon  <levon@movementarian.org>
7396
7397         * paragraph_pimpl.C: complain about bad getChar()s
7398         for a while at least
7399
7400 2003-03-12  John Levon  <levon@movementarian.org>
7401
7402         * buffer.h:
7403         * buffer.C: move paragraph read into a separate function,
7404         a little renaming to reflect that.
7405
7406         * bufferparams.h:
7407         * bufferparams.C: remove the author_ids map, not necessary now
7408
7409         * factory.h:
7410         * factory.C: moved Buffer::readInset to here
7411
7412         * paragraph_funcs.h:
7413         * paragraph_funcs.C: readParagraph free function moved from
7414         buffer.C
7415
7416         * tabular.C: name change
7417
7418 2003-03-12  John Levon  <levon@movementarian.org>
7419
7420         * buffer.C:
7421         * ParagraphParameters.C: move par params input to
7422         a read() method
7423
7424         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7425         behave like a normal read from the stream wrt reading
7426         a line vs. a \\token
7427
7428 2003-03-12  John Levon  <levon@movementarian.org>
7429
7430         * paragraph.C:
7431         * ParagraphParameters.h:
7432         * ParagraphParameters.C: move output code to a
7433         ::write() method
7434
7435 2003-03-12  John Levon  <levon@movementarian.org>
7436
7437         * BufferView.C (insertLyXFile):
7438         * buffer.h:
7439         * buffer.C:
7440         * tabular.C: use a parlist iterator for creating the
7441           document.
7442
7443 2003-03-12  John Levon  <levon@movementarian.org>
7444
7445         * buffer.C: make current_change static local not
7446           static file-scope
7447
7448 2003-03-12  John Levon  <levon@movementarian.org>
7449
7450         * buffer.C: fix insertStringAsLines for change tracking
7451
7452 2003-03-12  John Levon  <levon@movementarian.org>
7453
7454         * BufferView.C:
7455         * tabular.C:
7456         * buffer.h:
7457         * buffer.C:
7458         * bufferparams.h:
7459         * bufferparams.C: move author list into params. Rename some
7460           functions. Move the header reading into a separate token
7461           loop. Move the header token reading into BufferParams.
7462
7463 2003-03-12  John Levon  <levon@movementarian.org>
7464
7465         * changes.C: put debug inside lyxerr.debugging() checks
7466
7467 2003-03-11 André Pönitz <poenitz@gmx.net>
7468
7469         * factory.C: make it aware of InsetHFill
7470
7471 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7472
7473         * buffer.C (latexParagraphs): move function from here...
7474         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7475         args.
7476
7477 2003-03-10  Angus Leeming  <leeming@lyx.org>
7478
7479         * LyXAction.C (init): fix bug in poplating array with multiple entries
7480         with the same LFUN (spotted by JMarc).
7481
7482 2003-03-10  John Levon  <levon@movementarian.org>
7483
7484         * text.C:
7485         * text2.C: move getColumnNearX() near its
7486         only call site
7487
7488 2003-03-10  John Levon  <levon@movementarian.org>
7489
7490         * text.C: fix break before a minipage
7491
7492 2003-03-10  John Levon  <levon@movementarian.org>
7493
7494         * text.C: fix the last commit
7495
7496 2003-03-09  John Levon  <levon@movementarian.org>
7497
7498         * lyxtext.h:
7499         * text.C:
7500         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7501         bug 365 (don't break before insets unless needed). Don't
7502         return a value > last under any circumstances.
7503
7504 2003-03-09  Angus Leeming  <leeming@lyx.org>
7505
7506         * BufferView_pimpl.C (trackChanges, dispatch): call
7507         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7508
7509 2003-03-09  Angus Leeming  <leeming@lyx.org>
7510
7511         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7512         than Dialogs::showAboutlyx().
7513
7514 2003-03-09  Angus Leeming  <leeming@lyx.org>
7515
7516         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7517         than Dialogs::showTabularCreate().
7518
7519 2003-03-09  John Levon  <levon@movementarian.org>
7520
7521         * lyxtext.h:
7522         * text.C:
7523         * text2.C: 3rd arg to nextBreakPoint was always the same.
7524           Use references.
7525
7526 2003-03-08  John Levon  <levon@movementarian.org>
7527
7528         * lyxrow.C:
7529         * paragraph.C:
7530         * paragraph.h:
7531         * rowpainter.C:
7532         * text.C:
7533         * text2.C: Remove the "main" bit from the "main body"
7534           notion.
7535
7536 2003-03-08  John Levon  <levon@movementarian.org>
7537
7538         * text.C (leftMargin): The left margin of an empty
7539         manual label paragraph should not include the label width
7540         string length.
7541
7542         * text.C (prepareToPrint): don't attempt to measure hfills
7543         for empty manual label paragraphs - the answer should be 0
7544
7545 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * CutAndPaste.C: remove commented code and reindent.
7548
7549 2003-03-08  John Levon  <levon@movementarian.org>
7550
7551         * lyxfunc.h:
7552         * lyxfunc.C: move reloadBuffer()
7553
7554         * BufferView.h:
7555         * BufferView.C: to here
7556
7557         * lyxvc.C: add comment
7558
7559         * vc-backend.h:
7560         * vc-backend.C: call bv->reload() to avoid
7561           getStatus() check on MENURELOAD
7562
7563 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7564
7565         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7566         to an old format .dep file.
7567
7568 2003-03-07  Angus Leeming  <leeming@lyx.org>
7569
7570         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7571         when the LFUN_MOUSE_RELEASE should have been handled by
7572         inset->localDispatch.
7573
7574 2003-03-07  Angus Leeming  <leeming@lyx.org>
7575
7576         * BufferView_pimpl.C (dispatch):
7577         * LyXAction.C (init):
7578         * ToolbarDefaults.C (init):
7579         * commandtags.h:
7580         * lyxfunc.C (getStatus):
7581         remove LFUN_INSET_GRAPHICS.
7582
7583         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7584
7585 2003-03-07  Angus Leeming  <leeming@lyx.org>
7586
7587         * commandtags.h:
7588         * LyXAction.C (init):
7589         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7590
7591         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7592
7593         * commandtags.h:
7594         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7595
7596         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7597         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7598
7599 2003-03-07  Angus Leeming  <leeming@lyx.org>
7600
7601         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7602         remove "ert".
7603
7604 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * ParagraphList.C (front): new function
7607         (back): implement
7608
7609 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7612         and top_row_offset_. removed var first_y.
7613         * text.C (top_y):
7614         * text2.C (LyXText, removeRow):
7615         * text3.C:
7616         * BufferView_pimpl.C:
7617         use these methods instead of using first_y
7618
7619 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * text2.C (pasteSelection): adjust for checkPastePossible
7622
7623         * CutAndPaste.C: remove Paragraph * buf and replace with
7624         ParagraphList paragraphs.
7625         (DeleteBuffer): delete
7626         (cutSelection): change the tc type to textclass_type
7627         (copySelection): change the tc type to textclass_type
7628         (copySelection): adjust for ParagraphList
7629         (pasteSelection): change the tc type to textclass_type
7630         (pasteSelection): adjust for Paragraphlist
7631         (nrOfParagraphs): simplify for ParagraphList
7632         (checkPastePossible): simplify for ParagraphList
7633         (checkPastePossible): remove unused arg
7634
7635         * ParagraphList.C (insert): handle the case where there are no
7636         paragraphs yet.
7637
7638         * CutAndPaste.h: make CutAndPaste a namespace.
7639
7640         * text3.C (dispatch): adjust
7641
7642         * text.C (breakParagraph): add a ParagraphList as arg
7643
7644         * paragraph_funcs.C (breakParagraph): change to take a
7645         BufferParams and a ParagraphList as args.
7646         (breakParagraphConservative): ditto
7647         (mergeParagraph): ditto
7648         (TeXDeeper): add a ParagraphList arg
7649         (TeXEnvironment): ditto
7650         (TeXOnePar): ditto
7651
7652         * buffer.C (readLyXformat2): adjust
7653         (insertStringAsLines): adjust
7654         (latexParagraphs): adjust
7655
7656         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7657         (cutSelection): adjust
7658         (pasteSelection): adjust
7659
7660         * BufferView_pimpl.C (insertInset): adjust
7661
7662 2003-03-05  Angus Leeming  <leeming@lyx.org>
7663
7664         * commandtags.h:
7665         * LyXAction.C (init):
7666         * BufferView_pimpl.C (dispatch):
7667         * lyxfunc.C (getStatus):
7668         remove LFUN_CHILD_INSERT.
7669
7670         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7671
7672 2003-03-05  Angus Leeming  <leeming@lyx.org>
7673
7674         * commandtags.h:
7675         * LyXAction.C (init):
7676         * src/factory.C (createInset):
7677         * lyxfunc.C (getStatus):
7678         * text3.C (dispatch):
7679         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7680
7681         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7682
7683 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * ParagraphList.C (insert): handle insert right before end()
7686         (erase): fix cases where it can be first or last paragraph.
7687
7688 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7691         Paragraph::next and Paragraph::previous
7692         (TeXOnePar): ditto
7693
7694         * text.C (breakParagraph): adjust
7695
7696         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7697         BufferParams& as arg.
7698         (breakParagraph): use ParagraphList::insert
7699         (breakParagraphConservative): take a Buffer* instead of a
7700         BufferParams& as arg.
7701         (breakParagraphConservative): use ParagraphList::insert.
7702
7703         * buffer.C (insertStringAsLines): un-const it
7704         (insertStringAsLines): adjust
7705
7706         * ParagraphList.C (insert): new function
7707
7708         * CutAndPaste.C (pasteSelection): adjust
7709
7710         * text.C (backspace): adjust
7711
7712         * tabular.C (SetMultiColumn): adjust
7713
7714         * CutAndPaste.C (cutSelection): adjust
7715         (pasteSelection): adjust
7716
7717         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7718         Buffer const * as arg
7719
7720         * ParagraphList.C (erase): new function
7721         * paragraph_funcs.C (mergeParagraph): use it
7722         (mergeParagraph): make it take a Buffer* instead of a
7723         BufferParams* as arg
7724
7725         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7726         as arg
7727         (breakParagraphConservative): ditto
7728
7729         * paragraph.h: remove the breakParagraph friend
7730
7731         * paragraph.C (eraseIntern): new function
7732         (setChange): new function
7733
7734         * paragraph_funcs.C (mergeParagraph): make it take a
7735         ParagraphList::iterator instead of a Paragraph *, adjust
7736         accordingly.
7737
7738         * paragraph.h: move an #endif so that the change tracking stuff
7739         also works in the NO_NEXT case.
7740
7741 2003-03-04  Angus Leeming  <leeming@lyx.org>
7742
7743         * commandtags.h:
7744         * LyXAction.C: new LFUN_INSET_MODIFY.
7745
7746         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7747         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7748
7749 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * several files: ws changes only
7752
7753         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7754         (TeXEnvironment): ditto
7755         (TeXDeeper): ditto
7756
7757         * buffer.C (makeLaTeXFile): adjust
7758         (latexParagraphs): make it take ParagraphList::iterator as args
7759
7760 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * buffer.C (latexParagraphs): adjust
7763
7764         * paragraph.C (TeXOnePar): move function...
7765         (optArgInset): move function...
7766         (TeXEnvironment): move function...
7767         * paragraph_pimpl.C (TeXDeeper): move function...
7768         * paragraph_funcs.C: ...here
7769
7770         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7771
7772 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * buffer.C (readInset): remove compability code for old Figure and
7775         InsetInfo insets
7776
7777 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * buffer.C: ws changes
7780         (readInset):
7781
7782         * BufferView_pimpl.C: ditto
7783         * author.C: ditto
7784         * buffer.h: ditto
7785         * bufferlist.h: ditto
7786         * changes.h: ditto
7787         * lyxfunc.C: ditto
7788
7789 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7790
7791         * converter.[Ch]: split into itself +
7792         * graph.[Ch]
7793         * format.[Ch]
7794         * Makefile.am: += graph.[Ch] + format.[Ch]
7795         * MenuBackend.C
7796         * buffer.C
7797         * exporter.C
7798         * importer.C
7799         * lyx_main.C
7800         * lyxfunc.C
7801         * lyxrc.C: added #include "format.h"
7802
7803 2003-02-27  Angus Leeming  <leeming@lyx.org>
7804
7805         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7806           a label.
7807
7808         * factory.C (createInset): add "label" to the factory.
7809
7810         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7811           string and do no more.
7812
7813 2003-02-27  Angus Leeming  <leeming@lyx.org>
7814
7815         * commandtags.h:
7816         * LyXAction.C (init):
7817         * factory.C (createInset):
7818         * BufferView_pimpl.C (dispatch):
7819           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7820
7821         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7822
7823         * lyxfunc.C (dispatch):
7824         * text3.C (dispatch): pass name to params2string.
7825
7826 2003-02-26  Angus Leeming  <leeming@lyx.org>
7827
7828         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7829           blocks together.
7830           Rearrange the ~includes. Strip out the unnecessary ones.
7831
7832         * factory.C (createInset): reformat.
7833           create new insets for the various LFUN_XYZ_APPLY lfuns.
7834
7835 2003-02-26  John Levon  <levon@movementarian.org>
7836
7837         * lyxrow.h:
7838         * lyxrow.C: add isParStart,isParEnd helpers
7839
7840         * paragraph.h: make isInserted/DeletedText take refs
7841
7842         * paragraph_funcs.h:
7843         * paragraph_funcs.C: remove #if 0'd code
7844
7845         * lyxtext.h:
7846         * text3.C:
7847         * text2.C:
7848         * text.C: use lyxrow helpers above.
7849           Move draw and paint routines to RowPainter.
7850           Make several methods use refs not pointers.
7851           Make backgroundColor() const.
7852           Add markChangeInDraw(), isInInset().
7853           Merge changeRegionCase into changeCase.
7854           Make workWidth() shouldn't-happen code into an Assert.
7855
7856         * rowpainter.h:
7857         * rowpainter.C: new class for painting a row.
7858
7859         * vspace.h:
7860         * vspace.C: make inPixels take a ref
7861
7862 2003-02-26  Angus Leeming  <leeming@lyx.org>
7863
7864         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7865         LFUN_REF_APPLY.
7866
7867 2003-02-25  John Levon  <levon@movementarian.org>
7868
7869         * ispell.C: give the forked command a more accurate name
7870
7871 2003-02-22  John Levon  <levon@movementarian.org>
7872
7873         * toc.h:
7874         * toc.C: make TocItem store an id not a Paragraph *
7875           (bug #913)
7876
7877 2003-02-21  Angus Leeming  <leeming@lyx.org>
7878
7879         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7880           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7881           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7882           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7883           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7884           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7885
7886         * BufferView_pimpl.C (dispatch):
7887         * LyXAction.C (init):
7888         * factory.C (createInset):
7889         * lyxfunc.C (getStatus, dispatch):
7890         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7891
7892 2003-02-21  Angus Leeming  <leeming@lyx.org>
7893
7894         * BufferView_pimpl.C (MenuInsertLyXFile):
7895         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7896         * lyxfunc.C (menuNew, open, doImport):
7897           no longer pass a LyXView & to fileDlg.
7898
7899 2003-02-21  Angus Leeming  <leeming@lyx.org>
7900
7901         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7902         * LyXAction.C: change, BIBKEY to BIBITEM.
7903         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7904         Change InsetBibKey to InsetBibitem.
7905         Change BIBKEY_CODE to BIBITEM_CODE.
7906         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7907         * factory.C: replace insetbib.h with insetbibitem.h.
7908         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7909         * paragraph.C: replace insetbib.h with insetbibitem.h.
7910         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7911         Change bibkey() to bibitem().
7912         * text.C: remove insetbib.h.
7913         * text2.C: replace insetbib.h with insetbibitem.h.
7914         change bibkey() to bibitem().
7915         * text3.C: remove insetbib.h.
7916         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7917
7918 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7919
7920         * lyxrc.C (output): enclose user email in quotes (in case there are
7921         several words)
7922
7923 2003-02-18  John Levon  <levon@movementarian.org>
7924
7925         * buffer.h: add std::
7926
7927 2003-02-17  John Levon  <levon@movementarian.org>
7928
7929         * SpellBase.h:
7930         * ispell.h:
7931         * ispell.C:
7932         * pspell.h:
7933         * pspell.C: reworking. Especially in ispell, a large
7934           number of clean ups and bug fixes.
7935
7936         * lyxfunc.C: fix revert to behave sensibly
7937
7938 2003-02-17 André Pönitz <poenitz@gmx.net>
7939
7940         * LyXAction.C:
7941         * commandtags.h: new LFUN_INSERT_BIBKEY
7942
7943         * layout.h:
7944         * lyxlayout.C:
7945         * buffer.C:
7946         * factory.C:
7947         * text.C:
7948         * text2.C:
7949         * text3.C:
7950         * paragraph.[Ch]:
7951         * paragraph_func.C: remove special bibkey handling
7952
7953 2003-02-17  John Levon  <levon@movementarian.org>
7954
7955         * text.C (Delete): fix case where delete at the end of
7956           the very first paragraph would not merge the pars
7957
7958 2003-02-17  John Levon  <levon@movementarian.org>
7959
7960         * lyxrow.C: fix lastPrintablePos()
7961
7962 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7963
7964         * bufferparams.C (writeLaTeX): add a std:here
7965
7966         * buffer.C: and remove a using directive there
7967
7968 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7969
7970         * buffer.C (makeLaTeXFile): move the code that generates the
7971           preamble...
7972
7973         * bufferparams.C (writeLaTeX): ... in this new method
7974
7975         * LaTeXFeatures.C (getEncodingSet): make const
7976           (getLanguages): make const
7977
7978         * MenuBackend.C (binding): returns the binding associated to this
7979           action
7980           (add): sets the status of each item by calling getStatus. Adds
7981           some intelligence.
7982           (read): add support for OptSubMenu
7983           (expand): remove extra separator at the end of expanded menu
7984
7985 2003-02-15  John Levon  <levon@movementarian.org>
7986
7987         * BufferView.C:
7988         * BufferView_pimpl.C:
7989         * bufferlist.h:
7990         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7991           inset code that had no actual effect. Remove unneeded status
7992           code.
7993
7994 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7995
7996         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7997           in preamble
7998
7999 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8000
8001         * text.C (drawLengthMarker): also draw an arrow marker for
8002           symbolic lengths (medskip...)
8003
8004 2003-02-14  John Levon  <levon@movementarian.org>
8005
8006         * tabular.h:
8007         * tabular.C: better method names
8008
8009 2003-02-14  John Levon  <levon@movementarian.org>
8010
8011         * BufferView_pimpl.C:
8012         * bufferlist.C:
8013         * buffer.C:
8014         * converter.C:
8015         * lyx_cb.C:
8016         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8017           it's a more accurate name. Remove some pointless uses.
8018
8019 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8020
8021         * text2.C (LyXText): change order of initilizers to shut off
8022           warnings
8023
8024 2003-02-14  John Levon  <levon@movementarian.org>
8025
8026         * buffer.C: use ParIterator for getParFromID()
8027
8028         * paragraph.h:
8029         * paragraph.C:
8030         * paragraph_pimpl.h:
8031         * paragraph_pimpl.C: remove unused getParFromID()
8032
8033 2003-02-14  John Levon  <levon@movementarian.org>
8034
8035         * buffer.C: remove some very old #if 0'd parse code
8036
8037 2003-02-13  John Levon  <levon@movementarian.org>
8038
8039         * text.h:
8040         * text.C:
8041         * text2.C: move hfillExpansion(), numberOfSeparators(),
8042           rowLast(), rowLastPrintable(), numberofHfills(),
8043           numberOfLabelHfills() ...
8044
8045         * lyxrow.h:
8046         * lyxrow.C: ... to member functions here.
8047
8048         * paragraph.h:
8049         * paragraph.C:
8050         * lyxtext.h:
8051         * text.C: remove LyXText::beginningOfMainBody(), and call
8052           p->beginningOfMainBody() directly. Move the check for
8053           LABEL_MANUAL into the latter.
8054
8055         * text.h:
8056         * text.C:
8057         * text2.C:
8058         * vspace.C:
8059         * BufferView.h:
8060         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8061
8062         * text.h:
8063         * text.C:
8064         * text2.C:
8065         * text3.C:
8066         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8067           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8068
8069 2003-02-13  John Levon  <levon@movementarian.org>
8070
8071         * CutAndPaste.C: remove debug
8072
8073 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8074
8075         * paragraph.C (asString): remove two unused variables
8076
8077         * lyxtextclass.C (readTitleType):
8078           (Read):
8079           (LyXTextClass): handle new members titletype_ and titlename_
8080
8081         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8082
8083 2003-02-09  John Levon  <levon@movementarian.org>
8084
8085         * buffer.h:
8086         * buffer.C: replace hand-coded list with a map for the dep clean
8087
8088 2003-02-08  John Levon  <levon@movementarian.org>
8089
8090         * LaTeX.C: consolidate code into showRunMessage() helper
8091
8092 2003-02-08  John Levon  <levon@movementarian.org>
8093
8094         * lyxfind.C:
8095         * lyxtext.h:
8096         * text2.C:
8097         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8098           and pass the size in explicitly
8099
8100         * BufferView_pimpl.h:
8101         * BufferView_pimpl.C:
8102         * BufferView.h:
8103         * BufferView.C: add getCurrentChange()
8104
8105         * BufferView_pimpl.h:
8106         * BufferView_pimpl.C: handle change lfuns
8107
8108         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8109           for changes. Mark pasted paragraphs as new.
8110
8111         * support/lyxtime.h:
8112         * support/lyxtime.C:
8113         * DepTable.C: abstract time_t as lyx::time_type
8114
8115         * LColor.h:
8116         * LColor.C: add colours for new text, deleted text, changebars
8117
8118         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8119           package use "usenames" option.
8120
8121         * commandtags.h:
8122         * lyxfunc.C:
8123         * LyXAction.C: add change lfuns
8124
8125         * Makefile.am:
8126         * author.h:
8127         * author.C: author handling
8128
8129         * buffer.h:
8130         * buffer.C: add a per-buffer author list, with first entry as
8131           current author. Handle new .lyx tokens for change tracking. Output
8132           author list to .lyx file. Output dvipost stuff to .tex preamble.
8133           Bump lyx format to 222.
8134
8135         * bufferlist.h:
8136         * bufferlist.C: add setCurrentAuthor() to reset current author details
8137           in all buffers.
8138
8139         * bufferparams.h:
8140         * bufferparams.C: add param for tracking
8141
8142         * bufferview_funcs.C: output change info in minibuffer
8143
8144         * Makefile.am:
8145         * changes.h:
8146         * changes.C: add change-tracking structure
8147
8148         * debug.h:
8149         * debug.C: add CHANGES debug flag
8150
8151         * lyxfind.h:
8152         * lyxfind.C: add code for finding the next change piece
8153
8154         * lyxrc.h:
8155         * lyxrc.C: add user_name and user_email
8156
8157         * lyxrow.h:
8158         * lyxrow.C: add a metric for the top of the text line
8159
8160         * lyxtext.h:
8161         * text.C: implement accept/rejectChange()
8162
8163         * lyxtext.h:
8164         * text.C: paint changebars. Paint new/deleted text in the chosen
8165         colours. Strike through deleted text.
8166
8167         * paragraph.h:
8168         * paragraph.C:
8169         * paragraph_pimpl.h:
8170         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8171           in the current change to the insert functions. Rework erase to
8172           mark text as deleted, adding an eraseIntern() and a range-based
8173           erase(). Implement per-paragraph change lookup and
8174           accept/reject.
8175
8176         * paragraph_funcs.C: Fixup paste for change tracking.
8177
8178         * tabular.C: mark added row/columns as new.
8179
8180         * text.C: fix rowLast() to never return -1. Don't allow
8181           spellchecking of deleted text. Track transpose changes. Don't
8182           allow paragraph break or merge where appropriate.
8183
8184         * text2.C: leave cursor at end of selection after a cut.
8185
8186 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8187
8188         * text.C (getLengthMarkerHeight):
8189         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8190         visible on screen too.
8191
8192 2003-02-07  John Levon  <levon@movementarian.org>
8193
8194         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8195
8196 2003-02-05  Angus Leeming  <leeming@lyx.org>
8197
8198         * lyxserver.C (read_ready): revert my patch of 11 September last year
8199         as it sends PC cpu through the roof. Presumably this means that
8200         the lyxserver will no longer run on an Alpha...
8201
8202 2003-01-30  Angus Leeming  <leeming@lyx.org>
8203
8204         * factory.C (createInset): create an InsetCommandParam of type "index"
8205         and use it to 'do the right thing'.
8206
8207         * text2.C (getStringToIndex): ensure that cursor position is always
8208         reset to the reset_cursor position.
8209
8210 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8211
8212         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8213         disabled.
8214
8215 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8216
8217         * bufferview.C:
8218         * lyxcb.C:
8219         * lyxfunc.C: Output messages with identical spelling, punctuation,
8220         and spaces
8221
8222 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8223
8224         * MenuBackend.C (expandFormats): List only viewable export formats
8225         in "View" menu
8226
8227         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8228         message
8229
8230         * lyxfunc.C (getStatus): Make sure that formats other than
8231         "fax" can also be disabled
8232
8233 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8234
8235         * text3.C (dispatch): put the lfuns that insert insets in 3
8236         groups, and call doInsertInset with appropriate arguments.
8237         (doInsertInset): new function, that creates an inset and inserts
8238         it according to some boolean parameters.
8239
8240 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * buffer.C (readFile): remember to pass on 'par' when calling
8243         readFile recursively.
8244
8245 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8246
8247         * MenuBackend.C (expandFormats): add "..." to import formats.
8248
8249 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8250
8251         * paragraph.C (asString): Remove XForms RTL hacks.
8252
8253 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8254         * buffer.C: fix typo
8255
8256 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * Makefile.am (LIBS): delete var
8259         (lyx_LDADD): add @LIBS@ here instead.
8260
8261 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8262
8263         * Clarify the meaning of "wheel mouse jump"
8264
8265 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8266
8267         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8268         tabular in a float
8269
8270 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8271
8272         * importer.C (Loaders): do not preallocate 3 elements in the
8273         vector, since one ends up with 6 elements otherwise
8274
8275 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8276
8277         * DepTable.C (write): write the file name as last element of the
8278         .dep file (because it may contain spaces)
8279         (read): read info in the right order
8280
8281 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8282
8283         * paragraph_pimpl.C (simpleTeXBlanks):
8284         (simpleTeXSpecialChars):
8285         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8286
8287         * tabular.C (latex): add some missing case statements. Reindent.
8288
8289         * MenuBackend.C (expandToc): remove unused variable.
8290
8291 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8292
8293         * LColor.C:
8294         * LaTeX.C:
8295         * LyXAction.C:
8296         * MenuBackend.C:
8297         * buffer.C:
8298         * exporter.C:
8299         * lyxfunc.C:
8300         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8301         and the like.
8302
8303 2003-01-05  John Levon  <levon@movementarian.org>
8304
8305         * BufferView.h:
8306         * BufferView.C: add getEncoding()
8307
8308         * kbsequence.h:
8309         * kbsequence.C: do not store last keypress
8310
8311         * lyxfunc.h:
8312         * lyxfunc.C: store last keypress here instead. Pass encoding
8313           to getISOEncoded()
8314
8315 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8316
8317         * lyx_main.C (init): remove annoying error message when following
8318         symbolic links (bug #780)
8319
8320 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8321
8322         * text.C (insertChar):
8323         * lyxrc.C (getDescription): remove extra spaces
8324
8325 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * lyxrc.C (getDescription): remove extra spaces
8328
8329 2002-12-20  John Levon  <levon@movementarian.org>
8330
8331         * text3.C: hack fix for page up/down across tall rows
8332
8333 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8334
8335         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8336         not been invoked
8337
8338 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8339
8340         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8341         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8342         thesaurus is not compiled in
8343
8344 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8345
8346         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8347
8348 2002-12-16  Angus Leeming  <leeming@lyx.org>
8349
8350         * lyxrc.[Ch]:
8351         * lyx_main.C (init): remove override_x_deadkeys stuff.
8352
8353 2002-12-12  John Levon  <levon@movementarian.org>
8354
8355         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8356           insert. Only remove shift modifier under strict
8357           circumstances.
8358
8359 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * MenuBackend.C (expandToc): fix crash.
8362
8363 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * MenuBackend.C (expandToc): gettext on float names.
8366
8367 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8368
8369         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8370         implement bool empty() [bug 490]
8371
8372 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8375
8376 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * several files: ws changes
8379
8380 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * text2.C (setCounter): clean up a bit, use boost.format.
8383         (updateCounters): initialize par upon declaration.
8384
8385         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8386         if the layout exists. We do not just store the layout any more.
8387         (SwitchLayoutsBetweenClasses): use boost.format
8388
8389 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8390
8391         * converter.C (convert): if from and to files are the same, use a
8392         temporary files as intermediary
8393
8394 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8395
8396         * commandtags.h:
8397         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8398
8399 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8400
8401         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8402
8403 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * tabular.C (asciiPrintCell): use string(size, char) instead of
8406         explicit loop.
8407
8408         * sgml.C (openTag): fix order of arguments to string constructor
8409         (closeTag): ditto
8410
8411         * lyxfunc.C (dispatch): use boost.format
8412
8413         * lots of files: change "c" -> 'c'
8414
8415 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8416
8417         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8418
8419 2002-11-25  Angus Leeming  <leeming@lyx.org>
8420
8421         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8422
8423         * lyx_main.C (init): compile fix.
8424
8425 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * lyx_cb.C (start): boost.formatify
8428         do not include <iostream>
8429
8430         * lengthcommon.C: ws only
8431
8432         * boost-inst.C,BoostFormat.h: add more explict instantations
8433
8434 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8435
8436         * lots of files: handle USE_BOOST_FORMAT
8437
8438 2002-11-21  John Levon  <levon@movementarian.org>
8439
8440         * pspell.C: fix compile
8441
8442 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * lyxfunc.C (dispatch): use boost::format
8445         (open): ditto
8446         (doImport): ditto
8447
8448         * lyxfont.C (stateText): use boost::format
8449
8450         * lyx_main.C (LyX): use boost::format
8451         (init): ditto
8452         (queryUserLyXDir): ditto
8453         (readRcFile): ditto
8454         (parse_dbg): ditto
8455         (typedef boost::function): use the recommened syntax.
8456
8457         * importer.C (Import): use boost::format
8458
8459         * debug.C (showLevel): use boost::format
8460
8461         * converter.C (view): use boost::format
8462         (convert): ditto
8463         (move): ditto
8464         (scanLog): ditto
8465
8466         * bufferview_funcs.C (currentState): use boost::format
8467
8468         * bufferlist.C (emergencyWrite): use boost::format
8469
8470         * buffer.C (readLyXformat2): use boost::format
8471         (parseSingleLyXformat2Token): ditto
8472
8473         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8474
8475         * LaTeX.C (run): use boost::format
8476
8477         * Chktex.C (scanLogFile): use boost::format
8478
8479         * BufferView_pimpl.C (savePosition): use boost::format
8480         (restorePosition): ditto
8481         (MenuInsertLyXFile): ditto
8482
8483         * BoostFormat.h: help file for explicit instation.
8484
8485 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8486
8487         * tabular.C (latex): Support for block alignment in fixed width
8488         columns.
8489
8490 2002-11-17  John Levon  <levon@movementarian.org>
8491
8492         * BufferView_pimpl.C:
8493         * lyx_cb.C:
8494         * lyxfunc.C: split filedialog into open/save
8495
8496 2002-11-08  Juergen Vigna  <jug@sad.it>
8497
8498         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8499         by my last patch (hopefully).
8500
8501 2002-11-08  John Levon  <levon@movementarian.org>
8502
8503         * iterators.h:
8504         * iterators.C:
8505         * buffer.h:
8506         * buffer.C:
8507         * paragraph.h:
8508         * paragraph.C:
8509         * toc.h:
8510         * toc.C: ParConstIterator, and use it (from Lars)
8511
8512 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8513
8514         * lyxtextclass.[Ch]: revise and add doxygen comments
8515
8516 2002-11-07  John Levon  <levon@movementarian.org>
8517
8518         * text.C: fix progress value for spellchecker
8519
8520         * toc.C: fix navigate menu for insetwrap inside minipage
8521
8522         * paragraph_funcs.C: added FIXME for suspect code
8523
8524 2002-11-07  John Levon  <levon@movementarian.org>
8525
8526         * BufferView_pimpl.C: fix redrawing of insets
8527           on buffer switch
8528
8529 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8530
8531         * text2.C (updateCounters): fix bug 668
8532
8533 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8534
8535         * text3.C (dispatch): Do not make the buffer dirty when moving the
8536         cursor.
8537
8538 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * vc-backend.C: STRCONV
8541         (scanMaster): ditto
8542
8543         * text2.C (setCounter): STRCONV
8544
8545         * paragraph.C (asString): STRCONV
8546
8547         * lyxlength.C (asString): STRCONV
8548         (asLatexString): ditto
8549
8550         * lyxgluelength.C (asString): STRCONV
8551         (asLatexString): ditto
8552
8553         * lyxfunc.C (dispatch): STRCONV
8554         (open): ditto
8555
8556         * lyxfont.C (stateText): STRCONV
8557
8558         * importer.C (Import): STRCONV
8559
8560         * counters.C (labelItem): STRCONV
8561         (numberLabel): ditto
8562         (numberLabel): remove unused ostringstream o
8563
8564         * chset.C: STRCONV
8565         (loadFile): ditto
8566
8567         * bufferview_funcs.C (currentState): STRCONV
8568
8569         * buffer.C (readFile): STRCONV
8570         (asciiParagraph): ditto
8571         (makeLaTeXFile): ditto
8572
8573         * Spacing.C (writeEnvirBegin): STRCONV
8574
8575         * LaTeXFeatures.C (getLanguages): STRCONV
8576         (getPackages): ditto
8577         (getMacros): ditto
8578         (getBabelOptions): ditto
8579         (getTClassPreamble): ditto
8580         (getLyXSGMLEntities): ditto
8581         (getIncludedFiles): ditto
8582
8583         * LaTeX.C: STRCONV
8584         (run): ditto
8585         (scanAuxFile): ditto
8586         (deplog): ditto
8587
8588         * LString.h: add the STRCONV macros
8589
8590         * BufferView_pimpl.C (savePosition): STRCONV
8591         (restorePosition): ditto
8592         (MenuInsertLyXFile): ditto
8593
8594         * vc-backend.C (scanMaster): change from submatch[...] to
8595         submatch.str(...)
8596
8597         * funcrequest.C: include config.h
8598
8599         * factory.C: include config.h
8600
8601         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8602
8603         * box.C: include config.h
8604
8605         * LaTeX.C (scanAuxFile): change from submatch[...] to
8606         submatch.str(...)
8607         (deplog): ditto
8608
8609 2002-10-25  Angus Leeming  <leeming@lyx.org>
8610
8611         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8612
8613         * ispell.[Ch] (setError): new method.
8614         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8615         Use setError() insetead of goto END.
8616
8617         * lyx_cb.C (AutoSave): move out child process into new class
8618         AutoSaveBuffer.
8619
8620 2002-10-30  John Levon  <levon@movementarian.org>
8621
8622         * text3.C: make start appendix undoable
8623
8624 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * lyxlength.C (inPixels): Fix returned value.
8627
8628         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8629         environment.
8630
8631 2002-10-24  Angus Leeming  <leeming@lyx.org>
8632
8633         * lyxgluelength.h: no need to forward declare BufferParams
8634         or BufferView, so don't.
8635
8636 2002-10-21  John Levon  <levon@movementarian.org>
8637
8638         * BufferView.C: menuUndo ->undo, redo
8639
8640         * BufferView.h: document, remove dead, make some methods private
8641
8642         * paragraph_funcs.h:
8643         * paragraph_funcs.C:
8644         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8645
8646         * buffer.h:
8647         * buffer.C:
8648         * sgml.h:
8649         * sgml.C: move sgml open/close tag into sgml.C
8650
8651         * bufferview_funcs.h: unused prototype
8652
8653         * lyxfunc.h:
8654         * lyxfunc.C: remove unused
8655
8656         * lyxtext.h:
8657         * text.C: remove unused
8658
8659 2002-10-21  John Levon  <levon@movementarian.org>
8660
8661         * BufferView.h:
8662         * BufferView.C:
8663         * BufferView_pimpl.h:
8664         * BufferView_pimpl.C: fix mouse wheel handling based on
8665           patch from Darren Freeman
8666
8667 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8668
8669         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8670
8671 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8672
8673         * lyxlength.C (inPixels): Fix hanfling of negative length.
8674         Fix LyXLength::MU case.
8675
8676 2002-10-16  John Levon  <levon@movementarian.org>
8677
8678         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8679
8680 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * converter.C (view): add support for $$i (file name) and $$p
8683         (file path) for the viewer command. If $$i is not specified, then
8684         it is appended to the command (for compatibility with old syntax)
8685
8686 2002-10-14  Juergen Vigna  <jug@sad.it>
8687
8688         * undo_funcs.C (textHandleUndo): alter the order in which the
8689         new undopar is added to the LyXText, as we have to set first
8690         the right prev/next and then add it as otherwise the rebuild of
8691         LyXText is not correct. Also reset the cursor to the right paragraph,
8692         with this IMO we could remove the hack in "redoParagraphs()".
8693
8694 2002-10-09  Angus Leeming  <leeming@lyx.org>
8695
8696         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8697         to turn off an optimisation if a new inset is to be inserted.
8698
8699 2002-10-11 André Pönitz <poenitz@gmx.net>
8700
8701         * lyxtext.h: make some functions public to allow access
8702         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8703
8704 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * text3.C (dispatch): when changing layout, avoid an infinite loop
8707         [bug #652]
8708
8709 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8710
8711         * lyxrc.C (read): treat a viewer or converter command of "none" as
8712         if it were empty.
8713
8714         * MenuBackend.C (expandFormats): for an update, also allow the
8715         formats that are not viewable
8716
8717         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8718         script if it is newer than the lyxrc.defaults in user directory
8719
8720 2002-10-07 André Pönitz <poenitz@gmx.net>
8721
8722         * text.C: Vitaly Lipatov's small i18n fix
8723
8724 2002-09-25  Angus Leeming  <leeming@lyx.org>
8725
8726         * ispell.h: doxygen fix.
8727
8728 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8729
8730         * buffer.h (readFile): Add a new argument to the method, to allow
8731         reading of old-format templates.
8732
8733 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8734
8735         * toc.C (getTocList): Get TOC from InsetWrap.
8736
8737 2002-09-16  John Levon  <levon@movementarian.org>
8738
8739         * lyxfunc.C: check tabular for cut/copy too
8740
8741 2002-09-12  John Levon  <levon@movementarian.org>
8742
8743         * LyXAction.C: tidy
8744
8745         * factory.h:
8746         * factory.C: add header
8747
8748         * paragraph_funcs.h:
8749         * paragraph_funcs.C: cleanup
8750
8751 2002-09-11  John Levon  <levon@movementarian.org>
8752
8753         * PrinterParams.h: odd/even default to true
8754
8755 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8756
8757         * PrinterParams.h: update printer parameters for new xforms dialog
8758
8759 2002-09-11  Angus Leeming  <leeming@lyx.org>
8760
8761         * lyxserver.C (read_ready): re-write to make it more transparent
8762         and to make it work in coherent fashion under Tru64 Unix.
8763
8764 2002-09-11  André Pönitz <poenitz@gmx.net>
8765
8766         * commandtags.h:
8767         * LyXAction.C:
8768         * text3.C: implement LFUN_WORDSEL
8769
8770 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8771
8772         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8773         make floatlist_ a boost::shared_ptr<FloatList>
8774
8775         * lyxtextclass.C: include FloatList.h
8776         (LyXTextClass): initialize floatlist_
8777         (TextClassTags): add TC_NOFLOAT
8778         (Read): match "nofloat" to TC_NOFLOAT and use it.
8779         (readFloat): modify call to floatlist_
8780         (floats): ditto
8781         (floats): ditto
8782
8783         * FloatList.[Ch] (FloatList): remove commented out float
8784         initialization.
8785         (erase): new function
8786
8787 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8788
8789         * MenuBackend.C (expandToc): fix crash when there is no document
8790         open
8791
8792 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8793
8794         * many files: Add insetwrap.
8795
8796 2002-09-09  John Levon  <levon@movementarian.org>
8797
8798         * text2.C: remove confusing and awkward depth wraparound
8799
8800 2002-09-09  John Levon  <levon@movementarian.org>
8801
8802         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8803
8804         * buffer.h:
8805         * buffer.C: remove getIncludeonlyList()
8806
8807         * paragraph.C:
8808         * lyxfunc.C: remove headers
8809
8810 2002-09-09  Juergen Vigna  <jug@sad.it>
8811
8812         * text.C (getColumnNearX): fix form Michael this is most
8813         probably a cut&paste bug.
8814
8815 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8818
8819         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8820         references, ws changes.
8821
8822         * text2.C (init): update counters after init
8823         (insertParagraph): no need to set counter on idividual paragraphs.
8824         (setCounter): access the counters object in the textclass object
8825         on in the buffer object.
8826         (updateCounters): ditto
8827
8828         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8829         shared_ptr<Counters> to avoid loading counters.h in all
8830         compilation units.
8831         (LyXTextClass): initialize ctrs_
8832         (TextClassTags): add TC_COUNTER, and ...
8833         (Read): use it here.
8834         (CounterTags): new tags
8835         (readCounter): new function
8836         (counters): new funtion
8837         (defaultLayoutName): return a const reference
8838
8839         * counters.C (Counters): remove contructor
8840         (newCounter): remove a couple of unneeded statements.
8841         (newCounter): simplify a bit.
8842         (numberLabel): some small formatting changes.
8843
8844         * buffer.[Ch]: remove all traces of counters, move the Counters
8845         object to the LyXTextClass.
8846
8847 2002-09-06  Alain Castera  <castera@in2p3.fr>
8848
8849         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8850         package to set the horizontal alignment on fixed width columns.
8851
8852         * lyx_sty.C:
8853         * lyx_sty.h: added tabularnewline macro def.
8854
8855         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8856
8857 2002-09-06  John Levon  <levon@movementarian.org>
8858
8859         * LyXAction.C: tooltips for sub/superscript
8860
8861         * MenuBackend.C: a bit more verbose
8862
8863         * lyxfunc.C: tiny clean
8864
8865         * undo_funcs.C: document undo_frozen
8866
8867 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * counters.C (Counters): add missing algorithm counter.
8870
8871         * text2.C (setCounter): lookup the counter with layouts latexname
8872         instead of by section number.
8873         (setCounter): use a hackish way to lookup the correct enum
8874         counter.
8875         a float name->type change
8876         reset enum couners with counter name directly instead of depth value.
8877
8878         * counters.C (Counters): remove the push_backs, change to use the
8879         float type not the float name.
8880         (labelItem): remove unused string, float name->type change
8881
8882         * counters.h: don't include vector, loose the enums and sects vectors
8883
8884 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8885
8886         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8887         (Read): add float->TC_FLOAT to textclassTags
8888         (Read): and handle it in the switch
8889         (readFloat): new function
8890
8891         * FloatList.C (FloatList): comment out the hardcoded float
8892         definitions.
8893
8894         * lyxlayout.h: ws change.
8895
8896 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8899
8900 2002-09-03  Angus Leeming  <leeming@lyx.org>
8901
8902         * BufferView_pimpl.h: qualified name is not allowed in member
8903         declaration: WorkArea & Pimpl::workarea() const;
8904
8905         * factory.C: added using std::endl directive.
8906
8907         * text3.C: added using std::find and std::vector directives.
8908
8909 2002-08-29  André Pönitz <poenitz@gmx.net>
8910
8911         * lyxtext.h:
8912         * text2.C: remove unused member number_of_rows
8913
8914         * Makefile.am:
8915         * BufferView2.C: remove file, move contents to...
8916         * BufferView.C: ... here
8917
8918         * BufferView_pimpl.C:
8919         * factory.C: move more inset creation to factory
8920
8921         * vspace.C: avoid direct usage of LyXText, ws changes
8922
8923         * BufferView.[Ch]:
8924                 don't provide direct access to WorkArea, use two simple
8925                 acessors haveSelction() and workHeight() instead
8926
8927
8928 2002-08-29  John Levon  <levon@movementarian.org>
8929
8930         * BufferView_pimpl.C (dispatch): do not continue when
8931           no buffer
8932
8933 2002-08-28  André Pönitz <poenitz@gmx.net>
8934
8935         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8936
8937         * BufferView.h:
8938         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8939
8940 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8941
8942         * buffer.C: increment LYX_FORMAT to 221
8943
8944         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8945         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8946
8947         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8948
8949         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8950
8951 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * factory.C (createInset): use LyXTextClass::floats
8954
8955         * MenuBackend.C (expandFloatListInsert):
8956         (expandFloatInsert):
8957         (expandToc):
8958
8959         * text2.C (setCounter):
8960
8961         * LaTeXFeatures.C (useFloat):
8962         (getFloatDefinitions):
8963
8964         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8965
8966         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8967         floatlist_, with accessor floats().
8968
8969         * FloatList.h: remove global FloatList
8970
8971 2002-08-26  André Pönitz <poenitz@gmx.net>
8972
8973         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8974
8975         * BufferView.h:
8976         * BufferView2.C:
8977         * BufferView_pimpl.C:
8978         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8979
8980 2002-08-25  John Levon  <levon@movementarian.org>
8981
8982         * LyXAction.C: fix margin note description
8983
8984 2002-08-24  John Levon  <levon@movementarian.org>
8985
8986         * buffer.C:
8987         * bufferlist.C:
8988         * bufferview_funcs.C:
8989         * lyxfont.C:
8990         * undo_funcs.C: cleanups
8991
8992         * lyxfunc.C: disable CUT/COPY when no selection
8993
8994 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8995
8996         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8997         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8998
8999         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9000         Add backward compatibility to "mono", "gray" and "no".
9001
9002 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9003
9004         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9005         (and file_format >= 200).
9006
9007 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9010
9011 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9014
9015 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9016
9017         * BufferView_pimpl.C:
9018         * LyXAction.C:
9019         * buffer.C:
9020         * commandtags.h:
9021         * lyxfunc.C:
9022         * paragraph.[Ch]:
9023         * text2.C:
9024         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9025         inset and code to make it  work with the paragraph code. The inset
9026         can be anywhere in the paragraph, but will only do the expected
9027         thing in LaTeX if the layout file contains the parameter line
9028                         OptionalArgs    1
9029         (or more generally, a nonzero value) for that layout.
9030
9031 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9032
9033         * paragraph.h: remove the declaration of undefined counters class
9034         function.
9035
9036 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9037
9038         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9039         Dr. Richard Hawkins.
9040
9041 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * paragraph_funcs.h: remove some unneeded includes
9044
9045         * text.C (backspace): pasteParagraph now in global scipe
9046
9047         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9048         (pasteSelection): ditto
9049
9050         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9051         * paragraph_funcs.C (pasteParagraph): ... here
9052
9053 2002-08-20  André Pönitz <poenitz@gmx.net>
9054
9055         * commandtags.h: new LFUNs for swapping/copying table row/colums
9056
9057         * LyXAction.C:
9058         * lyxfunc.C: support for new lfuns
9059
9060 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * tabular.C:
9063         * buffer.[Ch]: remove NO_COMPABILITY stuff
9064
9065 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * boost.C (throw_exception): new file, with helper function for
9068         boost compiled without exceptions.
9069
9070         * paragraph.h:
9071         * lyxlength.C:
9072         * buffer.C:
9073         * ParameterStruct.h:
9074         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9075
9076         * bufferlist.C (emergencyWriteAll): use boost bind
9077
9078         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9079
9080         * text.C: include paragraph_funcs.h
9081         (breakParagraph): breakParagraph is now in global scope
9082
9083         * paragraph_funcs.[Ch]: new files
9084
9085         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9086         global scope
9087
9088         * buffer.C: include paragraph_funcs.h
9089         (insertStringAsLines): breakParagraph is now in global scope
9090
9091         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9092         paragraph_funcs.C
9093
9094         * CutAndPaste.C: include paragraph_funcs.h
9095         (cutSelection): breakParagraphConservative is now in global scope
9096         (pasteSelection): ditto
9097
9098         * buffer.h: declare oprator== and operator!= for
9099         Buffer::inset_iterator
9100
9101         * bufferlist.C (emergencyWrite): don't use fmt(...)
9102
9103         * text3.C: add using std::endl
9104
9105         * BufferView.C (moveCursorUpdate): remove default arg
9106
9107 2002-08-20  André Pönitz <poenitz@gmx.net>
9108
9109         * buffer.[Ch]: move inline functions to .C
9110
9111         * BufferView2.C:
9112         * BufferView_pimpl.C:
9113         * text.C:
9114         * buffer.[Ch]: use improved inset_iterator
9115
9116         * buffer.C:
9117         * paragraph.[Ch]: write one paragraph at a time
9118
9119 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9120
9121         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9122         style if style is not specified.
9123
9124 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * text2.C (setCounter): when searching for right label for a
9127         caption, make sure to recurse to parent insets (so that a caption
9128         in a minipage in a figure float works) (bug #568)
9129
9130 2002-08-20  André Pönitz <poenitz@gmx.net>
9131
9132         * text3.C: new file for LyXText::dispatch() and helpers
9133
9134         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9135
9136         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9137
9138 2002-08-19  André Pönitz <poenitz@gmx.net>
9139
9140         * lyxtext.h:
9141         * text.C: new LyXText::dispatch()
9142
9143         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9144
9145 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9146
9147         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9148
9149         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9150         Hebrew text.
9151
9152 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9153
9154         * Makefile.am: use $(variables) instead of @substitutions@
9155
9156 2002-08-15  André Pönitz <poenitz@gmx.net>
9157
9158         * lyxfunc.C:
9159         * BufferView_pimpl.C: streamlining mathed <-> outer world
9160         interaction
9161
9162         * commandtags.h:
9163         * LyXAction.C: remove unused LFUN_MATH
9164
9165 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9166
9167         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9168
9169 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9170
9171         * paragraph.C (Paragraph): reformat a bit
9172         (cutIntoMinibuffer): use builtin InsetList function instad of
9173         doing it manually.
9174         (getInset): ditto
9175
9176         * buffer.C: include boost/bind.hpp, add using std::for_each
9177         (writeFileAscii): use ParagraphList iterators
9178         (validate): use for_each for validate traversal of paragraphs
9179         (getBibkeyList): use ParagraphList iterators
9180         (resizeInsets): use for_each to resizeInsetsLyXText for all
9181         paragraphs.
9182         (getParFromID): use ParagraphList iterators
9183
9184         * BufferView2.C (lockInset): use paragraph list and iterators
9185
9186 2002-08-14  John Levon  <levon@movementarian.org>
9187
9188         * lyxserver.C: remove spurious xforms include
9189
9190 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9191
9192         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9193
9194 2002-08-13  André Pönitz <poenitz@gmx.net>
9195
9196         * LyXAction.[Ch]:
9197         * lyxfunc.C: further cleaning
9198
9199 2002-08-13  André Pönitz <poenitz@gmx.net>
9200
9201         * funcrequest.h: new constructor
9202
9203         * funcrequest.C: move stuff here from .h
9204
9205         * Makefile.am:
9206         * BufferView_pimpl.C:
9207         * LyXAction.C:
9208         * toc.C:
9209         * lyxfunc.C: subsequent changes
9210
9211         * lyxfunc.h: new view() member function
9212
9213         * lyxfunc.C: subsequent changes
9214
9215 2002-08-13  Angus Leeming  <leeming@lyx.org>
9216
9217         * BufferView2.C:
9218         * BufferView_pimpl.C:
9219         * buffer.C:
9220         * converter.C:
9221         * importer.C:
9222         * lyxfunc.C:
9223         * lyxvc.C:
9224         * toc.C:
9225         * vc-backend.C:
9226         changes due to the changed LyXView interface that now returns references
9227         to member variables not pointers.
9228
9229 2002-08-13  Angus Leeming  <leeming@lyx.org>
9230
9231         * WordLangTuple (word, lang_code): return references to strings,
9232         not strings.
9233
9234         * BufferView.h:
9235         * SpellBase.h:
9236         * lyxtext.h: forward-declare WordLangTuple.
9237
9238         * BufferView2.C:
9239         * ispell.C:
9240         * pspell.C:
9241         * text.C: #include "WordLangTuple.h".
9242
9243         * lyxtext.h:
9244         * text.C: (selectNextWordToSpellcheck): constify return type.
9245
9246 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9247
9248         * buffer.C:
9249         * buffer.h:
9250         * lyxtext.h:
9251         * paragraph.C:
9252         * paragraph_pimpl.h:
9253         * text.C:
9254         * text2.C:
9255         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9256         suggested by Angus.
9257         Made updateCounter always count from start of buffer, and removed
9258         second argument (par).
9259         Reverted floats number display to '#'. Perhaps I'll try again when the
9260         code base is sanitized a bit.
9261
9262 2002-08-12  Angus Leeming  <leeming@lyx.org>
9263
9264         * buffer.[Ch] (getLabelList): constify.
9265
9266 2002-08-07  André Pönitz <poenitz@gmx.net>
9267
9268         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9269
9270         * funcrequest.h: extension to keep mouse (x,y) position
9271
9272 2002-08-12  Juergen Vigna  <jug@sad.it>
9273
9274         * BufferView2.C (insertErrors): forbid undo when inserting error
9275         insets.
9276
9277         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9278
9279 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * ParagraphList.[Ch]: new files
9282
9283         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9284
9285         * BufferView2.C (lockInset): ParagraphList changes
9286         * toc.C: ditto
9287         * text2.C: ditto
9288         * bufferlist.C: ditto
9289         * buffer.h: ditto
9290         * buffer.C: ditto
9291
9292 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9293
9294         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9295         unused class variable counter_,
9296
9297         * paragraph.[Ch] (getFirstCounter): delete unused function
9298
9299         * counters.C: include LAssert.h
9300         (reset): add a new function with no arg, change other version to
9301         not have def. arg and to not allow empty arg.
9302
9303         * text2.C (setCounter): remove empty arg from call to Counters::reset
9304
9305 2002-08-11  John Levon  <levon@movementarian.org>
9306
9307         * Makefile.am: add WordLangTuple.h
9308
9309 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9312         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9313
9314         * insets/insettext.C: InsetList changes
9315
9316         * graphics/GraphicsSupport.C (operator()): InsetList changes
9317
9318         * toc.C (getTocList): InsetList changes
9319
9320         * paragraph_pimpl.[Ch]: InsetList changes
9321
9322         * paragraph.[Ch]: InsetList changes
9323
9324         * buffer.C (inset_iterator): InsetList changes
9325         (setParagraph): ditto
9326         * buffer.h (inset_iterator): ditto
9327         * iterators.C (operator++): ditto
9328         * iterators.h: ditto
9329
9330         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9331
9332         * InsetList.[Ch]: new files, most InsetList handling moved out of
9333         paragraph.C.
9334
9335         * BufferView2.C (removeAutoInsets): InsetList changes
9336         (lockInset): ditto
9337         (ChangeInsets): ditto
9338
9339 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * paragraph_pimpl.h (empty): new function
9342
9343         * paragraph.[Ch] (empty): new function
9344
9345         * other files: use the new Paragraph::empty function
9346
9347 2002-08-09  John Levon  <levon@movementarian.org>
9348
9349         * lyxtext.h: remove unused refresh_height
9350
9351 2002-08-09  John Levon  <levon@movementarian.org>
9352
9353         * Makefile.am:
9354         * sgml.h:
9355         * sgml.C:
9356         * buffer.C:
9357         * paragraph.h:
9358         * paragraph.C: move sgml char escaping out of paragraph
9359
9360         * paragraph.h:
9361         * paragraph.C: remove id setter
9362
9363         * buffer.C:
9364         * paragraph.C:
9365         * paragraph_pimpl.C: remove dead tex_code_break_column
9366
9367         * bufferview_funcs.C: small cleanup
9368
9369         * lyxfunc.C: remove dead proto
9370
9371         * lyxtext.h: make some stuff private. Remove some dead stuff.
9372
9373         * lyxgluelength.C: make as[LyX]String() readable
9374
9375 2002-08-08  John Levon  <levon@movementarian.org>
9376
9377         * LyXAction.h:
9378         * LyXAction.C:
9379         * MenuBackend.C:
9380         * ToolbarDefaults.C:
9381         * lyxfunc.C:
9382         * lyxrc.C:
9383         * toc.C: lyxaction cleanup
9384
9385 2002-08-08  John Levon  <levon@movementarian.org>
9386
9387         * BufferView2.C: small cleanup
9388
9389         * lyxfind.h:
9390         * lyxfind.C: move unnecessary header into the .C
9391
9392 2002-08-08  John Levon  <levon@movementarian.org>
9393
9394         * funcrequest.h: just tedious nonsense
9395
9396         * lyx_main.h:
9397         * lyx_main.C: cleanups
9398
9399         * buffer.C:
9400         * vspace.C: remove dead header lyx_main.h
9401
9402 2002-08-07  Angus Leeming  <leeming@lyx.org>
9403
9404         * Paragraph.[Ch]:
9405         * paragraph_pimpl.h:
9406         Forward declare class Counters in paragraph.h by moving the ctrs member
9407         variable into Paragraph::Pimpl.
9408         (counters): new method, returning a reference to pimpl_->ctrs.
9409
9410         * text2.C: ensuing changes.
9411
9412 2002-08-07  John Levon  <levon@movementarian.org>
9413
9414         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9415
9416         * BufferView_pimpl.C: announce X selection on double/triple
9417           click
9418
9419         * lyx_main.C: use correct bool in batch dispatch
9420
9421         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9422
9423 2002-08-07  André Pönitz <poenitz@gmx.net>
9424
9425         * funcrequest.h: new class to wrap a kb_action and its argument
9426
9427         * BufferView.[Ch]:
9428         * BufferView_pimpl[Ch]:
9429         * LaTeX.C:
9430         * LyXAction.[Ch]:
9431         * lyxfunc.[Ch]:
9432         * lyxrc.C: subsequent changes
9433
9434
9435 2002-08-07  John Levon  <levon@movementarian.org>
9436
9437         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9438           document options change.
9439
9440 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9441
9442         * counters.[Ch]
9443         * text2.C
9444         * paragraph.[Ch]
9445         * makefile.am: move counters functionality over from
9446         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9447
9448 2002-08-06  John Levon  <levon@movementarian.org>
9449
9450         * WordLangTuple.h: new file for word + language code tuple
9451
9452         * SpellBase.h:
9453         * pspell.h:
9454         * pspell.C:
9455         * ispell.h:
9456         * ispell.C:
9457         * lyxtext.h:
9458         * text.C:
9459         * text2.C:
9460         * BufferView.h:
9461         * BufferView2.C: use WordLangTuple
9462
9463         * layout.h:
9464         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9465
9466 2002-08-06  John Levon  <levon@movementarian.org>
9467
9468         * lyx_main.C: fix cmdline batch handling
9469
9470 2002-08-06  André Pönitz <poenitz@gmx.net>
9471
9472         * lyxrc.C: set default for show_banner to true
9473
9474 2002-08-06  John Levon  <levon@movementarian.org>
9475
9476         * pspell.C: fix a crash, and allow new aspell to work
9477
9478 2002-08-06  John Levon  <levon@movementarian.org>
9479
9480         * lyxfunc.C:
9481         * kbmap.C: small cleanup
9482
9483         * vspace.h:
9484         * vspace.C: add const
9485
9486 2002-08-05  John Levon  <levon@movementarian.org>
9487
9488         * LyXAction.C: back to tabular-insert
9489
9490 2002-08-04  John Levon  <levon@movementarian.org>
9491
9492         * BufferView.h:
9493         * BufferView.C: cosmetic change
9494
9495         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9496
9497         * bufferlist.C:
9498         * buffer.h:
9499         * buffer.C:
9500         * lyxcb.h:
9501         * lyxcb.C:
9502         * lyxserver.C:
9503         * lyxvc.C:
9504         * vc-backend.C:
9505         * BufferView2.C: purge all "Lyx" not "LyX" strings
9506
9507         * lyxcursor.h:
9508         * lyxcursor.C: attempt to add some documentation
9509
9510         * lyxfunc.C:
9511         * commandtags.h:
9512         * LyXAction.C:
9513         * ToolbarDefaults.C:
9514         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9515           merge with LFUN_TABULAR_INSERT
9516
9517         * Makefile.am:
9518         * SpellBase.h:
9519         * ispell.h:
9520         * ispell.C:
9521         * pspell.h:
9522         * pspell.C: split up i/pspell implementations into separate
9523           files, many cleanups
9524
9525         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9526
9527         * text2.C: some cleanup
9528
9529         * lyxfunc.C: don't check for isp_command == "none" any more, it
9530           didn't make any sense
9531
9532 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9533
9534         * counters.[Ch]
9535         * text2.C
9536         * paragraph.[Ch]
9537         * makefile.am: move counters functionality over
9538         from text2.C/paragraph.[Ch] to counters.[Ch], and
9539         make proper C++.
9540 2002-08-02  John Levon  <levon@movementarian.org>
9541
9542         * buffer.C: s/lyxconvert/lyx2lyx/
9543
9544 2002-08-02  Angus Leeming  <leeming@lyx.org>
9545
9546         * lyxlex.C: revert John's change as it breaks reading of the user
9547         preamble.
9548
9549 2002-08-02  Angus Leeming  <leeming@lyx.org>
9550
9551         * importer.C (Import):
9552         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9553         changes due to LyXView::view() now returning a boost::shared_ptr.
9554
9555 2002-08-02  John Levon  <levon@movementarian.org>
9556
9557         * lyxlex.C: small cleanup
9558
9559 2002-08-02  John Levon  <levon@movementarian.org>
9560
9561         * text2.C (status): small cleanup, no logic change
9562
9563 2002-08-01  John Levon  <levon@movementarian.org>
9564
9565         * buffer.h:
9566         * buffer.C (writeFile): don't output alerts, caller
9567           handles this
9568
9569         * bufferlist.C:
9570         * lyx_cb.C: from above
9571
9572         * lyxfunc.C: allow to open non-existent files
9573
9574 2002-07-31  John Levon  <levon@movementarian.org>
9575
9576         * lyxserver.C: don't let incidental errors get
9577           in the way (errno)
9578
9579 2002-07-30  John Levon  <levon@movementarian.org>
9580
9581         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9582
9583 2002-07-30  John Levon  <levon@movementarian.org>
9584
9585         * lyxserver.h:
9586         * lyxserver.C: remove I/O callback too
9587
9588 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9589
9590         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9591         log.
9592
9593 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9594
9595         * many files: strip,frontStrip -> trim,ltrim,rtrim
9596
9597 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9598
9599         * PrinterParams.h: remove extern containsOnly, and include
9600         support/lstrings.h instead.
9601
9602         * LaTeX.C (scanAuxFile): modify because of strip changes
9603         (deplog): ditto
9604         * buffer.C (makeLaTeXFile): ditto
9605         * bufferparams.C (writeFile): ditt
9606         * lyxfont.C (stateText): ditto
9607         * lyxserver.C (read_ready): ditto
9608         * vc-backend.C (scanMaster): ditto
9609
9610         * BufferView_pimpl.h: ws changes
9611
9612         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9613
9614 2002-07-26  André Pönitz <poenitz@gmx.net>
9615
9616         * kb_sequence.C: remove unnedred usings
9617
9618 2002-07-26  Juergen Vigna  <jug@sad.it>
9619
9620         * lyxfind.C (LyXReplace): we have to check better if the returned
9621         text is not of theLockingInset()->getLockingInset().
9622
9623 2002-07-25  Juergen Vigna  <jug@sad.it>
9624
9625         * lyxfind.C (LyXReplace): don't replace if we don't get the
9626         right LyXText.
9627
9628         * undo_funcs.C (createUndo): remove debugging code.
9629
9630 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9631
9632         * buffer.C (parseSingleLyXformat2Token): Use default placement
9633         when reading old floats.
9634
9635         * FloatList.C (FloatList): Change the default placement of figure
9636         and tables to "tbp".
9637
9638 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * MenuBackend.C: using std::max
9641
9642 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * MenuBackend.C (expandToc):
9645         (expandToc2): code moved from xforms menu frontend. It is now
9646         generic and TOCs are transparent to menu frontends.
9647
9648 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9649
9650         * toc.C (getTocList): protect against buf=0
9651
9652         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9653         Menu as first parameter. Now, this calls itself recursively to
9654         expand a whole tree (this will be useful for TOC handling)
9655         (expandFloatInsert): remove 'wide' version of floats
9656
9657         * MenuBackend.h (submenuname): returns the name of the submenu.
9658         (submenu): returns the submenu itself, provided it has been
9659         created by MenuBackend::expand
9660
9661 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9664         insets which have noFontChange == true. (bug #172)
9665
9666 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * BufferView_pimpl.C: add connection objects and use them...
9669         (Pimpl): here.
9670
9671 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * MenuBackend.C (expandLastfiles):
9674         (expandDocuments):
9675         (expandFormats):
9676         (expandFloatListInsert):
9677         (expandFloatInsert):
9678         (expand): split expand in parts
9679
9680 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * lyx_gui.C: use lyx_gui::exit()
9683
9684 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * LyXAction.C: show the failing pseudo action
9687
9688 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9689
9690         * buffer.C (readFile): Run the lyxconvert script in order to read
9691         old files.
9692
9693 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * LyXAction.C:
9696         * commandtags.h:
9697         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9698
9699 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9700
9701         * LyXAction.C:
9702         * commandtags.h:
9703         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9704
9705 2002-07-22  Herbert Voss  <voss@lyx.org>
9706
9707         * lengthcommon.C:
9708         * lyxlength.[Ch]: add support for the vertical lengths
9709
9710 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9711
9712         * toc.[Ch]: std:: fixes
9713
9714 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * lyxrc.C: do not include lyx_main.h
9717
9718         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9719         for layouts
9720
9721         * lyxrc.C:
9722         * encoding.C:
9723         * bufferlist.C:
9724         * BufferView2.C: include "lyxlex.h"
9725
9726         * tabular.h:
9727         * bufferparams.h: do not #include "lyxlex.h"
9728
9729         * lyxtextclasslist.C (Add): remove method
9730         (classlist): renamed to classlist_
9731
9732         * paragraph_pimpl.C:
9733         * paragraph.C:
9734         * text2.C:
9735         * CutAndPaste.C:
9736         * bufferview_funcs.C:
9737         * bufferlist.C:
9738         * text.C:
9739         * LaTeXFeatures.C:
9740         * buffer.C:
9741         * toc.C (getTocList): use BufferParams::getLyXTextClass
9742
9743         * toc.C (getTocList): use InsetFloat::addToToc
9744
9745         * toc.[Ch]: new files, containing helper functions to handle table
9746         of contents
9747
9748         * lyxfunc.C (dispatch): no need to remove spaces around command
9749         given as a string
9750         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9751         first command of the sequence; it is not very clever, but I do not
9752         have a better idea, actually
9753
9754         * LyXAction.C (LookupFunc): make sure to remove space at the
9755         beginning and end of the command
9756
9757 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * MenuBackend.C (getMenubar): new method: return the menubar of
9760         this menu set
9761         (read): treat differently reading of menu and menubar (in
9762         particular, the menubar has no name now)
9763         (Menu::menubar): remove
9764
9765         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9766         saving is finished
9767
9768 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9769
9770         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9771         a bibitem inset in a RTL paragraph.
9772
9773 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * paragraph_pimpl.C: constify
9776
9777         * BufferView_pimpl.C:
9778         * LaTeX.C:
9779         * lyxfunc.C: fix dispatch in a nicer way
9780
9781 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * lyxfunc.C (dispatch):
9784         * BufferView_pimpl.C:
9785         * BufferView_pimpl.h:
9786         * BufferView.C:
9787         * BufferView.h: rename Dispatch() to dispatch()
9788
9789         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9790
9791         * lyxlayout.C (Read): honor DependsOn tag
9792
9793         * lyxlayout.[Ch] (depends_on): new method
9794
9795         * version.C.in: update lyx_docversion
9796
9797         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9798
9799         * paragraph.C (validate): remove from here...
9800         * paragraph_pimpl.C (validate): ... and move here
9801         (isTextAt): make it const
9802
9803         * buffer.C (getLists): ws cleanup
9804
9805 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9806
9807         * language.C (read): Use iso8859-1 encoding in latex_lang
9808         (this prevents LyX from crashing when using iso10646-1 encoding).
9809
9810 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9811
9812         * text2.C (toggleInset): if cursor is inside an inset, close the
9813         inset and leave cursor _after_ it
9814
9815 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * lyxfunc.C: move minibuffer completion handling out of here
9818
9819 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * BufferView_pimpl.C:
9822         * LaTeX.C: fix dispatch calls
9823
9824 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9825
9826         * text.C (drawChars): Fix Arabic text rendering.
9827
9828 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * LyXAction.C:
9831         * commandtags.h:
9832         * lyxfunc.C: remove message-push/pop
9833
9834         * lyxserver.C:
9835         * lyxfunc.h:
9836         * lyxfunc.C: rationalise some code by removing verboseDispatch
9837           in favour of a bool argument to dispatch()
9838
9839 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * lyx_main.C (init): make sure to read symlinks as absolute paths
9842
9843 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9844
9845         * lyxfunc.h:
9846         * lyxfunc.C: no need for commandshortcut to be a member
9847
9848 2002-07-15  André Pönitz <poenitz@gmx.net>
9849
9850         * converter.C: add support for $$s (scripts from lib/scripts dir)
9851         * lyx_main.C: white space
9852
9853 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * bufferlist.C:
9856         * lyxrc.h:
9857         * lyxrc.C: remove second exit confirmation
9858
9859 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * BufferView.h:
9862         * BufferView.C:
9863         * BufferView2.C:
9864         * BufferView_pimpl.h:
9865         * BufferView_pimpl.C:
9866         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9867
9868 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * MenuBackend.C (expand): add numeric shortcuts to document menu
9871
9872         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9873
9874 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * lyxfont.C (setLyXFamily):
9877         (setLyXSeries):
9878         (setLyXShape):
9879         (setLyXSize):
9880         (setLyXMisc):
9881         (lyxRead):
9882         * debug.C (value):
9883         * buffer.C (asciiParagraph): use ascii_lowercase
9884
9885 2002-07-15  Mike Fabian  <mfabian@suse.de>
9886
9887         * lyxlex_pimpl.C (search_kw):
9888         * lyxlex.C (getLongString):
9889         * converter.h (operator<):
9890         * converter.C (operator<):
9891         * buffer.C (parseSingleLyXformat2Token):
9892         (asciiParagraph):
9893         * ToolbarDefaults.C (read):
9894         * MenuBackend.C (checkShortcuts):
9895         (read):
9896         * LColor.C (getFromGUIName):
9897         (getFromLyXName): use the compare_ascii_no_case instead of
9898         compare_no_case, because in turkish, 'i' is not the lowercase
9899         version of 'I', and thus turkish locale breaks parsing of tags.
9900
9901 2002-07-16  Angus Leeming  <leeming@lyx.org>
9902
9903         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9904         now takes a Buffer const & argument.
9905
9906 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * BufferView.C (resize): check there's a buffer to resize
9909
9910 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyxfunc.C: remove dead code
9913
9914         * lyxserver.h:
9915         * lyxserver.C: use lyx_guii::set_read_callback
9916
9917 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9920         an inset in a RTL paragraph.
9921
9922 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * lyxfunc.C: repaint after a font size update
9925
9926 2002-07-15  André Pönitz <poenitz@gmx.net>
9927
9928         * lyxlength.C: inBP should be able to return negative values
9929
9930 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * lyxfunc.C: use lyx_gui::update_fonts()
9933
9934 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * lyxfunc.C: use lyx_gui::update_color()
9937
9938 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9939
9940         * bufferlist.C:
9941         * lyxfunc.h:
9942         * lyxfunc.C:
9943         * lyxrc.h:
9944         * lyxrc.C: remove file->new asks for name option, and let
9945           buffer-new take an argument
9946
9947 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9948
9949         * BufferView_pimpl.C: remove unneeded extra repaint()
9950
9951 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9952
9953         * LyXAction.C: allow command-sequence with NoBuffer
9954
9955         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9956
9957 2002-07-10  Angus Leeming  <leeming@lyx.org>
9958
9959         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9960
9961 2002-07-09  Angus Leeming  <leeming@lyx.org>
9962
9963         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9964
9965 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * lengthcommon.h: whitespace
9968
9969         * lyxfunc.C: update scrollbar after goto paragraph
9970
9971         * lyxtext.h: factor out page break drawing, and fix it so
9972           page break/added space paints as selected nicely
9973
9974 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * BufferView_pimpl.C: add FIXMEs, clean up a little
9977
9978 2002-07-09  André Pönitz <poenitz@gmx.net>
9979
9980         * lyxfont.[Ch]: support for wasy symbols
9981
9982 2002-07-08  André Pönitz <poenitz@gmx.net>
9983
9984         * BufferView_pimpl.C: apply John's patch for #93.
9985
9986 2002-07-05  Angus Leeming  <leeming@lyx.org>
9987
9988         * BufferView_pimpl.C (buffer): generate previews if desired.
9989
9990         * LColor.h: add "preview" to the color enum.
9991
9992         * LColor.C (LColor): add a corresponding entry to the items array.
9993
9994         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9995         with this buffer.
9996
9997 2002-07-05  Angus Leeming  <leeming@lyx.org>
9998
9999         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10000         The body of the code is now in the method that is passed an ostream &
10001         rather than a file name.
10002         Pass an additional only_preamble parameter, useful for the forthcoming
10003         preview stuff.
10004
10005 2002-07-03  André Pönitz <poenitz@gmx.net>
10006
10007         * lyxfunc.C: simplify getStatus() a bit for math stuff
10008
10009 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10010
10011         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10012
10013 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * text.C (changeRegionCase): do not change case of all the
10016         document when region ends at paragraph end (bug #461)
10017
10018 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * paragraph.C (startTeXParParams):
10021         (endTeXParParams): add \protect when necessary
10022
10023 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10024
10025         * BufferView_pimpl.C (workAreaExpose): remove warning
10026
10027 2002-06-27  Angus Leeming  <leeming@lyx.org>
10028
10029         * Makefile.am: add lyxlayout_ptr_fwd.h.
10030
10031 2002-06-26  André Pönitz <poenitz@gmx.net>
10032
10033         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10034
10035 2002-06-25  Angus Leeming  <leeming@lyx.org>
10036
10037         * lyxfunc.C (dispatch): Comment out the call to
10038         grfx::GCache::changeDisplay. The method no longer exists now that the
10039         pixmap generation part of the graphics loader has been moved into
10040         InsetGraphics.
10041
10042 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10043
10044         * text2.C: layout as layout
10045
10046         * text.C: layout as layout
10047
10048         * tabular.C (OldFormatRead): layout as layout
10049
10050         * paragraph_pimpl.C (TeXDeeper): layout as layout
10051         (realizeFont): layout as layout
10052
10053         * paragraph.C (writeFile): layout as layout
10054         (validate): layout as layout
10055         (getFont): layout as layout
10056         (getLabelFont): layout as layout
10057         (getLayoutFont): layout as layout
10058         (breakParagraph): layout as layout
10059         (stripLeadingSpaces): layout as layout
10060         (getEndLabel): layout as layout
10061         (getMaxDepthAfter): layout as layout
10062         (applyLayout): layout as layout
10063         (TeXOnePar): layout as layout
10064         (simpleTeXOnePar): layout as layout
10065         (TeXEnvironment): layout as layout
10066         (layout): layout as layout
10067         (layout): layout as layout
10068
10069         * lyxtextclass.C (compare_name): new functor to work with
10070         shared_ptr, layout as layout
10071         (Read): layout as layout
10072         (hasLayout): layout as layout
10073         (operator): layout as layout
10074         (delete_layout): layout as layout
10075         (defaultLayout): layout as layout
10076
10077         * lyxlayout_ptr_fwd.h: new file
10078
10079         * lyxlayout.C (Read): layout as layout
10080
10081         * lyx_cb.C (MenuInsertLabel): layout as layout
10082
10083         * bufferlist.C (newFile): layout as layout
10084
10085         * buffer.C (readLyXformat2): layout as layout
10086         (parseSingleLyXformat2Token): layout as layout
10087         (insertStringAsLines): layout as layout
10088         (asciiParagraph): layout as layout
10089         (latexParagraphs): layout as layout
10090         (makeLinuxDocFile): layout as layout
10091         (simpleLinuxDocOnePar): layout as layout
10092         (makeDocBookFile): layout as layout
10093         (simpleDocBookOnePar): layout as layout
10094         (getLists): layout as layout
10095
10096         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10097
10098         * CutAndPaste.C (cutSelection): layout as layout
10099         (pasteSelection): layout as layout
10100         (SwitchLayoutsBetweenClasses): layout as layout
10101
10102         * BufferView_pimpl.C (Dispatch): layout as layout
10103         (smartQuote): layout as layout
10104
10105         * BufferView2.C (unlockInset): layout as layout
10106
10107 2002-06-24  André Pönitz <poenitz@gmx.net>
10108
10109         * lyxfunc.C: fix #487
10110
10111 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * lyxrc.h:
10114         * lyxrc.C:
10115         * lyxfunc.C: remove display_shortcuts, show_banner
10116
10117 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * Buffer_pimpl.C: oops, update on resize
10120
10121 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * buffer.C:
10124         * converter.C:
10125         * exporter.C:
10126         * lyxfunc.C:
10127         * BufferView.h:
10128         * BufferView.C: use repaint()
10129
10130         * BufferView_pimpl.h:
10131         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10132           as it's a clearer description. Remove superfluous
10133           redraws.
10134
10135 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * text.C: fix bug 488. Not ideal, but getting
10138           getWord() to work properly for the insets that
10139           matter is more difficult ...
10140
10141 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * BufferView_pimpl.C:
10144         * LyXAction.C:
10145         * commandtags.h:
10146         * lyxfunc.C: remove the six million index lyxfuncs to just
10147           one, and DTRT (bug 458)
10148
10149 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * BufferView.h:
10152         * BufferView.C:
10153         * BufferView_pimpl.h:
10154         * BufferView_pimpl.C: clean up resize() stuff,
10155           and unnecessary updateScreen()s
10156
10157 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * BufferView.h:
10160         * BufferView.C:
10161         * BufferView_pimpl.h:
10162         * BufferView_pimpl.C:
10163         * lyxfind.h:
10164         * lyxfind.C:
10165         * minibuffer.C: remove focus management of workarea,
10166           not needed. Use screen's greyOut()
10167
10168 2002-06-17  Herbert Voss  <voss@lyx.org>
10169
10170         * converter.C: (convert) do not post a message, when converting
10171         fails, let the calling function decide what to do in this case
10172
10173 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * lyxfunc.C: tidy up a little
10176
10177 2002-06-16    <alstrup@diku.dk>
10178
10179         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10180         Got rid of FORMS_H_LOCATION include. Now we are
10181         GUII.
10182
10183 2002-06-15  LyX Development team  <lyx@rilke>
10184
10185         * buffer.[Ch] (sgmlOpenTag):
10186         (sgmlCloseTag): Added support for avoiding pernicious mixed
10187         content. Return number of lines written.
10188
10189         (makeLinuxDocFile):
10190         (makeDocBookFile): Fixed calls to sgml*Tag.
10191         Simple white space clean.
10192
10193         (simpleDocBookOnePar): Simple white space clean.
10194
10195         * tabular.[Ch] (docBook): Renamed to docbook and got another
10196         argument to related with the pernicious mixed content.
10197
10198         (docbookRow): Fixed calls for docbook inset method.
10199
10200 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10201
10202         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10203         so it's X11 independent.
10204
10205         * kb*.[Ch]: ditto.
10206
10207         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10208
10209 2002-06-15  Lyx Development team  <lyx@electronia>
10210
10211         * intl.h: Renamed getTrans to getTransManager.
10212
10213 2002-06-14  Angus Leeming  <leeming@lyx.org>
10214
10215         * Makefile.am: nuke forgotten stl_string_fwd.h.
10216
10217 2002-06-12  Angus Leeming  <leeming@lyx.org>
10218
10219         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10220
10221 2002-06-13  Angus Leeming  <leeming@lyx.org>
10222
10223         * LaTeX.C:
10224         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10225
10226 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10227
10228         * kbmap.C (getiso): add support for cyrillic and greek
10229
10230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * BufferView.h:
10233         * BufferView.C:
10234         * BufferView_pimpl.h:
10235         * BufferView_pimpl.C: move bogus scrolling logic
10236           to xforms
10237
10238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfunc.C:
10241         * BufferView_pimpl.C: view->resize() change
10242
10243 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * BufferView_pimpl.C: topCursorVisible
10246           prototype change
10247
10248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * Makefile.am:
10251         * lyx_gui.h:
10252         * lyx_gui.C: move to frontends/
10253
10254         * main.C:
10255         * lyx_main.h:
10256         * lyx_main.C: changes from above
10257
10258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * intl.C:
10261         * intl.h:
10262         * kbmap.C:
10263         * kbsequence.C:
10264         * lyx_cb.C:
10265         * lyx_main.C: minor tidy
10266
10267 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * BufferView_pimpl.h:
10270         * BufferView_pimpl.C:
10271         * BufferView.h:
10272         * BufferView.C: make painter() const,
10273           remove dead code
10274
10275         * BufferView2.C: use screen() accessor
10276
10277         * lyx_main.h:
10278         * lyx_main.C: some minor cleanup
10279
10280 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * BufferView_pimpl.h:
10283         * BufferView_pimpl.C: remove enter/leaveView,
10284           use workHeight()
10285
10286 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * BufferView.h:
10289         * BufferView.C:
10290         * BufferView2.C:
10291         * BufferView_pimpl.h:
10292         * BufferView_pimpl.C: only construct screen once,
10293           rename
10294
10295         * lyxrc.C: remove pointless comment
10296
10297 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10298
10299         * BufferView.h:
10300         * BufferView.C: remove active() and belowMouse()
10301
10302         * BufferView_pimpl.h:
10303         * BufferView_pimpl.C: use workarea() not workarea_,
10304           and make it use a scoped_ptr instead
10305
10306 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10307
10308         * lyx_gui.C: add debug message on BadWindow
10309
10310 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * sp_spell.C: fdopen is not part of the C++ standard.
10313
10314         * paragraph.C (InsetIterator): use >= instead of ==
10315
10316 2002-06-07  Angus Leeming  <leeming@lyx.org>
10317
10318         Fixes needed to compile with Compaq cxx 6.5.
10319         * BufferView_pimpl.C:
10320         * DepTable.C:
10321         * buffer.C:
10322         * converter.C:
10323         * encoding.C:
10324         * lyx_gui.C:
10325         * lyx_main.C:
10326         * lyxtextclasslist.C:
10327         * minibuffer.C:
10328         * sp_spell.C:
10329         * tabular_funcs.C:
10330         * vc-backend.C:
10331         all c-library variables have been moved into namespace std. Wrap
10332         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10333
10334         * lyxlength.C:
10335         * tabular-old.C:
10336         * tabular.C:
10337         Add a using std::abs declaration.
10338
10339         * kbmap.h (modifier_pair):
10340         * paragraph.h (InsetTable, InsetList):
10341         * lyxfont.h (FontBits):
10342         type definition made public.
10343
10344         * bufferlist.C (emergencyWriteAll): the compiler complains that
10345         there is more than one possible lyx::class_fun template to choose from.
10346         I re-named the void specialisation as lyx::void_class_fun.
10347
10348         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10349
10350         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10351         the compiler is is unable to find tostr in write_attribute.
10352
10353 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * buffer.C (sgmlError): hide #warning
10356
10357 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * xtl/*: get rid of xtl, which is not in use anyway
10360
10361         * LyXAction.C (init):
10362         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10363         were unimplemented xtl experimentation
10364
10365 2002-06-04  André Pönitz <poenitz@gmx.net>
10366
10367         * lyxfunc.C: disable array operation on simple formulae
10368
10369 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * converter.C: constify a bit
10372
10373 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * lyx_gui.C: check xforms version correctly
10376
10377 2002-04-30  Herbert Voss  <voss@lyx.org>
10378
10379         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10380         "keep" option
10381
10382 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10385           attempt to register it with a VCS)
10386
10387 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * lyx_main.C (init): honor variables LYX_DIR_13x and
10390         LYX_USERDIR_13x
10391
10392 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * buffer.h:
10395         * buffer.C:
10396         * lyx_main.C: fix a crash on bad command line,
10397           and give a useful exit status on error
10398
10399         * lyxfunc.C (doImport): allow -i lyx to work
10400
10401 2002-03-30  André Pönitz <poenitz@gmx.net>
10402
10403         * lyxfunc.C: mathed font changes
10404
10405 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * LaTeX.C:
10408         * importer.h:
10409         * importer.C:
10410         * lyx_sty.h:
10411         * lyx_sty.C:
10412         * lyxlex.C:
10413         * lyxrow.h:
10414         * lyxtext.h:
10415         * paragraph.h:
10416         * paragraph.C:
10417         * texrow.h:
10418         * texrow.C:
10419         * text.C:
10420         * trans_mgr.h: srcdocs, and some minor cleanups
10421
10422 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10425         call getFont all the time)
10426
10427 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10428
10429         * switch from SigC signals to boost::signals
10430
10431 2002-05-29  André Pönitz <poenitz@gmx.net>
10432
10433         * paragraph_pimpl.C (getChar): don't call size() too often...
10434
10435 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * paragraph_pimpl.C (insertChar): do not try to update tables when
10438         appending (pos == size())
10439
10440         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10441         in order to reduce drastically the number of comparisons needed to
10442         parse a large document
10443
10444 2002-05-29  André Pönitz <poenitz@gmx.net>
10445
10446         * text.C:
10447         * text2.C:
10448         * lyxtextclass.C:
10449         * sp_pspell.h:
10450         * textclasslist.[Ch]:
10451         * sp_ispell.h: whitespace change
10452
10453 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10454
10455         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10456         lyxaction directly now.
10457
10458 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * trans.C:
10461         * lyxfont.C:
10462         * lyxvc.C: remove unused headers
10463
10464 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10465
10466         * Makefile.am:
10467         * buffer.h:
10468         * undostack.h:
10469         * undostack.C:
10470         * undo_funcs.h:
10471         * undo_funcs.C: some cleanups. Use shared_ptr
10472           and a template for the undo stacks.
10473
10474 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * BufferView_pimpl.h:
10477         * BufferView_pimpl.C:
10478         * kbmap.h:
10479         * kbmap.C:
10480         * kbsequence.h:
10481         * kbsequence.C:
10482         * lyxfunc.h:
10483         * lyxfunc.C:
10484         * text2.C: use key_state/mouse_state
10485
10486 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10487
10488         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10489         and LSubstring
10490
10491         * chset.C: change include order
10492         (loadFile): use boost regex and get rid of LRegex and LSubstring
10493
10494         * Makefile.am (BOOST_LIBS): new variable
10495         (lyx_LDADD): use it
10496
10497         * LaTeX.C: change include order.
10498         (scanAuxFile): use boost regex and get rid of LRegex and
10499         LSubstring
10500         (deplog): ditto
10501
10502 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * ColorHandler.h:
10505         * ColorHandler.C:
10506         * FontInfo.h:
10507         * FontInfo.C: moved to frontends/xforms/
10508
10509         * FontLoader.h:
10510         * FontLoader.C: moved into frontends for GUIIzation
10511
10512         * Makefile.am:
10513         * lyx_gui.C:
10514         * lyxfont.C:
10515         * lyxfunc.C: changes from above
10516
10517 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * LColor.C: remove spurious X include
10520
10521         * BufferView_pimpl.C:
10522         * Makefile.am:
10523         * font.h:
10524         * font.C:
10525         * text.C:
10526         * text2.C: move font metrics to frontends/
10527
10528 2002-05-24  Juergen Vigna  <jug@sad.it>
10529
10530         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10531         setting the undo_cursor.
10532
10533         * ParagraphParameters.h: include local includes first.
10534
10535 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView_pimpl.C:
10538         * BufferView_pimpl.h:
10539         * Makefile.am:
10540         * WorkArea.h:
10541         * WorkArea.C:
10542         * screen.C: move WorkArea into frontends/
10543
10544         * lyxscreen.h:
10545         * screen.C:
10546         * text.C:
10547         * BufferView.C:
10548         * BufferView2.C: move LyXScreen into frontends/
10549
10550         * lyxlookup.h:
10551         * lyxlookup.C:
10552         * lyx_gui.C: move lyxlookup into frontends/xforms/
10553
10554 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * BufferView2.C:
10557         * BufferView_pimpl.C:
10558         * FontLoader.C:
10559         * LyXView.h:
10560         * LyXView.C:
10561         * Makefile.am:
10562         * WorkArea.C:
10563         * XFormsView.h:
10564         * XFormsView.C:
10565         * buffer.C:
10566         * bufferlist.C:
10567         * bufferview_funcs.C:
10568         * converter.C:
10569         * importer.C:
10570         * lyx_cb.C:
10571         * lyx_gui.C:
10572         * lyx_main.C:
10573         * lyx_find.C:
10574         * lyxfunc.C:
10575         * lyxvc.C:
10576         * minibuffer.C:
10577         * text.C:
10578         * text2.C:
10579         * trans.C:
10580         * vc-backend.C: move LyX/XFormsView into frontends/
10581
10582 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * Makefile.am:
10585         * PainterBase.C:
10586         * PainterBase.h:
10587         * Painter.C:
10588         * Painter.h:
10589         * WorkArea.C:
10590         * WorkArea.h:
10591         * screen.C:
10592         * tabular.C:
10593         * text.C:
10594         * text2.C: move Painter to frontends/
10595
10596 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10597
10598         * buffer.C: comment out some some code that depend upon lyx_format
10599         < 220
10600
10601         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10602         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10603
10604         * buffer.h (NO_COMPABILITY): turn off compability
10605
10606         * ColorHandler.C: include scoped_array.hpp
10607
10608         * font.C: Use more specific smart_ptr header.
10609         * Painter.C: ditto
10610         * gettext.C: ditto
10611         * ShareContainer.h: ditto
10612         * lyx_main.h: ditto
10613         * kbmap.h: ditto
10614         * FontInfo.h: ditto
10615         * BufferView_pimpl.h: ditto
10616         * ColorHandler.h: ditto
10617
10618         * kbmap.C (defkey): change call to shared_ptr::reset
10619
10620 2002-05-21  Juergen Vigna  <jug@sad.it>
10621
10622         * buffer.C (insertErtContents): fix to insert ert asis if it is
10623         non empty. Skip it completely if it contains only whitespaces.
10624
10625 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * BufferView_pimpl.C:
10628         * BufferView2.C: clear selection on paste (bug 393)
10629
10630 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * DepTable.C: include ctime
10633
10634 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10637
10638 2002-05-14  Juergen Vigna  <jug@sad.it>
10639
10640         * text.C (breakParagraph): fixed function to honor the keepempty
10641         layout in the right maner and also to permit the right breaking
10642         algorithm on empty or non empyt keepempty paragraphs.
10643
10644         * paragraph.C (breakParagraph): we have to check also if the par
10645         is really empty (!size()) for isempty otherwise we do the wrong
10646         paragraph break.
10647
10648 2002-05-10  Juergen Vigna  <jug@sad.it>
10649
10650         * buffer.[Ch] : The following are only changes to the ert
10651         compatibility read reading old LaTeX layout and font stuff and
10652         convert it to ERTInsets.
10653
10654         * buffer.h: added isErtInset().
10655
10656         * buffer.C (struct ErtComp): add a fromlayout bool to check
10657         if we're inside a LaTeX layout.
10658         (isErtInset): new helper function.
10659         (insertErtContents): look for other ert insets before this one
10660         and insert the contents there, so that we don't have subsequent
10661         ERT insets with nothing between them. This way we create only one
10662         inset with multiple paragraphs. Also check if we don't insert only
10663         spaces ' ' as they are ignored anyway afterwards in the .tex file
10664         so if we have only spaces we will ignore this latex part in the
10665         new file.
10666         (parseSingleLyXformat2Token \\layout): better compatibility when
10667         reading layout-latex stuff.
10668         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10669         language tag.
10670         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10671         stuff after reading the inset only get the information back from
10672         the stack.
10673
10674 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10675
10676         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10677
10678         * LaTeXFeatures.C (getBabelOptions): New method.
10679
10680 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10681
10682         * BufferView_pimpl.C (Dispatch): work around missing argument for
10683         'layout'
10684
10685 2002-05-08  Juergen Vigna  <jug@sad.it>
10686
10687         * text.C (leftMargin): handle paragraph leftindent.
10688
10689         * paragraph.C (writeFile): write the new \\leftindent tag.
10690         (validate): handle leftindent code.
10691         (TeXEnvironment): handle paragraphleftindent code again.
10692
10693         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10694
10695         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10696         for paragrap_extra indent code and new token \\leftindent.
10697         (latexParagraphs): handle the leftindent as environment.
10698
10699         * ParameterStruct.h: added leftindent support.
10700
10701         * ParagraphParameters.C (leftIndent): added support functions for
10702         the paragraph left indent.
10703
10704         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10705         more appropriate.
10706
10707 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10708
10709         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10710         inside insetERT.
10711
10712         * text.C (computeBidiTables): No bidi in insetERT.
10713
10714         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10715         in RTL documents.
10716
10717 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * version.C.in: pre 5
10720
10721 2002-05-02  José Matos  <jamatos@fep.up.pt>
10722         * buffer.C (makeDocBookFile): white space changes, add newline to
10723         command styles.
10724         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10725
10726         * tabular.C (docBook): fix typo.
10727
10728 2002-05-03  Juergen Vigna  <jug@sad.it>
10729
10730         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10731         change in LyXText as we can not be sure it was not freed.
10732         (drawOneRow): remove unused code.
10733
10734         * text.C (drawInset): redo the calculation of the need_break_row as
10735         it could have a row which was already freed.
10736         (draw): look at the return value of drawInset and return false if
10737         it also returned false.
10738         (paintRowText): look at the return value of draw and return false if
10739         it also returned false.
10740
10741         * lyxtext.h: added bool return type to drawInset() and draw() so that
10742         if we have a change in the row so that the rowbreak has to be redone
10743         we abort drawing as it will be called again.
10744
10745 2002-05-02  Juergen Vigna  <jug@sad.it>
10746
10747         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10748         a change in the maintext also if we're inside an inset.
10749         (Dispatch): set the cursor again after a break line and after the
10750         screen has been updated as it could be we're in a different row.
10751
10752         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10753         to set the cursor behind the pargraph with > size().
10754         (setCursor): check also for the same paragraph when checking where
10755         to put the cursor if we have a NFR inset.
10756
10757         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10758         parts of layout read further up as it still was in the wrong
10759         position.
10760
10761 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * screen.C (drawFromTo): change sine fullRebreak always return
10764         true.
10765
10766         * buffer.C (parseSingleLyXformat2Token): reindent some
10767
10768         * BufferView_pimpl.C (update): change since fullRebreak always
10769         return true.
10770         (Dispatch): git rid of the last hardcoded "Standard"s.
10771
10772 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10773
10774         * text2.[Ch] (fullRebreak): make it return void now that we always
10775         returned true.
10776
10777 2002-04-30  Juergen Vigna  <jug@sad.it>
10778
10779         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10780         ert compatibility check for "latex" layout.
10781
10782 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10783
10784         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10785         minipages: use col% instead of p%, and also use the current font.
10786         (makeLaTeXFile): Fix use babel condition.
10787         (parseSingleLyXformat2Token): Correct font when reading old floats.
10788
10789 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10792         inserting list of floats.
10793
10794 2002-04-25  Herbert Voss  <voss@lyx.org>
10795
10796         * MenuBackend.C (expand): don't add the graphics extensions to the
10797         export menu
10798
10799 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10802         non-existing layout, do not complain if it was the default layout
10803         of the original class (bug #342)
10804
10805 2002-04-24  Juergen Vigna  <jug@sad.it>
10806
10807         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10808         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10809
10810 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10811
10812         * buffer.C (getBibkeyList): If using \bibliography, return the
10813         option field with the reference itself. Enables us to provide natbib
10814         support when using \bibliography.
10815
10816 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10817
10818         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10819
10820         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10821         natbib is provided by the LaTeX class.
10822
10823 2002-04-23  Juergen Vigna  <jug@sad.it>
10824
10825         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10826         Wakeup functions.
10827
10828         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10829
10830 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10833
10834         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10835         ensuremath around textordmasculine, textordfeminine and
10836         textdegree.
10837
10838 2002-04-19  Juergen Vigna  <jug@sad.it>
10839
10840         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10841         reinitializing the buffer otherwise row-dimensions may be wrong.
10842         (update): reset also the selection cursors if they do exits otherwise
10843         their x/y positions may be wrong.
10844
10845         * text2.C (cursorDown): don't enter the inset if we came from a row
10846         above and are one row over the inset.
10847
10848         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10849         really leaving an inset.
10850
10851 2002-04-18  Juergen Vigna  <jug@sad.it>
10852
10853         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10854         of the selected paragraph does not have the selected layout also if
10855         the last one had!
10856
10857         * text2.C (setLayout): fixed bug which did not change last selected
10858         paragraph.
10859
10860         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10861         changed the read and substituted \\end_float with \\end_inset!
10862
10863         * BufferView_pimpl.C (cursorPrevious):
10864         (cursorNext): fixed to make it work with rows heigher than the work
10865         area without moving the cursor only the draw of the row.
10866         (workAreaMotionNotify): fix jumping over high rows.
10867
10868 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10871         Ressler.
10872
10873 2002-04-16  Juergen Vigna  <jug@sad.it>
10874
10875         * text2.C (setCursor): set also the irow().
10876         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10877         (cursorUp):
10878         (cursorDown): support for locking an inset if the x_fix value goes
10879         inside it. That way I can transverse insets too with cursor up/down.
10880
10881         * lyxrow.h: added irow helper function same as other (i) functions.
10882
10883         * BufferView_pimpl.C (cursorPrevious):
10884         (cursorNext): fixed for insets!
10885
10886 2002-04-15  Juergen Vigna  <jug@sad.it>
10887
10888         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10889         position otherwise it is wrong in some cases.
10890
10891         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10892         inside the inset before the call.
10893
10894 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10895
10896         * buffer.[Ch] (getBibkeyList): make it const.
10897
10898 2002-04-12  Juergen Vigna  <jug@sad.it>
10899
10900         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10901
10902         * text2.C (getCursorX): new helper function
10903         (setCursor): compute also ix_
10904         (setCursorFromCoordinates): set also ix.
10905
10906         * lyxcursor.h: added ix_ and helper functions.
10907
10908         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10909
10910         * buffer.C (insertStringAsLines): dont break paragraph if the this
10911         paragraph is inside an inset which does not permit it!
10912
10913         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10914         also with no chars on this paragraph.
10915         (paintRowText): only paint stuff if it's inside the workarea!
10916
10917         * paragraph.C (breakParagraph): honor keepempty flag and break the
10918         paragraph always below not above.
10919
10920         * BufferView2.C (unlockInset): update the paragraph layout on inset
10921         unlock as we changed paragraph in such a case.
10922
10923         * lyxfind.C (LyXFind): clear the former selection if not found!
10924
10925         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10926         again called in insertChar().
10927
10928         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10929         an inset which uses the whole row!
10930         (rightMargin): ditto.
10931         (insertChar): force a rebreak if we inserted an inset!
10932
10933 2002-03-28  Herbert Voss  <voss@lyx.org>
10934
10935         * lyxlength.[Ch]: add inBP() to get the right PS-point
10936         units (BigPoint). With inPixels we have rounding errors
10937
10938 2002-04-11  Juergen Vigna  <jug@sad.it>
10939
10940         * text2.C (setCursorFromCoordinates): set iy to the right value.
10941         (setCursor): add check if row->previous exists!
10942
10943         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10944         an old float_type as this was the case in the old code!
10945
10946         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10947
10948         * BufferView2.C (showLockedInsetCursor): use iy
10949         (fitLockedInsetCursor): ditto
10950
10951         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10952         locked insets as there we have the right value now.
10953
10954         * lyxcursor.C: added iy_ variable and iy functions to set to the
10955         baseline of cursor-y of the locked inset.
10956
10957         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10958         (setCursor): fixed for insets which need a full row.
10959
10960         * text.C (rowLastPrintable): don't ignore the last space when before
10961         an inset which needs a full row.
10962         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10963         as last character of a row when before a inset which needs a full row.
10964
10965 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * version.C.in: update date
10968
10969         * text2.C (fullRebreak): try to always return true and see what
10970         happens...
10971
10972 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * MenuBackend.C (expand): use Floating::listName
10975
10976         * FloatList.C (FloatList): add listName argument to the built-in
10977         floats
10978
10979         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10980         text associated with the float.
10981
10982 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10985
10986 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * ShareContainer.h: add a couple of missing typenames.
10989
10990 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10991
10992         * lyxrc.C (getDescription): use _() correctly rather than N_().
10993
10994 2002-03-28  Herbert Voss  <voss@lyx.org>
10995
10996         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10997         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10998
10999 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11002         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11003
11004 2002-03-29  Juergen Vigna  <jug@sad.it>
11005
11006         * lyxfunc.C (dispatch): add a missing fitCursor call.
11007
11008         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11009         it was scrolled by a cursor move, so return the bool status.
11010
11011         * BufferView.C (fitCursor): return the bool flag also to the outside
11012         world as this is needed.
11013
11014         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11015
11016         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11017         call the edit() as it is not needed (and wrong) IMO.
11018         (workAreaButtonPress): set the screen_first variable before evt.
11019         unlock the inset as this may change screen_first and then we have
11020         a wrong y position for the click!
11021
11022 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * MenuBackend.C (expand): another translation that I missed
11025
11026 2002-03-28  Juergen Vigna  <jug@sad.it>
11027
11028         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11029
11030         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11031
11032 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11035
11036         * MenuBackend.C (expand): fix export/view/update when there is no
11037         document open.
11038
11039 2002-03-27  Herbert Voss  <voss@lyx.org>
11040
11041         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11042         and text%
11043
11044 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11045
11046         * bufferview_funcs.C (currentState): only show paragraph number
11047         for is DEVEL_VERSION is set.
11048
11049         * lyxfunc.C (dispatch): put warning in INFO channel
11050
11051         * MenuBackend.C (expand): translate the name of floats
11052
11053         * FloatList.C (FloatList): mark the float names for translation
11054
11055         * converter.C (convert): use LibScriptSearch
11056
11057 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11058
11059         * MenuBackend.C (defaults): fix default menu (we might as well get
11060         rid of it...)
11061
11062 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11063
11064         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11065         directory.
11066
11067 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * lyxvc.C: reorder includes.
11070
11071 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11072
11073         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11074           properly
11075
11076 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * CutAndPaste.C: change layouts earlier on paste
11079           to avoid crashing when calling getFont()
11080
11081 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11082
11083         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11084         irritating #error.
11085
11086 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * WorkArea.C: remove 'Pending' debug message.
11089
11090         * most files: ws cleanup
11091
11092         * buffer.[Ch]: ws changes
11093
11094         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11095
11096 2002-03-21  Juergen Vigna  <jug@sad.it>
11097
11098         * tabular.C (SetMultiColumn): collapse also the contents of the
11099         cells and set the last border right. Added a Buffer const * param.
11100
11101 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11104         linking or not.
11105
11106 2002-03-19  Juergen Vigna  <jug@sad.it>
11107
11108         * text2.C (clearSelection): reset also xsel_cache.
11109
11110         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11111         where it needs to be called (John tells us to do so too :)
11112         (selectionLost): reset sel_cache.
11113
11114         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11115
11116 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * text2.C (setCursorIntern): put debuging code in INSETS channel
11119
11120 2002-03-19  André Pönitz <poenitz@gmx.net>
11121
11122         * lyxfunc.C: tiny whitespace change
11123
11124 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11125
11126         * ToolbarDefaults.C (init):
11127         * LyXAction.C (init):
11128         * commandtags.h:
11129         * BufferView_pimpl.C (Dispatch):
11130         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11131
11132 2002-03-19  Allan Rae  <rae@lyx.org>
11133
11134         * exporter.C (Export): removeAutoInsets before doing anything else.
11135         While I've just introduced a dependency on BufferView this really is
11136         the best place to clean the buffer otherwise you need to cleanup in
11137         a dozen places before calling export or cleanup in a dozen functions
11138         that export calls.
11139
11140         * converter.C (runLaTeX):
11141         (scanLog): Better handling of removeAutoInsets and screen updates.
11142
11143         * lyxfunc.C (dispatch): small whitespace changes
11144
11145 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11146
11147         * WorkArea.C (C_WorkAreaEvent): return a value.
11148         (event_cb): return 1 if we handled the event, 0 otherwise.
11149
11150         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11151
11152 2002-03-18  Juergen Vigna  <jug@sad.it>
11153
11154         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11155         (GetAdditionalWidth): ditto.
11156         (RightLine): ditto.
11157         (LeftLine): ditto.
11158
11159         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11160         inset if we're there actually (probably not used right now but this
11161         is the direction to go for unifying code).
11162         (paste): disable code to clear the selection.
11163
11164         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11165         inside an InsetText and move the check further up as it is in the
11166         wrong place.
11167
11168         * text2.C (pasteSelection): set a selection over the pasted text.
11169
11170 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11171
11172         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11173         and libgraphics to build on Cygwin.
11174
11175 2002-03-15  Juergen Vigna  <jug@sad.it>
11176
11177         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11178         inserting an Inset into the paragraph. I know this is not the best
11179         fix but we already use current_view in CutAndPaste so we will remove
11180         all of it's using at the same time.
11181
11182         * buffer.C (sgmlError): deactivated function till it is rewritten in
11183         the right mode, now it can create problems.
11184
11185         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11186         before accessing it.
11187
11188 2002-03-14  Juergen Vigna  <jug@sad.it>
11189
11190         * undo_funcs.C (textHandleUndo): do the right thing when updating
11191         the inset after the undo/redo.
11192
11193         * text2.C (setCursor): just some testcode for #44 not ready yet.
11194
11195         * undo_funcs.C (textHandleUndo): set the next() and previous()
11196         pointers of the paragraph to 0 before deleting otherwise we have
11197         problems with the Paragraph::[destructor].
11198
11199         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11200         on a paragraph insertion.
11201
11202 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * buffer.C (asciiParagraph): use += operator for char append to
11205         string.
11206
11207         * paragraph.C (getFontSettings): compare >= not just >
11208         (highestFontInRange): ditto
11209         (setFont): ditto
11210
11211 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * paragraph.C: change several algorithm to be more appripriate for
11214         the problem domain. This is lookip in FontList and in the InsetList.
11215
11216 2002-03-13  André Pönitz <poenitz@gmx.net>
11217
11218         * commandtags.h:
11219         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11220
11221 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * commandtags.h:
11224         * LyXAction.C:
11225         * lyxfunc.C:
11226         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11227
11228 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11229
11230         * Painter.C (display): anon helper function, adjust code for this
11231         change.
11232         (pixmap): remove function.
11233
11234         * Painter.h: remove private display variable.
11235
11236         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11237
11238 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11239
11240         * WorkArea.[Ch]: remove figinset_canvas cruft.
11241
11242 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * lyxtextclass.C (operator): add one item cache optimization.
11245
11246         * bufferlist.h: doxy changes
11247
11248         * bufferlist.C: ws changes
11249
11250         * DepTable.[Ch] (ext_exist): place const in the right spot.
11251
11252         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11253         call resizeInsets.
11254         (workAreaExpose): call resizeInsets when the with BufferView changes.
11255         (Dispatch): adjust for protectedBlank removal
11256         (specialChar): call updateInset if the insert went ok.
11257
11258         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11259         specialChar instead.
11260
11261         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11262
11263         * BufferView.h: doxy change
11264
11265         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11266
11267         * lyxtextclass.C (operator[]): remove non-const version
11268         (defaultLayout): remove non-const version
11269
11270 2002-03-12  Juergen Vigna  <jug@sad.it>
11271
11272         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11273         did resize the LyXText too.
11274
11275         * buffer.C (readLyXformat2): set layout information on newly allocated
11276         paragraphs.
11277
11278         * tabular.C (OldFormatRead): set layout information on the paragraph.
11279
11280 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11281
11282         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11283
11284 2002-03-11  Juergen Vigna  <jug@sad.it>
11285
11286         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11287         plainly wrong.
11288         (resizeCurrentBuffer): force also the insets to resize themselfes.
11289         (moveCursorUpdate): fixed up for InsetText.
11290
11291 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11292
11293         * commandtags.h:
11294         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11295         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11296         value of Dialogs::tooltipsEnabled().
11297         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11298
11299 2002-03-08  Juergen Vigna  <jug@sad.it>
11300
11301         * BufferView_pimpl.C (updateInset): update inset inside inset also
11302         if it isn't inside theLockingInset().
11303
11304 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * buffer.C (asciiParagraph): redo some of the word and line length
11307         handling.
11308         (getLists): look for Caption instead of caption.
11309
11310 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11311
11312         * buffer.C (Buffer): initialize niceFile to true
11313         (makeLaTeXFile):
11314         (makeLinuxDocFile):
11315         (makeDocBookFile): make sure niceFile is true on exit
11316
11317 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11320
11321 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11322
11323         * LyXSendto.C: remove.
11324         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11325         * lyx_gui.C: remove now-redundant comment.
11326         * ColorHandler.h: remove forward declaration of class WorkArea.
11327         * lyxfunc.C: remove #include "WorkArea.h".
11328
11329 2002-03-07  Juergen Vigna  <jug@sad.it>
11330
11331         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11332         got moved away with the DEPM and also set the inset_owner always
11333         right which before could have been omitted.
11334
11335 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11338         wanted layout is not found.
11339
11340 2002-03-07  Juergen Vigna  <jug@sad.it>
11341
11342         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11343
11344 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11345
11346         * paragraph.C (breakParagraph): use default layout not layout of
11347         prev paragraph.
11348         (Paragraph): clear ParagraphParameters.
11349
11350 2002-03-06  Juergen Vigna  <jug@sad.it>
11351
11352         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11353         otherwise it would not be a valid lenght. Fixed a special case in
11354         the minipage compatibility read where we end the document with a
11355         minipage.
11356
11357         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11358         was set as it could be 0 for InsetTexts first entry.
11359
11360 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * paragraph.C (writeFile): if layout is empty write out
11363         defaultLayoutName().
11364
11365         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11366         file without named layout we set layout to defaultLayoutName().
11367
11368 2002-03-06  Juergen Vigna  <jug@sad.it>
11369
11370         * CutAndPaste.C (copySelection): set layout for new paragraph.
11371
11372         * text.C (prepareToPrint): leave ERT inset left aligned
11373         (leftMargin): don't indent paragraphs inside ERT insets
11374
11375 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * paragraph.C (breakParagraph): dont call clear do the work manually
11378
11379         * paragraph.[Ch] (clear): remove function
11380
11381 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11382
11383         * paragraph.C (Paragraph): dont call clear, the work has already
11384         been done.
11385
11386         * lyxtextclass.C (operator): assert if n is empty
11387
11388         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11389         work manually instead.
11390
11391 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * BufferView_pimpl.C: protect selectionLost against text == 0
11394
11395 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * text.C (breakParagraph): fix a setting layout to '0' problem.
11398
11399 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11400
11401         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11402         final location of file, for the included files, and graphics.
11403
11404 2002-03-05  Juergen Vigna  <jug@sad.it>
11405
11406         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11407
11408 2002-03-04  Juergen Vigna  <jug@sad.it>
11409
11410         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11411
11412         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11413         last column of multicolumn cells.
11414         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11415
11416 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11417
11418         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11419         file if it doesn't go to a temporary file.
11420
11421         * buffer.C (sgmlOpenTag):
11422         (sgmlCloseTag):  remove extra newline insertion.
11423
11424 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * text.C (getRowNearY): comment out debug msg
11427
11428 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * text2.C: first -> first_y
11431
11432         * text.C (getRowNearY): add some attemts at a possible
11433         optimization, not working.
11434
11435         * tabular.[Ch]: add BufferParams to several function so that newly
11436         created paragraph can be initialized to he default layotu for the
11437         buffers textclass.
11438
11439         * tabular-old.C (ReadOld): add buf->params to call of Init
11440
11441         * screen.C: rename text->first to text->first_y
11442
11443         * paragraph.C (breakParagraph): always set layout in the broken
11444         paragraph
11445
11446         * lyxtextclass.C (Read): remove lowercase
11447         (hasLayout): ditto
11448         (operator): ditto
11449         (delete_layout): ditto
11450
11451         * lyxtext.h: rename first -> first_y
11452
11453         * lyxlayout.C (Read): remove lowercase
11454         (name): ditto
11455         (setName): ditto
11456         (obsoleted_by): ditto
11457
11458         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11459
11460         * buffer.C (insertErtContents): add params are to InsetERT
11461         (parseSingleLyXformat2Token): add code to check if a paragraphs
11462         layout really exist.
11463         (parseSingleLyXformat2Token): add params to several inset
11464         constructors
11465         (asciiParagraph): remove lowercase, do the layout comparisons with
11466         no_case
11467
11468         * BufferView_pimpl.C (cursorNext): first -> first_y
11469         (resizeCurrentBuffer): first -> first_y
11470         (updateScrollbar): first -> first_y
11471         (scrollCB): first -> first_y
11472         (workAreaMotionNotify): first -> first_y
11473         (workAreaButtonPress): first -> first_y
11474         (checkInsetHit): first -> first_y
11475         (cursorPrevious): first -> first_y
11476         (cursorNext): first -> first_y
11477         (Dispatch): add buffer_->params to severl inset contructors
11478
11479 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * lyxlayout.C (Read): remove some debug info that I forgot.
11482
11483         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11484         clean up the code slightly.
11485         (makeLinuxDocFile): ditto
11486         (makeDocBookFile): ditto
11487
11488         * text2.C: layout as string
11489
11490         * text.C: layout as string
11491
11492         * paragraph_pimpl.C: layout as string
11493
11494         * paragraph.[Ch]: layout as string
11495
11496         * lyxtextclasslist.[Ch]: layout as string
11497
11498         * lyxtextclass.[Ch]: layout as string
11499
11500         * lyxtext.h: layout as string
11501
11502         * lyxlayout.[Ch]: layout as string
11503
11504         * lyx_cb.C: layout as string
11505
11506         * bufferview_funcs.C: layout as string
11507
11508         * bufferparams.C: layout as string
11509
11510         * buffer.C: layout as string
11511
11512         * LyXView.[Ch]: layout as string
11513
11514         * LaTeXFeatures.[Ch]: layout as string
11515
11516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11517
11518         * BufferView_pimpl.C: change current_layout to string, remove
11519         lyx::layout_type.
11520         (Dispatch):
11521         (smartQuote):
11522         (insertInset):
11523         (workAreaButtonRelease): layout as string
11524
11525         * BufferView2.C (unlockInset): adjust
11526
11527         * vspace.C (asLatexCommand): use an explict temp variable.
11528
11529 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * Makefile.am: use FRONTEND_*
11532
11533 2002-03-01  Juergen Vigna  <jug@sad.it>
11534
11535         * tabular.C (SetWidthOfMulticolCell): changed to something better
11536         I hope but still work in progress.
11537         (recalculateMulticolumnsOfColumn): renamed function from
11538         recalculateMulticolCells as it is more appropriate now.
11539         (SetWidthOfCell): calculate multicols better.
11540
11541 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11542
11543         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11544
11545         * lyxfunc.C (processKeySym): print sequence also if it is
11546         `deleted' (complete)
11547
11548         * kbsequence.C (print): print sequence even if it is deleted
11549         (complete would be a better word, actually).
11550
11551         * lyxfunc.C (dispatch): print complete options after a prefix key
11552
11553         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11554
11555 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11556
11557         * text2.C (setCharFont): eliminate setCharFont code duplication.
11558
11559 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11562         LFUN_TABULAR_FEATURE (bug #177)
11563
11564 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11565
11566         * Makefile.am: remove figure.h
11567
11568 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11569
11570         * Bufferview_pimpl.C:
11571         * CutAndPasteC:
11572         * LaTeX.C:
11573         * LyXSendto.C:
11574         * buffer.C:
11575         * bufferlist.C:
11576         * converter.C:
11577         * language.C:
11578         * lyxfunc.C:
11579         * lyxvc.C:
11580         * paragraph.C:
11581         * text.C:
11582         * text2.C: remove #include "lyx_gui_misc.h".
11583
11584         * LaTeX.C: added #include <cstdio>
11585
11586 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11587
11588         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11589         that the paragraph following this one can have.
11590
11591         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11592
11593         * vspace.C (asLatexCommand): fix bogus gcc warning
11594
11595         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11596
11597 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11598
11599         * text2.C (setLayout): get rid of redundant code
11600
11601 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11602
11603         * text2.C (incDepth): make sure depth cannot be increased beyond
11604         reasonable values.
11605
11606 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11607
11608         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11609         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11610
11611         * PainterBase.h (image):
11612         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11613         a LyXImage const *.
11614
11615 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * BufferView.C:
11618         * BufferView.h:
11619         * BufferView_pimpl.C:
11620         * BufferView_pimpl.h:
11621         * LaTeXFeatures.C:
11622         * LyXAction.C:
11623         * LyXView.C:
11624         * Makefile.am:
11625         * UpdateList.h:
11626         * UpdateList.C:
11627         * buffer.C:
11628         * figure.h:
11629         * figureForm.C:
11630         * figureForm.h:
11631         * figure_form.C:
11632         * figure_form.h:
11633         * lyx_cb.C:
11634         * lyx_gui.C:
11635         * lyx_gui_misc.C:
11636         * lyxfunc.C:
11637         * sp_base.h:
11638         * sp_ispell.h:
11639         * sp_pspell.h:
11640         * sp_spell.C: remove fig inset, and the crap house of
11641           cards that follows it
11642
11643 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * Makefile.am:
11646         * lyxserver.C:
11647         * os2_defines.h:
11648         * os2_errortable.h:
11649         * nt_defines.h: move .h into support/
11650
11651         * vms_defines.h: remove
11652
11653         * WorkArea.C: add space in debug output
11654
11655         * text2.C:
11656         * paragraph.C:
11657         * buffer.C: add WITH_WARNINGS
11658
11659         * vc-backend.h:
11660         * vc-backend.C:
11661         * bufferlist.C: s/retrive/retrieve/, add docs
11662
11663         * vspace.h:
11664         * vspace.C:
11665         * kbmap.h:
11666         * lyxlength.h:
11667         * lyxgluelength.h:
11668         * length_common.h:
11669         * chset.h:
11670         * chset.C: add docs
11671
11672         * lyxgui.C: add ID to X error handler
11673
11674         * lyxtestclass.c: fix typo
11675
11676 2002-02-26  Juergen Vigna  <jug@sad.it>
11677
11678         * tabular_funcs.C (write_attribute): changed so that some default
11679         attributes are not written at all.
11680         (getTokenValue): set default values before trying to read the
11681         value so we have the return value always set as default if we don't
11682         find the token we search for.
11683
11684         * tabular.C (Write): write bools as bools not as strings!
11685
11686 2002-02-22  Juergen Vigna  <jug@sad.it>
11687
11688         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11689         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11690
11691         * text.C (leftMargin): don't add an indent for paragraphs inside
11692         tabular cells (fix #208).
11693
11694 2002-02-21  José Matos  <jamatos@fep.up.pt>
11695
11696         * tabular.C (docBook): fixed support for long tables.
11697
11698 2002-02-20  Juergen Vigna  <jug@sad.it>
11699
11700         * text2.C (getFont): get the drawing font of the Inset if this
11701         paragraph is inside an inset (only important for InsetERT for now).
11702
11703         * buffer.C (insertErtContents): use new lanugage params in ERT
11704         constructor.
11705
11706         * CutAndPaste.C: commenting out seemingly uneeded code.
11707
11708 2002-02-19  Allan Rae  <rae@lyx.org>
11709
11710         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11711         Iterators might be simple to use but they also get invalidated.
11712         (removeAutoInsets): renamed saved cursor tracking variables and added
11713         some comments to clarify what everything does.
11714
11715 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11716
11717         * Chktex.C:
11718         * LaTeX.C:
11719         * LyXSendto.C:
11720         * converter.C:
11721         * lyx_cb.C:
11722         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11723         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11724
11725         * lyxfunc.C:
11726         * vc-backend.h: remove #include "support/syscall.h"
11727
11728         * LaTeX.C:
11729         * LyXSendto.C:
11730         * converter.C: rearrange #includes in Lars' approved fashion.
11731
11732         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11733         forward declare class Timeout in the header file.
11734
11735         * XFormsView.C: changes due to the above.
11736
11737         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11738         similar to LyXView.
11739
11740         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11741         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11742
11743 2002-02-18  José Matos  <jamatos@fep.up.pt>
11744
11745         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11746         insets contents.
11747
11748 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11749
11750         * a lot of small ws changes
11751         * add a lot of using std::XXX
11752         * use std construcs some places where approp.
11753         * use some exisint stuff from lyxfunctional where approp.
11754         * Make file changes to use partial linking (lets test this now...)
11755
11756 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11757
11758         * Chktex.C:
11759         * buffer.C:
11760         remove #include "support/syscontr.h" as it's redundant. Always has been.
11761
11762         * Chktex.C:
11763         * LaTeX.C:
11764         * LyXSendto.C:
11765         * converter.C:
11766         * lyx_cb.C:
11767         * vc-backend.C:
11768         change Systemcalls::System to Systemcalls::Wait and
11769         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11770         No change of functionality, just reflects the stripped down Systemcalls
11771         class.
11772
11773 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11774
11775         * debug.[Ch]: add a GRAPHICS type to the enum.
11776
11777 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11780
11781         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11782         there is an inset.
11783
11784 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11787         match the changes below.
11788
11789         * text2.C (toggleInset): if there is not editable inset at cursor
11790         position, try to see if cursor is _inside_ a collapsable inset
11791         and close it.
11792
11793 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11796         document menu has a nice checkbox
11797
11798 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * lyxlength.C (asLatexString): change PW to output as percent of
11801         \textwidth.
11802
11803         * lengthcommon.C: change '%' to 't%'
11804
11805         * lyxfunc.C (dispatch): a few comments from Martin
11806
11807 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * WorkArea.h:
11810         * WorkArea.C:
11811         * BufferView_pimpl.h:
11812         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11813           the X selection.
11814
11815 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * vspace.C (inPixels): fix compiler warning
11818
11819 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * lyxfunc.C (getStatus): fix status message for disabled commands.
11822
11823 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * BufferView_pimpl.C: fix crash on close buffer
11826         during selection (#227)
11827
11828 2002-01-27  Herbert Voss  <voss@lyx.org>
11829
11830         * buffer.C: link old Figure to new graphic inset
11831
11832 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * FontLoader.C (getFontinfo): Change the latex font names in order
11835         to match the names of type1inst.
11836
11837 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11840
11841         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11842         (extchanged): ditto
11843         (ext_exist): ditto
11844         (remove_files_with_extension): ditto
11845         (remove_file): ditto
11846         (write): ditto
11847
11848         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11849         document is smaller than the work area height. Do not initialize
11850         static variables to 0.
11851
11852 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11855
11856         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11857         LFUN_LAYOUT_PARAGRAPHS.
11858
11859         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11860         tabular. It is possible to provide a possible cell, which will
11861         typically be the actcell from the corresponding insettabular
11862
11863         * lyxfunc.C (getStatus): small cleanup; disable
11864         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11865         true
11866
11867 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11870
11871         * paragraph.C (startTeXParParams):
11872         (endTeXParParams): new methods. The LaTeX code to
11873         start/end paragraph formatting
11874         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11875         empty (fixes bug #200)
11876
11877         * vspace.C (inPixels): adapt to the change below
11878         (inPixels): [later] more cleanups (remove unused variables)
11879
11880         * lyxlength.C (inPixels): change to use a width and a height as
11881         parameter.
11882
11883 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11884
11885         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11886         Replaced with \paperwidth
11887
11888         * DepTable.C (insert): add std:: qualifier
11889
11890 2002-01-18  Allan Rae  <rae@lyx.org>
11891
11892         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11893         updated also?
11894
11895         * text.C (drawInset): Turned out I didn't know enough about how
11896         rebreaking worked.  This fixes most of the redraw problems.  I see
11897         an occasional cursor trail when a line is broken now and the cursor
11898         placement can seem out by a few pixels also after a rebreak.
11899
11900 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * buffer.C (parseSingleLyXformat2Token): update because minipage
11903         width is now a LyXLength
11904
11905         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11906
11907         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11908         math insets
11909
11910 2002-01-17  Juergen Vigna  <jug@sad.it>
11911
11912         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11913
11914         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11915         is set correctly and the inset is updated correctly.
11916
11917 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11920         the beginning of the loop.
11921
11922 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * lyxrc.C: improve help for use_scalable_fonts
11925
11926 2002-01-17  Allan Rae  <rae@lyx.org>
11927
11928         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11929
11930 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11933         make sure to set their inset_owner to the right value (bug #171)
11934
11935 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11936
11937         * DepTable.h
11938         * DepTable.C: Implement mtime checking to reduce time spent doing
11939         CRCs.
11940
11941 2002-01-16  Juergen Vigna  <jug@sad.it>
11942
11943         * tabular.C (GetAdditionalHeight): one of error fixed.
11944
11945         * lyxrc.C (output): small fix in writing use_pspell.
11946
11947 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11948
11949         * sp_base.h: #include LString.h
11950
11951 2002-01-16  Allan Rae  <rae@lyx.org>
11952
11953         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11954         Can someone check this please?
11955
11956         * text.C (drawInset): It was possible that p.row would be removed by
11957         breakAgainOneRow upsetting a few other settings.  There may be another
11958         small tweak possible by setting need_break_row = 0 when p.row has been
11959         removed but I don't know enough about the logic here.
11960
11961 2002-01-15  Allan Rae  <rae@lyx.org>
11962
11963         * text.C (insertChar): removed conditional truism.
11964
11965         * BufferView2.C (removeAutoInsets): More tweaks.
11966         cur_par_prev could be a stray pointer.  Check for trailing empty line
11967         in case last line was cur_par and only had an error inset on it.
11968
11969 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11972         absolute
11973
11974         * vc-backend.C (most methods):
11975         * exporter.C (Export):
11976         * converter.C (convert):
11977         (runLaTeX):
11978         * LyXSendto.C (SendtoApplyCB):
11979         * lyxfunc.C (dispatch):
11980         (menuNew):
11981         (open):
11982         (doImport):
11983         * lyx_cb.C (AutoSave):
11984         (InsertAsciiFile):
11985         * BufferView_pimpl.C (MenuInsertLyXFile):
11986         * buffer.C (runChktex): use Buffer::filePath().
11987
11988         * buffer.h: rename filename to filename_; rename filepath to
11989         filepath_ and make it private
11990         (filePath): new method
11991
11992         * buffer.C (writeFile): use fileName()
11993         (getLatexName):
11994
11995         * lyx_main.C (init): fix starting  of LyX when the binary is a
11996         link from so,ewhere else.
11997
11998         * minibuffer.C: include <cctype> for isprint
11999
12000 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12001
12002         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12003         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12004         name clash with InsetCollapsable's width function.
12005
12006 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * lastfiles.C: include <iterator>
12009
12010 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12013         std::count.
12014
12015         * buffer.C (makeLaTeXFile): ditto.
12016         Also make loop operation more transparent.
12017
12018 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * ToolbarDefaults.C: remove trailing comma closing namespace.
12021
12022         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12023
12024         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12025         as in WorkArea.
12026
12027         * trans.C (Load): comment out unused variable, allowed.
12028
12029 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12030
12031         * minibuffer.[Ch] (append_char): new method to recieve input from the
12032         drop-down completion browser. If a key was pressed, then recieve this
12033         char and append it to the existing string.
12034         (peek_event): modify the positioning data passed to the completion
12035         browser so that it can be placed above the minibuffer rather than below.
12036 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * LyXAction.C (init): alloe error-next for readonly documents.
12039
12040         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12041         count.
12042
12043 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12044
12045         * bufferlist.C (readFile): create the buffer _after_ checking that
12046         the file exists.
12047
12048         * lyxfunc.C (verboseDispatch): fix handling of arguments
12049
12050         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12051
12052         * lyxrc.C: use string::erase() instead of initializing to "".
12053
12054
12055 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * BufferView_pimpl.h:
12058         * BufferView_pimpl.C:
12059         * WorkArea.h:
12060         * WorkArea.C:
12061         * text2.C: tell X when we have made a selection for copying
12062
12063 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * BufferView_pimpl.C (MenuInsertLyXFile):
12066         * lyxfunc.C (menuNew):
12067         (open):
12068         (doImport): add shortcuts to directory buttons
12069
12070         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12071         open a float)
12072
12073         * lyxfunc.C (setStatusMessage):
12074         (getStatusMessage): new methods
12075         (getStatus):use setStatusMessage instead of setErrorMessage
12076         (dispatch): when function is disabled, set error message here
12077         [instead of in getStatus previously]
12078
12079         * BufferView_pimpl.C (workAreaButtonRelease): update
12080         toolbar/menubar here too.
12081
12082 2002-01-13  Allan Rae  <rae@lyx.org>
12083
12084         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12085         Now seems indestructible.  Remaining task is to audit all other
12086         code affected by deleteEmptyParagraphMechanism.  One small quirk
12087         left is that an empty document with an error in the preamble can
12088         be made to report an error but no error box appears.  I don't know
12089         where it goes.
12090         (removeAutoInsets): Improved comments.
12091
12092 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * Thesaurus.h:
12095         * Thesaurus.C: update for Aiksaurus 0.14
12096
12097 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * text2.C (firstParagraph): removed member function, all uses
12100         replaces with ownerParagraph
12101         (redoParagraphs): here
12102         (updateInset): here
12103         (toggleAppendix): here
12104         * BufferView2.C (insertErrors): here
12105         (setCursorFromRow): here
12106
12107 2002-01-13  Allan Rae  <rae@lyx.org>
12108
12109         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12110         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12111         There is still a way to segfault this although you may have to do this
12112         multiple times: Have an InsetERT with an unknown command in it.
12113         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12114         <down-arrow>, <Enter> again, View->DVI, BANG!
12115
12116         * text2.C (setCursor):
12117         (deleteEmptyParagraphMechanism):
12118         * lyxtext.h (setCursor):
12119         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12120         Making use of the return value may help fix other bugs.
12121
12122 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12125
12126         * LyXView.C (updateMenubar): call MenuBar::update here
12127         (updateToolbar): but not here
12128         (showState): do not update toolbar/menubar
12129
12130         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12131         should need to care about that.
12132
12133         * lyxfunc.C (verboseDispatch): simplify a bit
12134         (getStatus): have a version which takes a pseudoaction, and
12135         another which requires a (kb_action,string).
12136
12137         * LyXAction.C (retrieveActionArg): make it work also when action
12138         is not a pseudo-action.
12139         (getActionName): simplify a bit
12140         (helpText):
12141
12142 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * lyxfunc.C (verboseDispatch): new families of methods with
12145         several ways to specify a command and a bool to indicate whether
12146         the command name and shortcut should be displayed in minibuffer
12147         (eventually, we could extend that to a finer bitmask like
12148         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12149         (dispatch): the pristine dispatch command which just, well,
12150         dispatchs! Note it still sets its result to minibuffer; I'm not
12151         sure we want that.
12152
12153         * lyxfunc.h: remove setHintMessage
12154
12155         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12156
12157 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * BufferView_pimpl.C (specialChar): delete new inset if we have
12160         not been able to insert it.
12161
12162         * kbmap.C: revert to using int instead of kb_action, since all we
12163         are dealing with is pseudo-actions.
12164
12165         * LyXAction.C (searchActionArg): change to return int instead of
12166         kb_action, since the result is a pseudoaction.
12167
12168 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * buffer.C (insertErtContents): Fix (partially) the font bug.
12171
12172 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12175         as the other one is broken on my machine!
12176
12177 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12178
12179         * commandtags.h:
12180         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12181
12182 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12185         reflect their actual use. Provide compatibility code for older lyxrc
12186         files.
12187
12188         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12189         FL_NORMAL_STYLE.
12190         change names of popup font variables in line with the changes to lyxrc.C
12191
12192 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * buffer.C (asciiParagraph): avoid outputing a word twice after
12195         an inset.
12196
12197         * lyxrc.C (getDescription): document that document_path and
12198         template_path can be empty.
12199
12200 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * LaTeXFeatures.C (getMacros):
12203         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12204
12205         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12206
12207         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12208         getPackages.
12209         (getPackages): rename feature "floats" to "float". Use an array to
12210         iterate over 'simple' features (i.e. just a \usepackage). Add
12211         handling of "amsmath" (renamed from "amsstyle").
12212
12213 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12214
12215         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12216         features list.
12217
12218 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12219
12220         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12221         FuncStaus::FuncStatus & FuncStaus::some_method().
12222
12223 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12224
12225         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12226         of the func_satus stuff. Edited and massaged in various ways by
12227         JMarc.
12228
12229         * lyxfunc.C (getStatus): use FuncStatus
12230
12231 2002-01-08  Juergen Vigna  <jug@sad.it>
12232
12233         * text.C (nextBreakPoint): use function Inset::isChar().
12234
12235         * paragraph.C (TeXOnePar): use function
12236         Inset::forceDefaultParagraphs.
12237
12238         * buffer.C (latexParagraphs): use function
12239         Inset::forceDefaultParagraphs.
12240
12241 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * lyx_gui.C (init): set the style of the menu popups to
12244         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12245
12246 2002-01-07  Juergen Vigna  <jug@sad.it>
12247
12248         * text.C (setHeightOfRow): small fix
12249         (prepareToPrint): don't look at alignment if we don't have the place
12250         for doing it.
12251
12252 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12253
12254         * box.C: New file. Move the Box methods and functions out of box.h,
12255         following Lars' suggestion.
12256
12257 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12258
12259         * box.h: #include "support/LOstream.h", needed for inlined function.
12260
12261         * lyxtextclass.C:
12262         * lyxtextclasslist.C: added some using std declarations.
12263
12264 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * box.h: make signed dimensions to allow insets wider than
12267           the screen (bug #162)
12268
12269         * BufferView_pimpl.C: add some insetHit debug
12270
12271 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * vc-backend.C: add FIXME
12274
12275 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12276
12277         * lyxfunc.C (getStatus): enable code for showing math font status
12278         in toolbar/menu.
12279
12280 2002-01-07  Juergen Vigna  <jug@sad.it>
12281
12282         * text.C (nextBreakPoint): removed debug output not needed anymore.
12283
12284 2002-01-06  Juergen Vigna  <jug@sad.it>
12285
12286         * text.C (nextBreakPoint): fixed up this function we had this bug
12287         since ever but now hopefully we break row better.
12288         (insertChar): we have to check if an inset is the next char as it
12289         could now happen that a large inset is causing a break.
12290
12291 2002-01-05  Juergen Vigna  <jug@sad.it>
12292
12293         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12294         if it doesn't like to be drawed.
12295
12296 2002-01-04  Juergen Vigna  <jug@sad.it>
12297
12298         * BufferView2.C (lockInset): forgot to set a cursor.
12299
12300         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12301
12302 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12303
12304         * FormMathsPanel.C:
12305         * FormMathsPanel.h
12306         * MathsSymbols.C:
12307         * form_maths_panel.C:
12308         * form_maths_panel.h:
12309         * form_maths_panel.fd: implemented sub- and super- buttons in math
12310         panel.
12311
12312         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12313         (or ^ space) to be used as in TeX (req'd by André).
12314
12315         * lyxfunc.C: Allow ^ and _ again to be used both as
12316         super/subscript (mathed) and as themselves (in text).
12317
12318 2002-01-03  Allan Rae  <rae@lyx.org>
12319
12320         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12321         "LyX" or the filename of the current buffer if it has one.  This is a
12322         modified form of John Levon's patch.
12323
12324         * XFormsView.C (setWindowTitle): also set icon title.
12325
12326         * LyXView.h (setWindowTitle): signature changed.
12327         * XFormsView.h (setWindowTitle): ditto.
12328
12329 2002-01-02  Juergen Vigna  <jug@sad.it>
12330
12331         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12332
12333 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12334
12335         * screen.C (topCursorVisible): introduce a temp var for
12336         text->cursor.row(), handle the case where this row is null. (kindo
12337         hachish)
12338
12339         * text2.C (setCursor): add a couple of asserts.
12340
12341         * paragraph.h (inset_iterator): add -> operator
12342
12343         * paragraph.[Ch] (autoDeleteInsets): remove member function
12344
12345         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12346         cursor pos correctly and handle inset deletion by itself.
12347         (insertErrors): move iterator declaration out of for expression
12348
12349         * lyxtextclass.C: add <algorithm>
12350
12351         * Makefile.am: added the new files to sources, removed layout.C
12352
12353         * layout.C: removed file
12354
12355         * layout.h: remove LYX_DUMMY_LAYOUT
12356
12357         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12358         layout.
12359
12360         * lyxlayout.[Ch]:
12361         * lyxtextclass.[Ch]:
12362         * lyxtextclasslist.[Ch]: new files
12363
12364         * include order changes to a lot of files, also changes because of
12365         the six new files.
12366
12367 2001-12-27  Juergen Vigna  <jug@sad.it>
12368
12369         * buffer.C (asciiParagraph): more fixes.
12370
12371         * tabular.C (ascii): make ascii export support export of only the
12372         data separated by a column-delimiter.
12373         (ascii): better support for ascii export.
12374
12375         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12376
12377 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12378
12379         * tabular_funcs.C: use a "using std::getline" instead of the
12380         previous fix from Angus (necessary for cxx + lyxstring)
12381
12382 2001-12-24  Juergen Vigna  <jug@sad.it>
12383
12384         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12385
12386         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12387         problems. First check a minipage also if we have some ert-contents
12388         (not only on par->size(), second set the right depth of the paragraph
12389         on the relink to the root-paragraph-list!
12390
12391         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12392         which then did not anymore update the main paragraphs on undo/redo!
12393
12394 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12395
12396         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12397         code. Support all font-changing funcs (even those which are not in
12398         menu currently). Support for reporting font settings in
12399         mathed (disabled until Andre provides a function on mathed's side).
12400
12401         * func_status.h (toggle): small helper function to set toggle
12402         state on a flag.
12403
12404 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * tabular_funcs.C: getline -> std::getline
12407
12408 2001-12-21  Juergen Vigna  <jug@sad.it>
12409
12410         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12411         accessed and could be 0 (I couldn't generate this but it seems
12412         Michael could!).
12413
12414 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12417         * tabular_funcs.h: here and include iosfwd
12418
12419 2001-12-20  Juergen Vigna  <jug@sad.it>
12420
12421         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12422         inside inset but undo_par was.
12423
12424 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12425
12426         * Thesaurus.C: always include <config.h> in sources.
12427
12428         * Painter.h:
12429         * lyxlookup.h:
12430         * box.h: do not include <config.h> in header files
12431
12432         * text.C (paintLastRow): remove unused variable
12433
12434         * text.C (transformChar):
12435         (insertChar):
12436         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12437
12438         * Painter.C (text):
12439         * font.C (width): rewrite to use uppercase() instead of
12440         islower/toupper.
12441
12442         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12443
12444 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * lyxfind.C: clean up of find failure position change
12447
12448 2001-12-20  Juergen Vigna  <jug@sad.it>
12449
12450         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12451
12452         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12453         (TeXRow): added to LaTeX a single tabular row.
12454         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12455         (Latex): simplified and finally good LT-h/f support.
12456         (various_functions): just small adaptions for LT-h/f support.
12457
12458         * tabular_funcs.[hC]: added and moved here all not classfunctions
12459         of LyXTabular.
12460
12461 2001-12-19  Juergen Vigna  <jug@sad.it>
12462
12463         * tabular.[Ch]: better support for longtabular options (not finished
12464         yet!)
12465
12466 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * text.C (paintLastRow): use the label font instead of the font of
12469         the last character to compute the size of *_BOX. This makes more
12470         sense and avoids a crash with empty paragraphs.
12471         Use Painter::rectangle to draw EMPTY_BOX.
12472
12473 2001-12-19  Juergen Vigna  <jug@sad.it>
12474
12475         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12476         the paragraphs if the replaced paragraph is not the first one!
12477         Tried to delete not used paragraphs but does not work yet so for
12478         now it's inside #ifdef's and by default off!
12479
12480 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * MenuBackend.C: include "lyx_main.h" instead of declaring
12483         lastfiles (actually was declared as LastFiles* instead of a
12484         scoped_ptr).
12485
12486 2001-12-17  Juergen Vigna  <jug@sad.it>
12487
12488         * tabular.C (AppendColumn): applied John's fix
12489
12490 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * BufferView.h:
12493         * BufferView.C:
12494         * BufferView_pimpl.h:
12495         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12496
12497         * Makefile.am:
12498         * box.h: new start of class for above
12499
12500         * lyxfunc.C: ignore space-only minibuffer dispatches.
12501           Show the command name when it doesn't exist
12502
12503         * minibuffer.C: don't add empty lines to the history
12504
12505         * minibuffer.C: add a space on dropdown completion
12506
12507 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * text.C: fix line above/below drawing in insets
12510
12511 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12512
12513         * lyxlength.C (LyXLength): Initialize private variables.
12514
12515 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12516
12517         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12518         when inserting error insets.
12519
12520 2001-12-13  Juergen Vigna  <jug@sad.it>
12521
12522         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12523         actually sometimes the before-paragraph.
12524         (setUndo): don't clear the redostack if we're not actually undoing!
12525
12526 2001-12-06  Juergen Vigna  <jug@sad.it>
12527
12528         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12529         and fixed redoing of main paragraph, so we can use it now ;)
12530
12531         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12532
12533 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12534
12535         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12536         Juergen's request
12537
12538 2001-12-13  André Pönitz <poenitz@gmx.net>
12539
12540         * undostack.[Ch]:
12541         * undo_func.C: minor cleanup
12542
12543 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12546         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12547         font in urw-fonts package which is marked as -urw-fontspecific and
12548         does not work (incidentally, changing the encoding in the
12549         fonts.dir of this package to -adobe-fontspecific fixes the
12550         problem).
12551
12552         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12553         is a crash when undoing first paragraph (Juergen, please take a
12554         look). THis does not mean the undo fix is wrong, just that it
12555         uncovers problems.
12556
12557         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12558         the (Paragraph*) version when needed instead of duplicating the
12559         code.
12560
12561         * text.C (workWidth): use Inset::parOwner to find out where the
12562         inset has been inserted. This is a huge performance gain for large
12563         documents with lots of insets. If Inset::parOwner is not set, fall
12564         back on the brute force method
12565
12566         * paragraph_pimpl.C (insertInset):
12567         * paragraph.C (Paragraph):
12568         (cutIntoMinibuffer): set parOwner of insets when
12569         inserting/removing them
12570
12571         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12572
12573 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12574
12575         * commandtags.h:
12576         * LyXAction.C:
12577         * lyx_main.C:
12578         * lyxfunc.C:
12579         * mathed/formulabase.C:
12580         * mathed/math_cursor.[Ch]:
12581         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12582
12583
12584 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * lyxlength.[Ch] (operator!=): new function
12587
12588 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12589
12590         * text.C (workWidth): use Inset::parOwner to find out where the
12591         inset has been inserted. This is a huge performance gain for large
12592         documents with lots of insets. If Inset::parOwner is not set, fall
12593         back on the brute force method
12594
12595         * paragraph_pimpl.C (insertInset):
12596         * paragraph.C (Paragraph):
12597         (cutIntoMinibuffer): set parOwner of insets when
12598         inserting/removing them
12599
12600         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12601
12602 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * tabular-old.C (getTokenValue):
12605         * tabular.C (getTokenValue):
12606         (write_attribute): new versions for LyXLength
12607         (everywhere): adjust the use of widths
12608
12609         * tabular.h: change the type of widths from string to LyXLength
12610
12611 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12612
12613         * paragraph.C: fixed missing line number count when exporting
12614         Environments to LaTeX file
12615
12616         * buffer.C: added informational message for checking line numbers.
12617
12618 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12621         paragraph, do the 'double space' part, but not the 'empty
12622         paragraph' one.
12623
12624         * text.C (workWidth): small optimization
12625         (getLengthMarkerHeight): use minimal size for negative lengths.
12626
12627 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12628
12629         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12630
12631         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12632
12633 2001-12-11  André Pönitz <poenitz@gmx.net>
12634
12635         * FontLoader.C:
12636         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12637
12638 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * text2.C: keep selection on a setFont()
12641
12642 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyx_cb.C: another bv->text misuse, from insert label
12645
12646 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * kbsequence.h:
12649         * kbsequence.C: re-instate nmodifier mask
12650
12651 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * lyx_main.h: make lyxGUI private.
12654
12655 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * lyxfind.C: place the cursor correctly on failed search
12658
12659 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12660
12661         * text.C (getLengthMarkerHeight): for small heights, the arrows
12662         are not always on top/bottom of the text
12663         (drawLengthMarker): smaller arrows; take the left margin in
12664         account; draw also vfills.
12665         (paintFirstRow):
12666         (paintLastRow): remove special code for vfill and standard spaces,
12667         since everything is handled in drawLengthMarker now.
12668
12669 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * buffer.C (insertErtContents): try to handle font and language
12672         interaction a bit better.g
12673
12674         * ColorHandler.C (updateColor): change the hash to cover the whole
12675         LColor enum, ws cleanup
12676         (getGCLinepars): ditto
12677         (getGCLinepars): only lookup in the linecache once.
12678
12679 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12680
12681         * iterators.C (operator++): Make the iterator more robust
12682
12683         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12684         (John's patch)
12685         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12686
12687 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * lyxtext.h:
12690         * text.C: better added space drawing
12691
12692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * LyXView.C:
12695         * BufferView2.C: fix layout combo update on inset unlock
12696
12697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * Makefile.am: don't compile unused files
12700
12701 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * lyxfunc.C:
12704         * commandtags.h:
12705         * LyXAction.C: remove old LFUN_LAYOUTNO
12706
12707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * paragraph_pimpl.h:
12710         * paragraph_pimpl.C: isTextAt() doesn't need font param
12711
12712 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * lyxlex.h:
12715         * lyxlex.C: little cleanup
12716
12717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * BufferView_pimpl.C: fix insertAscii for insets
12720
12721 2001-12-05  Juergen Vigna  <jug@sad.it>
12722
12723         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12724         set the right font on the "multi" paragraph paste!
12725
12726 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * trans_decl.h:
12729         * trans_mgr.[Ch]:
12730         * trans.[Ch]:
12731         * lyxgluelength.C:
12732         * lyxlength.C: remove out-commented code.
12733
12734         * BufferView_pimpl:
12735         * CutAndPaste.C:
12736         * DepTable.C:
12737         * buffer.C:
12738         * chset.C:
12739         * lastfiles.C:
12740         * lyxlex.C:
12741         * lyxlex_pimpl.C:
12742         * lyxserver.C:
12743         * screen.C:
12744         * tabular-old.C:
12745         * tabular.C:
12746         * text.C:
12747         * trans_mgr.C:
12748         * vc-backend.C: change "while(" to "while ("
12749
12750         * lyxlength.[Ch]: add zero function to check if length is zero or
12751         not
12752         * lyxgluelength.C: use it
12753
12754 2001-12-05  Allan Rae  <rae@lyx.org>
12755
12756         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12757         Works for 2.95.3, from what I understand of Garst's reports this should
12758         work for other g++ versions.  We're screwed if the abs(int) definition
12759         changed between bugfix releases of gcc.
12760
12761 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * text.C: fix chapter label offset !
12764
12765 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * lyxtext.h:
12768         * text.C: fix hfill at end of line, clean up
12769
12770 2001-12-04  Juergen Vigna  <jug@sad.it>
12771
12772         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12773         that we force an update of the inset and it's owners if neccessary.
12774
12775 2001-12-03  Juergen Vigna  <jug@sad.it>
12776
12777         * text.C (rowLast): simplified code
12778
12779 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * lyxfunc.C: fix show options on timeout
12782
12783 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * screen.C (topCursorVisible): scroll half a page when the cursor
12786         reached top of bottom of screen
12787
12788 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * minibuffer.C: deactivate on loss of focus
12791
12792 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * vspace.[Ch] (operator!=): add operator.
12795
12796 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12797
12798         * BufferView_pimpl.C: refuse to open an inset when
12799         there's a selection.
12800
12801 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * BufferView_pimpl.C: allow to click on RHS of full row insets
12804
12805 2001-11-30  Juergen Vigna  <jug@sad.it>
12806
12807         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12808         insets for undo reasons.
12809
12810 2001-11-28  André Pönitz <poenitz@gmx.net>
12811
12812         * vspace.[Ch]: cosmetical changes
12813
12814 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * LyXAction.h:
12817         * LyXAction.C:
12818         * lyxfunc.h:
12819         * lyxfunc.C:
12820         * kbmap.h:
12821         * kbmap.C:
12822         * lyxrc.C:
12823         * kbsequence.h:
12824         * kbsequence.C: part re-write of old kb code
12825
12826         * Painter.C:
12827         * WorkArea.C: remove Lgb_bug_find_hack
12828
12829 2001-11-30  José Matos <jamatos@fep.up.pt>
12830
12831         * buffer.C (makeDocBookFile): add a comment to point a hack.
12832         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12833         Fixed a double write of labels.
12834
12835 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12836
12837         * LaTeX.C:
12838         * LaTeX.h Fixed bug in LaTeX class where it would not
12839         re-run latex if no depfiles were changed, but the .dvi was removed.
12840
12841 2001-11-28  André Pönitz <poenitz@gmx.net>
12842
12843         * all the files from the change on 2001/11/26:
12844         use lyx::layout_type instead of LyXTextClass::size_type
12845         use lyx::textclass_type instead of LyXTextClassList::size_type
12846
12847 2001-11-29  Juergen Vigna  <jug@sad.it>
12848
12849         * text.C: added support for paragraph::isFreeSpacing()
12850
12851         * buffer.C: same as above
12852
12853         * paragraph.h: inserted isFreeSpacing() function to enable
12854         FreeSpacing inside InsetERT.
12855
12856         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12857         of the paragraph's in the cut/copy buffer to 0!
12858
12859         * text2.C (removeRow): remove the assert as it can!
12860
12861         * lyxtext.h: added helper function firstRow returning firstrow and
12862         made firstrow private again.
12863
12864         * BufferView2.C (lockInset): don't relock if we're already locked!
12865
12866         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12867         the only paragraph.
12868         (removeRow): added Assert::(firstrow)
12869
12870         * debug.C: forgot to add INSETTEXT here.
12871
12872 2001-11-28  Juergen Vigna  <jug@sad.it>
12873
12874         * sp_spell.C (initialize): changed error text to more general
12875         spellchecker command use (not only ispell!)
12876
12877         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12878
12879         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12880
12881 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * vspace.C: initialise lyxgluelength on failure
12884
12885 2001-11-28  Allan Rae  <rae@lyx.org>
12886
12887         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12888         declaration & definition that looks like a function declaration.
12889
12890 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * BufferView2.C (copy):
12893         (copyEnvironment): do not clear the selection when doing a copy.
12894
12895         * text.C (paintFirstRow): compilation fix
12896
12897 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12898
12899         * tabular.C (Latex): correct line count when writing latex.
12900
12901 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * paragraph_pimpl.h:
12904         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12905           bug a bit
12906
12907 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * text.C:
12910         * LColor.h:
12911         * LColor.C: change vfillline->added_space
12912
12913         * text.C: add markers and text for added space
12914
12915         * vspace.C: fix comment
12916
12917 2001-11-28  André Pönitz <poenitz@gmx.net>
12918
12919         * paragraph.C: whitespace changes
12920         * all the other files from the change on 2001/11/26:
12921         change *::pos_type into lyx::pos_type
12922
12923 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12926         language of the document when inserting error insets.
12927
12928 2001-11-26  André Pönitz <poenitz@gmx.net>
12929
12930         * BufferView_pimpl.[Ch]:
12931         *       CutAndPaste.C:
12932         * buffer.[Ch]:
12933         * lyxcursor.[Ch]:
12934         * lyxfind.C:
12935         * lyxfunc.C:
12936         * lyxrow.[Ch]:
12937         * paragraph.[Ch]:
12938         * paragraph_pimpl.[Ch]:
12939         * sp_spell.C:
12940         * text.C:
12941         * text2.C: reduce header dependencies, introduce type for positions
12942
12943 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * <various>: change to use Alert.h
12946
12947 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12950         when encountering an unknown token.
12951         (readLyXformat2): Show an error message if there were unknown tokens.
12952
12953 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * BufferView2.C:
12956         * BufferView_pimpl.C:
12957         * buffer.C:
12958         * paragraph.h:
12959         * text.C:
12960         * text2.C: use par->isInset()
12961
12962 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * paragraph_pimpl.h:
12965         * paragraph_pimpl.C: cleanup
12966
12967 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * text2.C (removeRow):
12970         * text.C (setHeightOfRow): remove useless (and costly) call to
12971         getRow.
12972
12973 2001-11-20  Allan Rae  <rae@lyx.org>
12974
12975         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12976         Now need Inset*::checkInsertChar() to return true for appropriate
12977         cases so that the characters in the minibuffer will actually be
12978         inserted.
12979
12980 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * text.C: change the order of the includes.
12983         (workWidth): initialize it at once.
12984         (workWidth): make maxw unsigned
12985         (setHeightOfRow): remove unused variable (inset)
12986         (selectSelectedWord): remove unused variable (inset)
12987         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12988
12989 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12992         server is not running.
12993         (openConnection):
12994         (closeConnection): add debug info when server is disabled.
12995
12996         * ColorHandler.C (getGCForeground): send debug message to GUI
12997         channel.
12998
12999         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13000
13001         * kbmap.C (bind): modify because return conventions of
13002         kb_sequence::parse have changed.
13003
13004         * kbsequence.C (parse): only ignore spaces and not any stupid
13005         control character. This avoids tests like s[i] <= ' ', which are
13006         guaranteed to fail with 8bit characters and signed chars.
13007         Change return code to string::npos when there have been no error
13008         (0 was a bad idea when error is at first character)
13009
13010 2001-11-14  José Matos  <jamatos@fep.up.pt>
13011
13012         * buffer.h:
13013         * buffer.C (simpleDocBookOnePar): removed unused argument.
13014
13015 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13018         insets which are part of a word. Paragraph::isLetter takes care of
13019         that now. Use Paragraph::isInset to identify insets.
13020         (selectSelectedWord): do not test for hyphenation break.
13021
13022         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13023         that protected spaces are considered as spaces.
13024
13025         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13026         Inset::isLetter.
13027
13028 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * lyxserver.h:
13031         * lyxserver.C: fix it. and small cleanup.
13032
13033 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * BufferView_pimpl.C: use inline helpers
13036
13037         * LaTeXFeatures.h:
13038         * LaTeXFeatures.C: fix typos
13039
13040         * Spacing.h:
13041         * Spacing.C: move spacing_string into class
13042
13043         * ToolbarDefaults.C: move stuff into namespace anon
13044
13045         * layout.h: update enum
13046
13047         * lyxfunc.C: use better debug
13048
13049         * minibuffer.h: fix typo
13050
13051         * debug.h:
13052         * debug.C:
13053         * WorkArea.C: add and use Debug::WORKAREA
13054
13055         * lyxtext.h:
13056         * text.C:
13057         * text2.C: code re-organisation, inline helpers
13058
13059 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13060
13061         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13062         std::vector.empty().
13063
13064 2001-11-09  Allan Rae  <rae@lyx.org>
13065
13066         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13067         '\n's after tables.  Tabular and ERT inset work now makes this no
13068         longer necessary.
13069
13070 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * minibuffer.h:
13073         * minibuffer.C: fix crash, improve drop-down completion
13074
13075 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * lyxserver.h:
13078         * lyxserver.C: invalidate fd's when doing endPipe()
13079
13080 2001-11-08  José Matos  <jamatos@fep.up.pt>
13081
13082         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13083         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13084
13085         * paragraph.h:
13086         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13087
13088 2001-11-07  José Matos  <jamatos@fep.up.pt>
13089
13090         * buffer.h:
13091         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13092         const qualifier.
13093
13094         * buffer.C (sgmlOpenTag):
13095         * buffer.C (sgmlCloseTag): removed debug info.
13096
13097         * buffer.h (sgmlOpenTag):
13098         * buffer.h (sgmlCloseTag): made public.
13099
13100 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * buffer.C (saveParamsAsDefaults):
13103         * lyx_cb.C (MenuLayoutSave): remove
13104
13105         * LyXAction.C (init):
13106         * commandtags.h:
13107         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13108
13109 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13110
13111         * buffer.C (setPaperStuff): removed from here...
13112
13113         * bufferparams.C (setPaperStuff): ... and moved there.
13114
13115 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13116
13117         * minibuffer.h:
13118         * minibuffer.C:
13119         * XFormsView.C: add support for drop-down completion
13120
13121 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13122
13123         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13124         commands.
13125
13126 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13127
13128         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13129         disabled.
13130
13131 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * lyx_main.C: change ref to known bugs
13134
13135 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13136
13137         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13138         to work around older babel problems.
13139
13140 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13141
13142         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13143
13144 2001-10-24  Juergen Vigna  <jug@sad.it>
13145
13146         * tabular-old.C (ReadOld): below variable changes reflected.
13147
13148         * tabular.[Ch]: added ltType struct for longtable header/footer
13149         defines and changed all instances where they are used. Added
13150         future support for double top/bottom rows.
13151
13152 2001-10-24  José Matos  <jamatos@fep.up.pt>
13153
13154         * buffer.h (docbookHandleCaption):
13155         * buffer.C (docbookHandleCaption): removed unused function.
13156         (makeDocBookFile): moved docbook supported version to v4.1.
13157
13158 2001-10-24  José Matos  <jamatos@fep.up.pt>
13159
13160         * tabular.h:
13161         * tabular.C (docbookRow): new function to export docbook code of a row.
13162         (DocBook): now honors the longtable flags.
13163
13164 2001-10-23  José Matos  <jamatos@fep.up.pt>
13165
13166         * LaTeXFeatures.h:
13167         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13168         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13169
13170         * buffer.C (makeLinuxDocFile):
13171         (makeDocBookFile): reworked the preamble, more clean, and with
13172         support for lyx defined entities. Changed the document declaration
13173         to be more XML friendly.
13174
13175         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13176         if we need to output XML that should be done with a filter.
13177
13178 2001-10-22  Juergen Vigna  <jug@sad.it>
13179
13180         * sp_pspell.h (class PSpell): add alive function needed in the
13181         controller to see if the spellchecker could be started.
13182
13183 2001-10-22  Juergen Vigna  <jug@sad.it>
13184
13185         * buffer.C (insertStringAsLines): modify the font for inserting
13186         chars in certain conditions by calling checkInsertChar(font).
13187
13188 2001-10-19  Juergen Vigna  <jug@sad.it>
13189
13190         * text.C (workWidth): use getRow instead of wrong algorithm.
13191         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13192
13193 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13194
13195         * lyxserver.h:
13196         * lyxserver.C:
13197         * lyx_main.h:
13198         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13199
13200 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * text.C (workWidth): do not search for the exact row when
13203         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13204         optimization for big documents.
13205
13206 2001-10-18  Juergen Vigna  <jug@sad.it>
13207
13208         * text.C (workWidth): new function with added Inset * parameter.
13209
13210 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13213
13214         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13215         change return type of getColumnNearX.
13216
13217
13218         * text.C (changeRegionCase): use uppercase/lowercase instead of
13219         toupper/tolower.
13220         (leftMargin):
13221         (rightMargin): simplify code by factoring out the uses of
13222         textclasslist.
13223         (labelFill):
13224         (numberOfHfills):
13225         (setHeightOfRow):
13226         (appendParagraph): use Paragraph::size_type
13227
13228 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * vspace.C (asLatexString): add a missing break
13231
13232 2001-10-15  Herbert Voss  <voss@perce.de>
13233
13234         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13235
13236 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13239         is not available.
13240
13241 2001-10-10  André Pönitz <poenitz@gmx.net>
13242
13243         * lyxfunc.C: removed greek_kb_flag.
13244
13245 2001-10-10  Herbert Voss  <voss@perce.de>
13246
13247         * lyx_main.C: delete global string help_lyxdir.
13248
13249 2001-10-09  Herbert Voss  <voss@perce.de>
13250
13251         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13252
13253         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13254
13255         * lyx_main.C: added global string help_lyxdir.
13256
13257         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13258
13259 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13260
13261         * lyxrc.C (set_font_norm_type): support iso8859-4
13262
13263 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13264
13265         * LaTeX.C (deplog): add another regex for MikTeX
13266
13267 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13268
13269         * lyxrc.C (set_font_norm_type): support iso8859-3
13270
13271 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13274
13275         * LaTeXFeatures.C: remove special case of french and index
13276
13277         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13278         before \begin{document}). This solves several incompatibilities.
13279
13280 2001-10-03  Garst Reese  <reese@isn.net>
13281
13282         * lyx_cb.C: change CheckTex error msg.
13283
13284 2001-10-03  José Matos  <jamatos@fep.up.pt>
13285
13286         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13287
13288 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * .cvsignore: update
13291
13292         * lyx_main.C (commandLineVersionInfo): use new style version info.
13293
13294         * buffer.C (writeFile):
13295         (makeLaTeXFile):
13296         (makeLinuxDocFile):
13297         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13298
13299         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13300
13301         * version.h: update to use stuff in version.C
13302
13303         * version.C.in: new file. Contains version information determined
13304         at compile time. This is a merging of version.h and
13305         version_info.h.in.
13306
13307 2001-10-03  Juergen Vigna  <jug@sad.it>
13308
13309         * BufferView_pimpl.C (update): don't change "dirty" status in
13310         updateInset call.
13311
13312 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13313
13314         * WorkArea.C (c-tor): re-position version string slightly.
13315
13316 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13319         revert to previous code.
13320
13321         WorkArea.[Ch]: (show, destroySplash): methods removed.
13322
13323         WorkArea.C: rework code so that it's an amalgam of the codes before and
13324         after the splash screen was moved to WorkArea.
13325
13326 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * lyxrc.C (read):
13329         * vspace.C (inPixels):
13330         (lyx_advance):
13331         * kbmap.C (bind):
13332         * buffer.C (insertStringAsLines):
13333         (asciiParagraph): fix types to be large enough
13334
13335         * lyxlex_pimpl.h: change member status from short to int
13336
13337         * layout.h: fix type of endlabeltype
13338
13339         * kbmap.C (bind):
13340         * kbsequence.C (parse): change return type to string::size_type
13341
13342         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13343         variable
13344
13345         * Bullet.C (bulletSize):
13346         (bulletEntry): do not use short ints as parameters
13347
13348         * BufferView2.C (insertLyXFile): change a char to an int.
13349
13350         * WorkArea.C (WorkArea): remove unneeded floats in computation
13351
13352 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13355
13356         * paragraph.C (asString): Do not ignore newline/hfill chars when
13357         copying to the clipboard.
13358
13359 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13362         after a multi-line inset.
13363
13364 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * paragraph.C (validate): Set NeedLyXFootnoteCode
13367
13368 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13371         and decrease-error to decrease.
13372
13373 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13374
13375         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13376         it more readable (should be equivalent)
13377
13378 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13379
13380         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13381
13382 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13385         of a cursor (row, etc.) after a character has been deleted
13386         (deleteEmptyParagraphMechanism): call the method above on _all_
13387         cursors held by the LyXText when a double space has been
13388         detected/deleted.
13389
13390 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13391
13392         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13393         pixmap.
13394         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13395
13396         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13397         background. Use greyOut() and the new show() methods to toggle between
13398         the foreground and background. Add code to remove the splash after
13399         its initial showing.
13400
13401         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13402         (create_forms): no longer call Dialogs::showSplash.
13403
13404 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * .cvsignore: add version_info.h
13407
13408 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * version_info.h.in: new file
13411
13412         * Makefile.am: add version_info.h.in
13413
13414         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13415         version_info.h instead of VERSION_INFO
13416
13417 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13420         The ERT inset now returns string().
13421
13422 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * lyxtext.h, text.C (selectNextWord): renamed as
13425         selectNextWordToSpellcheck.
13426
13427         * text.C (selectNextWordToSpellcheck): Modified to not select
13428         words inside an ERT inset.
13429
13430 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * lyx_cb.C (MenuLayoutSave): change a bit the question
13433
13434         * sp_base.h: include <sys/types.h>
13435
13436 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13439
13440 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13441
13442         * several files: fix typos in user-visible strings
13443
13444 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * text2.C (pasteSelection): do not set the selection, since it
13447         will be cleared later. Actually, the intent was to fix the way the
13448         selection was set, but I figured rmoving the code was just as good.
13449
13450 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13451
13452         * FontLoader.C (available): Check if font is available without
13453         loading the font.
13454
13455 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13456
13457         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13458
13459 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * lyxrc.[Ch]: added display_graphics variable and associated code.
13462
13463 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * bufferparams.C (hasClassDefaults): new method. Returns true if
13466         the buffer parameters correspond to known class defaults
13467
13468 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * XFormsView.C (show): set minimum size to the main window.
13471
13472 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * text2.C (copySelection):
13475         (cutSelection):
13476         * lyxfind.C (LyXReplace):
13477         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13478         LyXText::selectionAsString.
13479
13480         * paragraph.C (asString): add "label" argument to the second form
13481
13482         * text2.C (selectionAsString): add "label" argument and pass it to
13483         Paragraph::asString.
13484
13485 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * lyx_main.C (commandLineHelp): remove version information
13488
13489 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13490
13491         * lyx_main.C: add -version commandline option
13492
13493 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * paragraph.h: make the optional constructor arg required instead.
13496         some modifications to other files because of this.
13497
13498         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13499
13500         * lyxserver.C (C_LyXComm_callback): make it static
13501
13502         * lyx_main.C (error_handler): make it static
13503
13504         * lyx_gui.C (LyX_XErrHandler): make it static
13505
13506         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13507
13508         * WorkArea.C: make the extern "C" methods static.
13509
13510         * Makefile.am (lyx_LDADD): simplify
13511
13512 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13513
13514         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13515         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13516
13517         * LyXAction.C (init):
13518         * lyxfunc.C (dispatch): associated code removal.
13519
13520 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * lyxfont.h (isSymbolFont): shut off warning
13523
13524         * text.C (setHeightOfRow):
13525         (getVisibleRow): fix crash with empty paragraphs which have a
13526         bottom line
13527
13528 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13529
13530         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13531         code.
13532
13533 2001-09-04  José Matos  <jamatos@fep.up.pt>
13534         * buffer.C
13535         * buffer.h
13536         * tabular.C (docbook): rename docBook method to docbook.
13537
13538 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13539
13540         * Makefile.am: add dependencies to main.o.
13541
13542 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13543
13544         * FontLoader.C (available): Return false if !lyxrc.use_gui
13545
13546 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13547
13548         * FontInfo.C (query):
13549         * converter.C (view):
13550         * importer.C (Import):
13551         * exporter.C (Export): Can not -> cannot.
13552
13553 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13554
13555         * BufferView_pimpl.C: allow to create index inset even if
13556           string is empty
13557
13558 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13559
13560         * buffer.C (getLists): replace boost::tie code with an explicit pair
13561         as boost::tie can break some compilers.
13562
13563         * iterators.h: Added a std:: declaration to the return type of
13564         ParIterator::size.
13565
13566 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13569           case.
13570
13571 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * iterators.[Ch]: New files. Provide paragraph iterators.
13574
13575         * buffer.C (changeLanguage): Use paragraph iterators.
13576         (isMultiLingual): ditto
13577
13578         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13579
13580 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13581
13582         * FontLoader.C: Support for cmr font.
13583
13584 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13587         (available): New method.
13588
13589         * FontInfo.C (getFontname): Use scalable fonts even when
13590         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13591         found.
13592
13593 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * converter.C (Formats::view): reverted! Incorrect fix.
13596
13597 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13598
13599         * converter.C (Formats::view): only output the -paper option
13600         if the dvi viewer is xdvi, thereby fixing bug #233429.
13601
13602 2001-08-23  Herbert Voss  <voss@perce>
13603
13604         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13605
13606 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * Spacing.h (Spacing): Set space to Default on in the default
13609         constructor.
13610
13611 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * vc-backend.h (RCS::versionString): add RCS to version
13614         (CVS::versionString): add CVS to version
13615
13616         * vc-backend.C (scanMaster): do not add CVS to version.
13617         (scanMaster): do not add RCS to version
13618
13619         * lyxvc.C (versionString): new method
13620
13621         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13622
13623 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * Spacing.C (set): initialize fval
13626
13627 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13630         " or \.
13631
13632 2001-08-16  Juergen Vigna  <jug@sad.it>
13633
13634         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13635
13636 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * BufferView_pimpl.C:
13639         * figureForm.C:
13640         * lyxtext.h:
13641         * text2.C: setParagraph takes linespacing now
13642
13643 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * LyxAction.C: add internal LFUN_CITATION_INSERT
13646
13647         * LyXView.C: actually apply fix
13648
13649         * bufferlist.C: fix open non-existent file
13650
13651         * lyxfind.C: fix indentation
13652
13653         * lyxfunc.C: remove unneeded assert, fix typo
13654
13655 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13656
13657         * MenuBackend.C: use "Floatname List"
13658
13659 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13662         when converting LaTeX layout to insetERT.
13663         Generate a non-collapsed float when reading old float
13664
13665 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13666
13667         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13668         ERT insets.
13669
13670 2001-08-13  Juergen Vigna  <jug@sad.it>
13671
13672         * text.C (fill): return 0 instead of 20 as this seems to be the more
13673         correct value.
13674
13675 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13678         lyxrc.font_norm.
13679
13680 2001-08-13  Juergen Vigna  <jug@sad.it>
13681
13682         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13683         casesensitive off.
13684         (SearchBackward): comment out the unlocking of the inset_owner this
13685         should not be needed!
13686
13687 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * Many files: Remove inherit_language, and add latex_language
13690
13691         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13692         collapsible insets.
13693
13694 2001-08-10  Juergen Vigna  <jug@sad.it>
13695
13696         * text.C (prepareToPrint): fixed hfill-width in draw!
13697
13698         * BufferView2.C (selectLastWord): save the selection cursor as this
13699         now is cleared in the function LyXText::clearSelection!
13700
13701 2001-08-08  Juergen Vigna  <jug@sad.it>
13702
13703         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13704         BACKSPACE type functions.
13705
13706         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13707         is only cutted from the document but not put in the cut-buffer, where
13708         still the old stuff should be.
13709
13710         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13711
13712         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13713
13714         * tabular.C (SetWidthOfCell): fixed special case where the width
13715         was not updated!
13716         (LeftLine): handle '|' in align_special.
13717         (RightLine): ditto
13718         (LeftAlreadyDrawed): ditto
13719         (SetWidthOfCell): ditto
13720
13721 2001-08-07  Juergen Vigna  <jug@sad.it>
13722
13723         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13724
13725 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13728         * lyxlex.[hC]: ditto
13729
13730 2001-08-06  Juergen Vigna  <jug@sad.it>
13731
13732         * text.C (getVisibleRow): fix up row clearing a bit.
13733
13734 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * minibuffer.C: make sure the X server sees the changes in the input.
13737
13738 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * paragraph.C (getFont): split into...
13741         (getLabelFont): this
13742         (getLayoutFont): and this
13743         * paragraph_pimpl.C (realizeFont): calling this
13744
13745         * text2.C (getFont): split into...
13746         (getLayoutFont): this
13747         (getLabelFont): and this
13748         (realizeFont): all three calling this
13749
13750         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13751         files where used.
13752
13753 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13756
13757 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13758
13759         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13760         layouts from the Quote inset insertion.
13761
13762 2001-08-03  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13765
13766         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13767         only if status not is already CHANGED_IN_DRAW (second level).
13768
13769         * text.C (draw): don't set the need_break_row when inside an
13770         InsetText LyXText.
13771
13772 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * buffer.C (parseSingleLyXformat2Token): handle more latex
13775         conversion cases.
13776
13777         * bufferview_funcs.[hC]: change function names to
13778         begin with small char, adjust other files.
13779
13780 2001-08-02  André Pönitz <poenitz@gmx.net>
13781
13782         * lyxfunc.C:
13783         BufferView_pimpl.C: remove broken special code for math-greek
13784
13785 2001-08-02  Juergen Vigna  <jug@sad.it>
13786
13787         * BufferView_pimpl.C (update): redone this function so that we
13788         update the text again if there was a CHANGE_IN_DRAW.
13789
13790         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13791         (drawFromTo): added a new internal bool which is used by draw() and
13792         redraw() function.
13793         (general): some cursor drawing problems fixed.
13794
13795 2001-08-01  Juergen Vigna  <jug@sad.it>
13796
13797         * lyxfind.C (LyXFind): fixed
13798         (SearchForward): ditto
13799         (SearchBackward): ditto
13800
13801         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13802         spurius drawing of the cursor in the main area.
13803
13804         * text2.C (status): small fix which could lead to a segfault!
13805         (clearSelection): remove unneeded BufferView param.
13806
13807 2001-08-01  André Pönitz <poenitz@gmx.net>
13808
13809         * lyxfunc.C: small change due to changed mathed interface
13810
13811 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13814
13815 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * lyxfunc.c: fail gracefully if file doesn't exist
13818
13819         * LyXSendto.C:
13820         * buffer.C:
13821         * lyxfunc.C:
13822         * BufferView_pimpl.C: IsDirWriteable() proto changed
13823
13824         * LyXView.C: fix updateWindowTitle() to store the last title
13825
13826 2001-07-31  Juergen Vigna  <jug@sad.it>
13827
13828         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13829         the font (wrong since using of Paragraph::highestFontInRange).
13830
13831         * paragraph.C (highestFontInRange): added a default_size parameter.
13832
13833         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13834         (setHeightOfRow): reformat
13835
13836 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * converter.[hC] + affected files: move to (inital-char)lowercase
13839         function names.
13840
13841         * ParagraphParameters.C (ParagraphParameters): remove commented code
13842
13843         * PainterBase.[Ch]: remove commented code
13844
13845         * LaTeXFeatures.h: add "bool floats" for float.sty
13846
13847         * LaTeXFeatures.C (LaTeXFeatures): init floats
13848         (require): handle float
13849         (getPackages): do it with floats
13850
13851 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * BufferView_pimpl.C (Dispatch): improve handling of
13854         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13855
13856         * commandtags.h: #include lyxfont.h here temporarily to avoid
13857         keybinding bug.
13858
13859         * bufferlist.h: include LString.h here.
13860
13861 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * text2.C (getStringToIndex): new method.
13864
13865 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13866
13867         * *: Reduced header file dependencies all over.
13868
13869 2001-07-30  Baruch Even  <baruch@lyx.org>
13870
13871         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13872
13873 2001-07-29  Baruch Even  <baruch@lyx.org>
13874
13875         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13876
13877 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13878
13879         * ParameterStruct.h (endif): add a default constructor to make
13880         sure that all variables is initialized.
13881
13882         * ParagraphParameters.C (ParagraphParameters): adjust
13883
13884 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13887         index; also, check that there is something to index, and that it
13888         does not span over several paragraphs.
13889         (doubleClick): use WHOLE_WORD_STRICT for double click.
13890
13891         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13892
13893         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13894         scheme.
13895
13896 2001-07-26  Baruch Even  <baruch@lyx.org>
13897
13898         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13899         an InsetFig figure, backwards compatible reading of old figure code.
13900
13901 2001-07-27  Juergen Vigna  <jug@sad.it>
13902
13903         * text2.C: font.realize function adaption.
13904
13905         * text.C (draw): add a warnings lyxerr text if needed.
13906
13907         * layout.C: font.realize function adaption.
13908
13909         * language.C: add inherit_language and implement it's handlings
13910
13911         * bufferview_funcs.C (StyleReset): remove language parameter from
13912         font creation (should be language_inherit now).
13913
13914         * bufferparams.C (writeFile): handle ignore_language.
13915
13916         * paragraph.C (getFontSettings): the language has to be resolved
13917         otherwise we have problems in LyXFont!
13918
13919         * lyxfont.C (lyxWriteChanges): added document_language parameter
13920         (update): removed unneeded language parameter
13921
13922         * paragraph.C (validate): fixed wrong output of color-package when
13923         using interface colors for certain fonts in certain environments,
13924         which should not seen as that on the final output.
13925
13926 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * BufferView_pimpl.C:
13929         * Thesaurus.h:
13930         * Thesaurus.C:
13931         * Makefile.am:
13932         * commandtags.h:
13933         * LyXAction.C: add thesaurus support
13934
13935         * lyxfind.h:
13936         * lyxfind.C: add "once" parameter, for thesaurus, to not
13937           move to the next match
13938
13939 2001-07-26  Juergen Vigna  <jug@sad.it>
13940
13941         * lyxfont.C (realize): honor ignore_language too!
13942         (resolved): ditto.
13943
13944         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13945
13946         * text.C (draw): one place more for ignore_language to not draw
13947         itself!
13948
13949 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13950
13951         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13952
13953 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13956         the minipage conversion problem.
13957
13958 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13961         insert an inset.
13962
13963 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * BufferView.h: don't forward declare WorkArea
13966
13967         * BufferView.C: don't include WorkArea.h
13968
13969 2001-07-25  André Pönitz <poenitz@gmx.net>
13970
13971         * commandtags.h:
13972         * LyXAction.C:
13973         * lyxfunc.C:  new LFUN 'math-space'
13974
13975         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13976
13977 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * text2.C (toggleInset): call open/close
13980
13981 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * lyxfunc.C (dispatch): add debug for the disabled case
13984
13985         * font.C (buttonText): make similar to rectText
13986
13987         * buffer.C (readInset): comment out parsing of insetlist and
13988         insttheorem
13989
13990         * PainterBase.C (rectText): small correction
13991
13992         * BufferView_pimpl.C: comment out insettheorem and insetlist
13993         * LyXAction.C: ditto
13994         * commandtags.h: ditto
13995
13996 2001-07-24  Juergen Vigna  <jug@sad.it>
13997
13998         * text.C (draw): honor the ignore_language.
13999
14000         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14001
14002 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14003
14004         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14005         char inset.
14006
14007 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14008
14009         * lyxtext.h: remove unused (and unimplemented) methods
14010
14011 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14012
14013         * text.C (getVisibleRow): honor background color
14014
14015         * PainterBase.h:
14016         * Painter.h: remove default color argument for fillRectangle
14017
14018         * text.C (backgroundColor): new method
14019
14020 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * text.C (getVisibleRow): adjust
14023
14024         * font.[Ch] (rectText): new method, metrics
14025         (buttonText): new method, metrics
14026
14027         * PainterBase.[hC]: make rectText and buttonText always draw and take
14028         fewer paramteres.
14029
14030 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14031
14032         * ToolbarDefaults.C (read):
14033         * MenuBackend.C (read): allow escaping in all strings
14034
14035         * BufferView_pimpl.C (insertAndEditInset): new method.
14036         (Dispatch): use insertAndEditInset whenever appropriate.
14037
14038         * BufferView_pimpl.C (insertNote): removed
14039
14040         * BufferView_pimpl.C (smartQuote): new method, moved from
14041         BufferView; if an insetquote cannot be inserted, insert a '"'
14042         character instead.
14043
14044         * BufferView2.C: remove insertCorrectQuote();
14045
14046         * lyxfunc.C (getStatus): Add support for all remaingin
14047         inset-insert lfuns.
14048
14049         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14050
14051         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14052         command (necessary to pass " as parameter of self-insert.
14053
14054         * text.C (selectWordWhenUnderCursor):
14055         (selectWord): add word_location parameter
14056         (selectWordWhenUnderCursor): same + remove special code for word
14057         boundary.
14058         (selectNextWord): use kind() to guess type of insetspecialchar,
14059         not latex().
14060
14061         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14062         (insertErtContents): create ert insets as collapsed.
14063         (readInset): better compatibility code for Info inset.
14064
14065 2001-07-20  Juergen Vigna  <jug@sad.it>
14066
14067         * lyxfunc.C (dispatch): use always LyXFind now!
14068
14069         * text2.C (init): add a reinit flag so that the LyXText can be
14070         reinited instead of deleted and reallocated (used in InsetText).
14071
14072         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14073
14074         * text.C: ditto
14075
14076         * text2.C: ditto
14077
14078 2001-07-18  Juergen Vigna  <jug@sad.it>
14079
14080         * text.C (selectNextWord): handle insets inside inset by calling
14081         always the bv->text functions so that we can go up the_locking_inset!
14082
14083         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14084         in strange locations when inside an inset!
14085
14086         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14087         handling to include insets.
14088
14089         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14090
14091 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * LyXAction.C (init):
14094         * commandtags.h:
14095         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14096         LIGATURE_BREAK, since the name is so stupid.
14097
14098 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14101         InsetInfos.
14102
14103         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14104
14105         * sp_form.[Ch]: remove.
14106
14107         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14108
14109         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14110         InsetInfo.
14111
14112         * src/buffer.C (readInset): ditto.
14113
14114 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14115
14116         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14117         menuSeparator(), endOfSentenceDot(), ldots() and
14118         hyphenationPoint(), which are therefore removed.
14119         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14120
14121         * LyXAction.C (init):
14122         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14123
14124         * paragraph.C (getWord): removed.
14125
14126         * BufferView_pimpl.C (Dispatch): use last word or selection for
14127         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14128
14129         * lyx_main.C (queryUserLyXDir): do not ask before creating
14130         user_dir, except if it has been named explicitely.
14131
14132 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14135         a document of zero size.
14136
14137 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14138
14139         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14140         approriately in the c-tor and in require().
14141         (getPackages): output the appropriate LaTeX for natbib support.
14142
14143         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14144         variables "use_natbib" and "use_numerical_citations" when reading the
14145         LyX file.
14146         (readInset): read the various natbib cite commands.
14147         (validate): white-space change.
14148
14149         * bufferparams.[Ch]: new variables "bool use_natbib" and
14150         "bool use_numerical_citations".
14151         (writeFile): output them in the LyX file.
14152
14153 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14154
14155         * lyxfunc.C (getStatus): add support for all the inset insertion
14156         commands.
14157
14158         * text2.C (insertInset):
14159         * paragraph.C (insetAllowed):
14160         * BufferView_pimpl.C (insertInset): update to take in account the
14161         renaming of insertInsetAllowed
14162
14163         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14164
14165         * text2.C (getInset): new method. returns inset at cursor position.
14166
14167         * BufferView_pimpl.C (Dispatch): changes because of this.
14168
14169         * LyXAction.C (init): rename open-stuff to inset-toggle.
14170
14171         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14172
14173         * text2.C (toggleInset): renamed from openStuff; use
14174         Inset::open().
14175
14176 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14177
14178         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14179
14180         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14181
14182 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * buffer.C (readLyXformat2): Add filename to the error dialog
14185
14186 2001-07-18  Juergen Vigna  <jug@sad.it>
14187
14188         * tabular.C (GetCellNumber): put an assert here instead of the check!
14189
14190 2001-07-17  Juergen Vigna  <jug@sad.it>
14191
14192         * BufferView_pimpl.C (toggleSelection): adapted too.
14193
14194         * text.C (selectNextWord): adapted for use with insets.
14195         (selectSelectedWord): ditto
14196
14197 2001-07-17  Juergen Vigna  <jug@sad.it>
14198
14199         * sp_spell.C (PSpell): fix initialitation order.
14200
14201 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * paragraph.C: spacing
14204
14205 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14206
14207         * sp_spell.C: repair language selection for pspell
14208
14209 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * lyxfunc.h: change more methods to begin with lower char.
14212
14213 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14216         for unknown layouts.
14217
14218 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * buffer.C (readLyXformat2): Generate an error dialog if there are
14221         unknown layouts.
14222
14223 2001-07-16  Juergen Vigna  <jug@sad.it>
14224
14225         * sp_spell.C: always compile ISpell part.
14226
14227         * lyxrc.C: added use_pspell entry and it's handling.
14228
14229 2001-07-13  Juergen Vigna  <jug@sad.it>
14230
14231         * sp_spell.C: removed double includes.
14232
14233 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14234
14235         Consistent use of Lsstream.h:
14236         * Lsstream.h: added using std::stringstream for consistencies sake.
14237
14238         * buffer.C: removed using std::stringstream
14239
14240         * lyxfont.C (stateText):
14241         * paragraph.C (asString):
14242         * text.C (selectNextWord, selectSelectedWord):
14243         * text2.C (setCounter):
14244         * vspace.C (asString, asLatexString):
14245         std::ostringstream -> ostringstream.
14246
14247 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14248
14249         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14250         * commandtags.h: add LFUN_HELP_ABOUTLYX
14251         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14252
14253 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14254
14255         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14256         cursorToggle()
14257         * lyx_gui_misc.C: remove spellchecker
14258         * lyxfunc.C: showSpellchecker
14259         * sp_base.h: added
14260         * sp_ispell.h: added
14261         * sp_pspell.h: added
14262         * sp_spell.C: added
14263         * sp_form.[Ch]: removed
14264         * spellchecker.[Ch]: removed
14265
14266 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14267
14268         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14269         is set.
14270         (simpleTeXSpecialChars): Simply print the input character without
14271         any special translation if pass_thru is set.
14272
14273         * layout.h: Added bool pass_thru to layout class for being able to
14274         implement pass through of a paragraph for Literate Programming.
14275
14276         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14277         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14278         * layout.C (Read): add "passthru" to list of layout tags and add
14279         code to set the pass_thru boolean when it is read.
14280
14281 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14282
14283         * trans_decl.h: remove allowed from KmodInfo
14284
14285         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14286         remove allowed code
14287         (Load): adjust
14288
14289         * paragraph_pimpl.C (erase): use boost::prior
14290
14291         * Painter.C (text): use data() instead of c_str() when length is
14292         also provided.
14293         * WorkArea.C (putClipboard): ditto
14294         * font.h (width): ditto
14295
14296         * BufferView2.C: use it-> instead of (*it). for iterators
14297         * texrow.C: ditto
14298         * paragraph_pimpl.C: ditto
14299         * paragraph.C: ditto
14300         * minibuffer.C: ditto
14301         * language.C: ditto
14302         * kbmap.C: ditto
14303         * encoding.C: ditto
14304         * counters.C: ditto
14305         * converter.C: ditto
14306         * chset.C: ditto
14307         * Variables.C: ditto
14308         * TextCache.C: ditto
14309         * MenuBackend.C: ditto
14310         * LyXAction.C: ditto
14311         * LColor.C: ditto
14312         * FloatList.C: ditto
14313         * DepTable.C: ditto
14314         * ColorHandler.C (LyXColorHandler): ditto
14315
14316 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14319
14320         * text2.C (openStuff): reintroduce this method (which had been
14321         nuked in NEW_INSETS frenzy).
14322
14323         * lyxfunc.C (Dispatch): when an action has not been handled, use
14324         its name in the error message, not its number.
14325
14326         * paragraph.C (inInset): change method name to begin with lowercase.
14327
14328         * undo_funcs.C:
14329         * text2.C: updates because of this.
14330
14331 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * ToolbarDefaults.C (add): add spaces in error message
14334
14335 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14338         (readLyXformat2): rename return_par to first_par, use lyxlex's
14339         pushToken and remove the manual push handling.
14340         (parseSingleLyXformat2Token): add another ert comp. variable:
14341         in_tabular, rename return_par to first_par. handle newlines better
14342
14343 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14344
14345         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14346
14347 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * text2.C (getParFromID): removed
14350
14351         * buffer.C (getParFromID): new method moved form lyxtext.
14352         * BufferView2.C (insertErrors): adjust
14353         (setCursorFromRow): adjust
14354         * BufferView_pimpl.C (restorePosition): adjust
14355         * lyxfunc.C (Dispatch): adjust
14356         * undo_funcs.C (textUndo): adjust
14357         (textRedo): adjust
14358         (textHandleUndo): adjust
14359         (textHandleUndo): adjust
14360
14361 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * buffer.C: up' the LYX_FORMAT
14364
14365         * lyxfont.h: turn NO_LATEX on as default
14366
14367         * buffer.C (insertErtContents): new methods of tex style compability.
14368         (parseSingleLyXformat2Token): use it several places.
14369         * tabular.C (OldFormatRead): and here
14370
14371 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * text2.C: remove some commented code.
14374         reindent file.
14375
14376         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14377         * trans.C: changes because of the above.
14378
14379 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14380
14381         * text2.C (setCounter): Fix counters bug with bibliography layout.
14382
14383 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14384
14385         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14386         own member functions
14387         (simpleTeXSpecialChars): ditto
14388
14389 2001-07-06  Juergen Vigna  <jug@sad.it>
14390
14391         * a lot of files: changed the access to LyXText::status and the
14392         call of undo-functions.
14393
14394         * undo.[Ch]: added a inset_id to the undo informations.
14395
14396         * undo_funcs.[Ch]: added and moved here all undo functions.
14397
14398         * lyxtext.h: give the status enum a weight, made status_ a private
14399         variable and made accessor functions for it, removed the whole bunch
14400         of undo-functions as they are now in their own file, make some
14401         functions publically available. Added function ownerParagraph with
14402         int parameter.
14403
14404         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14405         made InInset() a const function, added getParFromID() function.
14406
14407         * buffer.[Ch]: added const version for inset_iterator functions,
14408         added getInsetFromID() function.
14409
14410         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14411         changed undo functions for new version.
14412
14413 2001-07-05  Juergen Vigna  <jug@sad.it>
14414
14415         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14416         unknow mechanism does not call the proper constructor but only this
14417         one also if I request the other!?
14418
14419 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14422
14423         * text2.C (LyXText): use initialization lists.
14424
14425         * lyxtext.h (Selection): initialize set_ and mark_
14426         (init): remove method
14427
14428 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14431
14432 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * screen.[Ch]: change method names to begin with lowercase
14435
14436         * BufferView_pimpl.C (updateScrollbar): simplify further and
14437         hopefully make it a bit faster.
14438
14439 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14442         calling directly xforms functions.
14443
14444         * Painter.C (Painter):
14445         * lyx_cb.C (MenuWrite):
14446         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14447         fl_display.
14448
14449         * lyx_gui.C: remove bogus guiruntime extern declaration.
14450
14451 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14452
14453         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14454         in NEW_INSETS
14455         (redoDrawingOfParagraph): ditto
14456         (redoParagraphs): ditto
14457         (cutSelection): don't create a object for CutAndPaste use the
14458         static method directly
14459         (pasteSelection): ditto
14460
14461         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14462         LyXview (+ rename)
14463
14464 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * modifications to some other files because of this.
14467
14468         * Makefile.am (lyx_SOURCES): add XFormsView
14469
14470         * XFormsView.[Ch]: new files
14471
14472         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14473         the main window. Move the gui dependent stuff to XFormsView
14474
14475 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14476
14477         * tabular.C (GetCellInset): update cur_cell also in the row/col
14478         version of this function.
14479
14480         * lyxfunc.C: no need to include figure_form.h here.
14481
14482         * FontLoader.h:
14483         * lyxfunc.h:
14484         * lyxscreen.h:
14485         * text2.C:
14486         * lyxvc.C: no need to include forms.h here.
14487
14488 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14489
14490         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14491
14492         * lyxfunc.C (Dispatch):
14493         * Spacing.C (set):
14494         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14495         constructor argument.
14496
14497 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * paragraph.C (Paragraph): dont't clear, and just set layout.
14500         (makeSameLayout): use params's copy contructor.
14501
14502         * ParagraphParameters.[Ch] (makeSame): delete method
14503
14504 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * Variables.[Ch]: fix indentation, rename set to isSet
14507
14508 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * lyxfunc.C (Dispatch): fix typo
14511
14512 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14515         upper_bound.
14516
14517         * bufferlist.C: include assert.h for emergencyWrite().
14518
14519 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14522           give up at last (bug #425202) !
14523
14524 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14525
14526         * lyx_gui_misc.C:
14527         * sp_form.h:
14528         * sp_form.C:
14529         * spellchecker.h:
14530         * spellchecker.C: strip spellchecker options and bring up
14531           preferences tab instead
14532
14533 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14534
14535         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14536         the istringstream constructor
14537
14538 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * paragraph.C (getLayout): fix return value
14541
14542         * paragraph.h: do not declare getLayout as inline.
14543
14544         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14545
14546 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14547
14548         * lyxcursor.h (operator<): new func
14549         (operator>): new func
14550         (operator>=): new func
14551         (operator<=): new func
14552
14553         * text.C (changeCase): use selection.start and selection.end
14554         (changeRegionCase): require from to be <= to. Require par to be a
14555         valid paragraph.
14556
14557         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14558
14559 2001-06-27  Juergen Vigna  <jug@sad.it>
14560
14561         * text.C (cursorLeftOneWord): changed to return the cursor and added
14562         overlay with BufferView * parameter which calls this one.
14563         (getWord): added
14564         (selectWord): use new getWord function.
14565         (changeCase): renamed from changeWordCase as and extended to work
14566         also on selections.
14567
14568         * lyxtext.h: added enum word_location
14569
14570         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14571         changeCase as this operates now also on selections.
14572
14573 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14574
14575         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14576
14577         * many files: send debug output to Debug::INFO instead of
14578         Debug::ANY.
14579
14580         * converter.C (View):
14581         (Convert):
14582         (Move): send debug output to Debug::FILES instead of console.
14583
14584 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14585
14586         * lyxfunc.C (getStatus): use func_status
14587
14588         * func_status.h: new header, describing the results of
14589         LyXFunc::getStatus;
14590
14591         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14592         LFUN_MATH_HALIGN.
14593
14594 2001-06-25  The LyX Project  <jug@sad.it>
14595
14596         * buffer.C (sgmlOpenTag):
14597         (sgmlCloseTag):
14598         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14599
14600 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14601
14602         * text2.C: remove some dead code
14603
14604         * tabular.C (GetCellInset): store the last cell checked (gotten)
14605
14606         * tabular.h: add the helper for the speedup
14607
14608         * lyxtext.h: remove some dead code
14609
14610 2001-06-26  The LyX Project  <Asger>
14611
14612         * paragraph.C: Change export to LaTeX of alignment to
14613         \begin{center} and family for better roundtrip work with reLyX.
14614
14615         * Tune the math drawing a bit.
14616
14617 2001-06-25  The LyX Project  <Asger>
14618
14619         * LColor.C (LColor): New color for math background. New color
14620         for buttons.
14621
14622 2001-06-25  The LyX Project  <jug@sad.it>
14623
14624         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14625
14626         * lyxfunc.C (Open):
14627         * bufferlist.C (newFile): do not restrict to files ending with
14628         .lyx
14629
14630         * BufferView_pimpl.C (MenuInsertLyXFile):
14631
14632 2001-06-24  The LyX Project  <jug@sad.it>
14633
14634         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14635         of compare_no_case
14636
14637 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * lyxtext.h: rename most methods to begin with a small char.
14640         Lots of changes because of this.
14641
14642         * paragraph.C (Paragraph): do not call fitToSize
14643         (erase): call Pimpl::erase
14644         (insertChar): call Pimpl::insertChar
14645         (insertInset): call Pipl::insertInset
14646         (breakParagraph): do not call fitToSize
14647         (breakParagraphConservative): do not call fitToSize
14648         (fitToSize): remove method
14649
14650         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14651
14652 2001-06-24  The LyX Project  <Asger>
14653
14654         * Fix Qt compilation^2
14655
14656 2001-06-24  The LyX Project  <jug@sad.it>
14657
14658         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14659         depthHook(getDepth()-1).
14660
14661         * paragraph.h:
14662         * ParagraphParameters.h:
14663         * ParameterStruct.h: change type of depth to unsigned int ==
14664         depth_type. Many adaptations to other files before of that.
14665
14666 2001-06-24  The LyX Project  <Asger>
14667
14668         * Fix Qt compilation.
14669
14670 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * paragraph.h: renamed several methods to begin with small letter.
14673         several changes to many parts of the code because of this.
14674
14675 2001-06-23  The LyX Project  <jug@sad.it>
14676
14677         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14678         rewritten to discard all double spaces when KeepEmpty is off
14679         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14680         to only handle newlines but not fiddle with spaces and friends.
14681
14682         * lyxfunc.C (MenuNew): when doing 'new from template', use
14683         template_path as default directory
14684
14685 2001-06-23  The LyX Project  <Asger>
14686
14687         * Clean-up of header file includes all over
14688         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14689
14690 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * paragraph.h: renamed from lyxparagraph.h
14693
14694 2001-06-23  Asger  <lyx@violet.home.sad.it>
14695
14696         * Buffer.h: Removed Buffer::resize
14697         * BufferList.h: Removed BufferList::resize
14698         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14699         the document lazily when we change the width, or the font settings.
14700
14701 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14702
14703         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14704
14705 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * buffer.h: remove out of date comment
14708
14709 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyxscreen.h:
14712         * screen.C: fix "theoretical" GC leak
14713
14714 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * LaTeX.C (scanAuxFile):
14717         (deplog): remove trailing \r when reading stream (useful under
14718         win32)
14719
14720 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14721
14722         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14723         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14724         and BufferView::theLockingInset(Inset*), so should use them and not
14725         access bv_->text->the_locking_inset directly.
14726
14727         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14728
14729 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * Makefile.am:
14732         * tex-defs.h: remove old unused file
14733
14734 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * BufferView_pimpl.C: fix typo, remove minibuffer message
14737           when buffer has loaded
14738
14739 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14740
14741         * lyxfunc.C (Dispatch): use stringstream
14742         (MenuNew): use stringstream
14743         (Open): use stringstream
14744
14745         * importer.C (Import): use stringstream
14746
14747         * bufferview_funcs.C (CurrentState): use stringstream
14748
14749         * LaTeX.C (run): use stringstream
14750
14751         * BufferView_pimpl.C (savePosition): use stringstream
14752         (restorePosition): use stringstream
14753         (MenuInsertLyXFile): use stringstream
14754
14755 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14756
14757         * BufferView.C:
14758         * Bullet.C:
14759         * ColorHandler.C:
14760         * FontInfo.C:
14761         * FontLoader.C:
14762         * LColor.C:
14763         * LaTeXFeatures.C:
14764         * Painter.C:
14765         * gettext.C:
14766         * lyx_gui_misc.C:
14767         * lyxserver.C:
14768         * vspace.C: removed // -*- C++ -*- as first line.
14769
14770         * lyxfind.h:
14771         * version.h: added // -*- C++ -*- as first line.
14772
14773 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14776
14777         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14778         of string
14779
14780 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14781
14782         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14783         of floats.
14784
14785 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * gettext.C: include LString.h even when --disable-nls is on.
14788
14789 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14790
14791         * converter.h (Get): changed argument type from int to
14792         FormatList::size_type to avoid unnecessary conversion.
14793
14794         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14795         before using it.
14796
14797 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * gettext.h: include LString.h even when --disable-nls is on.
14800
14801 2001-06-07  Juergen Vigna  <jug@sad.it>
14802
14803         * text.C (BreakAgain): subst spaces with tabs.
14804
14805         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14806         (resizeInsetsLyXText): set force on resizeLyXText.
14807
14808 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14809
14810         * gettext.h (gettext_init):
14811         (locale_init): use a real definition instead of a macro
14812
14813 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * Bufferview_pimpl.C:
14816         * LColor.h:
14817         * LColor.C: further lcolor tidies
14818
14819 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14820
14821         * BufferView_pimpl.C (updateScrollbar): simplify.
14822
14823         * BufferView2.C: don't include insets/insetinfo.h, change
14824         prototype for insertInset and call the Pimpl version. let
14825         updateInset call Pimpl version.
14826
14827         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14828         gotoInset to BufferView::Pimpl
14829
14830 2001-06-01  Juergen Vigna  <jug@sad.it>
14831
14832         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14833         inside a LockingInset (is the update needed at all?).
14834
14835 2001-05-31  Juergen Vigna  <jug@sad.it>
14836
14837         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14838         here not the old one otherwise how should we compare it afterwards
14839         if it's the same!
14840
14841 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * lyxfont.C:
14844         * tabular.C:
14845         * tabular-old.C:
14846         * FontInfo.C: bring C functions into global namespace when
14847         necessary
14848
14849 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * LString.h: make sure config.h has been loaded before LString.h.
14852
14853         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14854         (one for each char read by EatLine!).
14855
14856         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14857         variables.
14858
14859 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14860
14861         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14862         to the same as the par we break from
14863
14864 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14867
14868         * MenuBackend.C (expand): also create menu entries for wide
14869         versions of the floats.
14870
14871         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14872
14873         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14874
14875         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14876         frontends/Makefile.am
14877
14878         * text2.C: adjust
14879         * text.C: adjust
14880
14881
14882         * tabular.C (getTokenValue): add std::
14883
14884         * tabular-old.C (getTokenValue): add std::
14885         (getTokenValue): ditto
14886         (getTokenValue): ditto
14887
14888         * screen.C (ToggleSelection): adjust
14889
14890         * lyxtext.h: put selection cursors inside a Selection struct.
14891
14892         * lyxfunc.C (moveCursorUpdate): adjust
14893
14894         * lyxfont.C (latexWriteStartChanges): add std::
14895
14896         * lyxfind.C: adjust
14897
14898         * font.h: delete with(char const *, LyXFont const &)
14899
14900         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14901
14902         * FontInfo.C (getFontname): add std::
14903
14904         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14905         (workAreaButtonPress): adjust
14906         (tripleClick): adjust
14907         (update): adjust
14908         (moveCursorUpdate): adjust
14909         (Dispatch): adjust
14910
14911         * BufferView2.C (gotoInset): adjust
14912
14913 2001-05-30  Juergen Vigna  <jug@sad.it>
14914
14915         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14916         to check pspell I add this as default as I now have new pspell
14917         libraries and they seem to use this.
14918
14919 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14920
14921         * text2.C (CutSelection): make the cursor valid before the call to
14922         ClearSelection.
14923
14924 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14927         relied on 0 terminated strings and other horrors. Bug found due to
14928         the new assert in lyxstring!
14929
14930         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14931         KP_ keys.
14932
14933 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14936         to latinkeys.bind.
14937
14938         * lyxfunc.C (processKeySym): change method of getting to the
14939         self-insert char.
14940
14941         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14942         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14943         * BufferView_pimpl.[Ch]: here as private methods.
14944
14945 2001-05-28  Juergen Vigna  <jug@sad.it>
14946
14947         * text.C (SetHeightOfRow): added the update() call again as it is
14948         needed to initialize inset dimensions!
14949
14950 2001-05-16  Juergen Vigna  <jug@sad.it>
14951
14952         * text2.C (SetCharFont): Add new function with BufferView * and
14953         bool toggleall parameters for setting insets internal fonts.
14954         (SetFont): Freeze the undo as we may change fonts in Insets and
14955         all this change should be inside only one Undo!
14956
14957         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14958         setting font's in insets as for them we have the SetFont function!
14959
14960 2001-05-15  Juergen Vigna  <jug@sad.it>
14961
14962         * text2.C (ClearSelection): to be sure we REALLY don't have any
14963         selection anymore!
14964
14965         * tabular.C (TeXCellPreamble): fixed the left border problem for
14966         multicolumn cells.
14967
14968 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14971         dependancy file
14972
14973 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14976         LFUN_BREAKPARAGRAPH.
14977
14978         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14979         help test to "internal only", similar for LFUN_INSERT_URL
14980
14981         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14982         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14983         auto_region_delete and deadkeys.
14984
14985 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14986
14987         * LColor.h:
14988         * LColor.C: remove some dead entries, tidy a little
14989
14990 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14993         commented code.
14994         (Dispatch): implement LFUN_ESCAPE
14995
14996         * commandtags.h: add LFUN_ESCAPE
14997
14998         * LyXAction.C (init): add entry for LFUN_ESCAPE
14999
15000         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15001         Remove commented code.
15002         (insertNote): moved here
15003         (open_new_inset): moved here
15004
15005         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15006         BufferView_pimpl
15007
15008 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * kbmap.C (findbinding): clean it up and make it work correctly.
15011
15012         * lyx_main.C (init): do not pass argc and argv as parameters
15013
15014 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15015
15016         * buffer.C: fix path for OS/2 & Win32
15017
15018         * lyx_gui.C:
15019         * lyx_main:
15020         * lyx_main.C: Added os:: class.
15021
15022         * os2_defines.h: update
15023
15024 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15027         better by trying again with reduced state.
15028
15029 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15030
15031         * lyxrc.C (read): print error about invalid key sequence only when
15032         debugging (because not all latinX keysyms are known to some X
15033         servers)
15034
15035         * kbsequence.C (getiso): add a few std:: qualifiers
15036         (getiso): comment out extra return statement.
15037
15038 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15041         handling.
15042         (Dispatch): enhance the accent inset a bit. (not perfect)
15043
15044 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15047
15048 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * bufferlist.C (emergencyWrite): fix assert() call
15051
15052 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15053
15054         * text.C (InsertChar): Added trivial patch to only send the "you
15055         can not do multiple spaces this way" message once during a
15056         session.
15057
15058 2001-05-08  Baruch Even  <baruch@lyx.org>
15059
15060         * Makefile.am: Changed order of libraries to get LyX to link properly
15061         with the gnome frontend.
15062
15063 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * LaTeXFeatures.h: add a std:: qualifier
15066
15067 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * paragraph.C (String): use stringstream
15070
15071 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * paragraph.C (writeFile): remove footflag arg
15074
15075         * buffer.C (makeLaTeXFile): use stringstream
15076         (latexParagraphs): remove footnot gurba
15077
15078         * LaTeXFeatures.C (getPackages): use stringstream
15079         (getMacros): likewise
15080         (getTClassPreamble): likewise
15081         (getFloatDefinitions): new method
15082
15083         * paragraph.C (writeFile): reindent
15084         (Erase): reindent
15085
15086         * WorkArea.h: revert the xpos + etc changes.
15087
15088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15089
15090         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15091
15092         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15093         (pasteSelection): likewise
15094         * text2.C (CreateUndo): likewise
15095
15096 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * minibuffer.C (peek_event): temporarily reduce the functionality
15099         of the minibuffer (to allow args on lfuns)
15100
15101         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15102         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15103
15104         * buffer.C (readInset): add compability reading of old float
15105         lists, add reading of new style float list.
15106         (readInset): avoid reevaluation of inscmd.getCmdName()
15107         (getLists): reindent
15108
15109         * MenuBackend.C (MenuItem): implement parsing of
15110         md_floatlistinsert and md_floatinsert.
15111         (expand::LastFiles): move initalizaton of iterators out of loop,
15112         avoid reevaluation.
15113         (expand::Documents): introduce typdedef vector<string> Strings,
15114         and use it.
15115         (expand::ExportFormats): introduce typedef vector<Format const *>
15116         Formats, and use it.
15117         (expand): implement FloatListInsert and FloatInsert.
15118
15119         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15120         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15121         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15122
15123         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15124         handling.
15125         (Dispatch::LFUN_FLOAT_LIST): implement
15126
15127 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15128
15129         * LaTeX.C (run): Fix problem with --export code.
15130
15131 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * BufferView.[Ch] (workarea): removed.
15134         (getClipboard) new method; wrapper for workarea()->getClipboard()
15135
15136         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15137         bug.
15138
15139         * WorkArea.h (width, height, xpos, ypos): These methods all
15140         returned the dimensions of the work_area sub-area of WorkArea,
15141         resulting in a position error if the WorkArea were resized. Now
15142         return the dimensions of the entire WorkArea.
15143
15144         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15145
15146 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15147
15148         * LaTeX.C (deplog): correct the syntax of regex reg1
15149
15150 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * undo.C: remove !NEW_INSETS cruft
15153
15154 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15155
15156         * text2.C: remove !NEW_INSETS cruft
15157
15158         * text.C: remove !NEW_INSETS cruft
15159
15160         * tabular.C: remove !NEW_INSETS cruft
15161
15162         * spellchecker.C: remove !NEW_INSETS cruft
15163
15164         * lyxtext.h: remove !NEW_INSETS cruft
15165
15166         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15167
15168         * lyxfunc.C: remove !NEW_INSETS cruft
15169
15170         * lyxfind.C: remove !NEW_INSETS cruft
15171
15172         * lyx_cb.C: remove !NEW_INSETS cruft
15173
15174         * figureForm.C: remove  !NEW_INSETS cruft
15175
15176         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15177
15178         * buffer.[Ch]: remove !NEW_INSETS cruft
15179
15180         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15181
15182         * CutAndPaste.C: remove !NEW_INSETS cruft
15183
15184         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15185
15186         * BufferView2.C: remove !NEW_INSETS cruft
15187
15188         * BufferView.h: remove !NEW_INSETS cruft
15189
15190 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15191
15192         * Lsstream.h: include LString.h before the sstream headers to
15193         fix problem with gcc 2.95.3 and lyxstring
15194
15195 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * lyx_main.C: add using directives when needed for C functions
15198         declared in std:: namespace.
15199
15200 2001-04-27  Juergen Vigna  <jug@sad.it>
15201
15202         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15203         (SetHeightOfRow): comment out the update call should not be needed!
15204
15205 2001-04-13  Juergen Vigna  <jug@sad.it>
15206
15207         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15208         (LyXTabular): tried to minimize operator= operations (and realized
15209         hopfully Lars wish).
15210
15211 2001-04-27  Juergen Vigna  <jug@sad.it>
15212
15213         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15214
15215 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15218
15219         * buffer.C (readInset): hack to make listof algorithm work
15220
15221         * BufferView_pimpl.C: hack to make listof algorithm work
15222
15223 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15224
15225         * LyXAction.C: removed all !NEW_INSETS cruft
15226         (init): moved lfun_item in method
15227
15228         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15229
15230 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15231
15232         * BufferView2.C (theLockingInset): white space.
15233
15234 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15235
15236         * minibuffer.C: include <iostream>
15237
15238         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15239
15240         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15241
15242         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15243
15244         * text.[Ch] (TransposeChars): new method
15245
15246 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15247
15248         * call message directly through LyXView instead of through LyXFunc
15249         * BufferView2.C: adjust
15250         * BufferView_pimpl.C: adjust
15251         * FontLoader.C: adjust
15252         * buffer.C: adjust
15253         * bufferview_funcs.C: adjust
15254         * converter.C: adjust
15255         * figureForm.C: adjust
15256         * importer.C: adjust
15257         * lyx_cb.C: adjust
15258         * lyx_gui_misc.C: adjust
15259         * lyxfunc.C: adjust
15260         * lyxvc.C: adjust
15261         * text2.C: adjust
15262         + more files in subdirs
15263
15264         * lyxparagraph.h (size): move up int file
15265         (GetLayout): ditto
15266
15267         * adjust all uses of Assert to lyx::Assert.
15268
15269         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15270         lyxfunctional in namespace lyx
15271         * layout.C (hasLayout): ditto
15272         (GetLayout): ditto
15273         (GetLayout): ditto
15274         (delete_layout): ditto
15275         (NumberOfClass): ditto
15276         * converter.C (GetFormat): ditto
15277         (GetNumber): ditto
15278         (Add): ditto
15279         (Delete): ditto
15280         (SetViewer): ditto
15281         * bufferlist.C (getFileNames): ditto
15282         (emergencyWriteAll): ditto
15283         (exists): ditto
15284         (getBuffer): ditto
15285         * MenuBackend.C (hasSubmenu): ditto
15286         (hasMenu): ditto
15287         (getMenu): ditto
15288         * BufferView_pimpl.C (getInsetByCode): ditto
15289
15290 2001-04-18  Juergen Vigna  <jug@sad.it>
15291
15292         * vspace.C (asLatexString): fixed the 100% problem.
15293
15294 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * lyxfunc.C (Dispatch):
15297         * minibuffer.C:
15298         * minibuffer.h: add a few std:: qualifiers
15299
15300 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15301
15302         * minibuffer.[Ch]: reimplement so that commands is initiated and
15303         run from lyxfunc, simplified som handling, and made the completion
15304         and history code for complete. wip.
15305
15306         * lyxfunc.C (processKeySym): call message
15307         (miniDispatch): new temporary method
15308         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15309         (LFUN_MESSAGE): implement
15310         (LFUN_MESSAGE_PUSH): implement
15311         (LFUN_MESSAGE_POP): implement
15312         (initMiniBuffer): the initial/defualt minibuffer message.
15313
15314         * lyxfont.[Ch]: inline some more getters
15315
15316         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15317
15318         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15319
15320         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15321         (AutoSave): use LFUN_MESSAGE
15322         (Reconfigure): ditto
15323
15324         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15325
15326         * figureForm.C: use LFUN_MESSAGE
15327
15328         * converter.C (runLaTeX): use LFUN_MESSAGE
15329
15330         * bufferview_funcs.C: use LFUN_MESSAGE
15331         (Melt): ditto
15332         (changeDepth): ditto
15333
15334         * bufferparams.h: use boost::
15335
15336         * bufferlist.h: inherit privately from noncopyable
15337
15338         * bufferlist.C (loadLyXFile): remove some commented code.
15339
15340         * buffer.C (runChktex): use LFUN_MESSAGE
15341
15342         * ShareContainer.h: inherit privately from noncopyable
15343
15344         * ParagraphParameters.[hC] (depth): inline it.
15345
15346         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15347         methods.
15348         (message): new method
15349         (messagePush): ditto
15350         (messagePop): ditto
15351         (show): init minibuffer
15352         (showState): direct call
15353
15354         * LaTeX.[Ch]: inherit privately from noncopyable
15355         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15356         instead of WriteStatus.
15357
15358         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15359
15360         * BufferView_pimpl.C (buffer): don't init minibuffer
15361         (workAreaButtonPress): use LFUN_MESSAGE
15362         (workAreaButtonRelease): ditto
15363         (savePosition): ditto
15364         (restorePosition): ditto
15365         (MenuInsertLyXFile): ditto
15366         (workAreaExpose): don't init minibuffer
15367         (update): remove commented code, simplify
15368
15369         * BufferView2.C (openStuff): use LFUN_MESSAGE
15370         (toggleFloat): ditto
15371         (menuUndo): ditto
15372         (menuRedo): ditto
15373         (copyEnvironment): ditto
15374         (pasteEnvironment): ditto
15375         (copy): ditto
15376         (cut): ditto
15377         (paste): ditto
15378         (gotoInset): ditto
15379         (updateInset): remove some commented code
15380
15381         * lastfiles.h: inherit privately from noncopyable
15382         * layout.h: ditto
15383         * lyx_gui.h: ditto
15384         * lyx_main.h: ditto
15385         * lyxlex.h: ditto
15386         * lyxlex_pimpl.h: ditto
15387
15388         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15389         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15390         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15391
15392         * LyXAction.h: inherit privately from noncopyable, add methods
15393         func_begin, func_end, returning iterators to the func map.
15394
15395         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15396         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15397         (func_begin): new method
15398         (func_end): new method
15399
15400         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15401         and not)
15402         (copySelection): ditto
15403         (pasteSelection): ditto
15404
15405         * BufferView.C: whitespace change
15406         * BufferView.h: inherit privately from noncopyable
15407
15408 2001-04-16  Allan Rae  <rae@lyx.org>
15409
15410         * tabular-old.C (l_getline):
15411         * spellchecker.C (sc_check_word):
15412         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15413         an unrecognised preprocessor directive.  So ensure they're wrapped.
15414
15415 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15416
15417         * src/exporter.C (Export): Give an error message when path to file
15418         contains spaces.
15419
15420 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15421
15422         * LaTeX.C (deplog): Always check that foundfile exists.
15423
15424 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * lyx_main.h:
15427         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15428
15429 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * tabular.[Ch] (getLabelList): implement new method
15432
15433         * minibuffer.h: comment ouf setTiimer
15434
15435         * minibuffer.C (ExecutingCB): constify res
15436         (peek_event): constify s
15437         (Set): constify ntext
15438         (Init): constify nicename
15439
15440         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15441
15442         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15443         (savePosition): use two params to Minibuffer::Set
15444         (restorePosition): ditto
15445
15446 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * lyx_main.C: include language.h
15449
15450         * Makefile.am (lyx_main.o): add language.h
15451
15452 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * exporter.C:
15455         * paragraph.C:
15456         * screen.C:
15457         * tabular.C:
15458         * CutAndPaste.C: include gettext.h
15459
15460         * lyxfont.h: remove old hack with ON and OFF.
15461
15462         * lyxparagraph.h:
15463         * lyxfont.h: do not include language.h...
15464
15465         * BufferView2.C:
15466         * LaTeXFeatures.C:
15467         * Painter.C:
15468         * bufferview_funcs.C:
15469         * font.C:
15470         * lyxfont.C:
15471         * text.C:
15472         * text2.C:
15473         * trans_mgr.C:
15474         * paragraph.C: ... but do it here instead
15475
15476 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15477
15478         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15479
15480         * tabular.C: small reformat
15481
15482         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15483         NEW_INSETS version
15484         (GetChar): ditto
15485         (BreakParagraph): ditto
15486         (SetOnlyLayout): ditto
15487         (SetLayout): ditto
15488
15489         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15490         with one arg less.
15491
15492         * lastfiles.C: removed most using decl, add std:: where needed
15493
15494         * buffer.C: ws changes
15495
15496         * MenuBackend.C (class compare_format): put into anon namespace
15497         (expand): constify label, names, action, action2
15498         (expand):
15499
15500         * text.C (SingleWidth): constify font
15501         (IsBoundary): constify rtl2
15502         (GetVisibleRow): constify ww
15503
15504         * LaTeX.C (deplog): constify logfile
15505
15506         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15507         start_x, end_x
15508         (workAreaExpose): constify widthChange, heightChange
15509
15510         * lyxrow.C (par): moved
15511         (height): moved
15512         (next): moved
15513         * lyxrow.h: as inlines here
15514
15515         * lyxfont.h (shape): moved from lyxfont.C
15516         (emph): moved from lyxfont.C
15517
15518         * lyxfont.C (LyXFont): use initialization list for all
15519         constructors
15520         (shape): move to lyxfont.h as inline
15521         (emph): move to lyxfont.h as inline
15522
15523
15524 2001-04-04  Juergen Vigna  <jug@sad.it>
15525
15526         * vspace.C: had to include stdio.h for use of sscanf
15527
15528 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15529
15530         * BufferView.h:
15531         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15532         independent of xforms.
15533
15534 2001-04-02  Juergen Vigna  <jug@sad.it>
15535
15536         * spellchecker.C: fixed namespace placing!
15537
15538 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15541         the LyXParagraph * is 0.
15542
15543 2001-03-29  Juergen Vigna  <jug@sad.it>
15544
15545         * vspace.C: added support for %, c%, p%, l%.
15546         (stringFromUnit): added helper function.
15547         (asLatexString): changed to give right results for the %-values.
15548
15549         * buffer.C: convert the widthp in a width%.
15550
15551 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15554         figureForm.[Ch].
15555
15556         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15557         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15558
15559         * lyx_cb.[Ch]: see above.
15560
15561         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15562         form1.[Ch].
15563
15564         * form1.[Ch]:
15565         * lyx.[Ch]: replaced by figure_form.[Ch].
15566
15567         * lyx_gui.C:
15568         * lyx_gui_misc.C:
15569         * lyxfunc.C: changed headers associated with above changes.
15570
15571 2001-03-27  Juergen Vigna  <jug@sad.it>
15572
15573         * BufferView_pimpl.C: set the temporary cursor right!
15574
15575 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15578
15579 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15580
15581         * LString.h: removed "using std::getline"!
15582
15583         * BufferView_pimpl.C (Dispatch): changes due to changes in
15584         InsetInclude::Params.
15585
15586         * buffer.C (tag_name): removed redundant break statements as they were
15587         producing lots of warnings with my compiler.
15588
15589 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * LString.h: add "using std::getline" when using the real <string>.
15592
15593 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15594
15595         * buffer.C: removed bitset usage.
15596         PAR_TAG moved to an anonymous name space.
15597         (tag_name): new funtion, also in the anonymous namespace.
15598         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15599         (makeDocBookFile): clean code. Completed transition from string arrays
15600         to string vectors.
15601         (SimpleDocBookOnePar): code clean.
15602
15603 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15604
15605         * tabular.C: add some comments.
15606
15607 2001-03-22  Juergen Vigna  <jug@sad.it>
15608
15609         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15610         compatibility read a bit and fixed bug with minipage in different
15611         depth.
15612
15613 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15614
15615         * buffer.C (pop_tag): removed.
15616         (push_tag): removed.
15617         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15618         array replaced with vector. Added support for CDATA sections.
15619         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15620         at any nest level.
15621         (makeDocBookFile): XML conformant declaration of CDATA section,
15622         fixed bug related to <emphasis> in the first paragraph char.
15623         (sgmlOpenTag): exclude empty tags.
15624         (sgmlCloseTag): ditto.
15625
15626         * buffer.h (pop_tag): removed.
15627         (push_tag): removed.
15628
15629 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * language.h (Languages): added size_type and size().
15632
15633 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15634
15635         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15636         response on compability reading of minipages. One probliem is that
15637         the old usage of minipages was «flertydig»
15638
15639         * several files here and in subdirs: don't use static at file
15640         scope use anon namespaces instead.
15641
15642 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15643
15644         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15645         LaTeX output. This is necessary for Literate document
15646         processing.
15647
15648 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15649
15650         * buffer.C: insert hfill when needed.
15651
15652         * tabular.C (l_getline): use string::erase, small whitespace change.
15653
15654         * BufferView_pimpl.C: try the anon namespace.
15655         * WorkArea.C: ditto
15656
15657 2001-03-16  Juergen Vigna  <jug@sad.it>
15658
15659         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15660         otherwise it won't open options-dialogs.
15661
15662         * buffer.C: honor pextraWidth(p) on converting minipages.
15663
15664         * tabular.C (l_getline): changed the functions to strip trailing \r.
15665
15666 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * BufferView_pimpl.C:
15669         * minibuffer..C: added "using SigC::slot" declaration.
15670
15671 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15672
15673         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15674
15675         * text2.C: ditto
15676
15677         * text.C: ditto
15678
15679         * paragraph.C: ditto
15680
15681         * lyxtext.h: NO_PEXTRA
15682
15683         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15684
15685         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15686         * ParameterStruct.h: ditto
15687         * ParagraphParameters.h: ditto
15688         * lyxparagraph.h: ditto
15689
15690 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15691
15692         * buffer.C: add compability for minipage alignment.
15693         (latexParagraphs): remove unwanted pextra check.
15694
15695         * several files: remove CXX_WORKING_NAMESPACES
15696
15697         * buffer.C (pop_tag): tie is in namespace boost
15698
15699         * BufferView.h: noncopyable is in namespace boost
15700         * lyxlex.h: ditto
15701         * lyx_main.h: ditto
15702         * lyx_gui.h: ditto
15703         * layout.h: ditto
15704         * lastfiles.h: ditto
15705         * bufferlist.h: ditto
15706         * ShareContainer.h: ditto
15707         * LyXView.h: ditto
15708         * LyXAction.h: ditto
15709         * LaTeX.h: ditto
15710
15711 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15712
15713         * Merging changes from BRANCH_MVC back into HEAD.
15714
15715         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15716
15717 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15718
15719         * BufferView_pimpl.C: change from intl.C
15720
15721         * combox.h:
15722         * combox.C:
15723         * Makefile.am: move combox.*
15724
15725         * form1.h:
15726         * form1.C:
15727         * lyx_gui.C:
15728         * intl.h:
15729         * intl.C: remove dialog (covered by prefs)
15730
15731 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15732
15733         * lyxfunc.C (Dispatch): removed redundant break statement.
15734
15735 2001-03-14  Juergen Vigna  <jug@sad.it>
15736
15737         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15738
15739 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15740
15741         * buffer.C: add hack to fix compability reading of minipages.
15742
15743 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15744
15745         * buffer.C (getLists): Cleanup.
15746
15747 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15748
15749         * lyxfont.C (update): don't honor toggleall on font size.
15750
15751 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15752
15753         * bmtable.c:
15754         * bmtable.h:
15755         * Makefile.am: moved to frontends/xforms/
15756
15757         * lyx_gui_misc.C:
15758         * lyxfunc.C:
15759         * BufferView_pimpl.C: changes for moved mathpanel
15760
15761 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15762
15763         * gettext.h: fix gettext_init() in --disable-nls
15764
15765 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15768
15769 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15770
15771         * lyx.C:
15772         * lyx.h: strip external form
15773
15774 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15775
15776         * BufferView_pimpl.C: add comment, destroySplash()
15777
15778 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * BufferView_pimpl.C:
15781         * LyXAction.C:
15782         * buffer.C:
15783         * commandtags.h:
15784         * lyxfunc.C: use re-worked insetinclude
15785
15786 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15787
15788         * buffer.C: add using std::stringstream.
15789
15790         * lyx_cb.C: readd using std::ios.
15791
15792         * buffer.C: add using std::map.
15793
15794         * BufferView_pimpl.C: add using std::vector.
15795
15796         * ShareContainer.h: add std:: to swap.
15797
15798         * buffer.h: add some typedefs
15799         * buffer.C (getLists): use them
15800         (getLists): renamed from getTocList.
15801         add a counter for the different float types and use it in the
15802         generated string.
15803         (getLists): use the same counter for the NEW_INSETS and the "non"
15804         NEW_INSETS
15805
15806         * lyx_cb.h: remove unused items, includes, using etc.
15807
15808         * ShareContainer.h: remove some commented code, add more comments
15809         and "documentation".
15810
15811 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15812
15813         * buffer.C (getTocList): make the list also when NEW_INSETS is
15814         defined.
15815
15816         * buffer.h: remove TocType
15817
15818         * buffer.C (getTocList): change to return a map<string,
15819         vector<TocItem> >, implement for dynamic number of list.
15820
15821         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15822         * text2.C (PasteSelection): adjust
15823         * CutAndPaste.C (pasteSelection): adjust
15824
15825         * FloatList.C (FloatList): update from the new_insets branch.
15826         * Floating.[Ch]: ditto
15827         * LaTeXFeatures.C: ditto
15828         * buffer.C: ditto
15829         * lyxlex_pimpl.C: ditto
15830
15831         * paragraph.C (Last): remove when NEW_INSETS is defined.
15832
15833         * other file: changes because of the above.
15834
15835 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15836
15837         * lyxparagraph.h: rename next to next_, previous to previous_,
15838         make them private for NEW_INSETS. Rename Next() to next(),
15839         Previous() to previous().
15840
15841         * other files: changes because of the above.
15842
15843 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15844
15845         * BufferView.h:
15846         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15847         problem.
15848
15849 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15850
15851         * main.C (main): pass lyx_localedir to gettext_init().
15852
15853         * gettext.h: remove locale_init and gettext_init macros
15854
15855         * gettext.C (locale_init): new function
15856         (gettext_init): new function
15857
15858         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15859         setlocale().
15860
15861 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15862
15863         * Moved credits to frontends:
15864         * credits.[Ch]: removed
15865         * credits_form.[Ch]: removed
15866         * lyx_gui_misc.C: remove credits stuff
15867         * Makefile.am:
15868
15869 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15870
15871         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15872
15873         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15874         unneeded destructor.
15875
15876         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15877         a standalone pointer again.
15878
15879         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15880
15881 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15882
15883         * Makefile.am:
15884         * filedlg.h:
15885         * filedlg.C:
15886         * LyXAction.C:
15887         * ToolbarDefaults.C:
15888         * bufferlist.C:
15889         * commandtags.h:
15890         * form1.C:
15891         * form1.h:
15892         * lyx_cb.C:
15893         * lyx_cb.h:
15894         * lyxfunc.h:
15895         * lyxfunc.C:
15896         * BufferView_pimpl.C: use new file dialog in GUII
15897
15898         * lyx_cb.h:
15899         * lyx_cb.C: remove LayoutsCB to Toolbar
15900
15901 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * ShareContainer.h (get): add std:: qualifier
15904
15905 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * ShareContainer.h: define a proper ShareContainer::value_type
15908         type (and use typename to please compaq cxx)
15909
15910 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15911
15912         * lyxparagraph.h: move serveral local vars to
15913         ParameterStruct/ParagraphParameters., use ShareContainer in
15914         FontTable., make vars in FontTable private and add getter and
15915         setter.
15916
15917         * paragraph.C: changes because of the above.
15918
15919         * lyxfont.h: remove copy constructor and copy assignment. (the
15920         default ones is ok), move number inside FontBits. move inlines to
15921         lyxfont.C
15922
15923         * lyxfont.C: add number to initializaton of statics, move several
15924         inlines here. constify several local vars. some whitespace
15925         cleanup. Dont hide outerscope variables.
15926
15927         * Spacing.h: add two new constructors to match the set methods.
15928
15929         * ShareContainer.h: new file, will perhaps be moved to support
15930
15931         * ParameterStruct.h: new file
15932
15933         * ParagraphParameters.h: new file
15934
15935         * ParagraphParameters.C: new file
15936
15937         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15938         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15939
15940         * BufferView_pimpl.C: ParagraphParameter changes.
15941         * buffer.C: Likewise.
15942         * bufferview_funcs.C: Likewise.
15943         * text.C: Likewise.
15944         * text2.C: Likewise.
15945
15946 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * lyxfind.C (LyXReplace): do not redefine default argument in
15949         implementation.
15950         (IsStringInText): ditto
15951         (SearchForward): ditto
15952         (SearchBackward): ditto
15953
15954 2001-03-06  Juergen Vigna  <jug@sad.it>
15955
15956         * lyxfind.C (IsStringInText): put parentes around expressions.
15957
15958 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15959
15960         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15961
15962 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15963
15964         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15965
15966         * stl_string_fwd.h: add comment
15967
15968         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15969
15970         * tabular.h:
15971         * tabular.C: remove unused DocBook methods
15972
15973         * intl.C:
15974         * language.C:
15975         * paragraph.C:
15976         * buffer.C:
15977         killed DO_USE_DEFAULT_LANGUAGE
15978
15979 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15980
15981         * lyx_gui.C: do not include language.h.
15982
15983         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15984         arguments in function implementation.
15985
15986 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15987
15988         * BufferView_pimpl.C: add <ctime>
15989
15990 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15991
15992         * BufferView_pimpl.C: add using std::find_if
15993
15994 2001-02-27  José Matos  <jamatos@fep.up.pt>
15995
15996         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15997         by OnlyPath.
15998
15999 2001-02-11  José Matos  <jamatos@fep.up.pt>
16000
16001         * buffer.C (makeDocBookFile): command styles now have a parameter as
16002         "title" by default.
16003
16004 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16005
16006         * layout_forms.[Ch]: removed
16007         * lyx_cb.[Ch]: out character
16008         * lyx_gui.C: out character
16009         * lyx_gui_misc.C: out character
16010         * bufferview_funcs.C: : out character,
16011         added toggleall as parameter in ToggleAndShow
16012
16013 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16014
16015         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16016
16017         * text2.C (SetCurrentFont): Disable number property at boundary.
16018
16019 2001-02-26  Juergen Vigna  <jug@sad.it>
16020
16021         * lyxfunc.C (getStatus): added a string argument override function so
16022         that this is correctly called from LyXFunc::Dispatch if it contains a
16023         do_not_use_argument which is used!
16024         (Dispatch): added check for "custom" export and call appropriate func.
16025
16026 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16027
16028         * lyxrc.C: Add language_command_local, language_use_babel and
16029         language_global_options.
16030
16031         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16032
16033         * buffer.C (makeLaTeXFile): Use language_use_babel and
16034         language_global_options.
16035
16036 2001-02-23  Juergen Vigna  <jug@sad.it>
16037
16038         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16039         which works with LyXText and putted it inside BufferView. Here now we
16040         only call for that part the BufferView::Dispatch() function.
16041
16042         * BufferView.C (Dispatch): added.
16043
16044         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16045         functions which needs to use a LyXText over from LyXFunc.
16046         (MenuInsertLyXFile): added
16047         (getInsetByCode): added
16048         (moveCursorUpdate): added
16049         (static TEXT): added
16050
16051 2001-02-22  Juergen Vigna  <jug@sad.it>
16052
16053         * BufferView_pimpl.C (update): call a status update to see if LyXText
16054         needs it.
16055
16056 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16057
16058         * vc-backend.C (revert): implement for CVS
16059         (getLog): implement for CVS
16060
16061 2001-02-20  Juergen Vigna  <jug@sad.it>
16062
16063         * text2.C (ClearSelection): added BufferView param for inset_owner call
16064
16065         * lyxfunc.C (TEXT): added this function and use it instead of
16066         directly owner->view()-text of getLyXText().
16067
16068 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16069
16070         * src/layout_forms.C: out preamble
16071         * src/layout_forms.h: out preamble
16072         * src/lyx_cb.C: out preamble
16073         * src/lyx_cb.h: out preamble
16074         * src/lyx_gui.C: out preamble
16075         * src/lyx_gui_misc.C: out preamble
16076         * src/lyxfunc.C: connect with guii preamble
16077
16078 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16079
16080         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16081
16082 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16083
16084         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16085         whether to run bibtex.
16086
16087 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16088
16089         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16090
16091 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16092
16093         * Makefile.am (lyx_SOURCES): removed bibforms.h
16094
16095         * vspace.h: doxygen
16096
16097         * text.C (GetVisibleRow): make several local vars const
16098
16099         * tabular.C: small cleanup.
16100
16101         * lyxserver.C (callback): use compare instead of strncmp
16102
16103         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16104         inlines to after class or to paragraph.C
16105
16106         * lyxfont.h: remove friend operator!=
16107
16108         * converter.h: move friend bool operator< to non friend and after
16109         class def.
16110
16111         * combox.h: small cleanup
16112
16113         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16114         to inlines after class def.
16115
16116         * buffer.C (pop_tag): use string operations instead of strcmp
16117
16118         * bmtable.c: doxygen, small cleanup
16119
16120         * LaTeX.h: remove friend operator==
16121
16122 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16123
16124         * screen.C:
16125         * lyxrc.[Ch]:
16126         * lyxfunc.C:
16127         * lyxfont.[Ch]:
16128         * lyx_cb.C:
16129         * intl.[Ch]:
16130         * commandtags.h:
16131         * buffer.C:
16132         * WorkArea.[Ch]:
16133         * LyXAction.C:
16134         * BufferView_pimpl.C:
16135         * BufferView.[Ch]: remove cruft
16136
16137 2001-02-14  Juergen Vigna  <jug@sad.it>
16138
16139         * lyxfunc.C: removed #if 0 unused code
16140
16141         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16142
16143         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16144
16145         * text2.C (SetSelection): added a BufferView * parameter
16146
16147 2001-02-13  Juergen Vigna  <jug@sad.it>
16148
16149         * lyxfunc.C (Dispatch): fixed protected blank problem.
16150         * BufferView2.C (protectedBlank): added LyxText * parameter.
16151
16152         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16153         (AppendColumn): same as above for column_info.
16154
16155         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16156         (moveCursorUpdate): use a LyXText param for support of InsetText.
16157
16158         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16159         (tripleClick): ditto
16160
16161         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16162
16163         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16164
16165         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16166
16167         * text2.C (SetSelection): set correct update status if inset_owner
16168         (ToggleFree): ditto
16169
16170 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16171
16172         * tabular.C: remove some commented code.
16173
16174 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16175
16176         * BufferView_pimpl.C: call hideSplash()
16177
16178         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16179
16180         * include_form.h:
16181         * bibforms.h: remove
16182
16183         * lyxfunc.C:
16184         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16185           add LFUN_CHILD_CREATE
16186
16187         * counters.h: fix tiny typo
16188
16189         * lyx_cb.C:
16190         * lyx.h:
16191         * lyx_gui.C:
16192         * lyx.C: move splash to frontends/xforms/
16193
16194         * lyx_gui_misc.C: move Include and Bibform to frontends
16195
16196         * lyxvc.h: clarify comment
16197
16198         * vspace.C: tiny housekeeping
16199
16200 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16201
16202         * text.C (PrepareToPrint): RTL Fix.
16203
16204         * paragraph.C (GetUChar): New method.
16205         (String):  Use GetUChar.
16206
16207         * buffer.C (asciiParagraph): Use GetUChar.
16208
16209 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16210
16211         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16212
16213 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16214
16215         * buffer.h:
16216         * buffer.C: rename to getLogName(), handle
16217           build log / latex log nicely
16218
16219 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * MenuBackend.C:
16222         * MenuBackend.h: remove support for reference menuitem type.
16223
16224 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16225
16226         * BufferView_pimpl.C: housekeeping
16227         * BufferView_pimpl.h:
16228         * LyXView.h:
16229         * Makefile.am:
16230         * Timeout.C:
16231         * Timeout.h:
16232         * minibuffer.h: move Timeout GUI-I
16233
16234 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16235
16236         * lyxrc.C (read): Update converters data-structures.
16237
16238 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16239
16240         * LaTeX.h (operator!=): add operator != for Aux_Info
16241
16242 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16243
16244         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16245
16246         * LaTeXLog.C: deleted, useful code moved to Buffer
16247
16248         * buffer.h:
16249         * buffer.C: new function getLatexLogName()
16250
16251         * lyx_gui_misc.C:
16252         * lyx_gui.C:
16253         * lyxvc.C:
16254         * lyxvc.h:
16255         * lyxfunc.C: use frontends for LaTeX and VC logs
16256
16257 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16258
16259         * LaTeX.h: yet another std:: that Allan forgot.
16260
16261         * Variables.C (set): renamed from isset(), because this clashes
16262         with some HP-UX macros (grr).
16263
16264 2001-02-06  Allan Rae  <rae@lyx.org>
16265
16266         * LaTeX.h: Another bug fix.  Missing std:: this time.
16267
16268 2001-02-04  Allan Rae  <rae@lyx.org>
16269
16270         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16271         floats problem. I've left it commented out because it's not quite
16272         correct.  It should also test that the current object is a table or
16273         figure inset.  But I haven't gotten around to figuring out how to do
16274         that.  I *think* it'll be something like: "table" == inset.type()
16275
16276         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16277         bool.
16278
16279 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16280
16281         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16282         all the citation/databases/styles in the auxilary file.
16283         (run): Rerun latex if there was a babel language error.
16284
16285 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * text.C (Backspace): Preserve the font when changing newline char
16288         with a space.
16289         (BreakParagraph): If the cursor is before a space, delete the space.
16290
16291         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16292
16293 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16296         new argument (code).
16297         (ChangeCitationsIfUnique): New method.
16298
16299         * paragraph.C (GetPositionOfInset): Handle bibkey.
16300
16301 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16302
16303         * BufferView_pimpl.h: change type of Position::par_pos to
16304         LyXParagraph::size_type.
16305
16306 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * BufferView_pimpl.C (savePosition, restorePosition): Write
16309         messages to minibuffer.
16310
16311 2001-01-28  José Matos  <jamatos@fep.up.pt>
16312
16313         * buffer.C (makeDocBookFile): adds support for document language.
16314         A silly restriction on the name of LatexCommand types where removed.
16315         Added support for CDATA sections, allows to chars unescaped, used
16316         among others in code, to avoid escape < and >.
16317
16318 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16319
16320         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16321         saved positions instrad of a stack. Furthermore, a position is
16322         stored using paragraph id/paragraph position.
16323
16324         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16325         Remove LFUN_REF_BACK.
16326
16327 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16328
16329         * converter.C (dvipdfm_options): New method.
16330
16331 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16332
16333         * vspace.C (isValidLength): Fix for empty input string.
16334
16335 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * LyXAction.C (init): change description of LFUN_FIGURE to
16338         "Insert Graphics"
16339
16340 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * LaTeX.C: add using directive
16343
16344 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16345
16346         * MenuBackend.C (expand): Fix the sorting of the formats.
16347
16348 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16349
16350         * lyx_main.C: tiny error message fix
16351
16352 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16355         calling fl_initialize(). This fixes the problem with ',' as
16356         decimal separator in text files.
16357
16358 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16359
16360         * trans.C (process): Fix the keymap bug.
16361
16362 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16363
16364         * LaTeX.C (scanAuxFiles): New method. Provides support for
16365         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16366         (scanLogFile) Scan for "run BibTeX" messages.
16367
16368         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16369         OT1 font encoding. Also, load the aecompl package if the ae
16370         package is loaded.
16371
16372         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16373
16374 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * texrow.C (increasePos): turn two error messages into debug
16377         messages.
16378
16379 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * LaTeX.C (scanAux): Handle the \@input macro.
16382         (runBibTeX): Use scanAux().
16383
16384         * language.C (latex_options_): New field.
16385
16386         * LaTeXFeatures.C (getMacros): Add language macros.
16387
16388         * buffer.C (makeLaTeXFile): Small fix.
16389
16390 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16393
16394         * text2.C: add a using directive.
16395
16396 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16397
16398         * BufferView2.C:
16399         * lyx_gui_misc.h:
16400         * lyxfr1.C:
16401         * lyxfunc.C: kill LyXBell.
16402
16403 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16404
16405         * text.C (IsBoundary): Remove the error message
16406
16407         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16408
16409         * lyxrc.C (setDefaults): Correct initialization value for
16410         font_norm_type.
16411
16412 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16413
16414         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16415         gotoError().
16416
16417         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16418         and GotoNextNote().
16419
16420         * src/LyXAction.C: Added reference-next.
16421
16422         * text.C (InsertChar): Use contains instead of strchr.
16423
16424         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16425
16426 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16427
16428         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16429         alignment commands (when needed).
16430
16431         * text.C (InsertChar): Add ':' to number separator chars.