]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3a613996446877a92b20748c78f3521321cadb45
[lyx.git] / src / ChangeLog
1
2 2004-02-03  André Pönitz  <poenitz@gmx.net>
3
4         * BufferView.C:
5         * cursor.[Ch]: some additional asserts
6
7         * undo.[Ch]: remove LyXText dependency in interface
8
9         * lyxfunc.C: adjust
10
11         * lyxtext.h (firstPar, lastPar): remove dead functions 
12
13         * text.C:
14         * text2.C:
15         * text3.C:
16         * paragraph.[Ch]: adjust
17
18 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * lyxfind.C (find): fix argument order in call to ::find
21
22 2004-02-02  André Pönitz  <poenitz@gmx.net>
23
24         * cursor.[Ch]: remove direct access to anchor
25
26         * text.C: remove findText() hack
27
28 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
29
30         * iterators.[Ch] (lockPath): remove in favour of...
31         * BufferView.[Ch] (setCursor): this addition
32         * BufferView.C (putSelectionAt): adjust
33         * undo.C (performUndoOrRedo): adjust
34         * lyxfunc.C (dispatch): adjust
35
36 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
37
38         * iterators.C (lockPath): add a missing slice
39         * undo.C (performUndoOrRedo): remove redundant positioning code
40
41 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
42
43         * vc-backend.C (scanMaster): ";" -> ';'
44
45 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
46
47         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
48         std::binary_function
49
50         * lyxtextclass.C (compare_name): rename to...
51         (LayoutNamesEqual): ...this
52
53         * lyxlex_pimpl.C (compare_tags): inherit from
54         std::binary_function, put back into anon namespace
55
56         * lyxfind.C (MatchString): inherig from std::binary_function
57         (findChange): use empty() istead of !size()
58
59         * format.C (FormatNamesEqual): new functor
60         (getFormat): use it
61         (getNumber): use it
62         (add): use it
63         (erase): use it
64         (setViewer): use it
65
66         * converter.C (compare_Converter): rename to...
67         (ConverterEqual): ...this, and fixup a bit.
68         (getConverter): use it, and make function const
69         (getNumber): use it, and make function const
70         (add): use it
71         (erase): use it:
72
73         * bufferlist.C: add using boost::bind
74
75         * MenuBackend.C (MenuNamesEqual): new functor
76         (hasMenu): use it, and make function const
77         (hasSubmenu): use nested bind to get rid of compare_memfun.
78
79 2004-01-30  André Pönitz  <poenitz@gmx.net>
80
81         * BufferView_pimpl.C:
82         * cursor.C:
83         * cursor.h:
84         * cursor_slice.[Ch]:
85         * lyxfunc.C:
86         * lyxtext.h:
87         * paragraph_funcs.C:
88         * paragraph_funcs.h:
89         * rowpainter.C:
90         * text.C:
91         * text2.C:
92         * text3.C: move some of the edit(x,y) handling to the insets
93         some coordinate changes.
94
95 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
96
97         * text.C: add using statements for std::advance and std::distance
98
99         * paragraph.C: add using statement for std::distance
100
101         * lyxfind.C: add using statement for std::advance
102
103         * cursor.C (region): remove std:: from swap
104         (openable): use nucleus in stead of operator->
105
106         * BufferView.C: add using statements for std::distance and std::swap
107
108 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
109
110         * iterators.C: Remove the pimple, move the needed structures to
111         the header file. Create accessor for the positions stack.
112         (asPosIterator): remove function
113
114         * PosIterator.C (PosIterator): move constructors to top of file
115         (PosIterator): reimplement the constructor taking a ParIterator in
116         terms of setFrom.
117         (setFrom): new function
118         (operator!=): inline it
119
120 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * lyxfind.C (replaceAll): use std::advance
123
124         * iterators.h: inherit from std::iterator.
125
126         * PosIterator.C (advance, distance): remove
127         * PosIterator.h: interit from std::iterator.
128
129 2004-01-26  André Pönitz  <poenitz@gmx.net>
130
131         * BufferView.[Ch]:
132         * BufferView_pimpl.[Ch]:
133         * InsetList.[Ch]:
134         * PosIterator.[Ch]:
135         * buffer.h:
136         * bufferview_funcs.C:
137         * cursor.[Ch]:
138         * cursor_slice.h:
139         * factory.[Ch]:
140         * iterators.[Ch]:
141         * lyxfind.C:
142         * lyxfunc.C:
143         * lyxtext.h:
144         * output_docbook.C:
145         * output_latex.C:
146         * output_linuxdoc.C:
147         * output_plaintext.C:
148         * paragraph.[Ch]:
149         * paragraph_funcs.[Ch]:
150         * paragraph_pimpl.[Ch]:
151         * rowpainter.C:
152         * tabular.C:
153         * tabular.h:
154         * text.C:
155         * text2.C:
156         * text3.C: more IU:  dumps most of the rest of the mathcursor
157     implementation into cursor.[Ch]; "globalize" a bit of it.
158
159 2004-01-25  Angus Leeming  <leeming@lyx.org>
160
161         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
162
163 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * LaTeXFeatures.h: add nice_ and nice() const
166         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
167
168 2004-01-20  André Pönitz  <poenitz@gmx.net>
169
170         * BufferView.[Ch]:
171         * BufferView_pimpl.C:
172         * PosIterator.C:
173         * bufferview_funcs.C:
174         * cursor.[Ch]:
175         * cursor_slice.[Ch]:
176         * factory.C:
177         * iterators.C:
178         * lyx_cb.C:
179         * lyxfind.C:
180         * lyxfunc.C:
181         * lyxtext.h:
182         * rowpainter.C:
183         * text.C:
184         * text2.C:
185         * text3.C:
186         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
187           LCursor and mathcursor parts to LCursor and InsetBase.
188
189 2004-01-15  André Pönitz  <poenitz@gmx.net>
190
191         * cursor_slice.[Ch]: add a few covienience functions
192
193         * funcrequest.[Ch]: remove BufferView * member
194
195         * BufferView_pimpl.C:
196         * cursor.C:
197         * factory.[Ch]:
198         * lyxfind.[Ch]:
199         * lyxfunc.C:
200         * lyxtext.h:
201         * text3.C:
202         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
203
204 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
207         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
208
209 2004-01-13  André Pönitz  <poenitz@gmx.net>
210
211         * textcursor.[Ch]:
212         * lyxtext.h: hide cursor and selection anchor behind accessor function
213
214         * BufferView.C:
215         * BufferView_pimpl.[Ch]:
216         * PosIterator.C:
217         * bufferview_funcs.C:
218         * cursor.h:
219         * lyxfind.C:
220         * lyxfunc.C:
221         * text.C:
222         * text2.C:
223         * text3.C:
224         * undo.C: adjust
225
226         * cursor.h:
227         * cursor_slice.[Ch]: some integer type changes for inset unification
228
229         * lyxcursor.[hC]: remove, it's CursorSlice now.
230
231         * Makefile.am:
232         * BufferView_pimpl.[Ch]:
233         * bufferview_funcs.C:
234         * cursor_slice.C:
235         * lyxtext.h:
236         * text.C:
237         * text2.C:
238         * text3.C:
239         * textcursor.[Ch]: adjust
240
241 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * text2.C (undoSpan): add and use
244         * text.C (breakParagraph): use undoSpan (fix bug 578)
245         * lyxtext.h: adjust
246
247 2004-01-08  Angus Leeming  <leeming@lyx.org>
248
249         * BufferView_pimpl.C (MenuInsertLyXFile):
250         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
251         * lyxfunc.C (menuNew, open, doImport):
252         FileFilterList change to the FileDialog open and save functions.
253
254 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * ShareContainer.h: make isEqual and isUnique adaptable
257
258         * CutAndPaste.C: make resetOwnerAndChanges adaptable
259
260 2004-01-07  Angus Leeming  <leeming@lyx.org>
261
262         * LyXAction.C:
263         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
264
265         * BufferView_pimpl.C (dispatch): act on these LFUNs.
266
267         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
268         functions replacing find, replace and replaceAll.
269
270         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
271         LFUN_WORDFIND(FORWARD|BACKWARD).
272
273 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * text.C (breakParagraph): remove an outdated #warning
276
277 2004-01-07  André Pönitz  <poenitz@gmx.net>
278
279         * lyxfind.C: somewhat clearer logic
280
281         * text.C: prevent crash in cursorX on unitialized row cache
282
283 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * lyxcursor.[Ch] (operator>): add
286         * textcursor.C (selStart, selEnd): use std::min and std::max
287
288 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
289
290         * Chktex.C: include boost/format.hpp
291
292 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
293
294         * InsetList.C: replace functor MathcIt with adaptable functor
295         InsetTablePosLess
296         (insetIterator): modify accordingly
297
298         * BranchList.h: move the BranchNamesEqual functor here from...
299         * BranchList.C: ... to here
300
301         * BranchList.C: new BranchListEqual fuctor, use it. Remove
302         SameName and match.
303         (add): replace a finding loop with std::find_if.
304
305 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
306
307         * output_docbook.C: moving LatexParam functionality into
308         .layout files
309
310 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * buffer.C: increment format to 229.
313
314 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
315
316         * LaTeXFeatures.C:
317         * lyx_sty.[Ch]: remove minipageindent_def
318
319         * LyXAction.C:
320         * factory.C:
321         * lfuns.h:
322         * lyxfunc.C:
323         * text3.C: remove LFUN_INSET_MINIPAGE
324
325 2003-12-28  Angus Leeming  <leeming@lyx.org>
326
327         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
328
329 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * text2.C (setParagraph): fix off-by-one crash
332
333 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * output_docbook.C: header stuff for AGU
336
337 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
338
339         * text2.C (redoCursor): remove
340         * text.C:
341         * text3.C:
342         * BufferView_pimpl.C: remove calls to redoCursor and
343         setCursor(cursor.par(), cursor.pos()) all around
344
345 2003-12-15  Angus Leeming  <leeming@lyx.org>
346
347         * buffer.C: up the format to 228.
348
349 2003-12-15  André Pönitz  <poenitz@gmx.net>
350
351         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
352         slices
353
354         * Makefile.am:
355
356         * BufferView_pimpl.C:
357         * cursor.[Ch]:
358         * lyxcursor.[Ch]:
359         * rowpainter.[Ch]:
360         * lyxtext.h:
361         * text.C:
362         * text2.C:
363         * text3.C: adjust
364
365 2003-12-15  Angus Leeming  <leeming@lyx.org>
366
367         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
368         than getFromGUIName to manipulate the color.
369
370 2003-12-14  Angus Leeming  <leeming@lyx.org>
371
372         * BranchList.[Ch]: minimize the API.
373         (Branch::getBranch, getColor): now return a 'const &'.
374         (Branch::setSelected) now returns a bool set to true if the
375         selection status changes.
376         (BranchList::clear, size, getColor, setColor, setSelected,
377         allBranches, allSelected, separator): removed.
378         (BranchList::find): new functions, returning the Branch with
379         the given name.
380         (BranchList::add, remove): return a bool indicating that
381         the operation was successful.
382
383         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
384         new InsetBranch::isBranchSlected member function.
385
386         * LColor.[Ch]: mimimize the API.
387         (fill): renamed as addColor and made private.
388         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
389         versions of these functions taking a string arg have been removed.
390
391         * bufferparams.C (readToken):
392         * lyxfunc.C (dispatch):
393         * lyxrc.C (read): changes due to the altered BranchList and
394         LColor APIs.
395
396         * factory.C (createInset, readInset): changes due to altered
397         InsetBranch c-tor.
398
399 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * factory.C:
402         * lyxfunc.C: remove insetminipage. "minipage-insert"
403         now produces a frameless minipage box inset.
404
405 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * textcursor.[Ch] (selStart,selEnd): add new methods
408         remove selection::start, end, use LyXCursor::operator<
409         * lyxcursor.[Ch] (operator<): add
410         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
411         * BufferView.[Ch] (unsetXSel): add
412         * text2.C (clearSelection): use unsetXSel,adjust
413         * text.C: adjust
414         * text3.C: adjust
415         * rowpainter.C: adjust
416         * bufferview_funcs.C (put_selection_at): adjust
417
418 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * BufferView_pimpl.C: small coord. correction
421
422 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
425         dragging over the splash screen.
426
427 2003-12-11  Angus Leeming  <leeming@lyx.org>
428
429         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
430         as it is now handled in LyXText::dispatch.
431
432         * text3.C (doInsertInset): remove a level of nesting.
433
434 2003-12-11  Angus Leeming  <leeming@lyx.org>
435
436         * factory.C (createInset): changes due to the changed interface to
437         InsetCommandMailer::string2params.
438
439 2003-12-10  Angus Leeming  <leeming@lyx.org>
440
441         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
442         'dialog-show-new-inset <inset name>'
443
444 2003-12-10  Angus Leeming  <leeming@lyx.org>
445
446         * buffer.C: up the format to 227.
447
448         * factory.C: the box inset is now identified simply by 'Box'.
449
450 2003-12-10  Angus Leeming  <leeming@lyx.org>
451
452         * buffer.C: up the format to 226.
453
454         * factory.C: the note inset is now identified simply by 'Note'.
455
456 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
457
458         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
459         when a pit is enough. Standarize a couple of loops.
460
461 2003-12-05  Angus Leeming  <leeming@lyx.org>
462
463         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
464         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
465         data to the re-worked "log" dialog.
466
467 2003-12-03  André Pönitz  <poenitz@gmx.net>
468
469         * PosIterator.C:
470         * iterators.C:
471         * lyxtext.h:
472         * output_latex.C:
473         * paragraph_funcs.C:
474         * text.C:
475         * text2.C: use Inset::getText instead of Inset::getParagraph
476
477 2003-12-03  André Pönitz  <poenitz@gmx.net>
478
479         * buffer.[Ch]:
480         * lyxtext.h:
481         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
482         InsetText::read() as LyXText::read()
483
484 2003-12-02  Angus Leeming  <leeming@lyx.org>
485
486         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
487         type. Add a comment in the implementation that the function uses
488         the stream's bad() function rather than fail() as the std::streams
489         would do.
490
491 2003-12-02  André Pönitz  <poenitz@gmx.net>
492
493         * lyxlex.[Ch]: make interface more similar to std::stream
494
495         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
496
497 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
500
501 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
502
503         * vspace.[Ch]: remove VSpace::NONE
504
505 2003-12-01  André Pönitz  <poenitz@gmx.net>
506
507         * buffer.[Ch]:
508         * lyxtext.h: move ParagraphList member to LyXText
509         rename LyXText::ownerParagraphs to LyXText::paragraph
510
511         * CutAndPaste.C:
512         * bufferview_funcs.C:
513         * iterators.[Ch]:
514         * lyx_cb.C:
515         * paragraph.C:
516         * rowpainter.C:
517         * tabular.C:
518         * text.C:
519         * text2.C:
520         * text3.C: adjust
521
522         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
523
524         * undo.C: fix cursor positioning
525
526 2003-12-01  John Levon  <levon@movementarian.org>
527
528         * BufferView_pimpl.C: fix a crash on exit with
529         a buffer open
530
531 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * BranchList.C: fix setSelected() method.
534
535 2003-11-28  André Pönitz  <poenitz@gmx.net>
536
537         * ParagraphParameters.[Ch]:
538         * ParameterStruct.h: remove space above/below from Paragraph to
539          InsetVSpace
540
541         * BufferView_pimpl.C:
542         * factory.C:
543         * lyxfunc.C:
544         * lyxtext.h:
545         * output_latex.C:
546         * paragraph.C:
547         * paragraph_funcs.C:
548         * rowpainter.[Ch]:
549         * text.C:
550         * text2.C:
551         * text3.C: adjust
552
553 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * factory.C: Syntax change for CharStyles
556
557 2003-11-28  André Pönitz  <poenitz@gmx.net>
558
559         * BufferView.[Ch]:
560         * BufferView.[Ch]:
561         * buffer.[Ch]:
562         * buffer.[Ch]: move LyXText member
563
564 2003-11-28  André Pönitz  <poenitz@gmx.net>
565
566         * BufferView.[Ch]: make LyXText * text a private member
567
568         * BufferView_pimpl.C:
569         * cursor.C:
570         * iterators.C:
571         * lyx_cb.C:
572         * lyxfind.C:
573         * lyxtext.h:
574         * rowpainter.[Ch]:
575         * text.C:
576         * text2.C:
577         * undo.C: adjust
578
579         * output_plaintext.C: cleanup
580
581 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * buffer.C:
584         * lyxtextclass.[Ch]: parametrize SGML document header
585
586 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * converter.[Ch]:
589         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
590         getFlavor().
591
592 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * text2.C (setFont): rework using PosIterator (no more recursive)
595         (setCharFont): no more needed
596         (setLayout): no more selection cursors fiddling (done by redoCursor)
597         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
598         destroy remaining ones)
599
600 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
601
602         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
603         * lyxtext.h: ditto
604         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
605         selection cursors
606         * lyxfunc.C: adjust
607         * text3.C: adjust + re-allow multi par depth changes
608         * textcursor.C: simplify a bit
609
610 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
611
612         * src/buffer.C:
613         * src/lyxlayout.C:
614         * src/lyxlayout.h:
615         * src/lyxtext.h:
616         * src/output_docbook.C:
617         * src/output_latex.C:
618         * src/paragraph.C:
619         * src/paragraph.h:
620         * src/sgml.C:
621         * src/sgml.h:
622         * src/text2.C: Introducing a number of tags parametrizing various
623         XML formats that we may want to support
624
625 2003-11-25  André Pönitz  <poenitz@gmx.net>
626
627         * InsetList.[Ch] (begein, end): inline as suggested by profiler
628
629         * lyxtext.h (leftMargin/rightMargin): simplify interface
630
631         * rowpainter.C:
632         * text.C:
633         * text2.C:
634         * text3.C: adjust
635
636 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
637
638         * lyxfunc.C (dispatch): propogate the bibtex databases from the
639         master file to any child files. Fixes bug 546.
640
641 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
642
643         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
644
645 2003-11-24  André Pönitz  <poenitz@gmx.net>
646
647         * rowpainter.C: simplification
648
649         * text2.C (updateCounters): remove call to redoParagraph on
650         changed labels as this is far too expensive.
651
652 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
653
654         * converter.C (convert): fix a crash: this function gets
655         called with buffer == 0 from importer code.
656
657 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
658
659         * text3.C (cursorPrevious): make sure that we do not compare
660         iterators form different containers.
661         (cursorNext): ditto
662
663         * rowpainter.C (paintSelection): make sure that we do not compare
664         iterators from different containers.
665
666         * text3.C (dispatch): [PRIOR] make sure that we do not compare
667         iterators from different ParagraphList containers.
668         [NEXT] ditto
669
670         * text2.C (LyXText): change order of initialization slightly
671         (operator=): new function. copy all variables except cache_par_
672         (moveUp): make sure that we do not compare iterators from
673         different ParagraphList constainers.
674         (moveDown): ditto
675
676         * text.C (firstPar): new function
677         (lastPar): new function
678         (endPar): new function
679
680         * lyxtext.h: move things around and group public functions, public
681         variables, private functions, private variables
682
683 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
684
685         * factory.C: change call to InsetERT constructor to avoid
686         additional invocation of method status
687         * text2.C (toggleInset): remove redundant update() call
688         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
689         instead of a Bufferview pointer
690
691 2003-11-21  André Pönitz  <poenitz@gmx.net>
692
693         * rowpainter.C: simplification
694
695 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * text3.C (dispatch): make possible to extend a word/row selection
698         with the mouse
699
700 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * lyxtext.h: x0_,y0_ -> xo_,yo_
703         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
704         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
705         * rowpainter.C (paintRows): paint full paragraphs
706
707 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
708
709         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
710         screen coordinates)
711
712 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * lyxtext.h: add x0_, y0_
715         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
716         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
717
718 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * text2.C (setCursorIntern): move the x_target update here *
721         * text3.C: change some bv() to true/false in calls to
722         cursorUp/Down/Right/Left
723         * cursor.C: use helper function.
724
725 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
728         * paragraph_funcs.[Ch]: correct comment
729         * rowpainter.C: do not paint selections away from bv->cursor()
730         Fix a long standing selection painting bug.
731         * text3.C: generalize mouse-selection code to LyXTexts other that
732         top one
733         * textcursor.C: do not use y coords if we can use par offsets
734
735 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
736
737         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
738         cursor position after e.g. inset insert)
739
740 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * lyxfind.C (replace): adjust to locking removal + some
743         code simplification
744
745 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
746
747         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
748         of the path
749
750 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * lyxlayout.[Ch]:
753         * output_docbook.C: XML sanitation: new layout
754         parameters InnerTag and CommandDepth
755
756 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
757
758         * BufferView_pimpl.C:
759         * factory.C:
760         * text3.C: Fix the insertion and modification of button-style
761         insets
762
763 2003-11-13  André Pönitz  <poenitz@gmx.net>
764
765         * InsetList.[Ch]: remove deleteLyXText
766
767         * paragraph.[Ch]: cache beginOfBody position
768
769         * Bidi.C:
770         * text.C:
771         * text2.C:
772         * text3.C: remove superfluous update() calls
773
774         * vspace.C: cleanup
775
776 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
777
778         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
779         * BufferView.C (fitLockedInsetCursor): remove
780         * cursor.[Ch] (getDim): add
781         * text.C (getRowNearY): add faster version
782         * text3.C: remove some update calls
783
784 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * LaTeXFeatures.C:
787         * LyXAction.C:
788         * MenuBackend.C:
789         * MenuBackend.h:
790         * dispatchresult.h:
791         * factory.C:
792         * lfuns.h:
793         * lyxfunc.C:
794         * lyxtextclass.C:
795         * lyxtextclass.h:
796         * text3.C: The Character Style /XML short element patch.
797
798 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * text3.C:
801         * factory.C: Small step to solving 'unable to insert some insets'
802         problem
803
804 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
805
806         * cursor.[Ch] (updatePos): new function for updating the y
807         position of the tip inset
808         * bufferview_funcs.C (put_selection_at):
809         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
810
811 2003-11-11  André Pönitz  <poenitz@gmx.net>
812
813         * text.C: remove big comment on invalid Paragraph pointers as it is
814         not valid anymore
815
816 2003-11-11  André Pönitz  <poenitz@gmx.net>
817
818         * text_funcs.[Ch]: merge with ...
819
820         * text.C: ... this
821
822         * lyxtext.h:
823         * text2.C:
824         * text3.C: adjust
825
826         * Makefile.am: remove text_funcs.[Ch]
827
828 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
829
830         * cursor.C (getPos): return absolute cached y coord
831
832         * BufferView_pimpl.C (fitCursor): new simplistic code
833         (workAreaDispatch): add a fitCursor call
834
835 2003-11-10  André Pönitz  <poenitz@gmx.net>
836
837         * BufferView.[Ch]:
838         * BufferView_pimpl.[Ch]: merge update() and updateInset()
839
840 2003-11-10  André Pönitz  <poenitz@gmx.net>
841
842         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
843         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
844         indicate that the cursor needs to leave an inset
845
846         * lyxtext.h: remove inset locking
847
848         * cursor.[Ch]: re-implement functionality provided by inset locking
849
850         * BufferView.[Ch]:
851         * BufferView_pimpl.[Ch]:
852         * LyXAction.C:
853         * bufferview_funcs.[Ch]:
854         * factory.C:
855         * funcrequest.[Ch]:
856         * iterators.C:
857         * lyx_cb.C:
858         * lyxfind.C:
859         * lyxfunc.C:
860         * text.C:
861         * text2.C:
862         * text3.C:
863         * undo.C: adjust
864
865 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
866
867         * PosIterator.[Ch]: replace the stack with a vector, add inset
868         accesor
869         * iterators.[C]: adjust
870
871 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
872
873         * lyxfind.C (replaceAll): mark the buffer dirty if something was
874         replaced
875         * paragraph_funcs.C (readParToken): put the correct id in the
876         error item, not the id of the top paragraph
877
878 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
879
880         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
881         * bufferview_funcs.C (put_selection_at): use the above
882
883 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
884
885         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
886
887 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * output_linuxdoc.h:
890         * output_plaintext.h:
891         * output.h:
892         * output_docbook.h: add #include statements
893
894 2003-11-05  José Matos  <jamatos@lyx.org>
895
896         * output_docbook.[Ch]:
897         * output_latex.[Ch]:
898         * output_linuxdoc.[Ch]:
899         * output_plaintext.[Ch]: New files for output formats.
900         * output.[Ch]: New file for helper functions.
901
902         * buffer.[Ch]:
903         * paragraph_funcs.[Ch]: output functions moved to new files.
904
905         * outputparams.h: rename of latexrunparams.h
906
907         * LaTeX.[Ch]:
908         * buffer.[Ch]:
909         * bufferlist.[Ch]:
910         * converter.[Ch]:
911         * exporter.C:
912         * paragraph.[Ch]:
913         * paragraph_funcs.[Ch]:
914         * paragraph_pimpl.[Ch]:
915         * tabular.[Ch]: rename ascii to plaintext
916         and LatexRunParams to OutputParams.
917
918 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
919
920         * iterators.[Ch] (text): require bv argument
921         * undo.C (recordUndo):
922         * lyxfunc.C (dispatch):
923         * bufferview_funcs.C (put_selection_at): adjust
924
925 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
926
927         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
928
929 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
930
931         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
932         nestings
933
934 2003-11-04  André Pönitz  <poenitz@gmx.net>
935
936         * cursor.[Ch]: restructure
937
938         * BufferView.[Ch]:
939         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
940
941         * iterators.[Ch] (asCursor): remove
942
943         * lfuns.h: remove LFUN_INSET_EDIT
944
945         * lyxfunc.C:
946         * tabular.C:
947         * text.C:
948         * text2.C:
949         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
950
951 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
952
953         * lyxfind.[Ch]: complete overhaul
954         * BufferView_pimpl.C:
955         * lyxfunc.C: adjust
956         * paragraph.[Ch] (insert): add
957
958 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
959
960         * BufferView.[Ch]:
961         * lyxtext.h:
962         * text.C: remove dead spellcheck code
963
964 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
965
966         * dispatchresult.h: add a val setter
967
968         * cursor.C (dispatch): use a tempvar for data_[i]
969
970 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
971
972         * PosIterator.[Ch]: compile fix
973
974 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
975
976         * text.C (cursorPar): deactivate the cursor cache
977
978 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
979
980         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
981
982 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
983
984         * text3.C (dispatch): adjust for new DisptchResult semantics.
985
986         * lyxfunc.C (dispatch): handle update when return from
987         Cursor::dispatch, adjust for new DispatchResult semantics.
988
989         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
990         DispatchResult(true) mean to not update. Add class functions for
991         setting dispatched and update, as well as reading.
992
993         * cursor.C (dispatch): don't handle update here
994
995 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
996
997         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
998         * trans_mgr.C: adjust
999
1000         * paragraph_funcs.C (readParToken): exception safety
1001
1002         * lyxvc.h: store the vcs pointer in a scoped_ptr
1003         * lyxvc.C: adjust
1004
1005         * lyxsocket.C (serverCallback): exception safety
1006
1007         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1008
1009         * ispell.C (clone): make it return a auto_ptr
1010
1011         * factory.C (createInset): exception safety
1012         (readInset): exception safety
1013
1014         * bufferlist.C (newBuffer): exception safety
1015
1016         * Thesaurus.C (Thesaurus): use initialization for aik_
1017
1018         * MenuBackend.C (expandToc): exception safety.
1019
1020 2003-11-03  André Pönitz  <poenitz@gmx.net>
1021
1022         * buffer.C:
1023         * buffer.h:
1024         * bufferview_funcs.C: remove getInsetFromId()
1025
1026         * lyxcursor.[Ch]:
1027         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1028
1029         * lyxfunc.C:
1030         * text2.C:
1031         * text3.C: adjust
1032
1033 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1034
1035         * PosIterator.C (distance, advance): new
1036         * bufferview_funcs.[Ch] (put_selection_at): new
1037         * iterators.[Ch] (lockPath): new
1038
1039 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1040
1041         * iterators.[Ch] (asPosIterator): added
1042         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1043         * PosIterator.[Ch]: added
1044
1045 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1046
1047         * text3.C:
1048         * lyxfunc.C:
1049         * cursor.C (dispatch):
1050         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1051
1052         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1053         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1054         contructor, add a class function dispatched. Remove operator>=
1055
1056 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1057
1058         * debug.C: only use the default constructor for debugstream
1059         (lyxerr) here.
1060
1061         * main.C (main): include debug.h and setup the lyxerr streambuf
1062         here.
1063
1064 2003-10-31  José Matos  <jamatos@lyx.org>
1065
1066         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1067
1068         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1069         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1070         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1071         * paragraph_pimpl.C (simpleTeXSpecialC):
1072         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1073         add LatexRunParams argument.
1074
1075         * exporter.C (Export): change call accordingly.
1076
1077         * latexrunparams.h: add new member to take care of the other backends.
1078 2003-10-30  José Matos  <jamatos@lyx.org>
1079
1080         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1081         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1082         factorise code for paragraph output.
1083         * buffer.[Ch]:
1084         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1085         move functions.
1086
1087 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1088
1089         * text3.C (dispatch):
1090         * lyxfunc.C (dispatch):
1091         * cursor.C (dispatch):
1092         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1093
1094         * dispatchresult.h: make the dispatch_result_t ctor explicit
1095
1096 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * sgml.[Ch]:
1099         * buffer.C: small refactoring of docbook stuff
1100
1101 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1102
1103         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1104         meaning.
1105
1106 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1109         operator dispatch_result_t, and operators for == != and >=
1110
1111         * cursor.C (dispatch): adjust for operator dispatch_result_t
1112         removal. comment out call to update
1113
1114         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1115
1116 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1117
1118         * text3.C:
1119         * text2.C:
1120         * text.C:
1121         * lyxtext.h:
1122         * lyxfunc.C:
1123         * cursor.C:
1124         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1125         (dispatch):
1126
1127         * dispatchresult.h: new file, DispatchResult broken out of
1128         insets/insetbase.h
1129
1130         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1131
1132 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1133
1134         * text.C (rowBreakPoint): put a hack inside #if 0
1135
1136 2003-10-28  André Pönitz  <poenitz@gmx.net>
1137
1138         * lyxtext.h:
1139         * metricsinfo.C:
1140         * paragraph_funcs.C:
1141         * rowpainter.C:
1142         * text.C:
1143         * text2.C: general cleanup (lots of small stuff)
1144
1145 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1146
1147         * text2.C (cursorEnd): simple fix to the "end key goes to one
1148         before the end on last row" bug
1149
1150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * text.C (backspace): fix the "zombie characters"
1153
1154 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1155
1156         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1157
1158 2003-10-27  André Pönitz  <poenitz@gmx.net>
1159
1160         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1161
1162         * factory.C: handle new InsetPagebreak, InsetLine
1163
1164         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1165         and move handling into new InsetPagebreak, InsetLine
1166
1167         * BufferView_pimpl.C:
1168         * LyXAction.C:
1169         * ParagraphParameters.C:
1170         * ParameterStruct.h:
1171         * lyxfunc.C:
1172         * lyxtext.h:
1173         * paragraph.C:
1174         * paragraph.h:
1175         * paragraph_funcs.C:
1176         * paragraph_pimpl.C:
1177         * rowpainter.C:
1178         * text.C:
1179         * text2.C:
1180         * text3.C: adjust
1181
1182 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * text.C:
1185         * lyxrow_funcs.[Ch]:
1186         * Bidi.C:
1187         * paragraph.C:
1188         * lyxtext.h:
1189         * rowpainter.C:
1190         * text2.C:
1191         * text3.C: remove lastPos uses in favour of Row::endpos
1192
1193 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1194
1195         * undo.C (performUndoOrRedo): fix two crashes by setting a
1196         cursor by hand and reordering some calls. Use bv->lockInset instead
1197         of inset->edit because the latter loses cursor information
1198
1199 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1200
1201         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1202         by Martin
1203         (rowBreakPoint): fix width. change point to point + 1.
1204         Add a missing check.
1205
1206 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * MenuBackend.C:
1209         * lyxfunc.C: fix (at least partly) the problems
1210         with the Nav menu and headers inside branch insets
1211         reported by Kayvan
1212
1213 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1214
1215         * paragraph.C (getChar): add strong asserts
1216
1217         * lyxrow_funcs.C (lastPos): remove hideous hack
1218
1219         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1220         (fill): adjust to that (avoid an infinite loop)
1221
1222 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1223
1224         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1225
1226 2003-10-23  André Pönitz  <poenitz@gmx.net>
1227
1228         * RowList_fwd.h: change list<> to vector<> to gain speed
1229         after suggestion from Alfredo
1230
1231 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1232
1233         * lyxtext.h: move the bidi stuff from here...
1234         * text.C: and here
1235         * text2.C: and here
1236         * Bidi.[Ch]: ... to here
1237
1238 2003-10-23  André Pönitz  <poenitz@gmx.net>
1239
1240         * lyxtext.h:
1241         * text.C (isLastRow, isFirstRow): new functions
1242
1243         * paragraph.h: new width cache member
1244
1245         * rowpainter.C: replace RowList::iterator with Row & where possible
1246
1247         * lyxfunc.C: replace several view()->text with a single call
1248
1249         * toc.C: fix 'unused' warning
1250
1251 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1252
1253         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1254         when woring with stream::pos_type
1255         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1256
1257 2003-10-22  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxtext.h:
1260         * text.C: use Row & instead of RowList::iterator
1261
1262         * lyxrow.h: rename end() to endpos()
1263
1264         * rowpainter.C:
1265         * text.C:
1266         * text2.C: adjust
1267
1268 2003-10-22  Angus Leeming  <leeming@lyx.org>
1269
1270         * buffer.[Ch] (fully_loaded): new member function, returning true
1271         only when the file has been loaded fully.
1272         Used to prevent the premature generation of previews and by the
1273         citation inset to prevent computation of the natbib-style label.
1274
1275         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1276         templates are all set up.
1277
1278         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1279
1280 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1281
1282         * text.C: fixed an "oops" in the "is a bit silly"
1283         bug fix
1284
1285 2003-10-21  André Pönitz  <poenitz@gmx.net>
1286
1287         * FuncStatus.[Ch]: small stuff, whitespace
1288
1289         * lyxfont.[Ch]: operator<<() for debug reasons
1290
1291         * lyxfunc.C:
1292         * lyxrow_funcs.C:
1293         * lyxtext.h: whitespace, spelling
1294
1295         * paragraph.C: naming of variables
1296
1297         * text.C:
1298         * text2.C: small stuff
1299
1300
1301 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1302
1303         * text.C: (1) finish off the inset display() work;
1304         (2) fix the "is a bit silly" bug (accessing char
1305         past end of par).
1306
1307 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * text.C: re-introduce display() for insets, fixing the
1310         various bugs (stretch of line above, math inset
1311         positioning, ...)
1312
1313 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1314
1315         * text.C (rightMargin): remove spurious semicolon
1316
1317         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1318         1415)
1319
1320 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1321
1322         * text3.C: fix one crash due to wrong cursor def
1323
1324 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1325
1326         * vc-backend.C (scanMaster): make the regex static
1327
1328         * LaTeX.C (scanAuxFile): make the regexs static
1329
1330         * text3.C (doInsertInset, dispatch, dispatch):
1331         * text2.C (cursorUp, cursorDown):
1332         * text.C (selectNextWordToSpellcheck):
1333         * BufferView_pimpl.C (dispatch):
1334         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1335
1336 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * lyxsocket.C: include <cerrno>
1339
1340 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * lyxfunc.C (dispatch): remove textcache stuff
1343
1344         * bufferlist.C (release): remove textcache stuff
1345         (closeAll): ditto
1346
1347         * TextCache.C: delete file
1348         * TextCache.h: delete file
1349
1350         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1351
1352         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1353         delete of the bv_->text.
1354         (resizeCurrentBuffer): remove texcache stuff
1355         (workAreaResize): ditto
1356
1357 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1358
1359         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1360         action.
1361
1362 2003-10-16  André Pönitz  <poenitz@gmx.net>
1363
1364         * lyxrow.[Ch]:
1365         * paragraph.h:
1366         * rowpainter.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: speed up by storing y positions per paragraph plus per-row
1370         offset instead of having a 'full' y position in the row.
1371
1372 2003-10-15  André Pönitz  <poenitz@gmx.net>
1373
1374         * iterators.[Ch]:
1375         * iterators.[Ch]:
1376         * undo.[Ch]: make undo aware of inner insets
1377
1378 2003-10-14  Angus Leeming  <leeming@lyx.org>
1379
1380         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1381         static member functions LyX::ref() and LyX::cref.
1382         (lastfiles): new accessor functions for the new lastfiles_ member var.
1383         (addLyXView, views_): add a new LyXView to the list of views_.
1384         (updateInset): loop over all LyXViews to call their own updateInset
1385         member function, returning a pointer to the Buffer owning the inset.
1386
1387         * BufferView_pimpl.C (loadLyXFile):
1388         * MenuBackend.C (expandLastfiles):
1389         * bufferlist.C (MenuWrite, QuitLyX):
1390         lastfiles is no longer a global variable.
1391         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1392
1393         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1394         static function. Access through LyX::cref().emergencyCleanup().
1395
1396 2003-10-14  André Pönitz  <poenitz@gmx.net>
1397
1398         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1399
1400         * undo.[Ch]: restoring part of 'undo in insets'
1401
1402         * Makefile.am:
1403         * undo_funcs.[Ch]: merge with undo.[Ch]
1404
1405         * tabular.C: small cleansing stuff
1406
1407 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1408
1409         * paragraph_funcs.C (readParToken): report unknown insets as error
1410         boxes. Use the outer paragraph as location (also for unknown
1411         tokens).
1412
1413         * factory.C (readInset): do not abort on reading an unknown inset.
1414         Eat it and return 0.
1415
1416 2003-10-13  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1419
1420         * lyxrc.C: displayTranslator is now a function,
1421         declared in GraphicsTypes.h.
1422
1423 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1424
1425         * format.C: new placeholder $$a to pass the socket address.
1426
1427         * bufferlist.[Ch]: new function getBufferFromTmp.
1428
1429         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1430           files in the temporary dir.
1431
1432 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1433
1434         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1435
1436         * Makefile.am: add lyxsocket.[Ch].
1437
1438         * lyx_main.C (error_handler): handle SIGPIPE.
1439
1440 2003-10-13  André Pönitz  <poenitz@gmx.net>
1441
1442         * BufferView_pimpl.C:
1443         * lyxtext.h:
1444         * text.C:
1445         * text2.C:
1446         * text3.C:
1447         * undo_funcs.[Ch]: use paroffset_type instead of
1448           ParagraphList::iterators to prevent multiple conversion
1449           (and get a more robust interface)
1450
1451 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1452
1453         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1454         * lyxtext.h: ditto
1455         * text3.C (dispatch): ditto
1456
1457 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1458
1459         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1460         move the onlyfile, use onlyfile instead of foundfile in a couple
1461         of places.
1462
1463         * DepTable.C (update): flush the error stream a bit more
1464
1465 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1466
1467         * lyxserver.C (callback): adjust
1468
1469         * lyxfunc.C (getStatus): add a missing brace in commented code
1470         (ensureBufferClean): reindent
1471         (dispatch): delete version taking a string
1472
1473 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1474
1475         * LaTeX.C (deplog): move found file handlig from here...
1476         (handleFoundFile): .. to new function here.
1477         (deplog): make sure to discover several files mentioned on the
1478         same log line.
1479
1480 2003-10-10  André Pönitz  <poenitz@gmx.net>
1481
1482         * lyxfunc.C:
1483         * lyxtext.h:
1484         * tabular.C:
1485         * text.C:
1486         * text2.C:
1487         * text3.C: fix some of the tabular crashes
1488
1489 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1490
1491         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1492
1493         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1494
1495 2003-10-09  André Pönitz  <poenitz@gmx.net>
1496
1497         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1498
1499         * BufferView.C:
1500         * BufferView_pimpl.C:
1501         * bufferview_funcs.C:
1502         * lyx_cb.C:
1503         * lyxcursor.C:
1504         * lyxfind.C:
1505         * lyxfunc.C:
1506         * lyxtext.h:
1507         * text.C:
1508         * text2.C:
1509         * text3.C:
1510         * text_funcs.[Ch]:
1511         * textcursor.[Ch]:
1512         * undo_funcs.C: adjust
1513
1514 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1515
1516         * text2.C (incrementItemDepth): new function, use a backtracking
1517         algorithm to discover the correct item depth.
1518         (resetEnumCounterIfNeeded): new function, use a backtracking
1519         algorithm to discover if counter reset is needed.
1520         (setCounter): use them. Simplify a bit. Add different labels for
1521         different item depths for itemize.
1522
1523         * paragraph.C (Paragraph): remove initialization of enumdepth
1524         (operator=): ditto
1525
1526         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1527         enumerate and itemize. Change the type of itemdepth to signed char.
1528
1529 2003-10-08  André Pönitz  <poenitz@gmx.net>
1530
1531         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1532           thing assignable.
1533         * text.C:
1534         * text2.C: adjust
1535
1536         * tabular.[Ch]: fix crash after 'row-insert'
1537
1538 2003-10-08  Angus Leeming  <leeming@lyx.org>
1539
1540         Fix doxygen warnings.
1541
1542         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1543         Remove CutAndPaste:: prefix from header file declaration.
1544
1545         * LColor.h (fill): remove LColor:: prefix from declaration.
1546
1547         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1548         use lyx::depth_type rather than Paragraph::depth_type so that
1549         header file and .C file match.
1550
1551         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1552
1553         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1554         * aspell.C: \file aspell_local.C -> \file aspell.C
1555         * gettext.C: \file gettext.C -> \file src/gettext.C
1556         * gettext.h: \file gettext.h -> \file src/gettext.h
1557         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1558         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1559         * text.C: \file text.C -> \file src/text.C
1560
1561         * toc.C: move comment so that doxygen is not confused.
1562
1563 2003-10-07  Angus Leeming  <leeming@lyx.org>
1564
1565         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1566
1567 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1568
1569         * aspell.C:
1570         * aspell_local.h: add forgotten std::string's.
1571
1572 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1573
1574         * LaTeXFeatures.C:
1575         * LyXAction.C:
1576         * factory.C:
1577         * lfuns.h:
1578         * lyxfunc.C:
1579         * text3.C: The Box patch. Fancybox support, minipage, parbox
1580
1581 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1582
1583         * CutAndPaste.h:
1584         * DepTable.h:
1585         * FloatList.h:
1586         * LaTeXFeatures.h:
1587         * ParagraphParameters.h:
1588         * TextCache.h:
1589         * Thesaurus.h:
1590         * bufferlist.h:
1591         * exporter.h:
1592         * importer.h:
1593         * lastfiles.h:
1594         * lyxfind.h:
1595         * lyxfont.h:
1596         * lyxlex.h:
1597         * lyxtextclasslist.h:
1598         * messages.h:
1599         * paragraph.h:
1600         * paragraph_pimpl.C:
1601         * textcursor.h: add <string> and other small fixes to make Lars'
1602         std::string patch compile with STLport.
1603
1604 2003-10-06  Angus Leeming  <leeming@lyx.org>
1605
1606         * LColor.h: Add missing #include <string>.
1607
1608 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * All most all file in all subdirs: Make <string> be the prefered
1611         way of getting to std::string, add using declarations.
1612
1613 2003-10-06  André Pönitz  <poenitz@gmx.net>
1614
1615         * metricsinfo.C: initialize LyXFont before changing attribute.
1616         (fixes the 'math in \emph is upright' bug)
1617
1618 2003-10-06  André Pönitz  <poenitz@gmx.net>
1619
1620         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1621
1622 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1623
1624         * graph.C:
1625         * paragraph_pimpl.C: Small fixes to build using STLport
1626
1627 2003-10-02  André Pönitz  <poenitz@gmx.net>
1628
1629         * lyxfunc.C:
1630         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1631
1632 2003-10-01  André Pönitz  <poenitz@gmx.net>
1633
1634         * factory.C: assert early
1635
1636 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * lyx_main.C: remove the global debug object
1639
1640         * debug.h: adjust for new debugstream
1641
1642         * debug.C: adjust for new debugstream and keep the global debug
1643         object here.
1644
1645 2003-09-22  Angus Leeming  <leeming@lyx.org>
1646
1647         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1648         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1649         an incomplete class LyXFont.
1650
1651 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1652
1653         * factory.C: bug fix in branches
1654
1655 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1656
1657         * lyxfunc.C (processKeySym): adjust
1658         (dispatch): adjust
1659         (dispatch): change arg name from ev to func, adjust
1660         (sendDispatchMessage): ditto
1661
1662         * lyx_main.C (defaultKeyBindings): adjust keybindings
1663         (deadKeyBindings): ditto
1664
1665         * kbsequence.C (addkey): return a FuncRequest
1666
1667         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1668
1669         * kbmap.C (bind): take a FuncRequest as arg, adjust
1670         (read): adjust
1671         (lookup): adjust
1672         (defkey): change to take a FuncRequest as arg, adjust
1673         (findbinding): take a FuncRequest as arg, adjust.
1674
1675         * funcrequest.h (operator=): added
1676
1677         * funcrequest.C (FuncRequest): default kb_action changed from
1678         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1679
1680         * buffer.C (dispatch): simplify
1681         (dispatch): adjust to take a FuncRequest as arg, adjust
1682
1683         * boost.C (assertion_failed): change assertion message slightly
1684
1685         * ToolbarBackend.C (read): simplify
1686
1687         * MenuBackend.C (binding): adjust call to findbinding, add a
1688         message if no binding is found.
1689         (read): simplify
1690         (expandToc): correct by adding a empty FuncRequest
1691
1692         * LyXAction.C: include <boost/assert.hpp>
1693         (isPseudoAction): delete function
1694         (LookupFunc): change name to...
1695         (lookupFunc): this. change return type to FuncRequest.
1696         (getActionName): take kb_action as arg, simplify
1697         (funcHasFlag): add an assert, simplify.
1698
1699 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * toc.C (action): return a FuncRequest, simplify
1702
1703         * lyxfunc.C (processKeySym): adjust
1704         (getStatus): delete version that takes an int.
1705         (getStatus): adjust
1706         (dispatch): delete version that takes action as int
1707         (dispatch): adjust
1708         (sendDispatchMessage): simplify and adjust
1709
1710         * funcrequest.C (getArg): take unsigned int as arg
1711
1712         * ToolbarBackend.C (read): adjust
1713         (add): delete version that takes func as a string.
1714         (getIton): take a FuncRequest as arg
1715
1716         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1717         action.
1718
1719         * MenuBackend.C (MenuItem): add a new construct that only takes a
1720         Kind, simplify the constructor use for submenus.
1721         (add): adjust
1722         (expandLastfiles): adjust
1723         (expandDocuments): adjust
1724         (expandFormats): adjust
1725         (expandFloatListInsert): adjust
1726         (expandFloatInsert): adjust
1727         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1728
1729         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1730         Remove class variables lyx_pseudo_map and lyx_arg_map
1731
1732         * LyXAction.C (searchActionArg): delete function
1733         (getPseudoAction): delete function
1734         (retrieveActionArg): delete function
1735         (LookupFunc): make it return kb_action, simplify.
1736         (getActionName): simplify
1737
1738         * factory.C (createInset): fix new bug
1739
1740 2003-09-19  Angus Leeming  <leeming@lyx.org>
1741
1742         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1743         masterFilename_ parameter in the include inset.
1744
1745         * factory.C (createInset): changes due to the changes to InsetInclude.
1746
1747 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1748
1749         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1750
1751 2003-09-18  Angus Leeming  <leeming@lyx.org>
1752
1753         * buffer.C:
1754         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1755         Inset::fillWithBibKeys.
1756         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1757
1758 2003-09-18  Angus Leeming  <leeming@lyx.org>
1759
1760         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1761         variables.
1762         (ctor): pass and store a 'Buffer const &'
1763         (buffer): new member function.
1764
1765         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1766         '*this' to the LaTeXFeatures ctor.
1767
1768 2003-09-18  Angus Leeming  <leeming@lyx.org>
1769
1770         * LColor.h:
1771         * lyxfont.C:
1772         * lyxfont.h:
1773         * lyxtext.h:
1774         * text.C: rename EnumLColor as LColor_color.
1775
1776 2003-09-18  Angus Leeming  <leeming@lyx.org>
1777
1778         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1779         remove #include "insets/insetbase.h" from cursor.h.
1780
1781 2003-09-18  Angus Leeming  <leeming@lyx.org>
1782
1783         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1784         InsetOld_code to remove #include "inset.h".
1785
1786         * iterators.C: add #include "insets/inset.h"
1787
1788 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1789
1790         * BufferView.C: remove more locking stuff that apparently doesn't
1791         do anything sensible.
1792
1793 2003-09-16  André Pönitz  <poenitz@gmx.net>
1794
1795         * paragraph.[Ch]:
1796         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1797           performance boost.
1798
1799 2003-09-16  Angus Leeming  <leeming@lyx.org>
1800
1801         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1802
1803         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1804         arg/return type.
1805
1806         * paragraph.h: remove #include "lyxfont.h". Forward declare
1807         LyXFont_size.
1808
1809 2003-09-16  Angus Leeming  <leeming@lyx.org>
1810
1811         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1812         of support/textutils.h.
1813         (isWord): move the contents of support/textutils.h's IsWordChar here.
1814
1815         * buffer.C:
1816         * lyxfind.C:
1817         * rowpainter.C:
1818         * text.C:
1819         * text2.C: add #include "paragraph.h".
1820
1821         * rowpainter.C:
1822         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1823
1824 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * main.C:
1827         * lyx_main.C:
1828         * lyx_cb.C:
1829         * buffer.C:
1830         * LaTeX.C: use namespace alias for lyx::support::os
1831
1832 2003-09-16  Angus Leeming  <leeming@lyx.org>
1833
1834         * bufferparams.C:
1835         * bufferview_funcs.C:
1836         * factory.C:
1837         * lyxfunc.C:
1838         * paragraph_pimpl.C:
1839         * rowpainter.C:
1840         * text.C: add #include "LColor.h".
1841
1842 2003-09-16  Angus Leeming  <leeming@lyx.org>
1843
1844         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1845         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1846         return LyXFont &.
1847         Store the FontBits::color variable as an int rather than as an
1848         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1849         file.
1850
1851         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1852         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1853         string calls together.
1854
1855         * lyxrc.C: add #include "LColor.h".
1856
1857 2003-09-15  Angus Leeming  <leeming@lyx.org>
1858
1859         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1860         a cow_ptr.
1861
1862 2003-09-15  Angus Leeming  <leeming@lyx.org>
1863
1864         * LColor.h: add an EnumLColor wrapper for LColor::color.
1865
1866         * lyxfont.[Ch] (color, setColor, realColor):
1867         * lyxtext.h, text.C (backgroundColor):
1868         pass EnumLColor args to/from the functions, rather than LColor::color
1869         ones.
1870
1871         * lyxfont.h:
1872         * lyxtext.h: forward declare EnumLColor.
1873
1874         * lyx_main.C: add #include "LColor.h".
1875
1876 2003-09-15  Angus Leeming  <leeming@lyx.org>
1877
1878         * .cvsignore: add lyx-gtk.
1879
1880 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * Chktex.C
1883         * LaTeX.C
1884         * LaTeXFeatures.C
1885         * ParagraphParameters.C
1886         * Spacing.C
1887         * buffer.C
1888         * bufferparams.C
1889         * bufferview_funcs.C
1890         * chset.C
1891         * counters.C
1892         * funcrequest.C
1893         * lyxfont.C
1894         * lyxgluelength.C
1895         * lyxlength.C
1896         * paragraph.C
1897         * paragraph_funcs.C
1898         * text3.C
1899         * vc-backend.C: remove usage of STRCONV
1900
1901 2003-09-15  Angus Leeming  <leeming@lyx.org>
1902
1903         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1904         explicitly define the color passed to the painter.
1905
1906 2003-09-15  Angus Leeming  <leeming@lyx.org>
1907
1908         * bufferparams.C (BufferParams): reorder member initializers to avoid
1909         compiler warning.
1910
1911 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1912
1913         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1914         * text.C (updateRowPositions): remove an unusual nop
1915
1916 2003-09-12  André Pönitz  <poenitz@gmx.net>
1917
1918         * BufferView_pimpl.C:
1919         * Bullet.C:
1920         * layout.h:
1921         * lyxfunc.C:
1922         * lyxlayout.[Ch]:
1923         * lyxtextclass.C:
1924         * rowpainter.C:
1925         * text.C:
1926         * text2.C:
1927         * Counters.[Ch]: finish the 'automatic counters' job
1928
1929 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1930
1931         * aspell.C: include <boost/assert.cpp> (compile fix)
1932
1933 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1934
1935         * boost.C (assertion_failed): use lyx::support::abort instead of
1936         assert.
1937
1938 2003-09-10  Angus Leeming  <leeming@lyx.org>
1939
1940         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1941         with their _fwd progeny.
1942
1943 2003-09-09  Angus Leeming  <leeming@lyx.org>
1944
1945         134 files throughtout the source tree: replace 'using namespace abc;'
1946         directives with the appropriate 'using abc::xyz;' declarations.
1947
1948 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1949
1950         * boost.C (emergencyCleanup): moved here from LAssert.c
1951         (assertion_failed): new function, called by BOOST_ASSERT
1952
1953         * several files: change Assert to BOOST_ASSERT
1954
1955 2003-09-09  Angus Leeming  <leeming@lyx.org>
1956
1957         * buffer.[Ch]: Add an Impl class and move Buffer's member
1958         variables into it. As a result move several header files out of
1959         buffer.h.
1960
1961         Add header files to lots of .C files all over the tree as a result.
1962
1963 2003-09-09  Angus Leeming  <leeming@lyx.org>
1964
1965         * buffer.[Ch]: make Buffer's member variables private. Add
1966         accessor functions.
1967
1968         Lots of changes all over the tree as a result.
1969
1970 2003-09-08  Angus Leeming  <leeming@lyx.org>
1971
1972         * graph.C: #include <config.h>.
1973
1974 2003-09-08  Angus Leeming  <leeming@lyx.org>
1975
1976         * BranchList.C:
1977         * BufferView.C:
1978         * BufferView_pimpl.C:
1979         * CutAndPaste.C:
1980         * DepTable.C:
1981         * LaTeX.C:
1982         * LaTeXFeatures.C:
1983         * LyXAction.C:
1984         * MenuBackend.C:
1985         * TextCache.C:
1986         * aspell.C:
1987         * buffer.C:
1988         * bufferlist.C:
1989         * changes.C:
1990         * chset.C:
1991         * converter.C:
1992         * counters.C:
1993         * debug.C:
1994         * graph.C:
1995         * ispell.C:
1996         * lyx_cb.C:
1997         * lyxfind.C:
1998         * lyxfunc.C:
1999         * lyxlex_pimpl.C:
2000         * lyxrc.C:
2001         * lyxrow.C:
2002         * paragraph.C:
2003         * rowpainter.C:
2004         * texrow.C:
2005         * text.C:
2006         * text2.C:
2007         * toc.C: remove redundant using directives.
2008
2009 2003-09-07  Angus Leeming  <leeming@lyx.org>
2010
2011         * LaTeXFeatures.h: remove #include "support/types.h".
2012         * ToolbarBackend.h: remove #include <algorithm>.
2013         * changes.h: remove #include <ctime>.
2014         * debug.h: remove #include <iosfwd>.
2015         * graph.h: remove #include "support/std_string.h".
2016         * lyx_main.h: remove #include <csignal>.
2017         * lyxlex_pimpl.h: remove #include <fstream>.
2018         * sgml.h: remove #include <algorithm>, <utility>.
2019         * toc.h: remove #include "support/std_ostream.h".
2020         Add #include <iosfwd>.
2021
2022 2003-09-07  Angus Leeming  <leeming@lyx.org>
2023
2024         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2025
2026         * converter.h: forward declare LatexRunParams.
2027         * encoding.h: remove #include "lyxrc.h".
2028         * lyxtext.h: remove #include "LColor.h".
2029         * lyxtextclass.h: remove #include "support/types.h".
2030         * trans.h: remove #include "tex-accent.h".
2031         * trans_mgr.h: remove #include "tex-accent.h".
2032         * insets/inset.h: remove #include "support/types.h", <vector>.
2033         * insets/insetcollapsable.h: remove #include "LColor.h".
2034         * insets/insetinclude.h: remove #include "dimension.h".
2035         * insets/insetlatexaccent.h: remove #include "dimension.h".
2036         * insets/insetoptarg.h:: remove #include "insettext.h".
2037         * insets/insettext.h: remove #include "dimension.h",
2038         <boost/shared_ptr.hpp>
2039
2040         * insets/renderers.h: add #include "dimension.h".
2041         * insets/updatableinset.h: add #include "support/types.h".
2042
2043         * many .C files: Associated changes.
2044
2045 2003-09-06  Angus Leeming  <leeming@lyx.org>
2046
2047         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2048         one, inside testInvariant.
2049
2050         * PrinterParams.C: new file.
2051         * PrinterParams.[Ch]: move the function bodies out of line.
2052
2053 2003-09-06  Angus Leeming  <leeming@lyx.org>
2054
2055         * ParagraphParameters.h: forward declare ParameterStruct rather than
2056         including its header file.
2057         (depth): moved out-of-line.
2058
2059 2003-09-06  Angus Leeming  <leeming@lyx.org>
2060
2061         * BufferView_pimpl.h:
2062         * kbmap.h:
2063         * kbsequence.h:
2064         * lyxfunc.h: forward declare LyXKeySym rather than
2065         #include "frontends/LyXKeySym.h".
2066
2067         * BufferView_pimpl.C:
2068         * kbmap.C:
2069         * kbsequence.C:
2070         * lyxfunc.C: associated changes.
2071
2072 2003-09-06  Angus Leeming  <leeming@lyx.org>
2073
2074         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2075         As a result, can remove the #include "insets/inset.h" from BufferView.h
2076
2077 2003-09-06  Angus Leeming  <leeming@lyx.org>
2078
2079         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2080         As a result, can remove the #include "insets/inset.h" from BufferView.h
2081
2082 2003-09-06  Angus Leeming  <leeming@lyx.org>
2083
2084         * buffer_funcs.C:
2085         * buffer.h:
2086         * bufferlist.C:
2087         * BufferView.C:
2088         * bufferview_funcs.C:
2089         * BufferView_pimpl.C:
2090         * CutAndPaste.C:
2091         * lyx_cb.C:
2092         * lyxfunc.C:
2093         * paragraph.h:
2094         * ParagraphParameters.C:
2095         * tabular.C:
2096         * text3.C:
2097         * toc.C:
2098         * undo_funcs.C:
2099         * frontends/controllers/ControlDocument.C:
2100         * insets/insetcaption.C: rearrange the #includes into some sort of
2101         coherent order.
2102
2103         * buffer.h: remove #includes ErrorList.h, undo.h
2104
2105 2003-09-06  Angus Leeming  <leeming@lyx.org>
2106
2107         * support/types.h: add a 'depth_type' typedef, used to store the
2108         nesting depth of a paragraph.
2109
2110         * paragraph.h:
2111         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2112         defining explicitly.
2113
2114         * buffer.h:
2115         * paragraph_funcs.h:
2116         * ParagraphParameters.h:
2117         * sgml.h: use lyx::depth_type rather than Paragraph or
2118         ParameterStruct's depth_type.
2119
2120         * buffer.h
2121         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2122
2123         * BufferView.C:
2124         * BufferView_pimpl.C:
2125         * CutAndPaste.C:
2126         * ParagraphParameters.C:
2127         * buffer_funcs.C:
2128         * bufferlist.C:
2129         * bufferview_funcs.C:
2130         * lyx_cb.C:
2131         * lyxfunc.C:
2132         * tabular.C:
2133         * text3.C:
2134         * toc.C:
2135         * undo_funcs.C:
2136         * frontends/LyXView.C:
2137         * frontends/controllers/ControlDocument.C:
2138         * frontends/controllers/ControlErrorList.C:
2139         * insets/insetbibitem.C:
2140         * insets/insetbranch.C:
2141         * insets/insetcaption.C:
2142         * insets/insetcollapsable.C:
2143         * insets/insetenv.C:
2144         * insets/insetert.C:
2145         * insets/insetfloat.C:
2146         * insets/insetfoot.C:
2147         * insets/insetfootlike.C:
2148         * insets/insetnewline.C:
2149         * insets/insetquotes.C:
2150         * insets/insettabular.C:
2151         * insets/insettext.C:
2152         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2153
2154         * frontends/controllers/ControlChanges.C: #include "changes.h".
2155
2156 2003-09-06  Angus Leeming  <leeming@lyx.org>
2157
2158         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2159         than #including paragraph.h.
2160
2161         * ParagraphList.h:
2162         * RowList.h: deleted. Superfluous.
2163
2164         * CutAndPaste.h:
2165         * iterators.h:
2166         * lyxcursor.h:
2167         * lyxtext.h:
2168         * text_funcs.h:
2169         * undo.h:
2170         * undo_funcs.h:
2171         * insets/inset.h:
2172         * insets/insettext.h: use ParagraphList_fwd.h rather than
2173         ParagraphList.h.
2174
2175         * paragraph.h: don't forward declare ParagraphList.
2176
2177         * buffer.h:
2178         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2179         rather than ParagraphList.h. paragraph.h is still needed for the
2180         Paragraph::depth_type parameters.
2181
2182         * textcursor.h: enable it to compile stand-alone in light of the
2183         above changes.
2184
2185         * bufferview_funcs.C:
2186         * iterators.C:
2187         * lyxfunc.C:
2188         * lyxrow_funcs.C:
2189         * paragraph.C:
2190         * rowpainter.C:
2191         * text.C:
2192         * text2.C:
2193         * text3.C:
2194         * text_funcs.C:
2195         * textcursor.C:
2196         * undo.C:
2197         * frontends/controllers/ControlParagraph.C:
2198         * frontends/controllers/ControlTabular.C:
2199         * insets/insetmarginal.C:
2200         * insets/insetminipage.C:
2201         * insets/insetnote.C:
2202         * insets/insetoptarg.C: add header files needed to compile again.
2203
2204 2003-09-06  Angus Leeming  <leeming@lyx.org>
2205
2206         * RowList_fwd.h: new file, forward-declaring Row rather than
2207         #including lyxrow.h.
2208
2209         * lyxrow_funcs.h:
2210         * lyxtext.h:
2211         * paragraph.h:
2212         * insets/insettext.h: use it instead of RowList.h
2213
2214         * bufferview_funcs.C:
2215         * lyxfunc.C:
2216         * lyxrow_funcs.C:
2217         * paragraph.C:
2218         * rowpainter.C:
2219         * text.C:
2220         * text2.C:
2221         * text3.C: #include "RowList.h".
2222
2223 2003-09-05  Angus Leeming  <leeming@lyx.org>
2224
2225         * factory.C (createInset):
2226         * vspace.C (c-tor): replace sscanf call with an istringstream.
2227         * ispell.C: re-add missing HP/UX headers.
2228         * lyxserver.C: re-add missing  os2 headers.
2229
2230 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * BranchList.C:
2233         * graph.C:
2234         * ispell.C:
2235         * lastfiles.C:
2236         * lyx_cb.C:
2237         * lyxserver.C:
2238         * texrow.C:
2239         * text3.C: re-add missing system headers, needed for 2.95.2.
2240
2241 2003-09-05  Angus Leeming  <leeming@lyx.org>
2242
2243         Changes most place everywhere due to the removal of using directives
2244         from support/std_sstream.h.
2245
2246 2003-09-05  Angus Leeming  <leeming@lyx.org>
2247
2248         Replace LString.h with support/std_string.h,
2249         Lsstream.h with support/std_sstream.h,
2250         support/LIstream.h with support/std_istream.h,
2251         support/LOstream.h with support/std_ostream.h.
2252
2253         Changes resulting throughout the tree.
2254
2255 2003-09-05  Angus Leeming  <leeming@lyx.org>
2256
2257         * sgml.h: ensure that the header file can be compiled stand-alone.
2258         * *.C: strip out redundant #includes. (320 in total.)
2259
2260 2003-09-04  Angus Leeming  <leeming@lyx.org>
2261
2262         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2263         here (from getPackages).
2264
2265         * debug.[Ch]: add a new EXTERNAL tag.
2266
2267 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2268
2269         * text2.C (cursorEnd): simplify
2270         (setCursor): adjust
2271         (getColumnNearX): adjust
2272
2273         * text.C (computeBidiTables): adjust
2274         (fill): adjust
2275
2276         * rowpainter.C (paintChars): adjust
2277         (paintSelection): adjust
2278         (paintChangeBar): adjust
2279         (paintText): adjust
2280
2281         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2282         lastPos instead.
2283         (numberOfSeparators): adjust
2284
2285 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2286
2287         * LyXAction.C:
2288         * box.[Ch]:
2289         * lfuns.h:
2290         * lyxfunc.C:
2291         * text3.C: Restricts the mouse click functionality
2292         of insets like bibtex, include, toc and floatlist to the visible
2293         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2294         up the dialogs. Cursor has to be in front of the inset (i.e.
2295         start of row) for this to function.
2296
2297 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2298
2299         * bufferview_funcs.C (currentState): output row information
2300
2301 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2302
2303         * bufferview_funcs.C (currentState): output paragraph position
2304
2305 2003-09-04  Angus Leeming  <leeming@lyx.org>
2306
2307         * FloatList.h: move out #include "Floating.h".
2308         * LaTeX.h: move out #include "DepTable.h".
2309         * LyXAction.h: move out #include "funcrequest.h".
2310         * buffer.h: move out #include "author.h", "iterators.h".
2311         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2312         * lyx_main.h: move out #include "errorlist.h".
2313         * lyxfunc.h: move out #include "FuncStatus.h".
2314         * lyxtext: move out #include "lyxcursor.h".
2315         * paragraph_pimpl.h: move out #include "counters.h".
2316
2317 2003-09-03  Angus Leeming  <leeming@lyx.org>
2318
2319         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2320         preamble_snippets list, enabling us to add snippets to the preamble
2321         only if the snippet was not there already.
2322
2323 2003-09-04  Angus Leeming  <leeming@lyx.org>
2324
2325         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2326
2327 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2330         update
2331
2332 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2333
2334         * BranchList.C: point fix, earlier forgotten
2335
2336 2003-09-02  Angus Leeming  <leeming@lyx.org>
2337
2338         * box.C (contains): renamed from 'contained' after a fantastic
2339         amount of hot air.
2340
2341 2003-09-02  John Levon  <levon@movementarian.org>
2342
2343         * BufferView.C:
2344         * lyxcursor.h:
2345         * lyxcursor.C:
2346         * lyxfunc.C:
2347         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2348
2349 2003-09-02  John Levon  <levon@movementarian.org>
2350
2351         * text2.C: simplification of cursorEnd(), including partial
2352         fix for bug 1376
2353
2354 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2355
2356         * buffer.C (readFile): add a space
2357
2358 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2359
2360         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2361
2362 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * buffer.C (readFile): new function, take a filename and a
2365         ParagraphList::iterator
2366         (readFile): adjust
2367         (readFile): adjust, make it private. don't use setStream, make
2368         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2369         always contain the filename.
2370
2371         * BufferView.C (insertLyXFile): simplify and make it work for
2372         gzipped files.
2373
2374 2003-08-30  John Levon  <levon@movementarian.org>
2375
2376         * Makefile.am: fix dist (from Kayvan)
2377
2378 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2379
2380         * most files: change to use const Buffer refs
2381
2382 2003-08-27  André Pönitz  <poenitz@gmx.net>
2383
2384         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2385         on top of ownerPar().
2386
2387 2003-08-27  John Levon  <levon@movementarian.org>
2388
2389         * funcrequest.C: properly initialise POD members
2390
2391 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * lyxtext.h (top_y): move top_y from here
2394         * text.C:
2395         * text2.C:
2396         * text3.C:
2397         * BufferView.[Ch]:
2398         * BufferView_pimpl.[Ch]: to here
2399         * frontends/screen.C:
2400         * insets/insettabular.C:
2401         * insets/insettext.C: adjust
2402         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2403
2404 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2405
2406         * BufferView.[Ch]:
2407         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2408
2409 2003-08-26  André Pönitz  <poenitz@gmx.net>
2410
2411         * paragraph_func.[Ch] (outerPar): new function
2412
2413         * paragraph.C:
2414         * paragraph_funcs.C:
2415         * paragraph_funcs.h:
2416         * paragraph_pimpl.C:
2417         * text2.C: remove Inset::par_owner
2418
2419 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2420
2421         * lyxrow_funcs.C:
2422         * lyxtext.h:
2423         * text.C:
2424         * text2.C: eliminates the needFullRow/display() stuff
2425         altogether, putting the logic in metrics/draw in the insets.
2426
2427 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2428
2429         * text2.C (redoParagraphInternal, redoParagraphs):
2430         * text.C (redoParagraph): add a call to updateRowPositions at the
2431         end of each 'metrics-like' call. Remove all others.
2432         (getRow): remove the 'y-computing' version.
2433         (getRowNearY): do not compute nor return the real y. Solve the
2434         'y < 0' problem and simplify.
2435
2436 2003-08-22  Angus Leeming  <leeming@lyx.org>
2437
2438         * *.[Ch]: clean-up of licence and author blurbs.
2439         Also move config.h out of a few .h files and into a few .C files.
2440
2441 2003-08-22  André Pönitz  <poenitz@gmx.net>
2442
2443         * lyxrow.[Ch]: add x_ and *fill_ members
2444
2445         * lyxtext.h:
2446         * text.C:
2447         * rowpainter.C:
2448         * text2.C: adjust/remove prepareToPrint() calls
2449
2450 2003-08-22  André Pönitz  <poenitz@gmx.net>
2451
2452         * lyxrow.[Ch]: add  end_ member
2453
2454         * lyxrow_funcs.C: use LyXRow::end_
2455
2456         * lyxtext.h (singleWidth): add LyXFont parameter
2457
2458         * rowpainter.C:
2459         * text2.C: adjust LyXText::singleWidth() calls
2460
2461         * text.C (redoParagraph): simplify row breaking logic
2462
2463
2464 2003-08-19  André Pönitz  <poenitz@gmx.net>
2465
2466         * funcrequest.C: initialize button_ member
2467
2468         * text3.C:
2469         * rowpainter.[Ch]: interface consolidation
2470
2471 2003-08-18  André Pönitz  <poenitz@gmx.net>
2472
2473         * BufferView.C:
2474         * BufferView_pimpl.C:
2475         * lyxfind.C:
2476         * paragraph_funcs.C:
2477         * rowpainter.C:
2478         * text3.C: remove LyXScreen::draw() and fitCursor calls
2479
2480         * BranchList.h: remove spurious semicolons
2481
2482         * MenuBackend.C: fix branchlist related crash
2483
2484 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2485
2486         * BranchList.[Ch]:
2487         * InsetList.[Ch]:
2488         * LColor.[Ch]:
2489         * LyXAction.C:
2490         * Makefile.am:
2491         * MenuBackend.[Ch]:
2492         * bufferparams.[Ch]:
2493         * factory.C:
2494         * lfuns.h:
2495         * lyxfunc.C:
2496         * text3.C: implements the 'branch inset'
2497         idea. This allows the output of various versions of a document
2498         from a single source version, selectively outputing or suppressing
2499         output of parts of the text.
2500         This implementation contains a 'branch list editor' in a separate
2501         tab of the document settings dialog. Branches are user definable
2502         and have a "display colour" to distinguish them on-screen.
2503
2504         ColorHandler was somewhat cleaned up.
2505         (1) make possible a dynamically growing LColor list by allowing
2506         the graphic context cache to grow along (vector);
2507         (2) eliminate an IMHO unnecessary step in colour allocation.
2508
2509 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2510
2511         * BufferView_pimpl.C: compile fix
2512
2513 2003-08-15  André Pönitz  <poenitz@gmx.net>
2514
2515         * rowpainter.C: remove extra metrics calls
2516
2517         * lyxtext.h: merge the two constructors into a single one,
2518           pass reference to owner's par list
2519
2520         * BufferView_pimpl.C:
2521         * text.C:
2522         * text2.C: adjust
2523
2524 2003-08-15  André Pönitz  <poenitz@gmx.net>
2525
2526         * lyxrow_funcs.[Ch]:
2527         * lyxtext.h:
2528         * paragraph.h:
2529         * paragraph_funcs.C:
2530         * rowpainter.C:
2531         * text.C:
2532         * text2.C:
2533         * text3.C:
2534         * text_funcs.C: split LyXText::rowlist_ into individual
2535         Paragraph::rows_ chunks
2536
2537         * BufferView.[Ch]:
2538         * BufferView_pimpl.[Ch]:
2539         * lyxfind.C:
2540         * lyxtext.h:
2541         * text3.C: remove toggleSelection()
2542
2543 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2544
2545         * bufferlist.C: beautify two alerts (shorter text of buttons)
2546         * buffer.C: Remove redundant ' ' from message
2547         * tabular.h:
2548         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2549         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2550         rename VALIGN_CENTER to VALIGN_MIDDLE
2551
2552 2003-08-11  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxtext.h (getPar):
2555         * text.C: new function
2556
2557 2003-08-11  André Pönitz  <poenitz@gmx.net>
2558
2559         * Makefile.am:
2560         * tracer.[Ch]: remove unneeded files
2561
2562         * InsetList.[Ch]: remove resizeInsetsLyXText()
2563
2564         * lyxtext.h:
2565         * text.C:
2566         * text2.C:
2567         * text3.C: merge insertParagraphs() and appendParagraph()
2568         remove breakAgain(), update()
2569
2570         * BufferView_pimpl.[Ch]:
2571         * bufferview_funcs.[Ch]:
2572         * lyxfunc.C:
2573         * paragraph.[Ch]:
2574         * rowpainter.C:
2575         * tabular.C: adjust after text & InsetList changes.
2576
2577 2003-08-08  André Pönitz  <poenitz@gmx.net>
2578
2579         * text.C (insertChar, backspace): replace rowlist fiddling
2580         with rebreak of full par
2581
2582         * lyxtext.h:
2583         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2584         checkParagraph, updateInset): removed
2585
2586 2003-08-07  André Pönitz  <poenitz@gmx.net>
2587
2588         * paragraph.C:
2589         * text3.C: merge some LFUN handlers, remove dead code
2590
2591 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2592
2593         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2594
2595 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2596
2597         * text2.C (DEPM): fix part of bug 1255 and 1256
2598
2599 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2600
2601         * BufferView_pimpl.C (workAreaDispatch): change to use
2602         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2603         that are no mouse related.
2604
2605 2003-08-05  André Pönitz  <poenitz@gmx.net>
2606
2607         * BufferView.[Ch]:
2608         * BufferView_pimpl.[Ch]:
2609         * bufferview_funcs.C:
2610         * text2.C:
2611         * text3.C: rip out "deep update"
2612
2613         * textcursor.[Ch] (last_sel_cursor): remove unused member
2614
2615 2003-08-04  André Pönitz  <poenitz@gmx.net>
2616
2617         * BufferView.[Ch]:
2618         * BufferView_pimpl.[Ch]:
2619         * ParagraphParameters.C:
2620         * bufferview_funcs.C:
2621         * lyx_cb.C:
2622         * lyxfind.C:
2623         * lyxfunc.C:
2624         * text.C:
2625         * text2.C:
2626         * text3.C: replace "complicated" BufferView::update(...) calls with
2627         simpler ones.
2628
2629         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2630
2631 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2632
2633         * Makefile.am (lyx_SOURCES): add paper.h
2634
2635 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2636
2637         * Makefile.am: move things around so that both lyx-qt and
2638         lyx-xforms can be built (according to --with-frontend). Then lyx
2639         is a symbolic link to lyx-[firstfrontend]
2640
2641 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2642
2643         * Always use std::endl with lyxerr
2644
2645 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2646
2647         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2648
2649 2003-08-01  André Pönitz  <poenitz@gmx.net>
2650
2651         * BufferView.[Ch]:
2652         * BufferView_pimpl.[Ch]:
2653         * lyxfunc.C:
2654         * text3.C: merge BufferView::repaint() and BufferView::update()
2655
2656 2003-08-01  José Matos  <jamatos@lyx.org>
2657
2658         * buffer.[Ch]: file_format is no longer a buffer data element.
2659
2660 2003-08-01  André Pönitz  <poenitz@gmx.net>
2661
2662         * BufferView.C:
2663         * lyxtext.h:
2664         * text.C:
2665         * text2.C: make redoParagraph more independent of current cursor
2666
2667         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2668         * text.C:
2669         * text2.C: remove unneeded members
2670
2671 2003-07-30  André Pönitz  <poenitz@gmx.net>
2672
2673         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2674
2675         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2676           create a single function...
2677
2678         * paragraph_funcs.C (moveItem): ... here.
2679
2680         * text.C:
2681           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2682
2683 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2684
2685         * LColor.[Ch]: Add comment and greyedout logical colors.
2686
2687 2003-07-30  André Pönitz  <poenitz@gmx.net>
2688
2689         * tabular.C: don't use Assert too heavily. This crashes where it
2690           shouldn't
2691
2692 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2695         is disabled (bug 1232)
2696
2697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2698
2699         * factory.C: limited 'arg' scope
2700
2701 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2702
2703         * factory.C: fixed Note submenu issues
2704
2705 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2706
2707         * factory.C: submenu for Note/Comment/Greyedout
2708
2709 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * lyx_main.C (LyX):
2712         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2713
2714 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2715
2716         * LaTeXFeatures.C:
2717         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2718         greyedout. Patch provided by Jürgen Spitzmüller.
2719
2720 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2721
2722         * kbmap.C (read): fix error message when reading bind files
2723
2724 2003-07-29  Angus Leeming  <leeming@lyx.org>
2725
2726         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2727         certainly does not do what it purports to do. I am doing it, and
2728         us, a favour by killing it.
2729
2730 2003-07-28  José Matos  <jamatos@lyx.org>
2731
2732         * buffer.C (readBody, do_writeFile):
2733         * paragraph.C(readParagraph): \end_document replaces \the_end.
2734
2735 2003-07-29  André Pönitz  <poenitz@gmx.net>
2736
2737         * BufferView.[Ch]:
2738         * BufferView_pimpl.[Ch]:
2739         * lyxfunc.C:
2740         * text2.C:
2741         * text3.C:
2742         * textcursor.[Ch]: remove toggleToggle & Co
2743
2744 2003-07-28  José Matos  <jamatos@fep.up.pt>
2745
2746         * buffer.C (readParagraph):
2747         * params_func (readParToken, readParagraph):
2748         * paragraph.C (write): \layout -> \begin_layout.
2749
2750 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * lyxlex_pimpl.C (setFile): clean up slightly.
2753
2754         * bufferparams.h: add compressed var
2755
2756         * buffer_funcs.C (readFile): adjust for LyXLex change
2757         (newFile): ditto + simplify
2758
2759         * buffer.C (writeFile): handle writing of compressed files
2760
2761         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2762         Check if the file is compressed and set a bufferparm if so.
2763
2764         * Makefile.am (lyx_LDADD): remove explicit -lz
2765
2766 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2767
2768         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2769         makeDocBookFile): put the real LyX version in the first line of
2770         the file
2771
2772         * version.h:
2773         * version.C.in: remove lyx_docversion
2774
2775         * tabular.C (write_attribute): add a template-based version to
2776         write enums properly
2777
2778 2003-07-28  André Pönitz  <poenitz@gmx.net>
2779
2780         * lyxtext.h:
2781         * text.C:
2782         * text2.C:
2783         * text3.C: use doubles again for x-coordinates. They are needed.
2784
2785 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * messages.C (getLocaleDir): use lyx_localedir()
2788
2789         * lyxlex_pimpl.C (setFile): compress stuff
2790
2791         * buffer.C (writeFile): add some compression stuff
2792         (do_writeFile): new func, dont call expliti close... will this
2793         breake anything?
2794
2795         * Makefile.am (lyx_LDADD): add -lz
2796
2797 2003-07-28  José Matos  <jamatos@fep.up.pt>
2798
2799         * buffer.C: increment file format.
2800         * paragraph_funcs (readParagraph, readParToken):
2801         * paragraph.C (readParagraph): add \end_layout.
2802
2803 2003-07-27  Angus Leeming  <leeming@lyx.org>
2804
2805         * Makefile.am: remove special casing for configure-time setting of
2806         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2807
2808         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2809         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2810
2811 2003-07-26  André Pönitz  <poenitz@gmx.net>
2812
2813         * paragraph_func.[Ch]:
2814         * paragraph.C (realizeFont): inline it whereever it is used
2815
2816         * rowpainter.C:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2820
2821
2822 2003-07-26  André Pönitz  <poenitz@gmx.net>
2823
2824         *       lyxtext.h:
2825         * text.C:
2826         * text2.C: get rid of LyXText::need_break_row
2827
2828 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * toc.[Ch]: put namespace toc inside namespace lyx
2831
2832         * MenuBackend.C (expandToc2): adjust for lyx::toc
2833         (expandToc): ditto
2834
2835         * lyxfunc.C (dispatch): adjust for lyx::find
2836
2837         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2838         lyx::find instead. Reorganize a bit.
2839         (LyXReplace): rename to replace
2840         (LyXFind): rename to find
2841
2842         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2843         (dispatch): ditto
2844
2845 2003-07-26  André Pönitz  <poenitz@gmx.net>
2846
2847         * text.C (setHeightOfRow): restrict scope of temporary variable
2848
2849         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2850           code (never has been used?)
2851
2852 2003-07-27  Asger Alstrup  <alstrup@local>
2853
2854         * text.C (fill): Optimise algorithm to exploit that we can reuse
2855         the LyXFont for many characters.
2856         (setHeightOfRow): Same thing.
2857         (rowBreakPoint): Same thing.
2858
2859 2003-07-26  Asger Alstrup  <alstrup@local>
2860
2861         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2862
2863         * text.C (singleWidth): Spurious font copying in hot-spot
2864         singleWidth avoided. Reorder tests for arabic for efficiency.
2865
2866         * text.C (fill): handle empty paragraphs better.
2867
2868 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2869
2870         * ispell.C:
2871         * encoding.h: add includes
2872
2873         * lyxrc.C: remove reading of bind files
2874
2875         * lyx_main.C (init): setup bindings and menus only if we have a
2876         gui.
2877
2878         * kbmap.C (read): new method. Do the actual reading of bind
2879         files.
2880
2881         * converter.C (dvipdfm_options):
2882         * bufferparams.C:
2883         * lyxrc.C (read):
2884         (output): adapt PAPER_* enums.
2885
2886         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2887
2888         * bufferparams.h: remove paper-related enums from there
2889
2890         * paper.h: New file. A trivial header file to hold paper-related
2891         enums. It should later expand to contain many paper-related
2892         horrors access.
2893
2894         * lyxrc.C: declare extern displayTranslator
2895
2896 2003-07-27  José Matos  <jamatos@fep.up.pt>
2897
2898         * tabular.[Ch] (linuxdoc): add support for tables and figures
2899         (linuxdoc).
2900
2901 2003-07-27  José Matos  <jamatos@fep.up.pt>
2902
2903         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2904         consistency in both functions.
2905         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2906
2907 2003-07-26  Asger Alstrup  <alstrup@local>
2908
2909         * rowpainter.C (paintRows): Change algorithm to work directly on
2910         the insets rather than asking every character in the document
2911         whether its an inset.
2912
2913 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * buffer.C (openFileWrite): factorize some code
2916
2917 2003-07-26  Angus Leeming  <leeming@lyx.org>
2918
2919         * lyx_cb.C:
2920         * lyx_main.[Ch]: replace occurances of system_tempdir with
2921         os::getTmpDir().
2922
2923 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * rename Inset to InsetOld
2926
2927 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2928
2929         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2930         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2931         which I think is a bit clearer. EDIT is gone, since it was
2932         premature optimisation, and broken for mathed anyway.
2933         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2934         with cursor positioning in insets as well (math insets still do not
2935         work, but that's a different story anyway.) It mysteriously
2936         crashes sometimes with undo in the first paragraph, but I'm fairly
2937         confident that this is a compiler bug.
2938
2939 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * paragraph.C (Paragraph): adjust for new clone return type
2942         (operator==): ditto
2943         (copyIntoMinibuffer): ditto
2944
2945 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2946
2947         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2948         by not having a special case, and always doing a full rebreak of
2949         the document after undo.
2950
2951 2003-07-23  Angus Leeming  <leeming@lyx.org>
2952
2953         * factory.C (createInset): InsetExternal::setParams now takes a
2954         Buffer const * arg.
2955
2956 2003-07-23  Angus Leeming  <leeming@lyx.org>
2957
2958         * factory.C (createInset): changed interface to the external and
2959         graphics mailers' string2params functions.
2960
2961 2003-07-23  Angus Leeming  <leeming@lyx.org>
2962
2963         * factory.C (createInset): pass a
2964         Buffer const * parameter to InsetExternalMailer's string2params.
2965
2966 2003-07-22  John Levon  <levon@movementarian.org>
2967
2968         * Thesaurus.h: include the right aiksaurus header
2969
2970 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2971
2972         * MenuBackend.C (expand): check menu shortcuts unconditionally
2973
2974 2003-07-21  Angus Leeming  <leeming@lyx.org>
2975
2976         * factory.C (createInset): pass a
2977         buffer_path parameter to InsetGraphicsMailer's string2params.
2978
2979 2003-07-21  Angus Leeming  <leeming@lyx.org>
2980
2981         * BufferView_pimpl.C (buffer):
2982         * buffer.C (d-tor):
2983         * lyx_main.C (LyX):
2984         * lyxfunc.C (dispatch):
2985         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2986         rather than the grfx shortcut.
2987
2988 2003-07-21  André Pönitz  <poenitz@gmx.net>
2989
2990         * rowpainter.C: remove unused variables
2991
2992         * tabular_funcs.C:
2993         * tabular_funcs.h: move to tabular.C
2994         * Makefile.am: adjust
2995
2996         * tabular.[Ch]: basic optical cleaning
2997
2998         * author.h: pass references, not values
2999
3000 2003-07-18  André Pönitz  <poenitz@gmx.net>
3001
3002         * lyxtext.h:
3003         * metricsinfo.C:
3004         * metricsinfo.h:
3005         * rowpainter.C:
3006         * text.C:
3007         * text2.C:
3008         * text3.C: two-phase drawing for InsetText and InsetTabular
3009         some float -> int changes.
3010
3011 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3012
3013         * lyx_main.C: fix the fix
3014
3015 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * lyx_main.C: fix a crash in batch mode if no files specified
3018         * converter.C: ws
3019
3020 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * format.[Ch] (papersize): moved to BufferParams
3023         * converter.[Ch] (dvips_options): moved to BufferParams
3024         (dvipdfm_options): moved to anon namespace
3025         * bufferparams.[Ch]: added above functions.
3026
3027 2003-07-17  André Pönitz  <poenitz@gmx.net>
3028
3029         * lyxtext.h:
3030         * rowpainter.C:
3031         * text2.C: don't call inset->update() anymore
3032
3033         * metricsinfo.[Ch]: add convenience constructor
3034
3035 2003-07-16  André Pönitz  <poenitz@gmx.net>
3036
3037         * lyxcursor.[Ch]:
3038         * lyxfunc.[Ch]:
3039         * text.C:
3040         * text2.C: replace the LyXCursor::irow_ member with
3041          on-demand computation of the value
3042
3043 2003-07-16  John Levon  <levon@movementarian.org>
3044
3045         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3046
3047 2003-07-15  André Pönitz  <poenitz@gmx.net>
3048
3049         * text.C:
3050         * text2.C: remove no more needed refresh_row
3051
3052 2003-07-15  André Pönitz  <poenitz@gmx.net>
3053
3054         * lyxtext.h:
3055         * rowpainter.C:
3056         * text2.C:
3057         * text3.C: refresh_status tristate -> need_update bool
3058
3059 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * lyxtext.h (init): remove reinit argument (act as if always true)
3062         * text2.C: adjust to that
3063
3064 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3065
3066         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3067         * text3.C: use it to delete selections in some cases
3068         (bugs 441, 673, 702, 954).
3069
3070 2003-07-14  André Pönitz  <poenitz@gmx.net>
3071
3072         * rowpainter.[Ch]: reduce interface
3073
3074 2003-07-14  André Pönitz  <poenitz@gmx.net>
3075
3076         * BufferView_pimpl.C:
3077         * text2.C: adjust after removing unused BufferView * argument
3078
3079 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * text2.C (init): fix a crash fired on resize
3082
3083 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3084
3085         * buffer.[Ch]: added new closing signal
3086         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3087         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3088         BufferView::Pimpl via the closing the signal
3089
3090 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3091
3092         * buffer.[Ch]: take out all bv-related from buffer
3093         * BufferView.C:
3094         * BufferView_pimpl.[Ch]: connect to new signals
3095         * CutAndPaste.C: removed useless asserts
3096         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3097         * lyxvc.[Ch]:
3098         * vc-backend.[Ch]:
3099         * lyxfunc.C: moved view-related funciontality from vc here
3100         * paragraph.C: removed outdated comments
3101         * text.C: ws
3102
3103 2003-07-10  André Pönitz  <poenitz@gmx.net>
3104
3105         * BufferView_pimpl.C:
3106         * tabular.h:
3107         * tabular_funcs.C:
3108         * text.C:
3109         * text2.C: remove InsetText::InnerCache, clean up consequences
3110
3111 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3112
3113         * ispell.C: fix two typos in error messages
3114
3115 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3116
3117         * Extend Note inset to other forms of annotation like Comment
3118         and Greyedout. Right button click gives dialog.
3119
3120         Files modified or added (+):
3121
3122         * insetnote.[Ch]
3123         * FormNote.[Ch]      +
3124         * ControlNote.[Ch]   +
3125         * form_note.fd       +
3126         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3127         frontends/controllers
3128         * xforms/Dialogs.C
3129         * factory.C
3130
3131 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3132
3133         * aspell.C: add missing namespace lyx::support
3134
3135 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * BufferView.[Ch] (newFile): Add
3138         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3139         * LaTeX.[Ch] (message): added this signal and use it
3140         * buffer.[Ch] (busy, message): added these signals and use them
3141         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3142         * converter.C:
3143         * exporter.C:
3144         * format.C:
3145         * importer.C: use buffer signals instead of direct bv calling
3146         * lyx_cb.[Ch] (ShowMessage): removed
3147         * lyx_main.C:
3148         * lyxfunc.C:
3149         * paragraph_funcs.C:
3150         * text2.C: use buffer signals
3151
3152 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * introduce namespace lyx::graphics
3155
3156 2003-07-02  André Pönitz  <poenitz@gmx.net>
3157
3158         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3159
3160 2003-07-01  André Pönitz  <poenitz@gmx.net>
3161
3162         * text.C:
3163         * text2.C:
3164         * text3.C:
3165         * text_funcs.[Ch]:
3166         * textcursor.h:
3167         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3168           text*.C to text_func.C
3169
3170 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * introduce namespace lyx::support
3173
3174 2003-06-30  André Pönitz  <poenitz@gmx.net>
3175
3176         * Chktex.C:
3177         * funcrequest.C:
3178         * lyxtext.h:
3179         * text.C: re-enable --with-included-string
3180
3181 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3182
3183         * textcursor.C: add <config.h>
3184
3185         * text.C (getWord): remove const from word_location arg
3186
3187         * lyxvc.C (getLogFile): fix const type order
3188
3189         * lyxtext.h: remove const from word_location arg, add arg name
3190
3191         * lyxlayout.h: currect type on labeltype.
3192
3193         * importer.C: correct \file
3194
3195         * converter.C (intToFormat): use std:: on ret val, ws changes
3196
3197         * bufferlist.h: correct \file
3198
3199         * buffer.C (makeLinuxDocFile): fix const type order
3200         (makeDocBookFile): ditto
3201         (fillWithBibKeys): use std:: on stdlib args.
3202
3203         * CutAndPaste.C: fix authors.
3204         (availableSelections): use std:: on return vector
3205
3206 2003-06-27  André Pönitz  <poenitz@gmx.net>
3207
3208         * BufferView_pimpl.C:
3209         * bufferview_funcs.C:
3210         * lyxcursor.C:
3211         * lyxcursor.h:
3212         * lyxfunc.C:
3213         * lyxtext.h:
3214         * rowpainter.C:
3215         * text.C:
3216         * text2.C:
3217         * text3.C: remove LyXCursor::row_ member
3218
3219         * lyxtext.h:
3220         * text.C: rename fullRebreak() to partialRebreak() and implement
3221           a fullRebreak() that really bereks fully
3222
3223         * textcursor.h: new struct for cursor-related data
3224
3225 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3226
3227         * lyx_main.C (LyX): get full path of document loaded on the
3228         command line
3229
3230 2003-06-26  André Pönitz  <poenitz@gmx.net>
3231
3232         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3233           remove unused/broken operator>,<,>=.
3234
3235         *       text.C: remove only use of broken operator<= in an Assert().
3236
3237 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3238
3239         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3240         moved errorlist_.clear to showErrorList
3241
3242 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * converter.C (scanLog, runLaTeX):
3245         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3246         move the bv->showErrorList call to the callers
3247         * lyxfunc.C: i.e. here...
3248         * text2.C: and here
3249         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3250         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3251         namespace, the second to...
3252         * buffer_funcs (BufferFormat, parseErrors): added
3253         * errorlist.C (ErrorList(TeXErrors const &)): removed
3254
3255 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3256
3257         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3258
3259 2003-06-24  "Garst R. Reese" <reese@isn.net>
3260
3261         * debug.C: fix typo
3262
3263 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3264
3265         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3266
3267         * version.C.in: change docversion to 1.4
3268
3269 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3270
3271         * buffer.C: fix a bug just introduced
3272
3273 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3274
3275         * buffer.[Ch]: added the parseError signal and use it, removed
3276         sgmlError
3277         * BufferView.[Ch] (addError): moved to ...
3278         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3279         to the Buffer::parseError signal to catch (guess what) parse errors
3280         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3281
3282 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3285         ability to create a buffer and to return an existing one from
3286         the list. Moved these functions to...
3287         * buffer_funcs.[Ch]: added
3288         * BufferView.[Ch] (loadLyXFile): added
3289         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3290         job removed from bufferlist::loadLyXFile.
3291         * buffer.C (setReadOnly): make it work without view
3292         (i.e added an if (users))
3293
3294 2003-06-19  Angus Leeming  <leeming@lyx.org>
3295
3296         * lfuns.h:
3297         * LyXAction.C (init):
3298         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3299         with LFUN_DIALOG_SHOW <name> <data>.
3300
3301 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3302
3303         * CutAndPaste.C (availableSelections): small compilation fix for
3304         ancient (gcc 2.9x) compilers
3305
3306 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * text3.C (cursorNext): add tmp var
3309
3310         * text2.C (updateCounters): for function calling out of for clause
3311         (replaceSelectionWithString): ditto
3312         (insertStringAsParagraphs): ditto
3313         (getColumnNearX): add tmp var
3314         (setCursorFromCoordinates): add tmp var
3315         (cursorDownParagraph): add tmp var
3316         (deleteEmptyParagraphMechanism): add tmp var
3317
3318         * text.C (insertChar): add tmp var
3319
3320         * rowpainter.C (paintDepthBar): add tmp var
3321
3322         * CutAndPaste.C (availableSelections): potentially check all
3323         paragraphs in a cut to fill the shown strings.
3324
3325 2003-06-18  André Pönitz  <poenitz@gmx.net>
3326
3327         * kbmap.[Ch]: use vector<> instead of list<>
3328
3329 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3330
3331         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3332         pasteSelection with index
3333
3334         * text2.C (pasteSelection): modify, call pasteSelection with index
3335
3336         * paragraph.C (asString): reimplement version with no interval to
3337         call the one with interval.
3338
3339         * lyxtext.h: add index arg to pasteSelection
3340
3341         * MenuBackend.C (MenuItem): handle PasteRecent
3342         (Menu::read::Menutags): add md_pasterecent
3343         (read): handle it
3344         (expandPasteRecent): new function
3345         (expand): use it
3346
3347         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3348
3349         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3350         the limited stack
3351         (availableSelections): new function
3352
3353 2003-06-17  Angus Leeming  <leeming@lyx.org>
3354
3355         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3356
3357 2003-06-17  Angus Leeming  <leeming@lyx.org>
3358
3359         * lfuns.h:
3360         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3361
3362         * lyxfunc.C (dispatch): invoke it.
3363
3364 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3365
3366         * iterators.C (operator++, ParPosition): reintroduce some
3367         const_cast for the benefit of older compilers.
3368
3369 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3370
3371         * text3.C (dispatch): do not modify clipboard when doing
3372         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3373         LFUN_DELETE_SKIP on a selection selection
3374
3375 2003-06-16  André Pönitz  <poenitz@gmx.net>
3376
3377         * BufferView.C:
3378         * buffer.C:
3379         * buffer.h:
3380         * paragraph.C:
3381         * tabular.[Ch]: IU of clone() and getLabelList();
3382
3383 2003-06-13  André Pönitz  <poenitz@gmx.net>
3384
3385         * tabular.h: compactification
3386
3387 2003-06-12  André Pönitz  <poenitz@gmx.net>
3388
3389         * tabular.C:
3390         * tabular.h:
3391         * tabular_funcs.h: some renaming plus whitespace
3392
3393 2003-06-12  André Pönitz  <poenitz@gmx.net>
3394
3395         * BufferView.C:
3396         * BufferView_pimpl.C:
3397         * CutAndPaste.C:
3398         * buffer.C:
3399         * iterators.[Ch]:
3400         * lyxfunc.C:
3401         * text.C:
3402         * toc.C: Return a Paragraph & for ParIterator::operator*()
3403
3404 2003-06-11  John Levon  <levon@movementarian.org>
3405
3406         * lyx_main.C:
3407         * ToolbarBackend.h:
3408         * ToolbarBackend.C: add "Toolbars" section and
3409         put the flags there
3410
3411 2003-06-10  Angus Leeming  <leeming@lyx.org>
3412
3413         * lfuns.h:
3414         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3415
3416         * lyxfunc.C (dispatch): invoke it.
3417
3418 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * main.C: protect <ios> with HAVE_IOS
3421         (main): protect sync_with_stdio with HAVE_IOS
3422
3423 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3424
3425         * text2.C (cutSelection): adjust
3426         (pasteSelection): adjust
3427
3428         * messages.C: handle get of empty string
3429
3430         * main.C (main): use sync_with_stdio(false)
3431
3432         * lyxfunc.C (dispatch): adjust
3433
3434         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3435         (WriteAs): remove unneeded BufferView arg.
3436
3437         * bufferparams.h: use correct types on papersize, papersize2 and
3438         paperpackage.
3439
3440         * bufferparams.C (readToken): adjust for type
3441         (writeLaTeX): add missing cases to switch.
3442
3443         * bufferlist.C (quitWriteBuffer): adjust
3444         (close): adjust
3445
3446         * buffer.C (asciiParagraph): remove some commented code.
3447
3448         * CutAndPaste.C: remove current_view extern variable.
3449         (cutSelection): add BufferParams arg.
3450         (eraseSelection): add BufferParams arg.
3451         (pasteSelection): add Buffer const & arg
3452
3453 2003-06-07  John Levon  <levon@movementarian.org>
3454
3455         * buffer.C:
3456         * paragraph_funcs.C:
3457         * paragraph_pimpl.C:
3458         * text.C:
3459         * text2.C:
3460         * paragraph.h:
3461         * paragraph.C: allow InsetERT to freely space lines,
3462         and some consolidation of code
3463
3464 2003-06-06  José Matos  <jamatos@fep.up.pt>
3465
3466         * buffer.C (makeDocBookFile): fix bug #821
3467
3468 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3471
3472 2003-06-04  Angus Leeming  <leeming@lyx.org>
3473
3474         * buffer.C: bump format to 224.
3475
3476 2003-06-05  André Pönitz  <poenitz@gmx.net>
3477
3478         * text2.C (redoParagraphs): remove two const_cast<>
3479
3480 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3481
3482         * ParagraphList.h: remove last remnants of NO_STD_LIST
3483
3484 2003-06-03  Angus Leeming  <leeming@lyx.org>
3485
3486         * factory.C (createInset): small change to the way InsetExternal's params
3487         are set.
3488
3489 2003-06-04  André Pönitz  <poenitz@gmx.net>
3490
3491         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3492
3493         * paragraph_pimpl.h:
3494         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3495
3496         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3497
3498         * undo_funcs.C: make some simple cases of undo work again
3499
3500 2003-06-03  John Levon  <levon@movementarian.org>
3501
3502         * ispell.C: HPUX doesn't have sys/select.h
3503         (from Albert Chin)
3504
3505 2003-06-03  John Levon  <levon@movementarian.org>
3506
3507         * CutAndPaste.C: update tabular and include inset
3508         buffer references
3509
3510         * buffer.h:
3511         * paragraph.h:
3512         * paragraph.C: remove owningBuffer(), don't pass Buffer
3513         to clone()
3514
3515         * factory.C: insetGraphicsParams changed
3516
3517 2003-06-02  John Levon  <levon@movementarian.org>
3518
3519         * LyXAction.C:
3520         * factory.C:
3521         * lfuns.h:
3522         * lyxfunc.C:
3523         * text3.C: remove insetparent
3524
3525 2003-06-02  John Levon  <levon@movementarian.org>
3526
3527         * buffer.h:
3528         * buffer.C: fix inset_iterator.end(), move out of line
3529         (bug 1149)
3530
3531 2003-06-01  John Levon  <levon@movementarian.org>
3532
3533         * text3.C: use a proper cut/paste when doing inset
3534         insert (from Jürgen Spitzmüller)
3535
3536 2003-06-01  John Levon  <levon@movementarian.org>
3537
3538         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3539
3540 2003-05-30  André Pönitz  <poenitz@gmx.net>
3541
3542         * rowpainter.C: unify second drawing phase
3543
3544 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * trans_mgr.C: remove one case of current_view
3547
3548         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3549
3550         * paragraph_funcs.h: remove paragraph.h include
3551
3552         * paragraph.h: delete NO_STD_LIST stuff
3553
3554         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3555
3556         * buffer.h: remove paragraph.h include
3557
3558         * ParagraphList.C: delete file
3559
3560         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3561
3562         * toc.C (getTocList): adjust
3563
3564         * paragraph_pimpl.C (validate): adjust
3565
3566         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3567
3568         * paragraph.C (Paragraph): adjust
3569         (getPositionOfInset): use const_iterator, adjust
3570         (bibitem): use const_iterator, adjust
3571         (setInsetOwner): adjust
3572
3573         * iterators.C (operator++): adjust
3574
3575         * InsetList.[Ch]: Replace selfmade iterator with standard
3576         vector::iterator also introduce const_iterator. Remove getPos,
3577         getInset and setInset from InsetTable. Adjust accordingly.
3578
3579         * BufferView.C (lockInset): adjust
3580         (ChangeInsets): adjust
3581
3582         * tabular.[Ch]: delete commented same_id functions
3583
3584 2003-05-28  John Levon  <levon@movementarian.org>
3585
3586         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3587
3588 2003-05-28  André Pönitz  <poenitz@gmx.net>
3589
3590         * metricsinfo.[Ch]: remove 'fullredraw' member
3591
3592 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3593
3594         * lyxtextclass.C (operator): remove caching.
3595
3596 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * text3.C: adjust
3599
3600         * text2.C (cursorBottom): adjust
3601         (setCounter): use ParagraphList::find, adjust
3602
3603         * text.C (workWidth): use ParagraphList::find, adjust
3604
3605         * lyxcursor.C (LyXCursor): adjust
3606
3607         * buffer.C (inset_iterator): adjust
3608
3609         * ParagraphList.h: make iterator(value_type) private, make
3610         ParagraphList a friend of iterator.
3611
3612         * ParagraphList.C (find): new function
3613
3614         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3615
3616 2003-05-27  André Pönitz  <poenitz@gmx.net>
3617
3618         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3619
3620 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3621
3622         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3623
3624 2003-05-26  John Levon  <levon@movementarian.org>
3625
3626         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3627
3628 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * remove same_id from function signatures, adjust.
3631
3632 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3635
3636         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3637
3638         * paragraph.C (Paragraph): get rid of same_ids parameter
3639
3640         * ParagraphList.C (insert): adjust
3641         (push_back): adjust
3642
3643 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * paragraph_funcs.C (breakParagraph): adjust
3646         (breakParagraphConservative): adjust
3647
3648         * buffer.C (readParagraph): adjust
3649
3650         * ParagraphList.C (insert): take a reference instead of a pointer
3651         (insert): adjust
3652
3653         * paragraph.[Ch] (id): new function
3654
3655         * bufferlist.C (newFile): adjust
3656
3657         * ParagraphList.C (ParagraphList): adjust
3658         (assign): adjust
3659         (push_back): take a reference instead of a pointer.
3660
3661         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3662
3663         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3664         instead.
3665
3666         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3667         set else use old code.
3668
3669         * ParagraphList.C: remove all NO_NEXT code and only compile this
3670         code of NO_STD_LIST is set.
3671
3672 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3673
3674         * BufferView_pimpl.C:
3675         * TextCache.C:
3676         * TextCache.h:
3677         * bufferlist.C:
3678         * errorlist.h:
3679         * format.C:
3680         * format.h:
3681         * graph.C:
3682         * lyxfunc.C:
3683         * lyxrc.C:
3684         * graphics/GraphicsConverter.C:
3685         * graphics/PreviewLoader.C: header adjustment
3686
3687 2003-05-23  Angus Leeming  <leeming@lyx.org>
3688
3689         * LaTeXFeatures.[Ch] (useBabel): new method.
3690         * bufferparams.C (writeLaTeX): use it.
3691
3692 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * ParagraphList.h (set): remove unused function.
3695
3696 2003-05-23  André Pönitz  <poenitz@gmx.net>
3697
3698         * BufferView.C:
3699         * BufferView_pimpl.C:
3700         * buffer.C:
3701         * buffer.h:
3702         * lyxfunc.C:
3703         * undo_funcs.C: setUndo reworked
3704
3705         * iterators.[Ch]: add access to topmost ParagraphList
3706
3707         * lyxtext.[Ch] (workWidth): add a const
3708
3709 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * texrow.[Ch] (increasePos): remove function
3712         * exporter.C (export): removed unused var and outdated comment
3713
3714 2003-05-23  Angus Leeming  <leeming@lyx.org>
3715
3716         * latexrunparams.h: rename fragile as moving_arg.
3717         * paragraph.C (simpleTeXOnePar): ditto.
3718         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3719
3720 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3723         (createUndo): ditto
3724         (textUndoOrRedo): comment out a currently unused var.
3725
3726         * paragraph.h (NO_NEXT): enable NO_NEXT
3727
3728         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3729
3730         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3731
3732         * exporter.C (Export): adjust for removeAutoInsets removal.
3733
3734         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3735
3736         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3737
3738         * BufferView.[Ch] (removeAutoInsets): delete function
3739
3740 2003-05-22  Angus Leeming  <leeming@lyx.org>
3741
3742         * latexrunparams.h: add a free_spacing variable.
3743
3744         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3745         to pass moving_arg, as the data is stored in runparams.fragile.
3746
3747         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3748         to Inset::latexOptional or to simpleTeXOnePar.
3749
3750         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3751         free_spacing arg to Inset::latexOptional.
3752
3753         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3754         free_spacing arg.
3755
3756 2003-05-22  Angus Leeming  <leeming@lyx.org>
3757
3758         * latexrunparams.h: add fragile and use_babel variables.
3759
3760         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3761         * buffer.C (makeLaTeXFile): store this returned value in
3762         runparams.use_babel, thus passing it to the inset::latex methods.
3763
3764         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3765         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3766
3767         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3768         longer has a fragile arg, as it is stored in runparams.fragile.
3769
3770         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3771         moving_arg parameter as the data is stored in runparams.fragile.
3772
3773         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3774         a fragile parameter as the data is stored in runparams.fragile.
3775
3776 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777
3778         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3779
3780 2003-05-22  Angus Leeming  <leeming@lyx.org>
3781
3782         * latexrunparams.h: add a 'bool nice' which defaults to false.
3783
3784         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3785         now encapsulated within runparams.
3786
3787         * bufferlist.C (updateIncludedTeXfiles):
3788         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3789
3790 2003-05-22  Angus Leeming  <leeming@lyx.org>
3791
3792         * latexrunparams.h: new file containing struct LatexRunParams.
3793         * Makefile.am: add new file.
3794
3795         * LaTeX.[Ch] (c-tor, run):
3796         * buffer.[Ch] (makeLaTeXFile):
3797         * bufferlist.[Ch] (updateIncludedTeXfiles):
3798         * converter.C (convert, scanLog):
3799         * converter.[Ch] (runLaTeX):
3800         * exporter.C (Export):
3801         * paragraph.[Ch] (simpleTeXOnePar):
3802         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3803         * paragraph_funcs.[Ch] (latexParagraphs):
3804         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3805         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3806         pass around a LatexRunParams parameter.
3807
3808 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * paragraph.[Ch]: remove unused constructor
3811
3812         * ParagraphList.C (erase): new function, taking two iterators
3813
3814 2003-05-22  André Pönitz  <poenitz@gmx.net>
3815
3816         * undo_funcs.C: remove duplicated code
3817
3818         * iterator.[Ch]: operator=
3819
3820 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * tabular.C (SetMultiColumn): ws changes
3823
3824         * rowpainter.C (paintFirst): get rid of a ->previous
3825
3826         * lyx_cb.C (getPossibleLabel): parlist simplification
3827
3828         * BufferView.C (ChangeInsets): simplify slightly.
3829
3830 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3831
3832         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3833         * lfuns.h: new LFUN_SPACE
3834         * lyxfunc.C: protected space has a new lfun
3835         * paragraph_funcs.C: read new space insets
3836         * text3.C:
3837         * factory.C: handle new space insets
3838
3839 2003-05-22  André Pönitz  <poenitz@gmx.net>
3840
3841         * BufferView.C:
3842         * BufferView_pimpl.C:
3843         * buffer.[Ch]:
3844         * lyxfunc.C:
3845         * undo_funcs.C: return a ParIterator from getParFromID.
3846
3847         * iterators.[Ch]: add two const's
3848
3849 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * toc.C (getTocList): adjust
3852
3853         * iterators.[Ch]: rework for parlist
3854
3855         * buffer.C (par_iterator_begin): adjust
3856         (par_iterator_end): adjust
3857
3858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3859
3860         * BufferView.C (removeAutoInsets): adjust
3861         (ChangeInsets): adjust
3862
3863 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * text.C (top_y): fix bug 1110
3866
3867 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * errorlist.[Ch]: added
3870         * buffer.C:
3871         * BufferView.[Ch]:
3872         * BufferView_pimpl.C:
3873         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3874         instead
3875
3876 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * Makefile.am: ensure that lyx is relinked upon changes to the
3879         various "convenience" libs.
3880
3881 2003-05-20  Angus Leeming  <leeming@lyx.org>
3882
3883         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3884         files are compiled in alphabetical order again.
3885
3886         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3887
3888 2003-05-19  Angus Leeming  <leeming@lyx.org>
3889
3890         * gettext.[Ch]: remove "char const * _(char const *)".
3891
3892 2003-05-19  André Pönitz  <poenitz@gmx.net>
3893
3894         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3895
3896         * Makefile.am:
3897         * BufferView.C:
3898         * DepTable.h:
3899         * LaTeXFeatures.C:
3900         * buffer.C:
3901         * lyxfont.C:
3902         * lyxlex.h:
3903         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3904
3905 2003-05-19  André Pönitz  <poenitz@gmx.net>
3906
3907         * buffer.C:
3908         * lyxlayout.[Ch]:
3909         * lyxtextclass.[Ch]:
3910         * paragraph.C:
3911         * paragraph_funcs.[Ch]:
3912         * text2.C:
3913         * text3.C: more insetenv work
3914
3915 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * ParagraphParameters.C (params2string): small bug fixed
3918
3919 2003-05-16  André Pönitz  <poenitz@gmx.net>
3920
3921         * debug.C:
3922         * bufferview_funcs.C: patch from Kornel Benko to prevent
3923           crash when _(...) is called twice in a statement
3924
3925 2003-05-16  André Pönitz  <poenitz@gmx.net>
3926
3927         * BufferView.C:
3928         * lyxfunc.C:
3929         * text.C:
3930         * text2.C:
3931         * text3.C:
3932         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3933
3934 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * lyx_main.C (init): remove spurious static_cast
3937
3938 2003-05-14  André Pönitz  <poenitz@gmx.net>
3939
3940         * BufferView.C: fix format string
3941
3942 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3943
3944         * BufferView.[Ch] (insertErrors): removed
3945         * BufferView.[Ch] (showErrorList): added
3946         * buffer.C (runChkTeX):
3947         * converter.C (scanLog): call showErrorList instead of inserterrors
3948
3949 2003-05-13  André Pönitz  <poenitz@gmx.net>
3950
3951         * BufferView_pimpl.C:
3952         * buffer.C:
3953         * bufferview_func.C:
3954         * MenuBackend.C:
3955         * lyxfunc.C:
3956         * lyxrc.C:
3957         * tex-accent.C:
3958         * text3.C:
3959         * toc.C:
3960         * tabular_funcs.h: tostr() from its own header
3961
3962         * ParagraphParameters.C:
3963         * ToolbarBackend.C:
3964         * bufferparams.C:
3965         * format.C:
3966         * lyxlex_pimpl.C:
3967         * text3.C: STRCONV()
3968
3969 2003-05-12  André Pönitz  <poenitz@gmx.net>
3970
3971         * BufferView.C:
3972         * BufferView_pimpl.C:
3973         * CutAndPaste.C:
3974         * LaTeX.C:
3975         * LaTeXFeatures.C:
3976         * ParagraphParameters.C:
3977         * buffer.C:
3978         * bufferlist.C:
3979         * bufferparams.C:
3980         * bufferview_funcs.C:
3981         * converter.C:
3982         * counters.C:
3983         * debug.C:
3984         * exporter.C:
3985         * format.C:
3986         * importer.C:
3987         * lyx_cb.C:
3988         * lyx_main.C:
3989         * lyxfont.C:
3990         * lyxfunc.C:
3991         * lyxvc.C:
3992         * paragraph.C:
3993         * paragraph_funcs.C:
3994         * tabular.C:
3995         * tabular_funcs.C:
3996         * text2.C:
3997         * text3.C:  boost::format -> bformat  all over the place
3998
3999
4000 2003-05-09  André Pönitz  <poenitz@gmx.net>
4001
4002         * LColor.[Ch]: Pimpl the #include <map> away
4003
4004 2003-05-09  John Levon  <levon@movementarian.org>
4005
4006         * bufferlist.C: never remove emergency saves
4007
4008 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * Makefile.am: better lib building
4011
4012 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4015         instead.
4016         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4017         (simpleTeXSpecialChars): adjust
4018         (simpleTeXSpecialChars): adjust
4019         * paragraph.C (simpleTeXOnePar): adjust
4020         * buffer.C (makeLaTeXFile): adjust
4021
4022         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4023
4024         * text2.C (changeDepth): parlist cleanup
4025         (getColumnNearX): ditto
4026
4027         * rowpainter.C (getLabelFont): parlist cleanup
4028
4029         * bufferlist.C (newFile): parlist cleanup
4030
4031         * CutAndPaste.C (eraseSelection): parlist cleanup
4032
4033         * BufferView_pimpl.C (trackChanges): parlist cleanup
4034         (dispatch): ditto
4035
4036         * BufferView.C (lockInset): parlist cleanup.
4037         (ChangeInsets): ditto
4038
4039 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * CutAndPaste.h: Update file header.
4042
4043         * CutAndPaste.C: Update file header.
4044         Store the parts cut out of the Document in a limited_stack.
4045         (copySelection): adjust
4046         (pasteSelection): new function, takes the index in the limited stack.
4047         (nrOfParagraphs): adjust
4048         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4049         simplify error inset insertion.
4050         (checkPastePossible): adjust
4051
4052 2003-05-06  John Levon  <levon@movementarian.org>
4053
4054         * text2.C: don't cast wrap inset to float
4055
4056 2003-05-05  André Pönitz  <poenitz@gmx.net>
4057
4058         * iterator.C:
4059         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4060
4061         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4062           few naked Paragraph *.
4063
4064 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4065
4066         * bufferparams.C: Output warning if a document with missing
4067         TeX document class is loaded
4068         * exporter.C: Disable TeX exports if the document class is missing
4069         * lyxtextclass.C:
4070         * lyxtextclass.h:
4071         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4072         isTeXClassAvailable()
4073
4074 2003-05-03  John Levon  <levon@movementarian.org>
4075
4076         * BufferView.h:
4077         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4078         explicit cursor show/hide
4079
4080         * BufferView_pimpl.h:
4081         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4082         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4083
4084         * lyxfunc.C: hide cursor before dispatching.
4085
4086         * lyx_cb.C:
4087         * lyxfind.C:
4088         * text.C:
4089         * text3.C: remove explicit cursor hides
4090
4091 2003-05-02  André Pönitz  <poenitz@gmx.net>
4092
4093         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4094
4095         * undo_funcs.C:
4096         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4097           linked lists
4098
4099         * text2.C: tiny whitespace
4100
4101 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * undo_funcs.C: almost only ws changes.
4104
4105         * ParagraphList.C (splice): just return if pl is empty.
4106
4107 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * ParagraphList.C (splice): new function.
4110
4111         * CutAndPaste.C (pasteSelection): use it
4112
4113 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * CutAndPaste.C (pasteSelection): remove the last next and
4116         previous from this file.
4117
4118 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * CutAndPaste.C (pasteSelection): more clean up, user proper
4121         ParagraphList functions for pasteing.
4122
4123         * ParagraphList.C (insert): new function, three arg insert
4124
4125 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * ParagraphList.C (insert): new function, three arg insert
4128
4129         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4130         not on paragraphs.
4131
4132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4135
4136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4139
4140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4143         (copySelection): clean up a bit.
4144         (pasteSelection): use make_pair
4145
4146         * ParagraphList.C (ParagraphList): implement copy constructor
4147         (operator=): implement, base on copy constructor.
4148         (assign): new func
4149
4150         * paragraph.C (erase): return a bool
4151
4152         * paragraph_pimpl.C (erasePos): remove function, move contents...
4153         (erase): ... here. Return a bool.
4154         (erase): call erase instead of erasePos.
4155
4156 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4157
4158         * ParagraphList.h: define PitPosPair
4159         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4160         ParagraphList, fix a bug on pasting multiple pars
4161         * text2.C: change interface to C&P
4162
4163 2003-04-30  André Pönitz  <poenitz@gmx.net>
4164
4165         * undo_func.C: revert part of yesterday's patch 2
4166
4167 2003-04-30  John Levon  <levon@movementarian.org>
4168
4169         * LColor.C: s/tabular/table/
4170
4171 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * text3.C (dispatch): do not convert iterator -> pointer
4174         * undo_funcs.C (setCursorParUndo): ditto
4175         * text_funcs.C (transposeChars): ditto
4176
4177         * text2.C (setLayout): ws changes only
4178
4179         * text.C (breakParagraph): do not convert iterator -> pointer
4180         (insertChar): ditto
4181         (acceptChange): ditto
4182         (rejectChange): ditto
4183         (changeCase): ditto
4184         (Delete): ditto
4185         (backspace): ditto
4186
4187         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4188         pointer
4189
4190 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * text3.C (gotoInset): YABG (yet another bad getChar)
4193
4194 2003-04-29  André Pönitz  <poenitz@gmx.net>
4195
4196         * paragraph.h: make operator= private unimplemented as long as
4197           it is unusable
4198
4199         * ParagraphList.C: whitespace
4200
4201         * paragraph.[Ch]:
4202         * paragraph_pimpl.[Ch]:
4203         * paragraph_funcs.C:
4204         * CutAndPaste.C:
4205         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4206
4207         * text2.C:
4208           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4209
4210 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4213         * paragraph.[Ch] (erase):
4214         * paragraph_pimpl.[Ch] (erase): change return type and value
4215         * text2.C (cutSelection): some rework
4216
4217 2003-04-28  John Levon  <levon@movementarian.org>
4218
4219         * bufferlist.C: changes for unsaved changes dialog
4220
4221 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * bufferlist.C (newFile): set language (messages_) for new
4224         documents also.
4225
4226         * buffer.C (readFile): ws changes only.
4227
4228 2003-04-28  André Pönitz  <poenitz@gmx.net>
4229
4230         * undo_funcs.C:
4231         * lyxfunc.C:
4232         * buffer.[Ch]:
4233         * BufferView_pimpl.C:
4234         * BufferView.C: getParFromID related ParagraphList::iterator changes
4235
4236 2003-04-28  André Pönitz  <poenitz@gmx.net>
4237
4238         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4239           Changes
4240
4241 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * messages.C: remove one more localedir class variable.
4244
4245 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * messages.C (getLocaleDir): singleton generation function
4248         (Pimpl): use it.
4249         (Messages): add a default constructor.
4250
4251         * main.C (main): do not setup localedir here, do not call
4252         gettext_init.
4253
4254         * gettext.C (_): use it.
4255         (gettext_init): delete funciton
4256
4257 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * gettext.C (getLyXMessages): new singleton generating function.
4260
4261         * buffer.C (updateDocLang): adjust
4262
4263         * Makefile.am (messages.o): add target
4264         (main.o): remove target
4265
4266 2003-04-27  John Levon  <levon@movementarian.org>
4267
4268         * bufferlist.C:
4269         * lyx_cb.C:
4270         * lyxfunc.C:
4271         * lyxvc.C: specify cancel button in Alert::prompt
4272
4273 2003-04-26  John Levon  <levon@movementarian.org>
4274
4275         * text3.C:
4276         * lyxfunc.C:
4277         * lfuns.h:
4278         * LyXAction.C: add LFUN_INSET_SETTINGS
4279
4280         * lyxfunc.C: don't enable tabular-feature when there's
4281         just any locking inset
4282
4283 2003-04-26  John Levon  <levon@movementarian.org>
4284
4285         * bufferlist.C: re-add Cancel to buffer close question
4286
4287         * lyxfunc.C: fix import UI a bit
4288
4289 2003-04-25  John Levon  <levon@movementarian.org>
4290
4291         * gettext.C: remove the broken asserts for now
4292
4293 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * messages.C: make case where setlocale cannot comply work better.
4296
4297         * buffer.C (updateDocLang): new function
4298         (changeLanguage): use it
4299         (readFile): use it
4300
4301         * text2.C (setCounter): use B_ a bit.
4302
4303         * lyxlayout.C (Read): be sure to trim the label strings.
4304
4305         * messages.C (Messages): fix typo in comment
4306
4307         * buffer.C (readFile): set message_ after file is loaded.
4308         (makeDocBookFile): remove double return
4309         (changeLanguage): reset message_ upon language change.
4310         (B_): new func, use this to get translated buffer strings.
4311
4312         * main.C: add myself and Jean Marc as authors.
4313
4314 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * messages.[hC]: pimplify Messages, and three different pimpls to be
4317         used in different circumstances.
4318
4319         * gettext.[Ch]: change for use with new message code.
4320
4321 2003-04-24 André Pönitz <poenitz@gmx.net>
4322
4323         * factory.C: support for eqref
4324
4325 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * messages.[Ch]: add missing char
4328
4329         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4330
4331         * messages.[Ch]: New files
4332
4333 2003-04-18  John Levon  <levon@movementarian.org>
4334
4335         * BufferView.h:
4336         * BufferView.C:
4337         * BufferView_pimpl.C:
4338         * lfuns.h:
4339         * LyXAction.C:
4340         * lyxtext.h:
4341         * text2.C: remove layout-copy/paste (bug 778)
4342
4343 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4346
4347 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4350         if they succeed. Act accordingly.
4351
4352 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * text2.C (setCharFont): adjust
4355         (setCounter): adjust
4356         (insertStringAsLines): adjust
4357
4358         * text.C (leftMargin): adjust
4359         (setHeightOfRow): adjust
4360
4361         * rowpainter.C (paintFirst): adjust
4362         (paintLast): adjust
4363
4364         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4365         (outerHook): ditto
4366         (isFirstInSequence): ditto
4367         (getEndLabel): ditto
4368         (outerFont): adjust
4369
4370         * paragraph.C (getParLanguage): comment out some hard stuff.
4371
4372         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4373         (sgmlError): ditto
4374         (simpleDocBookOnePar): ditto
4375         (makeDocBookFile): use ParagraphList::iterator
4376
4377         * CutAndPaste.C (pasteSelection): adjust
4378
4379 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * text2.C (getFont): adjust
4382         (getLayoutFont): adjust
4383         (getLabelFont): adjust
4384
4385         * paragraph_funcs.C (TeXOnePar): adjust
4386
4387         * buffer.C (simpleLinuxDocOnePar): adjust
4388         (simpleDocBookOnePar): adjust
4389
4390         * CutAndPaste.C (pasteSelection): adjust
4391
4392         * BufferView.C (getEncoding): adjust
4393
4394         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4395
4396 2003-04-16  John Levon  <levon@movementarian.org>
4397
4398         * lyxfind.C: use parlist stuff for search/changes
4399
4400 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4403
4404         * text2.C (deleteEmptyParagraphMechanism): adjust
4405
4406         * text2.[Ch] (ownerParagraph): delete func (both of them
4407
4408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4411
4412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * ParagraphList.C: prepare for NO_NEXT
4415
4416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * text2.C (getFont): adjust
4419         (getLayoutFont): adjust
4420         (getLabelFont): adjust
4421
4422         * paragraph.C (getFont): adjust
4423         (getLabelFont): adjust
4424         (getLayoutFont): adjust
4425
4426         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4427
4428 2003-04-15  John Levon  <levon@movementarian.org>
4429
4430         From Angus Leeming
4431
4432         * lyx_main.C: handle Include in .ui files
4433
4434 2003-04-15  John Levon  <levon@movementarian.org>
4435
4436         * MenuBackend.C: make the doc files length shorter
4437
4438         * ToolbarBackend.h:
4439         * ToolbarBackend.C: handle toolbar placement flags,
4440         Minibuffer
4441
4442 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4445         adjust
4446
4447         * paragraph_funcs.C (TeXOnePar): adjust
4448
4449         * paragraph.C (getLabelFont): add outerfont arg, adjust
4450         (getLayoutFont): ditto
4451         (simpleTeXOnePar): adjust
4452
4453         * paragraph_pimpl.C (realizeFont): delete func
4454
4455 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4458         row argument, constify cur argument.
4459
4460 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * text2.C (getFont): adjust
4463         (getLayoutFont): adjust
4464         (getLabelFont): adjust
4465
4466         * paragraph_funcs.C (TeXOnePar): adjust
4467         (outerFont): new func...
4468         (realizeFont): ...moved out from here, changed this to facilitate
4469         transition
4470
4471         * paragraph.C (getFont): take outerfont as arg, adjust
4472         (simpleTeXOnePar): add outerfont arg, adjust
4473
4474         * buffer.C (simpleLinuxDocOnePar): adjust
4475         (simpleDocBookOnePar): adjust
4476
4477         * CutAndPaste.C (pasteSelection): adjust
4478
4479         * BufferView.C (getEncoding): adjust
4480
4481 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * text2.C (setCharFont): adjust
4484         (setCounter): adjust
4485
4486         * text.C (leftMargin): adjust
4487         (setHeightOfRow): adjust
4488
4489         * rowpainter.C (paintFirst): adjust
4490         (paintLast): adjust
4491
4492         * paragraph_pimpl.C (realizeFont): adjust
4493
4494         * paragraph.C (isFirstInSequence): move from here...
4495         * paragraph_funcs.C (isFirstInSequence): ...to here
4496
4497         * paragraph.C (outerHook): move from here...
4498         * paragraph_funcs.C (outerHook): ...to here
4499
4500         * paragraph.C (depthHook): move from here...
4501         * paragraph_funcs.C (depthHook): ...to here
4502
4503         * paragraph.C (getEndLabel): move from here...
4504         * paragraph_funcs.C (getEndLabel): ...to here
4505
4506         * text2.C (realizeFont): move from here...
4507         * paragraph_funcs.C (realizeFont): ...to here
4508
4509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4512
4513 2003-04-14  Angus Leeming  <leeming@lyx.org>
4514
4515         * LColor.[Ch]: scrap LColor mathcursor.
4516
4517 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * lyxlex.[Ch] (text): delete function
4520         * trans.C (Load): adjust
4521         * paragraph_funcs.C (readParToken): adjust
4522
4523 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4526         vector<char> instead of a char[].
4527
4528         * lyxlex_pimpl.C (getString): adjust
4529         (next): adjust
4530         (lex): use getString
4531         (eatLine): adjust
4532         (nextToken): adjust
4533
4534         * lyxlex.C (text): use pimpl_->getString()
4535         (getBool): ditto
4536         (findToken): ditto
4537
4538 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4541         (makeFontEntriesLayoutSpecific): temp var for par.size()
4542         (setLayout): temp var for ownerParagraphs().end()
4543         (fullRebreak): temp var for rows().end()
4544         (selectionAsString): temp var for boost::next(startpit), realize
4545         that the while really is a regular for loop.
4546         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4547         setCursor in one place.
4548         (setParagraph): temp vr for ownerParagraphs().end()
4549         (updateCounters): make the while loop a for loop
4550         (cutSelection): temp var for ownerParagraphs().end()
4551         (updateInset): make the do {} while() a regular for loop
4552         (getCursorX): use temp vars
4553         (setCurrentFont): use temp vars
4554         (getColumnNearX): use temp vars
4555
4556 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * text.C (transformChar): use temp var for getChar
4559         (computeBidiTables): use temp var for row->par()
4560         (fill): move temp vars for row->par() and pit->layout() earlier in
4561         the function.
4562         (labelFill): use temp var for row->par()
4563         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4564         asc and desc, realize that pit never changes and that firstpit is
4565         just a duplicate and not needed. Exchange rit->par() with pit in a
4566         lot of places.
4567         (breakAgain): use a temp var for boost::next(rit)
4568         (breakAgainOneRow): ditto
4569         (breakParagraph): use a temp var for rows().begin()
4570         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4571         (cursorRightOneWord): use temp var for cursor.par() and
4572         cursor.pos(), remove usage of tmpcursor.
4573         (cursorLeftOneWord): use temp var for cursor.par() and
4574         cursor.pos() only set cur at end of function.
4575
4576 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * text.C, text2.C: exchange all usage of Paragraph::next with
4579         boost::next(ParagraphList::iterator)
4580
4581         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4582
4583         * text2.C (cursorTop): simplify implementation
4584         (cursorBottom): ditto
4585         (setParagraph): use ParagraphList::iterator
4586         (setCurrentFont): adjust
4587         (getColumnNearX): adjust
4588         (cursorRight): adjust
4589         (cursorLeft): remove usage of Paragraph::previous
4590         (cursorUpParagraph): ditto
4591         (deleteEmptyParagraphMechanism): slight cleanup
4592
4593         * text.C (isBoundary): take a Paragraph const & instead of a
4594         pointer as arg.
4595         (addressBreakPoint): ditto
4596         (leftMargin): remove usage of Paragraph::previous.
4597         (setHeightOfRow): ditto
4598         (cursorLeftOneWord): ditto
4599         (selectNextWordToSpellcheck): ditto
4600         (Delete): ditto
4601         (backspace): ditto
4602         (breakParagraph): remove one usage of Paragraph::next
4603         (redoParagraph): ditto
4604         (acceptChange): ditto
4605         (insertChar): adjust
4606         (rowBreakPoint): adjust
4607
4608         * bufferview_funcs.C (toggleAndShow): adjust
4609
4610 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4611
4612         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4613         methods to access it.
4614         * lyxtext.h:
4615         * text.C: Added updateRowPositions to compute all row positions.
4616         Make top_y and getRowNearY() to use the cached y position
4617
4618 2003-04-11  John Levon  <levon@movementarian.org>
4619
4620         * text.C (rowBreakPoint): reintroduce the labelEnd
4621         checks, code copied from the row fill stuff. Deep voodoo.
4622
4623         * text.C (fill): add a comment and debugging for the
4624         next poor soul.
4625
4626 2003-04-11  John Levon  <levon@movementarian.org>
4627
4628         * text.C: make sure fullrow insets get wrapped to the next line,
4629         even when they're in a manual label
4630
4631 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * text2.C (insertParagraph): make it take ParagraphList::iterator
4634         as arg.
4635         (setLayout): make it return ParagraphList::iterator
4636         (redoParagraphs): ditto
4637         (setCounter): ditto
4638         (checkParagraph): ditto
4639
4640         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4641
4642         * text2.C: adjust several funcs.
4643         (realizeFont): take a ParagraphList::iterator as arg.
4644         (getLayoutFont): ditto
4645         (getLabelFont): ditto
4646         (setCharFont): ditto
4647
4648         * text.C: adjust several funcs.
4649
4650 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * text.C (selectNextWordToSpellcheck): don't accidentally
4653         skip insets
4654
4655 2003-04-10  John Levon  <levon@movementarian.org>
4656
4657         * ToolbarBackend.C (getIcon): special handling for
4658         LFUN_MATH_DELIM
4659
4660 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * text2.C (cursorRight): a getChar assert fixed
4663
4664 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * text2.C (getFont): change to take a ParagraphList::iterator
4667         instead of Paragraph*
4668         Adjust several functions.
4669
4670         * text.C (transformChar): change to take a ParagraphList::iterator
4671         instead of Paragraph*
4672         (singleWidth): ditto
4673         Adjust several functions.
4674
4675         * rowpainter.C: adjust several functions
4676         * rowpainter.h:store a ParagraphList::iterator and not a
4677         Paragraph&.
4678
4679
4680 2003-04-09  John Levon  <levon@movementarian.org>
4681
4682         * lyxfunc.C:
4683         * lfuns.h:
4684         * LyXAction.h:
4685         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4686         and the "help" bits as well
4687
4688 2003-04-09  John Levon  <levon@movementarian.org>
4689
4690         * ToolbarBackend.h:
4691         * ToolbarBackend.C: allow multiple toolbars
4692
4693 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * undo_funcs.C (setCursorParUndo): adjust
4696
4697         * text_funcs.C (transposeChars): adjust
4698
4699         * text3.C (gotoNextInset): adjust
4700         (dispatch): adjust
4701
4702         * text2.C (setLayout): adjust
4703         (changeDepth): adjust
4704         (setFont): adjust
4705         (redoParagraphs): adjust
4706         (selectionAsString): adjust
4707         (setParagraph): adjust
4708         (insertInset): adjust
4709         (cutSelection): adjust
4710         (copySelection): adjust
4711         (pasteSelection): adjust
4712         (insertStringAsLines): adjust
4713         (updateInset): adjust
4714         (setCursor): change to take a ParagraphList::iterator parameter
4715         (setCursorIntern): change to take a ParagraphList::iterator parameter
4716         (setCurrentFont): adjust
4717         (cursorLeft): adjust
4718         (cursorRight): adjust
4719         (deleteEmptyParagraphMechanism): adjust
4720
4721         * text.C (breakParagraph): adjust
4722         (insertChar): adjust
4723         (acceptChange): adjust
4724         (rejectChange): adjust
4725         (selectNextWordToSpellcheck): adjust
4726         (changeCase): adjust
4727         (Delete): adjust
4728         (backspace): adjust
4729
4730         * lyxfind.C (SearchForward): adjust
4731         (SearchBackward): adjust
4732         (nextChange): adjust
4733
4734         * lyxcursor.C (par): adjust
4735
4736         * lyxcursor.h: store a ParagraphList::iterator instead of a
4737         Paragraph*
4738
4739         * lyx_cb.C (getPossibleLabel): adjust
4740
4741         * bufferview_funcs.C (toggleAndShow): adjust
4742
4743         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4744         (dispatch): adjust
4745
4746         * BufferView.C (removeAutoInsets): adjust
4747         (lockedInsetStoreUndo): adjust
4748
4749 2003-04-09  John Levon  <levon@movementarian.org>
4750
4751         * ToolbarBackend.C: try icon without argument
4752         if with argument fails
4753
4754 2003-04-08  John Levon  <levon@movementarian.org>
4755
4756         * ToolbarBackend.h:
4757         * ToolbarBackend.C: add getIcon(), handle tooltip,
4758         and change from "Icon" to "Item".
4759
4760 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4761
4762         * BufferView.C (lockInset): another bad getchar crunched
4763
4764 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4767         again)
4768
4769 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * lyxfind.C (searchForward, searchBackwards): bug 782
4772
4773 2003-04-07  John Levon  <levon@movementarian.org>
4774
4775         * paragraph.C: remove dead comment
4776
4777         * text.C: remove troublesome depth-fiddling code
4778         in leftMargin() and rightMargin() (bug 1017)
4779
4780         * text.C: fix breaking of rows in nested lists
4781         (bug 1004)
4782
4783         * text2.C (updateCounters): fix up depth values
4784         (bug 1013)
4785
4786 2003-04-07  John Levon  <levon@movementarian.org>
4787
4788         * BufferView_pimpl.C: clear message when doc finishes resizing,
4789         and after a mouse event
4790
4791         * lyxfunc.C: clear message after exiting inset
4792
4793 2003-04-07  John Levon  <levon@movementarian.org>
4794
4795         * bufferview_funcs.C: show math status not outside
4796         status in the statusbar
4797
4798 2003-04-07  John Levon  <levon@movementarian.org>
4799
4800         * lyxfunc.C: note status changed after a depth change
4801
4802 2003-04-04  Angus Leeming  <leeming@lyx.org>
4803
4804         * LaTeX.h: move AuxInfo operator==, != out of line.
4805         Remove LaTeX virtual destructor; nothing derives from it.
4806         Move operator()() out of public area and rename it startscript().
4807         Change protected for private.
4808
4809 2003-04-04  Angus Leeming  <leeming@lyx.org>
4810
4811         * lyxfunc.C:
4812         * text2.C: remove unneeded #includes.
4813
4814 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * text2.C (dEPM): fix the heigth of the next row
4817
4818 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4819
4820         * text.C: squashed an invalid getChar requester + some ws changes
4821
4822 2003-04-03  John Levon  <levon@movementarian.org>
4823
4824         * bufferview_funcs.h:
4825         * bufferview_funcs.C:
4826         * lyxfunc.C:
4827         * lyxtext.h:
4828         * text2.C: make getStatus work for the env depth lfuns
4829
4830 2003-04-03  John Levon  <levon@movementarian.org>
4831
4832         * bufferview_funcs.h:
4833         * bufferview_funcs.C:
4834         * lyxfunc.C:
4835         * lyxtext.h:
4836         * text2.C: parlistize decDepth(), by merging it with incDepth()
4837
4838 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * lyxrow.h: store a ParagraphList::iterator instead of a
4841         Paragraph* and adjust other class functions to suit.
4842
4843         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4844         above.
4845
4846 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * text2.C (setCursor): do not anchor to cursor row for the time being
4849
4850 2003-04-02  John Levon  <levon@movementarian.org>
4851
4852         * LyXAction.C:
4853         * lfuns.h:
4854         * lyx_main.C:
4855         * lyxtext.h:
4856         * text.C:
4857         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4858
4859 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * paragraph.h: make ParagraphList and ParagraphList::iterator
4862         friends of Paragraph.
4863
4864         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4865
4866         * ParagraphList.C: Use the private next_ and previous_ from
4867         Paragraph.
4868
4869 2003-04-01  John Levon  <levon@movementarian.org>
4870
4871         * ToolbarBackend.h:
4872         * ToolbarBackend.C:
4873         * Makefile.am: rename, remove defaults gunk
4874
4875         * MenuBackend.h:
4876         * MenuBackend.C: remove defaults gunk
4877
4878         * Languages.h:
4879         * Languages.C: remove defaults gunk
4880
4881         * lyx_main.h:
4882         * lyx_main.C: error out if files couldn't be found.
4883
4884 2003-04-02  John Levon  <levon@movementarian.org>
4885
4886         * text2.C: make incDepth() use parlist
4887
4888 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * undo_funcs.C (firstUndoParagraph): adjust
4891
4892         * text3.C (gotoInset): adjust
4893         (dispatch): adjust, and rewrite loop.
4894
4895         * text2.C (init): adjust, and rewrite loop.
4896         (redoParagraphs): adjust
4897         (updateInset): adjust, and rewrite loop.
4898         (deleteEmptyParagraphMechanism): adjust
4899
4900         * tabular.C (LyXTabular): adjust
4901         (SetMultiColumn): adjust
4902         (TeXRow): adjust
4903
4904         * lyxtext.[Ch] (ownerParagraph): delete function
4905         (ownerParagraphs): new function returns a ParagraphList.
4906
4907         * BufferView.C (removeAutoInsets): adjust
4908         (insertErrors): adjust
4909         (setCursorFromRow): adjust
4910
4911 2003-04-01  Angus Leeming  <leeming@lyx.org>
4912
4913         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4914         in the frontends.
4915
4916 2003-04-02  John Levon  <levon@movementarian.org>
4917
4918         * lyxtext.h:
4919         * text.C:
4920         * Makefile.am:
4921         * text_funcs.h:
4922         * text_funcs.C: make transposeChars a free function
4923
4924         * lyxrow_funcs.C: remove wrong comment
4925
4926 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * lyxtext.h: adjust
4929         * rowpainter.C: adjust
4930         * text.C: adjust
4931         * text2.C: adjust
4932         * text3.C: adjust
4933
4934         * lyxrow_funcs. [Ch]: new files
4935
4936         * lyxrow.[Ch]: remove next and previous pointers
4937         (next,previous): remove accessor functions
4938         (isParEnd): move to lyxrow_funcs
4939         (lastPos): move to lyxrow_funcs
4940         (nextRowIsAllInset): move to lyxrow_funcs
4941         (lastPrintablePos): move to lyxrow_funcs
4942         (numberOfSeparators): move to lyxrow_funcs
4943         (numberOfHfills): move to lyxrow_funcs
4944         (numberOfLabelHfills): move to lyxrow_funcs
4945         (hfillExpansion): move to lyxrow_funcs
4946
4947         * lyxfunc.C: adjust
4948
4949         * bufferview_funcs.C (toggleAndShow): adjust
4950
4951         * RowList.h: Remove class RowList from file leave just a
4952         std::list<Row>.
4953
4954         * RowList.C: delete file
4955
4956         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4957         and lyxrow_funcs.h
4958
4959 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * text3.C (cursorPrevious): adjust
4962         (cursorNext): adjust
4963         (dispatch): adjust
4964
4965         * text2.C (redoHeightOfParagraph): adjust
4966         (redoDrawingOfParagraph): adjust
4967         (setCursor): adjust
4968
4969         * text.C (breakParagraph): adjust
4970         (insertChar): adjust
4971         (backspace): adjust
4972
4973         * rowpainter.C (RowPainter): adjust
4974         (leftMargin): simplify and adjust
4975         (most rowpainter functions): adjust.
4976
4977         * rowpainter.h: store the row as RowList::iterator not as Row*
4978
4979         * lyxcursor.C (row): taka RowList::iterator as arg
4980         (irow): ditto
4981
4982         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4983         of Row*.
4984
4985 2003-04-01  Angus Leeming  <leeming@lyx.org>
4986
4987         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4988         stuff like bool Bool.
4989
4990 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4993         rewrite a loop
4994
4995 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4998         RowList::iterator.
4999
5000         * lyxtext.h (rows): drop one version and leve a const variant that
5001         returns a RowList::iterator.
5002
5003 2003-03-31  Angus Leeming  <leeming@lyx.org>
5004
5005         * text.C (fill): ensure that the signature is the same as that in the
5006         header file.
5007
5008 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * text2.C (redoParagraphs): adjust
5011         (updateCounters): adjust
5012         (checkParagraph): adjust
5013         (getColumnNearX): adjust and reformat a bit.
5014
5015         * text.C (top_y): adjust
5016         (workWidth): adjust
5017         (leftMargin): adjust
5018         (prepareToPrint): adjust
5019         (getRow): adjust
5020         (getRowNearY): adjust
5021
5022         * lyxtext.h: make rowlist_ mutable.
5023
5024         * RowList.h: add const_iterator
5025         * RowList.C: adjust for RowList::const_iterator.
5026
5027         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5028         adjust.
5029
5030 2003-03-31  John Levon  <levon@movementarian.org>
5031
5032         * lyxrc.h:
5033         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5034
5035         * lyx_main.C: set default fonts from using lyx_gui funcs
5036
5037         * exporter.C: pdf_mode moved from lyxrc
5038
5039         * lyx_cb.C:
5040         * lyxfunc.C: changes from above
5041
5042 2003-03-31  John Levon  <levon@movementarian.org>
5043
5044         * lyx_main.C: fix to the last fix
5045
5046 2003-03-31  John Levon  <levon@movementarian.org>
5047
5048         * bufferlist.C: "Load original" -> "Load Original"
5049
5050         * converter.C:
5051         * exporter.C:
5052         * importer.C:
5053         * lyx_main.C:
5054         * format.C: more Alert cleanups
5055
5056 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * text2.C (removeParagraph): make it take a RowList::iterator as
5059         arg, adjust.
5060         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5061         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5062
5063         * text.C (anchor_row): make it take a RowList::iterator as arg,
5064         adjust.
5065         (computeBidiTables): make it take a const reference to Row instead
5066         of Row pointer, adjust.
5067         (leftMargin): make it take a RowList::iterator as arg, adjust.
5068         (rowBreakPoint): adjust
5069         (breakAgainOneRow): make it take a RowList::iterator as arg,
5070         adjust.
5071         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5072
5073         * bufferview_funcs.C (toggleAndShow): adjust
5074
5075 2003-03-30  John Levon  <levon@movementarian.org>
5076
5077         * Makefile.am:
5078         * BoostFormat.h:
5079         * boost-inst.C: moved to support
5080
5081         * several files: changes as a result
5082
5083 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * text2.C (LyXText): adjust.
5086         (init): adjust
5087         (removeRow): make it take a RowList::iterator as arg, adjust.
5088         (fullRebreak): adjust
5089         (deleteEmptyParagraphMechanism): adjust
5090         (clearPaint): adjust
5091         (postPaint): adjust
5092
5093         * text.C (top_y): adjust
5094         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5095         (breakAgain): make it take a RowList::iterator as arg, adjust.
5096         (breakParagraph): adjust
5097         (insertChar): adjust
5098         (backspace): adjust
5099
5100         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5101         need_break_row, and refresh_row.
5102
5103         * text3.C (dispatch): adjust
5104
5105         * text2.C (checkParagraph): adjust
5106         (setCursor): adjust
5107         (setCursorFromCoordinates): adjust
5108
5109         * text.C (top_y): adjust
5110         (workWidth): adjust
5111         (getRow): make it return a RowList::iterator, adjust
5112         (getRowNearY): make it return a RowList::iterator, adjust
5113
5114         * text2.C (init): adjust
5115         (insertRow): remove function
5116         (insertParagraph): adjust
5117         (redoParagraphs): adjust
5118         (fullRebreak): adjust
5119         (updateCounters): adjust
5120
5121         * text.C (top_y): rewrite to use RowList iterators.
5122         (top_y): adjust
5123         (setHeightOfRow): rewrite to sue RowList iterators.
5124         (appendParagraph): adjust
5125         (breakAgain): adjust
5126         (breakAgainOneRow): adjust
5127         (breakParagraph): adjust
5128         (getRow): adjust
5129         (getRowNearY): adjust, and remove commented code.
5130
5131         * lyxtext.h (firstRow): delete function
5132         (lastRow): delete function
5133         (rows): new function (const and non-const versions.)
5134         (insertRow): delete function
5135
5136         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5137
5138 2003-03-29  John Levon  <levon@movementarian.org>
5139
5140         * BufferView_pimpl.C: always update scrollbar top
5141         because pasting text when we're anchored could mean we
5142         miss an update altogether
5143
5144 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * text2.C (init): use rowlist_.end() and not 0.
5147         (insertRow): change to take a RowList::iterator as arg, adjust
5148         for this.
5149         (insertParagraph): change to take a RowList::iterator as arg,
5150         adjust for this.
5151         (redoParagraphs): remove some debug msgs.
5152
5153         * text.C (appendParagraph): change to take a RowList::iterator
5154         arg, adjust for this.
5155         (breakAgain): add an assert
5156         (breakAgainOneRow): ditto
5157
5158 2003-03-29  John Levon  <levon@movementarian.org>
5159
5160         * text2.C: do not clear selection after inc/decDepth
5161         (bug 550)
5162
5163 2003-03-29  John Levon  <levon@movementarian.org>
5164
5165         * BufferView.C:
5166         * buffer.C: fix broken strerrors according to Lars
5167
5168 2003-03-29  John Levon  <levon@movementarian.org>
5169
5170         * converters.C: more Alert cleanups
5171
5172 2003-03-29  John Levon  <levon@movementarian.org>
5173
5174         * bufferview_funcs.C: remove pointless Alert
5175
5176         * buffer.C: fix confusing error message when
5177         a template is chmoded 000
5178
5179 2003-03-29  John Levon  <levon@movementarian.org>
5180
5181         * BufferView.C:
5182         * BufferView.h:
5183         * BufferView_pimpl.C: Alert fixes
5184
5185         * Makefile.am:
5186         * tabular.C:
5187         * tabular-old.C: remove unused table compat reading
5188
5189 2003-03-29  John Levon  <levon@movementarian.org>
5190
5191         * BufferView.C:
5192         * buffer.C:
5193         * lyx_cb.h:
5194         * lyx_cb.C: more Alert cleanups
5195
5196         * lyxfunc.C: don't allow chktex if not latex document
5197
5198 2003-03-29  John Levon  <levon@movementarian.org>
5199
5200         * lyx_cb.C:
5201         * BufferView.C:
5202         * buffer.C: warnings pushed down from support/,
5203         kill err_alert
5204
5205 2003-03-29  John Levon  <levon@movementarian.org>
5206
5207         * lyxfunc.C: safety check for C-r (revert)
5208
5209 2003-03-29  John Levon  <levon@movementarian.org>
5210
5211         * bufferlist.h:
5212         * bufferlist.C: several UI fixes using Alert::prompt.
5213         Fix the pointless looping quit code. Fix stupid revert
5214         behaviour (bug 938)
5215
5216         * lyxvc.h:
5217         * lyxvc.C:
5218         * lyx_cb.C: use Alert::prompt
5219
5220         * lyx_main.C: remove a silly question
5221
5222         * lyxfunc.C: remove a couple of silly questions,
5223         use Alert::prompt
5224
5225 2003-03-28  John Levon  <levon@movementarian.org>
5226
5227         * text2.C: fix bug 974 (End on empty par)
5228
5229 2003-03-28  John Levon  <levon@movementarian.org>
5230
5231         * BufferView_pimpl.C:
5232         * LyXAction.C:
5233         * lfuns.h: remove do-nothing math greek lfuns
5234
5235 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * lyxgluelength.h (isValidGlueLength): add default arg on
5238         parameter 2. Remove default arg from friend in class.
5239
5240         * lyxlength.h (isValidLength): add default arg on parameter 2.
5241         Remove default arg from friend in class.
5242
5243         * text2.C (LyXText): adjust, initialize refresh_row.
5244         (init): adjust
5245         (removeRow): adjust
5246         (insertRow): adjust
5247         (insertParagraph): adjst
5248         (redoParagraphs): adjust
5249         (fullRebreak): adjust
5250         (updateCounters): adjust
5251         (deleteEmptyParagraphMechanism): first attempt at fixing a
5252         crashing bug.
5253
5254         * text.C (top_y): adjust
5255         (setHeightOfRow): adjust
5256         (getRow): adjust
5257         (getRowNearY): adjust
5258
5259         * lyxtext.h: include RowList.h
5260         (~LyXText): not needed anymore, deleted.
5261         (firstRow): modify for RowList
5262         (lastRow): new function
5263         Delete firstrow and lastrow class variables, add a Rowlist
5264         rowlist_ class variable.
5265
5266         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5267         paragraph is empty.
5268
5269         * RowList.C (insert): fix case where it == begin().
5270
5271 2003-03-26  Angus Leeming  <leeming@lyx.org>
5272
5273         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5274         the thesaurus dialog.
5275
5276 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5279
5280         * RowList.[Ch]: new files
5281
5282         * ParagraphList.C (erase): handle the case where it == begin
5283         correctly.
5284
5285 2003-03-25  John Levon  <levon@movementarian.org>
5286
5287         * Makefile.am:
5288         * aspell_local.h:
5289         * aspell.C: add new aspell support
5290
5291         * lyxrc.h:
5292         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5293         have it accessible.
5294
5295 2003-03-25  Angus Leeming  <leeming@lyx.org>
5296
5297         * lfuns.h:
5298         * LyXAction.C (init): new LFUN_INSET_INSERT.
5299
5300         * BufferView_pimpl.C (dispatch): split out part of the
5301         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5302
5303         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5304         LFUN_INSET_APPLY.
5305
5306 2003-03-25  Angus Leeming  <leeming@lyx.org>
5307
5308         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5309
5310 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5311
5312         * text2.C:
5313         * text3.C: remove useless row->height(0)
5314
5315 2003-03-25  John Levon  <levon@movementarian.org>
5316
5317         * lyxtext.h:
5318         * text2.C:
5319         * text3.C: rename the refreshing stuff to better names
5320
5321 2003-03-24  John Levon  <levon@movementarian.org>
5322
5323         * BufferView_pimpl.h:
5324         * BufferView_pimpl.C: update layout choice on a mouse
5325         press/release
5326
5327 2003-03-23  John Levon  <levon@movementarian.org>
5328
5329         * Makefile.am: fix commandtags.h reference
5330
5331 2003-03-22  John Levon  <levon@movementarian.org>
5332
5333         * BufferView_pimpl.C:
5334         * lyxtext.h:
5335         * rowpainter.C:
5336         * rowpainter.h:
5337         * text.C:
5338         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5339
5340 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5341
5342         * lyxtext.h:
5343         * text.C: take the rtl methods out of line
5344
5345 2003-03-21 André Pönitz <poenitz@gmx.net>
5346
5347         * metricsinfo.[Ch]: new files containing structures to be passed around
5348         during the two-phase-drawing...
5349
5350 2003-03-21 André Pönitz <poenitz@gmx.net>
5351
5352         * lyxtextclass.C: read 'environment' tag.
5353
5354 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * text2.C (removeRow): fix bug 964
5357
5358 2003-03-20  John Levon  <levon@movementarian.org>
5359
5360         * rowpainter.C:
5361         * text.C:
5362         * text2.C: paint cleanups. Inset::update() dropped font
5363         parameter
5364
5365 2003-03-19  John Levon  <levon@movementarian.org>
5366
5367         * lyxfunc.C: only fitcursor/markDirty if available()
5368
5369 2003-03-19  John Levon  <levon@movementarian.org>
5370
5371         * commandtags.h: rename to ...
5372
5373         * lfuns.h: ... this, and renumber / cleanup
5374
5375 2003-03-19  John Levon  <levon@movementarian.org>
5376
5377         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5378         fit the cursor after an lfun
5379
5380         * BufferView.h:
5381         * BufferView.C:
5382         * BufferView_pimpl.h:
5383         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5384
5385         * LyXAction.C: layout-character should have ReadOnly
5386
5387         * ParagraphParameters.C:
5388         * buffer.C:
5389         * bufferview_funcs.C:
5390         * lyx_cb.C:
5391         * lyxfind.C:
5392         * lyxtext.h:
5393         * text.C:
5394         * text2.C:
5395         * text3.C:
5396         * undo_funcs.C: changes from above
5397
5398 2003-03-18  John Levon  <levon@movementarian.org>
5399
5400         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5401         remove it from update()
5402
5403         * lyxfunc.C: update layout choice after an lfun
5404
5405         * text3.C: remove extra updateLayoutChoice()s
5406
5407 2003-03-18  John Levon  <levon@movementarian.org>
5408
5409         * text.C: top_y change means full repaint, fix
5410         a drawing bug with cursor movement
5411
5412 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5413
5414         * lyxtext.h:
5415         * text.C:
5416         * text2.C: anchor row on setCursor
5417
5418 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * lyxtext.h: remove almost all mutable keywords
5421         * text.C:
5422         * text2.C:
5423         * text3.C: remove const keywords accordingly
5424
5425 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5428         anon namespace
5429         (TeXEnvironment): ditto
5430         (TeXOnePar): ditto
5431
5432 2003-03-17  John Levon  <levon@movementarian.org>
5433
5434         * text.C (rowBreakPoint): remove attempt to fix displayed
5435         math insets inside a manual label
5436
5437 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * lyxtext.h: remove BufferView* as first arg from almost all class
5440         functions.
5441         * other files: adjust.
5442
5443 2003-03-17  John Levon  <levon@movementarian.org>
5444
5445         * lyxtext.h:
5446         * undo_funcs.C:
5447         * text2.C: more paint cleanups
5448
5449         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5450
5451         * rowpainter.h:
5452         * rowpainter.C: remove "smart" background painting code
5453
5454 2003-03-16  John Levon  <levon@movementarian.org>
5455
5456         * lyxtext.h:
5457         * text.C:
5458         * text2.C:
5459         * text3.C: add helper functions for setting refresh_row/y
5460
5461 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5462
5463         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5464         newline inset which *can* get inserted in the pass_thru layouts.
5465         This is primarily for literate documents.
5466
5467 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5468
5469         * buffer.C: increment LYX_FORMAT to 223
5470
5471 2003-03-14 André Pönitz <poenitz@gmx.net>
5472
5473         * textclass.h: prepare for environment handling, ws changes
5474         * lyxlayout.C: read latexheader and latexfooter tags
5475
5476 2003-03-14  John Levon  <levon@movementarian.org>
5477
5478         * text2.C: rewrite ::status() a bit
5479
5480 2003-03-13  John Levon  <levon@movementarian.org>
5481
5482         * lyxtext.h: add some docs
5483
5484 2003-03-13  John Levon  <levon@movementarian.org>
5485
5486         * lyxtext.h:
5487         * text.C:
5488         * text2.C:
5489         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5490
5491 2003-03-13  John Levon  <levon@movementarian.org>
5492
5493         * text3.C: fix appendix redrawing
5494
5495 2003-03-13  John Levon  <levon@movementarian.org>
5496
5497         * text.C (setHeightOfRow):
5498         * rowpainter.h:
5499         * rowpainter.C: make appendix mark have the text
5500           "Appendix" so the user knows what it is
5501
5502         * LColor.h:
5503         * LColor.C: s/appendixline/appendix/ from above
5504
5505 2003-03-13  John Levon  <levon@movementarian.org>
5506
5507         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5508
5509         * text.C: fix a getChar(pos) bug properly
5510
5511 2003-03-13  Angus Leeming  <leeming@lyx.org>
5512
5513         * commandtags.h:
5514         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5515         Probably only temporary. Let's see how things pan out.
5516
5517         * BufferView.C (unlockInset):
5518         * BufferView_pimpl.C (fitCursor):
5519         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5520
5521         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5522         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5523
5524         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5525         new functions that convert ParagraphParameters to and from a string.
5526
5527         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5528         BufferView::Pimpl's dispatch.
5529         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5530
5531 2003-03-13 André Pönitz <poenitz@gmx.net>
5532
5533         * lyxfunc.C:
5534         * text3.C:
5535         * factory.C: make it aware of InsetEnv
5536
5537 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * text2.C (setCursor): never ask for one past last
5540         (setCursor): add some debugging messages.
5541
5542         * text.C (singleWidth): never ask for one past last
5543         (singleWidth): ditto
5544         (leftMargin): ditto
5545         (rightMargin): ditto
5546         (rowBreakPoint): ditto
5547         (setHeightOfRow): ditto
5548         (prepareToPrint): ditto
5549
5550         * rowpainter.C (paintBackground): never ask for one past last
5551         (paintText): never ask for one past last
5552
5553         * paragraph_pimpl.C (getChar): make the assert stricter, never
5554         allow the one past last pos to be taken
5555
5556         * paragraph.C (getChar): ws changes only
5557
5558         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5559         (numberOfSeparators): ditto
5560         (numberOfHfills): ditto
5561
5562 2003-03-12  John Levon  <levon@movementarian.org>
5563
5564         * author.h:
5565         * author.C:
5566         * bufferparams.h:
5567         * bufferparams.C:
5568         * paragraph_funcs.C: fix per-buffer authorlists
5569
5570 2003-03-12  John Levon  <levon@movementarian.org>
5571
5572         * text.C: fix newline in right address
5573
5574 2003-03-12  Angus Leeming  <leeming@lyx.org>
5575
5576         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5577         duplicate those in LyXFunc::dispatch.
5578
5579         * commandtags.h:
5580         * LyXAction.C:
5581         * ToolbarDefaults.C:
5582         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5583         Add LFUN_FONTFREE_UPDATE.
5584
5585         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5586         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5587
5588         * bufferview_func.[Ch]: several new functions to facilliate
5589         transfer of data to and from the character dialog.
5590
5591 2003-03-12  John Levon  <levon@movementarian.org>
5592
5593         * buffer.C:
5594         * paragraph.h:
5595         * paragraph.C:
5596         * paragraph_funcs.C:
5597         * paragraph_pimpl.C:
5598         * sgml.C:
5599         * tabular.C:
5600         * text.C:
5601         * text3.C: remove META_NEWLINE in favour of an inset
5602
5603         * rowpainter.h:
5604         * rowpainter.C: remove paintNewline (done by inset)
5605
5606 2003-03-12  John Levon  <levon@movementarian.org>
5607
5608         * paragraph_pimpl.C: complain about bad getChar()s
5609         for a while at least
5610
5611 2003-03-12  John Levon  <levon@movementarian.org>
5612
5613         * buffer.h:
5614         * buffer.C: move paragraph read into a separate function,
5615         a little renaming to reflect that.
5616
5617         * bufferparams.h:
5618         * bufferparams.C: remove the author_ids map, not necessary now
5619
5620         * factory.h:
5621         * factory.C: moved Buffer::readInset to here
5622
5623         * paragraph_funcs.h:
5624         * paragraph_funcs.C: readParagraph free function moved from
5625         buffer.C
5626
5627         * tabular.C: name change
5628
5629 2003-03-12  John Levon  <levon@movementarian.org>
5630
5631         * buffer.C:
5632         * ParagraphParameters.C: move par params input to
5633         a read() method
5634
5635         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5636         behave like a normal read from the stream wrt reading
5637         a line vs. a \\token
5638
5639 2003-03-12  John Levon  <levon@movementarian.org>
5640
5641         * paragraph.C:
5642         * ParagraphParameters.h:
5643         * ParagraphParameters.C: move output code to a
5644         ::write() method
5645
5646 2003-03-12  John Levon  <levon@movementarian.org>
5647
5648         * BufferView.C (insertLyXFile):
5649         * buffer.h:
5650         * buffer.C:
5651         * tabular.C: use a parlist iterator for creating the
5652           document.
5653
5654 2003-03-12  John Levon  <levon@movementarian.org>
5655
5656         * buffer.C: make current_change static local not
5657           static file-scope
5658
5659 2003-03-12  John Levon  <levon@movementarian.org>
5660
5661         * buffer.C: fix insertStringAsLines for change tracking
5662
5663 2003-03-12  John Levon  <levon@movementarian.org>
5664
5665         * BufferView.C:
5666         * tabular.C:
5667         * buffer.h:
5668         * buffer.C:
5669         * bufferparams.h:
5670         * bufferparams.C: move author list into params. Rename some
5671           functions. Move the header reading into a separate token
5672           loop. Move the header token reading into BufferParams.
5673
5674 2003-03-12  John Levon  <levon@movementarian.org>
5675
5676         * changes.C: put debug inside lyxerr.debugging() checks
5677
5678 2003-03-11 André Pönitz <poenitz@gmx.net>
5679
5680         * factory.C: make it aware of InsetHFill
5681
5682 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5683
5684         * buffer.C (latexParagraphs): move function from here...
5685         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5686         args.
5687
5688 2003-03-10  Angus Leeming  <leeming@lyx.org>
5689
5690         * LyXAction.C (init): fix bug in poplating array with multiple entries
5691         with the same LFUN (spotted by JMarc).
5692
5693 2003-03-10  John Levon  <levon@movementarian.org>
5694
5695         * text.C:
5696         * text2.C: move getColumnNearX() near its
5697         only call site
5698
5699 2003-03-10  John Levon  <levon@movementarian.org>
5700
5701         * text.C: fix break before a minipage
5702
5703 2003-03-10  John Levon  <levon@movementarian.org>
5704
5705         * text.C: fix the last commit
5706
5707 2003-03-09  John Levon  <levon@movementarian.org>
5708
5709         * lyxtext.h:
5710         * text.C:
5711         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5712         bug 365 (don't break before insets unless needed). Don't
5713         return a value > last under any circumstances.
5714
5715 2003-03-09  Angus Leeming  <leeming@lyx.org>
5716
5717         * BufferView_pimpl.C (trackChanges, dispatch): call
5718         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5719
5720 2003-03-09  Angus Leeming  <leeming@lyx.org>
5721
5722         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5723         than Dialogs::showAboutlyx().
5724
5725 2003-03-09  Angus Leeming  <leeming@lyx.org>
5726
5727         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5728         than Dialogs::showTabularCreate().
5729
5730 2003-03-09  John Levon  <levon@movementarian.org>
5731
5732         * lyxtext.h:
5733         * text.C:
5734         * text2.C: 3rd arg to nextBreakPoint was always the same.
5735           Use references.
5736
5737 2003-03-08  John Levon  <levon@movementarian.org>
5738
5739         * lyxrow.C:
5740         * paragraph.C:
5741         * paragraph.h:
5742         * rowpainter.C:
5743         * text.C:
5744         * text2.C: Remove the "main" bit from the "main body"
5745           notion.
5746
5747 2003-03-08  John Levon  <levon@movementarian.org>
5748
5749         * text.C (leftMargin): The left margin of an empty
5750         manual label paragraph should not include the label width
5751         string length.
5752
5753         * text.C (prepareToPrint): don't attempt to measure hfills
5754         for empty manual label paragraphs - the answer should be 0
5755
5756 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * CutAndPaste.C: remove commented code and reindent.
5759
5760 2003-03-08  John Levon  <levon@movementarian.org>
5761
5762         * lyxfunc.h:
5763         * lyxfunc.C: move reloadBuffer()
5764
5765         * BufferView.h:
5766         * BufferView.C: to here
5767
5768         * lyxvc.C: add comment
5769
5770         * vc-backend.h:
5771         * vc-backend.C: call bv->reload() to avoid
5772           getStatus() check on MENURELOAD
5773
5774 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5775
5776         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5777         to an old format .dep file.
5778
5779 2003-03-07  Angus Leeming  <leeming@lyx.org>
5780
5781         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5782         when the LFUN_MOUSE_RELEASE should have been handled by
5783         inset->localDispatch.
5784
5785 2003-03-07  Angus Leeming  <leeming@lyx.org>
5786
5787         * BufferView_pimpl.C (dispatch):
5788         * LyXAction.C (init):
5789         * ToolbarDefaults.C (init):
5790         * commandtags.h:
5791         * lyxfunc.C (getStatus):
5792         remove LFUN_INSET_GRAPHICS.
5793
5794         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5795
5796 2003-03-07  Angus Leeming  <leeming@lyx.org>
5797
5798         * commandtags.h:
5799         * LyXAction.C (init):
5800         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5801
5802         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5803
5804         * commandtags.h:
5805         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5806
5807         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5808         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5809
5810 2003-03-07  Angus Leeming  <leeming@lyx.org>
5811
5812         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5813         remove "ert".
5814
5815 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * ParagraphList.C (front): new function
5818         (back): implement
5819
5820 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5821
5822         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5823         and top_row_offset_. removed var first_y.
5824         * text.C (top_y):
5825         * text2.C (LyXText, removeRow):
5826         * text3.C:
5827         * BufferView_pimpl.C:
5828         use these methods instead of using first_y
5829
5830 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * text2.C (pasteSelection): adjust for checkPastePossible
5833
5834         * CutAndPaste.C: remove Paragraph * buf and replace with
5835         ParagraphList paragraphs.
5836         (DeleteBuffer): delete
5837         (cutSelection): change the tc type to textclass_type
5838         (copySelection): change the tc type to textclass_type
5839         (copySelection): adjust for ParagraphList
5840         (pasteSelection): change the tc type to textclass_type
5841         (pasteSelection): adjust for Paragraphlist
5842         (nrOfParagraphs): simplify for ParagraphList
5843         (checkPastePossible): simplify for ParagraphList
5844         (checkPastePossible): remove unused arg
5845
5846         * ParagraphList.C (insert): handle the case where there are no
5847         paragraphs yet.
5848
5849         * CutAndPaste.h: make CutAndPaste a namespace.
5850
5851         * text3.C (dispatch): adjust
5852
5853         * text.C (breakParagraph): add a ParagraphList as arg
5854
5855         * paragraph_funcs.C (breakParagraph): change to take a
5856         BufferParams and a ParagraphList as args.
5857         (breakParagraphConservative): ditto
5858         (mergeParagraph): ditto
5859         (TeXDeeper): add a ParagraphList arg
5860         (TeXEnvironment): ditto
5861         (TeXOnePar): ditto
5862
5863         * buffer.C (readLyXformat2): adjust
5864         (insertStringAsLines): adjust
5865         (latexParagraphs): adjust
5866
5867         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5868         (cutSelection): adjust
5869         (pasteSelection): adjust
5870
5871         * BufferView_pimpl.C (insertInset): adjust
5872
5873 2003-03-05  Angus Leeming  <leeming@lyx.org>
5874
5875         * commandtags.h:
5876         * LyXAction.C (init):
5877         * BufferView_pimpl.C (dispatch):
5878         * lyxfunc.C (getStatus):
5879         remove LFUN_CHILD_INSERT.
5880
5881         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5882
5883 2003-03-05  Angus Leeming  <leeming@lyx.org>
5884
5885         * commandtags.h:
5886         * LyXAction.C (init):
5887         * src/factory.C (createInset):
5888         * lyxfunc.C (getStatus):
5889         * text3.C (dispatch):
5890         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5891
5892         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5893
5894 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * ParagraphList.C (insert): handle insert right before end()
5897         (erase): fix cases where it can be first or last paragraph.
5898
5899 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5902         Paragraph::next and Paragraph::previous
5903         (TeXOnePar): ditto
5904
5905         * text.C (breakParagraph): adjust
5906
5907         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5908         BufferParams& as arg.
5909         (breakParagraph): use ParagraphList::insert
5910         (breakParagraphConservative): take a Buffer* instead of a
5911         BufferParams& as arg.
5912         (breakParagraphConservative): use ParagraphList::insert.
5913
5914         * buffer.C (insertStringAsLines): un-const it
5915         (insertStringAsLines): adjust
5916
5917         * ParagraphList.C (insert): new function
5918
5919         * CutAndPaste.C (pasteSelection): adjust
5920
5921         * text.C (backspace): adjust
5922
5923         * tabular.C (SetMultiColumn): adjust
5924
5925         * CutAndPaste.C (cutSelection): adjust
5926         (pasteSelection): adjust
5927
5928         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5929         Buffer const * as arg
5930
5931         * ParagraphList.C (erase): new function
5932         * paragraph_funcs.C (mergeParagraph): use it
5933         (mergeParagraph): make it take a Buffer* instead of a
5934         BufferParams* as arg
5935
5936         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5937         as arg
5938         (breakParagraphConservative): ditto
5939
5940         * paragraph.h: remove the breakParagraph friend
5941
5942         * paragraph.C (eraseIntern): new function
5943         (setChange): new function
5944
5945         * paragraph_funcs.C (mergeParagraph): make it take a
5946         ParagraphList::iterator instead of a Paragraph *, adjust
5947         accordingly.
5948
5949         * paragraph.h: move an #endif so that the change tracking stuff
5950         also works in the NO_NEXT case.
5951
5952 2003-03-04  Angus Leeming  <leeming@lyx.org>
5953
5954         * commandtags.h:
5955         * LyXAction.C: new LFUN_INSET_MODIFY.
5956
5957         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5958         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5959
5960 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * several files: ws changes only
5963
5964         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5965         (TeXEnvironment): ditto
5966         (TeXDeeper): ditto
5967
5968         * buffer.C (makeLaTeXFile): adjust
5969         (latexParagraphs): make it take ParagraphList::iterator as args
5970
5971 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * buffer.C (latexParagraphs): adjust
5974
5975         * paragraph.C (TeXOnePar): move function...
5976         (optArgInset): move function...
5977         (TeXEnvironment): move function...
5978         * paragraph_pimpl.C (TeXDeeper): move function...
5979         * paragraph_funcs.C: ...here
5980
5981         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5982
5983 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * buffer.C (readInset): remove compability code for old Figure and
5986         InsetInfo insets
5987
5988 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * buffer.C: ws changes
5991         (readInset):
5992
5993         * BufferView_pimpl.C: ditto
5994         * author.C: ditto
5995         * buffer.h: ditto
5996         * bufferlist.h: ditto
5997         * changes.h: ditto
5998         * lyxfunc.C: ditto
5999
6000 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6001
6002         * converter.[Ch]: split into itself +
6003         * graph.[Ch]
6004         * format.[Ch]
6005         * Makefile.am: += graph.[Ch] + format.[Ch]
6006         * MenuBackend.C
6007         * buffer.C
6008         * exporter.C
6009         * importer.C
6010         * lyx_main.C
6011         * lyxfunc.C
6012         * lyxrc.C: added #include "format.h"
6013
6014 2003-02-27  Angus Leeming  <leeming@lyx.org>
6015
6016         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6017           a label.
6018
6019         * factory.C (createInset): add "label" to the factory.
6020
6021         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6022           string and do no more.
6023
6024 2003-02-27  Angus Leeming  <leeming@lyx.org>
6025
6026         * commandtags.h:
6027         * LyXAction.C (init):
6028         * factory.C (createInset):
6029         * BufferView_pimpl.C (dispatch):
6030           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6031
6032         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6033
6034         * lyxfunc.C (dispatch):
6035         * text3.C (dispatch): pass name to params2string.
6036
6037 2003-02-26  Angus Leeming  <leeming@lyx.org>
6038
6039         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6040           blocks together.
6041           Rearrange the ~includes. Strip out the unnecessary ones.
6042
6043         * factory.C (createInset): reformat.
6044           create new insets for the various LFUN_XYZ_APPLY lfuns.
6045
6046 2003-02-26  John Levon  <levon@movementarian.org>
6047
6048         * lyxrow.h:
6049         * lyxrow.C: add isParStart,isParEnd helpers
6050
6051         * paragraph.h: make isInserted/DeletedText take refs
6052
6053         * paragraph_funcs.h:
6054         * paragraph_funcs.C: remove #if 0'd code
6055
6056         * lyxtext.h:
6057         * text3.C:
6058         * text2.C:
6059         * text.C: use lyxrow helpers above.
6060           Move draw and paint routines to RowPainter.
6061           Make several methods use refs not pointers.
6062           Make backgroundColor() const.
6063           Add markChangeInDraw(), isInInset().
6064           Merge changeRegionCase into changeCase.
6065           Make workWidth() shouldn't-happen code into an Assert.
6066
6067         * rowpainter.h:
6068         * rowpainter.C: new class for painting a row.
6069
6070         * vspace.h:
6071         * vspace.C: make inPixels take a ref
6072
6073 2003-02-26  Angus Leeming  <leeming@lyx.org>
6074
6075         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6076         LFUN_REF_APPLY.
6077
6078 2003-02-25  John Levon  <levon@movementarian.org>
6079
6080         * ispell.C: give the forked command a more accurate name
6081
6082 2003-02-22  John Levon  <levon@movementarian.org>
6083
6084         * toc.h:
6085         * toc.C: make TocItem store an id not a Paragraph *
6086           (bug #913)
6087
6088 2003-02-21  Angus Leeming  <leeming@lyx.org>
6089
6090         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6091           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6092           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6093           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6094           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6095           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6096
6097         * BufferView_pimpl.C (dispatch):
6098         * LyXAction.C (init):
6099         * factory.C (createInset):
6100         * lyxfunc.C (getStatus, dispatch):
6101         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6102
6103 2003-02-21  Angus Leeming  <leeming@lyx.org>
6104
6105         * BufferView_pimpl.C (MenuInsertLyXFile):
6106         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6107         * lyxfunc.C (menuNew, open, doImport):
6108           no longer pass a LyXView & to fileDlg.
6109
6110 2003-02-21  Angus Leeming  <leeming@lyx.org>
6111
6112         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6113         * LyXAction.C: change, BIBKEY to BIBITEM.
6114         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6115         Change InsetBibKey to InsetBibitem.
6116         Change BIBKEY_CODE to BIBITEM_CODE.
6117         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6118         * factory.C: replace insetbib.h with insetbibitem.h.
6119         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6120         * paragraph.C: replace insetbib.h with insetbibitem.h.
6121         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6122         Change bibkey() to bibitem().
6123         * text.C: remove insetbib.h.
6124         * text2.C: replace insetbib.h with insetbibitem.h.
6125         change bibkey() to bibitem().
6126         * text3.C: remove insetbib.h.
6127         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6128
6129 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6130
6131         * lyxrc.C (output): enclose user email in quotes (in case there are
6132         several words)
6133
6134 2003-02-18  John Levon  <levon@movementarian.org>
6135
6136         * buffer.h: add std::
6137
6138 2003-02-17  John Levon  <levon@movementarian.org>
6139
6140         * SpellBase.h:
6141         * ispell.h:
6142         * ispell.C:
6143         * pspell.h:
6144         * pspell.C: reworking. Especially in ispell, a large
6145           number of clean ups and bug fixes.
6146
6147         * lyxfunc.C: fix revert to behave sensibly
6148
6149 2003-02-17 André Pönitz <poenitz@gmx.net>
6150
6151         * LyXAction.C:
6152         * commandtags.h: new LFUN_INSERT_BIBKEY
6153
6154         * layout.h:
6155         * lyxlayout.C:
6156         * buffer.C:
6157         * factory.C:
6158         * text.C:
6159         * text2.C:
6160         * text3.C:
6161         * paragraph.[Ch]:
6162         * paragraph_func.C: remove special bibkey handling
6163
6164 2003-02-17  John Levon  <levon@movementarian.org>
6165
6166         * text.C (Delete): fix case where delete at the end of
6167           the very first paragraph would not merge the pars
6168
6169 2003-02-17  John Levon  <levon@movementarian.org>
6170
6171         * lyxrow.C: fix lastPrintablePos()
6172
6173 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6174
6175         * bufferparams.C (writeLaTeX): add a std:here
6176
6177         * buffer.C: and remove a using directive there
6178
6179 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6180
6181         * buffer.C (makeLaTeXFile): move the code that generates the
6182           preamble...
6183
6184         * bufferparams.C (writeLaTeX): ... in this new method
6185
6186         * LaTeXFeatures.C (getEncodingSet): make const
6187           (getLanguages): make const
6188
6189         * MenuBackend.C (binding): returns the binding associated to this
6190           action
6191           (add): sets the status of each item by calling getStatus. Adds
6192           some intelligence.
6193           (read): add support for OptSubMenu
6194           (expand): remove extra separator at the end of expanded menu
6195
6196 2003-02-15  John Levon  <levon@movementarian.org>
6197
6198         * BufferView.C:
6199         * BufferView_pimpl.C:
6200         * bufferlist.h:
6201         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6202           inset code that had no actual effect. Remove unneeded status
6203           code.
6204
6205 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6206
6207         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6208           in preamble
6209
6210 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6211
6212         * text.C (drawLengthMarker): also draw an arrow marker for
6213           symbolic lengths (medskip...)
6214
6215 2003-02-14  John Levon  <levon@movementarian.org>
6216
6217         * tabular.h:
6218         * tabular.C: better method names
6219
6220 2003-02-14  John Levon  <levon@movementarian.org>
6221
6222         * BufferView_pimpl.C:
6223         * bufferlist.C:
6224         * buffer.C:
6225         * converter.C:
6226         * lyx_cb.C:
6227         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6228           it's a more accurate name. Remove some pointless uses.
6229
6230 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6231
6232         * text2.C (LyXText): change order of initilizers to shut off
6233           warnings
6234
6235 2003-02-14  John Levon  <levon@movementarian.org>
6236
6237         * buffer.C: use ParIterator for getParFromID()
6238
6239         * paragraph.h:
6240         * paragraph.C:
6241         * paragraph_pimpl.h:
6242         * paragraph_pimpl.C: remove unused getParFromID()
6243
6244 2003-02-14  John Levon  <levon@movementarian.org>
6245
6246         * buffer.C: remove some very old #if 0'd parse code
6247
6248 2003-02-13  John Levon  <levon@movementarian.org>
6249
6250         * text.h:
6251         * text.C:
6252         * text2.C: move hfillExpansion(), numberOfSeparators(),
6253           rowLast(), rowLastPrintable(), numberofHfills(),
6254           numberOfLabelHfills() ...
6255
6256         * lyxrow.h:
6257         * lyxrow.C: ... to member functions here.
6258
6259         * paragraph.h:
6260         * paragraph.C:
6261         * lyxtext.h:
6262         * text.C: remove LyXText::beginningOfMainBody(), and call
6263           p->beginningOfMainBody() directly. Move the check for
6264           LABEL_MANUAL into the latter.
6265
6266         * text.h:
6267         * text.C:
6268         * text2.C:
6269         * vspace.C:
6270         * BufferView.h:
6271         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6272
6273         * text.h:
6274         * text.C:
6275         * text2.C:
6276         * text3.C:
6277         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6278           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6279
6280 2003-02-13  John Levon  <levon@movementarian.org>
6281
6282         * CutAndPaste.C: remove debug
6283
6284 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6285
6286         * paragraph.C (asString): remove two unused variables
6287
6288         * lyxtextclass.C (readTitleType):
6289           (Read):
6290           (LyXTextClass): handle new members titletype_ and titlename_
6291
6292         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6293
6294 2003-02-09  John Levon  <levon@movementarian.org>
6295
6296         * buffer.h:
6297         * buffer.C: replace hand-coded list with a map for the dep clean
6298
6299 2003-02-08  John Levon  <levon@movementarian.org>
6300
6301         * LaTeX.C: consolidate code into showRunMessage() helper
6302
6303 2003-02-08  John Levon  <levon@movementarian.org>
6304
6305         * lyxfind.C:
6306         * lyxtext.h:
6307         * text2.C:
6308         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6309           and pass the size in explicitly
6310
6311         * BufferView_pimpl.h:
6312         * BufferView_pimpl.C:
6313         * BufferView.h:
6314         * BufferView.C: add getCurrentChange()
6315
6316         * BufferView_pimpl.h:
6317         * BufferView_pimpl.C: handle change lfuns
6318
6319         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6320           for changes. Mark pasted paragraphs as new.
6321
6322         * support/lyxtime.h:
6323         * support/lyxtime.C:
6324         * DepTable.C: abstract time_t as lyx::time_type
6325
6326         * LColor.h:
6327         * LColor.C: add colours for new text, deleted text, changebars
6328
6329         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6330           package use "usenames" option.
6331
6332         * commandtags.h:
6333         * lyxfunc.C:
6334         * LyXAction.C: add change lfuns
6335
6336         * Makefile.am:
6337         * author.h:
6338         * author.C: author handling
6339
6340         * buffer.h:
6341         * buffer.C: add a per-buffer author list, with first entry as
6342           current author. Handle new .lyx tokens for change tracking. Output
6343           author list to .lyx file. Output dvipost stuff to .tex preamble.
6344           Bump lyx format to 222.
6345
6346         * bufferlist.h:
6347         * bufferlist.C: add setCurrentAuthor() to reset current author details
6348           in all buffers.
6349
6350         * bufferparams.h:
6351         * bufferparams.C: add param for tracking
6352
6353         * bufferview_funcs.C: output change info in minibuffer
6354
6355         * Makefile.am:
6356         * changes.h:
6357         * changes.C: add change-tracking structure
6358
6359         * debug.h:
6360         * debug.C: add CHANGES debug flag
6361
6362         * lyxfind.h:
6363         * lyxfind.C: add code for finding the next change piece
6364
6365         * lyxrc.h:
6366         * lyxrc.C: add user_name and user_email
6367
6368         * lyxrow.h:
6369         * lyxrow.C: add a metric for the top of the text line
6370
6371         * lyxtext.h:
6372         * text.C: implement accept/rejectChange()
6373
6374         * lyxtext.h:
6375         * text.C: paint changebars. Paint new/deleted text in the chosen
6376         colours. Strike through deleted text.
6377
6378         * paragraph.h:
6379         * paragraph.C:
6380         * paragraph_pimpl.h:
6381         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6382           in the current change to the insert functions. Rework erase to
6383           mark text as deleted, adding an eraseIntern() and a range-based
6384           erase(). Implement per-paragraph change lookup and
6385           accept/reject.
6386
6387         * paragraph_funcs.C: Fixup paste for change tracking.
6388
6389         * tabular.C: mark added row/columns as new.
6390
6391         * text.C: fix rowLast() to never return -1. Don't allow
6392           spellchecking of deleted text. Track transpose changes. Don't
6393           allow paragraph break or merge where appropriate.
6394
6395         * text2.C: leave cursor at end of selection after a cut.
6396
6397 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6398
6399         * text.C (getLengthMarkerHeight):
6400         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6401         visible on screen too.
6402
6403 2003-02-07  John Levon  <levon@movementarian.org>
6404
6405         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6406
6407 2003-02-05  Angus Leeming  <leeming@lyx.org>
6408
6409         * lyxserver.C (read_ready): revert my patch of 11 September last year
6410         as it sends PC cpu through the roof. Presumably this means that
6411         the lyxserver will no longer run on an Alpha...
6412
6413 2003-01-30  Angus Leeming  <leeming@lyx.org>
6414
6415         * factory.C (createInset): create an InsetCommandParam of type "index"
6416         and use it to 'do the right thing'.
6417
6418         * text2.C (getStringToIndex): ensure that cursor position is always
6419         reset to the reset_cursor position.
6420
6421 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6422
6423         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6424         disabled.
6425
6426 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6427
6428         * bufferview.C:
6429         * lyxcb.C:
6430         * lyxfunc.C: Output messages with identical spelling, punctuation,
6431         and spaces
6432
6433 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6434
6435         * MenuBackend.C (expandFormats): List only viewable export formats
6436         in "View" menu
6437
6438         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6439         message
6440
6441         * lyxfunc.C (getStatus): Make sure that formats other than
6442         "fax" can also be disabled
6443
6444 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6445
6446         * text3.C (dispatch): put the lfuns that insert insets in 3
6447         groups, and call doInsertInset with appropriate arguments.
6448         (doInsertInset): new function, that creates an inset and inserts
6449         it according to some boolean parameters.
6450
6451 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * buffer.C (readFile): remember to pass on 'par' when calling
6454         readFile recursively.
6455
6456 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6457
6458         * MenuBackend.C (expandFormats): add "..." to import formats.
6459
6460 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6461
6462         * paragraph.C (asString): Remove XForms RTL hacks.
6463
6464 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6465         * buffer.C: fix typo
6466
6467 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * Makefile.am (LIBS): delete var
6470         (lyx_LDADD): add @LIBS@ here instead.
6471
6472 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6473
6474         * Clarify the meaning of "wheel mouse jump"
6475
6476 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6477
6478         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6479         tabular in a float
6480
6481 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6482
6483         * importer.C (Loaders): do not preallocate 3 elements in the
6484         vector, since one ends up with 6 elements otherwise
6485
6486 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6487
6488         * DepTable.C (write): write the file name as last element of the
6489         .dep file (because it may contain spaces)
6490         (read): read info in the right order
6491
6492 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6493
6494         * paragraph_pimpl.C (simpleTeXBlanks):
6495         (simpleTeXSpecialChars):
6496         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6497
6498         * tabular.C (latex): add some missing case statements. Reindent.
6499
6500         * MenuBackend.C (expandToc): remove unused variable.
6501
6502 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6503
6504         * LColor.C:
6505         * LaTeX.C:
6506         * LyXAction.C:
6507         * MenuBackend.C:
6508         * buffer.C:
6509         * exporter.C:
6510         * lyxfunc.C:
6511         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6512         and the like.
6513
6514 2003-01-05  John Levon  <levon@movementarian.org>
6515
6516         * BufferView.h:
6517         * BufferView.C: add getEncoding()
6518
6519         * kbsequence.h:
6520         * kbsequence.C: do not store last keypress
6521
6522         * lyxfunc.h:
6523         * lyxfunc.C: store last keypress here instead. Pass encoding
6524           to getISOEncoded()
6525
6526 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6527
6528         * lyx_main.C (init): remove annoying error message when following
6529         symbolic links (bug #780)
6530
6531 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6532
6533         * text.C (insertChar):
6534         * lyxrc.C (getDescription): remove extra spaces
6535
6536 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6537
6538         * lyxrc.C (getDescription): remove extra spaces
6539
6540 2002-12-20  John Levon  <levon@movementarian.org>
6541
6542         * text3.C: hack fix for page up/down across tall rows
6543
6544 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6545
6546         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6547         not been invoked
6548
6549 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6550
6551         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6552         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6553         thesaurus is not compiled in
6554
6555 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6556
6557         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6558
6559 2002-12-16  Angus Leeming  <leeming@lyx.org>
6560
6561         * lyxrc.[Ch]:
6562         * lyx_main.C (init): remove override_x_deadkeys stuff.
6563
6564 2002-12-12  John Levon  <levon@movementarian.org>
6565
6566         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6567           insert. Only remove shift modifier under strict
6568           circumstances.
6569
6570 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * MenuBackend.C (expandToc): fix crash.
6573
6574 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * MenuBackend.C (expandToc): gettext on float names.
6577
6578 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6579
6580         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6581         implement bool empty() [bug 490]
6582
6583 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6586
6587 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * several files: ws changes
6590
6591 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * text2.C (setCounter): clean up a bit, use boost.format.
6594         (updateCounters): initialize par upon declaration.
6595
6596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6597         if the layout exists. We do not just store the layout any more.
6598         (SwitchLayoutsBetweenClasses): use boost.format
6599
6600 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6601
6602         * converter.C (convert): if from and to files are the same, use a
6603         temporary files as intermediary
6604
6605 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6606
6607         * commandtags.h:
6608         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6609
6610 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6611
6612         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6613
6614 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * tabular.C (asciiPrintCell): use string(size, char) instead of
6617         explicit loop.
6618
6619         * sgml.C (openTag): fix order of arguments to string constructor
6620         (closeTag): ditto
6621
6622         * lyxfunc.C (dispatch): use boost.format
6623
6624         * lots of files: change "c" -> 'c'
6625
6626 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6627
6628         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6629
6630 2002-11-25  Angus Leeming  <leeming@lyx.org>
6631
6632         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6633
6634         * lyx_main.C (init): compile fix.
6635
6636 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * lyx_cb.C (start): boost.formatify
6639         do not include <iostream>
6640
6641         * lengthcommon.C: ws only
6642
6643         * boost-inst.C,BoostFormat.h: add more explict instantations
6644
6645 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * lots of files: handle USE_BOOST_FORMAT
6648
6649 2002-11-21  John Levon  <levon@movementarian.org>
6650
6651         * pspell.C: fix compile
6652
6653 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6654
6655         * lyxfunc.C (dispatch): use boost::format
6656         (open): ditto
6657         (doImport): ditto
6658
6659         * lyxfont.C (stateText): use boost::format
6660
6661         * lyx_main.C (LyX): use boost::format
6662         (init): ditto
6663         (queryUserLyXDir): ditto
6664         (readRcFile): ditto
6665         (parse_dbg): ditto
6666         (typedef boost::function): use the recommened syntax.
6667
6668         * importer.C (Import): use boost::format
6669
6670         * debug.C (showLevel): use boost::format
6671
6672         * converter.C (view): use boost::format
6673         (convert): ditto
6674         (move): ditto
6675         (scanLog): ditto
6676
6677         * bufferview_funcs.C (currentState): use boost::format
6678
6679         * bufferlist.C (emergencyWrite): use boost::format
6680
6681         * buffer.C (readLyXformat2): use boost::format
6682         (parseSingleLyXformat2Token): ditto
6683
6684         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6685
6686         * LaTeX.C (run): use boost::format
6687
6688         * Chktex.C (scanLogFile): use boost::format
6689
6690         * BufferView_pimpl.C (savePosition): use boost::format
6691         (restorePosition): ditto
6692         (MenuInsertLyXFile): ditto
6693
6694         * BoostFormat.h: help file for explicit instation.
6695
6696 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6697
6698         * tabular.C (latex): Support for block alignment in fixed width
6699         columns.
6700
6701 2002-11-17  John Levon  <levon@movementarian.org>
6702
6703         * BufferView_pimpl.C:
6704         * lyx_cb.C:
6705         * lyxfunc.C: split filedialog into open/save
6706
6707 2002-11-08  Juergen Vigna  <jug@sad.it>
6708
6709         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6710         by my last patch (hopefully).
6711
6712 2002-11-08  John Levon  <levon@movementarian.org>
6713
6714         * iterators.h:
6715         * iterators.C:
6716         * buffer.h:
6717         * buffer.C:
6718         * paragraph.h:
6719         * paragraph.C:
6720         * toc.h:
6721         * toc.C: ParConstIterator, and use it (from Lars)
6722
6723 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6724
6725         * lyxtextclass.[Ch]: revise and add doxygen comments
6726
6727 2002-11-07  John Levon  <levon@movementarian.org>
6728
6729         * text.C: fix progress value for spellchecker
6730
6731         * toc.C: fix navigate menu for insetwrap inside minipage
6732
6733         * paragraph_funcs.C: added FIXME for suspect code
6734
6735 2002-11-07  John Levon  <levon@movementarian.org>
6736
6737         * BufferView_pimpl.C: fix redrawing of insets
6738           on buffer switch
6739
6740 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6741
6742         * text2.C (updateCounters): fix bug 668
6743
6744 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6745
6746         * text3.C (dispatch): Do not make the buffer dirty when moving the
6747         cursor.
6748
6749 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * vc-backend.C: STRCONV
6752         (scanMaster): ditto
6753
6754         * text2.C (setCounter): STRCONV
6755
6756         * paragraph.C (asString): STRCONV
6757
6758         * lyxlength.C (asString): STRCONV
6759         (asLatexString): ditto
6760
6761         * lyxgluelength.C (asString): STRCONV
6762         (asLatexString): ditto
6763
6764         * lyxfunc.C (dispatch): STRCONV
6765         (open): ditto
6766
6767         * lyxfont.C (stateText): STRCONV
6768
6769         * importer.C (Import): STRCONV
6770
6771         * counters.C (labelItem): STRCONV
6772         (numberLabel): ditto
6773         (numberLabel): remove unused ostringstream o
6774
6775         * chset.C: STRCONV
6776         (loadFile): ditto
6777
6778         * bufferview_funcs.C (currentState): STRCONV
6779
6780         * buffer.C (readFile): STRCONV
6781         (asciiParagraph): ditto
6782         (makeLaTeXFile): ditto
6783
6784         * Spacing.C (writeEnvirBegin): STRCONV
6785
6786         * LaTeXFeatures.C (getLanguages): STRCONV
6787         (getPackages): ditto
6788         (getMacros): ditto
6789         (getBabelOptions): ditto
6790         (getTClassPreamble): ditto
6791         (getLyXSGMLEntities): ditto
6792         (getIncludedFiles): ditto
6793
6794         * LaTeX.C: STRCONV
6795         (run): ditto
6796         (scanAuxFile): ditto
6797         (deplog): ditto
6798
6799         * LString.h: add the STRCONV macros
6800
6801         * BufferView_pimpl.C (savePosition): STRCONV
6802         (restorePosition): ditto
6803         (MenuInsertLyXFile): ditto
6804
6805         * vc-backend.C (scanMaster): change from submatch[...] to
6806         submatch.str(...)
6807
6808         * funcrequest.C: include config.h
6809
6810         * factory.C: include config.h
6811
6812         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6813
6814         * box.C: include config.h
6815
6816         * LaTeX.C (scanAuxFile): change from submatch[...] to
6817         submatch.str(...)
6818         (deplog): ditto
6819
6820 2002-10-25  Angus Leeming  <leeming@lyx.org>
6821
6822         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6823
6824         * ispell.[Ch] (setError): new method.
6825         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6826         Use setError() insetead of goto END.
6827
6828         * lyx_cb.C (AutoSave): move out child process into new class
6829         AutoSaveBuffer.
6830
6831 2002-10-30  John Levon  <levon@movementarian.org>
6832
6833         * text3.C: make start appendix undoable
6834
6835 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6836
6837         * lyxlength.C (inPixels): Fix returned value.
6838
6839         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6840         environment.
6841
6842 2002-10-24  Angus Leeming  <leeming@lyx.org>
6843
6844         * lyxgluelength.h: no need to forward declare BufferParams
6845         or BufferView, so don't.
6846
6847 2002-10-21  John Levon  <levon@movementarian.org>
6848
6849         * BufferView.C: menuUndo ->undo, redo
6850
6851         * BufferView.h: document, remove dead, make some methods private
6852
6853         * paragraph_funcs.h:
6854         * paragraph_funcs.C:
6855         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6856
6857         * buffer.h:
6858         * buffer.C:
6859         * sgml.h:
6860         * sgml.C: move sgml open/close tag into sgml.C
6861
6862         * bufferview_funcs.h: unused prototype
6863
6864         * lyxfunc.h:
6865         * lyxfunc.C: remove unused
6866
6867         * lyxtext.h:
6868         * text.C: remove unused
6869
6870 2002-10-21  John Levon  <levon@movementarian.org>
6871
6872         * BufferView.h:
6873         * BufferView.C:
6874         * BufferView_pimpl.h:
6875         * BufferView_pimpl.C: fix mouse wheel handling based on
6876           patch from Darren Freeman
6877
6878 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6881
6882 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6883
6884         * lyxlength.C (inPixels): Fix hanfling of negative length.
6885         Fix LyXLength::MU case.
6886
6887 2002-10-16  John Levon  <levon@movementarian.org>
6888
6889         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6890
6891 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6892
6893         * converter.C (view): add support for $$i (file name) and $$p
6894         (file path) for the viewer command. If $$i is not specified, then
6895         it is appended to the command (for compatibility with old syntax)
6896
6897 2002-10-14  Juergen Vigna  <jug@sad.it>
6898
6899         * undo_funcs.C (textHandleUndo): alter the order in which the
6900         new undopar is added to the LyXText, as we have to set first
6901         the right prev/next and then add it as otherwise the rebuild of
6902         LyXText is not correct. Also reset the cursor to the right paragraph,
6903         with this IMO we could remove the hack in "redoParagraphs()".
6904
6905 2002-10-09  Angus Leeming  <leeming@lyx.org>
6906
6907         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6908         to turn off an optimisation if a new inset is to be inserted.
6909
6910 2002-10-11 André Pönitz <poenitz@gmx.net>
6911
6912         * lyxtext.h: make some functions public to allow access
6913         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6914
6915 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6916
6917         * text3.C (dispatch): when changing layout, avoid an infinite loop
6918         [bug #652]
6919
6920 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6921
6922         * lyxrc.C (read): treat a viewer or converter command of "none" as
6923         if it were empty.
6924
6925         * MenuBackend.C (expandFormats): for an update, also allow the
6926         formats that are not viewable
6927
6928         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6929         script if it is newer than the lyxrc.defaults in user directory
6930
6931 2002-10-07 André Pönitz <poenitz@gmx.net>
6932
6933         * text.C: Vitaly Lipatov's small i18n fix
6934
6935 2002-09-25  Angus Leeming  <leeming@lyx.org>
6936
6937         * ispell.h: doxygen fix.
6938
6939 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6940
6941         * buffer.h (readFile): Add a new argument to the method, to allow
6942         reading of old-format templates.
6943
6944 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6945
6946         * toc.C (getTocList): Get TOC from InsetWrap.
6947
6948 2002-09-16  John Levon  <levon@movementarian.org>
6949
6950         * lyxfunc.C: check tabular for cut/copy too
6951
6952 2002-09-12  John Levon  <levon@movementarian.org>
6953
6954         * LyXAction.C: tidy
6955
6956         * factory.h:
6957         * factory.C: add header
6958
6959         * paragraph_funcs.h:
6960         * paragraph_funcs.C: cleanup
6961
6962 2002-09-11  John Levon  <levon@movementarian.org>
6963
6964         * PrinterParams.h: odd/even default to true
6965
6966 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6967
6968         * PrinterParams.h: update printer parameters for new xforms dialog
6969
6970 2002-09-11  Angus Leeming  <leeming@lyx.org>
6971
6972         * lyxserver.C (read_ready): re-write to make it more transparent
6973         and to make it work in coherent fashion under Tru64 Unix.
6974
6975 2002-09-11  André Pönitz <poenitz@gmx.net>
6976
6977         * commandtags.h:
6978         * LyXAction.C:
6979         * text3.C: implement LFUN_WORDSEL
6980
6981 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6984         make floatlist_ a boost::shared_ptr<FloatList>
6985
6986         * lyxtextclass.C: include FloatList.h
6987         (LyXTextClass): initialize floatlist_
6988         (TextClassTags): add TC_NOFLOAT
6989         (Read): match "nofloat" to TC_NOFLOAT and use it.
6990         (readFloat): modify call to floatlist_
6991         (floats): ditto
6992         (floats): ditto
6993
6994         * FloatList.[Ch] (FloatList): remove commented out float
6995         initialization.
6996         (erase): new function
6997
6998 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6999
7000         * MenuBackend.C (expandToc): fix crash when there is no document
7001         open
7002
7003 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7004
7005         * many files: Add insetwrap.
7006
7007 2002-09-09  John Levon  <levon@movementarian.org>
7008
7009         * text2.C: remove confusing and awkward depth wraparound
7010
7011 2002-09-09  John Levon  <levon@movementarian.org>
7012
7013         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7014
7015         * buffer.h:
7016         * buffer.C: remove getIncludeonlyList()
7017
7018         * paragraph.C:
7019         * lyxfunc.C: remove headers
7020
7021 2002-09-09  Juergen Vigna  <jug@sad.it>
7022
7023         * text.C (getColumnNearX): fix form Michael this is most
7024         probably a cut&paste bug.
7025
7026 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7029
7030         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7031         references, ws changes.
7032
7033         * text2.C (init): update counters after init
7034         (insertParagraph): no need to set counter on idividual paragraphs.
7035         (setCounter): access the counters object in the textclass object
7036         on in the buffer object.
7037         (updateCounters): ditto
7038
7039         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7040         shared_ptr<Counters> to avoid loading counters.h in all
7041         compilation units.
7042         (LyXTextClass): initialize ctrs_
7043         (TextClassTags): add TC_COUNTER, and ...
7044         (Read): use it here.
7045         (CounterTags): new tags
7046         (readCounter): new function
7047         (counters): new funtion
7048         (defaultLayoutName): return a const reference
7049
7050         * counters.C (Counters): remove contructor
7051         (newCounter): remove a couple of unneeded statements.
7052         (newCounter): simplify a bit.
7053         (numberLabel): some small formatting changes.
7054
7055         * buffer.[Ch]: remove all traces of counters, move the Counters
7056         object to the LyXTextClass.
7057
7058 2002-09-06  Alain Castera  <castera@in2p3.fr>
7059
7060         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7061         package to set the horizontal alignment on fixed width columns.
7062
7063         * lyx_sty.C:
7064         * lyx_sty.h: added tabularnewline macro def.
7065
7066         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7067
7068 2002-09-06  John Levon  <levon@movementarian.org>
7069
7070         * LyXAction.C: tooltips for sub/superscript
7071
7072         * MenuBackend.C: a bit more verbose
7073
7074         * lyxfunc.C: tiny clean
7075
7076         * undo_funcs.C: document undo_frozen
7077
7078 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * counters.C (Counters): add missing algorithm counter.
7081
7082         * text2.C (setCounter): lookup the counter with layouts latexname
7083         instead of by section number.
7084         (setCounter): use a hackish way to lookup the correct enum
7085         counter.
7086         a float name->type change
7087         reset enum couners with counter name directly instead of depth value.
7088
7089         * counters.C (Counters): remove the push_backs, change to use the
7090         float type not the float name.
7091         (labelItem): remove unused string, float name->type change
7092
7093         * counters.h: don't include vector, loose the enums and sects vectors
7094
7095 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7098         (Read): add float->TC_FLOAT to textclassTags
7099         (Read): and handle it in the switch
7100         (readFloat): new function
7101
7102         * FloatList.C (FloatList): comment out the hardcoded float
7103         definitions.
7104
7105         * lyxlayout.h: ws change.
7106
7107 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7108
7109         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7110
7111 2002-09-03  Angus Leeming  <leeming@lyx.org>
7112
7113         * BufferView_pimpl.h: qualified name is not allowed in member
7114         declaration: WorkArea & Pimpl::workarea() const;
7115
7116         * factory.C: added using std::endl directive.
7117
7118         * text3.C: added using std::find and std::vector directives.
7119
7120 2002-08-29  André Pönitz <poenitz@gmx.net>
7121
7122         * lyxtext.h:
7123         * text2.C: remove unused member number_of_rows
7124
7125         * Makefile.am:
7126         * BufferView2.C: remove file, move contents to...
7127         * BufferView.C: ... here
7128
7129         * BufferView_pimpl.C:
7130         * factory.C: move more inset creation to factory
7131
7132         * vspace.C: avoid direct usage of LyXText, ws changes
7133
7134         * BufferView.[Ch]:
7135                 don't provide direct access to WorkArea, use two simple
7136                 acessors haveSelction() and workHeight() instead
7137
7138
7139 2002-08-29  John Levon  <levon@movementarian.org>
7140
7141         * BufferView_pimpl.C (dispatch): do not continue when
7142           no buffer
7143
7144 2002-08-28  André Pönitz <poenitz@gmx.net>
7145
7146         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7147
7148         * BufferView.h:
7149         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7150
7151 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7152
7153         * buffer.C: increment LYX_FORMAT to 221
7154
7155         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7156         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7157
7158         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7159
7160         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7161
7162 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7163
7164         * factory.C (createInset): use LyXTextClass::floats
7165
7166         * MenuBackend.C (expandFloatListInsert):
7167         (expandFloatInsert):
7168         (expandToc):
7169
7170         * text2.C (setCounter):
7171
7172         * LaTeXFeatures.C (useFloat):
7173         (getFloatDefinitions):
7174
7175         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7176
7177         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7178         floatlist_, with accessor floats().
7179
7180         * FloatList.h: remove global FloatList
7181
7182 2002-08-26  André Pönitz <poenitz@gmx.net>
7183
7184         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7185
7186         * BufferView.h:
7187         * BufferView2.C:
7188         * BufferView_pimpl.C:
7189         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7190
7191 2002-08-25  John Levon  <levon@movementarian.org>
7192
7193         * LyXAction.C: fix margin note description
7194
7195 2002-08-24  John Levon  <levon@movementarian.org>
7196
7197         * buffer.C:
7198         * bufferlist.C:
7199         * bufferview_funcs.C:
7200         * lyxfont.C:
7201         * undo_funcs.C: cleanups
7202
7203         * lyxfunc.C: disable CUT/COPY when no selection
7204
7205 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7206
7207         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7208         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7209
7210         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7211         Add backward compatibility to "mono", "gray" and "no".
7212
7213 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7214
7215         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7216         (and file_format >= 200).
7217
7218 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7219
7220         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7221
7222 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7223
7224         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7225
7226 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7227
7228         * BufferView_pimpl.C:
7229         * LyXAction.C:
7230         * buffer.C:
7231         * commandtags.h:
7232         * lyxfunc.C:
7233         * paragraph.[Ch]:
7234         * text2.C:
7235         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7236         inset and code to make it  work with the paragraph code. The inset
7237         can be anywhere in the paragraph, but will only do the expected
7238         thing in LaTeX if the layout file contains the parameter line
7239                         OptionalArgs    1
7240         (or more generally, a nonzero value) for that layout.
7241
7242 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * paragraph.h: remove the declaration of undefined counters class
7245         function.
7246
7247 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7248
7249         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7250         Dr. Richard Hawkins.
7251
7252 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7253
7254         * paragraph_funcs.h: remove some unneeded includes
7255
7256         * text.C (backspace): pasteParagraph now in global scipe
7257
7258         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7259         (pasteSelection): ditto
7260
7261         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7262         * paragraph_funcs.C (pasteParagraph): ... here
7263
7264 2002-08-20  André Pönitz <poenitz@gmx.net>
7265
7266         * commandtags.h: new LFUNs for swapping/copying table row/colums
7267
7268         * LyXAction.C:
7269         * lyxfunc.C: support for new lfuns
7270
7271 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * tabular.C:
7274         * buffer.[Ch]: remove NO_COMPABILITY stuff
7275
7276 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * boost.C (throw_exception): new file, with helper function for
7279         boost compiled without exceptions.
7280
7281         * paragraph.h:
7282         * lyxlength.C:
7283         * buffer.C:
7284         * ParameterStruct.h:
7285         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7286
7287         * bufferlist.C (emergencyWriteAll): use boost bind
7288
7289         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7290
7291         * text.C: include paragraph_funcs.h
7292         (breakParagraph): breakParagraph is now in global scope
7293
7294         * paragraph_funcs.[Ch]: new files
7295
7296         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7297         global scope
7298
7299         * buffer.C: include paragraph_funcs.h
7300         (insertStringAsLines): breakParagraph is now in global scope
7301
7302         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7303         paragraph_funcs.C
7304
7305         * CutAndPaste.C: include paragraph_funcs.h
7306         (cutSelection): breakParagraphConservative is now in global scope
7307         (pasteSelection): ditto
7308
7309         * buffer.h: declare oprator== and operator!= for
7310         Buffer::inset_iterator
7311
7312         * bufferlist.C (emergencyWrite): don't use fmt(...)
7313
7314         * text3.C: add using std::endl
7315
7316         * BufferView.C (moveCursorUpdate): remove default arg
7317
7318 2002-08-20  André Pönitz <poenitz@gmx.net>
7319
7320         * buffer.[Ch]: move inline functions to .C
7321
7322         * BufferView2.C:
7323         * BufferView_pimpl.C:
7324         * text.C:
7325         * buffer.[Ch]: use improved inset_iterator
7326
7327         * buffer.C:
7328         * paragraph.[Ch]: write one paragraph at a time
7329
7330 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7331
7332         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7333         style if style is not specified.
7334
7335 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7336
7337         * text2.C (setCounter): when searching for right label for a
7338         caption, make sure to recurse to parent insets (so that a caption
7339         in a minipage in a figure float works) (bug #568)
7340
7341 2002-08-20  André Pönitz <poenitz@gmx.net>
7342
7343         * text3.C: new file for LyXText::dispatch() and helpers
7344
7345         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7346
7347         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7348
7349 2002-08-19  André Pönitz <poenitz@gmx.net>
7350
7351         * lyxtext.h:
7352         * text.C: new LyXText::dispatch()
7353
7354         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7355
7356 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7359
7360         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7361         Hebrew text.
7362
7363 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * Makefile.am: use $(variables) instead of @substitutions@
7366
7367 2002-08-15  André Pönitz <poenitz@gmx.net>
7368
7369         * lyxfunc.C:
7370         * BufferView_pimpl.C: streamlining mathed <-> outer world
7371         interaction
7372
7373         * commandtags.h:
7374         * LyXAction.C: remove unused LFUN_MATH
7375
7376 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7379
7380 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * paragraph.C (Paragraph): reformat a bit
7383         (cutIntoMinibuffer): use builtin InsetList function instad of
7384         doing it manually.
7385         (getInset): ditto
7386
7387         * buffer.C: include boost/bind.hpp, add using std::for_each
7388         (writeFileAscii): use ParagraphList iterators
7389         (validate): use for_each for validate traversal of paragraphs
7390         (getBibkeyList): use ParagraphList iterators
7391         (resizeInsets): use for_each to resizeInsetsLyXText for all
7392         paragraphs.
7393         (getParFromID): use ParagraphList iterators
7394
7395         * BufferView2.C (lockInset): use paragraph list and iterators
7396
7397 2002-08-14  John Levon  <levon@movementarian.org>
7398
7399         * lyxserver.C: remove spurious xforms include
7400
7401 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7402
7403         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7404
7405 2002-08-13  André Pönitz <poenitz@gmx.net>
7406
7407         * LyXAction.[Ch]:
7408         * lyxfunc.C: further cleaning
7409
7410 2002-08-13  André Pönitz <poenitz@gmx.net>
7411
7412         * funcrequest.h: new constructor
7413
7414         * funcrequest.C: move stuff here from .h
7415
7416         * Makefile.am:
7417         * BufferView_pimpl.C:
7418         * LyXAction.C:
7419         * toc.C:
7420         * lyxfunc.C: subsequent changes
7421
7422         * lyxfunc.h: new view() member function
7423
7424         * lyxfunc.C: subsequent changes
7425
7426 2002-08-13  Angus Leeming  <leeming@lyx.org>
7427
7428         * BufferView2.C:
7429         * BufferView_pimpl.C:
7430         * buffer.C:
7431         * converter.C:
7432         * importer.C:
7433         * lyxfunc.C:
7434         * lyxvc.C:
7435         * toc.C:
7436         * vc-backend.C:
7437         changes due to the changed LyXView interface that now returns references
7438         to member variables not pointers.
7439
7440 2002-08-13  Angus Leeming  <leeming@lyx.org>
7441
7442         * WordLangTuple (word, lang_code): return references to strings,
7443         not strings.
7444
7445         * BufferView.h:
7446         * SpellBase.h:
7447         * lyxtext.h: forward-declare WordLangTuple.
7448
7449         * BufferView2.C:
7450         * ispell.C:
7451         * pspell.C:
7452         * text.C: #include "WordLangTuple.h".
7453
7454         * lyxtext.h:
7455         * text.C: (selectNextWordToSpellcheck): constify return type.
7456
7457 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7458
7459         * buffer.C:
7460         * buffer.h:
7461         * lyxtext.h:
7462         * paragraph.C:
7463         * paragraph_pimpl.h:
7464         * text.C:
7465         * text2.C:
7466         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7467         suggested by Angus.
7468         Made updateCounter always count from start of buffer, and removed
7469         second argument (par).
7470         Reverted floats number display to '#'. Perhaps I'll try again when the
7471         code base is sanitized a bit.
7472
7473 2002-08-12  Angus Leeming  <leeming@lyx.org>
7474
7475         * buffer.[Ch] (getLabelList): constify.
7476
7477 2002-08-07  André Pönitz <poenitz@gmx.net>
7478
7479         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7480
7481         * funcrequest.h: extension to keep mouse (x,y) position
7482
7483 2002-08-12  Juergen Vigna  <jug@sad.it>
7484
7485         * BufferView2.C (insertErrors): forbid undo when inserting error
7486         insets.
7487
7488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7489
7490 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * ParagraphList.[Ch]: new files
7493
7494         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7495
7496         * BufferView2.C (lockInset): ParagraphList changes
7497         * toc.C: ditto
7498         * text2.C: ditto
7499         * bufferlist.C: ditto
7500         * buffer.h: ditto
7501         * buffer.C: ditto
7502
7503 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7506         unused class variable counter_,
7507
7508         * paragraph.[Ch] (getFirstCounter): delete unused function
7509
7510         * counters.C: include LAssert.h
7511         (reset): add a new function with no arg, change other version to
7512         not have def. arg and to not allow empty arg.
7513
7514         * text2.C (setCounter): remove empty arg from call to Counters::reset
7515
7516 2002-08-11  John Levon  <levon@movementarian.org>
7517
7518         * Makefile.am: add WordLangTuple.h
7519
7520 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7523         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7524
7525         * insets/insettext.C: InsetList changes
7526
7527         * graphics/GraphicsSupport.C (operator()): InsetList changes
7528
7529         * toc.C (getTocList): InsetList changes
7530
7531         * paragraph_pimpl.[Ch]: InsetList changes
7532
7533         * paragraph.[Ch]: InsetList changes
7534
7535         * buffer.C (inset_iterator): InsetList changes
7536         (setParagraph): ditto
7537         * buffer.h (inset_iterator): ditto
7538         * iterators.C (operator++): ditto
7539         * iterators.h: ditto
7540
7541         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7542
7543         * InsetList.[Ch]: new files, most InsetList handling moved out of
7544         paragraph.C.
7545
7546         * BufferView2.C (removeAutoInsets): InsetList changes
7547         (lockInset): ditto
7548         (ChangeInsets): ditto
7549
7550 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * paragraph_pimpl.h (empty): new function
7553
7554         * paragraph.[Ch] (empty): new function
7555
7556         * other files: use the new Paragraph::empty function
7557
7558 2002-08-09  John Levon  <levon@movementarian.org>
7559
7560         * lyxtext.h: remove unused refresh_height
7561
7562 2002-08-09  John Levon  <levon@movementarian.org>
7563
7564         * Makefile.am:
7565         * sgml.h:
7566         * sgml.C:
7567         * buffer.C:
7568         * paragraph.h:
7569         * paragraph.C: move sgml char escaping out of paragraph
7570
7571         * paragraph.h:
7572         * paragraph.C: remove id setter
7573
7574         * buffer.C:
7575         * paragraph.C:
7576         * paragraph_pimpl.C: remove dead tex_code_break_column
7577
7578         * bufferview_funcs.C: small cleanup
7579
7580         * lyxfunc.C: remove dead proto
7581
7582         * lyxtext.h: make some stuff private. Remove some dead stuff.
7583
7584         * lyxgluelength.C: make as[LyX]String() readable
7585
7586 2002-08-08  John Levon  <levon@movementarian.org>
7587
7588         * LyXAction.h:
7589         * LyXAction.C:
7590         * MenuBackend.C:
7591         * ToolbarDefaults.C:
7592         * lyxfunc.C:
7593         * lyxrc.C:
7594         * toc.C: lyxaction cleanup
7595
7596 2002-08-08  John Levon  <levon@movementarian.org>
7597
7598         * BufferView2.C: small cleanup
7599
7600         * lyxfind.h:
7601         * lyxfind.C: move unnecessary header into the .C
7602
7603 2002-08-08  John Levon  <levon@movementarian.org>
7604
7605         * funcrequest.h: just tedious nonsense
7606
7607         * lyx_main.h:
7608         * lyx_main.C: cleanups
7609
7610         * buffer.C:
7611         * vspace.C: remove dead header lyx_main.h
7612
7613 2002-08-07  Angus Leeming  <leeming@lyx.org>
7614
7615         * Paragraph.[Ch]:
7616         * paragraph_pimpl.h:
7617         Forward declare class Counters in paragraph.h by moving the ctrs member
7618         variable into Paragraph::Pimpl.
7619         (counters): new method, returning a reference to pimpl_->ctrs.
7620
7621         * text2.C: ensuing changes.
7622
7623 2002-08-07  John Levon  <levon@movementarian.org>
7624
7625         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7626
7627         * BufferView_pimpl.C: announce X selection on double/triple
7628           click
7629
7630         * lyx_main.C: use correct bool in batch dispatch
7631
7632         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7633
7634 2002-08-07  André Pönitz <poenitz@gmx.net>
7635
7636         * funcrequest.h: new class to wrap a kb_action and its argument
7637
7638         * BufferView.[Ch]:
7639         * BufferView_pimpl[Ch]:
7640         * LaTeX.C:
7641         * LyXAction.[Ch]:
7642         * lyxfunc.[Ch]:
7643         * lyxrc.C: subsequent changes
7644
7645
7646 2002-08-07  John Levon  <levon@movementarian.org>
7647
7648         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7649           document options change.
7650
7651 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7652
7653         * counters.[Ch]
7654         * text2.C
7655         * paragraph.[Ch]
7656         * makefile.am: move counters functionality over from
7657         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7658
7659 2002-08-06  John Levon  <levon@movementarian.org>
7660
7661         * WordLangTuple.h: new file for word + language code tuple
7662
7663         * SpellBase.h:
7664         * pspell.h:
7665         * pspell.C:
7666         * ispell.h:
7667         * ispell.C:
7668         * lyxtext.h:
7669         * text.C:
7670         * text2.C:
7671         * BufferView.h:
7672         * BufferView2.C: use WordLangTuple
7673
7674         * layout.h:
7675         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7676
7677 2002-08-06  John Levon  <levon@movementarian.org>
7678
7679         * lyx_main.C: fix cmdline batch handling
7680
7681 2002-08-06  André Pönitz <poenitz@gmx.net>
7682
7683         * lyxrc.C: set default for show_banner to true
7684
7685 2002-08-06  John Levon  <levon@movementarian.org>
7686
7687         * pspell.C: fix a crash, and allow new aspell to work
7688
7689 2002-08-06  John Levon  <levon@movementarian.org>
7690
7691         * lyxfunc.C:
7692         * kbmap.C: small cleanup
7693
7694         * vspace.h:
7695         * vspace.C: add const
7696
7697 2002-08-05  John Levon  <levon@movementarian.org>
7698
7699         * LyXAction.C: back to tabular-insert
7700
7701 2002-08-04  John Levon  <levon@movementarian.org>
7702
7703         * BufferView.h:
7704         * BufferView.C: cosmetic change
7705
7706         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7707
7708         * bufferlist.C:
7709         * buffer.h:
7710         * buffer.C:
7711         * lyxcb.h:
7712         * lyxcb.C:
7713         * lyxserver.C:
7714         * lyxvc.C:
7715         * vc-backend.C:
7716         * BufferView2.C: purge all "Lyx" not "LyX" strings
7717
7718         * lyxcursor.h:
7719         * lyxcursor.C: attempt to add some documentation
7720
7721         * lyxfunc.C:
7722         * commandtags.h:
7723         * LyXAction.C:
7724         * ToolbarDefaults.C:
7725         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7726           merge with LFUN_TABULAR_INSERT
7727
7728         * Makefile.am:
7729         * SpellBase.h:
7730         * ispell.h:
7731         * ispell.C:
7732         * pspell.h:
7733         * pspell.C: split up i/pspell implementations into separate
7734           files, many cleanups
7735
7736         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7737
7738         * text2.C: some cleanup
7739
7740         * lyxfunc.C: don't check for isp_command == "none" any more, it
7741           didn't make any sense
7742
7743 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7744
7745         * counters.[Ch]
7746         * text2.C
7747         * paragraph.[Ch]
7748         * makefile.am: move counters functionality over
7749         from text2.C/paragraph.[Ch] to counters.[Ch], and
7750         make proper C++.
7751 2002-08-02  John Levon  <levon@movementarian.org>
7752
7753         * buffer.C: s/lyxconvert/lyx2lyx/
7754
7755 2002-08-02  Angus Leeming  <leeming@lyx.org>
7756
7757         * lyxlex.C: revert John's change as it breaks reading of the user
7758         preamble.
7759
7760 2002-08-02  Angus Leeming  <leeming@lyx.org>
7761
7762         * importer.C (Import):
7763         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7764         changes due to LyXView::view() now returning a boost::shared_ptr.
7765
7766 2002-08-02  John Levon  <levon@movementarian.org>
7767
7768         * lyxlex.C: small cleanup
7769
7770 2002-08-02  John Levon  <levon@movementarian.org>
7771
7772         * text2.C (status): small cleanup, no logic change
7773
7774 2002-08-01  John Levon  <levon@movementarian.org>
7775
7776         * buffer.h:
7777         * buffer.C (writeFile): don't output alerts, caller
7778           handles this
7779
7780         * bufferlist.C:
7781         * lyx_cb.C: from above
7782
7783         * lyxfunc.C: allow to open non-existent files
7784
7785 2002-07-31  John Levon  <levon@movementarian.org>
7786
7787         * lyxserver.C: don't let incidental errors get
7788           in the way (errno)
7789
7790 2002-07-30  John Levon  <levon@movementarian.org>
7791
7792         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7793
7794 2002-07-30  John Levon  <levon@movementarian.org>
7795
7796         * lyxserver.h:
7797         * lyxserver.C: remove I/O callback too
7798
7799 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7800
7801         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7802         log.
7803
7804 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * many files: strip,frontStrip -> trim,ltrim,rtrim
7807
7808 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * PrinterParams.h: remove extern containsOnly, and include
7811         support/lstrings.h instead.
7812
7813         * LaTeX.C (scanAuxFile): modify because of strip changes
7814         (deplog): ditto
7815         * buffer.C (makeLaTeXFile): ditto
7816         * bufferparams.C (writeFile): ditt
7817         * lyxfont.C (stateText): ditto
7818         * lyxserver.C (read_ready): ditto
7819         * vc-backend.C (scanMaster): ditto
7820
7821         * BufferView_pimpl.h: ws changes
7822
7823         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7824
7825 2002-07-26  André Pönitz <poenitz@gmx.net>
7826
7827         * kb_sequence.C: remove unnedred usings
7828
7829 2002-07-26  Juergen Vigna  <jug@sad.it>
7830
7831         * lyxfind.C (LyXReplace): we have to check better if the returned
7832         text is not of theLockingInset()->getLockingInset().
7833
7834 2002-07-25  Juergen Vigna  <jug@sad.it>
7835
7836         * lyxfind.C (LyXReplace): don't replace if we don't get the
7837         right LyXText.
7838
7839         * undo_funcs.C (createUndo): remove debugging code.
7840
7841 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7842
7843         * buffer.C (parseSingleLyXformat2Token): Use default placement
7844         when reading old floats.
7845
7846         * FloatList.C (FloatList): Change the default placement of figure
7847         and tables to "tbp".
7848
7849 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * MenuBackend.C: using std::max
7852
7853 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7854
7855         * MenuBackend.C (expandToc):
7856         (expandToc2): code moved from xforms menu frontend. It is now
7857         generic and TOCs are transparent to menu frontends.
7858
7859 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7860
7861         * toc.C (getTocList): protect against buf=0
7862
7863         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7864         Menu as first parameter. Now, this calls itself recursively to
7865         expand a whole tree (this will be useful for TOC handling)
7866         (expandFloatInsert): remove 'wide' version of floats
7867
7868         * MenuBackend.h (submenuname): returns the name of the submenu.
7869         (submenu): returns the submenu itself, provided it has been
7870         created by MenuBackend::expand
7871
7872 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7875         insets which have noFontChange == true. (bug #172)
7876
7877 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7878
7879         * BufferView_pimpl.C: add connection objects and use them...
7880         (Pimpl): here.
7881
7882 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7883
7884         * MenuBackend.C (expandLastfiles):
7885         (expandDocuments):
7886         (expandFormats):
7887         (expandFloatListInsert):
7888         (expandFloatInsert):
7889         (expand): split expand in parts
7890
7891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7892
7893         * lyx_gui.C: use lyx_gui::exit()
7894
7895 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * LyXAction.C: show the failing pseudo action
7898
7899 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7900
7901         * buffer.C (readFile): Run the lyxconvert script in order to read
7902         old files.
7903
7904 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * LyXAction.C:
7907         * commandtags.h:
7908         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7909
7910 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7911
7912         * LyXAction.C:
7913         * commandtags.h:
7914         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7915
7916 2002-07-22  Herbert Voss  <voss@lyx.org>
7917
7918         * lengthcommon.C:
7919         * lyxlength.[Ch]: add support for the vertical lengths
7920
7921 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7922
7923         * toc.[Ch]: std:: fixes
7924
7925 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * lyxrc.C: do not include lyx_main.h
7928
7929         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7930         for layouts
7931
7932         * lyxrc.C:
7933         * encoding.C:
7934         * bufferlist.C:
7935         * BufferView2.C: include "lyxlex.h"
7936
7937         * tabular.h:
7938         * bufferparams.h: do not #include "lyxlex.h"
7939
7940         * lyxtextclasslist.C (Add): remove method
7941         (classlist): renamed to classlist_
7942
7943         * paragraph_pimpl.C:
7944         * paragraph.C:
7945         * text2.C:
7946         * CutAndPaste.C:
7947         * bufferview_funcs.C:
7948         * bufferlist.C:
7949         * text.C:
7950         * LaTeXFeatures.C:
7951         * buffer.C:
7952         * toc.C (getTocList): use BufferParams::getLyXTextClass
7953
7954         * toc.C (getTocList): use InsetFloat::addToToc
7955
7956         * toc.[Ch]: new files, containing helper functions to handle table
7957         of contents
7958
7959         * lyxfunc.C (dispatch): no need to remove spaces around command
7960         given as a string
7961         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7962         first command of the sequence; it is not very clever, but I do not
7963         have a better idea, actually
7964
7965         * LyXAction.C (LookupFunc): make sure to remove space at the
7966         beginning and end of the command
7967
7968 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7969
7970         * MenuBackend.C (getMenubar): new method: return the menubar of
7971         this menu set
7972         (read): treat differently reading of menu and menubar (in
7973         particular, the menubar has no name now)
7974         (Menu::menubar): remove
7975
7976         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7977         saving is finished
7978
7979 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7980
7981         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7982         a bibitem inset in a RTL paragraph.
7983
7984 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * paragraph_pimpl.C: constify
7987
7988         * BufferView_pimpl.C:
7989         * LaTeX.C:
7990         * lyxfunc.C: fix dispatch in a nicer way
7991
7992 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7993
7994         * lyxfunc.C (dispatch):
7995         * BufferView_pimpl.C:
7996         * BufferView_pimpl.h:
7997         * BufferView.C:
7998         * BufferView.h: rename Dispatch() to dispatch()
7999
8000         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8001
8002         * lyxlayout.C (Read): honor DependsOn tag
8003
8004         * lyxlayout.[Ch] (depends_on): new method
8005
8006         * version.C.in: update lyx_docversion
8007
8008         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8009
8010         * paragraph.C (validate): remove from here...
8011         * paragraph_pimpl.C (validate): ... and move here
8012         (isTextAt): make it const
8013
8014         * buffer.C (getLists): ws cleanup
8015
8016 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8017
8018         * language.C (read): Use iso8859-1 encoding in latex_lang
8019         (this prevents LyX from crashing when using iso10646-1 encoding).
8020
8021 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8022
8023         * text2.C (toggleInset): if cursor is inside an inset, close the
8024         inset and leave cursor _after_ it
8025
8026 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * lyxfunc.C: move minibuffer completion handling out of here
8029
8030 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8031
8032         * BufferView_pimpl.C:
8033         * LaTeX.C: fix dispatch calls
8034
8035 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8036
8037         * text.C (drawChars): Fix Arabic text rendering.
8038
8039 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8040
8041         * LyXAction.C:
8042         * commandtags.h:
8043         * lyxfunc.C: remove message-push/pop
8044
8045         * lyxserver.C:
8046         * lyxfunc.h:
8047         * lyxfunc.C: rationalise some code by removing verboseDispatch
8048           in favour of a bool argument to dispatch()
8049
8050 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8051
8052         * lyx_main.C (init): make sure to read symlinks as absolute paths
8053
8054 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * lyxfunc.h:
8057         * lyxfunc.C: no need for commandshortcut to be a member
8058
8059 2002-07-15  André Pönitz <poenitz@gmx.net>
8060
8061         * converter.C: add support for $$s (scripts from lib/scripts dir)
8062         * lyx_main.C: white space
8063
8064 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8065
8066         * bufferlist.C:
8067         * lyxrc.h:
8068         * lyxrc.C: remove second exit confirmation
8069
8070 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * BufferView.h:
8073         * BufferView.C:
8074         * BufferView2.C:
8075         * BufferView_pimpl.h:
8076         * BufferView_pimpl.C:
8077         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8078
8079 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8080
8081         * MenuBackend.C (expand): add numeric shortcuts to document menu
8082
8083         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8084
8085 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * lyxfont.C (setLyXFamily):
8088         (setLyXSeries):
8089         (setLyXShape):
8090         (setLyXSize):
8091         (setLyXMisc):
8092         (lyxRead):
8093         * debug.C (value):
8094         * buffer.C (asciiParagraph): use ascii_lowercase
8095
8096 2002-07-15  Mike Fabian  <mfabian@suse.de>
8097
8098         * lyxlex_pimpl.C (search_kw):
8099         * lyxlex.C (getLongString):
8100         * converter.h (operator<):
8101         * converter.C (operator<):
8102         * buffer.C (parseSingleLyXformat2Token):
8103         (asciiParagraph):
8104         * ToolbarDefaults.C (read):
8105         * MenuBackend.C (checkShortcuts):
8106         (read):
8107         * LColor.C (getFromGUIName):
8108         (getFromLyXName): use the compare_ascii_no_case instead of
8109         compare_no_case, because in turkish, 'i' is not the lowercase
8110         version of 'I', and thus turkish locale breaks parsing of tags.
8111
8112 2002-07-16  Angus Leeming  <leeming@lyx.org>
8113
8114         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8115         now takes a Buffer const & argument.
8116
8117 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * BufferView.C (resize): check there's a buffer to resize
8120
8121 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8122
8123         * lyxfunc.C: remove dead code
8124
8125         * lyxserver.h:
8126         * lyxserver.C: use lyx_guii::set_read_callback
8127
8128 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8129
8130         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8131         an inset in a RTL paragraph.
8132
8133 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * lyxfunc.C: repaint after a font size update
8136
8137 2002-07-15  André Pönitz <poenitz@gmx.net>
8138
8139         * lyxlength.C: inBP should be able to return negative values
8140
8141 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * lyxfunc.C: use lyx_gui::update_fonts()
8144
8145 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * lyxfunc.C: use lyx_gui::update_color()
8148
8149 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * bufferlist.C:
8152         * lyxfunc.h:
8153         * lyxfunc.C:
8154         * lyxrc.h:
8155         * lyxrc.C: remove file->new asks for name option, and let
8156           buffer-new take an argument
8157
8158 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8159
8160         * BufferView_pimpl.C: remove unneeded extra repaint()
8161
8162 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * LyXAction.C: allow command-sequence with NoBuffer
8165
8166         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8167
8168 2002-07-10  Angus Leeming  <leeming@lyx.org>
8169
8170         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8171
8172 2002-07-09  Angus Leeming  <leeming@lyx.org>
8173
8174         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8175
8176 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * lengthcommon.h: whitespace
8179
8180         * lyxfunc.C: update scrollbar after goto paragraph
8181
8182         * lyxtext.h: factor out page break drawing, and fix it so
8183           page break/added space paints as selected nicely
8184
8185 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8186
8187         * BufferView_pimpl.C: add FIXMEs, clean up a little
8188
8189 2002-07-09  André Pönitz <poenitz@gmx.net>
8190
8191         * lyxfont.[Ch]: support for wasy symbols
8192
8193 2002-07-08  André Pönitz <poenitz@gmx.net>
8194
8195         * BufferView_pimpl.C: apply John's patch for #93.
8196
8197 2002-07-05  Angus Leeming  <leeming@lyx.org>
8198
8199         * BufferView_pimpl.C (buffer): generate previews if desired.
8200
8201         * LColor.h: add "preview" to the color enum.
8202
8203         * LColor.C (LColor): add a corresponding entry to the items array.
8204
8205         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8206         with this buffer.
8207
8208 2002-07-05  Angus Leeming  <leeming@lyx.org>
8209
8210         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8211         The body of the code is now in the method that is passed an ostream &
8212         rather than a file name.
8213         Pass an additional only_preamble parameter, useful for the forthcoming
8214         preview stuff.
8215
8216 2002-07-03  André Pönitz <poenitz@gmx.net>
8217
8218         * lyxfunc.C: simplify getStatus() a bit for math stuff
8219
8220 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8221
8222         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8223
8224 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * text.C (changeRegionCase): do not change case of all the
8227         document when region ends at paragraph end (bug #461)
8228
8229 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * paragraph.C (startTeXParParams):
8232         (endTeXParParams): add \protect when necessary
8233
8234 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8235
8236         * BufferView_pimpl.C (workAreaExpose): remove warning
8237
8238 2002-06-27  Angus Leeming  <leeming@lyx.org>
8239
8240         * Makefile.am: add lyxlayout_ptr_fwd.h.
8241
8242 2002-06-26  André Pönitz <poenitz@gmx.net>
8243
8244         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8245
8246 2002-06-25  Angus Leeming  <leeming@lyx.org>
8247
8248         * lyxfunc.C (dispatch): Comment out the call to
8249         grfx::GCache::changeDisplay. The method no longer exists now that the
8250         pixmap generation part of the graphics loader has been moved into
8251         InsetGraphics.
8252
8253 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8254
8255         * text2.C: layout as layout
8256
8257         * text.C: layout as layout
8258
8259         * tabular.C (OldFormatRead): layout as layout
8260
8261         * paragraph_pimpl.C (TeXDeeper): layout as layout
8262         (realizeFont): layout as layout
8263
8264         * paragraph.C (writeFile): layout as layout
8265         (validate): layout as layout
8266         (getFont): layout as layout
8267         (getLabelFont): layout as layout
8268         (getLayoutFont): layout as layout
8269         (breakParagraph): layout as layout
8270         (stripLeadingSpaces): layout as layout
8271         (getEndLabel): layout as layout
8272         (getMaxDepthAfter): layout as layout
8273         (applyLayout): layout as layout
8274         (TeXOnePar): layout as layout
8275         (simpleTeXOnePar): layout as layout
8276         (TeXEnvironment): layout as layout
8277         (layout): layout as layout
8278         (layout): layout as layout
8279
8280         * lyxtextclass.C (compare_name): new functor to work with
8281         shared_ptr, layout as layout
8282         (Read): layout as layout
8283         (hasLayout): layout as layout
8284         (operator): layout as layout
8285         (delete_layout): layout as layout
8286         (defaultLayout): layout as layout
8287
8288         * lyxlayout_ptr_fwd.h: new file
8289
8290         * lyxlayout.C (Read): layout as layout
8291
8292         * lyx_cb.C (MenuInsertLabel): layout as layout
8293
8294         * bufferlist.C (newFile): layout as layout
8295
8296         * buffer.C (readLyXformat2): layout as layout
8297         (parseSingleLyXformat2Token): layout as layout
8298         (insertStringAsLines): layout as layout
8299         (asciiParagraph): layout as layout
8300         (latexParagraphs): layout as layout
8301         (makeLinuxDocFile): layout as layout
8302         (simpleLinuxDocOnePar): layout as layout
8303         (makeDocBookFile): layout as layout
8304         (simpleDocBookOnePar): layout as layout
8305         (getLists): layout as layout
8306
8307         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8308
8309         * CutAndPaste.C (cutSelection): layout as layout
8310         (pasteSelection): layout as layout
8311         (SwitchLayoutsBetweenClasses): layout as layout
8312
8313         * BufferView_pimpl.C (Dispatch): layout as layout
8314         (smartQuote): layout as layout
8315
8316         * BufferView2.C (unlockInset): layout as layout
8317
8318 2002-06-24  André Pönitz <poenitz@gmx.net>
8319
8320         * lyxfunc.C: fix #487
8321
8322 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * lyxrc.h:
8325         * lyxrc.C:
8326         * lyxfunc.C: remove display_shortcuts, show_banner
8327
8328 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8329
8330         * Buffer_pimpl.C: oops, update on resize
8331
8332 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * buffer.C:
8335         * converter.C:
8336         * exporter.C:
8337         * lyxfunc.C:
8338         * BufferView.h:
8339         * BufferView.C: use repaint()
8340
8341         * BufferView_pimpl.h:
8342         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8343           as it's a clearer description. Remove superfluous
8344           redraws.
8345
8346 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8347
8348         * text.C: fix bug 488. Not ideal, but getting
8349           getWord() to work properly for the insets that
8350           matter is more difficult ...
8351
8352 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * BufferView_pimpl.C:
8355         * LyXAction.C:
8356         * commandtags.h:
8357         * lyxfunc.C: remove the six million index lyxfuncs to just
8358           one, and DTRT (bug 458)
8359
8360 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8361
8362         * BufferView.h:
8363         * BufferView.C:
8364         * BufferView_pimpl.h:
8365         * BufferView_pimpl.C: clean up resize() stuff,
8366           and unnecessary updateScreen()s
8367
8368 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8369
8370         * BufferView.h:
8371         * BufferView.C:
8372         * BufferView_pimpl.h:
8373         * BufferView_pimpl.C:
8374         * lyxfind.h:
8375         * lyxfind.C:
8376         * minibuffer.C: remove focus management of workarea,
8377           not needed. Use screen's greyOut()
8378
8379 2002-06-17  Herbert Voss  <voss@lyx.org>
8380
8381         * converter.C: (convert) do not post a message, when converting
8382         fails, let the calling function decide what to do in this case
8383
8384 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * lyxfunc.C: tidy up a little
8387
8388 2002-06-16    <alstrup@diku.dk>
8389
8390         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8391         Got rid of FORMS_H_LOCATION include. Now we are
8392         GUII.
8393
8394 2002-06-15  LyX Development team  <lyx@rilke>
8395
8396         * buffer.[Ch] (sgmlOpenTag):
8397         (sgmlCloseTag): Added support for avoiding pernicious mixed
8398         content. Return number of lines written.
8399
8400         (makeLinuxDocFile):
8401         (makeDocBookFile): Fixed calls to sgml*Tag.
8402         Simple white space clean.
8403
8404         (simpleDocBookOnePar): Simple white space clean.
8405
8406         * tabular.[Ch] (docBook): Renamed to docbook and got another
8407         argument to related with the pernicious mixed content.
8408
8409         (docbookRow): Fixed calls for docbook inset method.
8410
8411 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8412
8413         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8414         so it's X11 independent.
8415
8416         * kb*.[Ch]: ditto.
8417
8418         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8419
8420 2002-06-15  Lyx Development team  <lyx@electronia>
8421
8422         * intl.h: Renamed getTrans to getTransManager.
8423
8424 2002-06-14  Angus Leeming  <leeming@lyx.org>
8425
8426         * Makefile.am: nuke forgotten stl_string_fwd.h.
8427
8428 2002-06-12  Angus Leeming  <leeming@lyx.org>
8429
8430         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8431
8432 2002-06-13  Angus Leeming  <leeming@lyx.org>
8433
8434         * LaTeX.C:
8435         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8436
8437 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8438
8439         * kbmap.C (getiso): add support for cyrillic and greek
8440
8441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * BufferView.h:
8444         * BufferView.C:
8445         * BufferView_pimpl.h:
8446         * BufferView_pimpl.C: move bogus scrolling logic
8447           to xforms
8448
8449 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8450
8451         * lyxfunc.C:
8452         * BufferView_pimpl.C: view->resize() change
8453
8454 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8455
8456         * BufferView_pimpl.C: topCursorVisible
8457           prototype change
8458
8459 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * Makefile.am:
8462         * lyx_gui.h:
8463         * lyx_gui.C: move to frontends/
8464
8465         * main.C:
8466         * lyx_main.h:
8467         * lyx_main.C: changes from above
8468
8469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8470
8471         * intl.C:
8472         * intl.h:
8473         * kbmap.C:
8474         * kbsequence.C:
8475         * lyx_cb.C:
8476         * lyx_main.C: minor tidy
8477
8478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * BufferView_pimpl.h:
8481         * BufferView_pimpl.C:
8482         * BufferView.h:
8483         * BufferView.C: make painter() const,
8484           remove dead code
8485
8486         * BufferView2.C: use screen() accessor
8487
8488         * lyx_main.h:
8489         * lyx_main.C: some minor cleanup
8490
8491 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8492
8493         * BufferView_pimpl.h:
8494         * BufferView_pimpl.C: remove enter/leaveView,
8495           use workHeight()
8496
8497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * BufferView.h:
8500         * BufferView.C:
8501         * BufferView2.C:
8502         * BufferView_pimpl.h:
8503         * BufferView_pimpl.C: only construct screen once,
8504           rename
8505
8506         * lyxrc.C: remove pointless comment
8507
8508 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * BufferView.h:
8511         * BufferView.C: remove active() and belowMouse()
8512
8513         * BufferView_pimpl.h:
8514         * BufferView_pimpl.C: use workarea() not workarea_,
8515           and make it use a scoped_ptr instead
8516
8517 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8518
8519         * lyx_gui.C: add debug message on BadWindow
8520
8521 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8522
8523         * sp_spell.C: fdopen is not part of the C++ standard.
8524
8525         * paragraph.C (InsetIterator): use >= instead of ==
8526
8527 2002-06-07  Angus Leeming  <leeming@lyx.org>
8528
8529         Fixes needed to compile with Compaq cxx 6.5.
8530         * BufferView_pimpl.C:
8531         * DepTable.C:
8532         * buffer.C:
8533         * converter.C:
8534         * encoding.C:
8535         * lyx_gui.C:
8536         * lyx_main.C:
8537         * lyxtextclasslist.C:
8538         * minibuffer.C:
8539         * sp_spell.C:
8540         * tabular_funcs.C:
8541         * vc-backend.C:
8542         all c-library variables have been moved into namespace std. Wrap
8543         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8544
8545         * lyxlength.C:
8546         * tabular-old.C:
8547         * tabular.C:
8548         Add a using std::abs declaration.
8549
8550         * kbmap.h (modifier_pair):
8551         * paragraph.h (InsetTable, InsetList):
8552         * lyxfont.h (FontBits):
8553         type definition made public.
8554
8555         * bufferlist.C (emergencyWriteAll): the compiler complains that
8556         there is more than one possible lyx::class_fun template to choose from.
8557         I re-named the void specialisation as lyx::void_class_fun.
8558
8559         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8560
8561         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8562         the compiler is is unable to find tostr in write_attribute.
8563
8564 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8565
8566         * buffer.C (sgmlError): hide #warning
8567
8568 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8569
8570         * xtl/*: get rid of xtl, which is not in use anyway
8571
8572         * LyXAction.C (init):
8573         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8574         were unimplemented xtl experimentation
8575
8576 2002-06-04  André Pönitz <poenitz@gmx.net>
8577
8578         * lyxfunc.C: disable array operation on simple formulae
8579
8580 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * converter.C: constify a bit
8583
8584 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * lyx_gui.C: check xforms version correctly
8587
8588 2002-04-30  Herbert Voss  <voss@lyx.org>
8589
8590         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8591         "keep" option
8592
8593 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8596           attempt to register it with a VCS)
8597
8598 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * lyx_main.C (init): honor variables LYX_DIR_13x and
8601         LYX_USERDIR_13x
8602
8603 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8604
8605         * buffer.h:
8606         * buffer.C:
8607         * lyx_main.C: fix a crash on bad command line,
8608           and give a useful exit status on error
8609
8610         * lyxfunc.C (doImport): allow -i lyx to work
8611
8612 2002-03-30  André Pönitz <poenitz@gmx.net>
8613
8614         * lyxfunc.C: mathed font changes
8615
8616 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8617
8618         * LaTeX.C:
8619         * importer.h:
8620         * importer.C:
8621         * lyx_sty.h:
8622         * lyx_sty.C:
8623         * lyxlex.C:
8624         * lyxrow.h:
8625         * lyxtext.h:
8626         * paragraph.h:
8627         * paragraph.C:
8628         * texrow.h:
8629         * texrow.C:
8630         * text.C:
8631         * trans_mgr.h: srcdocs, and some minor cleanups
8632
8633 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8636         call getFont all the time)
8637
8638 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * switch from SigC signals to boost::signals
8641
8642 2002-05-29  André Pönitz <poenitz@gmx.net>
8643
8644         * paragraph_pimpl.C (getChar): don't call size() too often...
8645
8646 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8647
8648         * paragraph_pimpl.C (insertChar): do not try to update tables when
8649         appending (pos == size())
8650
8651         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8652         in order to reduce drastically the number of comparisons needed to
8653         parse a large document
8654
8655 2002-05-29  André Pönitz <poenitz@gmx.net>
8656
8657         * text.C:
8658         * text2.C:
8659         * lyxtextclass.C:
8660         * sp_pspell.h:
8661         * textclasslist.[Ch]:
8662         * sp_ispell.h: whitespace change
8663
8664 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8667         lyxaction directly now.
8668
8669 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * trans.C:
8672         * lyxfont.C:
8673         * lyxvc.C: remove unused headers
8674
8675 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * Makefile.am:
8678         * buffer.h:
8679         * undostack.h:
8680         * undostack.C:
8681         * undo_funcs.h:
8682         * undo_funcs.C: some cleanups. Use shared_ptr
8683           and a template for the undo stacks.
8684
8685 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * BufferView_pimpl.h:
8688         * BufferView_pimpl.C:
8689         * kbmap.h:
8690         * kbmap.C:
8691         * kbsequence.h:
8692         * kbsequence.C:
8693         * lyxfunc.h:
8694         * lyxfunc.C:
8695         * text2.C: use key_state/mouse_state
8696
8697 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8698
8699         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8700         and LSubstring
8701
8702         * chset.C: change include order
8703         (loadFile): use boost regex and get rid of LRegex and LSubstring
8704
8705         * Makefile.am (BOOST_LIBS): new variable
8706         (lyx_LDADD): use it
8707
8708         * LaTeX.C: change include order.
8709         (scanAuxFile): use boost regex and get rid of LRegex and
8710         LSubstring
8711         (deplog): ditto
8712
8713 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8714
8715         * ColorHandler.h:
8716         * ColorHandler.C:
8717         * FontInfo.h:
8718         * FontInfo.C: moved to frontends/xforms/
8719
8720         * FontLoader.h:
8721         * FontLoader.C: moved into frontends for GUIIzation
8722
8723         * Makefile.am:
8724         * lyx_gui.C:
8725         * lyxfont.C:
8726         * lyxfunc.C: changes from above
8727
8728 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8729
8730         * LColor.C: remove spurious X include
8731
8732         * BufferView_pimpl.C:
8733         * Makefile.am:
8734         * font.h:
8735         * font.C:
8736         * text.C:
8737         * text2.C: move font metrics to frontends/
8738
8739 2002-05-24  Juergen Vigna  <jug@sad.it>
8740
8741         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8742         setting the undo_cursor.
8743
8744         * ParagraphParameters.h: include local includes first.
8745
8746 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8747
8748         * BufferView_pimpl.C:
8749         * BufferView_pimpl.h:
8750         * Makefile.am:
8751         * WorkArea.h:
8752         * WorkArea.C:
8753         * screen.C: move WorkArea into frontends/
8754
8755         * lyxscreen.h:
8756         * screen.C:
8757         * text.C:
8758         * BufferView.C:
8759         * BufferView2.C: move LyXScreen into frontends/
8760
8761         * lyxlookup.h:
8762         * lyxlookup.C:
8763         * lyx_gui.C: move lyxlookup into frontends/xforms/
8764
8765 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView2.C:
8768         * BufferView_pimpl.C:
8769         * FontLoader.C:
8770         * LyXView.h:
8771         * LyXView.C:
8772         * Makefile.am:
8773         * WorkArea.C:
8774         * XFormsView.h:
8775         * XFormsView.C:
8776         * buffer.C:
8777         * bufferlist.C:
8778         * bufferview_funcs.C:
8779         * converter.C:
8780         * importer.C:
8781         * lyx_cb.C:
8782         * lyx_gui.C:
8783         * lyx_main.C:
8784         * lyx_find.C:
8785         * lyxfunc.C:
8786         * lyxvc.C:
8787         * minibuffer.C:
8788         * text.C:
8789         * text2.C:
8790         * trans.C:
8791         * vc-backend.C: move LyX/XFormsView into frontends/
8792
8793 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * Makefile.am:
8796         * PainterBase.C:
8797         * PainterBase.h:
8798         * Painter.C:
8799         * Painter.h:
8800         * WorkArea.C:
8801         * WorkArea.h:
8802         * screen.C:
8803         * tabular.C:
8804         * text.C:
8805         * text2.C: move Painter to frontends/
8806
8807 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8808
8809         * buffer.C: comment out some some code that depend upon lyx_format
8810         < 220
8811
8812         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8813         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8814
8815         * buffer.h (NO_COMPABILITY): turn off compability
8816
8817         * ColorHandler.C: include scoped_array.hpp
8818
8819         * font.C: Use more specific smart_ptr header.
8820         * Painter.C: ditto
8821         * gettext.C: ditto
8822         * ShareContainer.h: ditto
8823         * lyx_main.h: ditto
8824         * kbmap.h: ditto
8825         * FontInfo.h: ditto
8826         * BufferView_pimpl.h: ditto
8827         * ColorHandler.h: ditto
8828
8829         * kbmap.C (defkey): change call to shared_ptr::reset
8830
8831 2002-05-21  Juergen Vigna  <jug@sad.it>
8832
8833         * buffer.C (insertErtContents): fix to insert ert asis if it is
8834         non empty. Skip it completely if it contains only whitespaces.
8835
8836 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8837
8838         * BufferView_pimpl.C:
8839         * BufferView2.C: clear selection on paste (bug 393)
8840
8841 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8842
8843         * DepTable.C: include ctime
8844
8845 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8846
8847         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8848
8849 2002-05-14  Juergen Vigna  <jug@sad.it>
8850
8851         * text.C (breakParagraph): fixed function to honor the keepempty
8852         layout in the right maner and also to permit the right breaking
8853         algorithm on empty or non empyt keepempty paragraphs.
8854
8855         * paragraph.C (breakParagraph): we have to check also if the par
8856         is really empty (!size()) for isempty otherwise we do the wrong
8857         paragraph break.
8858
8859 2002-05-10  Juergen Vigna  <jug@sad.it>
8860
8861         * buffer.[Ch] : The following are only changes to the ert
8862         compatibility read reading old LaTeX layout and font stuff and
8863         convert it to ERTInsets.
8864
8865         * buffer.h: added isErtInset().
8866
8867         * buffer.C (struct ErtComp): add a fromlayout bool to check
8868         if we're inside a LaTeX layout.
8869         (isErtInset): new helper function.
8870         (insertErtContents): look for other ert insets before this one
8871         and insert the contents there, so that we don't have subsequent
8872         ERT insets with nothing between them. This way we create only one
8873         inset with multiple paragraphs. Also check if we don't insert only
8874         spaces ' ' as they are ignored anyway afterwards in the .tex file
8875         so if we have only spaces we will ignore this latex part in the
8876         new file.
8877         (parseSingleLyXformat2Token \\layout): better compatibility when
8878         reading layout-latex stuff.
8879         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8880         language tag.
8881         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8882         stuff after reading the inset only get the information back from
8883         the stack.
8884
8885 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8886
8887         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8888
8889         * LaTeXFeatures.C (getBabelOptions): New method.
8890
8891 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * BufferView_pimpl.C (Dispatch): work around missing argument for
8894         'layout'
8895
8896 2002-05-08  Juergen Vigna  <jug@sad.it>
8897
8898         * text.C (leftMargin): handle paragraph leftindent.
8899
8900         * paragraph.C (writeFile): write the new \\leftindent tag.
8901         (validate): handle leftindent code.
8902         (TeXEnvironment): handle paragraphleftindent code again.
8903
8904         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8905
8906         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8907         for paragrap_extra indent code and new token \\leftindent.
8908         (latexParagraphs): handle the leftindent as environment.
8909
8910         * ParameterStruct.h: added leftindent support.
8911
8912         * ParagraphParameters.C (leftIndent): added support functions for
8913         the paragraph left indent.
8914
8915         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8916         more appropriate.
8917
8918 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8919
8920         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8921         inside insetERT.
8922
8923         * text.C (computeBidiTables): No bidi in insetERT.
8924
8925         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8926         in RTL documents.
8927
8928 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8929
8930         * version.C.in: pre 5
8931
8932 2002-05-02  José Matos  <jamatos@fep.up.pt>
8933         * buffer.C (makeDocBookFile): white space changes, add newline to
8934         command styles.
8935         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8936
8937         * tabular.C (docBook): fix typo.
8938
8939 2002-05-03  Juergen Vigna  <jug@sad.it>
8940
8941         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8942         change in LyXText as we can not be sure it was not freed.
8943         (drawOneRow): remove unused code.
8944
8945         * text.C (drawInset): redo the calculation of the need_break_row as
8946         it could have a row which was already freed.
8947         (draw): look at the return value of drawInset and return false if
8948         it also returned false.
8949         (paintRowText): look at the return value of draw and return false if
8950         it also returned false.
8951
8952         * lyxtext.h: added bool return type to drawInset() and draw() so that
8953         if we have a change in the row so that the rowbreak has to be redone
8954         we abort drawing as it will be called again.
8955
8956 2002-05-02  Juergen Vigna  <jug@sad.it>
8957
8958         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8959         a change in the maintext also if we're inside an inset.
8960         (Dispatch): set the cursor again after a break line and after the
8961         screen has been updated as it could be we're in a different row.
8962
8963         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8964         to set the cursor behind the pargraph with > size().
8965         (setCursor): check also for the same paragraph when checking where
8966         to put the cursor if we have a NFR inset.
8967
8968         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8969         parts of layout read further up as it still was in the wrong
8970         position.
8971
8972 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * screen.C (drawFromTo): change sine fullRebreak always return
8975         true.
8976
8977         * buffer.C (parseSingleLyXformat2Token): reindent some
8978
8979         * BufferView_pimpl.C (update): change since fullRebreak always
8980         return true.
8981         (Dispatch): git rid of the last hardcoded "Standard"s.
8982
8983 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8984
8985         * text2.[Ch] (fullRebreak): make it return void now that we always
8986         returned true.
8987
8988 2002-04-30  Juergen Vigna  <jug@sad.it>
8989
8990         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8991         ert compatibility check for "latex" layout.
8992
8993 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8994
8995         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8996         minipages: use col% instead of p%, and also use the current font.
8997         (makeLaTeXFile): Fix use babel condition.
8998         (parseSingleLyXformat2Token): Correct font when reading old floats.
8999
9000 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9001
9002         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9003         inserting list of floats.
9004
9005 2002-04-25  Herbert Voss  <voss@lyx.org>
9006
9007         * MenuBackend.C (expand): don't add the graphics extensions to the
9008         export menu
9009
9010 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9013         non-existing layout, do not complain if it was the default layout
9014         of the original class (bug #342)
9015
9016 2002-04-24  Juergen Vigna  <jug@sad.it>
9017
9018         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9019         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9020
9021 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9022
9023         * buffer.C (getBibkeyList): If using \bibliography, return the
9024         option field with the reference itself. Enables us to provide natbib
9025         support when using \bibliography.
9026
9027 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9028
9029         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9030
9031         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9032         natbib is provided by the LaTeX class.
9033
9034 2002-04-23  Juergen Vigna  <jug@sad.it>
9035
9036         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9037         Wakeup functions.
9038
9039         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9040
9041 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9044
9045         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9046         ensuremath around textordmasculine, textordfeminine and
9047         textdegree.
9048
9049 2002-04-19  Juergen Vigna  <jug@sad.it>
9050
9051         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9052         reinitializing the buffer otherwise row-dimensions may be wrong.
9053         (update): reset also the selection cursors if they do exits otherwise
9054         their x/y positions may be wrong.
9055
9056         * text2.C (cursorDown): don't enter the inset if we came from a row
9057         above and are one row over the inset.
9058
9059         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9060         really leaving an inset.
9061
9062 2002-04-18  Juergen Vigna  <jug@sad.it>
9063
9064         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9065         of the selected paragraph does not have the selected layout also if
9066         the last one had!
9067
9068         * text2.C (setLayout): fixed bug which did not change last selected
9069         paragraph.
9070
9071         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9072         changed the read and substituted \\end_float with \\end_inset!
9073
9074         * BufferView_pimpl.C (cursorPrevious):
9075         (cursorNext): fixed to make it work with rows heigher than the work
9076         area without moving the cursor only the draw of the row.
9077         (workAreaMotionNotify): fix jumping over high rows.
9078
9079 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9080
9081         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9082         Ressler.
9083
9084 2002-04-16  Juergen Vigna  <jug@sad.it>
9085
9086         * text2.C (setCursor): set also the irow().
9087         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9088         (cursorUp):
9089         (cursorDown): support for locking an inset if the x_fix value goes
9090         inside it. That way I can transverse insets too with cursor up/down.
9091
9092         * lyxrow.h: added irow helper function same as other (i) functions.
9093
9094         * BufferView_pimpl.C (cursorPrevious):
9095         (cursorNext): fixed for insets!
9096
9097 2002-04-15  Juergen Vigna  <jug@sad.it>
9098
9099         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9100         position otherwise it is wrong in some cases.
9101
9102         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9103         inside the inset before the call.
9104
9105 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9106
9107         * buffer.[Ch] (getBibkeyList): make it const.
9108
9109 2002-04-12  Juergen Vigna  <jug@sad.it>
9110
9111         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9112
9113         * text2.C (getCursorX): new helper function
9114         (setCursor): compute also ix_
9115         (setCursorFromCoordinates): set also ix.
9116
9117         * lyxcursor.h: added ix_ and helper functions.
9118
9119         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9120
9121         * buffer.C (insertStringAsLines): dont break paragraph if the this
9122         paragraph is inside an inset which does not permit it!
9123
9124         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9125         also with no chars on this paragraph.
9126         (paintRowText): only paint stuff if it's inside the workarea!
9127
9128         * paragraph.C (breakParagraph): honor keepempty flag and break the
9129         paragraph always below not above.
9130
9131         * BufferView2.C (unlockInset): update the paragraph layout on inset
9132         unlock as we changed paragraph in such a case.
9133
9134         * lyxfind.C (LyXFind): clear the former selection if not found!
9135
9136         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9137         again called in insertChar().
9138
9139         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9140         an inset which uses the whole row!
9141         (rightMargin): ditto.
9142         (insertChar): force a rebreak if we inserted an inset!
9143
9144 2002-03-28  Herbert Voss  <voss@lyx.org>
9145
9146         * lyxlength.[Ch]: add inBP() to get the right PS-point
9147         units (BigPoint). With inPixels we have rounding errors
9148
9149 2002-04-11  Juergen Vigna  <jug@sad.it>
9150
9151         * text2.C (setCursorFromCoordinates): set iy to the right value.
9152         (setCursor): add check if row->previous exists!
9153
9154         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9155         an old float_type as this was the case in the old code!
9156
9157         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9158
9159         * BufferView2.C (showLockedInsetCursor): use iy
9160         (fitLockedInsetCursor): ditto
9161
9162         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9163         locked insets as there we have the right value now.
9164
9165         * lyxcursor.C: added iy_ variable and iy functions to set to the
9166         baseline of cursor-y of the locked inset.
9167
9168         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9169         (setCursor): fixed for insets which need a full row.
9170
9171         * text.C (rowLastPrintable): don't ignore the last space when before
9172         an inset which needs a full row.
9173         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9174         as last character of a row when before a inset which needs a full row.
9175
9176 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9177
9178         * version.C.in: update date
9179
9180         * text2.C (fullRebreak): try to always return true and see what
9181         happens...
9182
9183 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9184
9185         * MenuBackend.C (expand): use Floating::listName
9186
9187         * FloatList.C (FloatList): add listName argument to the built-in
9188         floats
9189
9190         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9191         text associated with the float.
9192
9193 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9196
9197 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9198
9199         * ShareContainer.h: add a couple of missing typenames.
9200
9201 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9202
9203         * lyxrc.C (getDescription): use _() correctly rather than N_().
9204
9205 2002-03-28  Herbert Voss  <voss@lyx.org>
9206
9207         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9208         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9209
9210 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9211
9212         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9213         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9214
9215 2002-03-29  Juergen Vigna  <jug@sad.it>
9216
9217         * lyxfunc.C (dispatch): add a missing fitCursor call.
9218
9219         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9220         it was scrolled by a cursor move, so return the bool status.
9221
9222         * BufferView.C (fitCursor): return the bool flag also to the outside
9223         world as this is needed.
9224
9225         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9226
9227         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9228         call the edit() as it is not needed (and wrong) IMO.
9229         (workAreaButtonPress): set the screen_first variable before evt.
9230         unlock the inset as this may change screen_first and then we have
9231         a wrong y position for the click!
9232
9233 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * MenuBackend.C (expand): another translation that I missed
9236
9237 2002-03-28  Juergen Vigna  <jug@sad.it>
9238
9239         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9240
9241         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9242
9243 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9246
9247         * MenuBackend.C (expand): fix export/view/update when there is no
9248         document open.
9249
9250 2002-03-27  Herbert Voss  <voss@lyx.org>
9251
9252         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9253         and text%
9254
9255 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9256
9257         * bufferview_funcs.C (currentState): only show paragraph number
9258         for is DEVEL_VERSION is set.
9259
9260         * lyxfunc.C (dispatch): put warning in INFO channel
9261
9262         * MenuBackend.C (expand): translate the name of floats
9263
9264         * FloatList.C (FloatList): mark the float names for translation
9265
9266         * converter.C (convert): use LibScriptSearch
9267
9268 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9269
9270         * MenuBackend.C (defaults): fix default menu (we might as well get
9271         rid of it...)
9272
9273 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9276         directory.
9277
9278 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9279
9280         * lyxvc.C: reorder includes.
9281
9282 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9283
9284         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9285           properly
9286
9287 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * CutAndPaste.C: change layouts earlier on paste
9290           to avoid crashing when calling getFont()
9291
9292 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9295         irritating #error.
9296
9297 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9298
9299         * WorkArea.C: remove 'Pending' debug message.
9300
9301         * most files: ws cleanup
9302
9303         * buffer.[Ch]: ws changes
9304
9305         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9306
9307 2002-03-21  Juergen Vigna  <jug@sad.it>
9308
9309         * tabular.C (SetMultiColumn): collapse also the contents of the
9310         cells and set the last border right. Added a Buffer const * param.
9311
9312 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9315         linking or not.
9316
9317 2002-03-19  Juergen Vigna  <jug@sad.it>
9318
9319         * text2.C (clearSelection): reset also xsel_cache.
9320
9321         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9322         where it needs to be called (John tells us to do so too :)
9323         (selectionLost): reset sel_cache.
9324
9325         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9326
9327 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * text2.C (setCursorIntern): put debuging code in INSETS channel
9330
9331 2002-03-19  André Pönitz <poenitz@gmx.net>
9332
9333         * lyxfunc.C: tiny whitespace change
9334
9335 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * ToolbarDefaults.C (init):
9338         * LyXAction.C (init):
9339         * commandtags.h:
9340         * BufferView_pimpl.C (Dispatch):
9341         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9342
9343 2002-03-19  Allan Rae  <rae@lyx.org>
9344
9345         * exporter.C (Export): removeAutoInsets before doing anything else.
9346         While I've just introduced a dependency on BufferView this really is
9347         the best place to clean the buffer otherwise you need to cleanup in
9348         a dozen places before calling export or cleanup in a dozen functions
9349         that export calls.
9350
9351         * converter.C (runLaTeX):
9352         (scanLog): Better handling of removeAutoInsets and screen updates.
9353
9354         * lyxfunc.C (dispatch): small whitespace changes
9355
9356 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9357
9358         * WorkArea.C (C_WorkAreaEvent): return a value.
9359         (event_cb): return 1 if we handled the event, 0 otherwise.
9360
9361         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9362
9363 2002-03-18  Juergen Vigna  <jug@sad.it>
9364
9365         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9366         (GetAdditionalWidth): ditto.
9367         (RightLine): ditto.
9368         (LeftLine): ditto.
9369
9370         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9371         inset if we're there actually (probably not used right now but this
9372         is the direction to go for unifying code).
9373         (paste): disable code to clear the selection.
9374
9375         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9376         inside an InsetText and move the check further up as it is in the
9377         wrong place.
9378
9379         * text2.C (pasteSelection): set a selection over the pasted text.
9380
9381 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9382
9383         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9384         and libgraphics to build on Cygwin.
9385
9386 2002-03-15  Juergen Vigna  <jug@sad.it>
9387
9388         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9389         inserting an Inset into the paragraph. I know this is not the best
9390         fix but we already use current_view in CutAndPaste so we will remove
9391         all of it's using at the same time.
9392
9393         * buffer.C (sgmlError): deactivated function till it is rewritten in
9394         the right mode, now it can create problems.
9395
9396         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9397         before accessing it.
9398
9399 2002-03-14  Juergen Vigna  <jug@sad.it>
9400
9401         * undo_funcs.C (textHandleUndo): do the right thing when updating
9402         the inset after the undo/redo.
9403
9404         * text2.C (setCursor): just some testcode for #44 not ready yet.
9405
9406         * undo_funcs.C (textHandleUndo): set the next() and previous()
9407         pointers of the paragraph to 0 before deleting otherwise we have
9408         problems with the Paragraph::[destructor].
9409
9410         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9411         on a paragraph insertion.
9412
9413 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * buffer.C (asciiParagraph): use += operator for char append to
9416         string.
9417
9418         * paragraph.C (getFontSettings): compare >= not just >
9419         (highestFontInRange): ditto
9420         (setFont): ditto
9421
9422 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9423
9424         * paragraph.C: change several algorithm to be more appripriate for
9425         the problem domain. This is lookip in FontList and in the InsetList.
9426
9427 2002-03-13  André Pönitz <poenitz@gmx.net>
9428
9429         * commandtags.h:
9430         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9431
9432 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * commandtags.h:
9435         * LyXAction.C:
9436         * lyxfunc.C:
9437         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9438
9439 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * Painter.C (display): anon helper function, adjust code for this
9442         change.
9443         (pixmap): remove function.
9444
9445         * Painter.h: remove private display variable.
9446
9447         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9448
9449 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9450
9451         * WorkArea.[Ch]: remove figinset_canvas cruft.
9452
9453 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9454
9455         * lyxtextclass.C (operator): add one item cache optimization.
9456
9457         * bufferlist.h: doxy changes
9458
9459         * bufferlist.C: ws changes
9460
9461         * DepTable.[Ch] (ext_exist): place const in the right spot.
9462
9463         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9464         call resizeInsets.
9465         (workAreaExpose): call resizeInsets when the with BufferView changes.
9466         (Dispatch): adjust for protectedBlank removal
9467         (specialChar): call updateInset if the insert went ok.
9468
9469         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9470         specialChar instead.
9471
9472         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9473
9474         * BufferView.h: doxy change
9475
9476         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9477
9478         * lyxtextclass.C (operator[]): remove non-const version
9479         (defaultLayout): remove non-const version
9480
9481 2002-03-12  Juergen Vigna  <jug@sad.it>
9482
9483         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9484         did resize the LyXText too.
9485
9486         * buffer.C (readLyXformat2): set layout information on newly allocated
9487         paragraphs.
9488
9489         * tabular.C (OldFormatRead): set layout information on the paragraph.
9490
9491 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9492
9493         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9494
9495 2002-03-11  Juergen Vigna  <jug@sad.it>
9496
9497         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9498         plainly wrong.
9499         (resizeCurrentBuffer): force also the insets to resize themselfes.
9500         (moveCursorUpdate): fixed up for InsetText.
9501
9502 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9503
9504         * commandtags.h:
9505         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9506         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9507         value of Dialogs::tooltipsEnabled().
9508         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9509
9510 2002-03-08  Juergen Vigna  <jug@sad.it>
9511
9512         * BufferView_pimpl.C (updateInset): update inset inside inset also
9513         if it isn't inside theLockingInset().
9514
9515 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9516
9517         * buffer.C (asciiParagraph): redo some of the word and line length
9518         handling.
9519         (getLists): look for Caption instead of caption.
9520
9521 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9522
9523         * buffer.C (Buffer): initialize niceFile to true
9524         (makeLaTeXFile):
9525         (makeLinuxDocFile):
9526         (makeDocBookFile): make sure niceFile is true on exit
9527
9528 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9531
9532 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9533
9534         * LyXSendto.C: remove.
9535         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9536         * lyx_gui.C: remove now-redundant comment.
9537         * ColorHandler.h: remove forward declaration of class WorkArea.
9538         * lyxfunc.C: remove #include "WorkArea.h".
9539
9540 2002-03-07  Juergen Vigna  <jug@sad.it>
9541
9542         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9543         got moved away with the DEPM and also set the inset_owner always
9544         right which before could have been omitted.
9545
9546 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9547
9548         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9549         wanted layout is not found.
9550
9551 2002-03-07  Juergen Vigna  <jug@sad.it>
9552
9553         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9554
9555 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9556
9557         * paragraph.C (breakParagraph): use default layout not layout of
9558         prev paragraph.
9559         (Paragraph): clear ParagraphParameters.
9560
9561 2002-03-06  Juergen Vigna  <jug@sad.it>
9562
9563         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9564         otherwise it would not be a valid lenght. Fixed a special case in
9565         the minipage compatibility read where we end the document with a
9566         minipage.
9567
9568         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9569         was set as it could be 0 for InsetTexts first entry.
9570
9571 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * paragraph.C (writeFile): if layout is empty write out
9574         defaultLayoutName().
9575
9576         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9577         file without named layout we set layout to defaultLayoutName().
9578
9579 2002-03-06  Juergen Vigna  <jug@sad.it>
9580
9581         * CutAndPaste.C (copySelection): set layout for new paragraph.
9582
9583         * text.C (prepareToPrint): leave ERT inset left aligned
9584         (leftMargin): don't indent paragraphs inside ERT insets
9585
9586 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9587
9588         * paragraph.C (breakParagraph): dont call clear do the work manually
9589
9590         * paragraph.[Ch] (clear): remove function
9591
9592 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9593
9594         * paragraph.C (Paragraph): dont call clear, the work has already
9595         been done.
9596
9597         * lyxtextclass.C (operator): assert if n is empty
9598
9599         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9600         work manually instead.
9601
9602 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * BufferView_pimpl.C: protect selectionLost against text == 0
9605
9606 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * text.C (breakParagraph): fix a setting layout to '0' problem.
9609
9610 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9611
9612         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9613         final location of file, for the included files, and graphics.
9614
9615 2002-03-05  Juergen Vigna  <jug@sad.it>
9616
9617         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9618
9619 2002-03-04  Juergen Vigna  <jug@sad.it>
9620
9621         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9622
9623         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9624         last column of multicolumn cells.
9625         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9626
9627 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9628
9629         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9630         file if it doesn't go to a temporary file.
9631
9632         * buffer.C (sgmlOpenTag):
9633         (sgmlCloseTag):  remove extra newline insertion.
9634
9635 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9636
9637         * text.C (getRowNearY): comment out debug msg
9638
9639 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9640
9641         * text2.C: first -> first_y
9642
9643         * text.C (getRowNearY): add some attemts at a possible
9644         optimization, not working.
9645
9646         * tabular.[Ch]: add BufferParams to several function so that newly
9647         created paragraph can be initialized to he default layotu for the
9648         buffers textclass.
9649
9650         * tabular-old.C (ReadOld): add buf->params to call of Init
9651
9652         * screen.C: rename text->first to text->first_y
9653
9654         * paragraph.C (breakParagraph): always set layout in the broken
9655         paragraph
9656
9657         * lyxtextclass.C (Read): remove lowercase
9658         (hasLayout): ditto
9659         (operator): ditto
9660         (delete_layout): ditto
9661
9662         * lyxtext.h: rename first -> first_y
9663
9664         * lyxlayout.C (Read): remove lowercase
9665         (name): ditto
9666         (setName): ditto
9667         (obsoleted_by): ditto
9668
9669         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9670
9671         * buffer.C (insertErtContents): add params are to InsetERT
9672         (parseSingleLyXformat2Token): add code to check if a paragraphs
9673         layout really exist.
9674         (parseSingleLyXformat2Token): add params to several inset
9675         constructors
9676         (asciiParagraph): remove lowercase, do the layout comparisons with
9677         no_case
9678
9679         * BufferView_pimpl.C (cursorNext): first -> first_y
9680         (resizeCurrentBuffer): first -> first_y
9681         (updateScrollbar): first -> first_y
9682         (scrollCB): first -> first_y
9683         (workAreaMotionNotify): first -> first_y
9684         (workAreaButtonPress): first -> first_y
9685         (checkInsetHit): first -> first_y
9686         (cursorPrevious): first -> first_y
9687         (cursorNext): first -> first_y
9688         (Dispatch): add buffer_->params to severl inset contructors
9689
9690 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * lyxlayout.C (Read): remove some debug info that I forgot.
9693
9694         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9695         clean up the code slightly.
9696         (makeLinuxDocFile): ditto
9697         (makeDocBookFile): ditto
9698
9699         * text2.C: layout as string
9700
9701         * text.C: layout as string
9702
9703         * paragraph_pimpl.C: layout as string
9704
9705         * paragraph.[Ch]: layout as string
9706
9707         * lyxtextclasslist.[Ch]: layout as string
9708
9709         * lyxtextclass.[Ch]: layout as string
9710
9711         * lyxtext.h: layout as string
9712
9713         * lyxlayout.[Ch]: layout as string
9714
9715         * lyx_cb.C: layout as string
9716
9717         * bufferview_funcs.C: layout as string
9718
9719         * bufferparams.C: layout as string
9720
9721         * buffer.C: layout as string
9722
9723         * LyXView.[Ch]: layout as string
9724
9725         * LaTeXFeatures.[Ch]: layout as string
9726
9727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9728
9729         * BufferView_pimpl.C: change current_layout to string, remove
9730         lyx::layout_type.
9731         (Dispatch):
9732         (smartQuote):
9733         (insertInset):
9734         (workAreaButtonRelease): layout as string
9735
9736         * BufferView2.C (unlockInset): adjust
9737
9738         * vspace.C (asLatexCommand): use an explict temp variable.
9739
9740 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * Makefile.am: use FRONTEND_*
9743
9744 2002-03-01  Juergen Vigna  <jug@sad.it>
9745
9746         * tabular.C (SetWidthOfMulticolCell): changed to something better
9747         I hope but still work in progress.
9748         (recalculateMulticolumnsOfColumn): renamed function from
9749         recalculateMulticolCells as it is more appropriate now.
9750         (SetWidthOfCell): calculate multicols better.
9751
9752 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9755
9756         * lyxfunc.C (processKeySym): print sequence also if it is
9757         `deleted' (complete)
9758
9759         * kbsequence.C (print): print sequence even if it is deleted
9760         (complete would be a better word, actually).
9761
9762         * lyxfunc.C (dispatch): print complete options after a prefix key
9763
9764         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9765
9766 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9767
9768         * text2.C (setCharFont): eliminate setCharFont code duplication.
9769
9770 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9771
9772         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9773         LFUN_TABULAR_FEATURE (bug #177)
9774
9775 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9776
9777         * Makefile.am: remove figure.h
9778
9779 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9780
9781         * Bufferview_pimpl.C:
9782         * CutAndPasteC:
9783         * LaTeX.C:
9784         * LyXSendto.C:
9785         * buffer.C:
9786         * bufferlist.C:
9787         * converter.C:
9788         * language.C:
9789         * lyxfunc.C:
9790         * lyxvc.C:
9791         * paragraph.C:
9792         * text.C:
9793         * text2.C: remove #include "lyx_gui_misc.h".
9794
9795         * LaTeX.C: added #include <cstdio>
9796
9797 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9800         that the paragraph following this one can have.
9801
9802         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9803
9804         * vspace.C (asLatexCommand): fix bogus gcc warning
9805
9806         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9807
9808 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9809
9810         * text2.C (setLayout): get rid of redundant code
9811
9812 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9813
9814         * text2.C (incDepth): make sure depth cannot be increased beyond
9815         reasonable values.
9816
9817 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9820         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9821
9822         * PainterBase.h (image):
9823         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9824         a LyXImage const *.
9825
9826 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * BufferView.C:
9829         * BufferView.h:
9830         * BufferView_pimpl.C:
9831         * BufferView_pimpl.h:
9832         * LaTeXFeatures.C:
9833         * LyXAction.C:
9834         * LyXView.C:
9835         * Makefile.am:
9836         * UpdateList.h:
9837         * UpdateList.C:
9838         * buffer.C:
9839         * figure.h:
9840         * figureForm.C:
9841         * figureForm.h:
9842         * figure_form.C:
9843         * figure_form.h:
9844         * lyx_cb.C:
9845         * lyx_gui.C:
9846         * lyx_gui_misc.C:
9847         * lyxfunc.C:
9848         * sp_base.h:
9849         * sp_ispell.h:
9850         * sp_pspell.h:
9851         * sp_spell.C: remove fig inset, and the crap house of
9852           cards that follows it
9853
9854 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * Makefile.am:
9857         * lyxserver.C:
9858         * os2_defines.h:
9859         * os2_errortable.h:
9860         * nt_defines.h: move .h into support/
9861
9862         * vms_defines.h: remove
9863
9864         * WorkArea.C: add space in debug output
9865
9866         * text2.C:
9867         * paragraph.C:
9868         * buffer.C: add WITH_WARNINGS
9869
9870         * vc-backend.h:
9871         * vc-backend.C:
9872         * bufferlist.C: s/retrive/retrieve/, add docs
9873
9874         * vspace.h:
9875         * vspace.C:
9876         * kbmap.h:
9877         * lyxlength.h:
9878         * lyxgluelength.h:
9879         * length_common.h:
9880         * chset.h:
9881         * chset.C: add docs
9882
9883         * lyxgui.C: add ID to X error handler
9884
9885         * lyxtestclass.c: fix typo
9886
9887 2002-02-26  Juergen Vigna  <jug@sad.it>
9888
9889         * tabular_funcs.C (write_attribute): changed so that some default
9890         attributes are not written at all.
9891         (getTokenValue): set default values before trying to read the
9892         value so we have the return value always set as default if we don't
9893         find the token we search for.
9894
9895         * tabular.C (Write): write bools as bools not as strings!
9896
9897 2002-02-22  Juergen Vigna  <jug@sad.it>
9898
9899         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9900         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9901
9902         * text.C (leftMargin): don't add an indent for paragraphs inside
9903         tabular cells (fix #208).
9904
9905 2002-02-21  José Matos  <jamatos@fep.up.pt>
9906
9907         * tabular.C (docBook): fixed support for long tables.
9908
9909 2002-02-20  Juergen Vigna  <jug@sad.it>
9910
9911         * text2.C (getFont): get the drawing font of the Inset if this
9912         paragraph is inside an inset (only important for InsetERT for now).
9913
9914         * buffer.C (insertErtContents): use new lanugage params in ERT
9915         constructor.
9916
9917         * CutAndPaste.C: commenting out seemingly uneeded code.
9918
9919 2002-02-19  Allan Rae  <rae@lyx.org>
9920
9921         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9922         Iterators might be simple to use but they also get invalidated.
9923         (removeAutoInsets): renamed saved cursor tracking variables and added
9924         some comments to clarify what everything does.
9925
9926 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9927
9928         * Chktex.C:
9929         * LaTeX.C:
9930         * LyXSendto.C:
9931         * converter.C:
9932         * lyx_cb.C:
9933         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9934         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9935
9936         * lyxfunc.C:
9937         * vc-backend.h: remove #include "support/syscall.h"
9938
9939         * LaTeX.C:
9940         * LyXSendto.C:
9941         * converter.C: rearrange #includes in Lars' approved fashion.
9942
9943         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9944         forward declare class Timeout in the header file.
9945
9946         * XFormsView.C: changes due to the above.
9947
9948         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9949         similar to LyXView.
9950
9951         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9952         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9953
9954 2002-02-18  José Matos  <jamatos@fep.up.pt>
9955
9956         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9957         insets contents.
9958
9959 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9960
9961         * a lot of small ws changes
9962         * add a lot of using std::XXX
9963         * use std construcs some places where approp.
9964         * use some exisint stuff from lyxfunctional where approp.
9965         * Make file changes to use partial linking (lets test this now...)
9966
9967 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9968
9969         * Chktex.C:
9970         * buffer.C:
9971         remove #include "support/syscontr.h" as it's redundant. Always has been.
9972
9973         * Chktex.C:
9974         * LaTeX.C:
9975         * LyXSendto.C:
9976         * converter.C:
9977         * lyx_cb.C:
9978         * vc-backend.C:
9979         change Systemcalls::System to Systemcalls::Wait and
9980         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9981         No change of functionality, just reflects the stripped down Systemcalls
9982         class.
9983
9984 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9985
9986         * debug.[Ch]: add a GRAPHICS type to the enum.
9987
9988 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9989
9990         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9991
9992         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9993         there is an inset.
9994
9995 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9998         match the changes below.
9999
10000         * text2.C (toggleInset): if there is not editable inset at cursor
10001         position, try to see if cursor is _inside_ a collapsable inset
10002         and close it.
10003
10004 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10007         document menu has a nice checkbox
10008
10009 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * lyxlength.C (asLatexString): change PW to output as percent of
10012         \textwidth.
10013
10014         * lengthcommon.C: change '%' to 't%'
10015
10016         * lyxfunc.C (dispatch): a few comments from Martin
10017
10018 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * WorkArea.h:
10021         * WorkArea.C:
10022         * BufferView_pimpl.h:
10023         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10024           the X selection.
10025
10026 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * vspace.C (inPixels): fix compiler warning
10029
10030 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10031
10032         * lyxfunc.C (getStatus): fix status message for disabled commands.
10033
10034 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * BufferView_pimpl.C: fix crash on close buffer
10037         during selection (#227)
10038
10039 2002-01-27  Herbert Voss  <voss@lyx.org>
10040
10041         * buffer.C: link old Figure to new graphic inset
10042
10043 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10044
10045         * FontLoader.C (getFontinfo): Change the latex font names in order
10046         to match the names of type1inst.
10047
10048 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10049
10050         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10051
10052         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10053         (extchanged): ditto
10054         (ext_exist): ditto
10055         (remove_files_with_extension): ditto
10056         (remove_file): ditto
10057         (write): ditto
10058
10059         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10060         document is smaller than the work area height. Do not initialize
10061         static variables to 0.
10062
10063 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10064
10065         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10066
10067         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10068         LFUN_LAYOUT_PARAGRAPHS.
10069
10070         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10071         tabular. It is possible to provide a possible cell, which will
10072         typically be the actcell from the corresponding insettabular
10073
10074         * lyxfunc.C (getStatus): small cleanup; disable
10075         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10076         true
10077
10078 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10081
10082         * paragraph.C (startTeXParParams):
10083         (endTeXParParams): new methods. The LaTeX code to
10084         start/end paragraph formatting
10085         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10086         empty (fixes bug #200)
10087
10088         * vspace.C (inPixels): adapt to the change below
10089         (inPixels): [later] more cleanups (remove unused variables)
10090
10091         * lyxlength.C (inPixels): change to use a width and a height as
10092         parameter.
10093
10094 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10097         Replaced with \paperwidth
10098
10099         * DepTable.C (insert): add std:: qualifier
10100
10101 2002-01-18  Allan Rae  <rae@lyx.org>
10102
10103         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10104         updated also?
10105
10106         * text.C (drawInset): Turned out I didn't know enough about how
10107         rebreaking worked.  This fixes most of the redraw problems.  I see
10108         an occasional cursor trail when a line is broken now and the cursor
10109         placement can seem out by a few pixels also after a rebreak.
10110
10111 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * buffer.C (parseSingleLyXformat2Token): update because minipage
10114         width is now a LyXLength
10115
10116         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10117
10118         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10119         math insets
10120
10121 2002-01-17  Juergen Vigna  <jug@sad.it>
10122
10123         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10124
10125         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10126         is set correctly and the inset is updated correctly.
10127
10128 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10131         the beginning of the loop.
10132
10133 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * lyxrc.C: improve help for use_scalable_fonts
10136
10137 2002-01-17  Allan Rae  <rae@lyx.org>
10138
10139         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10140
10141 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10142
10143         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10144         make sure to set their inset_owner to the right value (bug #171)
10145
10146 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10147
10148         * DepTable.h
10149         * DepTable.C: Implement mtime checking to reduce time spent doing
10150         CRCs.
10151
10152 2002-01-16  Juergen Vigna  <jug@sad.it>
10153
10154         * tabular.C (GetAdditionalHeight): one of error fixed.
10155
10156         * lyxrc.C (output): small fix in writing use_pspell.
10157
10158 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10159
10160         * sp_base.h: #include LString.h
10161
10162 2002-01-16  Allan Rae  <rae@lyx.org>
10163
10164         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10165         Can someone check this please?
10166
10167         * text.C (drawInset): It was possible that p.row would be removed by
10168         breakAgainOneRow upsetting a few other settings.  There may be another
10169         small tweak possible by setting need_break_row = 0 when p.row has been
10170         removed but I don't know enough about the logic here.
10171
10172 2002-01-15  Allan Rae  <rae@lyx.org>
10173
10174         * text.C (insertChar): removed conditional truism.
10175
10176         * BufferView2.C (removeAutoInsets): More tweaks.
10177         cur_par_prev could be a stray pointer.  Check for trailing empty line
10178         in case last line was cur_par and only had an error inset on it.
10179
10180 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10181
10182         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10183         absolute
10184
10185         * vc-backend.C (most methods):
10186         * exporter.C (Export):
10187         * converter.C (convert):
10188         (runLaTeX):
10189         * LyXSendto.C (SendtoApplyCB):
10190         * lyxfunc.C (dispatch):
10191         (menuNew):
10192         (open):
10193         (doImport):
10194         * lyx_cb.C (AutoSave):
10195         (InsertAsciiFile):
10196         * BufferView_pimpl.C (MenuInsertLyXFile):
10197         * buffer.C (runChktex): use Buffer::filePath().
10198
10199         * buffer.h: rename filename to filename_; rename filepath to
10200         filepath_ and make it private
10201         (filePath): new method
10202
10203         * buffer.C (writeFile): use fileName()
10204         (getLatexName):
10205
10206         * lyx_main.C (init): fix starting  of LyX when the binary is a
10207         link from so,ewhere else.
10208
10209         * minibuffer.C: include <cctype> for isprint
10210
10211 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10212
10213         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10214         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10215         name clash with InsetCollapsable's width function.
10216
10217 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * lastfiles.C: include <iterator>
10220
10221 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10222
10223         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10224         std::count.
10225
10226         * buffer.C (makeLaTeXFile): ditto.
10227         Also make loop operation more transparent.
10228
10229 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10230
10231         * ToolbarDefaults.C: remove trailing comma closing namespace.
10232
10233         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10234
10235         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10236         as in WorkArea.
10237
10238         * trans.C (Load): comment out unused variable, allowed.
10239
10240 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10241
10242         * minibuffer.[Ch] (append_char): new method to recieve input from the
10243         drop-down completion browser. If a key was pressed, then recieve this
10244         char and append it to the existing string.
10245         (peek_event): modify the positioning data passed to the completion
10246         browser so that it can be placed above the minibuffer rather than below.
10247 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * LyXAction.C (init): alloe error-next for readonly documents.
10250
10251         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10252         count.
10253
10254 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10255
10256         * bufferlist.C (readFile): create the buffer _after_ checking that
10257         the file exists.
10258
10259         * lyxfunc.C (verboseDispatch): fix handling of arguments
10260
10261         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10262
10263         * lyxrc.C: use string::erase() instead of initializing to "".
10264
10265
10266 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * BufferView_pimpl.h:
10269         * BufferView_pimpl.C:
10270         * WorkArea.h:
10271         * WorkArea.C:
10272         * text2.C: tell X when we have made a selection for copying
10273
10274 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10275
10276         * BufferView_pimpl.C (MenuInsertLyXFile):
10277         * lyxfunc.C (menuNew):
10278         (open):
10279         (doImport): add shortcuts to directory buttons
10280
10281         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10282         open a float)
10283
10284         * lyxfunc.C (setStatusMessage):
10285         (getStatusMessage): new methods
10286         (getStatus):use setStatusMessage instead of setErrorMessage
10287         (dispatch): when function is disabled, set error message here
10288         [instead of in getStatus previously]
10289
10290         * BufferView_pimpl.C (workAreaButtonRelease): update
10291         toolbar/menubar here too.
10292
10293 2002-01-13  Allan Rae  <rae@lyx.org>
10294
10295         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10296         Now seems indestructible.  Remaining task is to audit all other
10297         code affected by deleteEmptyParagraphMechanism.  One small quirk
10298         left is that an empty document with an error in the preamble can
10299         be made to report an error but no error box appears.  I don't know
10300         where it goes.
10301         (removeAutoInsets): Improved comments.
10302
10303 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * Thesaurus.h:
10306         * Thesaurus.C: update for Aiksaurus 0.14
10307
10308 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10309
10310         * text2.C (firstParagraph): removed member function, all uses
10311         replaces with ownerParagraph
10312         (redoParagraphs): here
10313         (updateInset): here
10314         (toggleAppendix): here
10315         * BufferView2.C (insertErrors): here
10316         (setCursorFromRow): here
10317
10318 2002-01-13  Allan Rae  <rae@lyx.org>
10319
10320         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10321         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10322         There is still a way to segfault this although you may have to do this
10323         multiple times: Have an InsetERT with an unknown command in it.
10324         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10325         <down-arrow>, <Enter> again, View->DVI, BANG!
10326
10327         * text2.C (setCursor):
10328         (deleteEmptyParagraphMechanism):
10329         * lyxtext.h (setCursor):
10330         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10331         Making use of the return value may help fix other bugs.
10332
10333 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10334
10335         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10336
10337         * LyXView.C (updateMenubar): call MenuBar::update here
10338         (updateToolbar): but not here
10339         (showState): do not update toolbar/menubar
10340
10341         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10342         should need to care about that.
10343
10344         * lyxfunc.C (verboseDispatch): simplify a bit
10345         (getStatus): have a version which takes a pseudoaction, and
10346         another which requires a (kb_action,string).
10347
10348         * LyXAction.C (retrieveActionArg): make it work also when action
10349         is not a pseudo-action.
10350         (getActionName): simplify a bit
10351         (helpText):
10352
10353 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * lyxfunc.C (verboseDispatch): new families of methods with
10356         several ways to specify a command and a bool to indicate whether
10357         the command name and shortcut should be displayed in minibuffer
10358         (eventually, we could extend that to a finer bitmask like
10359         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10360         (dispatch): the pristine dispatch command which just, well,
10361         dispatchs! Note it still sets its result to minibuffer; I'm not
10362         sure we want that.
10363
10364         * lyxfunc.h: remove setHintMessage
10365
10366         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10367
10368 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * BufferView_pimpl.C (specialChar): delete new inset if we have
10371         not been able to insert it.
10372
10373         * kbmap.C: revert to using int instead of kb_action, since all we
10374         are dealing with is pseudo-actions.
10375
10376         * LyXAction.C (searchActionArg): change to return int instead of
10377         kb_action, since the result is a pseudoaction.
10378
10379 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10380
10381         * buffer.C (insertErtContents): Fix (partially) the font bug.
10382
10383 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10384
10385         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10386         as the other one is broken on my machine!
10387
10388 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10389
10390         * commandtags.h:
10391         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10392
10393 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10394
10395         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10396         reflect their actual use. Provide compatibility code for older lyxrc
10397         files.
10398
10399         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10400         FL_NORMAL_STYLE.
10401         change names of popup font variables in line with the changes to lyxrc.C
10402
10403 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10404
10405         * buffer.C (asciiParagraph): avoid outputing a word twice after
10406         an inset.
10407
10408         * lyxrc.C (getDescription): document that document_path and
10409         template_path can be empty.
10410
10411 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * LaTeXFeatures.C (getMacros):
10414         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10415
10416         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10417
10418         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10419         getPackages.
10420         (getPackages): rename feature "floats" to "float". Use an array to
10421         iterate over 'simple' features (i.e. just a \usepackage). Add
10422         handling of "amsmath" (renamed from "amsstyle").
10423
10424 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10425
10426         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10427         features list.
10428
10429 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10432         FuncStaus::FuncStatus & FuncStaus::some_method().
10433
10434 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10435
10436         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10437         of the func_satus stuff. Edited and massaged in various ways by
10438         JMarc.
10439
10440         * lyxfunc.C (getStatus): use FuncStatus
10441
10442 2002-01-08  Juergen Vigna  <jug@sad.it>
10443
10444         * text.C (nextBreakPoint): use function Inset::isChar().
10445
10446         * paragraph.C (TeXOnePar): use function
10447         Inset::forceDefaultParagraphs.
10448
10449         * buffer.C (latexParagraphs): use function
10450         Inset::forceDefaultParagraphs.
10451
10452 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * lyx_gui.C (init): set the style of the menu popups to
10455         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10456
10457 2002-01-07  Juergen Vigna  <jug@sad.it>
10458
10459         * text.C (setHeightOfRow): small fix
10460         (prepareToPrint): don't look at alignment if we don't have the place
10461         for doing it.
10462
10463 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10464
10465         * box.C: New file. Move the Box methods and functions out of box.h,
10466         following Lars' suggestion.
10467
10468 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10469
10470         * box.h: #include "support/LOstream.h", needed for inlined function.
10471
10472         * lyxtextclass.C:
10473         * lyxtextclasslist.C: added some using std declarations.
10474
10475 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * box.h: make signed dimensions to allow insets wider than
10478           the screen (bug #162)
10479
10480         * BufferView_pimpl.C: add some insetHit debug
10481
10482 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * vc-backend.C: add FIXME
10485
10486 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * lyxfunc.C (getStatus): enable code for showing math font status
10489         in toolbar/menu.
10490
10491 2002-01-07  Juergen Vigna  <jug@sad.it>
10492
10493         * text.C (nextBreakPoint): removed debug output not needed anymore.
10494
10495 2002-01-06  Juergen Vigna  <jug@sad.it>
10496
10497         * text.C (nextBreakPoint): fixed up this function we had this bug
10498         since ever but now hopefully we break row better.
10499         (insertChar): we have to check if an inset is the next char as it
10500         could now happen that a large inset is causing a break.
10501
10502 2002-01-05  Juergen Vigna  <jug@sad.it>
10503
10504         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10505         if it doesn't like to be drawed.
10506
10507 2002-01-04  Juergen Vigna  <jug@sad.it>
10508
10509         * BufferView2.C (lockInset): forgot to set a cursor.
10510
10511         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10512
10513 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10514
10515         * FormMathsPanel.C:
10516         * FormMathsPanel.h
10517         * MathsSymbols.C:
10518         * form_maths_panel.C:
10519         * form_maths_panel.h:
10520         * form_maths_panel.fd: implemented sub- and super- buttons in math
10521         panel.
10522
10523         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10524         (or ^ space) to be used as in TeX (req'd by André).
10525
10526         * lyxfunc.C: Allow ^ and _ again to be used both as
10527         super/subscript (mathed) and as themselves (in text).
10528
10529 2002-01-03  Allan Rae  <rae@lyx.org>
10530
10531         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10532         "LyX" or the filename of the current buffer if it has one.  This is a
10533         modified form of John Levon's patch.
10534
10535         * XFormsView.C (setWindowTitle): also set icon title.
10536
10537         * LyXView.h (setWindowTitle): signature changed.
10538         * XFormsView.h (setWindowTitle): ditto.
10539
10540 2002-01-02  Juergen Vigna  <jug@sad.it>
10541
10542         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10543
10544 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * screen.C (topCursorVisible): introduce a temp var for
10547         text->cursor.row(), handle the case where this row is null. (kindo
10548         hachish)
10549
10550         * text2.C (setCursor): add a couple of asserts.
10551
10552         * paragraph.h (inset_iterator): add -> operator
10553
10554         * paragraph.[Ch] (autoDeleteInsets): remove member function
10555
10556         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10557         cursor pos correctly and handle inset deletion by itself.
10558         (insertErrors): move iterator declaration out of for expression
10559
10560         * lyxtextclass.C: add <algorithm>
10561
10562         * Makefile.am: added the new files to sources, removed layout.C
10563
10564         * layout.C: removed file
10565
10566         * layout.h: remove LYX_DUMMY_LAYOUT
10567
10568         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10569         layout.
10570
10571         * lyxlayout.[Ch]:
10572         * lyxtextclass.[Ch]:
10573         * lyxtextclasslist.[Ch]: new files
10574
10575         * include order changes to a lot of files, also changes because of
10576         the six new files.
10577
10578 2001-12-27  Juergen Vigna  <jug@sad.it>
10579
10580         * buffer.C (asciiParagraph): more fixes.
10581
10582         * tabular.C (ascii): make ascii export support export of only the
10583         data separated by a column-delimiter.
10584         (ascii): better support for ascii export.
10585
10586         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10587
10588 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * tabular_funcs.C: use a "using std::getline" instead of the
10591         previous fix from Angus (necessary for cxx + lyxstring)
10592
10593 2001-12-24  Juergen Vigna  <jug@sad.it>
10594
10595         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10596
10597         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10598         problems. First check a minipage also if we have some ert-contents
10599         (not only on par->size(), second set the right depth of the paragraph
10600         on the relink to the root-paragraph-list!
10601
10602         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10603         which then did not anymore update the main paragraphs on undo/redo!
10604
10605 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10606
10607         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10608         code. Support all font-changing funcs (even those which are not in
10609         menu currently). Support for reporting font settings in
10610         mathed (disabled until Andre provides a function on mathed's side).
10611
10612         * func_status.h (toggle): small helper function to set toggle
10613         state on a flag.
10614
10615 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10616
10617         * tabular_funcs.C: getline -> std::getline
10618
10619 2001-12-21  Juergen Vigna  <jug@sad.it>
10620
10621         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10622         accessed and could be 0 (I couldn't generate this but it seems
10623         Michael could!).
10624
10625 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10628         * tabular_funcs.h: here and include iosfwd
10629
10630 2001-12-20  Juergen Vigna  <jug@sad.it>
10631
10632         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10633         inside inset but undo_par was.
10634
10635 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * Thesaurus.C: always include <config.h> in sources.
10638
10639         * Painter.h:
10640         * lyxlookup.h:
10641         * box.h: do not include <config.h> in header files
10642
10643         * text.C (paintLastRow): remove unused variable
10644
10645         * text.C (transformChar):
10646         (insertChar):
10647         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10648
10649         * Painter.C (text):
10650         * font.C (width): rewrite to use uppercase() instead of
10651         islower/toupper.
10652
10653         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10654
10655 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * lyxfind.C: clean up of find failure position change
10658
10659 2001-12-20  Juergen Vigna  <jug@sad.it>
10660
10661         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10662
10663         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10664         (TeXRow): added to LaTeX a single tabular row.
10665         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10666         (Latex): simplified and finally good LT-h/f support.
10667         (various_functions): just small adaptions for LT-h/f support.
10668
10669         * tabular_funcs.[hC]: added and moved here all not classfunctions
10670         of LyXTabular.
10671
10672 2001-12-19  Juergen Vigna  <jug@sad.it>
10673
10674         * tabular.[Ch]: better support for longtabular options (not finished
10675         yet!)
10676
10677 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10678
10679         * text.C (paintLastRow): use the label font instead of the font of
10680         the last character to compute the size of *_BOX. This makes more
10681         sense and avoids a crash with empty paragraphs.
10682         Use Painter::rectangle to draw EMPTY_BOX.
10683
10684 2001-12-19  Juergen Vigna  <jug@sad.it>
10685
10686         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10687         the paragraphs if the replaced paragraph is not the first one!
10688         Tried to delete not used paragraphs but does not work yet so for
10689         now it's inside #ifdef's and by default off!
10690
10691 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * MenuBackend.C: include "lyx_main.h" instead of declaring
10694         lastfiles (actually was declared as LastFiles* instead of a
10695         scoped_ptr).
10696
10697 2001-12-17  Juergen Vigna  <jug@sad.it>
10698
10699         * tabular.C (AppendColumn): applied John's fix
10700
10701 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * BufferView.h:
10704         * BufferView.C:
10705         * BufferView_pimpl.h:
10706         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10707
10708         * Makefile.am:
10709         * box.h: new start of class for above
10710
10711         * lyxfunc.C: ignore space-only minibuffer dispatches.
10712           Show the command name when it doesn't exist
10713
10714         * minibuffer.C: don't add empty lines to the history
10715
10716         * minibuffer.C: add a space on dropdown completion
10717
10718 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * text.C: fix line above/below drawing in insets
10721
10722 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * lyxlength.C (LyXLength): Initialize private variables.
10725
10726 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10727
10728         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10729         when inserting error insets.
10730
10731 2001-12-13  Juergen Vigna  <jug@sad.it>
10732
10733         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10734         actually sometimes the before-paragraph.
10735         (setUndo): don't clear the redostack if we're not actually undoing!
10736
10737 2001-12-06  Juergen Vigna  <jug@sad.it>
10738
10739         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10740         and fixed redoing of main paragraph, so we can use it now ;)
10741
10742         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10743
10744 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10747         Juergen's request
10748
10749 2001-12-13  André Pönitz <poenitz@gmx.net>
10750
10751         * undostack.[Ch]:
10752         * undo_func.C: minor cleanup
10753
10754 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10757         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10758         font in urw-fonts package which is marked as -urw-fontspecific and
10759         does not work (incidentally, changing the encoding in the
10760         fonts.dir of this package to -adobe-fontspecific fixes the
10761         problem).
10762
10763         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10764         is a crash when undoing first paragraph (Juergen, please take a
10765         look). THis does not mean the undo fix is wrong, just that it
10766         uncovers problems.
10767
10768         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10769         the (Paragraph*) version when needed instead of duplicating the
10770         code.
10771
10772         * text.C (workWidth): use Inset::parOwner to find out where the
10773         inset has been inserted. This is a huge performance gain for large
10774         documents with lots of insets. If Inset::parOwner is not set, fall
10775         back on the brute force method
10776
10777         * paragraph_pimpl.C (insertInset):
10778         * paragraph.C (Paragraph):
10779         (cutIntoMinibuffer): set parOwner of insets when
10780         inserting/removing them
10781
10782         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10783
10784 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10785
10786         * commandtags.h:
10787         * LyXAction.C:
10788         * lyx_main.C:
10789         * lyxfunc.C:
10790         * mathed/formulabase.C:
10791         * mathed/math_cursor.[Ch]:
10792         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10793
10794
10795 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * lyxlength.[Ch] (operator!=): new function
10798
10799 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * text.C (workWidth): use Inset::parOwner to find out where the
10802         inset has been inserted. This is a huge performance gain for large
10803         documents with lots of insets. If Inset::parOwner is not set, fall
10804         back on the brute force method
10805
10806         * paragraph_pimpl.C (insertInset):
10807         * paragraph.C (Paragraph):
10808         (cutIntoMinibuffer): set parOwner of insets when
10809         inserting/removing them
10810
10811         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10812
10813 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * tabular-old.C (getTokenValue):
10816         * tabular.C (getTokenValue):
10817         (write_attribute): new versions for LyXLength
10818         (everywhere): adjust the use of widths
10819
10820         * tabular.h: change the type of widths from string to LyXLength
10821
10822 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10823
10824         * paragraph.C: fixed missing line number count when exporting
10825         Environments to LaTeX file
10826
10827         * buffer.C: added informational message for checking line numbers.
10828
10829 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10832         paragraph, do the 'double space' part, but not the 'empty
10833         paragraph' one.
10834
10835         * text.C (workWidth): small optimization
10836         (getLengthMarkerHeight): use minimal size for negative lengths.
10837
10838 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10839
10840         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10841
10842         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10843
10844 2001-12-11  André Pönitz <poenitz@gmx.net>
10845
10846         * FontLoader.C:
10847         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10848
10849 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * text2.C: keep selection on a setFont()
10852
10853 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyx_cb.C: another bv->text misuse, from insert label
10856
10857 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * kbsequence.h:
10860         * kbsequence.C: re-instate nmodifier mask
10861
10862 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10863
10864         * lyx_main.h: make lyxGUI private.
10865
10866 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * lyxfind.C: place the cursor correctly on failed search
10869
10870 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * text.C (getLengthMarkerHeight): for small heights, the arrows
10873         are not always on top/bottom of the text
10874         (drawLengthMarker): smaller arrows; take the left margin in
10875         account; draw also vfills.
10876         (paintFirstRow):
10877         (paintLastRow): remove special code for vfill and standard spaces,
10878         since everything is handled in drawLengthMarker now.
10879
10880 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * buffer.C (insertErtContents): try to handle font and language
10883         interaction a bit better.g
10884
10885         * ColorHandler.C (updateColor): change the hash to cover the whole
10886         LColor enum, ws cleanup
10887         (getGCLinepars): ditto
10888         (getGCLinepars): only lookup in the linecache once.
10889
10890 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10891
10892         * iterators.C (operator++): Make the iterator more robust
10893
10894         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10895         (John's patch)
10896         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10897
10898 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * lyxtext.h:
10901         * text.C: better added space drawing
10902
10903 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * LyXView.C:
10906         * BufferView2.C: fix layout combo update on inset unlock
10907
10908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * Makefile.am: don't compile unused files
10911
10912 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lyxfunc.C:
10915         * commandtags.h:
10916         * LyXAction.C: remove old LFUN_LAYOUTNO
10917
10918 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * paragraph_pimpl.h:
10921         * paragraph_pimpl.C: isTextAt() doesn't need font param
10922
10923 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * lyxlex.h:
10926         * lyxlex.C: little cleanup
10927
10928 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * BufferView_pimpl.C: fix insertAscii for insets
10931
10932 2001-12-05  Juergen Vigna  <jug@sad.it>
10933
10934         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10935         set the right font on the "multi" paragraph paste!
10936
10937 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10938
10939         * trans_decl.h:
10940         * trans_mgr.[Ch]:
10941         * trans.[Ch]:
10942         * lyxgluelength.C:
10943         * lyxlength.C: remove out-commented code.
10944
10945         * BufferView_pimpl:
10946         * CutAndPaste.C:
10947         * DepTable.C:
10948         * buffer.C:
10949         * chset.C:
10950         * lastfiles.C:
10951         * lyxlex.C:
10952         * lyxlex_pimpl.C:
10953         * lyxserver.C:
10954         * screen.C:
10955         * tabular-old.C:
10956         * tabular.C:
10957         * text.C:
10958         * trans_mgr.C:
10959         * vc-backend.C: change "while(" to "while ("
10960
10961         * lyxlength.[Ch]: add zero function to check if length is zero or
10962         not
10963         * lyxgluelength.C: use it
10964
10965 2001-12-05  Allan Rae  <rae@lyx.org>
10966
10967         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10968         Works for 2.95.3, from what I understand of Garst's reports this should
10969         work for other g++ versions.  We're screwed if the abs(int) definition
10970         changed between bugfix releases of gcc.
10971
10972 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * text.C: fix chapter label offset !
10975
10976 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * lyxtext.h:
10979         * text.C: fix hfill at end of line, clean up
10980
10981 2001-12-04  Juergen Vigna  <jug@sad.it>
10982
10983         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10984         that we force an update of the inset and it's owners if neccessary.
10985
10986 2001-12-03  Juergen Vigna  <jug@sad.it>
10987
10988         * text.C (rowLast): simplified code
10989
10990 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * lyxfunc.C: fix show options on timeout
10993
10994 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10995
10996         * screen.C (topCursorVisible): scroll half a page when the cursor
10997         reached top of bottom of screen
10998
10999 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * minibuffer.C: deactivate on loss of focus
11002
11003 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11004
11005         * vspace.[Ch] (operator!=): add operator.
11006
11007 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * BufferView_pimpl.C: refuse to open an inset when
11010         there's a selection.
11011
11012 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * BufferView_pimpl.C: allow to click on RHS of full row insets
11015
11016 2001-11-30  Juergen Vigna  <jug@sad.it>
11017
11018         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11019         insets for undo reasons.
11020
11021 2001-11-28  André Pönitz <poenitz@gmx.net>
11022
11023         * vspace.[Ch]: cosmetical changes
11024
11025 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11026
11027         * LyXAction.h:
11028         * LyXAction.C:
11029         * lyxfunc.h:
11030         * lyxfunc.C:
11031         * kbmap.h:
11032         * kbmap.C:
11033         * lyxrc.C:
11034         * kbsequence.h:
11035         * kbsequence.C: part re-write of old kb code
11036
11037         * Painter.C:
11038         * WorkArea.C: remove Lgb_bug_find_hack
11039
11040 2001-11-30  José Matos <jamatos@fep.up.pt>
11041
11042         * buffer.C (makeDocBookFile): add a comment to point a hack.
11043         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11044         Fixed a double write of labels.
11045
11046 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11047
11048         * LaTeX.C:
11049         * LaTeX.h Fixed bug in LaTeX class where it would not
11050         re-run latex if no depfiles were changed, but the .dvi was removed.
11051
11052 2001-11-28  André Pönitz <poenitz@gmx.net>
11053
11054         * all the files from the change on 2001/11/26:
11055         use lyx::layout_type instead of LyXTextClass::size_type
11056         use lyx::textclass_type instead of LyXTextClassList::size_type
11057
11058 2001-11-29  Juergen Vigna  <jug@sad.it>
11059
11060         * text.C: added support for paragraph::isFreeSpacing()
11061
11062         * buffer.C: same as above
11063
11064         * paragraph.h: inserted isFreeSpacing() function to enable
11065         FreeSpacing inside InsetERT.
11066
11067         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11068         of the paragraph's in the cut/copy buffer to 0!
11069
11070         * text2.C (removeRow): remove the assert as it can!
11071
11072         * lyxtext.h: added helper function firstRow returning firstrow and
11073         made firstrow private again.
11074
11075         * BufferView2.C (lockInset): don't relock if we're already locked!
11076
11077         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11078         the only paragraph.
11079         (removeRow): added Assert::(firstrow)
11080
11081         * debug.C: forgot to add INSETTEXT here.
11082
11083 2001-11-28  Juergen Vigna  <jug@sad.it>
11084
11085         * sp_spell.C (initialize): changed error text to more general
11086         spellchecker command use (not only ispell!)
11087
11088         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11089
11090         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11091
11092 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * vspace.C: initialise lyxgluelength on failure
11095
11096 2001-11-28  Allan Rae  <rae@lyx.org>
11097
11098         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11099         declaration & definition that looks like a function declaration.
11100
11101 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11102
11103         * BufferView2.C (copy):
11104         (copyEnvironment): do not clear the selection when doing a copy.
11105
11106         * text.C (paintFirstRow): compilation fix
11107
11108 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11109
11110         * tabular.C (Latex): correct line count when writing latex.
11111
11112 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * paragraph_pimpl.h:
11115         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11116           bug a bit
11117
11118 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * text.C:
11121         * LColor.h:
11122         * LColor.C: change vfillline->added_space
11123
11124         * text.C: add markers and text for added space
11125
11126         * vspace.C: fix comment
11127
11128 2001-11-28  André Pönitz <poenitz@gmx.net>
11129
11130         * paragraph.C: whitespace changes
11131         * all the other files from the change on 2001/11/26:
11132         change *::pos_type into lyx::pos_type
11133
11134 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11135
11136         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11137         language of the document when inserting error insets.
11138
11139 2001-11-26  André Pönitz <poenitz@gmx.net>
11140
11141         * BufferView_pimpl.[Ch]:
11142         *       CutAndPaste.C:
11143         * buffer.[Ch]:
11144         * lyxcursor.[Ch]:
11145         * lyxfind.C:
11146         * lyxfunc.C:
11147         * lyxrow.[Ch]:
11148         * paragraph.[Ch]:
11149         * paragraph_pimpl.[Ch]:
11150         * sp_spell.C:
11151         * text.C:
11152         * text2.C: reduce header dependencies, introduce type for positions
11153
11154 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * <various>: change to use Alert.h
11157
11158 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11159
11160         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11161         when encountering an unknown token.
11162         (readLyXformat2): Show an error message if there were unknown tokens.
11163
11164 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * BufferView2.C:
11167         * BufferView_pimpl.C:
11168         * buffer.C:
11169         * paragraph.h:
11170         * text.C:
11171         * text2.C: use par->isInset()
11172
11173 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * paragraph_pimpl.h:
11176         * paragraph_pimpl.C: cleanup
11177
11178 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11179
11180         * text2.C (removeRow):
11181         * text.C (setHeightOfRow): remove useless (and costly) call to
11182         getRow.
11183
11184 2001-11-20  Allan Rae  <rae@lyx.org>
11185
11186         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11187         Now need Inset*::checkInsertChar() to return true for appropriate
11188         cases so that the characters in the minibuffer will actually be
11189         inserted.
11190
11191 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * text.C: change the order of the includes.
11194         (workWidth): initialize it at once.
11195         (workWidth): make maxw unsigned
11196         (setHeightOfRow): remove unused variable (inset)
11197         (selectSelectedWord): remove unused variable (inset)
11198         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11199
11200 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11203         server is not running.
11204         (openConnection):
11205         (closeConnection): add debug info when server is disabled.
11206
11207         * ColorHandler.C (getGCForeground): send debug message to GUI
11208         channel.
11209
11210         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11211
11212         * kbmap.C (bind): modify because return conventions of
11213         kb_sequence::parse have changed.
11214
11215         * kbsequence.C (parse): only ignore spaces and not any stupid
11216         control character. This avoids tests like s[i] <= ' ', which are
11217         guaranteed to fail with 8bit characters and signed chars.
11218         Change return code to string::npos when there have been no error
11219         (0 was a bad idea when error is at first character)
11220
11221 2001-11-14  José Matos  <jamatos@fep.up.pt>
11222
11223         * buffer.h:
11224         * buffer.C (simpleDocBookOnePar): removed unused argument.
11225
11226 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11227
11228         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11229         insets which are part of a word. Paragraph::isLetter takes care of
11230         that now. Use Paragraph::isInset to identify insets.
11231         (selectSelectedWord): do not test for hyphenation break.
11232
11233         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11234         that protected spaces are considered as spaces.
11235
11236         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11237         Inset::isLetter.
11238
11239 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * lyxserver.h:
11242         * lyxserver.C: fix it. and small cleanup.
11243
11244 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * BufferView_pimpl.C: use inline helpers
11247
11248         * LaTeXFeatures.h:
11249         * LaTeXFeatures.C: fix typos
11250
11251         * Spacing.h:
11252         * Spacing.C: move spacing_string into class
11253
11254         * ToolbarDefaults.C: move stuff into namespace anon
11255
11256         * layout.h: update enum
11257
11258         * lyxfunc.C: use better debug
11259
11260         * minibuffer.h: fix typo
11261
11262         * debug.h:
11263         * debug.C:
11264         * WorkArea.C: add and use Debug::WORKAREA
11265
11266         * lyxtext.h:
11267         * text.C:
11268         * text2.C: code re-organisation, inline helpers
11269
11270 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11271
11272         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11273         std::vector.empty().
11274
11275 2001-11-09  Allan Rae  <rae@lyx.org>
11276
11277         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11278         '\n's after tables.  Tabular and ERT inset work now makes this no
11279         longer necessary.
11280
11281 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * minibuffer.h:
11284         * minibuffer.C: fix crash, improve drop-down completion
11285
11286 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * lyxserver.h:
11289         * lyxserver.C: invalidate fd's when doing endPipe()
11290
11291 2001-11-08  José Matos  <jamatos@fep.up.pt>
11292
11293         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11294         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11295
11296         * paragraph.h:
11297         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11298
11299 2001-11-07  José Matos  <jamatos@fep.up.pt>
11300
11301         * buffer.h:
11302         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11303         const qualifier.
11304
11305         * buffer.C (sgmlOpenTag):
11306         * buffer.C (sgmlCloseTag): removed debug info.
11307
11308         * buffer.h (sgmlOpenTag):
11309         * buffer.h (sgmlCloseTag): made public.
11310
11311 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11312
11313         * buffer.C (saveParamsAsDefaults):
11314         * lyx_cb.C (MenuLayoutSave): remove
11315
11316         * LyXAction.C (init):
11317         * commandtags.h:
11318         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11319
11320 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11321
11322         * buffer.C (setPaperStuff): removed from here...
11323
11324         * bufferparams.C (setPaperStuff): ... and moved there.
11325
11326 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * minibuffer.h:
11329         * minibuffer.C:
11330         * XFormsView.C: add support for drop-down completion
11331
11332 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11333
11334         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11335         commands.
11336
11337 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11338
11339         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11340         disabled.
11341
11342 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * lyx_main.C: change ref to known bugs
11345
11346 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11347
11348         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11349         to work around older babel problems.
11350
11351 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11352
11353         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11354
11355 2001-10-24  Juergen Vigna  <jug@sad.it>
11356
11357         * tabular-old.C (ReadOld): below variable changes reflected.
11358
11359         * tabular.[Ch]: added ltType struct for longtable header/footer
11360         defines and changed all instances where they are used. Added
11361         future support for double top/bottom rows.
11362
11363 2001-10-24  José Matos  <jamatos@fep.up.pt>
11364
11365         * buffer.h (docbookHandleCaption):
11366         * buffer.C (docbookHandleCaption): removed unused function.
11367         (makeDocBookFile): moved docbook supported version to v4.1.
11368
11369 2001-10-24  José Matos  <jamatos@fep.up.pt>
11370
11371         * tabular.h:
11372         * tabular.C (docbookRow): new function to export docbook code of a row.
11373         (DocBook): now honors the longtable flags.
11374
11375 2001-10-23  José Matos  <jamatos@fep.up.pt>
11376
11377         * LaTeXFeatures.h:
11378         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11379         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11380
11381         * buffer.C (makeLinuxDocFile):
11382         (makeDocBookFile): reworked the preamble, more clean, and with
11383         support for lyx defined entities. Changed the document declaration
11384         to be more XML friendly.
11385
11386         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11387         if we need to output XML that should be done with a filter.
11388
11389 2001-10-22  Juergen Vigna  <jug@sad.it>
11390
11391         * sp_pspell.h (class PSpell): add alive function needed in the
11392         controller to see if the spellchecker could be started.
11393
11394 2001-10-22  Juergen Vigna  <jug@sad.it>
11395
11396         * buffer.C (insertStringAsLines): modify the font for inserting
11397         chars in certain conditions by calling checkInsertChar(font).
11398
11399 2001-10-19  Juergen Vigna  <jug@sad.it>
11400
11401         * text.C (workWidth): use getRow instead of wrong algorithm.
11402         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11403
11404 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * lyxserver.h:
11407         * lyxserver.C:
11408         * lyx_main.h:
11409         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11410
11411 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * text.C (workWidth): do not search for the exact row when
11414         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11415         optimization for big documents.
11416
11417 2001-10-18  Juergen Vigna  <jug@sad.it>
11418
11419         * text.C (workWidth): new function with added Inset * parameter.
11420
11421 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11424
11425         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11426         change return type of getColumnNearX.
11427
11428
11429         * text.C (changeRegionCase): use uppercase/lowercase instead of
11430         toupper/tolower.
11431         (leftMargin):
11432         (rightMargin): simplify code by factoring out the uses of
11433         textclasslist.
11434         (labelFill):
11435         (numberOfHfills):
11436         (setHeightOfRow):
11437         (appendParagraph): use Paragraph::size_type
11438
11439 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11440
11441         * vspace.C (asLatexString): add a missing break
11442
11443 2001-10-15  Herbert Voss  <voss@perce.de>
11444
11445         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11446
11447 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11450         is not available.
11451
11452 2001-10-10  André Pönitz <poenitz@gmx.net>
11453
11454         * lyxfunc.C: removed greek_kb_flag.
11455
11456 2001-10-10  Herbert Voss  <voss@perce.de>
11457
11458         * lyx_main.C: delete global string help_lyxdir.
11459
11460 2001-10-09  Herbert Voss  <voss@perce.de>
11461
11462         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11463
11464         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11465
11466         * lyx_main.C: added global string help_lyxdir.
11467
11468         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11469
11470 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11471
11472         * lyxrc.C (set_font_norm_type): support iso8859-4
11473
11474 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11475
11476         * LaTeX.C (deplog): add another regex for MikTeX
11477
11478 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11479
11480         * lyxrc.C (set_font_norm_type): support iso8859-3
11481
11482 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11483
11484         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11485
11486         * LaTeXFeatures.C: remove special case of french and index
11487
11488         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11489         before \begin{document}). This solves several incompatibilities.
11490
11491 2001-10-03  Garst Reese  <reese@isn.net>
11492
11493         * lyx_cb.C: change CheckTex error msg.
11494
11495 2001-10-03  José Matos  <jamatos@fep.up.pt>
11496
11497         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11498
11499 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * .cvsignore: update
11502
11503         * lyx_main.C (commandLineVersionInfo): use new style version info.
11504
11505         * buffer.C (writeFile):
11506         (makeLaTeXFile):
11507         (makeLinuxDocFile):
11508         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11509
11510         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11511
11512         * version.h: update to use stuff in version.C
11513
11514         * version.C.in: new file. Contains version information determined
11515         at compile time. This is a merging of version.h and
11516         version_info.h.in.
11517
11518 2001-10-03  Juergen Vigna  <jug@sad.it>
11519
11520         * BufferView_pimpl.C (update): don't change "dirty" status in
11521         updateInset call.
11522
11523 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11524
11525         * WorkArea.C (c-tor): re-position version string slightly.
11526
11527 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11528
11529         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11530         revert to previous code.
11531
11532         WorkArea.[Ch]: (show, destroySplash): methods removed.
11533
11534         WorkArea.C: rework code so that it's an amalgam of the codes before and
11535         after the splash screen was moved to WorkArea.
11536
11537 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * lyxrc.C (read):
11540         * vspace.C (inPixels):
11541         (lyx_advance):
11542         * kbmap.C (bind):
11543         * buffer.C (insertStringAsLines):
11544         (asciiParagraph): fix types to be large enough
11545
11546         * lyxlex_pimpl.h: change member status from short to int
11547
11548         * layout.h: fix type of endlabeltype
11549
11550         * kbmap.C (bind):
11551         * kbsequence.C (parse): change return type to string::size_type
11552
11553         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11554         variable
11555
11556         * Bullet.C (bulletSize):
11557         (bulletEntry): do not use short ints as parameters
11558
11559         * BufferView2.C (insertLyXFile): change a char to an int.
11560
11561         * WorkArea.C (WorkArea): remove unneeded floats in computation
11562
11563 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11564
11565         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11566
11567         * paragraph.C (asString): Do not ignore newline/hfill chars when
11568         copying to the clipboard.
11569
11570 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11571
11572         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11573         after a multi-line inset.
11574
11575 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11576
11577         * paragraph.C (validate): Set NeedLyXFootnoteCode
11578
11579 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11580
11581         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11582         and decrease-error to decrease.
11583
11584 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11585
11586         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11587         it more readable (should be equivalent)
11588
11589 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11590
11591         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11592
11593 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11594
11595         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11596         of a cursor (row, etc.) after a character has been deleted
11597         (deleteEmptyParagraphMechanism): call the method above on _all_
11598         cursors held by the LyXText when a double space has been
11599         detected/deleted.
11600
11601 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11602
11603         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11604         pixmap.
11605         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11606
11607         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11608         background. Use greyOut() and the new show() methods to toggle between
11609         the foreground and background. Add code to remove the splash after
11610         its initial showing.
11611
11612         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11613         (create_forms): no longer call Dialogs::showSplash.
11614
11615 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11616
11617         * .cvsignore: add version_info.h
11618
11619 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11620
11621         * version_info.h.in: new file
11622
11623         * Makefile.am: add version_info.h.in
11624
11625         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11626         version_info.h instead of VERSION_INFO
11627
11628 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11629
11630         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11631         The ERT inset now returns string().
11632
11633 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11634
11635         * lyxtext.h, text.C (selectNextWord): renamed as
11636         selectNextWordToSpellcheck.
11637
11638         * text.C (selectNextWordToSpellcheck): Modified to not select
11639         words inside an ERT inset.
11640
11641 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11642
11643         * lyx_cb.C (MenuLayoutSave): change a bit the question
11644
11645         * sp_base.h: include <sys/types.h>
11646
11647 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11648
11649         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11650
11651 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11652
11653         * several files: fix typos in user-visible strings
11654
11655 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * text2.C (pasteSelection): do not set the selection, since it
11658         will be cleared later. Actually, the intent was to fix the way the
11659         selection was set, but I figured rmoving the code was just as good.
11660
11661 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * FontLoader.C (available): Check if font is available without
11664         loading the font.
11665
11666 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11667
11668         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11669
11670 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11671
11672         * lyxrc.[Ch]: added display_graphics variable and associated code.
11673
11674 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * bufferparams.C (hasClassDefaults): new method. Returns true if
11677         the buffer parameters correspond to known class defaults
11678
11679 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11680
11681         * XFormsView.C (show): set minimum size to the main window.
11682
11683 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11684
11685         * text2.C (copySelection):
11686         (cutSelection):
11687         * lyxfind.C (LyXReplace):
11688         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11689         LyXText::selectionAsString.
11690
11691         * paragraph.C (asString): add "label" argument to the second form
11692
11693         * text2.C (selectionAsString): add "label" argument and pass it to
11694         Paragraph::asString.
11695
11696 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * lyx_main.C (commandLineHelp): remove version information
11699
11700 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11701
11702         * lyx_main.C: add -version commandline option
11703
11704 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * paragraph.h: make the optional constructor arg required instead.
11707         some modifications to other files because of this.
11708
11709         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11710
11711         * lyxserver.C (C_LyXComm_callback): make it static
11712
11713         * lyx_main.C (error_handler): make it static
11714
11715         * lyx_gui.C (LyX_XErrHandler): make it static
11716
11717         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11718
11719         * WorkArea.C: make the extern "C" methods static.
11720
11721         * Makefile.am (lyx_LDADD): simplify
11722
11723 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11724
11725         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11726         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11727
11728         * LyXAction.C (init):
11729         * lyxfunc.C (dispatch): associated code removal.
11730
11731 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * lyxfont.h (isSymbolFont): shut off warning
11734
11735         * text.C (setHeightOfRow):
11736         (getVisibleRow): fix crash with empty paragraphs which have a
11737         bottom line
11738
11739 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11740
11741         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11742         code.
11743
11744 2001-09-04  José Matos  <jamatos@fep.up.pt>
11745         * buffer.C
11746         * buffer.h
11747         * tabular.C (docbook): rename docBook method to docbook.
11748
11749 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11750
11751         * Makefile.am: add dependencies to main.o.
11752
11753 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11754
11755         * FontLoader.C (available): Return false if !lyxrc.use_gui
11756
11757 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11758
11759         * FontInfo.C (query):
11760         * converter.C (view):
11761         * importer.C (Import):
11762         * exporter.C (Export): Can not -> cannot.
11763
11764 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * BufferView_pimpl.C: allow to create index inset even if
11767           string is empty
11768
11769 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * buffer.C (getLists): replace boost::tie code with an explicit pair
11772         as boost::tie can break some compilers.
11773
11774         * iterators.h: Added a std:: declaration to the return type of
11775         ParIterator::size.
11776
11777 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11780           case.
11781
11782 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11783
11784         * iterators.[Ch]: New files. Provide paragraph iterators.
11785
11786         * buffer.C (changeLanguage): Use paragraph iterators.
11787         (isMultiLingual): ditto
11788
11789         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11790
11791 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * FontLoader.C: Support for cmr font.
11794
11795 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11796
11797         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11798         (available): New method.
11799
11800         * FontInfo.C (getFontname): Use scalable fonts even when
11801         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11802         found.
11803
11804 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11805
11806         * converter.C (Formats::view): reverted! Incorrect fix.
11807
11808 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11809
11810         * converter.C (Formats::view): only output the -paper option
11811         if the dvi viewer is xdvi, thereby fixing bug #233429.
11812
11813 2001-08-23  Herbert Voss  <voss@perce>
11814
11815         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11816
11817 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11818
11819         * Spacing.h (Spacing): Set space to Default on in the default
11820         constructor.
11821
11822 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * vc-backend.h (RCS::versionString): add RCS to version
11825         (CVS::versionString): add CVS to version
11826
11827         * vc-backend.C (scanMaster): do not add CVS to version.
11828         (scanMaster): do not add RCS to version
11829
11830         * lyxvc.C (versionString): new method
11831
11832         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11833
11834 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * Spacing.C (set): initialize fval
11837
11838 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11841         " or \.
11842
11843 2001-08-16  Juergen Vigna  <jug@sad.it>
11844
11845         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11846
11847 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * BufferView_pimpl.C:
11850         * figureForm.C:
11851         * lyxtext.h:
11852         * text2.C: setParagraph takes linespacing now
11853
11854 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * LyxAction.C: add internal LFUN_CITATION_INSERT
11857
11858         * LyXView.C: actually apply fix
11859
11860         * bufferlist.C: fix open non-existent file
11861
11862         * lyxfind.C: fix indentation
11863
11864         * lyxfunc.C: remove unneeded assert, fix typo
11865
11866 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * MenuBackend.C: use "Floatname List"
11869
11870 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11871
11872         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11873         when converting LaTeX layout to insetERT.
11874         Generate a non-collapsed float when reading old float
11875
11876 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11877
11878         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11879         ERT insets.
11880
11881 2001-08-13  Juergen Vigna  <jug@sad.it>
11882
11883         * text.C (fill): return 0 instead of 20 as this seems to be the more
11884         correct value.
11885
11886 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11889         lyxrc.font_norm.
11890
11891 2001-08-13  Juergen Vigna  <jug@sad.it>
11892
11893         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11894         casesensitive off.
11895         (SearchBackward): comment out the unlocking of the inset_owner this
11896         should not be needed!
11897
11898 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * Many files: Remove inherit_language, and add latex_language
11901
11902         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11903         collapsible insets.
11904
11905 2001-08-10  Juergen Vigna  <jug@sad.it>
11906
11907         * text.C (prepareToPrint): fixed hfill-width in draw!
11908
11909         * BufferView2.C (selectLastWord): save the selection cursor as this
11910         now is cleared in the function LyXText::clearSelection!
11911
11912 2001-08-08  Juergen Vigna  <jug@sad.it>
11913
11914         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11915         BACKSPACE type functions.
11916
11917         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11918         is only cutted from the document but not put in the cut-buffer, where
11919         still the old stuff should be.
11920
11921         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11922
11923         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11924
11925         * tabular.C (SetWidthOfCell): fixed special case where the width
11926         was not updated!
11927         (LeftLine): handle '|' in align_special.
11928         (RightLine): ditto
11929         (LeftAlreadyDrawed): ditto
11930         (SetWidthOfCell): ditto
11931
11932 2001-08-07  Juergen Vigna  <jug@sad.it>
11933
11934         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11935
11936 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11939         * lyxlex.[hC]: ditto
11940
11941 2001-08-06  Juergen Vigna  <jug@sad.it>
11942
11943         * text.C (getVisibleRow): fix up row clearing a bit.
11944
11945 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * minibuffer.C: make sure the X server sees the changes in the input.
11948
11949 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * paragraph.C (getFont): split into...
11952         (getLabelFont): this
11953         (getLayoutFont): and this
11954         * paragraph_pimpl.C (realizeFont): calling this
11955
11956         * text2.C (getFont): split into...
11957         (getLayoutFont): this
11958         (getLabelFont): and this
11959         (realizeFont): all three calling this
11960
11961         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11962         files where used.
11963
11964 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11965
11966         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11967
11968 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11969
11970         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11971         layouts from the Quote inset insertion.
11972
11973 2001-08-03  Juergen Vigna  <jug@sad.it>
11974
11975         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11976
11977         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11978         only if status not is already CHANGED_IN_DRAW (second level).
11979
11980         * text.C (draw): don't set the need_break_row when inside an
11981         InsetText LyXText.
11982
11983 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * buffer.C (parseSingleLyXformat2Token): handle more latex
11986         conversion cases.
11987
11988         * bufferview_funcs.[hC]: change function names to
11989         begin with small char, adjust other files.
11990
11991 2001-08-02  André Pönitz <poenitz@gmx.net>
11992
11993         * lyxfunc.C:
11994         BufferView_pimpl.C: remove broken special code for math-greek
11995
11996 2001-08-02  Juergen Vigna  <jug@sad.it>
11997
11998         * BufferView_pimpl.C (update): redone this function so that we
11999         update the text again if there was a CHANGE_IN_DRAW.
12000
12001         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12002         (drawFromTo): added a new internal bool which is used by draw() and
12003         redraw() function.
12004         (general): some cursor drawing problems fixed.
12005
12006 2001-08-01  Juergen Vigna  <jug@sad.it>
12007
12008         * lyxfind.C (LyXFind): fixed
12009         (SearchForward): ditto
12010         (SearchBackward): ditto
12011
12012         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12013         spurius drawing of the cursor in the main area.
12014
12015         * text2.C (status): small fix which could lead to a segfault!
12016         (clearSelection): remove unneeded BufferView param.
12017
12018 2001-08-01  André Pönitz <poenitz@gmx.net>
12019
12020         * lyxfunc.C: small change due to changed mathed interface
12021
12022 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12025
12026 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * lyxfunc.c: fail gracefully if file doesn't exist
12029
12030         * LyXSendto.C:
12031         * buffer.C:
12032         * lyxfunc.C:
12033         * BufferView_pimpl.C: IsDirWriteable() proto changed
12034
12035         * LyXView.C: fix updateWindowTitle() to store the last title
12036
12037 2001-07-31  Juergen Vigna  <jug@sad.it>
12038
12039         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12040         the font (wrong since using of Paragraph::highestFontInRange).
12041
12042         * paragraph.C (highestFontInRange): added a default_size parameter.
12043
12044         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12045         (setHeightOfRow): reformat
12046
12047 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * converter.[hC] + affected files: move to (inital-char)lowercase
12050         function names.
12051
12052         * ParagraphParameters.C (ParagraphParameters): remove commented code
12053
12054         * PainterBase.[Ch]: remove commented code
12055
12056         * LaTeXFeatures.h: add "bool floats" for float.sty
12057
12058         * LaTeXFeatures.C (LaTeXFeatures): init floats
12059         (require): handle float
12060         (getPackages): do it with floats
12061
12062 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * BufferView_pimpl.C (Dispatch): improve handling of
12065         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12066
12067         * commandtags.h: #include lyxfont.h here temporarily to avoid
12068         keybinding bug.
12069
12070         * bufferlist.h: include LString.h here.
12071
12072 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * text2.C (getStringToIndex): new method.
12075
12076 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12077
12078         * *: Reduced header file dependencies all over.
12079
12080 2001-07-30  Baruch Even  <baruch@lyx.org>
12081
12082         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12083
12084 2001-07-29  Baruch Even  <baruch@lyx.org>
12085
12086         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12087
12088 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * ParameterStruct.h (endif): add a default constructor to make
12091         sure that all variables is initialized.
12092
12093         * ParagraphParameters.C (ParagraphParameters): adjust
12094
12095 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12096
12097         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12098         index; also, check that there is something to index, and that it
12099         does not span over several paragraphs.
12100         (doubleClick): use WHOLE_WORD_STRICT for double click.
12101
12102         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12103
12104         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12105         scheme.
12106
12107 2001-07-26  Baruch Even  <baruch@lyx.org>
12108
12109         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12110         an InsetFig figure, backwards compatible reading of old figure code.
12111
12112 2001-07-27  Juergen Vigna  <jug@sad.it>
12113
12114         * text2.C: font.realize function adaption.
12115
12116         * text.C (draw): add a warnings lyxerr text if needed.
12117
12118         * layout.C: font.realize function adaption.
12119
12120         * language.C: add inherit_language and implement it's handlings
12121
12122         * bufferview_funcs.C (StyleReset): remove language parameter from
12123         font creation (should be language_inherit now).
12124
12125         * bufferparams.C (writeFile): handle ignore_language.
12126
12127         * paragraph.C (getFontSettings): the language has to be resolved
12128         otherwise we have problems in LyXFont!
12129
12130         * lyxfont.C (lyxWriteChanges): added document_language parameter
12131         (update): removed unneeded language parameter
12132
12133         * paragraph.C (validate): fixed wrong output of color-package when
12134         using interface colors for certain fonts in certain environments,
12135         which should not seen as that on the final output.
12136
12137 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * BufferView_pimpl.C:
12140         * Thesaurus.h:
12141         * Thesaurus.C:
12142         * Makefile.am:
12143         * commandtags.h:
12144         * LyXAction.C: add thesaurus support
12145
12146         * lyxfind.h:
12147         * lyxfind.C: add "once" parameter, for thesaurus, to not
12148           move to the next match
12149
12150 2001-07-26  Juergen Vigna  <jug@sad.it>
12151
12152         * lyxfont.C (realize): honor ignore_language too!
12153         (resolved): ditto.
12154
12155         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12156
12157         * text.C (draw): one place more for ignore_language to not draw
12158         itself!
12159
12160 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12161
12162         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12163
12164 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12167         the minipage conversion problem.
12168
12169 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12172         insert an inset.
12173
12174 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * BufferView.h: don't forward declare WorkArea
12177
12178         * BufferView.C: don't include WorkArea.h
12179
12180 2001-07-25  André Pönitz <poenitz@gmx.net>
12181
12182         * commandtags.h:
12183         * LyXAction.C:
12184         * lyxfunc.C:  new LFUN 'math-space'
12185
12186         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12187
12188 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * text2.C (toggleInset): call open/close
12191
12192 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * lyxfunc.C (dispatch): add debug for the disabled case
12195
12196         * font.C (buttonText): make similar to rectText
12197
12198         * buffer.C (readInset): comment out parsing of insetlist and
12199         insttheorem
12200
12201         * PainterBase.C (rectText): small correction
12202
12203         * BufferView_pimpl.C: comment out insettheorem and insetlist
12204         * LyXAction.C: ditto
12205         * commandtags.h: ditto
12206
12207 2001-07-24  Juergen Vigna  <jug@sad.it>
12208
12209         * text.C (draw): honor the ignore_language.
12210
12211         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12212
12213 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12214
12215         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12216         char inset.
12217
12218 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12219
12220         * lyxtext.h: remove unused (and unimplemented) methods
12221
12222 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12223
12224         * text.C (getVisibleRow): honor background color
12225
12226         * PainterBase.h:
12227         * Painter.h: remove default color argument for fillRectangle
12228
12229         * text.C (backgroundColor): new method
12230
12231 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * text.C (getVisibleRow): adjust
12234
12235         * font.[Ch] (rectText): new method, metrics
12236         (buttonText): new method, metrics
12237
12238         * PainterBase.[hC]: make rectText and buttonText always draw and take
12239         fewer paramteres.
12240
12241 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12242
12243         * ToolbarDefaults.C (read):
12244         * MenuBackend.C (read): allow escaping in all strings
12245
12246         * BufferView_pimpl.C (insertAndEditInset): new method.
12247         (Dispatch): use insertAndEditInset whenever appropriate.
12248
12249         * BufferView_pimpl.C (insertNote): removed
12250
12251         * BufferView_pimpl.C (smartQuote): new method, moved from
12252         BufferView; if an insetquote cannot be inserted, insert a '"'
12253         character instead.
12254
12255         * BufferView2.C: remove insertCorrectQuote();
12256
12257         * lyxfunc.C (getStatus): Add support for all remaingin
12258         inset-insert lfuns.
12259
12260         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12261
12262         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12263         command (necessary to pass " as parameter of self-insert.
12264
12265         * text.C (selectWordWhenUnderCursor):
12266         (selectWord): add word_location parameter
12267         (selectWordWhenUnderCursor): same + remove special code for word
12268         boundary.
12269         (selectNextWord): use kind() to guess type of insetspecialchar,
12270         not latex().
12271
12272         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12273         (insertErtContents): create ert insets as collapsed.
12274         (readInset): better compatibility code for Info inset.
12275
12276 2001-07-20  Juergen Vigna  <jug@sad.it>
12277
12278         * lyxfunc.C (dispatch): use always LyXFind now!
12279
12280         * text2.C (init): add a reinit flag so that the LyXText can be
12281         reinited instead of deleted and reallocated (used in InsetText).
12282
12283         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12284
12285         * text.C: ditto
12286
12287         * text2.C: ditto
12288
12289 2001-07-18  Juergen Vigna  <jug@sad.it>
12290
12291         * text.C (selectNextWord): handle insets inside inset by calling
12292         always the bv->text functions so that we can go up the_locking_inset!
12293
12294         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12295         in strange locations when inside an inset!
12296
12297         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12298         handling to include insets.
12299
12300         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12301
12302 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * LyXAction.C (init):
12305         * commandtags.h:
12306         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12307         LIGATURE_BREAK, since the name is so stupid.
12308
12309 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12310
12311         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12312         InsetInfos.
12313
12314         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12315
12316         * sp_form.[Ch]: remove.
12317
12318         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12319
12320         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12321         InsetInfo.
12322
12323         * src/buffer.C (readInset): ditto.
12324
12325 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12326
12327         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12328         menuSeparator(), endOfSentenceDot(), ldots() and
12329         hyphenationPoint(), which are therefore removed.
12330         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12331
12332         * LyXAction.C (init):
12333         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12334
12335         * paragraph.C (getWord): removed.
12336
12337         * BufferView_pimpl.C (Dispatch): use last word or selection for
12338         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12339
12340         * lyx_main.C (queryUserLyXDir): do not ask before creating
12341         user_dir, except if it has been named explicitely.
12342
12343 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12344
12345         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12346         a document of zero size.
12347
12348 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12349
12350         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12351         approriately in the c-tor and in require().
12352         (getPackages): output the appropriate LaTeX for natbib support.
12353
12354         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12355         variables "use_natbib" and "use_numerical_citations" when reading the
12356         LyX file.
12357         (readInset): read the various natbib cite commands.
12358         (validate): white-space change.
12359
12360         * bufferparams.[Ch]: new variables "bool use_natbib" and
12361         "bool use_numerical_citations".
12362         (writeFile): output them in the LyX file.
12363
12364 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12365
12366         * lyxfunc.C (getStatus): add support for all the inset insertion
12367         commands.
12368
12369         * text2.C (insertInset):
12370         * paragraph.C (insetAllowed):
12371         * BufferView_pimpl.C (insertInset): update to take in account the
12372         renaming of insertInsetAllowed
12373
12374         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12375
12376         * text2.C (getInset): new method. returns inset at cursor position.
12377
12378         * BufferView_pimpl.C (Dispatch): changes because of this.
12379
12380         * LyXAction.C (init): rename open-stuff to inset-toggle.
12381
12382         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12383
12384         * text2.C (toggleInset): renamed from openStuff; use
12385         Inset::open().
12386
12387 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12388
12389         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12390
12391         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12392
12393 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * buffer.C (readLyXformat2): Add filename to the error dialog
12396
12397 2001-07-18  Juergen Vigna  <jug@sad.it>
12398
12399         * tabular.C (GetCellNumber): put an assert here instead of the check!
12400
12401 2001-07-17  Juergen Vigna  <jug@sad.it>
12402
12403         * BufferView_pimpl.C (toggleSelection): adapted too.
12404
12405         * text.C (selectNextWord): adapted for use with insets.
12406         (selectSelectedWord): ditto
12407
12408 2001-07-17  Juergen Vigna  <jug@sad.it>
12409
12410         * sp_spell.C (PSpell): fix initialitation order.
12411
12412 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * paragraph.C: spacing
12415
12416 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12417
12418         * sp_spell.C: repair language selection for pspell
12419
12420 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * lyxfunc.h: change more methods to begin with lower char.
12423
12424 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12425
12426         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12427         for unknown layouts.
12428
12429 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12430
12431         * buffer.C (readLyXformat2): Generate an error dialog if there are
12432         unknown layouts.
12433
12434 2001-07-16  Juergen Vigna  <jug@sad.it>
12435
12436         * sp_spell.C: always compile ISpell part.
12437
12438         * lyxrc.C: added use_pspell entry and it's handling.
12439
12440 2001-07-13  Juergen Vigna  <jug@sad.it>
12441
12442         * sp_spell.C: removed double includes.
12443
12444 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12445
12446         Consistent use of Lsstream.h:
12447         * Lsstream.h: added using std::stringstream for consistencies sake.
12448
12449         * buffer.C: removed using std::stringstream
12450
12451         * lyxfont.C (stateText):
12452         * paragraph.C (asString):
12453         * text.C (selectNextWord, selectSelectedWord):
12454         * text2.C (setCounter):
12455         * vspace.C (asString, asLatexString):
12456         std::ostringstream -> ostringstream.
12457
12458 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12459
12460         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12461         * commandtags.h: add LFUN_HELP_ABOUTLYX
12462         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12463
12464 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12465
12466         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12467         cursorToggle()
12468         * lyx_gui_misc.C: remove spellchecker
12469         * lyxfunc.C: showSpellchecker
12470         * sp_base.h: added
12471         * sp_ispell.h: added
12472         * sp_pspell.h: added
12473         * sp_spell.C: added
12474         * sp_form.[Ch]: removed
12475         * spellchecker.[Ch]: removed
12476
12477 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12478
12479         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12480         is set.
12481         (simpleTeXSpecialChars): Simply print the input character without
12482         any special translation if pass_thru is set.
12483
12484         * layout.h: Added bool pass_thru to layout class for being able to
12485         implement pass through of a paragraph for Literate Programming.
12486
12487         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12488         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12489         * layout.C (Read): add "passthru" to list of layout tags and add
12490         code to set the pass_thru boolean when it is read.
12491
12492 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * trans_decl.h: remove allowed from KmodInfo
12495
12496         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12497         remove allowed code
12498         (Load): adjust
12499
12500         * paragraph_pimpl.C (erase): use boost::prior
12501
12502         * Painter.C (text): use data() instead of c_str() when length is
12503         also provided.
12504         * WorkArea.C (putClipboard): ditto
12505         * font.h (width): ditto
12506
12507         * BufferView2.C: use it-> instead of (*it). for iterators
12508         * texrow.C: ditto
12509         * paragraph_pimpl.C: ditto
12510         * paragraph.C: ditto
12511         * minibuffer.C: ditto
12512         * language.C: ditto
12513         * kbmap.C: ditto
12514         * encoding.C: ditto
12515         * counters.C: ditto
12516         * converter.C: ditto
12517         * chset.C: ditto
12518         * Variables.C: ditto
12519         * TextCache.C: ditto
12520         * MenuBackend.C: ditto
12521         * LyXAction.C: ditto
12522         * LColor.C: ditto
12523         * FloatList.C: ditto
12524         * DepTable.C: ditto
12525         * ColorHandler.C (LyXColorHandler): ditto
12526
12527 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12530
12531         * text2.C (openStuff): reintroduce this method (which had been
12532         nuked in NEW_INSETS frenzy).
12533
12534         * lyxfunc.C (Dispatch): when an action has not been handled, use
12535         its name in the error message, not its number.
12536
12537         * paragraph.C (inInset): change method name to begin with lowercase.
12538
12539         * undo_funcs.C:
12540         * text2.C: updates because of this.
12541
12542 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * ToolbarDefaults.C (add): add spaces in error message
12545
12546 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12547
12548         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12549         (readLyXformat2): rename return_par to first_par, use lyxlex's
12550         pushToken and remove the manual push handling.
12551         (parseSingleLyXformat2Token): add another ert comp. variable:
12552         in_tabular, rename return_par to first_par. handle newlines better
12553
12554 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12557
12558 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * text2.C (getParFromID): removed
12561
12562         * buffer.C (getParFromID): new method moved form lyxtext.
12563         * BufferView2.C (insertErrors): adjust
12564         (setCursorFromRow): adjust
12565         * BufferView_pimpl.C (restorePosition): adjust
12566         * lyxfunc.C (Dispatch): adjust
12567         * undo_funcs.C (textUndo): adjust
12568         (textRedo): adjust
12569         (textHandleUndo): adjust
12570         (textHandleUndo): adjust
12571
12572 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * buffer.C: up' the LYX_FORMAT
12575
12576         * lyxfont.h: turn NO_LATEX on as default
12577
12578         * buffer.C (insertErtContents): new methods of tex style compability.
12579         (parseSingleLyXformat2Token): use it several places.
12580         * tabular.C (OldFormatRead): and here
12581
12582 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * text2.C: remove some commented code.
12585         reindent file.
12586
12587         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12588         * trans.C: changes because of the above.
12589
12590 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12591
12592         * text2.C (setCounter): Fix counters bug with bibliography layout.
12593
12594 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12597         own member functions
12598         (simpleTeXSpecialChars): ditto
12599
12600 2001-07-06  Juergen Vigna  <jug@sad.it>
12601
12602         * a lot of files: changed the access to LyXText::status and the
12603         call of undo-functions.
12604
12605         * undo.[Ch]: added a inset_id to the undo informations.
12606
12607         * undo_funcs.[Ch]: added and moved here all undo functions.
12608
12609         * lyxtext.h: give the status enum a weight, made status_ a private
12610         variable and made accessor functions for it, removed the whole bunch
12611         of undo-functions as they are now in their own file, make some
12612         functions publically available. Added function ownerParagraph with
12613         int parameter.
12614
12615         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12616         made InInset() a const function, added getParFromID() function.
12617
12618         * buffer.[Ch]: added const version for inset_iterator functions,
12619         added getInsetFromID() function.
12620
12621         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12622         changed undo functions for new version.
12623
12624 2001-07-05  Juergen Vigna  <jug@sad.it>
12625
12626         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12627         unknow mechanism does not call the proper constructor but only this
12628         one also if I request the other!?
12629
12630 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12633
12634         * text2.C (LyXText): use initialization lists.
12635
12636         * lyxtext.h (Selection): initialize set_ and mark_
12637         (init): remove method
12638
12639 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12640
12641         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12642
12643 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * screen.[Ch]: change method names to begin with lowercase
12646
12647         * BufferView_pimpl.C (updateScrollbar): simplify further and
12648         hopefully make it a bit faster.
12649
12650 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12651
12652         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12653         calling directly xforms functions.
12654
12655         * Painter.C (Painter):
12656         * lyx_cb.C (MenuWrite):
12657         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12658         fl_display.
12659
12660         * lyx_gui.C: remove bogus guiruntime extern declaration.
12661
12662 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12665         in NEW_INSETS
12666         (redoDrawingOfParagraph): ditto
12667         (redoParagraphs): ditto
12668         (cutSelection): don't create a object for CutAndPaste use the
12669         static method directly
12670         (pasteSelection): ditto
12671
12672         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12673         LyXview (+ rename)
12674
12675 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * modifications to some other files because of this.
12678
12679         * Makefile.am (lyx_SOURCES): add XFormsView
12680
12681         * XFormsView.[Ch]: new files
12682
12683         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12684         the main window. Move the gui dependent stuff to XFormsView
12685
12686 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * tabular.C (GetCellInset): update cur_cell also in the row/col
12689         version of this function.
12690
12691         * lyxfunc.C: no need to include figure_form.h here.
12692
12693         * FontLoader.h:
12694         * lyxfunc.h:
12695         * lyxscreen.h:
12696         * text2.C:
12697         * lyxvc.C: no need to include forms.h here.
12698
12699 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12702
12703         * lyxfunc.C (Dispatch):
12704         * Spacing.C (set):
12705         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12706         constructor argument.
12707
12708 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * paragraph.C (Paragraph): dont't clear, and just set layout.
12711         (makeSameLayout): use params's copy contructor.
12712
12713         * ParagraphParameters.[Ch] (makeSame): delete method
12714
12715 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * Variables.[Ch]: fix indentation, rename set to isSet
12718
12719 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * lyxfunc.C (Dispatch): fix typo
12722
12723 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12726         upper_bound.
12727
12728         * bufferlist.C: include assert.h for emergencyWrite().
12729
12730 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12733           give up at last (bug #425202) !
12734
12735 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * lyx_gui_misc.C:
12738         * sp_form.h:
12739         * sp_form.C:
12740         * spellchecker.h:
12741         * spellchecker.C: strip spellchecker options and bring up
12742           preferences tab instead
12743
12744 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12747         the istringstream constructor
12748
12749 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * paragraph.C (getLayout): fix return value
12752
12753         * paragraph.h: do not declare getLayout as inline.
12754
12755         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12756
12757 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * lyxcursor.h (operator<): new func
12760         (operator>): new func
12761         (operator>=): new func
12762         (operator<=): new func
12763
12764         * text.C (changeCase): use selection.start and selection.end
12765         (changeRegionCase): require from to be <= to. Require par to be a
12766         valid paragraph.
12767
12768         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12769
12770 2001-06-27  Juergen Vigna  <jug@sad.it>
12771
12772         * text.C (cursorLeftOneWord): changed to return the cursor and added
12773         overlay with BufferView * parameter which calls this one.
12774         (getWord): added
12775         (selectWord): use new getWord function.
12776         (changeCase): renamed from changeWordCase as and extended to work
12777         also on selections.
12778
12779         * lyxtext.h: added enum word_location
12780
12781         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12782         changeCase as this operates now also on selections.
12783
12784 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12785
12786         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12787
12788         * many files: send debug output to Debug::INFO instead of
12789         Debug::ANY.
12790
12791         * converter.C (View):
12792         (Convert):
12793         (Move): send debug output to Debug::FILES instead of console.
12794
12795 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12796
12797         * lyxfunc.C (getStatus): use func_status
12798
12799         * func_status.h: new header, describing the results of
12800         LyXFunc::getStatus;
12801
12802         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12803         LFUN_MATH_HALIGN.
12804
12805 2001-06-25  The LyX Project  <jug@sad.it>
12806
12807         * buffer.C (sgmlOpenTag):
12808         (sgmlCloseTag):
12809         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12810
12811 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * text2.C: remove some dead code
12814
12815         * tabular.C (GetCellInset): store the last cell checked (gotten)
12816
12817         * tabular.h: add the helper for the speedup
12818
12819         * lyxtext.h: remove some dead code
12820
12821 2001-06-26  The LyX Project  <Asger>
12822
12823         * paragraph.C: Change export to LaTeX of alignment to
12824         \begin{center} and family for better roundtrip work with reLyX.
12825
12826         * Tune the math drawing a bit.
12827
12828 2001-06-25  The LyX Project  <Asger>
12829
12830         * LColor.C (LColor): New color for math background. New color
12831         for buttons.
12832
12833 2001-06-25  The LyX Project  <jug@sad.it>
12834
12835         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12836
12837         * lyxfunc.C (Open):
12838         * bufferlist.C (newFile): do not restrict to files ending with
12839         .lyx
12840
12841         * BufferView_pimpl.C (MenuInsertLyXFile):
12842
12843 2001-06-24  The LyX Project  <jug@sad.it>
12844
12845         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12846         of compare_no_case
12847
12848 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * lyxtext.h: rename most methods to begin with a small char.
12851         Lots of changes because of this.
12852
12853         * paragraph.C (Paragraph): do not call fitToSize
12854         (erase): call Pimpl::erase
12855         (insertChar): call Pimpl::insertChar
12856         (insertInset): call Pipl::insertInset
12857         (breakParagraph): do not call fitToSize
12858         (breakParagraphConservative): do not call fitToSize
12859         (fitToSize): remove method
12860
12861         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12862
12863 2001-06-24  The LyX Project  <Asger>
12864
12865         * Fix Qt compilation^2
12866
12867 2001-06-24  The LyX Project  <jug@sad.it>
12868
12869         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12870         depthHook(getDepth()-1).
12871
12872         * paragraph.h:
12873         * ParagraphParameters.h:
12874         * ParameterStruct.h: change type of depth to unsigned int ==
12875         depth_type. Many adaptations to other files before of that.
12876
12877 2001-06-24  The LyX Project  <Asger>
12878
12879         * Fix Qt compilation.
12880
12881 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * paragraph.h: renamed several methods to begin with small letter.
12884         several changes to many parts of the code because of this.
12885
12886 2001-06-23  The LyX Project  <jug@sad.it>
12887
12888         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12889         rewritten to discard all double spaces when KeepEmpty is off
12890         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12891         to only handle newlines but not fiddle with spaces and friends.
12892
12893         * lyxfunc.C (MenuNew): when doing 'new from template', use
12894         template_path as default directory
12895
12896 2001-06-23  The LyX Project  <Asger>
12897
12898         * Clean-up of header file includes all over
12899         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12900
12901 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * paragraph.h: renamed from lyxparagraph.h
12904
12905 2001-06-23  Asger  <lyx@violet.home.sad.it>
12906
12907         * Buffer.h: Removed Buffer::resize
12908         * BufferList.h: Removed BufferList::resize
12909         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12910         the document lazily when we change the width, or the font settings.
12911
12912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12915
12916 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * buffer.h: remove out of date comment
12919
12920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * lyxscreen.h:
12923         * screen.C: fix "theoretical" GC leak
12924
12925 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12926
12927         * LaTeX.C (scanAuxFile):
12928         (deplog): remove trailing \r when reading stream (useful under
12929         win32)
12930
12931 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12934         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12935         and BufferView::theLockingInset(Inset*), so should use them and not
12936         access bv_->text->the_locking_inset directly.
12937
12938         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12939
12940 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * Makefile.am:
12943         * tex-defs.h: remove old unused file
12944
12945 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * BufferView_pimpl.C: fix typo, remove minibuffer message
12948           when buffer has loaded
12949
12950 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * lyxfunc.C (Dispatch): use stringstream
12953         (MenuNew): use stringstream
12954         (Open): use stringstream
12955
12956         * importer.C (Import): use stringstream
12957
12958         * bufferview_funcs.C (CurrentState): use stringstream
12959
12960         * LaTeX.C (run): use stringstream
12961
12962         * BufferView_pimpl.C (savePosition): use stringstream
12963         (restorePosition): use stringstream
12964         (MenuInsertLyXFile): use stringstream
12965
12966 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * BufferView.C:
12969         * Bullet.C:
12970         * ColorHandler.C:
12971         * FontInfo.C:
12972         * FontLoader.C:
12973         * LColor.C:
12974         * LaTeXFeatures.C:
12975         * Painter.C:
12976         * gettext.C:
12977         * lyx_gui_misc.C:
12978         * lyxserver.C:
12979         * vspace.C: removed // -*- C++ -*- as first line.
12980
12981         * lyxfind.h:
12982         * version.h: added // -*- C++ -*- as first line.
12983
12984 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12987
12988         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12989         of string
12990
12991 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12994         of floats.
12995
12996 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * gettext.C: include LString.h even when --disable-nls is on.
12999
13000 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13001
13002         * converter.h (Get): changed argument type from int to
13003         FormatList::size_type to avoid unnecessary conversion.
13004
13005         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13006         before using it.
13007
13008 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * gettext.h: include LString.h even when --disable-nls is on.
13011
13012 2001-06-07  Juergen Vigna  <jug@sad.it>
13013
13014         * text.C (BreakAgain): subst spaces with tabs.
13015
13016         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13017         (resizeInsetsLyXText): set force on resizeLyXText.
13018
13019 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13020
13021         * gettext.h (gettext_init):
13022         (locale_init): use a real definition instead of a macro
13023
13024 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * Bufferview_pimpl.C:
13027         * LColor.h:
13028         * LColor.C: further lcolor tidies
13029
13030 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * BufferView_pimpl.C (updateScrollbar): simplify.
13033
13034         * BufferView2.C: don't include insets/insetinfo.h, change
13035         prototype for insertInset and call the Pimpl version. let
13036         updateInset call Pimpl version.
13037
13038         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13039         gotoInset to BufferView::Pimpl
13040
13041 2001-06-01  Juergen Vigna  <jug@sad.it>
13042
13043         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13044         inside a LockingInset (is the update needed at all?).
13045
13046 2001-05-31  Juergen Vigna  <jug@sad.it>
13047
13048         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13049         here not the old one otherwise how should we compare it afterwards
13050         if it's the same!
13051
13052 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * lyxfont.C:
13055         * tabular.C:
13056         * tabular-old.C:
13057         * FontInfo.C: bring C functions into global namespace when
13058         necessary
13059
13060 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13061
13062         * LString.h: make sure config.h has been loaded before LString.h.
13063
13064         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13065         (one for each char read by EatLine!).
13066
13067         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13068         variables.
13069
13070 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13073         to the same as the par we break from
13074
13075 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13078
13079         * MenuBackend.C (expand): also create menu entries for wide
13080         versions of the floats.
13081
13082         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13083
13084         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13085
13086         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13087         frontends/Makefile.am
13088
13089         * text2.C: adjust
13090         * text.C: adjust
13091
13092
13093         * tabular.C (getTokenValue): add std::
13094
13095         * tabular-old.C (getTokenValue): add std::
13096         (getTokenValue): ditto
13097         (getTokenValue): ditto
13098
13099         * screen.C (ToggleSelection): adjust
13100
13101         * lyxtext.h: put selection cursors inside a Selection struct.
13102
13103         * lyxfunc.C (moveCursorUpdate): adjust
13104
13105         * lyxfont.C (latexWriteStartChanges): add std::
13106
13107         * lyxfind.C: adjust
13108
13109         * font.h: delete with(char const *, LyXFont const &)
13110
13111         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13112
13113         * FontInfo.C (getFontname): add std::
13114
13115         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13116         (workAreaButtonPress): adjust
13117         (tripleClick): adjust
13118         (update): adjust
13119         (moveCursorUpdate): adjust
13120         (Dispatch): adjust
13121
13122         * BufferView2.C (gotoInset): adjust
13123
13124 2001-05-30  Juergen Vigna  <jug@sad.it>
13125
13126         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13127         to check pspell I add this as default as I now have new pspell
13128         libraries and they seem to use this.
13129
13130 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * text2.C (CutSelection): make the cursor valid before the call to
13133         ClearSelection.
13134
13135 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13138         relied on 0 terminated strings and other horrors. Bug found due to
13139         the new assert in lyxstring!
13140
13141         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13142         KP_ keys.
13143
13144 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13147         to latinkeys.bind.
13148
13149         * lyxfunc.C (processKeySym): change method of getting to the
13150         self-insert char.
13151
13152         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13153         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13154         * BufferView_pimpl.[Ch]: here as private methods.
13155
13156 2001-05-28  Juergen Vigna  <jug@sad.it>
13157
13158         * text.C (SetHeightOfRow): added the update() call again as it is
13159         needed to initialize inset dimensions!
13160
13161 2001-05-16  Juergen Vigna  <jug@sad.it>
13162
13163         * text2.C (SetCharFont): Add new function with BufferView * and
13164         bool toggleall parameters for setting insets internal fonts.
13165         (SetFont): Freeze the undo as we may change fonts in Insets and
13166         all this change should be inside only one Undo!
13167
13168         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13169         setting font's in insets as for them we have the SetFont function!
13170
13171 2001-05-15  Juergen Vigna  <jug@sad.it>
13172
13173         * text2.C (ClearSelection): to be sure we REALLY don't have any
13174         selection anymore!
13175
13176         * tabular.C (TeXCellPreamble): fixed the left border problem for
13177         multicolumn cells.
13178
13179 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13180
13181         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13182         dependancy file
13183
13184 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13187         LFUN_BREAKPARAGRAPH.
13188
13189         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13190         help test to "internal only", similar for LFUN_INSERT_URL
13191
13192         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13193         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13194         auto_region_delete and deadkeys.
13195
13196 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * LColor.h:
13199         * LColor.C: remove some dead entries, tidy a little
13200
13201 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13202
13203         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13204         commented code.
13205         (Dispatch): implement LFUN_ESCAPE
13206
13207         * commandtags.h: add LFUN_ESCAPE
13208
13209         * LyXAction.C (init): add entry for LFUN_ESCAPE
13210
13211         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13212         Remove commented code.
13213         (insertNote): moved here
13214         (open_new_inset): moved here
13215
13216         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13217         BufferView_pimpl
13218
13219 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * kbmap.C (findbinding): clean it up and make it work correctly.
13222
13223         * lyx_main.C (init): do not pass argc and argv as parameters
13224
13225 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13226
13227         * buffer.C: fix path for OS/2 & Win32
13228
13229         * lyx_gui.C:
13230         * lyx_main:
13231         * lyx_main.C: Added os:: class.
13232
13233         * os2_defines.h: update
13234
13235 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13238         better by trying again with reduced state.
13239
13240 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * lyxrc.C (read): print error about invalid key sequence only when
13243         debugging (because not all latinX keysyms are known to some X
13244         servers)
13245
13246         * kbsequence.C (getiso): add a few std:: qualifiers
13247         (getiso): comment out extra return statement.
13248
13249 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13252         handling.
13253         (Dispatch): enhance the accent inset a bit. (not perfect)
13254
13255 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13258
13259 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13260
13261         * bufferlist.C (emergencyWrite): fix assert() call
13262
13263 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13264
13265         * text.C (InsertChar): Added trivial patch to only send the "you
13266         can not do multiple spaces this way" message once during a
13267         session.
13268
13269 2001-05-08  Baruch Even  <baruch@lyx.org>
13270
13271         * Makefile.am: Changed order of libraries to get LyX to link properly
13272         with the gnome frontend.
13273
13274 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13275
13276         * LaTeXFeatures.h: add a std:: qualifier
13277
13278 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * paragraph.C (String): use stringstream
13281
13282 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13283
13284         * paragraph.C (writeFile): remove footflag arg
13285
13286         * buffer.C (makeLaTeXFile): use stringstream
13287         (latexParagraphs): remove footnot gurba
13288
13289         * LaTeXFeatures.C (getPackages): use stringstream
13290         (getMacros): likewise
13291         (getTClassPreamble): likewise
13292         (getFloatDefinitions): new method
13293
13294         * paragraph.C (writeFile): reindent
13295         (Erase): reindent
13296
13297         * WorkArea.h: revert the xpos + etc changes.
13298
13299         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13300
13301         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13302
13303         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13304         (pasteSelection): likewise
13305         * text2.C (CreateUndo): likewise
13306
13307 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * minibuffer.C (peek_event): temporarily reduce the functionality
13310         of the minibuffer (to allow args on lfuns)
13311
13312         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13313         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13314
13315         * buffer.C (readInset): add compability reading of old float
13316         lists, add reading of new style float list.
13317         (readInset): avoid reevaluation of inscmd.getCmdName()
13318         (getLists): reindent
13319
13320         * MenuBackend.C (MenuItem): implement parsing of
13321         md_floatlistinsert and md_floatinsert.
13322         (expand::LastFiles): move initalizaton of iterators out of loop,
13323         avoid reevaluation.
13324         (expand::Documents): introduce typdedef vector<string> Strings,
13325         and use it.
13326         (expand::ExportFormats): introduce typedef vector<Format const *>
13327         Formats, and use it.
13328         (expand): implement FloatListInsert and FloatInsert.
13329
13330         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13331         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13332         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13333
13334         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13335         handling.
13336         (Dispatch::LFUN_FLOAT_LIST): implement
13337
13338 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13339
13340         * LaTeX.C (run): Fix problem with --export code.
13341
13342 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13343
13344         * BufferView.[Ch] (workarea): removed.
13345         (getClipboard) new method; wrapper for workarea()->getClipboard()
13346
13347         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13348         bug.
13349
13350         * WorkArea.h (width, height, xpos, ypos): These methods all
13351         returned the dimensions of the work_area sub-area of WorkArea,
13352         resulting in a position error if the WorkArea were resized. Now
13353         return the dimensions of the entire WorkArea.
13354
13355         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13356
13357 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * LaTeX.C (deplog): correct the syntax of regex reg1
13360
13361 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * undo.C: remove !NEW_INSETS cruft
13364
13365 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * text2.C: remove !NEW_INSETS cruft
13368
13369         * text.C: remove !NEW_INSETS cruft
13370
13371         * tabular.C: remove !NEW_INSETS cruft
13372
13373         * spellchecker.C: remove !NEW_INSETS cruft
13374
13375         * lyxtext.h: remove !NEW_INSETS cruft
13376
13377         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13378
13379         * lyxfunc.C: remove !NEW_INSETS cruft
13380
13381         * lyxfind.C: remove !NEW_INSETS cruft
13382
13383         * lyx_cb.C: remove !NEW_INSETS cruft
13384
13385         * figureForm.C: remove  !NEW_INSETS cruft
13386
13387         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13388
13389         * buffer.[Ch]: remove !NEW_INSETS cruft
13390
13391         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13392
13393         * CutAndPaste.C: remove !NEW_INSETS cruft
13394
13395         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13396
13397         * BufferView2.C: remove !NEW_INSETS cruft
13398
13399         * BufferView.h: remove !NEW_INSETS cruft
13400
13401 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13402
13403         * Lsstream.h: include LString.h before the sstream headers to
13404         fix problem with gcc 2.95.3 and lyxstring
13405
13406 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13407
13408         * lyx_main.C: add using directives when needed for C functions
13409         declared in std:: namespace.
13410
13411 2001-04-27  Juergen Vigna  <jug@sad.it>
13412
13413         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13414         (SetHeightOfRow): comment out the update call should not be needed!
13415
13416 2001-04-13  Juergen Vigna  <jug@sad.it>
13417
13418         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13419         (LyXTabular): tried to minimize operator= operations (and realized
13420         hopfully Lars wish).
13421
13422 2001-04-27  Juergen Vigna  <jug@sad.it>
13423
13424         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13425
13426 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13427
13428         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13429
13430         * buffer.C (readInset): hack to make listof algorithm work
13431
13432         * BufferView_pimpl.C: hack to make listof algorithm work
13433
13434 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * LyXAction.C: removed all !NEW_INSETS cruft
13437         (init): moved lfun_item in method
13438
13439         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13440
13441 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * BufferView2.C (theLockingInset): white space.
13444
13445 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * minibuffer.C: include <iostream>
13448
13449         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13450
13451         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13452
13453         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13454
13455         * text.[Ch] (TransposeChars): new method
13456
13457 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * call message directly through LyXView instead of through LyXFunc
13460         * BufferView2.C: adjust
13461         * BufferView_pimpl.C: adjust
13462         * FontLoader.C: adjust
13463         * buffer.C: adjust
13464         * bufferview_funcs.C: adjust
13465         * converter.C: adjust
13466         * figureForm.C: adjust
13467         * importer.C: adjust
13468         * lyx_cb.C: adjust
13469         * lyx_gui_misc.C: adjust
13470         * lyxfunc.C: adjust
13471         * lyxvc.C: adjust
13472         * text2.C: adjust
13473         + more files in subdirs
13474
13475         * lyxparagraph.h (size): move up int file
13476         (GetLayout): ditto
13477
13478         * adjust all uses of Assert to lyx::Assert.
13479
13480         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13481         lyxfunctional in namespace lyx
13482         * layout.C (hasLayout): ditto
13483         (GetLayout): ditto
13484         (GetLayout): ditto
13485         (delete_layout): ditto
13486         (NumberOfClass): ditto
13487         * converter.C (GetFormat): ditto
13488         (GetNumber): ditto
13489         (Add): ditto
13490         (Delete): ditto
13491         (SetViewer): ditto
13492         * bufferlist.C (getFileNames): ditto
13493         (emergencyWriteAll): ditto
13494         (exists): ditto
13495         (getBuffer): ditto
13496         * MenuBackend.C (hasSubmenu): ditto
13497         (hasMenu): ditto
13498         (getMenu): ditto
13499         * BufferView_pimpl.C (getInsetByCode): ditto
13500
13501 2001-04-18  Juergen Vigna  <jug@sad.it>
13502
13503         * vspace.C (asLatexString): fixed the 100% problem.
13504
13505 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * lyxfunc.C (Dispatch):
13508         * minibuffer.C:
13509         * minibuffer.h: add a few std:: qualifiers
13510
13511 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * minibuffer.[Ch]: reimplement so that commands is initiated and
13514         run from lyxfunc, simplified som handling, and made the completion
13515         and history code for complete. wip.
13516
13517         * lyxfunc.C (processKeySym): call message
13518         (miniDispatch): new temporary method
13519         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13520         (LFUN_MESSAGE): implement
13521         (LFUN_MESSAGE_PUSH): implement
13522         (LFUN_MESSAGE_POP): implement
13523         (initMiniBuffer): the initial/defualt minibuffer message.
13524
13525         * lyxfont.[Ch]: inline some more getters
13526
13527         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13528
13529         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13530
13531         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13532         (AutoSave): use LFUN_MESSAGE
13533         (Reconfigure): ditto
13534
13535         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13536
13537         * figureForm.C: use LFUN_MESSAGE
13538
13539         * converter.C (runLaTeX): use LFUN_MESSAGE
13540
13541         * bufferview_funcs.C: use LFUN_MESSAGE
13542         (Melt): ditto
13543         (changeDepth): ditto
13544
13545         * bufferparams.h: use boost::
13546
13547         * bufferlist.h: inherit privately from noncopyable
13548
13549         * bufferlist.C (loadLyXFile): remove some commented code.
13550
13551         * buffer.C (runChktex): use LFUN_MESSAGE
13552
13553         * ShareContainer.h: inherit privately from noncopyable
13554
13555         * ParagraphParameters.[hC] (depth): inline it.
13556
13557         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13558         methods.
13559         (message): new method
13560         (messagePush): ditto
13561         (messagePop): ditto
13562         (show): init minibuffer
13563         (showState): direct call
13564
13565         * LaTeX.[Ch]: inherit privately from noncopyable
13566         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13567         instead of WriteStatus.
13568
13569         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13570
13571         * BufferView_pimpl.C (buffer): don't init minibuffer
13572         (workAreaButtonPress): use LFUN_MESSAGE
13573         (workAreaButtonRelease): ditto
13574         (savePosition): ditto
13575         (restorePosition): ditto
13576         (MenuInsertLyXFile): ditto
13577         (workAreaExpose): don't init minibuffer
13578         (update): remove commented code, simplify
13579
13580         * BufferView2.C (openStuff): use LFUN_MESSAGE
13581         (toggleFloat): ditto
13582         (menuUndo): ditto
13583         (menuRedo): ditto
13584         (copyEnvironment): ditto
13585         (pasteEnvironment): ditto
13586         (copy): ditto
13587         (cut): ditto
13588         (paste): ditto
13589         (gotoInset): ditto
13590         (updateInset): remove some commented code
13591
13592         * lastfiles.h: inherit privately from noncopyable
13593         * layout.h: ditto
13594         * lyx_gui.h: ditto
13595         * lyx_main.h: ditto
13596         * lyxlex.h: ditto
13597         * lyxlex_pimpl.h: ditto
13598
13599         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13600         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13601         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13602
13603         * LyXAction.h: inherit privately from noncopyable, add methods
13604         func_begin, func_end, returning iterators to the func map.
13605
13606         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13607         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13608         (func_begin): new method
13609         (func_end): new method
13610
13611         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13612         and not)
13613         (copySelection): ditto
13614         (pasteSelection): ditto
13615
13616         * BufferView.C: whitespace change
13617         * BufferView.h: inherit privately from noncopyable
13618
13619 2001-04-16  Allan Rae  <rae@lyx.org>
13620
13621         * tabular-old.C (l_getline):
13622         * spellchecker.C (sc_check_word):
13623         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13624         an unrecognised preprocessor directive.  So ensure they're wrapped.
13625
13626 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13627
13628         * src/exporter.C (Export): Give an error message when path to file
13629         contains spaces.
13630
13631 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13632
13633         * LaTeX.C (deplog): Always check that foundfile exists.
13634
13635 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * lyx_main.h:
13638         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13639
13640 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13641
13642         * tabular.[Ch] (getLabelList): implement new method
13643
13644         * minibuffer.h: comment ouf setTiimer
13645
13646         * minibuffer.C (ExecutingCB): constify res
13647         (peek_event): constify s
13648         (Set): constify ntext
13649         (Init): constify nicename
13650
13651         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13652
13653         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13654         (savePosition): use two params to Minibuffer::Set
13655         (restorePosition): ditto
13656
13657 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * lyx_main.C: include language.h
13660
13661         * Makefile.am (lyx_main.o): add language.h
13662
13663 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * exporter.C:
13666         * paragraph.C:
13667         * screen.C:
13668         * tabular.C:
13669         * CutAndPaste.C: include gettext.h
13670
13671         * lyxfont.h: remove old hack with ON and OFF.
13672
13673         * lyxparagraph.h:
13674         * lyxfont.h: do not include language.h...
13675
13676         * BufferView2.C:
13677         * LaTeXFeatures.C:
13678         * Painter.C:
13679         * bufferview_funcs.C:
13680         * font.C:
13681         * lyxfont.C:
13682         * text.C:
13683         * text2.C:
13684         * trans_mgr.C:
13685         * paragraph.C: ... but do it here instead
13686
13687 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13690
13691         * tabular.C: small reformat
13692
13693         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13694         NEW_INSETS version
13695         (GetChar): ditto
13696         (BreakParagraph): ditto
13697         (SetOnlyLayout): ditto
13698         (SetLayout): ditto
13699
13700         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13701         with one arg less.
13702
13703         * lastfiles.C: removed most using decl, add std:: where needed
13704
13705         * buffer.C: ws changes
13706
13707         * MenuBackend.C (class compare_format): put into anon namespace
13708         (expand): constify label, names, action, action2
13709         (expand):
13710
13711         * text.C (SingleWidth): constify font
13712         (IsBoundary): constify rtl2
13713         (GetVisibleRow): constify ww
13714
13715         * LaTeX.C (deplog): constify logfile
13716
13717         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13718         start_x, end_x
13719         (workAreaExpose): constify widthChange, heightChange
13720
13721         * lyxrow.C (par): moved
13722         (height): moved
13723         (next): moved
13724         * lyxrow.h: as inlines here
13725
13726         * lyxfont.h (shape): moved from lyxfont.C
13727         (emph): moved from lyxfont.C
13728
13729         * lyxfont.C (LyXFont): use initialization list for all
13730         constructors
13731         (shape): move to lyxfont.h as inline
13732         (emph): move to lyxfont.h as inline
13733
13734
13735 2001-04-04  Juergen Vigna  <jug@sad.it>
13736
13737         * vspace.C: had to include stdio.h for use of sscanf
13738
13739 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13740
13741         * BufferView.h:
13742         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13743         independent of xforms.
13744
13745 2001-04-02  Juergen Vigna  <jug@sad.it>
13746
13747         * spellchecker.C: fixed namespace placing!
13748
13749 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13750
13751         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13752         the LyXParagraph * is 0.
13753
13754 2001-03-29  Juergen Vigna  <jug@sad.it>
13755
13756         * vspace.C: added support for %, c%, p%, l%.
13757         (stringFromUnit): added helper function.
13758         (asLatexString): changed to give right results for the %-values.
13759
13760         * buffer.C: convert the widthp in a width%.
13761
13762 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13765         figureForm.[Ch].
13766
13767         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13768         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13769
13770         * lyx_cb.[Ch]: see above.
13771
13772         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13773         form1.[Ch].
13774
13775         * form1.[Ch]:
13776         * lyx.[Ch]: replaced by figure_form.[Ch].
13777
13778         * lyx_gui.C:
13779         * lyx_gui_misc.C:
13780         * lyxfunc.C: changed headers associated with above changes.
13781
13782 2001-03-27  Juergen Vigna  <jug@sad.it>
13783
13784         * BufferView_pimpl.C: set the temporary cursor right!
13785
13786 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13789
13790 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13791
13792         * LString.h: removed "using std::getline"!
13793
13794         * BufferView_pimpl.C (Dispatch): changes due to changes in
13795         InsetInclude::Params.
13796
13797         * buffer.C (tag_name): removed redundant break statements as they were
13798         producing lots of warnings with my compiler.
13799
13800 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13801
13802         * LString.h: add "using std::getline" when using the real <string>.
13803
13804 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13805
13806         * buffer.C: removed bitset usage.
13807         PAR_TAG moved to an anonymous name space.
13808         (tag_name): new funtion, also in the anonymous namespace.
13809         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13810         (makeDocBookFile): clean code. Completed transition from string arrays
13811         to string vectors.
13812         (SimpleDocBookOnePar): code clean.
13813
13814 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13815
13816         * tabular.C: add some comments.
13817
13818 2001-03-22  Juergen Vigna  <jug@sad.it>
13819
13820         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13821         compatibility read a bit and fixed bug with minipage in different
13822         depth.
13823
13824 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13825
13826         * buffer.C (pop_tag): removed.
13827         (push_tag): removed.
13828         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13829         array replaced with vector. Added support for CDATA sections.
13830         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13831         at any nest level.
13832         (makeDocBookFile): XML conformant declaration of CDATA section,
13833         fixed bug related to <emphasis> in the first paragraph char.
13834         (sgmlOpenTag): exclude empty tags.
13835         (sgmlCloseTag): ditto.
13836
13837         * buffer.h (pop_tag): removed.
13838         (push_tag): removed.
13839
13840 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13841
13842         * language.h (Languages): added size_type and size().
13843
13844 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13845
13846         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13847         response on compability reading of minipages. One probliem is that
13848         the old usage of minipages was «flertydig»
13849
13850         * several files here and in subdirs: don't use static at file
13851         scope use anon namespaces instead.
13852
13853 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13854
13855         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13856         LaTeX output. This is necessary for Literate document
13857         processing.
13858
13859 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13860
13861         * buffer.C: insert hfill when needed.
13862
13863         * tabular.C (l_getline): use string::erase, small whitespace change.
13864
13865         * BufferView_pimpl.C: try the anon namespace.
13866         * WorkArea.C: ditto
13867
13868 2001-03-16  Juergen Vigna  <jug@sad.it>
13869
13870         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13871         otherwise it won't open options-dialogs.
13872
13873         * buffer.C: honor pextraWidth(p) on converting minipages.
13874
13875         * tabular.C (l_getline): changed the functions to strip trailing \r.
13876
13877 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * BufferView_pimpl.C:
13880         * minibuffer..C: added "using SigC::slot" declaration.
13881
13882 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13883
13884         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13885
13886         * text2.C: ditto
13887
13888         * text.C: ditto
13889
13890         * paragraph.C: ditto
13891
13892         * lyxtext.h: NO_PEXTRA
13893
13894         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13895
13896         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13897         * ParameterStruct.h: ditto
13898         * ParagraphParameters.h: ditto
13899         * lyxparagraph.h: ditto
13900
13901 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13902
13903         * buffer.C: add compability for minipage alignment.
13904         (latexParagraphs): remove unwanted pextra check.
13905
13906         * several files: remove CXX_WORKING_NAMESPACES
13907
13908         * buffer.C (pop_tag): tie is in namespace boost
13909
13910         * BufferView.h: noncopyable is in namespace boost
13911         * lyxlex.h: ditto
13912         * lyx_main.h: ditto
13913         * lyx_gui.h: ditto
13914         * layout.h: ditto
13915         * lastfiles.h: ditto
13916         * bufferlist.h: ditto
13917         * ShareContainer.h: ditto
13918         * LyXView.h: ditto
13919         * LyXAction.h: ditto
13920         * LaTeX.h: ditto
13921
13922 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13923
13924         * Merging changes from BRANCH_MVC back into HEAD.
13925
13926         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13927
13928 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * BufferView_pimpl.C: change from intl.C
13931
13932         * combox.h:
13933         * combox.C:
13934         * Makefile.am: move combox.*
13935
13936         * form1.h:
13937         * form1.C:
13938         * lyx_gui.C:
13939         * intl.h:
13940         * intl.C: remove dialog (covered by prefs)
13941
13942 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13943
13944         * lyxfunc.C (Dispatch): removed redundant break statement.
13945
13946 2001-03-14  Juergen Vigna  <jug@sad.it>
13947
13948         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13949
13950 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13951
13952         * buffer.C: add hack to fix compability reading of minipages.
13953
13954 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13955
13956         * buffer.C (getLists): Cleanup.
13957
13958 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * lyxfont.C (update): don't honor toggleall on font size.
13961
13962 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13963
13964         * bmtable.c:
13965         * bmtable.h:
13966         * Makefile.am: moved to frontends/xforms/
13967
13968         * lyx_gui_misc.C:
13969         * lyxfunc.C:
13970         * BufferView_pimpl.C: changes for moved mathpanel
13971
13972 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13973
13974         * gettext.h: fix gettext_init() in --disable-nls
13975
13976 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13979
13980 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * lyx.C:
13983         * lyx.h: strip external form
13984
13985 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * BufferView_pimpl.C: add comment, destroySplash()
13988
13989 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * BufferView_pimpl.C:
13992         * LyXAction.C:
13993         * buffer.C:
13994         * commandtags.h:
13995         * lyxfunc.C: use re-worked insetinclude
13996
13997 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13998
13999         * buffer.C: add using std::stringstream.
14000
14001         * lyx_cb.C: readd using std::ios.
14002
14003         * buffer.C: add using std::map.
14004
14005         * BufferView_pimpl.C: add using std::vector.
14006
14007         * ShareContainer.h: add std:: to swap.
14008
14009         * buffer.h: add some typedefs
14010         * buffer.C (getLists): use them
14011         (getLists): renamed from getTocList.
14012         add a counter for the different float types and use it in the
14013         generated string.
14014         (getLists): use the same counter for the NEW_INSETS and the "non"
14015         NEW_INSETS
14016
14017         * lyx_cb.h: remove unused items, includes, using etc.
14018
14019         * ShareContainer.h: remove some commented code, add more comments
14020         and "documentation".
14021
14022 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14023
14024         * buffer.C (getTocList): make the list also when NEW_INSETS is
14025         defined.
14026
14027         * buffer.h: remove TocType
14028
14029         * buffer.C (getTocList): change to return a map<string,
14030         vector<TocItem> >, implement for dynamic number of list.
14031
14032         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14033         * text2.C (PasteSelection): adjust
14034         * CutAndPaste.C (pasteSelection): adjust
14035
14036         * FloatList.C (FloatList): update from the new_insets branch.
14037         * Floating.[Ch]: ditto
14038         * LaTeXFeatures.C: ditto
14039         * buffer.C: ditto
14040         * lyxlex_pimpl.C: ditto
14041
14042         * paragraph.C (Last): remove when NEW_INSETS is defined.
14043
14044         * other file: changes because of the above.
14045
14046 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14047
14048         * lyxparagraph.h: rename next to next_, previous to previous_,
14049         make them private for NEW_INSETS. Rename Next() to next(),
14050         Previous() to previous().
14051
14052         * other files: changes because of the above.
14053
14054 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14055
14056         * BufferView.h:
14057         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14058         problem.
14059
14060 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * main.C (main): pass lyx_localedir to gettext_init().
14063
14064         * gettext.h: remove locale_init and gettext_init macros
14065
14066         * gettext.C (locale_init): new function
14067         (gettext_init): new function
14068
14069         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14070         setlocale().
14071
14072 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14073
14074         * Moved credits to frontends:
14075         * credits.[Ch]: removed
14076         * credits_form.[Ch]: removed
14077         * lyx_gui_misc.C: remove credits stuff
14078         * Makefile.am:
14079
14080 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14081
14082         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14083
14084         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14085         unneeded destructor.
14086
14087         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14088         a standalone pointer again.
14089
14090         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14091
14092 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * Makefile.am:
14095         * filedlg.h:
14096         * filedlg.C:
14097         * LyXAction.C:
14098         * ToolbarDefaults.C:
14099         * bufferlist.C:
14100         * commandtags.h:
14101         * form1.C:
14102         * form1.h:
14103         * lyx_cb.C:
14104         * lyx_cb.h:
14105         * lyxfunc.h:
14106         * lyxfunc.C:
14107         * BufferView_pimpl.C: use new file dialog in GUII
14108
14109         * lyx_cb.h:
14110         * lyx_cb.C: remove LayoutsCB to Toolbar
14111
14112 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * ShareContainer.h (get): add std:: qualifier
14115
14116 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14117
14118         * ShareContainer.h: define a proper ShareContainer::value_type
14119         type (and use typename to please compaq cxx)
14120
14121 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14122
14123         * lyxparagraph.h: move serveral local vars to
14124         ParameterStruct/ParagraphParameters., use ShareContainer in
14125         FontTable., make vars in FontTable private and add getter and
14126         setter.
14127
14128         * paragraph.C: changes because of the above.
14129
14130         * lyxfont.h: remove copy constructor and copy assignment. (the
14131         default ones is ok), move number inside FontBits. move inlines to
14132         lyxfont.C
14133
14134         * lyxfont.C: add number to initializaton of statics, move several
14135         inlines here. constify several local vars. some whitespace
14136         cleanup. Dont hide outerscope variables.
14137
14138         * Spacing.h: add two new constructors to match the set methods.
14139
14140         * ShareContainer.h: new file, will perhaps be moved to support
14141
14142         * ParameterStruct.h: new file
14143
14144         * ParagraphParameters.h: new file
14145
14146         * ParagraphParameters.C: new file
14147
14148         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14149         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14150
14151         * BufferView_pimpl.C: ParagraphParameter changes.
14152         * buffer.C: Likewise.
14153         * bufferview_funcs.C: Likewise.
14154         * text.C: Likewise.
14155         * text2.C: Likewise.
14156
14157 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * lyxfind.C (LyXReplace): do not redefine default argument in
14160         implementation.
14161         (IsStringInText): ditto
14162         (SearchForward): ditto
14163         (SearchBackward): ditto
14164
14165 2001-03-06  Juergen Vigna  <jug@sad.it>
14166
14167         * lyxfind.C (IsStringInText): put parentes around expressions.
14168
14169 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14170
14171         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14172
14173 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14176
14177         * stl_string_fwd.h: add comment
14178
14179         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14180
14181         * tabular.h:
14182         * tabular.C: remove unused DocBook methods
14183
14184         * intl.C:
14185         * language.C:
14186         * paragraph.C:
14187         * buffer.C:
14188         killed DO_USE_DEFAULT_LANGUAGE
14189
14190 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * lyx_gui.C: do not include language.h.
14193
14194         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14195         arguments in function implementation.
14196
14197 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14198
14199         * BufferView_pimpl.C: add <ctime>
14200
14201 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14202
14203         * BufferView_pimpl.C: add using std::find_if
14204
14205 2001-02-27  José Matos  <jamatos@fep.up.pt>
14206
14207         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14208         by OnlyPath.
14209
14210 2001-02-11  José Matos  <jamatos@fep.up.pt>
14211
14212         * buffer.C (makeDocBookFile): command styles now have a parameter as
14213         "title" by default.
14214
14215 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14216
14217         * layout_forms.[Ch]: removed
14218         * lyx_cb.[Ch]: out character
14219         * lyx_gui.C: out character
14220         * lyx_gui_misc.C: out character
14221         * bufferview_funcs.C: : out character,
14222         added toggleall as parameter in ToggleAndShow
14223
14224 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14227
14228         * text2.C (SetCurrentFont): Disable number property at boundary.
14229
14230 2001-02-26  Juergen Vigna  <jug@sad.it>
14231
14232         * lyxfunc.C (getStatus): added a string argument override function so
14233         that this is correctly called from LyXFunc::Dispatch if it contains a
14234         do_not_use_argument which is used!
14235         (Dispatch): added check for "custom" export and call appropriate func.
14236
14237 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * lyxrc.C: Add language_command_local, language_use_babel and
14240         language_global_options.
14241
14242         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14243
14244         * buffer.C (makeLaTeXFile): Use language_use_babel and
14245         language_global_options.
14246
14247 2001-02-23  Juergen Vigna  <jug@sad.it>
14248
14249         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14250         which works with LyXText and putted it inside BufferView. Here now we
14251         only call for that part the BufferView::Dispatch() function.
14252
14253         * BufferView.C (Dispatch): added.
14254
14255         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14256         functions which needs to use a LyXText over from LyXFunc.
14257         (MenuInsertLyXFile): added
14258         (getInsetByCode): added
14259         (moveCursorUpdate): added
14260         (static TEXT): added
14261
14262 2001-02-22  Juergen Vigna  <jug@sad.it>
14263
14264         * BufferView_pimpl.C (update): call a status update to see if LyXText
14265         needs it.
14266
14267 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14268
14269         * vc-backend.C (revert): implement for CVS
14270         (getLog): implement for CVS
14271
14272 2001-02-20  Juergen Vigna  <jug@sad.it>
14273
14274         * text2.C (ClearSelection): added BufferView param for inset_owner call
14275
14276         * lyxfunc.C (TEXT): added this function and use it instead of
14277         directly owner->view()-text of getLyXText().
14278
14279 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14280
14281         * src/layout_forms.C: out preamble
14282         * src/layout_forms.h: out preamble
14283         * src/lyx_cb.C: out preamble
14284         * src/lyx_cb.h: out preamble
14285         * src/lyx_gui.C: out preamble
14286         * src/lyx_gui_misc.C: out preamble
14287         * src/lyxfunc.C: connect with guii preamble
14288
14289 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14290
14291         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14292
14293 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14294
14295         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14296         whether to run bibtex.
14297
14298 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14299
14300         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14301
14302 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14303
14304         * Makefile.am (lyx_SOURCES): removed bibforms.h
14305
14306         * vspace.h: doxygen
14307
14308         * text.C (GetVisibleRow): make several local vars const
14309
14310         * tabular.C: small cleanup.
14311
14312         * lyxserver.C (callback): use compare instead of strncmp
14313
14314         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14315         inlines to after class or to paragraph.C
14316
14317         * lyxfont.h: remove friend operator!=
14318
14319         * converter.h: move friend bool operator< to non friend and after
14320         class def.
14321
14322         * combox.h: small cleanup
14323
14324         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14325         to inlines after class def.
14326
14327         * buffer.C (pop_tag): use string operations instead of strcmp
14328
14329         * bmtable.c: doxygen, small cleanup
14330
14331         * LaTeX.h: remove friend operator==
14332
14333 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14334
14335         * screen.C:
14336         * lyxrc.[Ch]:
14337         * lyxfunc.C:
14338         * lyxfont.[Ch]:
14339         * lyx_cb.C:
14340         * intl.[Ch]:
14341         * commandtags.h:
14342         * buffer.C:
14343         * WorkArea.[Ch]:
14344         * LyXAction.C:
14345         * BufferView_pimpl.C:
14346         * BufferView.[Ch]: remove cruft
14347
14348 2001-02-14  Juergen Vigna  <jug@sad.it>
14349
14350         * lyxfunc.C: removed #if 0 unused code
14351
14352         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14353
14354         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14355
14356         * text2.C (SetSelection): added a BufferView * parameter
14357
14358 2001-02-13  Juergen Vigna  <jug@sad.it>
14359
14360         * lyxfunc.C (Dispatch): fixed protected blank problem.
14361         * BufferView2.C (protectedBlank): added LyxText * parameter.
14362
14363         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14364         (AppendColumn): same as above for column_info.
14365
14366         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14367         (moveCursorUpdate): use a LyXText param for support of InsetText.
14368
14369         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14370         (tripleClick): ditto
14371
14372         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14373
14374         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14375
14376         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14377
14378         * text2.C (SetSelection): set correct update status if inset_owner
14379         (ToggleFree): ditto
14380
14381 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14382
14383         * tabular.C: remove some commented code.
14384
14385 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * BufferView_pimpl.C: call hideSplash()
14388
14389         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14390
14391         * include_form.h:
14392         * bibforms.h: remove
14393
14394         * lyxfunc.C:
14395         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14396           add LFUN_CHILD_CREATE
14397
14398         * counters.h: fix tiny typo
14399
14400         * lyx_cb.C:
14401         * lyx.h:
14402         * lyx_gui.C:
14403         * lyx.C: move splash to frontends/xforms/
14404
14405         * lyx_gui_misc.C: move Include and Bibform to frontends
14406
14407         * lyxvc.h: clarify comment
14408
14409         * vspace.C: tiny housekeeping
14410
14411 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14412
14413         * text.C (PrepareToPrint): RTL Fix.
14414
14415         * paragraph.C (GetUChar): New method.
14416         (String):  Use GetUChar.
14417
14418         * buffer.C (asciiParagraph): Use GetUChar.
14419
14420 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14423
14424 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14425
14426         * buffer.h:
14427         * buffer.C: rename to getLogName(), handle
14428           build log / latex log nicely
14429
14430 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * MenuBackend.C:
14433         * MenuBackend.h: remove support for reference menuitem type.
14434
14435 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * BufferView_pimpl.C: housekeeping
14438         * BufferView_pimpl.h:
14439         * LyXView.h:
14440         * Makefile.am:
14441         * Timeout.C:
14442         * Timeout.h:
14443         * minibuffer.h: move Timeout GUI-I
14444
14445 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * lyxrc.C (read): Update converters data-structures.
14448
14449 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14450
14451         * LaTeX.h (operator!=): add operator != for Aux_Info
14452
14453 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14454
14455         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14456
14457         * LaTeXLog.C: deleted, useful code moved to Buffer
14458
14459         * buffer.h:
14460         * buffer.C: new function getLatexLogName()
14461
14462         * lyx_gui_misc.C:
14463         * lyx_gui.C:
14464         * lyxvc.C:
14465         * lyxvc.h:
14466         * lyxfunc.C: use frontends for LaTeX and VC logs
14467
14468 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * LaTeX.h: yet another std:: that Allan forgot.
14471
14472         * Variables.C (set): renamed from isset(), because this clashes
14473         with some HP-UX macros (grr).
14474
14475 2001-02-06  Allan Rae  <rae@lyx.org>
14476
14477         * LaTeX.h: Another bug fix.  Missing std:: this time.
14478
14479 2001-02-04  Allan Rae  <rae@lyx.org>
14480
14481         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14482         floats problem. I've left it commented out because it's not quite
14483         correct.  It should also test that the current object is a table or
14484         figure inset.  But I haven't gotten around to figuring out how to do
14485         that.  I *think* it'll be something like: "table" == inset.type()
14486
14487         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14488         bool.
14489
14490 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14491
14492         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14493         all the citation/databases/styles in the auxilary file.
14494         (run): Rerun latex if there was a babel language error.
14495
14496 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * text.C (Backspace): Preserve the font when changing newline char
14499         with a space.
14500         (BreakParagraph): If the cursor is before a space, delete the space.
14501
14502         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14503
14504 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14507         new argument (code).
14508         (ChangeCitationsIfUnique): New method.
14509
14510         * paragraph.C (GetPositionOfInset): Handle bibkey.
14511
14512 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * BufferView_pimpl.h: change type of Position::par_pos to
14515         LyXParagraph::size_type.
14516
14517 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14518
14519         * BufferView_pimpl.C (savePosition, restorePosition): Write
14520         messages to minibuffer.
14521
14522 2001-01-28  José Matos  <jamatos@fep.up.pt>
14523
14524         * buffer.C (makeDocBookFile): adds support for document language.
14525         A silly restriction on the name of LatexCommand types where removed.
14526         Added support for CDATA sections, allows to chars unescaped, used
14527         among others in code, to avoid escape < and >.
14528
14529 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14532         saved positions instrad of a stack. Furthermore, a position is
14533         stored using paragraph id/paragraph position.
14534
14535         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14536         Remove LFUN_REF_BACK.
14537
14538 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * converter.C (dvipdfm_options): New method.
14541
14542 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14543
14544         * vspace.C (isValidLength): Fix for empty input string.
14545
14546 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * LyXAction.C (init): change description of LFUN_FIGURE to
14549         "Insert Graphics"
14550
14551 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * LaTeX.C: add using directive
14554
14555 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14556
14557         * MenuBackend.C (expand): Fix the sorting of the formats.
14558
14559 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14560
14561         * lyx_main.C: tiny error message fix
14562
14563 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14566         calling fl_initialize(). This fixes the problem with ',' as
14567         decimal separator in text files.
14568
14569 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14570
14571         * trans.C (process): Fix the keymap bug.
14572
14573 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14574
14575         * LaTeX.C (scanAuxFiles): New method. Provides support for
14576         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14577         (scanLogFile) Scan for "run BibTeX" messages.
14578
14579         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14580         OT1 font encoding. Also, load the aecompl package if the ae
14581         package is loaded.
14582
14583         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14584
14585 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * texrow.C (increasePos): turn two error messages into debug
14588         messages.
14589
14590 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14591
14592         * LaTeX.C (scanAux): Handle the \@input macro.
14593         (runBibTeX): Use scanAux().
14594
14595         * language.C (latex_options_): New field.
14596
14597         * LaTeXFeatures.C (getMacros): Add language macros.
14598
14599         * buffer.C (makeLaTeXFile): Small fix.
14600
14601 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14602
14603         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14604
14605         * text2.C: add a using directive.
14606
14607 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * BufferView2.C:
14610         * lyx_gui_misc.h:
14611         * lyxfr1.C:
14612         * lyxfunc.C: kill LyXBell.
14613
14614 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14615
14616         * text.C (IsBoundary): Remove the error message
14617
14618         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14619
14620         * lyxrc.C (setDefaults): Correct initialization value for
14621         font_norm_type.
14622
14623 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14624
14625         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14626         gotoError().
14627
14628         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14629         and GotoNextNote().
14630
14631         * src/LyXAction.C: Added reference-next.
14632
14633         * text.C (InsertChar): Use contains instead of strchr.
14634
14635         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14636
14637 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14638
14639         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14640         alignment commands (when needed).
14641
14642         * text.C (InsertChar): Add ':' to number separator chars.